rust-reqwest: some tests fail when a proxy is set

Bug #2071789 reported by Simon Chopin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rust-reqwest (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The following tests started failing in the Ubuntu autopkgtest environment, most likely due to the proxy.

30927s overridden_dns_resolution_with_gai
30927s overridden_dns_resolution_with_gai_multiple
30927s overridden_dns_resolution_with_hickory_dns
30927s overridden_dns_resolution_with_hickory_dns_multiple

It's presumably an upstream regression, and/or a proxy bug, but coming up with an upstream fix is probably too involved for me to handle, so I'll just skip the tests instead.

Simon Chopin (schopin)
description: updated
Revision history for this message
Simon Chopin (schopin) wrote :

After a bit more investigation, the tests actually *always* failed, except once, maybe because the random port chosen happened to match some whitelist or something? In any case, the tests are likely *not* supposed to work.

Jeremy Bícha (jbicha)
Changed in rust-reqwest (Ubuntu):
status: New → Fix Committed
Revision history for this message
Skia (hyask) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "timeout.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I have uploaded the patch (had to tweak it a bit to apply) and uploaded to Debian where it will autosync to Ubuntu.

I have unsubscribed ubuntu-sponsors. Feel free to resubscribe if you have something else that needs to be sponsored.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rust-reqwest - 0.11.27-3

---------------
rust-reqwest (0.11.27-3) unstable; urgency=medium

  * Cherry-pick another test fix to take the Ubuntu CI proxy into account
    (LP: #2071789)

 -- Florent 'Skia' Jacquet <email address hidden> Wed, 10 Jul 2024 14:52:23 +0200

Changed in rust-reqwest (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.