Your message dated Fri, 16 Apr 2021 11:48:39 +0000
with message-id <e1lxmxj-000f2h...@fasolo.debian.org>
and subject line Bug#986727: fixed in pexpect 4.8.0-2
has caused the Debian Bug report #986727,
regarding pexpect: flaky autopkgtest
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
986727: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986727
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pexpect
Version: 4.8.0-1
Severity: serious
X-Debbugs-CC: debian...@lists.debian.org
User: debian...@lists.debian.org
Usertags: flaky

Hi Maintainer

The autopkgtests of pexpect fail regularly and are therefore
unsuitable for regression testing.  I've copied below what I hope is
the relevant part of the log.

There's a comment from upstream regarding this particular failing
test, and it is skipped when running on TRAVIS.  Perhaps this test
should be skipped unconditionally in Debian?

Regards
Graham


[1] https://ci.debian.net/packages/p/pexpect/testing/amd64/


=================================== FAILURES ===================================
_________________ InteractTestCase.test_interact_exit_unicode __________________

self = <tests.test_interact.InteractTestCase
testMethod=test_interact_exit_unicode>

    def test_interact_exit_unicode(self):
        " Ensure subprocess receives utf8. "
        p = pexpect.spawnu('{self.interact_py} --utf8'.format(self=self),
                           timeout=5, env=self.env)
        p.expect('READY')
        p.send('ɑ')              # >>> map(ord, u'ɑ'.encode('utf8'))
        p.expect('201<STOP>')    # [201, 145]
        p.expect('145<STOP>')
        p.send('Β')              # >>> map(ord, u'Β'.encode('utf8'))
        p.expect('206<STOP>')    # [206, 146]
        p.expect('146<STOP>')
        p.send('\x00')
        if not os.environ.get('TRAVIS', None):
            # on Travis-CI, we sometimes miss trailing stdout from the
            # chain of child processes, not entirely sure why. So this
            # is skipped on such systems.
>           p.expect('0<STOP>')

tests/test_interact.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pexpect/spawnbase.py:343: in expect
    return self.expect_list(compiled_pattern_list,
pexpect/spawnbase.py:372: in expect_list
    return exp.expect_loop(timeout)
pexpect/expect.py:179: in expect_loop
    return self.eof(e)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pexpect.expect.Expecter object at 0x7f0b5cf03eb0>
err = EOF('End Of File (EOF). Exception style platform.')

    def eof(self, err=None):
        spawn = self.spawn

        spawn.before = spawn._before.getvalue()
        spawn._buffer = spawn.buffer_type()
        spawn._before = spawn.buffer_type()
        spawn.after = EOF
        index = self.searcher.eof_index
        if index >= 0:
            spawn.match = EOF
            spawn.match_index = index
            return index
        else:
            spawn.match = None
            spawn.match_index = None
            msg = str(spawn)
            msg += '\nsearcher: %s' % self.searcher
            if err is not None:
                msg = str(err) + '\n' + msg

            exc = EOF(msg)
            exc.__cause__ = None # in Python 3.x we can use "raise exc
from None"
>           raise exc
E           pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
E           <pexpect.pty_spawn.spawn object at 0x7f0b5cf03820>
E           command: /usr/bin/python3
E           args: [b'/usr/bin/python3', b'interact.py', b'--utf8']
E           buffer (last 100 chars): ''
E           before (last 100 chars): '\r\nEscaped interact\r\n'
E           after: <class 'pexpect.exceptions.EOF'>
E           match: None
E           match_index: None
E           exitstatus: None
E           flag_eof: True
E           pid: 1345
E           child_fd: 18
E           closed: False
E           timeout: 5
E           delimiter: <class 'pexpect.exceptions.EOF'>
E           logfile: None
E           logfile_read: None
E           logfile_send: None
E           maxread: 2000
E           ignorecase: False
E           searchwindowsize: None
E           delaybeforesend: 0.05
E           delayafterclose: 0.1
E           delayafterterminate: 0.1
E           searcher: searcher_re:
E               0: re.compile('0<STOP>')

pexpect/expect.py:122: EOF
----------------------------- Captured stdout call -----------------------------

--- End Message ---
--- Begin Message ---
Source: pexpect
Source-Version: 4.8.0-2
Done: Gordon Ball <gor...@chronitis.net>

We believe that the bug you reported is fixed in the latest version of
pexpect, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 986...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gordon Ball <gor...@chronitis.net> (supplier of updated pexpect package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 16 Apr 2021 11:00:22 +0000
Source: pexpect
Architecture: source
Version: 4.8.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Gordon Ball <gor...@chronitis.net>
Closes: 986727
Changes:
 pexpect (4.8.0-2) unstable; urgency=medium
 .
   * Skip several flaky tests, both for build and autopkgtest (Closes: #986727)
   * Fix broken URL in d/watch
Checksums-Sha1:
 4a68c691bd047384c25cb14055fa51134d9122a4 2185 pexpect_4.8.0-2.dsc
 afbc14fc6f2c08157306bd22c35f61b9f9d6ee4b 7808 pexpect_4.8.0-2.debian.tar.xz
 c34a2cb7b2ca0b579096c0b29c5e7edf6465b90d 6659 pexpect_4.8.0-2_source.buildinfo
Checksums-Sha256:
 18ee0b6eb3450aa80d0dc11a698acfe943e6194bbda744489110bc8a672a9918 2185 
pexpect_4.8.0-2.dsc
 577a7b326b6ade99086ab849d9c89d22cfd3a43203df974638722de63be945c2 7808 
pexpect_4.8.0-2.debian.tar.xz
 ee926288a4b310880a423494fc92a682e9863fbac922d83bf1b4cbd8dda79f16 6659 
pexpect_4.8.0-2_source.buildinfo
Files:
 1bb0c07c4c450ffbb0a3b946c805b753 2185 python optional pexpect_4.8.0-2.dsc
 d0104d1889cef2fa2a6356398f08ad23 7808 python optional 
pexpect_4.8.0-2.debian.tar.xz
 2ef20103c2523dbed09726ae828e7610 6659 python optional 
pexpect_4.8.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE6PwpXIa418BJ+Xuno12v+60p6N4FAmB5c60ACgkQo12v+60p
6N4xPg//XNJ+7KnH9uzcF5Uj4x5HU0vX7OafcirpTyOjnIgOgh3b65+WpQMxVqXE
TqEaekTC5teP6P+Ah36NLJqVVme7KisAI7wtgXpjkj2ssmlUnWSE1DSlXZjb+s32
Alfw00q+9eeSNykQEOlDGyojLzU3kLp/eA3TnpfN3nCZ42Cq06no5AaYqcuXCztR
1UVgLdSu8Ub6HPvZfFEsnD7rQPUQG0mqJJ8UirjOisTcWm95P+XQA9NHT0oxZyIp
TBnX+SiDG6SD/g3j1txws6RPfb5+aPiHgE0eV+tcHukz80WxD8H4Vljaycrk980y
0oiuzPg+YPabHF+6KyWCIbBU7hbBnUkC6+l8SmZjfZ9P5nU41g+u8AMM0UJQ1rR+
syptHPZ+X5brKMIrBP3hsGgh3x57DNiukN5ZMpX9DYa8SWkDtU5ZdCvZcVF60XiT
RO0SiwSo9s1cNzz4ZCocEaW1EMmfvebO3cbiLlroDI7UDmz4CgYQNYzGVw2mAcab
L18WHrO2ul5xJKV3l9bjBz1FmZQXi10qirr+NCfp3iukV01cmt/4o7xJGF4kUNiW
qDaNSnjy2AosbY9GgzsxEY/BK7KdAGKu4HUG4MmloXD4hKYXWvNNWQwK3/v1NVX1
rnq3++L6mtfzkcVqviWD/DS53uBsBveS8hsJSIZWE68OFGzoLCQ=
=awNa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to