Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-WWW-Mechanize.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1602183496.322818/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7n_wk830:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7n_wk830:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1eac8a8d2348486ca444ea5272cd1711', '-D', '/var/lib/mock/epel-8-x86_64-1602183496.322818/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7n_wk830:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-WWW-Mechanize.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-WWW-Mechanize-2.01-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-WWW-Mechanize.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1602183496.322818/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7n_wk830:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7n_wk830:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '64f4464de985425aa9192821d7c90349', '-D', '/var/lib/mock/epel-8-x86_64-1602183496.322818/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7n_wk830:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-WWW-Mechanize.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gRkdfU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf WWW-Mechanize-2.01 + /usr/bin/gzip -dc /builddir/build/SOURCES/WWW-Mechanize-2.01.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd WWW-Mechanize-2.01 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ID7tFz + umask 022 + cd /builddir/build/BUILD + cd WWW-Mechanize-2.01 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 Warning: prerequisite Test::Taint 1.08 not found. We have 1.06. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for WWW::Mechanize Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j2 cp lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize.pm cp lib/WWW/Mechanize/Link.pm blib/lib/WWW/Mechanize/Link.pm cp lib/WWW/Mechanize/Image.pm blib/lib/WWW/Mechanize/Image.pm cp lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/Examples.pod cp lib/WWW/Mechanize/Cookbook.pod blib/lib/WWW/Mechanize/Cookbook.pod cp lib/WWW/Mechanize/FAQ.pod blib/lib/WWW/Mechanize/FAQ.pod cp script/mech-dump blib/script/mech-dump "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/mech-dump Manifying 1 pod document Manifying 6 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jS4l6g + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64 + cd WWW-Mechanize-2.01 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64 'INSTALL=/usr/bin/install -p' Manifying 1 pod document Manifying 6 pod documents Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/perl5/vendor_perl/WWW/Mechanize.pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/perl5/vendor_perl/WWW/Mechanize/FAQ.pod Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/perl5/vendor_perl/WWW/Mechanize/Cookbook.pod Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/perl5/vendor_perl/WWW/Mechanize/Examples.pod Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/perl5/vendor_perl/WWW/Mechanize/Image.pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/perl5/vendor_perl/WWW/Mechanize/Link.pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/man/man1/mech-dump.1 Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/man/man3/WWW::Mechanize::Link.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/man/man3/WWW::Mechanize::Image.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/man/man3/WWW::Mechanize::FAQ.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/man/man3/WWW::Mechanize::Examples.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/man/man3/WWW::Mechanize::Cookbook.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/man/man3/WWW::Mechanize.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/bin/mech-dump + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.01-1.el8 --unique-debug-suffix -2.01-1.el8.x86_64 --unique-debug-src-base perl-WWW-Mechanize-2.01-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/WWW-Mechanize-2.01 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.AvHwhZ + umask 022 + cd /builddir/build/BUILD + cd WWW-Mechanize-2.01 + /usr/bin/make -O -j2 test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/local/*.t t/mech-dump/*.t t/00-load.t .............................. 1..2 ok 1 - use WWW::Mechanize; ok 2 - use WWW::Mechanize::Link; ok t/00-report-prereqs.t .................... 1..1 ok 1 - Reported prereqs ok t/add_header.t ........................... 1..4 ok 1 - use WWW::Mechanize; ok 2 - 'Created agent' isa 'WWW::Mechanize' ok 3 - Referer's in there ok 4 - Referer's not there ok t/aliases.t .............................. 1..8 ok 1 - use WWW::Mechanize; ok 2 - All aliases accounted for ok 3 - We only know Mac, Windows or Linux ok 4 - We only know Mac, Windows or Linux ok 5 - We only know Mac, Windows or Linux ok 6 - We only know Mac, Windows or Linux ok 7 - We only know Mac, Windows or Linux ok 8 - We only know Mac, Windows or Linux ok t/area_link.t ............................ 1..9 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/area_link.html ok 4 - Correct links came back ok 5 - Correct links came back ok 6 - Link list: no cycles ok 7 - Single link: no cycles ok 8 - URI: no cycles ok 9 - Mech: no cycles ok t/autocheck.t ............................ ok 1 - Didn't fetch file:///foo.foo.xx.random, but didn't die, either ok 2 - Couldn't fetch file:///foo.foo.xx.random, and died as a result 1..2 ok t/bad-request.t .......................... 1..2 ok 1 - ->request wants at least one parameter ok 2 - We carp with a descriptive error message ok t/clone.t ................................ 1..6 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 4 - Cookie jar contents are the same ok 5 - Adding cookies adds to both jars ok 6 - Adding headers does not add to both agents ok t/content.t .............................. 1..8 ok 1 - use WWW::Mechanize; ok 2 - Found Fine ok 3 - Could not find "html" ok 4 - Found the base href ok 5 - Found the new base href ok 6 - raw => 1 ok 7 - decoded_by_headers => 1 ok 8 - charset => ... ok t/cookies.t .............................. 1..14 TestServer: You can connect to your server at http://localhost:29401/ ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - First fetch works ok 3 - First cookie matches ok 4 - Right title ok 5 - Second fetch works ok 6 - Second cookie matches ok 7 - Right title ok 8 - Cookie did not change... ok 9 - ... but back to the first page title ok 10 - Cookie did not change... ok 11 - On the proper 3rd page ok 12 - Got the third cookie ok 13 - Title is correct ok 14 - Signaled the child process ok t/credentials-api.t ...................... 1..4 ok 1 - LWP::UserAgent instance retains its old credentials ok 2 - First instance retains its credentials ok 3 - Second instance retains its credentials ok 4 - Untouched instance retains its credentials ok t/credentials.t .......................... 1..14 ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - default username is undefined at first ok 3 - default password is undefined at first ok 4 - calling credentials sets username for get_basic_credentials ok 5 - calling credentials sets password for get_basic_credentials ok 6 - cloned object has username for get_basic_credentials ok 7 - cloned object has password for get_basic_credentials ok 8 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 9 - new object has no username for get_basic_credentials ok 10 - new object has no password for get_basic_credentials ok 11 - username is undefined after clear_credentials ok 12 - password is undefined after clear_credentials ok 13 - cloned object still has username for get_basic_credentials ok 14 - cloned object still has password for get_basic_credentials ok t/die.t .................................. ok 1 - Expecting to die ok 2 - Not expecting to die 1..2 ok t/dump.t ................................. 1..6 ok 1 - use WWW::Mechanize; # Subtest: dump_headers 1..5 ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_inputs.html ok 3 - Dump file created ok 4 - Dump has valid values ok 5 - Valid STDOUT ok 2 - dump_headers # Subtest: dump_links test ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_link.html ok 3 - Dump has valid values ok 4 - Valid STDOUT 1..4 ok 3 - dump_links test # Subtest: dump_images test ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/image-parse.html ok 3 - Dump has valid values ok 4 - Valid STDOUT 1..4 ok 4 - dump_images test # Subtest: dump_forms test ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/form_with_fields.html ok 3 - Dump has valid values ok 4 - Valid STDOUT 1..4 ok 5 - dump_forms test # Subtest: dump_text test ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/image-parse.html ok 3 - Dump has valid values ok 4 - Valid STDOUT 1..4 ok 6 - dump_text test ok t/field.t ................................ 1..8 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/field.html ok 4 - dingo got changed ok 5 - dingo changed ok 6 - bongo changed ok 7 - wango changed ok 8 - dingo changed ok t/find_frame.t ........................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_frame.html ok 4 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 5 - First link sequentially ok t/find_image.t ........................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/image-parse.html ok 4 - find_all_images in the page ok 5 - ... and all ten are in the right order ok 6 - images() and find_all_images() return the same thing in list context ok 7 - images() and find_all_images() return the same thing in scalar context ok 8 - find_image: CSS ok 9 - find_all_images: CSS ok 10 - find_image: alt ok 11 - find_all_images: alt ok 12 - find_image: alt_regex ok 13 - find_all_images: alt_regex ok 14 - find_image: url ok 15 - find_all_images: url ok 16 - find_image: url_regex ok 17 - find_all_images: url_regex ok 18 - find_image: url_abs ok 19 - find_all_images: url_abs ok 20 - find_image: url_abs_regex ok 21 - find_all_images: url_abs_regex ok 22 - find_image: tag (img) ok 23 - find_all_images: tag (img) ok 24 - find_image: tag (input) ok 25 - find_all_images: tag (input) ok 26 - find_image: tag_regex ok 27 - find_all_images: tag_regex ok 28 - find_image: id ok 29 - find_all_images: id ok 30 - find_image: id_regex ok 31 - find_all_images: id_regex ok 32 - find_image: class ok 33 - find_all_images: class ok 34 - find_image: class_regex ok 35 - find_all_images: class_regex ok 36 - find_image: class_regex and url ok 37 - find_all_images: class_regex and url ok 38 - find_image: 2nd instance of an image ok 39 - find_image: inline style background image ok 40 - find_image with alt that does not exist returns an empty list ok 41 - find_image with alt_regex that does not exist returns an empty list ok 42 - find_image with url that does not exist returns an empty list ok 43 - find_image with url_regex that does not exist returns an empty list ok 44 - find_image with url_abs that does not exist returns an empty list ok 45 - find_image with url_abs_regex that does not exist returns an empty list ok 46 - find_image with tag that does not exist returns an empty list ok 47 - find_image with tag_regex that does not exist returns an empty list ok 48 - find_image with id that does not exist returns an empty list ok 49 - find_image with id_regex that does not exist returns an empty list ok 50 - find_image with class that does not exist returns an empty list ok 51 - find_image with class_regex that does not exist returns an empty list ok 52 - find_image warns when it sees an unexpected regex ok 53 - ... and ignores this argument ok 54 - find_image warns when it expects a regex and sees a string ok 55 - ... and ignores this argument ok 56 - find_image warns about space-padding ok 57 - ... and ignores this argument ok 58 - no (unexpected) warnings (via done_testing) 1..58 ok t/find_inputs.t .......................... 1..11 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_inputs.html ok 4 - Exactly three inputs ok 5 - Exactly two submits ok 6 - Exactly four inputs ok 7 - Exactly one submit ok 8 - Exactly five inputs ok 9 - Found four relatives ok 10 - Found two sisters ok 11 - But no sisters are submits ok t/find_link-warnings.t ................... 1..19 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_link.html ok 4 - detected usage error: TEXT => 'string' ok 5 - detected usage error: NAME => 'string' ok 6 - detected usage error: URL => 'string' ok 7 - detected usage error: TAG => 'string' ok 8 - detected usage error: text_regex => 'string' ok 9 - detected usage error: name_regex => 'string' ok 10 - detected usage error: url_regex => 'string' ok 11 - detected usage error: tag_regex => 'string' ok 12 - detected usage error: text => Regex ok 13 - detected usage error: name => Regex ok 14 - detected usage error: url => Regex ok 15 - detected usage error: tag => Regex ok 16 - detected usage error: text => padded-string ok 17 - detected usage error: name => padded-string ok 18 - detected usage error: url => padded-string ok 19 - detected usage error: tag => padded-string ok t/find_link.t ............................ ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_link.html ok 4 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 5 - First link on the page ok 6 - First link on the page ok 7 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 8 - Third link should be the CSS ok 9 - Third link should be the CSS ok 10 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 11 - found link in uppercase meta tag ok 12 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 13 - First CPAN link ok 14 - First CPAN link ok 15 - No url matching CPAN ok 16 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 17 - 3rd CPAN text ok 18 - 3rd CPAN text ok 19 - No 34th CPAN text ok 20 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 21 - Got 1st cpan via regex ok 22 - Got 1st cpan via regex ok 23 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 24 - Got 1st cpan via regex ok 25 - Got 1st cpan via regex ok 26 - No 153rd cpan link ok 27 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 28 - Got b.cpan.org ok 29 - Got b.cpan.org ok 30 - Not a second b.cpan.org ok 31 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 32 - Got c.cpan.org ok 33 - Got c.cpan.org ok 34 - Correct links came back ok 35 - Correct links came back ok 36 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 37 - First News is MSNBC ok 38 - First News is MSNBC ok 39 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 40 - First BBC news link ok 41 - First BBC news link ok 42 - First BBC news text ok 43 - First BBC news text ok 44 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 45 - First CNN news link ok 46 - First CNN news link ok 47 - First CNN news text ok 48 - First CNN news text ok 49 - Correct links came back ok 50 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 51 - Got the CPAN C link ok 52 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 53 - Got 2nd link that begins with a capital ok 54 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 55 - Got 3rd tag ok 56 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 57 - Got 7th or tag ok 58 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 59 - Got the JavaScript link ok 60 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 61 - No match ok 62 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 63 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 64 - Got js url link ok 65 - Got js url link ok 66 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 67 - Got icon url link ok 68 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 69 - Got stylesheet url link ok 70 - got link from meta tag via tag search 1..70 ok t/find_link_id.t ......................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_link_id.html ok 4 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 5 - found link with given ID ok 6 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 7 - found link within "iframe" with given class ok 8 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 9 - found link with ID matching a regex ok 10 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 11 - found link with class matching a regex 1..11 ok t/find_link_xhtml.t ...................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_link_xhtml.html ok 4 - We find exactly the valid links ok 5 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 6 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_link_xhtml.html ok 7 - We find exactly the valid links, explicitly ok 8 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 9 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_link_xhtml.html ok 10 - We can enable the legacy behaviour 1..10 ok t/form-parsing.t ......................... 1..1 ok 1 - Find one form, please ok t/form_with_fields.t ..................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/form_with_fields.html ok 4 - dies with no input ok 5 - warning on ambiguous match (1) ok 6 - An object of class 'HTML::Form' isa 'HTML::Form' ok 7 - first form matches ok 8 - An object of class 'HTML::Form' isa 'HTML::Form' ok 9 - second form matches ok 10 - warning on ambiguous match (2) ok 11 - An object of class 'HTML::Form' isa 'HTML::Form' ok 12 - fourth form matches ok 13 ok 14 - An object of class 'HTML::Form' isa 'HTML::Form' ok 15 - An object of class 'HTML::Form' isa 'HTML::Form' ok 16 - first result of 3rd_form_ambiguous ok 17 - second result of 3rd_form_ambiguous ok 18 - submit_form with no match (1) ok 19 - submit_form with no match (2) ok 20 - submit_form with no match (3) ok 21 - submit_form with more than one match ok 22 - submit_form with intersection of two criteria ok 23 - submit_form( with_fields => %data ) ok 24 - submit_form with invalid field and without strict_forms option succeeds ok 25 - submit_form with invalid field and strict_forms option fails ok 26 - submit_form with valid fields and strict_forms option succeeds ok 27 - no (unexpected) warnings (via END block) 1..27 ok t/form_with_fields_passthrough_params.t .. ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/form_with_fields.html ok 4 - dies with no input ok 5 - warning on ambiguous match (1) ok 6 - An object of class 'HTML::Form' isa 'HTML::Form' ok 7 - first form matches ok 8 - An object of class 'HTML::Form' isa 'HTML::Form' ok 9 - second form matches ok 10 - warning on ambiguous match (2) ok 11 - An object of class 'HTML::Form' isa 'HTML::Form' ok 12 - fourth form matches ok 13 ok 14 - An object of class 'HTML::Form' isa 'HTML::Form' ok 15 - An object of class 'HTML::Form' isa 'HTML::Form' ok 16 - first result of 3rd_form_ambiguous ok 17 - second result of 3rd_form_ambiguous ok 18 - submit_form with no match (1) ok 19 - submit_form with no match (2) ok 20 - submit_form with no match (3) ok 21 - submit_form with more than one match ok 22 - submit_form with intersection of two criteria ok 23 - submit_form( with_fields => %data ) ok 24 - submit_form with invalid field and with global strict_forms and without implicit strict_forms fails ok 25 - submit_form with invalid field and with global strict_forms and with implicit strict_forms fails ok 26 - submit_form with invalid field and strict_forms option fails ok 27 - submit_form with valid fields and strict_forms option succeeds ok 28 - submit_form with invalid field and with global strict_forms and with implicit disabled strict_forms succeeds ok 29 - verbose_fields catches wrong HTML ok 30 - An object of class 'HTML::Form' isa 'HTML::Form' ok 31 - ... and form matches ok 32 - no (unexpected) warnings (via END block) 1..32 ok t/frames.t ............................... 1..7 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/frames.html ok 4 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 5 - Only two links ok 6 - First frame OK ok 7 - Second frame OK ok t/history.t .............................. ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetch test page ok 4 - ... and it was recorded in the history ok 5 - ... and the first history item is of the correct format ok 6 - ... and it was recorded in the history ok 7 - ... and the second history item is of the correct format ok 8 - Submit form using 'get' method ok 9 - ... and it was recorded in the history ok 10 - ... and the third history item is of the correct format ok 11 - Clear the history ok 12 - ... and the history contains only one item ok 13 - ... and the latest history item is of the correct format ok 14 - ... and we are still 'displaying' the page we were on when we cleared the history ok 15 - ... and we cannot go back in the history ok 16 - Click a link in the page we are 'displaying' ok 17 - ... and it was recorded in the history ok 18 - ... and we are 'displaying' a different page ok 19 - We can go back in history ok 20 - ... and we are 'displaying' the page we were on when we cleared the history again ok 21 - Submit form using 'post' method ok 22 - ... and it was recorded in the history ok 23 - ... and the correct request was saved ok 24 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 25 - stack_depth can be changed ok 26 - No history saved when history is turned off ok 27 - Limited history is saved when stack_depth is explicitly set 1..27 ok t/image-new.t ............................ 1..15 ok 1 - use WWW::Mechanize::Image; ok 2 - url() works ok 3 - base() works ok 4 - name() works ok 5 - alt() works ok 6 - tag() works ok 7 - height works ok 8 - width works ok 9 - attrs/id works ok 10 - attrs/class works ok 11 - url_abs works ok 12 - 'Returns an object' isa 'URI::URL' ok 13 - An object of class 'WWW::Mechanize::Image' isa 'WWW::Mechanize::Image' ok 14 - url() without url is undef ok 15 - 'Returns an object' isa 'URI::URL' ok t/image-parse.t .......................... 1..47 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/image-parse.html ok 4 - Exactly twelve images ok 5 - Got the background style image ok 6 - css tag ok 7 - alt ok 8 - img tag ok 9 - URL matches ok 10 - alt matches ok 11 - input tag ok 12 - URL matches ok 13 - alt matches ok 14 - height ok 15 - width ok 16 - Got the fourth image ok 17 - input tag ok 18 - alt ok 19 - Got the fifth image ok 20 - input tag ok 21 - alt ok 22 - id ok 23 - class ok 24 - Got the sixth image ok 25 - input tag ok 26 - alt ok 27 - id ok 28 - class ok 29 - Got the seventh image ok 30 - input tag ok 31 - alt ok 32 - id ok 33 - class ok 34 - Got the eighth image ok 35 - it has no URL ok 36 - it has an extra attribute ok 37 - Got the fifth image ok 38 - css tag ok 39 - alt ok 40 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/image-parse.css ok 41 - survived eval ok 42 - Exactly two images ok 43 - Got the first image ok 44 - css tag ok 45 - alt ok 46 - Got the second image ok 47 - css tag ok t/link-base.t ............................ 1..5 ok 1 - use WWW::Mechanize::Link; ok 2 - 'constructor OK' isa 'WWW::Mechanize::Link' ok 3 - 'URI is proper type' isa 'URI::URL' ok 4 - Short form of the url ok 5 - url_abs works ok t/link-relative.t ........................ 1..6 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/image-parse.html ok 4 - Fetch select.html, no directory ok 5 - Fetch select.html from ./ ok 6 - Fetched click.t ok t/link.t ................................. 1..23 ok 1 - use WWW::Mechanize::Link; ok 2 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 3 - Should have five elements ok 4 - url() works ok 5 - text() works ok 6 - name() works ok 7 - tag() works ok 8 - base() works ok 9 - attrs() works ok 10 - param 0 is url ok 11 - param 1 is text ok 12 - param 2 is name ok 13 - param 3 is tag ok 14 - param 4 is base ok 15 - 'URI is proper type' isa 'URI::URL' ok 16 - Short form of the url ok 17 - url_abs works ok 18 - url() works ok 19 - text() works ok 20 - name() works ok 21 - tag() works ok 22 - base() works ok 23 - attrs() works ok t/local/back.t ........................... 1..47 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - 'this $mech starts with a cookie jar' isa 'HTTP::Cookies' ok 4 - An object of class 'LocalServer' isa 'LocalServer' ok 5 - With no stack, no going back ok 6 - Fetched OK ok 7 - Followed OK ok 8 - Back should succeed ok 9 - Did the base get set back? ok 10 - Title set back? ok 11 - Followed OK ok 12 - Back should succeed ok 13 - Did the base get set back? ok 14 - Title set back? ok 15 - Pre-search check ok 16 - Searched for Perl ok 17 - Right page title ok 18 - POST is in the stack ok 19 - HEAD succeeded ok 20 - HEAD is not in the stack ok 21 - Back should succeed ok 22 - Back ok 23 - Did the base get set back? ok 24 - Title set back? ok 25 - Post-search check ok 26 - Back should succeed ok 27 - reload() does not push page to stack ok 28 - $mech still has a cookie jar after a number of back() ok 29 - No memory cycles found ok 30 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 31 - Got root URL ok 32 - Pre-404 check ok 33 - 404 check ok 34 - Even 404s get on the stack ok 35 - Back should succeed ok 36 - Back from the 404 ok 37 - Post-404 check ok 38 - Get /scripts ok 39 - Back should succeed ok 40 - Back from /scripts ok 41 - Get /ports/ ok 42 - Back should succeed ok 43 - Back from /ports/ ok 44 - Get modules/ ok 45 - Back should succeed ok 46 - Back from modules/ ok 47 - No memory cycles found ok t/local/click.t .......................... 1..9 ok 1 - use WWW::Mechanize; ok 2 - 'Created the object' isa 'WWW::Mechanize' ok 3 - An object of class 'LocalServer' isa 'LocalServer' ok 4 - 'Got back a response' isa 'HTTP::Response' ok 5 - Got URL ok 6 - Local page is HTML ok 7 - 'Got back a response' isa 'HTTP::Response' ok 8 - Can click 'Go' ('Google Search' button) ok 9 - Filled field correctly ok t/local/click_button.t ................... ok 1 - use WWW::Mechanize; ok 2 - 'Created the object' isa 'WWW::Mechanize' ok 3 - An object of class 'LocalServer' isa 'LocalServer' ok 4 - 'Got back a response' isa 'HTTP::Response' ok 5 - Got URL ok 6 - Local page is HTML # Subtest: click by id ok 1 - Clicking on button ok 2 - Correct button was pressed ok 3 - Parameters got transmitted OK ok 4 - Button id not found 1..4 ok 7 - click by id # Subtest: click by number ok 1 - Clicking on button ok 2 - Correct button was pressed ok 3 - Parameters got transmitted OK ok 4 - Button number out of range 1..4 ok 8 - click by number # Subtest: click by name ok 1 - Clicking on button ok 2 - Correct button was pressed ok 3 - Parameters got transmitted OK ok 4 - Button name unknown 1..4 ok 9 - click by name # Subtest: click by object reference ok 1 - 'Found the submit button' isa 'HTML::Form::Input' ok 2 - Named the right thing, too ok 3 - Clicking on button # TODO Calling ->click() on an object doesn't seem to use the submit button. not ok 4 - Correct button was pressed # TODO Calling ->click() on an object doesn't seem to use the submit button. # Failed (TODO) test 'Correct button was pressed' # at t/local/click_button.t line 69. # 'http://[::1]:57661/formsubmit?session=1&query=(empty)&cat=cat_foo&cat=cat_bar&upload=' # doesn't match '(?^:submit=Go)' ok 5 - Parameters got transmitted OK # TODO Calling ->click() on an object doesn't seem to use the submit button. # http://[::1]:57661/formsubmit?session=1&query=(empty)&cat=cat_foo&cat=cat_bar&upload= 1..5 ok 10 - click by object reference 1..10 ok t/local/content.t ........................ 1..10 ok 1 - use WWW::Mechanize; ok 2 - 'Created the object' isa 'WWW::Mechanize' ok 3 - An object of class 'LocalServer' isa 'LocalServer' ok 4 - 'Got back a response' isa 'HTTP::Response' ok 5 - Got URL ok 6 - Content type is application/xhtml+xml ok 7 - Local page is HTML ok 8 - 'Got back a response' isa 'HTTP::Response' ok 9 - Can click 'Go' ('Google Search' button) ok 10 - Filled field correctly ok t/local/encoding.t ....................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - An object of class 'LocalServer' isa 'LocalServer' ok 4 - Fetched OK ok 5 - got encoding enc-jp ok t/local/failure.t ........................ 1..15 ok 1 - require WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - An object of class 'HTTP::Response' isa 'HTTP::Response' ok 5 - Success ok 6 - Get webpage ok 7 - It's HTML ok 8 - Correct title ok 9 - 10 links, please ok 10 - Two form ok 11 - Failed the fetch ok 12 - Isn't HTML ok 13 - No title ok 14 - No links ok 15 - No forms ok t/local/follow.t ......................... 1..28 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - Got some page ok 5 - Got local server page ok 6 - Can't follow too-high-numbered link ok 7 - 'Gives a response' isa 'HTTP::Response' ok 8 - Need to be on a separate page ok 9 - Can go back ok 10 - Back at the first page ok 11 - Can't follow unlikely named link ok 12 - Can follow obvious named link ok 13 - Need to be on a separate page ok 14 - Can still go back ok 15 - Can follow link with o-umlaut ok 16 - Need to be on a separate page ok 17 - Can still go back ok 18 - Can follow link with o-umlaut, when it's encoded in the HTML, but not in "follow" ok 19 - Need to be on a separate page ok 20 - Can still go back ok 21 - Back at the start page again ok 22 - Couldn't find it ok 23 - can follow url ok 24 - Need to be on a separate page ok 25 - Can still go back ok 26 - can't follow wrong url ok 27 - Needs to be on the same page ok 28 - Invalid parameter passing gets better error message ok t/local/form.t ........................... 1..21 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 4 - Got a page ok 5 - Got page ok 6 - 'Can select the first form in list context call' isa 'HTML::Form' ok 7 - Form number is correct ok 8 - 'Can select the first form' isa 'HTML::Form' ok 9 - Set the form attribute ok 10 - cannot select the 99th form ok 11 - Form is still set to 1 ok 12 - 'Can select the form' isa 'HTML::Form' ok 13 - cannot select non-existent form ok 14 - 'Can select the form' isa 'HTML::Form' ok 15 - cannot select non-existent form ok 16 - 'Can select the form without id' isa 'HTML::Form' ok 17 - Form without id is now the current form ok 18 - no warnings so far ok 19 - Can select form with ambiguous criteria ok 20 - Got one warning ok 21 - Got expected warning ok t/local/get.t ............................ 1..32 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - An object of class 'HTTP::Response' isa 'HTTP::Response' ok 5 - An object of class 'HTTP::Response' isa 'HTTP::Response' ok 6 - Page read OK ok 7 - Get webpage ok 8 - Got the content-type... ok 9 - ... and the is_html wrapper ok 10 - Titles match ok 11 - Got the /foo ok 12 - Got relative OK ok 13 - Got HTML back ok 14 - Got the right page ok 15 - Got the /bar page ok 16 - Got relative OK ok 17 - is HTML ok 18 - Got the right page ok 19 - Got the basics page ok 20 - Got relative OK ok 21 - is HTML ok 22 - Title matches ok 23 - Got the right page ok 24 - Got the "refine search" page ok 25 - Got relative OK ok 26 - is HTML ok 27 - Title matches ok 28 - Got the right page ok 29 - tempfile not there right now ok 30 - File exists ok 31 - Did all the bytes get saved? ok 32 - Mech: no cycles ok t/local/nonascii.t ....................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - Got some page ok 5 - set utf value ok t/local/overload.t ....................... skipped: Mysteriously stopped passing, and I don't know why. t/local/page_stack.t ..................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - Page stack starts empty ok 5 - No history count to start ok 6 - No 0th history item yet ok 7 - Got start page ok 8 - Page stack empty after first get ok 9 - 0th history is last request ok 10 - No 1th history item yet ok 11 - One history count after first get ok 12 - Pushed item onto page stack ok 13 - Two history count after push ok 14 - Pushed item onto page stack ok 15 - Three history count after push ok 16 - Popped item from page stack ok 17 - History count back to 2 post pop ok 18 - Popped item from page stack ok 19 - History count back to 1 post pop ok 20 - Cannot pop beyond end of page stack ok 21 - History count stable at 1 ok 22 - 'Created object' isa 'WWW::Mechanize' ok 23 - Page stack starts empty ok 24 - Got start page ok 25 - Page stack starts empty ok 26 - Pushing has no effect 1..26 ok t/local/post.t ........................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - Get webpage ok 5 - Post webpage ok t/local/referer.t ........................ 1..13 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Got first page ok 4 - First page gets sent with empty referrer ok 5 - Got second page ok 6 - Referer got sent for absolute url ok 7 - Got third page ok 8 - Referer got sent for relative url ok 9 - Got fourth page ok 10 - Referer can be set to empty again ok 11 - Got fourth page ok 12 - Custom referer can be set ok 13 - No memory cycles found ok t/local/reload.t ......................... 1..15 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - Initial reload should fail ok 5 - An object of class 'HTTP::Response' isa 'HTTP::Response' ok 6 - Get google webpage ok 7 - Valid HTML ok 8 ok 9 ok 10 - Not HTML ok 11 - An object of class 'HTTP::Response' isa 'HTTP::Response' ok 12 - Valid HTML ok 13 - WWW::Mechanize test page ok 14 - cookies are not multiplied ok 15 - Mech: no cycles ok t/local/submit.t ......................... 1..13 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created the object' isa 'WWW::Mechanize' ok 4 - 'Got back a response' isa 'HTTP::Response' ok 5 - Got the correct page ok 6 - Got local page ok 7 - is HTML ok 8 - Hopefully no upload happens ok 9 - 'Got back a response' isa 'HTTP::Response' ok 10 - Can click "submit" ("submit" button) ok 11 - Found "Foo" ok 12 - No upload happens ok 13 - Mech: no cycles ok t/mech-dump/mech-dump.t .................. 1..4 ok 1 - First line matches ok 2 - Still some expected ok 3 - Still some actual ok 4 - Rest of the lines match ok t/new.t .................................. 1..15 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - success() is false before any get ok 4 - res() is undef ok 5 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 6 - WWW::Mechanize->can('request') ok 7 - Set user agent string ok 8 - Set user agent version ok 9 - Can set the agent ok 10 - _agent() is static ok 11 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 12 - WWW::Mechanize->can('request') ok 13 - Aliases don't get translated in the constructor ok 14 - Alias sets the agent ok 15 - Can still set the agent ok t/regex-error.t .......................... 1..4 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Passes message, and includes the line number ok 4 - Passes message, and includes the line number ok t/save_content.t ......................... 1..8 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/find_inputs.html ok 4 - saved1.test.txt does not exist ok 5 - Saved copy matches the original ok 6 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/save_content.html ok 7 - saved2.test.txt does not exist ok 8 - Saved copy matches the original ok t/select.t ............................... 1..14 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/select.html ok 4 - set form to number 1 ok 5 - multi->multi value is bbb ccc ok 6 - multi->multi value is bbb ccc ok 7 - single->multi value is 'aaa' ok 8 - single->multi value is 'aaa' ok 9 - multi->single value is bbb ok 10 - multi->single value is bbb ok 11 - single->single value is 'aaa' ok 12 - single->single value is 'aaa' ok 13 - return 1 after successful select ok 14 - return undef after failed select ok t/submit_form.t .......................... ok 1 - submit_form with no match on form_id ok 2 - submit_form with invalid arg ok 3 - submit_form with invalid form number ok 4 - submit_form with invalid form name ok 5 - submit_form with invalid arg value for with_fields ok 6 - submit_form with invalid arg value for fields ok 7 - no (unexpected) warnings (via done_testing) 1..7 ok t/taint.t ................................ 1..6 ok 1 - use WWW::Mechanize; ok 2 - 'Created object' isa 'WWW::Mechanize' ok 3 - Interpreter Variable taints OK ok 4 - Correct title ok 5 - Title should not be tainted ok 6 - But content should ok t/tick.t ................................. ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/tick.html ok 4 - An object of class 'HTML::Form' isa 'HTML::Form' ok 5 - Proper posting ok 6 - dies if checkbox not found 1..6 ok t/untaint.t .............................. 1..2 ok 1 - use WWW::Mechanize; ok 2 - no warnings ok t/upload.t ............................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - file:///builddir/build/BUILD/WWW-Mechanize-2.01/t/upload.html ok 4 - Proper posting ok 5 - The uploaded file should be in the request ok t/uri.t .................................. ok 1 - undef uri() with a pristine object 1..1 ok t/warn.t ................................. 1..6 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Passes the message, and includes the line number ok 4 - Quiets correctly ok 5 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 6 - Quiets correctly ok t/warnings.t ............................. 1..3 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Unknown aliases squawk appropriately ok All tests successful. Files=61, Tests=799, 77 wallclock secs ( 0.28 usr 0.07 sys + 10.93 cusr 1.61 csys = 12.89 CPU) Result: PASS Processing files: perl-WWW-Mechanize-2.01-1.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.N1TKHQ # Testing WWW::Mechanize 2.01, with LWP 6.49, Perl 5.026003, /usr/bin/perl # Test::Memory::Cycle 1.06 is installed. # # Versions for all modules listed in MYMETA.json (including optional ones): # # === Configure Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.34 # # === Configure Suggests === # # Module Want Have # -------- ------- ------- # JSON::PP 2.27300 2.97001 # # === Build Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.34 # # === Test Requires === # # Module Want Have # ------------------------- ---- -------- # CGI 4.32 4.38 # Exporter any 5.72 # ExtUtils::MakeMaker any 7.34 # File::Spec any 3.74 # File::Temp any 0.2306 # FindBin any 1.51 # HTTP::Daemon 6.12 6.12 # HTTP::Response any 6.18 # HTTP::Server::Simple::CGI any undef # LWP any 6.49 # LWP::Simple any 6.49 # Path::Tiny any 0.104 # Test::Deep any 1.127 # Test::Exception any 0.43 # Test::Fatal any 0.014 # Test::Memory::Cycle 1.06 1.06 # Test::More 0.96 1.302135 # Test::NoWarnings 1.04 1.04 # Test::Output any 1.031 # Test::Taint 1.08 1.06 # Test::Warnings any 0.026 # URI any 1.73 # URI::Escape any 3.31 # bytes any 1.05 # lib any 0.64 # vars any 1.03 # # === Test Recommends === # # Module Want Have # ---------- -------- -------- # CPAN::Meta 2.120900 2.150010 # # === Runtime Requires === # # Module Want Have # --------------------- ---- ---- # Carp any 1.42 # Getopt::Long any 2.5 # HTML::Form 1.00 6.07 # HTML::HeadParser any 3.71 # HTML::TokeParser any 3.69 # HTML::TreeBuilder 5 5.07 # HTTP::Cookies any 6.04 # HTTP::Request 1.30 6.18 # HTTP::Request::Common any 6.18 # LWP::UserAgent 6.45 6.49 # Pod::Usage any 1.69 # Scalar::Util 1.14 1.49 # Tie::RefHash any 1.39 # URI::URL any 5.04 # URI::file any 4.21 # base any 2.26 # strict any 1.11 # warnings any 1.37 # # # *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *** # # The following REQUIRED prerequisites were not satisfied: # # Test::Taint version '1.06' is not in required range '1.08' # # Test server http://127.0.0.1:29401 as PID 259 # Running tests against http://[::1]:47683/?xml=1 + exit 0 + umask 022 + cd /builddir/build/BUILD + cd WWW-Mechanize-2.01 + DOCDIR=/builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/doc/perl-WWW-Mechanize + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/doc/perl-WWW-Mechanize + cp -pr Changes /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/doc/perl-WWW-Mechanize + cp -pr etc/www-mechanize-logo.png /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64/usr/share/doc/perl-WWW-Mechanize + exit 0 Provides: perl(WWW::Mechanize) = 2.01 perl(WWW::Mechanize::Image) = 2.01 perl(WWW::Mechanize::Link) = 2.01 perl-WWW-Mechanize = 2.01-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(Getopt::Long) perl(HTML::Form) >= 1.00 perl(HTML::TokeParser) perl(HTTP::Cookies) perl(HTTP::Request) >= 1.30 perl(LWP::UserAgent) >= 6.45 perl(Pod::Usage) perl(Scalar::Util) perl(Tie::RefHash) perl(WWW::Mechanize) perl(base) perl(strict) perl(warnings) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64 Wrote: /builddir/build/RPMS/perl-WWW-Mechanize-2.01-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cIfqWI + umask 022 + cd /builddir/build/BUILD + cd WWW-Mechanize-2.01 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.01-1.el8.x86_64 + exit 0 Child return code was: 0