Your message dated Fri, 28 Feb 2025 13:03:23 +0000
with message-id <[email protected]>
and subject line Bug#1013114: fixed in silx 2.2.1+dfsg-1
has caused the Debian Bug report #1013114,
regarding silx: TestRetry fails with scipy 1.8.1-4
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 [email protected]
immediately.)


-- 
1013114: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013114
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: silx
Version: 1.0.0+dfsg-4
Severity: normal

silx debci tests have started failing in testing on amd64 running
against scipy 1.8.1-4 from unstable.

Not clear what the problem is since the test previously passed against
scipy/1.8.1-3. Maybe it's a coincidence, triggered by something else
that migrated to testing at the same time that scipy 1.8.1-4 got
uploaded to unstable. Or maybe this test is intermittently flakey, I
don't know.


Test log reports:

______________________ TestRetry.test_retry_in_subprocess ______________________

options = {'exception': RetryError(''), 'retry_on_error': <function 
_default_retry_on_error at 0x7f92323de5f0>}

    @contextmanager
    def _handle_exception(options):
        try:
>           yield

/usr/lib/python3/dist-packages/silx/utils/retry.py:63: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ('/tmp/tmppg678tas/failcounter.txt',)
kw = {'faildelay': 0.1, 'kwcheck': True, 'ncausefailure': 3}
_retry_timeout = 30.299999999999997, _retry_period = 0.01
_retry_on_error = <function _default_retry_on_error at 0x7f92323de5f0>
start_subprocess = <function 
retry_in_subprocess.<locals>.decorator.<locals>.wrapper.<locals>.start_subprocess
 at 0x7f92300cad40>
stop_subprocess = <function 
retry_in_subprocess.<locals>.decorator.<locals>.wrapper.<locals>.stop_subprocess
 at 0x7f9223d5c310>
p = <SpawnProcess name='SpawnProcess-16' pid=13378 parent=11603 stopped 
exitcode=-SIGKILL>
queue = <multiprocessing.queues.Queue object at 0x7f91fc1e7eb0>
options = {'exception': RetryError(''), 'retry_on_error': <function 
_default_retry_on_error at 0x7f92323de5f0>}
result = RetryError('')

    @wraps(method)
    def wrapper(*args, **kw):
        _retry_timeout = kw.pop("retry_timeout", retry_timeout)
        _retry_period = kw.pop("retry_period", retry_period)
        _retry_on_error = kw.pop("retry_on_error", retry_on_error)
    
        ctx = multiprocessing.get_context("spawn")
    
        def start_subprocess():
            queue = ctx.Queue(maxsize=1)
            p = ctx.Process(
                target=_subprocess_main,
                args=(queue, method, retry_on_error) + args,
                kwargs=kw,
            )
            p.start()
            return p, queue
    
        def stop_subprocess(p):
            try:
                p.kill()
            except AttributeError:
                p.terminate()
            p.join()
    
        p, queue = start_subprocess()
        try:
            for options in _retry_loop(
                retry_timeout=_retry_timeout, retry_on_error=_retry_on_error
            ):
                with _handle_exception(options):
                    if not p.is_alive():
                        p, queue = start_subprocess()
                    try:
                        result = queue.get(block=True, timeout=_retry_period)
                    except Empty:
                        pass
                    except ValueError:
                        pass
                    else:
                        if isinstance(result, BaseException):
                            stop_subprocess(p)
>                           raise result
E                           silx.utils.retry.RetryError

/usr/lib/python3/dist-packages/silx/utils/retry.py:256: RetryError

The above exception was the direct cause of the following exception:

self = <silx.utils.test.test_retry.TestRetry 
testMethod=test_retry_in_subprocess>

    def test_retry_in_subprocess(self):
        ncausefailure = 3
        faildelay = 0.1
        sufficient_timeout = ncausefailure * (faildelay + 10)
        insufficient_timeout = ncausefailure * faildelay * 0.5
    
        kw = {
            "ncausefailure": ncausefailure,
            "faildelay": faildelay,
            "kwcheck": True,
            "retry_timeout": sufficient_timeout,
        }
        with open(self.ctr_file, mode="w") as f:
            f.write("0")
>       self.assertTrue(_wsubmain(self.ctr_file, **kw))

/usr/lib/python3/dist-packages/silx/utils/test/test_retry.py:158: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/silx/utils/retry.py:241: in wrapper
    for options in _retry_loop(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

retry_timeout = 30.299999999999997, retry_period = None
retry_on_error = <function _default_retry_on_error at 0x7f92323de5f0>

    def _retry_loop(retry_timeout=None, retry_period=None, retry_on_error=None):
        """Iterator which is endless or ends with an RetryTimeoutError.
        It yields a dictionary which can be used to influence the loop.
    
        :param num retry_timeout:
        :param num retry_period: sleep before retry
        :param callable or None retry_on_error: checks whether an exception is
                                                eligible for retry
        """
        has_timeout = retry_timeout is not None
        options = {"exception": None, "retry_on_error": retry_on_error}
        if has_timeout:
            t0 = time.time()
        while True:
            yield options
            if retry_period is not None:
                time.sleep(retry_period)
            if has_timeout and (time.time() - t0) > retry_timeout:
>               raise RetryTimeoutError from options.get("exception")
E               silx.utils.retry.RetryTimeoutError

/usr/lib/python3/dist-packages/silx/utils/retry.py:90: RetryTimeoutError

--- End Message ---
--- Begin Message ---
Source: silx
Source-Version: 2.2.1+dfsg-1
Done: Picca Frédéric-Emmanuel <[email protected]>

We believe that the bug you reported is fixed in the latest version of
silx, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Picca Frédéric-Emmanuel <[email protected]> (supplier of updated silx 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 [email protected])


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

Format: 1.8
Date: Fri, 28 Feb 2025 13:16:01 +0100
Source: silx
Architecture: source
Version: 2.2.1+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Picca Frédéric-Emmanuel <[email protected]>
Closes: 1013114 1047562 1072655 1099038
Changes:
 silx (2.2.1+dfsg-1) unstable; urgency=medium
 .
   * Rely on pre-initialized dpkg-architecture variables.
   * New upstream version 2.2.1+dfsg
 .
 silx (2.2.0+dfsg-2) unstable; urgency=medium
 .
   [ Alexandre Detiste ]
   * remove noise from patch
 .
   [ Picca Frédéric-Emmanuel ]
   * Bug fix: "Permission denied:
     &#39;/usr/lib/python3/dist-packages/silx/pytest-cache-files-0lxt05lh&#39;",
     thanks to Picca Frédéric-Emmanuel (Closes: #1099038).
   * Bug fix: "no-opencl tests fail with pytest8.2", thanks to Chris
     Peterson (Closes: #1072655).
   * Bug fix: "TestRetry fails with scipy 1.8.1-4", thanks to Drew Parsons
     (Closes: #1013114).
   * Bug fix: "Fails to build source after successful build", thanks to
     Lucas Nussbaum (Closes: #1047562).
Checksums-Sha1:
 07eefc706a3ac8a1dc2beba26c42414a1911a747 3284 silx_2.2.1+dfsg-1.dsc
 75a72741a74fc21a05da9371999e826db8099e1d 17526564 silx_2.2.1+dfsg.orig.tar.xz
 745f8b342cdbc7e665783eedc9080db144fa0fa1 157644 silx_2.2.1+dfsg-1.debian.tar.xz
Checksums-Sha256:
 fc26fb993ab318736ad206d749527263b8b6ae9915e105e3cdb3fa070a95b412 3284 
silx_2.2.1+dfsg-1.dsc
 1d10c62a6dc005896de3403a71364b720af596c32428e3696ba995b800e2e72f 17526564 
silx_2.2.1+dfsg.orig.tar.xz
 0b3a54b7058eb10a087cddd595e6463bdb5bb0c3eac157099bba5cbc2058b1cb 157644 
silx_2.2.1+dfsg-1.debian.tar.xz
Files:
 69fd4a942f6d11cd842f29b9da6ee0bd 3284 science optional silx_2.2.1+dfsg-1.dsc
 df5f7141109279f954994cf0c8273074 17526564 science optional 
silx_2.2.1+dfsg.orig.tar.xz
 9b665b6bdd3868df2e074caa9d8da639 157644 science optional 
silx_2.2.1+dfsg-1.debian.tar.xz


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

iQJFBAEBCgAvFiEE2bRTt5m4gw2UXmoKW/VOXhK5ALsFAmfBq6MRHHBpY2NhQGRl
Ymlhbi5vcmcACgkQW/VOXhK5ALuPdA/+N40InO330JGGocdTLYy7O5gIfPPHJaLL
nnz+iDeoO4R4Gwbd7G+0tubEZ+Om+JyWRTjIg8P2MSP5ivZ2k86yOXkRcy5qT/ii
Zz145211wfgePPsRoBGe+6h+7Zp0upzQhWGWfeHgFLV6VLt9L6snGDuMu1dEIJ40
sZ6nw8deULrsUvW+kM1wjHGAfPSvTa92OBS6LUEpSPRx4f2LLh+gbBs3XzKFuiLk
Pe3/ws+TIZZj9zWXgjis2bBK0nG2839n77V2k+S6PavXtMbhTUj+GAykqbn63Kjm
ZJrt4vLG6AUbwnbjCxhbNz52JEjnHljdH3gtksYcnJm0NUdbdcWQl6uFxeqALzLl
wzQTghSKLQOO8SG+01Taeki7mxOYwk4y1n7H1AHn/z4pvMQP32AmLSQPbK+ZqkNW
a0JajXABkZOawHJpbRGIzuO1YZTcCaL5H4UiQVrVLqW/DnAGZSMRU93vkZscLaKc
JM8C0rqAp/78BeGB4XNFGBv0+mLVPLwJPCrGo7nHKFvIMZisXLxlv+QZ4MkErpFU
0aMECM4KhNKiLurv2Mc59lY3WvApBSjfxN+SOiU6IRdH4uMthonKhLstdbm5g9pU
Jx4Ra9Pw31jcHLPyPsbQIT6g2nwtFgAm25/lt+jwVmGARIMQE2H3LOXZoaIb1TBv
ij4i9oLdsus=
=sIBH
-----END PGP SIGNATURE-----

Attachment: pgpFHFzBzQVZq.pgp
Description: PGP signature


--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to