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/jenkins9410624145124690162.sh
+ /srv/jenkins/bin/reproducible_freebsd.sh
====================================================================================
Thu Jul 4 23:42:00 UTC 2024 - running /srv/jenkins/bin/reproducible_freebsd.sh (for job reproducible_freebsd) on jenkins, called using "" as arguments.
Thu Jul 4 23:42:00 UTC 2024 - actually running "reproducible_freebsd.sh" (md5sum 8555dab97ee5d871d5a0ffd15c53cb96) as "/tmp/jenkins-script-2z0jFFaq"
$ 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="#571"
declare -x BUILD_ID="571"
declare -x BUILD_NUMBER="571"
declare -x BUILD_TAG="jenkins-reproducible_freebsd-571"
declare -x BUILD_URL="https://jenkins.debian.net/job/reproducible_freebsd/571/"
declare -x CHROOT_BASE="/chroots"
declare -x CI="true"
declare -x EXECUTOR_NUMBER="12"
declare -x HOME="/var/lib/jenkins"
declare -x HUDSON_COOKIE="394e164a-e21e-49b6-9d55-ba51538ddd09"
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="8b2a1f28fd034ed5898b7ed740bbc491"
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:33110439"
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/571/display/redirect?page=artifacts"
declare -x RUN_CHANGES_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/571/display/redirect?page=changes"
declare -x RUN_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/571/display/redirect"
declare -x RUN_TESTS_DISPLAY_URL="https://jenkins.debian.net/job/reproducible_freebsd/571/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="753652"
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: 55181.
4 Jul 23:42:08 ntpdate[63136]: step time server 194.59.207.107 offset +0.000085 sec
Starting ntpd.
+ ssh -o Batchmode=yes freebsd-jenkins.debian.net 'sudo service ntpd status ; date -u'
ntpd is running as pid 63152.
Thu Jul 4 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.6tphGk3lPf
++ date -u +%Y-%m-%d
+ DATE=2024-07-04
++ date +%s
+ START=1720136529
+ trap cleanup_tmpdirs INT TERM EXIT
+ echo =============================================================================
=============================================================================
++ date -u
+ echo 'Thu Jul 4 23:42:09 UTC 2024 - FreeBSD host info'
Thu Jul 4 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 Jul 4 23:42:10 UTC 2024 - Cloning FreeBSD git repository.'
Thu Jul 4 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% (101043/101043), done.
++ ssh -o Batchmode=yes freebsd-jenkins.debian.net 'cd /usr/src ; git log -1'
+ FREEBSD[$FREEBSD_TARGET]='commit 7f50027321db3b08477f6236abded0297e9e5ed8
Author: Alan Somers 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 '
'
+ GOOD_PERCENT[$FREEBSD_TARGET]=0
+ return
+ continue
+ cd /srv/reproducible-results/rbuild-freebsd.6tphGk3lPf
+ mkdir freebsd
+ PAGE=freebsd/freebsd.html
+ cat
+ write_page_intro FreeBSD
+ write_page ' '
+ '[' '!' -d /srv/reproducible-results/rbuild-freebsd.6tphGk3lPf/b1 ']'
+ echo 'Warning: one of the two builds failed, not running diffoscope…'
Warning: one of the two builds failed, not running diffoscope…
+ echo 'Artifacts for freebsd_main_git7f5002732
'
+ echo 'freebsd_main_git7f5002732 failed to build from source.
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!
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-07-04 for the branch main at commit 7f5002732 using diffoscope 271.
' + echo ' These tests were last run on 2024-07-04 for the branch main at commit 7f5002732 using diffoscope 271.' + write_variation_table FreeBSD + write_page '' + echo '
' + '[' FreeBSD = fedora-23 ']' + write_page '
variation | first build | second build |
---|
variation | first build | second build |
---|---|---|
hostname | osuosl1-amd64 or osuosl2-amd64 | the other one |
hostname | osuosl1-amd64 or osuosl2-amd64 | the other one |
domainname | is not yet varied between rebuilds of FreeBSD. | |
domainname | is not yet varied between rebuilds of FreeBSD. | |
env TZ | TZ="/usr/share/zoneinfo/Etc/GMT+12" | TZ="/usr/share/zoneinfo/Etc/GMT-14" |
env TZ | TZ="/usr/share/zoneinfo/Etc/GMT+12" | TZ="/usr/share/zoneinfo/Etc/GMT-14" |
env LANG | LANG="en_GB.UTF-8" | LANG="et_EE.UTF-8" |
env LANG | LANG="en_GB.UTF-8" | LANG="et_EE.UTF-8" |
env LC_ALL | not set | LC_ALL="et_EE.UTF-8" |
env LC_ALL | not set | LC_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 CPU | same for both builds |
CPU type | AMD Opteron 62xx class CPU | same 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, date | osuosl1-amd64: today (2024-07-04) or osuosl1-amd64: 398 days in the future (2025-08-06) | the other one |
year, month, date | osuosl1-amd64: today (2024-07-04) or osuosl1-amd64: 398 days in the future (2025-08-06) | the other one |
year, month, date | today (2024-07-04) | the 2nd build is done with the build node set 1 year, 1 month and 1 day in the future |
year, month, date | today (2024-07-04) | the 2nd build is done with the build node set 1 year, 1 month and 1 day in the future |
hour, minute | hour and minute will vary between two builds | additionally the "future build" also runs 6h and 23min ahead |
hour, minute | hour and minute will vary between two builds | additionally the "future build" also runs 6h and 23min ahead |
filesystem of the build directory | ufs | same for both builds |
filesystem of the build directory | ufs | same for both builds |
Filesystem | tmpfs | same for both builds (currently, this could be varied using disorderfs) |
Filesystem | tmpfs | same 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 '' + write_page ' ' + echo ' ' + rm -f /srv/reproducible-results/rbuild-freebsd.6tphGk3lPf/tmp.ScN8NZm21K + set +x Thu Jul 4 23:43:52 UTC 2024 - 'freebsd/freebsd.html' -> '/var/lib/jenkins/userContent/reproducible/freebsd/freebsd.html' Thu Jul 4 23:43:52 UTC 2024 - enjoy https://tests.reproducible-builds.org/freebsd/freebsd.html Thu Jul 4 23:43:52 UTC 2024 - total duration: 0h 1m 43s. 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.6tphGk3lPf: No such file or directory rm: /srv/reproducible-results/rbuild-freebsd.6tphGk3lPf: No such file or directory Thu Jul 4 23:43:54 UTC 2024 - reproducible_freebsd.sh stopped running as /tmp/jenkins-script-2z0jFFaq, removing. Finished: SUCCESS' + echo -n 'commit 7f50027321db3b08477f6236abded0297e9e5ed8 Author: Alan Somers' + echo 'Date: Thu Jul 4 14:32:24 2024 -0600 ctladm: don'\''t require the use of "-p" with "port -r", part 2 * Remove a now superfluous FALLTHROUGH hint * Don'\''t specify "-p" with an empty argument in the tests Reported by: jhb MFC after: 1 week MFC with: edbd489d09babebdc6c03924a912013be584c409' + write_page '