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/jenkins18232075270504950592.sh + /srv/jenkins/bin/reproducible_freebsd.sh ==================================================================================== Thu May 30 23:42:00 UTC 2024 - running /srv/jenkins/bin/reproducible_freebsd.sh (for job reproducible_freebsd) on jenkins, called using "" as arguments. Thu May 30 23:42:00 UTC 2024 - actually running "reproducible_freebsd.sh" (md5sum 8555dab97ee5d871d5a0ffd15c53cb96) as "/tmp/jenkins-script-ll3BSTma" $ 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="#566" declare -x BUILD_ID="566" declare -x BUILD_NUMBER="566" declare -x BUILD_TAG="jenkins-reproducible_freebsd-566" declare -x BUILD_URL="https://jenkins.debian.net/job/reproducible_freebsd/566/" declare -x CHROOT_BASE="/chroots" declare -x CI="true" declare -x EXECUTOR_NUMBER="24" declare -x HOME="/var/lib/jenkins" declare -x HUDSON_COOKIE="2272d2e2-aeff-4e5d-9ddd-1e6c2f5e091a" 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="870fdf966d3944f08f7b0d4484d1e69b" 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:81567431" 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/566/display/redirect?page=artifacts" declare -x RUN_CHANGES_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/566/display/redirect?page=changes" declare -x RUN_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/566/display/redirect" declare -x RUN_TESTS_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/566/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="2130516" 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: 12277. 30 May 23:42:09 ntpdate[9346]: step time server 5.9.122.85 offset -0.000828 sec Starting ntpd. + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'sudo service ntpd status ; date -u' ntpd is running as pid 9362. Thu May 30 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.9qD3icLEQu ++ date -u +%Y-%m-%d + DATE=2024-05-30 ++ date +%s + START=1717112530 + trap cleanup_tmpdirs INT TERM EXIT + echo ============================================================================= ============================================================================= ++ date -u + echo 'Thu May 30 23:42:10 UTC 2024 - FreeBSD host info' Thu May 30 23:42:10 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 May 30 23:42:10 UTC 2024 - Cloning FreeBSD git repository.' Thu May 30 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% (100997/100997), done. ++ ssh -o Batchmode=yes freebsd-jenkins.debian.net 'cd /usr/src ; git log -1' + FREEBSD[$FREEBSD_TARGET]='commit ecd1d1f1dac49c7ecbf1e7c5ffc64356c2851efd Author: Bjoern A. Zeeb Date: Mon May 27 19:49:45 2024 +0000 LinuxKPI: remove extern from function declarations Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste (earlier version, found another two) Differential Revision: https://reviews.freebsd.org/D45386' ++ ssh -o Batchmode=yes freebsd-jenkins.debian.net 'cd /usr/src ; git describe --always' + FREEBSD_VERSION[$FREEBSD_TARGET]=ecd1d1f1d + echo 'This is FreeBSD branch main at ecd1d1f1d.' This is FreeBSD branch main at ecd1d1f1d. + echo + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'cd /usr/src ; git log -1' commit ecd1d1f1dac49c7ecbf1e7c5ffc64356c2851efd Author: Bjoern A. Zeeb Date: Mon May 27 19:49:45 2024 +0000 LinuxKPI: remove extern from function declarations Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste (earlier version, found another two) Differential Revision: https://reviews.freebsd.org/D45386 ++ echo freebsd_main_gitecd1d1f1d ++ sed s#/#-#g + TARGET_NAME=freebsd_main_gitecd1d1f1d + echo ============================================================================= ============================================================================= ++ date -u + echo 'Thu May 30 23:43:38 UTC 2024 - Building FreeBSD (branch main at ecd1d1f1d) - first build run.' Thu May 30 23:43:38 UTC 2024 - Building FreeBSD (branch main at ecd1d1f1d) - 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.9qD3icLEQu' + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'rm -r /srv/reproducible-results/rbuild-freebsd.9qD3icLEQu' + rm /srv/reproducible-results/rbuild-freebsd.9qD3icLEQu -r rm: cannot remove '/srv/reproducible-results/rbuild-freebsd.9qD3icLEQu': No such file or directory + ssh -o Batchmode=yes freebsd-jenkins.debian.net 'sudo rm -rf /usr/src' ++ date -u + echo 'Thu May 30 23:43:44 UTC 2024 - failed to build FreeBSD (branch main at ecd1d1f1d) in the first run, stopping.' Thu May 30 23:43:44 UTC 2024 - failed to build FreeBSD (branch main at ecd1d1f1d) in the first run, stopping. + run_diffoscope_on_results + TIMEOUT=60m ++ schroot --directory /tmp -c chroot:jenkins-reproducible-unstable-diffoscope diffoscope -- --version + DIFFOSCOPE='diffoscope 268' + echo ============================================================================= ============================================================================= ++ date -u + echo 'Thu May 30 23:43:45 UTC 2024 - Running diffoscope 268 on FreeBSD (branch main at ) build results.' Thu May 30 23:43:45 UTC 2024 - Running diffoscope 268 on FreeBSD (branch main at ) build results. + echo ============================================================================= ============================================================================= + mkdir -p /srv/reproducible-results/rbuild-freebsd.9qD3icLEQu ++ mktemp --tmpdir=/srv/reproducible-results/rbuild-freebsd.9qD3icLEQu + FILES_HTML[$FREEBSD_TARGET]=/srv/reproducible-results/rbuild-freebsd.9qD3icLEQu/tmp.YJ2yCxaW60 + 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.9qD3icLEQu/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_gitecd1d1f1d
freebsd_main_gitecd1d1f1d failed to build from source.
' + GOOD_PERCENT[$FREEBSD_TARGET]=0 + return + continue + cd /srv/reproducible-results/rbuild-freebsd.9qD3icLEQu + 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-05-30 for the branch main at commit ecd1d1f1d using diffoscope 268.

' + echo ' These tests were last run on 2024-05-30 for the branch main at commit ecd1d1f1d using diffoscope 268.

' + 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-05-30 ++ date '--date=2024-05-30+398 days' +%Y-%m-%d + local FUTURE=2025-07-02 + '[' 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-05-30) or osuosl1-amd64: 398 days in the future (2025-07-02)the other one
year, month, dateosuosl1-amd64: today (2024-05-30) or osuosl1-amd64: 398 days in the future (2025-07-02)the other one
year, month, datetoday (2024-05-30)the 2nd build is done with the build node set 1 year, 1 month and 1 day in the future
year, month, datetoday (2024-05-30)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.9qD3icLEQu/tmp.YJ2yCxaW60 /srv/reproducible-results/rbuild-freebsd.9qD3icLEQu/tmp.YJ2yCxaW60 + cat /srv/reproducible-results/rbuild-freebsd.9qD3icLEQu/tmp.YJ2yCxaW60 + write_page '

'
+ echo '     

'
+ echo -n 'commit ecd1d1f1dac49c7ecbf1e7c5ffc64356c2851efd
Author: Bjoern A. Zeeb 
Date:   Mon May 27 19:49:45 2024 +0000

    LinuxKPI: remove extern from function declarations
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    Reviewed by:    emaste (earlier version, found another two)
    Differential Revision: https://reviews.freebsd.org/D45386'
+ write_page '     

' + echo '

' + write_page ' ' + echo ' ' + rm -f /srv/reproducible-results/rbuild-freebsd.9qD3icLEQu/tmp.YJ2yCxaW60 + set +x Thu May 30 23:43:45 UTC 2024 - 'freebsd/freebsd.html' -> '/var/lib/jenkins/userContent/reproducible/freebsd/freebsd.html' Thu May 30 23:43:45 UTC 2024 - enjoy https://tests.reproducible-builds.org/freebsd/freebsd.html Thu May 30 23:43:45 UTC 2024 - total duration: 0h 1m 35s. Sending 'https://tests.reproducible-builds.org/freebsd/ has been updated. (0% reproducible)' to reproducible-changes now. https://tests.reproducible-builds.org/freebsd/ has been updated. (0% reproducible) ============================================================================= chflags: /srv/reproducible-results/rbuild-freebsd.9qD3icLEQu: No such file or directory rm: /srv/reproducible-results/rbuild-freebsd.9qD3icLEQu: No such file or directory Thu May 30 23:43:47 UTC 2024 - reproducible_freebsd.sh stopped running as /tmp/jenkins-script-ll3BSTma, removing. Finished: SUCCESS