Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions jjb/freebsd-src.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -546,3 +546,25 @@
timeout-var: 'BUILD_TIMEOUT'
fail: true
type: absolute

- project:
name: FreeBSD-reproducibility
target: amd64
target_arch:
- amd64
branch:
- main
testtype:
- arch
- clang
- kernconf
- linkergc
- linkericf
- linkerstatic
- locale
- parallel
- path
- timestamp
- uid
jobs:
- 'FreeBSD-{branch}-{target_arch}-reproducibility-{testtype}'
26 changes: 26 additions & 0 deletions jjb/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -916,3 +916,29 @@
timeout-var: 'BUILD_TIMEOUT'
fail: true
type: absolute

- job-template:
name: 'FreeBSD-{branch}-{target_arch}-reproducibility-{testtype}'
defaults: global
node: jailer
scm:
- FreeBSD-src-use_git_commit
parameters:
- USE_GIT_COMMIT
builders:
- add-svn-revision-description
- checkout-scripts
- setup-jail
- execute-in-jail
publishers:
- scan-gcc-warnings
- clean-jail
- git-mail-notify-failure-mailinglist
- git-mail-notify-fixed-admin-only
wrappers:
- timestamps
- timeout:
timeout: 240
timeout-var: 'BUILD_TIMEOUT'
fail: true
type: absolute
11 changes: 11 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-arch/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
MAKECONF_AMD=${WORKSPACE}/`dirname $0`/make-amd.conf \
MAKECONF_INTEL=${WORKSPACE}/`dirname $0`/make-intel.conf \
TESTTYPE=arch \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
4 changes: 4 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-arch/jail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-arch/make-amd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CPUTYPE=znver3
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CPUTYPE=alderlake
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-arch/src.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
9 changes: 9 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-clang/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
TESTTYPE=clang \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
4 changes: 4 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-clang/jail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-clang/src.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
9 changes: 9 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-kernconf/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
TESTTYPE=kernconf \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
4 changes: 4 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-kernconf/jail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-kernconf/src.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
10 changes: 10 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-linkergc/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
TESTTYPE=linkergc \
MAKECONF_GC=${WORKSPACE}/`dirname $0`/make-gc.conf \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
4 changes: 4 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-linkergc/jail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LDFLAGS+="-Wl,--gc-sections"
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-linkergc/src.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
10 changes: 10 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-linkericf/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
TESTTYPE=linkericf \
MAKECONF_ICF=${WORKSPACE}/`dirname $0`/make-icf.conf \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
4 changes: 4 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-linkericf/jail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LDFLAGS+="-Wl,--icf=all"
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-linkericf/src.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
10 changes: 10 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-linkerstatic/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
TESTTYPE=linkerstatic \
MAKECONF_STATIC=${WORKSPACE}/`dirname $0`/make-static.conf \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LDFLAGS+="-static"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
9 changes: 9 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-locale/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
TESTTYPE=locale \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
4 changes: 4 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-locale/jail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-locale/src.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
9 changes: 9 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-parallel/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
TESTTYPE=parallel \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
4 changes: 4 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-parallel/jail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-parallel/src.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
10 changes: 10 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-path/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
MAKECONF=${WORKSPACE}/`dirname $0`/make.conf \
TESTTYPE=path \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
4 changes: 4 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-path/jail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
3 changes: 3 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-path/make.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CFLAGS+="-ffile-prefix-map=$(pwd)=/usr/src"
CXXFLAGS+="-ffile-prefix-map=$(pwd)=/usr/src"
LDFLAGS+="-ffile-prefix-map=$(pwd)=/usr/src"
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-path/src.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
9 changes: 9 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-timestamp/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
TESTTYPE=timestamp \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
4 changes: 4 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-timestamp/jail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-timestamp/src.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
9 changes: 9 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-uid/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

env \
JFLAG=${BUILDER_JFLAG} \
TARGET=amd64 \
TARGET_ARCH=amd64 \
SRCCONF=${WORKSPACE}/`dirname $0`/src.conf \
TESTTYPE=uid \
sh -x ${WORKSPACE}/freebsd-ci/scripts/build/build-reproducible.sh
4 changes: 4 additions & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-uid/jail.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TARGET=amd64
TARGET_ARCH=amd64
WITH_32BIT=0
OSRELEASE=14.2-RELEASE
1 change: 1 addition & 0 deletions jobs/FreeBSD-main-amd64-reproducibility-uid/src.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#WITH_DTRACE_TESTS=yes
Loading