[Bug 50048] qmgr:job test has been failing on Windows 10 Pro for several weeks

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jan 7 20:39:50 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50048

François Gouget <fgouget at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from François Gouget <fgouget at codeweavers.com> ---
This got fixed by the commit below which makes sense since the TestBot's
Windows 10 VMs us a metered connection to prevent Windows upgrades from
wreaking havoc. In any case there is no failure in the available
test.winehq.org history so I'm closing this bug.

commit 2538077463e3be922fc6de576409bee09a9d5de1
Author: Aaron Hill <aa1ronham at gmail.com>
Date:   Sun Oct 25 23:51:25 2020 -0400

    qmgr/tests: Fix issues with handling of transient errors.

    When a BITS job is being transferred, it may enter into the state
    BG_JOB_STATE_TRANSIENT_ERROR (for example, if the hostname fails to
    resolve). Currently, entering this state causes qmgr job tests to fail,
    even though it may occur due to temporary network issues out of our
    control.

    If a job enters BG_JOB_STATE_TRANSIENT_ERROR before the timeout has
    elapsed, attempt to resume the job using
    IBackgroundCopyJob_Resume. If the job is still in
    BG_JOB_STATE_TRANSIENT_ERROR, query BITS for detailed error
    information, and print it out.

    Additionally, ensure that we are able to transfer files on Windows 10
    with a metered connection. By default, BITS will not attempt to transfer
    a job on a metered connection, instead failing with
    BG_JOB_STATE_TRANSIENT_ERROR. On newer versions of Windows, we can
    use IBackgroundCopyJob5 to set the transfer policy, forcing the job to
    run even on a metered connection. This allows qmgr job tests to pass on
    the testbot Windows 10 VMs, which have metered connections enabled in
    order to disable Windows Update.

    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50048
    Signed-off-by: Aaron Hill <aa1ronham at gmail.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list