Diff of the two buildlogs: -- --- b1/build.log 2024-05-07 00:00:03.604467805 +0000 +++ b2/build.log 2024-05-07 00:01:33.104657907 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 6 11:54:15 -12 2024 -I: pbuilder-time-stamp: 1715039655 +I: Current time: Mon Jun 9 20:23:05 +14 2025 +I: pbuilder-time-stamp: 1749450185 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying 0004-Remove-html_spec.rb.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1222014/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/495752/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 9 06:23 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/495752/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/495752/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='4cf7e7708a6e4823a9259f30807e7d50' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1222014' - PS1='# ' - PS2='> ' + INVOCATION_ID=048545cc216f4019a8ec5c6eaf9e5ef0 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=495752 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.z72LOMvB/pbuilderrc_PHQo --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.z72LOMvB/b1 --logfile b1/build.log ruby-html-proofer_3.19.4-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.z72LOMvB/pbuilderrc_J5y5 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.z72LOMvB/b2 --logfile b2/build.log ruby-html-proofer_3.19.4-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 5 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1222014/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 8 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/495752/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -307,7 +339,7 @@ Get: 168 http://deb.debian.org/debian unstable/main amd64 ruby-typhoeus all 1.4.0-3 [36.2 kB] Get: 169 http://deb.debian.org/debian unstable/main amd64 ruby-vcr all 6.0.0+really5.0.0-5 [53.7 kB] Get: 170 http://deb.debian.org/debian unstable/main amd64 ruby-yell all 2.2.2-1 [19.5 kB] -Fetched 50.5 MB in 10s (5030 kB/s) +Fetched 50.5 MB in 2s (26.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19699 files and directories currently installed.) @@ -873,8 +905,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon May 6 23:58:22 UTC 2024. -Universal Time is now: Mon May 6 23:58:22 UTC 2024. +Local time is now: Mon Jun 9 06:23:54 UTC 2025. +Universal Time is now: Mon Jun 9 06:23:54 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-method-source (1.0.0-2) ... @@ -1021,7 +1053,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-html-proofer-3.19.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-html-proofer_3.19.4-1_source.changes +I: user script /srv/workspace/pbuilder/495752/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/495752/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-html-proofer-3.19.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-html-proofer_3.19.4-1_source.changes dpkg-buildpackage: info: source package ruby-html-proofer dpkg-buildpackage: info: source version 3.19.4-1 dpkg-buildpackage: info: source distribution unstable @@ -1050,7 +1086,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-html-proofer/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-html-proofer-3.19.4/debian/ruby-html-proofer -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240506-1255370-pxt4xa/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250609-508529-sr43ej/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on awesome_print (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' @@ -1071,7 +1107,7 @@ Name: html-proofer Version: 3.19.4 File: html-proofer-3.19.4.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-html-proofer/usr/share/rubygems-integration/all /tmp/d20240506-1255370-pxt4xa/html-proofer-3.19.4.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-html-proofer/usr/share/rubygems-integration/all /tmp/d20250609-508529-sr43ej/html-proofer-3.19.4.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-html-proofer-3.19.4/debian/ruby-html-proofer/usr/share/rubygems-integration/all/gems/html-proofer-3.19.4/bin/htmlproofer /build/reproducible-path/ruby-html-proofer-3.19.4/debian/ruby-html-proofer/usr/share/rubygems-integration/all/gems/html-proofer-3.19.4/lib/html-proofer.rb @@ -1133,117 +1169,40 @@ No entry for terminal type "unknown"; using dumb terminal settings. -Randomized with seed 16510 +Randomized with seed 34280 Middleware test - with non-HTML content - does not raise an error - with valid HTML - does not raise an error with invalid HTML  raises an error - proofer-ignore - does not raise an error options internal files - does not raise an error with options explicitly set - does not raise an error with default options set  does raise an error with options removed + does not raise an error with default options set + does not raise an error with options explicitly set + proofer-ignore + does not raise an error + with valid HTML + does not raise an error + with non-HTML content + does not raise an error -Open Graph test - passes for missing external image when not asked to check - passes for internal domains - fails for missing url content attribute - fails for empty image - fails for missing internal images - passes for missing external url when not asked to check - passes for existing external url - fails for missing external url - fails for missing external image - passes for existing external image - fails for missing image content attribute - fails for empty url - -Images test - passes when ignoring image with nothing but spaces in alt attribute - properly checks relative links - fails for image with no src - passes for images with spaces all over - fails for images with an alt but missing src or srcset - works for images with a srcset - ignores images marked as ignore data-proofer-ignore - translates images via url_swap - properly ignores data URI images - ignores semicolon outside attribute name - skips missing alt tag for images marked as aria-hidden - ignores images via url_ignore - properly ignores missing alt tags when asked for srcset - fails for image with default mac filename - properly checks relative images with base - fails for images with a srcset but missing alt - properly ignores missing alt tags when asked - works for valid images missing the protocol - fails for invalid images missing the protocol - passes for HTTP images when not asked - properly ignores empty alt attribute when empty_alt_ignore set - properly checks relative images - fails for HTTP images when asked - fails for missing internal images - passes for existing external images - translates src via url_swap - properly ignores missing alt tags, but not all URLs, when asked - fails for image without alt attribute - fails for missing internal images even when alt_ignore is set - fails for image with nothing but spaces in alt attribute - fails for image with an empty alt attribute - fails for missing external images - -Scripts test - does not check SRI/CORS for local scripts - works for valid internal src - translates src via url_swap - is happy if SRI and CORS provided - works for broken script within pre - fails for broken external src - ignores links via url_ignore - is unhappy if SRI and CORS not provided - fails for missing internal src - fails for absent content - is unhappy if CORS not provided - works for present content - is unhappy if SRI not provided - -HTMLProofer - #options - only has one UA with file - strips out undesired Typhoeus options - takes options for Parallel - sorting - understands sorting by status - understands sorting by path - understands sorting by issue - file ignores - knows how to ignore a file by regexp - knows how to ignore multiple files by regexp - knows how to ignore a file by string - knows how to ignore a directory by regexp - #files - works for directory that ends with .html - ignored checks - does not care about phoney ignored checks - knows how to ignore checks - multiple directories - works - #failed_tests - is a list of the formatted errors - external only - still reports external link failures - ignores status codes when asked - knows how to ignore non-external link failures - #failures - is an array of Issue +Favicons test + fails for absent favicon but present apple touch icon + fails for broken favicon + specifically ignores jekyll redirect_from template + ignores SRI/CORS requirements for favicons + fails for broken favicon with data-proofer-ignore + ignores for absent favicon by default + translates links via url_swap + fails for absent favicon + fails for ignored with url_ignore + passes for present favicon + passes for present favicon with shortcut notation HTMLProofer::Element + #ignores_pattern_check + works for string patterns + works for regex patterns #initialize  accepts the content attribute  accepts the xmlns attribute @@ -1254,247 +1213,324 @@  does not explode if given a bad attribute #ignore  works for twitter cards - #ignores_pattern_check - works for regex patterns - works for string patterns -Maliciousness test - does not accept non-string input for directory - does not accept non-string input for single file - does not accept string input for links - does not accept string input for directories +Scripts test + ignores links via url_ignore + is unhappy if SRI not provided + is unhappy if SRI and CORS not provided + fails for missing internal src + is happy if SRI and CORS provided + translates src via url_swap + fails for absent content + works for broken script within pre + is unhappy if CORS not provided + works for present content + works for valid internal src + does not check SRI/CORS for local scripts + fails for broken external src Cache test - removes links that do not exist - does recheck failures, regardless of external and internal cache  fails on an invalid date + does recheck failures, regardless of external and internal cache  does recheck failures, regardless of external-only cache - not within date for internal url + removes links that do not exist + not within date  does write file if timestamp is not within date + new external url added + does write file if a new URL is added new internal url added - does write file if a new relative URL 404 is added - does writes file once if a new relative URL 404 hash is detected multiple times  does write file if a new relative URL 200 is added - recheck failure - does recheck failures, regardless of cache + does writes file once if a new relative URL 404 hash is detected multiple times + does write file if a new relative URL 404 is added + not within date for internal url + does write file if timestamp is not within date with time parser - understands weeks  understands days - understands months + understands weeks  understands hours + understands months with .htmlproofer.log  knows how to write to cache + recheck failure + does recheck failures, regardless of cache within date  does not write file if timestamp is within date - not within date - does write file if timestamp is not within date - new external url added - does write file if a new URL is added -HTMLProofer::Runner - #before_request - sends authorization header to github.com - plays nice with cache +Images test + fails for images with an alt but missing src or srcset + fails for image with no src + fails for image with nothing but spaces in alt attribute + properly ignores empty alt attribute when empty_alt_ignore set + skips missing alt tag for images marked as aria-hidden + works for images with a srcset + fails for missing internal images even when alt_ignore is set + fails for invalid images missing the protocol + fails for missing internal images + ignores images marked as ignore data-proofer-ignore + works for valid images missing the protocol + properly ignores missing alt tags, but not all URLs, when asked + properly checks relative images + passes for images with spaces all over + passes when ignoring image with nothing but spaces in alt attribute + properly ignores data URI images + properly checks relative links + properly ignores missing alt tags when asked for srcset + fails for missing external images + translates images via url_swap + ignores images via url_ignore + translates src via url_swap + fails for image with default mac filename + fails for images with a srcset but missing alt + properly checks relative images with base + properly ignores missing alt tags when asked + fails for HTTP images when asked + passes for HTTP images when not asked + passes for existing external images + fails for image with an empty alt attribute + ignores semicolon outside attribute name + fails for image without alt attribute + +Open Graph test + passes for existing external url + fails for empty url + fails for missing external image + fails for missing internal images + passes for internal domains + fails for missing url content attribute + fails for empty image + fails for missing external url + passes for missing external image when not asked to check + fails for missing image content attribute + passes for missing external url when not asked to check + passes for existing external image HTMLProofer::Utils ::create_nokogiri - passes for a string  passes for a file + passes for a string  ignores directories -JSON config parser - Throws an error when the option name is empty - returns an empty options object when config is whitespace - returns an empty options object when config is empty - returns an empty options object when config is nil - Throws an error when the option name is whitespace - Throws an error when the json config is not a string - Throws an error when the option name is not a string - Throws an error when the json config is not valid json - Returns an object representing the json when valid json - -Command test - has only one UA [does not work in CI] (PENDING: No reason given) - works with alt-ignore (PENDING: Temporarily skipped with xit) - works with checks-to-ignore - has every option for validation defaults - works with as-links (PENDING: Temporarily skipped with xit) - navigates above itself in a subdirectory - has every option for proofer defaults - works with internal-domains - works with disable-external - works with extension (PENDING: Temporarily skipped with xit) - works with url-ignore - works with only-4xx (PENDING: Temporarily skipped with xit) - works with url-swap - works with check-html - works with empty-alt-ignore - works with check-favicon - works with url-swap and colon - works with allow-hash-href - works with directory-index-file - accepts hydra max_concurrency - works with file-ignore - works with check-external-hash - Links test - succeeds for working internal-root-links pointing to other folder - fails for different filenames - works for broken link within pre - fails for broken internal links + does not explode on bad external links in files + allows for at-sign attribute + fails for broken external links + fails for non-HTTPS links when asked + works with base without href + fails for mismatched hash casing + ignores placeholder with name + allows unicode domains + ignores valid mailto links + does not check sri for pagination + should follow redirects  reports linked internal through directory - does not expect href for anchors in HTML5 - properly checks ssl links + should understand https + fails for broken internal hash (even if the file exists) + works for valid href within link elements + handles timeout + passes non-standard characters + passes for external UTF-8 links + passes for hash href when asked + ignores links marked as ignore data-proofer-ignore + complains if SRI not provided + ignores placeholder with id + fails for broken IP address links + fails on redirects if not following + fails for different filenames + works for array of links + works for hash referring to itself + ignores blank mailto links when configured to allow them + ignores external links when asked + allows for at-sign attribute to be ignored + passes for urlencoded href + does not complain for files with attributes containing dashes + succeeds for working internal-root-links pointing to other folder + allows link with no href + ignores links via url_ignore + does not bomb on dns-prefetch + works if subdirectory ends with .html  is not checking SRI and CORS for indieweb links with rel "me", "webmention", or "pingback" - works for internal links to weird encoding IDs + works for hash hrefs  fails for internal linking to a directory without trailing slash - fails for broken internal root links - properly checks links to root - does not complain for files with attributes containing dashes - fails on redirects if not following  passes for GitHub hashes to a file on the web when asked + works with quotes in the hash href + passes for broken hashes on the web when ignored (even if the file exists)  does not dupe errors - passes for broken *nix links - fails for blank mailto links - fails for blank tel links - ignores external links when asked + is not checking SRI and CORS for links with rel canonical or alternate + ignores javascript links + ignores links when the parent element is ignored + works for directory index file  allows punnycode domains - handles timeout - fails if directory index file doesn't exist - ignores links via url_ignore - passes for non-HTTPS links when not asked - fails for broken hash links with status code numbers - allows unicode domains - does not check links with parameters multiple times - fails for broken IP address links - passes for external UTF-8 links - correctly handles empty href - finds a mix of broken and unbroken links + works for broken anchors within pre + ignores valid tel links + fails for broken internal root links  passes when linking to hash on another page - does not fail on redirects we're not following - fails for invalid links missing the protocol + passes for broken *nix links + finds a mix of broken and unbroken links + works for a direct link through directory + does not cgi encode link + allows missing href on link elements + properly checks relative links  is happy if SRI and CORS provided - allows placeholder with empty id + succeeds for working internal root links + should understand relative hash + passes for links hash-referencing itself + passes for non-HTTPS links when not asked + passes for GitHub hashes on the web when asked + properly resolves implicit /index.html in link paths + can link to external non-unicode hash + fails for invalid mailto links + fails for broken hashes on the web when asked (even if the file exists) + fails for broken internal hash + ensures Typhoeus options are passed + translates links via url_swap for list of links + translates links via url_swap  validates links with external characters - allows for at-sign attribute - is not checking SRI and CORS for links with rel canonical or alternate - works for directory index file + does not explode on bad external links in arrays + fails for broken internal links + does not check links with parameters multiple times + fails if directory index file doesn't exist + works for internal links to weird encoding IDs + fails for invalid links missing the protocol + works for broken link within pre + complains if SRI and CORS not provided + can skip expecting href for anchors in non-HTML5 + fails for broken hash links with status code numbers + allows empty href on link elements  ignores non-http(s) protocols - passes non-standard characters - should follow redirects - checks source tags + fails for broken hash with query  passes when linking to the top - properly resolves implicit /index.html in link paths - does not crash on badly formatted urls - allows link with no href - does not cgi encode link - passes for GitHub hashes on the web when asked - does not check sri for pagination - works for array of links - does not check local scripts - ignores valid mailto links - reports failures for the original link, not the redirection (PENDING: URL seems broken now. Need to find a new one) - ignores javascript links - works with quotes in the hash href - fails for broken hashes on the web when asked (even if the file exists) - should understand relative hash - works for valid href within link elements + correctly handles empty href + works for valid links missing the protocol  passes for relative links with a base - works with base without href - works with internal_domains - ignores placeholder with name - can skip expecting href for anchors in non-HTML5 - fails for broken external links - can link to external non-unicode hash + properly checks links to root + fails for blank mailto links + does not expect href for anchors in HTML5 + complains if CORS not provided  does expect href for anchors in non-HTML5 - ignores links when the parent element is ignored - ignores valid tel links - passes for broken hashes on the web when ignored (even if the file exists) - does not explode on bad external links in files - fails for mismatched hash casing - ignores placeholder with id - works for valid links missing the protocol - works for pipes in the URL - complains if SRI and CORS not provided - works for a direct link through directory - fails for broken hash with query  passes for broken hashes on the web (when we look only for 4xx) - passes for urlencoded href - complains if SRI not provided - fails for broken internal hash - ignores links marked as ignore data-proofer-ignore - allows empty href on link elements - ignores blank mailto links when configured to allow them - fails for non-HTTPS links when asked - properly checks relative links - fails for broken internal hash (even if the file exists) - fails for hash href when not asked - complains if CORS not provided - does not bomb on dns-prefetch - works if subdirectory ends with .html - fails for invalid mailto links - translates links via url_swap - passes for hash href when asked + reports failures for the original link, not the redirection (PENDING: URL seems broken now. Need to find a new one) + allows placeholder with empty id + does not crash on badly formatted urls + does not check local scripts + works for pipes in the URL + does not fail on redirects we're not following  passes for different filename without option - allows for at-sign attribute to be ignored - works for broken anchors within pre - does not explode on bad external links in arrays - works for hash hrefs - succeeds for working internal root links - ensures Typhoeus options are passed - works for hash referring to itself - should understand https - translates links via url_swap for list of links - passes for links hash-referencing itself - allows missing href on link elements + works with internal_domains + checks source tags + fails for hash href when not asked + fails for blank tel links + properly checks ssl links automatically adding default extensions to files - accepts extensionless file links when enabled  is not enabled by default + accepts extensionless file links when enabled -Favicons test - translates links via url_swap - fails for absent favicon but present apple touch icon - ignores for absent favicon by default - specifically ignores jekyll redirect_from template - fails for broken favicon with data-proofer-ignore - ignores SRI/CORS requirements for favicons - passes for present favicon - fails for broken favicon - fails for absent favicon - fails for ignored with url_ignore - passes for present favicon with shortcut notation +Command test + works with as-links (PENDING: Temporarily skipped with xit) + works with url-swap + works with check-favicon + works with internal-domains + works with extension (PENDING: Temporarily skipped with xit) + has only one UA [does not work in CI] (PENDING: No reason given) + works with checks-to-ignore + works with alt-ignore (PENDING: Temporarily skipped with xit) + works with url-ignore + works with url-swap and colon + works with directory-index-file + works with file-ignore + accepts hydra max_concurrency + works with check-external-hash + works with only-4xx (PENDING: Temporarily skipped with xit) + navigates above itself in a subdirectory + has every option for validation defaults + works with check-html + works with disable-external + has every option for proofer defaults + works with empty-alt-ignore + works with allow-hash-href + +JSON config parser + Throws an error when the option name is empty + Throws an error when the json config is not a string + Returns an object representing the json when valid json + returns an empty options object when config is empty + returns an empty options object when config is whitespace + returns an empty options object when config is nil + Throws an error when the option name is whitespace + Throws an error when the json config is not valid json + Throws an error when the option name is not a string + +HTMLProofer::Runner + #before_request + sends authorization header to github.com + plays nice with cache + +HTMLProofer + #failed_tests + is a list of the formatted errors + #files + works for directory that ends with .html + multiple directories + works + ignored checks + knows how to ignore checks + does not care about phoney ignored checks + #failures + is an array of Issue + #options + strips out undesired Typhoeus options + takes options for Parallel + only has one UA with file + file ignores + knows how to ignore a file by string + knows how to ignore a file by regexp + knows how to ignore a directory by regexp + knows how to ignore multiple files by regexp + sorting + understands sorting by status + understands sorting by issue + understands sorting by path + external only + ignores status codes when asked + knows how to ignore non-external link failures + still reports external link failures + +Maliciousness test + does not accept string input for directories + does not accept string input for links + does not accept non-string input for single file + does not accept non-string input for directory Pending: (Failures listed here are expected and do not affect your suite's status)  - 1) Command test has only one UA [does not work in CI] - # No reason given - # ./spec/html-proofer/command_spec.rb:110 - - 2) Command test works with alt-ignore - # Temporarily skipped with xit - # ./spec/html-proofer/command_spec.rb:11 + 1) Links test reports failures for the original link, not the redirection + # URL seems broken now. Need to find a new one + # ./spec/html-proofer/links_spec.rb:430  - 3) Command test works with as-links + 2) Command test works with as-links # Temporarily skipped with xit  # ./spec/html-proofer/command_spec.rb:6  - 4) Command test works with extension + 3) Command test works with extension # Temporarily skipped with xit  # ./spec/html-proofer/command_spec.rb:42  - 5) Command test works with only-4xx + 4) Command test has only one UA [does not work in CI] + # No reason given + # ./spec/html-proofer/command_spec.rb:110 + + 5) Command test works with alt-ignore # Temporarily skipped with xit - # ./spec/html-proofer/command_spec.rb:79 + # ./spec/html-proofer/command_spec.rb:11  - 6) Links test reports failures for the original link, not the redirection - # URL seems broken now. Need to find a new one - # ./spec/html-proofer/links_spec.rb:430 + 6) Command test works with only-4xx + # Temporarily skipped with xit + # ./spec/html-proofer/command_spec.rb:79  -Finished in 32.51 seconds (files took 1.65 seconds to load) +Finished in 19.86 seconds (files took 1.18 seconds to load) 270 examples, 0 failures, 6 pending -Randomized with seed 16510 +Randomized with seed 34280 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1527,12 +1563,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/495752/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/495752/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1222014 and its subdirectories -I: Current time: Mon May 6 12:00:02 -12 2024 -I: pbuilder-time-stamp: 1715040002 +I: removing directory /srv/workspace/pbuilder/495752 and its subdirectories +I: Current time: Mon Jun 9 20:24:32 +14 2025 +I: pbuilder-time-stamp: 1749450272