Diff of the two buildlogs: -- --- b1/build.log 2024-12-01 21:08:13.366515044 +0000 +++ b2/build.log 2024-12-01 21:11:02.922883392 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Dec 1 09:05:03 -12 2024 -I: pbuilder-time-stamp: 1733087103 +I: Current time: Mon Dec 2 11:08:24 +14 2024 +I: pbuilder-time-stamp: 1733087304 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/3748/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23740/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 Dec 1 21:08 /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/23740/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23740/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='ea5fdc5945e948919267289095b3c594' - 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='3748' - PS1='# ' - PS2='> ' + INVOCATION_ID=784df4b2a9f24a7a83be9cc7954a2e71 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=23740 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.nt4eEUPE/pbuilderrc_v8xA --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nt4eEUPE/b1 --logfile b1/build.log ruby-html-proofer_3.19.4-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.nt4eEUPE/pbuilderrc_ZslG --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nt4eEUPE/b2 --logfile b2/build.log ruby-html-proofer_3.19.4-1.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff4a 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3748/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/23740/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -305,7 +337,7 @@ Get: 166 http://deb.debian.org/debian trixie/main armhf ruby-typhoeus all 1.4.0-4 [36.3 kB] Get: 167 http://deb.debian.org/debian trixie/main armhf ruby-vcr all 6.0.0+really5.0.0-5 [53.7 kB] Get: 168 http://deb.debian.org/debian trixie/main armhf ruby-yell all 2.2.2-1 [19.5 kB] -Fetched 44.5 MB in 3s (13.2 MB/s) +Fetched 44.5 MB in 1s (74.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. (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 ... 19683 files and directories currently installed.) @@ -868,8 +900,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Dec 1 21:06:19 UTC 2024. -Universal Time is now: Sun Dec 1 21:06:19 UTC 2024. +Local time is now: Sun Dec 1 21:09:18 UTC 2024. +Universal Time is now: Sun Dec 1 21:09:18 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-method-source (1.0.0-2) ... @@ -1013,7 +1045,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/23740/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/23740/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 @@ -1047,7 +1083,7 @@ │ ruby-html-proofer: Installing files and building extensions for ruby3.1 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20241201-9081-okla41/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20241202-28942-ny89m3/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' @@ -1068,7 +1104,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/d20241201-9081-okla41/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/d20241202-28942-ny89m3/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 @@ -1130,368 +1166,368 @@ No entry for terminal type "unknown"; using dumb terminal settings. -Randomized with seed 31300 +Randomized with seed 32488 + +Scripts test + works for present content + fails for broken external src + ignores links via url_ignore + is unhappy if SRI not provided + works for valid internal src + works for broken script within pre + does not check SRI/CORS for local scripts + fails for absent content + fails for missing internal src + translates src via url_swap + is unhappy if SRI and CORS not provided + is unhappy if CORS not provided + is happy if SRI and CORS provided + +Maliciousness test + does not accept string input for links + does not accept non-string input for single file + does not accept non-string input for directory + does not accept string input for directories + +Cache test + does recheck failures, regardless of external and internal cache + fails on an invalid date + removes links that do not exist + does recheck failures, regardless of external-only cache + new external url added + does write file if a new URL is added + not within date + does write file if timestamp is not within date + with .htmlproofer.log + knows how to write to cache + not within date for internal url + does write file if timestamp is not within date + recheck failure + does recheck failures, regardless of cache + new internal url added + does write file if a new relative URL 200 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 404 is added + with time parser + understands months + understands days + understands hours + understands weeks + within date + does not write file if timestamp is within date + +JSON config parser + returns an empty options object when config is nil + Returns an object representing the json when valid json + Throws an error when the option name is not a string + Throws an error when the option name is whitespace + returns an empty options object when config is empty + returns an empty options object when config is whitespace + Throws an error when the json config is not a string + Throws an error when the json config is not valid json + Throws an error when the option name is empty + +Images test + fails for image with default mac filename + ignores semicolon outside attribute name + fails for missing internal images even when alt_ignore is set + fails for missing external images + translates src via url_swap + fails for HTTP images when asked + properly checks relative images + fails for image with nothing but spaces in alt attribute + passes when ignoring image with nothing but spaces in alt attribute + passes for HTTP images when not asked + passes for images with spaces all over + fails for image without alt attribute + fails for missing internal images + works for images with a srcset + skips missing alt tag for images marked as aria-hidden + passes for existing external images + fails for invalid images missing the protocol + fails for images with an alt but missing src or srcset + properly ignores missing alt tags when asked + works for valid images missing the protocol + properly ignores data URI images + translates images via url_swap + fails for images with a srcset but missing alt + properly ignores missing alt tags, but not all URLs, when asked + properly checks relative images with base + fails for image with no src + fails for image with an empty alt attribute + ignores images marked as ignore data-proofer-ignore + properly checks relative links + ignores images via url_ignore + properly ignores missing alt tags when asked for srcset + properly ignores empty alt attribute when empty_alt_ignore set + +Command test + works with empty-alt-ignore + works with disable-external + accepts hydra max_concurrency + works with extension (PENDING: Temporarily skipped with xit) + works with check-favicon + works with url-swap + works with url-ignore + has every option for validation defaults + works with as-links (PENDING: Temporarily skipped with xit) + works with directory-index-file + works with checks-to-ignore + works with allow-hash-href + works with alt-ignore (PENDING: Temporarily skipped with xit) + works with check-external-hash + works with check-html + navigates above itself in a subdirectory + works with only-4xx (PENDING: Temporarily skipped with xit) + has every option for proofer defaults + works with file-ignore + works with internal-domains + has only one UA [does not work in CI] (PENDING: No reason given) + works with url-swap and colon + +HTMLProofer::Element + ivar setting + does not explode if given a bad attribute + #url + works for src attributes + #initialize + assignes the text node + accepts the content attribute + accepts the xmlns attribute + #ignores_pattern_check + works for string patterns + works for regex patterns + #ignore + works for twitter cards HTMLProofer - ignored checks - does not care about phoney ignored checks - knows how to ignore checks - external only - ignores status codes when asked - knows how to ignore non-external link failures - still reports external link failures - #failed_tests - is a list of the formatted errors - #failures - is an array of Issue #options - strips out undesired Typhoeus 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 - understands sorting by status file ignores - knows how to ignore multiple files by regexp  knows how to ignore a file by string  knows how to ignore a directory by regexp  knows how to ignore a file by regexp - multiple directories - works + knows how to ignore multiple files by regexp + #failed_tests + is a list of the formatted errors + external only + ignores status codes when asked + still reports external link failures + knows how to ignore non-external link failures #files  works for directory that ends with .html - -HTMLProofer::Runner - #before_request - sends authorization header to github.com - plays nice with cache - -Middleware test - options - internal files - does not raise an error with default options set - does not raise an error with options explicitly set - does raise an error with options removed - with invalid HTML - raises an error - with non-HTML content - does not raise an error - with valid HTML - does not raise an error - proofer-ignore - does not raise an error - -Open Graph test - passes for missing external url when not asked to check - passes for existing external url - fails for missing external image - fails for empty image - fails for missing internal images - fails for empty url - passes for internal domains - fails for missing image content attribute - passes for existing external image - fails for missing external url - fails for missing url content attribute - passes for missing external image when not asked to check + ignored checks + knows how to ignore checks + does not care about phoney ignored checks + #failures + is an array of Issue + multiple directories + works Links test + works for directory index file + ignores valid mailto links + complains if SRI and CORS not provided + ignores placeholder with id + fails for broken internal links + can link to external non-unicode hash + allows missing href on link elements + fails for broken hash links with status code numbers + should understand https + works for array of links + does expect href for anchors in non-HTML5 + does not bomb on dns-prefetch  does not dupe errors - passes for broken hashes on the web (when we look only for 4xx) - properly checks ssl links + works with base without href + allows for at-sign attribute + ensures Typhoeus options are passed + fails for broken external links + ignores links via url_ignore  ignores links when the parent element is ignored - allows punnycode domains - complains if SRI not provided - does not check local scripts - reports linked internal through directory - ignores external links when asked + does not check links with parameters multiple times + fails for hash href when not asked + fails for non-HTTPS links when asked  works for pipes in the URL - works if subdirectory ends with .html - can link to external non-unicode hash - works for valid href within link elements - works with internal_domains - properly checks relative links + ignores placeholder with name + ignores external links when asked + passes for urlencoded href + fails for broken internal root links + passes for external UTF-8 links  ignores blank mailto links when configured to allow them - does not cgi encode link - allows for at-sign attribute to be ignored - is happy if SRI and CORS provided - passes for GitHub hashes to a file on the web when asked - works for valid links missing the protocol - fails for broken internal hash + passes when linking to the top + fails for broken internal hash (even if the file exists) + passes for hash href when asked + passes for broken *nix links + allows punnycode domains + fails for mismatched hash casing + properly checks ssl links  does not crash on badly formatted urls - fails for hash href when not asked - passes for urlencoded href - allows placeholder with empty id - finds a mix of broken and unbroken links - passes for different filename without option - complains if SRI and CORS not provided - ignores placeholder with name - can skip expecting href for anchors in non-HTML5 - validates links with external characters + ignores links marked as ignore data-proofer-ignore + works with quotes in the hash href + ignores javascript links + reports linked internal through directory + is not checking SRI and CORS for indieweb links with rel "me", "webmention", or "pingback" + passes when linking to hash on another page + allows for at-sign attribute to be ignored  allows empty href on link elements - succeeds for working internal-root-links pointing to other folder - ignores placeholder with id + properly checks links to root  reports failures for the original link, not the redirection (PENDING: URL seems broken now. Need to find a new one) - fails for blank mailto links  correctly handles empty href - does not check sri for pagination - fails for broken hash links with status code numbers - allows for at-sign attribute - works with base without href - works for hash referring to itself - should understand relative hash - works for broken link within pre - does not bomb on dns-prefetch - passes for broken *nix links + complains if CORS not provided + can skip expecting href for anchors in non-HTML5 + allows placeholder with empty id + works for a direct link through directory + passes for broken hashes on the web when ignored (even if the file exists) + validates links with external characters  allows link with no href - ignores valid tel links - fails for broken hashes on the web when asked (even if the file exists) - fails for broken external links - does expect href for anchors in non-HTML5 - does not complain for files with attributes containing dashes - works for array of links - passes for external UTF-8 links - fails for internal linking to a directory without trailing slash - fails on redirects if not following - passes for hash href when asked - does not check links with parameters multiple times  works for broken anchors within pre - fails for invalid links missing the protocol - is not checking SRI and CORS for indieweb links with rel "me", "webmention", or "pingback" - fails for non-HTTPS links when asked - checks source tags - works with quotes in the hash href - ignores javascript links - fails for blank tel links + passes for links hash-referencing itself + passes for different filename without option + complains if SRI not provided + fails on redirects if not following  fails for different filenames - fails for broken internal hash (even if the file exists) - passes for non-HTTPS links when not asked - fails for broken internal links - does not expect href for anchors in HTML5 + ignores non-http(s) protocols  passes for relative links with a base + finds a mix of broken and unbroken links + passes for broken hashes on the web (when we look only for 4xx) + works for hash referring to itself + succeeds for working internal root links + passes for GitHub hashes to a file on the web when asked + properly checks relative links + fails for broken hashes on the web when asked (even if the file exists) + works for broken link within pre + ignores valid tel links + fails for blank mailto links + passes for non-HTTPS links when not asked + does not explode on bad external links in arrays + works if subdirectory ends with .html + properly resolves implicit /index.html in link paths + fails for invalid mailto links + fails if directory index file doesn't exist + does not cgi encode link + fails for invalid links missing the protocol + translates links via url_swap for list of links + does not check local scripts  does not explode on bad external links in files + fails for broken IP address links + works for valid links missing the protocol + passes non-standard characters + fails for broken internal hash + is happy if SRI and CORS provided + succeeds for working internal-root-links pointing to other folder  fails for broken hash with query - passes when linking to the top - ignores non-http(s) protocols - works for hash hrefs - fails for mismatched hash casing - passes for links hash-referencing itself - ignores links via url_ignore - allows missing href on link elements - works for a direct link through directory  handles timeout - ignores valid mailto links + works for valid href within link elements + works for hash hrefs + checks source tags + fails for blank tel links  passes for GitHub hashes on the web when asked - ensures Typhoeus options are passed - is not checking SRI and CORS for links with rel canonical or alternate - passes non-standard characters - fails for broken IP address links - should understand https - does not explode on bad external links in arrays - properly checks links to root - fails if directory index file doesn't exist + should understand relative hash + does not complain for files with attributes containing dashes + does not expect href for anchors in HTML5  translates links via url_swap - works for directory index file - fails for broken internal root links - passes for broken hashes on the web when ignored (even if the file exists) - properly resolves implicit /index.html in link paths - translates links via url_swap for list of links + should follow redirects + is not checking SRI and CORS for links with rel canonical or alternate + does not check sri for pagination + works with internal_domains + allows unicode domains + fails for internal linking to a directory without trailing slash  does not fail on redirects we're not following - succeeds for working internal root links - passes when linking to hash on another page - fails for invalid mailto links  works for internal links to weird encoding IDs - complains if CORS not provided - ignores links marked as ignore data-proofer-ignore - allows unicode domains - should follow redirects automatically adding default extensions to files - is not enabled by default  accepts extensionless file links when enabled + is not enabled by default -Cache test - does recheck failures, regardless of external-only cache - does recheck failures, regardless of external and internal cache - removes links that do not exist - fails on an invalid date - new internal url added - 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 - does write file if a new relative URL 200 is added - new external url added - does write file if a new URL is added - not within date for internal url - does write file if timestamp is not within date - with .htmlproofer.log - knows how to write to cache - with time parser - understands hours - understands months - understands weeks - understands days - within date - does not write file if timestamp is within date - not within date - does write file if timestamp is not within date - recheck failure - does recheck failures, regardless of cache - -Maliciousness test - does not accept string input for directories - does not accept non-string input for single file - does not accept non-string input for directory - does not accept string input for links - -HTMLProofer::Element - #url - works for src attributes - #ignore - works for twitter cards - #initialize - assignes the text node - accepts the xmlns attribute - accepts the content attribute - #ignores_pattern_check - works for string patterns - works for regex patterns - ivar setting - does not explode if given a bad attribute +HTMLProofer::Utils + ::create_nokogiri + passes for a file + passes for a string + ignores directories -Images test - fails for invalid images missing the protocol - fails for HTTP images when asked - fails for image with default mac filename - fails for missing internal images - properly ignores missing alt tags, but not all URLs, when asked - ignores images marked as ignore data-proofer-ignore - properly ignores empty alt attribute when empty_alt_ignore set - passes when ignoring image with nothing but spaces in alt attribute - passes for HTTP images when not asked - ignores images via url_ignore - passes for images with spaces all over - skips missing alt tag for images marked as aria-hidden - fails for image with nothing but spaces in alt attribute - fails for image without alt attribute - works for images with a srcset - properly checks relative images with base - properly checks relative links - fails for images with an alt but missing src or srcset - fails for images with a srcset but missing alt - fails for missing external images - fails for image with no src - properly ignores missing alt tags when asked for srcset - translates images via url_swap - passes for existing external images - fails for image with an empty alt attribute - ignores semicolon outside attribute name - properly ignores data URI images - translates src via url_swap - works for valid images missing the protocol - properly checks relative images - fails for missing internal images even when alt_ignore is set - properly ignores missing alt tags when asked +Middleware test + with invalid HTML + raises an error + proofer-ignore + does not raise an error + with non-HTML content + does not raise an error + with valid HTML + does not raise an error + options + internal files + 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 -Scripts test - ignores links via url_ignore - is unhappy if CORS not provided - is unhappy if SRI not provided - translates src via url_swap - is happy if SRI and CORS provided - fails for absent content - works for valid internal src - works for present content - does not check SRI/CORS for local scripts - fails for broken external src - works for broken script within pre - fails for missing internal src - is unhappy if SRI and CORS not provided +HTMLProofer::Runner + #before_request + sends authorization header to github.com + plays nice with cache Favicons test  fails for broken favicon + ignores SRI/CORS requirements for favicons  ignores for absent favicon by default - fails for absent favicon - passes for present favicon with shortcut notation  fails for ignored with url_ignore  passes for present favicon - fails for absent favicon but present apple touch icon - translates links via url_swap + fails for absent favicon  specifically ignores jekyll redirect_from template + translates links via url_swap + passes for present favicon with shortcut notation + fails for absent favicon but present apple touch icon  fails for broken favicon with data-proofer-ignore - ignores SRI/CORS requirements for favicons - -Command test - works with url-swap and colon - works with check-favicon - works with checks-to-ignore - works with url-ignore - has only one UA [does not work in CI] (PENDING: No reason given) - has every option for validation defaults - works with extension (PENDING: Temporarily skipped with xit) - accepts hydra max_concurrency - works with allow-hash-href - works with directory-index-file - works with empty-alt-ignore - navigates above itself in a subdirectory - works with check-html - works with file-ignore - has every option for proofer defaults - works with disable-external - works with url-swap - works with only-4xx (PENDING: Temporarily skipped with xit) - works with alt-ignore (PENDING: Temporarily skipped with xit) - works with check-external-hash - works with internal-domains - works with as-links (PENDING: Temporarily skipped with xit) - -HTMLProofer::Utils - ::create_nokogiri - passes for a file - ignores directories - passes for a string -JSON config parser - Throws an error when the json config is not a string - returns an empty options object when config is whitespace - Throws an error when the option name is not a string - returns an empty options object when config is nil - Throws an error when the json config is not valid json - Returns an object representing the json when valid json - Throws an error when the option name is whitespace - Throws an error when the option name is empty - returns an empty options object when config is empty +Open Graph test + fails for missing external url + fails for empty image + fails for empty url + passes for existing external image + passes for internal domains + fails for missing internal images + passes for missing external image when not asked to check + fails for missing url content attribute + fails for missing image content attribute + fails for missing external image + passes for missing external url when not asked to check + passes for existing external url Pending: (Failures listed here are expected and do not affect your suite's status)  - 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 - - 2) Command test has only one UA [does not work in CI] - # No reason given - # ./spec/html-proofer/command_spec.rb:110 - - 3) Command test works with extension + 1) Command test works with extension # Temporarily skipped with xit  # ./spec/html-proofer/command_spec.rb:42  - 4) Command test works with only-4xx + 2) Command test works with as-links # Temporarily skipped with xit - # ./spec/html-proofer/command_spec.rb:79 + # ./spec/html-proofer/command_spec.rb:6  - 5) Command test works with alt-ignore + 3) Command test works with alt-ignore # Temporarily skipped with xit  # ./spec/html-proofer/command_spec.rb:11  - 6) Command test works with as-links + 4) Command test works with only-4xx # Temporarily skipped with xit - # ./spec/html-proofer/command_spec.rb:6 + # ./spec/html-proofer/command_spec.rb:79 + + 5) Command test has only one UA [does not work in CI] + # No reason given + # ./spec/html-proofer/command_spec.rb:110 + + 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  -Finished in 58.83 seconds (files took 2.71 seconds to load) +Finished in 39.3 seconds (files took 2.01 seconds to load) 270 examples, 0 failures, 6 pending -Randomized with seed 31300 +Randomized with seed 32488 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1524,12 +1560,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/23740/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23740/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/3748 and its subdirectories -I: Current time: Sun Dec 1 09:08:09 -12 2024 -I: pbuilder-time-stamp: 1733087289 +I: removing directory /srv/workspace/pbuilder/23740 and its subdirectories +I: Current time: Mon Dec 2 11:10:59 +14 2024 +I: pbuilder-time-stamp: 1733087459