Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building on the built-in node in workspace /var/lib/jenkins/jobs/reproducible_freebsd/workspace [workspace] $ /bin/sh -xe /tmp/jenkins10244737406011286778.sh + /srv/jenkins/bin/reproducible_freebsd.sh ==================================================================================== Thu Jun 13 23:42:00 UTC 2024 - running /srv/jenkins/bin/reproducible_freebsd.sh (for job reproducible_freebsd) on jenkins, called using "" as arguments. Thu Jun 13 23:42:00 UTC 2024 - actually running "reproducible_freebsd.sh" (md5sum 8555dab97ee5d871d5a0ffd15c53cb96) as "/tmp/jenkins-script-xWqlsjvd" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING declare -x BUILD_CAUSE="TIMERTRIGGER" declare -x BUILD_CAUSE_TIMERTRIGGER="true" declare -x BUILD_DISPLAY_NAME="#568" declare -x BUILD_ID="568" declare -x BUILD_NUMBER="568" declare -x BUILD_TAG="jenkins-reproducible_freebsd-568" declare -x BUILD_URL="https://jenkins.debian.net/job/reproducible_freebsd/568/" declare -x CHROOT_BASE="/chroots" declare -x CI="true" declare -x EXECUTOR_NUMBER="22" declare -x HOME="/var/lib/jenkins" declare -x HUDSON_COOKIE="7edaa4b4-4444-4185-9cf4-b38aa3d9f61f" declare -x HUDSON_HOME="/var/lib/jenkins" declare -x HUDSON_SERVER_COOKIE="662be26f1caf0950" declare -x HUDSON_URL="https://jenkins.debian.net/" declare -x INVOCATION_ID="666fe8228bfe4e1fa801c480d81c9d2a" declare -x JENKINS_HOME="/var/lib/jenkins" declare -x JENKINS_SERVER_COOKIE="662be26f1caf0950" declare -x JENKINS_URL="https://jenkins.debian.net/" declare -x JOB_BASE_NAME="reproducible_freebsd" declare -x JOB_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/display/redirect" declare -x JOB_NAME="reproducible_freebsd" declare -x JOB_URL="https://jenkins.debian.net/job/reproducible_freebsd/" declare -x JOURNAL_STREAM="8:960418955" declare -x LANG="en_GB.UTF-8" declare -x LANGUAGE="en_GB:en" declare -x LC_ALL="C.UTF-8" declare -x LOGNAME="jenkins" declare -x MIRROR="http://deb.debian.org/debian" declare -x NODE_LABELS="built-in" declare -x NODE_NAME="built-in" declare -x NOTIFY_SOCKET="/run/systemd/notify" declare -x OLDPWD declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" declare -x PWD="/var/lib/jenkins/jobs/reproducible_freebsd/workspace" declare -x ROOT_BUILD_CAUSE="TIMERTRIGGER" declare -x ROOT_BUILD_CAUSE_TIMERTRIGGER="true" declare -x RUN_ARTIFACTS_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/568/display/redirect?page=artifacts" declare -x RUN_CHANGES_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/568/display/redirect?page=changes" declare -x RUN_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/568/display/redirect" declare -x RUN_TESTS_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/568/display/redirect?page=tests" declare -x SCHROOT_BASE="/schroots" declare -x SCRIPT_HEADER=$'#!/bin/bash\n\tif true ; then\n\t\tset -x\n\tfi\n\tset -e\n\texport DEBIAN_FRONTEND=noninteractive\n\texport LC_ALL=C.UTF-8\n\texport http_proxy=http://46.16.76.132:3128\n\texport MIRROR=http://deb.debian.org/debian' declare -x SHELL="/bin/bash" declare -x SHLVL="2" declare -x SYSTEMD_EXEC_PID="2935028" declare -x USER="jenkins" declare -x WORKSPACE="/var/lib/jenkins/jobs/reproducible_freebsd/workspace" declare -x WORKSPACE_TMP="/var/lib/jenkins/jobs/reproducible_freebsd/workspace@tmp" declare -x http_proxy="http://46.16.76.132:3128" + set -e + . /srv/jenkins/bin/reproducible_common.sh ++ set +x + FREEBSD_TARGETS=main + declare -A ALL_FILES + declare -A GOOD_FILES + declare -A GOOD_PERCENT + declare -A FREEBSD + declare -A FREEBSD_VERSION + declare -A FILES_HTML + for FREEBSD_TARGET in ${FREEBSD_TARGETS} + set -e + RSSH='ssh -o Batchmode=yes freebsd-jenkins.debian.net' + RSCP='scp -r freebsd-jenkins.debian.net' + TMPBUILDDIR=/usr/src + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'sudo rm -rf /usr/src ; sudo mkdir /usr/src ; sudo chown jenkins /usr/src' + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'sudo service ntpd stop ; sudo ntpdate -b pool.ntp.org ; sudo service ntpd start' Stopping ntpd. Waiting for PIDS: 16144. 13 Jun 23:42:08 ntpdate[18950]: step time server 51.75.67.47 offset -0.000700 sec Starting ntpd. + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'sudo service ntpd status ; date -u' ntpd is running as pid 18966. Thu Jun 13 23:42:09 UTC 2024 ++ ssh -o Batchmode=yes freebsd-jenkins.debian.net 'TMPDIR=/srv/reproducible-results mktemp -d -t rbuild-freebsd' + TMPDIR=/srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf ++ date -u +%Y-%m-%d + DATE=2024-06-13 ++ date +%s + START=1718322129 + trap cleanup_tmpdirs INT TERM EXIT + echo ============================================================================= ============================================================================= ++ date -u + echo 'Thu Jun 13 23:42:09 UTC 2024 - FreeBSD host info' Thu Jun 13 23:42:09 UTC 2024 - FreeBSD host info + echo ============================================================================= ============================================================================= + ssh -o Batchmode=yes freebsd-jenkins.debian.net freebsd-version 14.0-RELEASE-p4 + echo ============================================================================= ============================================================================= ++ date -u + echo 'Thu Jun 13 23:42:10 UTC 2024 - Cloning FreeBSD git repository.' Thu Jun 13 23:42:10 UTC 2024 - Cloning FreeBSD git repository. + echo ============================================================================= ============================================================================= + ssh -o Batchmode=yes freebsd-jenkins.debian.net git clone --depth 1 --branch main https://github.com/freebsd/freebsd-src.git /usr/src Cloning into '/usr/src'... Updating files: 100% (101019/101019), done. ++ ssh -o Batchmode=yes freebsd-jenkins.debian.net 'cd /usr/src ; git log -1' + FREEBSD[$FREEBSD_TARGET]='commit d19851f002862a5510bf31fae4083fab979258be Author: Doug Moore Date: Thu Jun 13 15:28:15 2024 -0500 subr_pctrie: add a word to a comment No functional changes. Reported by: alc' ++ ssh -o Batchmode=yes freebsd-jenkins.debian.net 'cd /usr/src ; git describe --always' + FREEBSD_VERSION[$FREEBSD_TARGET]=d19851f00 + echo 'This is FreeBSD branch main at d19851f00.' This is FreeBSD branch main at d19851f00. + echo + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'cd /usr/src ; git log -1' commit d19851f002862a5510bf31fae4083fab979258be Author: Doug Moore Date: Thu Jun 13 15:28:15 2024 -0500 subr_pctrie: add a word to a comment No functional changes. Reported by: alc ++ echo freebsd_main_gitd19851f00 ++ sed s#/#-#g + TARGET_NAME=freebsd_main_gitd19851f00 + echo ============================================================================= ============================================================================= ++ date -u + echo 'Thu Jun 13 23:43:39 UTC 2024 - Building FreeBSD (branch main at d19851f00) - first build run.' Thu Jun 13 23:43:39 UTC 2024 - Building FreeBSD (branch main at d19851f00) - first build run. + echo ============================================================================= ============================================================================= + export TZ=/usr/share/zoneinfo/Etc/GMT+12 + TZ=/usr/share/zoneinfo/Etc/GMT+12 + export LANG=en_GB.UTF-8 + LANG=en_GB.UTF-8 ++ ssh -o Batchmode=yes freebsd-jenkins.debian.net sysctl -n hw.ncpu + NUM_CPU=18 + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'cd /usr/src ; TZ=/usr/share/zoneinfo/Etc/GMT+12 LANG=en_GB.UTF-8 sudo make -j 18 WITH_REPRODUCIBLE_BUILD=yes buildworld' We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. For security reasons, the password you type will not be visible. sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper sudo: a password is required + cleanup_tmpdirs + set +e + cd + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'sudo chflags -R noschg /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf' + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'rm -r /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf' + rm /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf -r rm: cannot remove '/srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf': No such file or directory + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'sudo rm -rf /usr/src' ++ date -u + echo 'Thu Jun 13 23:43:46 UTC 2024 - failed to build FreeBSD (branch main at d19851f00) in the first run, stopping.' Thu Jun 13 23:43:46 UTC 2024 - failed to build FreeBSD (branch main at d19851f00) in the first run, stopping. + run_diffoscope_on_results + TIMEOUT=60m ++ schroot --directory /tmp -c chroot:jenkins-reproducible-unstable-diffoscope diffoscope -- --version + DIFFOSCOPE='diffoscope 271' + echo ============================================================================= ============================================================================= ++ date -u + echo 'Thu Jun 13 23:43:47 UTC 2024 - Running diffoscope 271 on FreeBSD (branch main at ) build results.' Thu Jun 13 23:43:47 UTC 2024 - Running diffoscope 271 on FreeBSD (branch main at ) build results. + echo ============================================================================= ============================================================================= + mkdir -p /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf ++ mktemp --tmpdir=/srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf + FILES_HTML[$FREEBSD_TARGET]=/srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf/tmp.x3YHXjiik7 + GOOD_FILES[$FREEBSD_TARGET]=0 + ALL_FILES[$FREEBSD_TARGET]=0 + create_results_dirs + mkdir -p /var/lib/jenkins/userContent/reproducible/freebsd/dbd + echo ' ' + '[' '!' -d /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf/b1 ']' + echo 'Warning: one of the two builds failed, not running diffoscope…' Warning: one of the two builds failed, not running diffoscope… + echo '' + echo '
Artifacts for freebsd_main_gitd19851f00
freebsd_main_gitd19851f00 failed to build from source.
' + GOOD_PERCENT[$FREEBSD_TARGET]=0 + return + continue + cd /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf + mkdir freebsd + PAGE=freebsd/freebsd.html + cat + write_page_intro FreeBSD + write_page '

Reproducible builds enable anyone to reproduce bit by bit identical binary packages from a given source, so that anyone can verify that a given binary derived from the source it was said to be derived.' + echo '

Reproducible builds enable anyone to reproduce bit by bit identical binary packages from a given source, so that anyone can verify that a given binary derived from the source it was said to be derived.' + write_page ' There is more information about reproducible builds on the Debian wiki and on https://reproducible-builds.org.' + echo ' There is more information about reproducible builds on the Debian wiki and on https://reproducible-builds.org.' + write_page ' These pages explain in more depth why this is useful, what common issues exist and which workarounds and solutions are known.' + echo ' These pages explain in more depth why this is useful, what common issues exist and which workarounds and solutions are known.' + write_page '

' + echo '

' + local 'BUILD_ENVIRONMENT= in a Debian environment' + local BRANCH=master + '[' FreeBSD = coreboot ']' + '[' FreeBSD = OpenWrt ']' + '[' FreeBSD = NetBSD ']' + '[' FreeBSD = FreeBSD ']' + write_page '

Reproducible FreeBSD is an effort to apply this to FreeBSD. Thus FreeBSD is build twice, with a few variations added and then the resulting filesystems from the two builds are put into a compressed tar archive, which is finally compared using diffoscope. Please note that the toolchain is not varied at all as the rebuild happens on exactly the same system. More variations are expected to be seen in the wild.

' + echo '

Reproducible FreeBSD is an effort to apply this to FreeBSD. Thus FreeBSD is build twice, with a few variations added and then the resulting filesystems from the two builds are put into a compressed tar archive, which is finally compared using diffoscope. Please note that the toolchain is not varied at all as the rebuild happens on exactly the same system. More variations are expected to be seen in the wild.

' + local PROJECTNAME=freebsd + local PROJECTURL=https://github.com/freebsd/freebsd-src.git + local 'BUILD_ENVIRONMENT=, which via ssh triggers a build on a FreeBSD system' + local BRANCH=main + '[' FreeBSD '!=' 'Arch Linux' ']' + '[' FreeBSD '!=' fedora-23 ']' ++ echo freebsd ++ tr '[:upper:]' '[:lower:]' + local SMALLPROJECTNAME=freebsd ++ echo FreeBSD ++ tr '[:upper:]' '[:lower:]' + write_page '

There is a weekly run jenkins job to test the main branch of freebsd.git. The jenkins job is running reproducible_freebsd.sh, which via ssh triggers a build on a FreeBSD system and this script is solely responsible for creating this page. Feel invited to join #reproducible-builds (on irc.oftc.net) to request job runs whenever sensible. Patches and other feedback are very much appreciated - if you want to help, please start by looking at the ToDo list for FreeBSD, you might find something easy to contribute.' + echo '

There is a weekly run jenkins job to test the main branch of freebsd.git. The jenkins job is running reproducible_freebsd.sh, which via ssh triggers a build on a FreeBSD system and this script is solely responsible for creating this page. Feel invited to join #reproducible-builds (on irc.oftc.net) to request job runs whenever sensible. Patches and other feedback are very much appreciated - if you want to help, please start by looking at the ToDo list for FreeBSD, you might find something easy to contribute.' + write_page '
Thanks to IONOS for donating the virtual machines this is running on!

' + echo '
Thanks to IONOS for donating the virtual machines this is running on!

' + for FREEBSD_TARGET in ${FREEBSD_TARGETS} + write_page '

0 (0%) out of 0 FreeBSD files were reproducible in our test setup' + echo '

0 (0%) out of 0 FreeBSD files were reproducible in our test setup' + '[' 0 = 100.0 ']' + write_page . + echo . + write_page ' These tests were last run on 2024-06-13 for the branch main at commit d19851f00 using diffoscope 271.

' + echo ' These tests were last run on 2024-06-13 for the branch main at commit d19851f00 using diffoscope 271.

' + write_variation_table FreeBSD + write_page '

' + echo '

' + '[' FreeBSD = fedora-23 ']' + write_page '' + echo '
variationfirst buildsecond build
' + '[' FreeBSD = debian ']' + '[' FreeBSD '!=' 'Arch Linux' ']' + write_page '' + echo '' + write_page '' + echo '' + '[' FreeBSD '!=' FreeBSD ']' + write_page '' + echo '' + '[' FreeBSD = debian ']' + '[' FreeBSD = 'Arch Linux' ']' + write_page '' + echo '' + write_page '' + echo '' + '[' FreeBSD '!=' FreeBSD ']' + '[' FreeBSD = 'Arch Linux' ']' + write_page '' + echo '' + '[' FreeBSD = debian ']' + '[' FreeBSD = 'Arch Linux' ']' + write_page '' + echo '' + write_page '' + echo '' + write_page '' + echo '' + '[' FreeBSD '!=' FreeBSD ']' + '[' FreeBSD = NetBSD ']' + '[' FreeBSD '!=' FreeBSD ']' + write_page '' + echo '' + write_page '' + echo '' ++ date +%Y-%m-%d + local TODAY=2024-06-13 ++ date '--date=2024-06-13+398 days' +%Y-%m-%d + local FUTURE=2025-07-16 + '[' FreeBSD = debian ']' ++ cat /proc/cpuinfo ++ grep 'model name' ++ head -1 ++ cut -d : -f2- + write_page '' + echo '' + '[' FreeBSD = 'Arch Linux' ']' + write_page '' + echo '' + '[' FreeBSD '!=' FreeBSD ']' + '[' FreeBSD = 'Arch Linux' ']' + write_page '' + echo '' + '[' FreeBSD '!=' FreeBSD ']' + write_page '' + echo '' + write_page '' + echo '' + write_page '' + echo '' + '[' FreeBSD '!=' OpenWrt ']' + '[' FreeBSD = debian ']' + write_page '' + echo '' + '[' FreeBSD = debian ']' + write_page '' + echo '' + write_page '
variationfirst buildsecond build
hostname osuosl1-amd64 or osuosl2-amd64the other one
hostname osuosl1-amd64 or osuosl2-amd64the other one
domainname is not yet varied between rebuilds of FreeBSD.
domainname is not yet varied between rebuilds of FreeBSD.
env TZTZ="/usr/share/zoneinfo/Etc/GMT+12"TZ="/usr/share/zoneinfo/Etc/GMT-14"
env TZTZ="/usr/share/zoneinfo/Etc/GMT+12"TZ="/usr/share/zoneinfo/Etc/GMT-14"
env LANGLANG="en_GB.UTF-8"LANG="et_EE.UTF-8"
env LANGLANG="en_GB.UTF-8"LANG="et_EE.UTF-8"
env LC_ALLnot setLC_ALL="et_EE.UTF-8"
env LC_ALLnot setLC_ALL="et_EE.UTF-8"
env PATH is not yet varied between rebuilds of FreeBSD.
env PATH is not yet varied between rebuilds of FreeBSD.
env USER is not yet varied between rebuilds of FreeBSD.
env USER is not yet varied between rebuilds of FreeBSD.
uid is not yet varied between rebuilds of FreeBSD.
uid is not yet varied between rebuilds of FreeBSD.
gid is not yet varied between rebuilds of FreeBSD.
gid is not yet varied between rebuilds of FreeBSD.
FreeBSD kernel version is not yet varied between rebuilds of FreeBSD.
FreeBSD kernel version is not yet varied between rebuilds of FreeBSD.
umask is not yet varied between rebuilds of FreeBSD.
umask is not yet varied between rebuilds of FreeBSD.
CPU type AMD Opteron 62xx class CPUsame for both builds
CPU type AMD Opteron 62xx class CPUsame for both builds
/bin/sh is not yet varied between rebuilds of FreeBSD.
/bin/sh is not yet varied between rebuilds of FreeBSD.
year, month, dateosuosl1-amd64: today (2024-06-13) or osuosl1-amd64: 398 days in the future (2025-07-16)the other one
year, month, dateosuosl1-amd64: today (2024-06-13) or osuosl1-amd64: 398 days in the future (2025-07-16)the other one
year, month, datetoday (2024-06-13)the 2nd build is done with the build node set 1 year, 1 month and 1 day in the future
year, month, datetoday (2024-06-13)the 2nd build is done with the build node set 1 year, 1 month and 1 day in the future
hour, minutehour and minute will vary between two buildsadditionally the "future build" also runs 6h and 23min ahead
hour, minutehour and minute will vary between two buildsadditionally the "future build" also runs 6h and 23min ahead
filesystem of the build directoryufssame for both builds
filesystem of the build directoryufssame for both builds
Filesystemtmpfssame for both builds (currently, this could be varied using disorderfs)
Filesystemtmpfssame for both builds (currently, this could be varied using disorderfs)
everything else...is likely the same. There will be more variations in the wild.
everything else...is likely the same. There will be more variations in the wild.

' + echo '

' + set -x + for FREEBSD_TARGET in ${FREEBSD_TARGETS} + ls /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf/tmp.x3YHXjiik7 /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf/tmp.x3YHXjiik7 + cat /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf/tmp.x3YHXjiik7 + write_page '

'
+ echo '     

'
+ echo -n 'commit d19851f002862a5510bf31fae4083fab979258be
Author: Doug Moore 
Date:   Thu Jun 13 15:28:15 2024 -0500

    subr_pctrie: add a word to a comment
    
    No functional changes.
    Reported by:    alc'
+ write_page '     

' + echo '

' + write_page ' ' + echo ' ' + rm -f /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf/tmp.x3YHXjiik7 + set +x Thu Jun 13 23:43:47 UTC 2024 - 'freebsd/freebsd.html' -> '/var/lib/jenkins/userContent/reproducible/freebsd/freebsd.html' Thu Jun 13 23:43:47 UTC 2024 - enjoy https://tests.reproducible-builds.org/freebsd/freebsd.html Thu Jun 13 23:43:47 UTC 2024 - total duration: 0h 1m 38s. Sending 'https://tests.reproducible-builds.org/freebsd/ has been updated. (0% reproducible)' to reproducible-changes now. malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Can't connect to kgb...") at /usr/share/perl5/JSON/RPC/Legacy/Client.pm line 180. https://tests.reproducible-builds.org/freebsd/ has been updated. (0% reproducible) ============================================================================= chflags: /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf: No such file or directory rm: /srv/reproducible-results/rbuild-freebsd.vrPU4sBFZf: No such file or directory Thu Jun 13 23:43:50 UTC 2024 - reproducible_freebsd.sh stopped running as /tmp/jenkins-script-xWqlsjvd, removing. Finished: SUCCESS