autopkgtest failures due to squid "(111) Connection refused" on armhf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
thin (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Five test cases fail on armhf for thin/1.8.0-1 (thin/1.7.2-1build1 is fine):
1) Thin::Server on TCP socket should POST from Net::HTTP
Failure/Error: expect(post('/', :arg => 'pirate')).to include(
expected "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://
...
+<h2>The requested URL could not be retrieved</h2>
+<p>The following error was encountered while trying to retrieve the URL: <a href="http://
+<p id="sysmsg">The system returned: <i>(111) Connection refused</i></p>
2) Thin::Server on TCP socket should handle big POST
Failure/Error: expect(post('/', :big => big)).to include(big)
expected "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://
...
+<h2>The requested URL could not be retrieved</h2>
+<p>The following error was encountered while trying to retrieve the URL: <a href="http://
+<p id="sysmsg">The system returned: <i>(111) Connection refused</i></p>
3) Thin::Server on TCP socket should retreive remote address
Failure/Error: expect(get('/')).to include(
expected "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://
...
+<h2>The requested URL could not be retrieved</h2>
+<p>The following error was encountered while trying to retrieve the URL: <a href="http://
+<p id="sysmsg">The system returned: <i>(111) Connection refused</i></p>
4) Thin::Server with threads should process request
Failure/Error: raise "Reactor still running, wtf?" if EventMachine.
RuntimeError:
Reactor still running, wtf?
# ./spec/
# ./spec/
5) Thin::Server with threads should process requests when blocked
Failure/Error: expect(
expected: 1
got: 0
(compared using ==)
# ./spec/
Debian does not appear to be seeing these failures on armhf:
https:/
The first recorded autopkgtest for 1.8.0-1 was April 2021, soon after impish opened.
The "ERR_CONNECT_FAIL" in the first three cases show Squid is hitting a Connection refused on armhf for some reason. I don't know if failures #4 and #5 are related but probably not a bad guess to assume they are.
Perhaps setting up a squid proxy environment would allow reproduction?
https:/
Related branches
- Simon Quigley (community): Approve
-
Diff: 85 lines (+48/-1)3 files modifieddebian/changelog (+44/-0)
debian/control (+2/-1)
debian/ruby-tests.rake (+2/-0)
- Lucas Kanashiro (community): Approve
- Utkarsh Gupta (community): Needs Information
-
Diff: 81 lines (+38/-1)5 files modifieddebian/changelog (+9/-0)
debian/control (+2/-1)
debian/patches/increase-wait-time-for-server-stop.patch (+24/-0)
debian/patches/series (+1/-0)
debian/ruby-tests.rake (+2/-0)
For reference, the Debian autopkgtest run (successful) can be found here : https:/ /ci.debian. net/packages/ t/thin/ testing/ armhf/