Bug#1131774: libwww-mechanize-chrome-perl: FTBFS: Failed 2/70 test programs. 3/501 subtests failed.
Santiago Vila
sanvila at debian.org
Tue Mar 24 11:30:41 GMT 2026
Package: src:libwww-mechanize-chrome-perl
Version: 0.75-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202603/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libwww-mechanize-chrome-perl, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
# Set up target=_blank popup
# Launching popup
# New tab was detected (IO::Async::Future=HASH(0x5636865fb020))
# New window/tab has popped up (WWW::Mechanize::Chrome=HASH(0x5636865d3868))
ok 4 - An object of class 'WWW::Mechanize::Chrome' isa 'WWW::Mechanize::Chrome'
ok 5 - We found a tab opened at the new URL
not ok 6 - We autoclosed the newfound tab
ok 7 - We can disable our on_popup callback
# Cleaning up
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/7 subtests
t/61-screencast.t .............................
1..4
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - An object of class 'WWW::Mechanize::Chrome' isa 'WWW::Mechanize::Chrome'
ok 2 - 'Response' isa 'HTTP::Response'
ok 3 - We 'captured' at least one frame
ok 4 - All frames are PNG frames
ok
t/62-networkstatus.t .......................... skipped: Test needs Internet access
t/62-viewport-size.t ..........................
1..6
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 # skip A headful browser can't fake its dimensions
ok 2 # skip A headful browser can't fake its dimensions
ok 3 # skip A headful browser can't fake its dimensions
ok 4 # skip A headful browser can't fake its dimensions
ok 5 # skip A headful browser can't fake its dimensions
ok 6 # skip A headful browser can't fake its dimensions
ok
t/65-is_visible-2.t ...........................
1..41
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - An object of class 'WWW::Mechanize::Chrome' isa 'WWW::Mechanize::Chrome'
ok 2 - We loaded the right file (65-is_visible_none.html)
ok 3 - The element is visible
ok 4 - We got an exception
ok 5 - We got a timeout error message
ok 6 - We loaded the right file (65-is_visible_none.html)
ok 7 - We can see the body
ok 8 - We can't see \#standby
ok 9 - We can't see .status even though there exist multiple such elements
ok 10 - We can see \#standby
ok 11 - No timeout
ok 12 - The \#standby is invisible
ok 13 - We loaded the right file (65-is_visible_none.html)
ok 14 - We can't see the standby message (via its text)
ok 15 - We can see the standby message (via its text)
ok 16 - No timeout
ok 17 - The \#standby is invisible
ok 18 - We loaded the right file (65-is_visible_remove.html)
ok 19 - We can see the body
ok 20 - We can't see \#standby
ok 21 - We can't see .status even though there exist multiple such elements
ok 22 - We can see \#standby
ok 23 - No timeout
ok 24 - The \#standby is invisible
ok 25 - We loaded the right file (65-is_visible_remove.html)
ok 26 - We can't see the standby message (via its text)
ok 27 - We can see the standby message (via its text)
ok 28 - No timeout
ok 29 - The \#standby is invisible
ok 30 - We loaded the right file (65-is_visible_reload.html)
ok 31 - We can see the body
ok 32 - We can't see \#standby
ok 33 - We can't see .status even though there exist multiple such elements
ok 34 - We can see \#standby
ok 35 - No timeout
ok 36 - The \#standby is invisible
ok 37 - We loaded the right file (65-is_visible_reload.html)
ok 38 - We can't see the standby message (via its text)
ok 39 - We can see the standby message (via its text)
ok 40 - No timeout
ok 41 - The \#standby is invisible
ok
t/65-is_visible.t .............................
1..41
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - An object of class 'WWW::Mechanize::Chrome' isa 'WWW::Mechanize::Chrome'
ok 2 - We loaded the right file (65-is_visible_class.html)
ok 3 - The element is visible
ok 4 - We got an exception
ok 5 - We got a timeout error message
ok 6 - We loaded the right file (65-is_visible_class.html)
ok 7 - We can see the body
ok 8 - We can't see \#standby
ok 9 - We can't see .status even though there exist multiple such elements
ok 10 - We can see \#standby
ok 11 - No timeout
ok 12 - The \#standby is invisible
ok 13 - We loaded the right file (65-is_visible_class.html)
ok 14 - We can't see the standby message (via its text)
ok 15 - We can see the standby message (via its text)
ok 16 - No timeout
ok 17 - The \#standby is invisible
ok 18 - We loaded the right file (65-is_visible_text.html)
ok 19 - We can see the body
ok 20 - We can't see \#standby
ok 21 - We can't see .status even though there exist multiple such elements
ok 22 - We can see \#standby
ok 23 - No timeout
ok 24 - The \#standby is invisible
ok 25 - We loaded the right file (65-is_visible_text.html)
ok 26 - We can't see the standby message (via its text)
ok 27 - We can see the standby message (via its text)
ok 28 - No timeout
ok 29 - The \#standby is invisible
ok 30 - We loaded the right file (65-is_visible_hidden.html)
ok 31 - We can see the body
ok 32 - We can't see \#standby
ok 33 - We can't see .status even though there exist multiple such elements
ok 34 - We can see \#standby
ok 35 - No timeout
ok 36 - The \#standby is invisible
ok 37 - We loaded the right file (65-is_visible_hidden.html)
ok 38 - We can't see the standby message (via its text)
ok 39 - We can see the standby message (via its text)
ok 40 - No timeout
ok 41 - The \#standby is invisible
ok
Fetch failed: at /<<PKGBUILDDIR>>/blib/lib/WWW/Mechanize/Chrome.pm line 6176.
Content unavailable. Resource was not cached
-32000 at /<<PKGBUILDDIR>>/blib/lib/Chrome/DevToolsProtocol/Target.pm line 526
Fetch failed: at /<<PKGBUILDDIR>>/blib/lib/WWW/Mechanize/Chrome.pm line 6176.
Content unavailable. Resource was not cached
-32000 at /<<PKGBUILDDIR>>/blib/lib/Chrome/DevToolsProtocol/Target.pm line 526
# Failed test 'Top HTML file exists (/tmp/tBOlB9UtRc/test page.html)'
# at t/65-save-content.t line 81.
# Looks like you failed 1 test of 9.
t/65-save-content.t ...........................
1..9
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - An object of class 'WWW::Mechanize::Chrome' isa 'WWW::Mechanize::Chrome'
ok 2 - Top HTML file exists (/tmp/GQNM5OeNdy/test page.html)
ok 3 - We save the URL under the top HTML filename
ok 4 - ... and it's HTML
ok 5 - All additional files get saved below our directory '/tmp/GQNM5OeNdy/test page files'
not ok 6 - Top HTML file exists (/tmp/tBOlB9UtRc/test page.html)
ok 7 - We save the URL under the top HTML filename
ok 8 # skip Didn't write the file
ok 9 - All additional files get saved below our directory '/tmp/tBOlB9UtRc/test page files'
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/9 subtests
(less 1 skipped subtest: 7 okay)
t/65-wait_until_visible.t .....................
1..9
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - An object of class 'WWW::Mechanize::Chrome' isa 'WWW::Mechanize::Chrome'
ok 2 - We loaded the right file (65-is_visible_none_to_visible.html)
ok 3 - The element is invisible
ok 4 - We got an exception
ok 5 - We got a timeout error message
ok 6 - We loaded the right file (65-is_visible_none_to_visible.html)
ok 7 - We can see the body
ok 8 - We can't see \#retry
ok 9 - We can see \#retry now
ok
t/70-mech-png.t ...............................
1..11
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - An object of class 'WWW::Mechanize::Chrome' isa 'WWW::Mechanize::Chrome'
ok 2 - The result looks like a PNG format file
ok 3 - The result looks like a PNG format file
ok 4 - The result looks like a PNG format file
ok 5 - Partial image
ok 6 - The result looks like a PNG format file
ok 7 - Blown up (scalex)
ok 8 - The result looks like a PNG format file
ok 9 - Scaled down via fixed with
ok 10 - The result looks like a PNG format file
ok 11 - Scaled down via fixed height
ok
t/75-classnames.t .............................
1..1
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1
ok
t/76-scroll.t .................................
1..2
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - Can scroll down and retrieve new content
ok 2 - Can scroll to end of infinite scroll
ok
t/77-reload-fragment.t ........................
1..2
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - We retrieved http://[::1]:53997/\#1
ok 2 - We retrieved http://[::1]:53997/\#2
ok
Unhandled type: GLOB at /usr/share/perl5/Devel/Cycle.pm line 107.
t/78-memleak.t ................................
1..14
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - No cycles at the start
ok 2 - We destroyed our object immediately after loading
# Constructing fresh mechanize
ok 3 - Loading xhtml.xhtml is considered a success
ok 4 - We loaded the right file (javascript 1)
ok 5 - No cycles after loading a page
ok 6 - We destroyed our object after loading
# Constructing fresh mechanize
ok 7 - Loading 58-alert.html is considered a success
ok 8 - We loaded the right file (javascript 1)
ok 9 - No cycles after an alert()
ok 10 - We destroyed our object after ->on_dialog
# Constructing fresh mechanize
ok 11 - No cycles after a screen cast frame
ok 12 - We destroyed our object after a frame was grabbed
ok 13 - No cycles after an xpath search
ok 14 - We destroyed our object after a search was performed
ok
Unhandled type: GLOB at /usr/share/perl5/Devel/Cycle.pm line 107.
t/78-two-instances.t ..........................
1..4
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - A fresh mechanize doesn't have a cycle
ok 2 - We replaced the first with a second Chrome instance
ok 3 - A fresh mechanize doesn't have a cycle
ok 4 - We replaced the first with a third Chrome instance
ok
t/99-interactive-single-window.t ..............
1..8
ok 1 # skip Skipping interactive tests
ok 2 # skip Skipping interactive tests
ok 3 # skip Skipping interactive tests
ok 4 # skip Skipping interactive tests
ok 5 # skip Skipping interactive tests
ok 6 # skip Skipping interactive tests
ok 7 # skip Skipping interactive tests
ok 8 # skip Skipping interactive tests
ok
t/rt127588.t ..................................
1..1
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - We didn't crash when disabling the suid sandbox
ok
t/rt130999.t ..................................
1..3
# Testing with /bin/chromium
# Using Chrome version 'Chrome/146.0.7680.153'
ok 1 - We lived
ok 2 - No error
ok 3 - We fetch some text
ok
t/select.t .................................... skipped: Couldn't connect to Chrome:
Test Summary Report
-------------------
t/61-popup.t (Wstat: 512 (exited 2) Tests: 7 Failed: 2)
Failed tests: 3, 6
Non-zero exit status: 2
t/65-save-content.t (Wstat: 256 (exited 1) Tests: 9 Failed: 1)
Failed test: 6
Non-zero exit status: 1
Files=70, Tests=501, 91 wallclock secs ( 0.17 usr 0.08 sys + 23.51 cusr 4.54 csys = 28.30 CPU)
Result: FAIL
Failed 2/70 test programs. 3/501 subtests failed.
make[1]: *** [Makefile:1021: test_dynamic] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test TEST_VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the pkg-perl-maintainers
mailing list