-
Notifications
You must be signed in to change notification settings - Fork 87
Add different reproducibility tests #179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
5u623l20
wants to merge
17
commits into
freebsd:main
Choose a base branch
from
5u623l20:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
33962a3
Add different reproducibility tests
5u623l20 6e94c56
Add different reproducibility tests
5u623l20 9308b2a
Remove scan-gcc-warnings
5u623l20 06e53e0
Move diffoscope installation to individual jobs
5u623l20 886c93c
Move WITH_REPRODUCIBLE_BUILD=yes to src.conf
5u623l20 4ac65ae
Remove arch reproducibility test as they are not reproducible
5u623l20 ef86fcc
Remove kernconf reproducibility test as they are not reproducible
5u623l20 32e057b
Remove clang reproducibility test as they are not reproducible
5u623l20 6105780
Remove linkergc reproducibility test as they are not reproducible
5u623l20 294f508
Remove linkericf reproducibility test as they are not reproducible
5u623l20 32894f0
Remove linkerstatic reproducibility test as they are not reproducible
5u623l20 e228944
Fix jjb
5u623l20 147e293
Decouple locale test from build-reproducible.sh script
5u623l20 5a2345b
Decouple parallel test from build-reproducible.sh script
5u623l20 912686e
Decouple path test from build-reproducible.sh script
5u623l20 b398079
Decouple timestap test from build-reproducible.sh script
5u623l20 7d048b8
Decouple uid test from build-reproducible.sh script
5u623l20 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| CPUTYPE=znver3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| CPUTYPE=alderlake |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| LDFLAGS+="-Wl,--gc-sections" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
10 changes: 10 additions & 0 deletions
10
jobs/FreeBSD-main-amd64-reproducibility-linkericf/build.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
1
jobs/FreeBSD-main-amd64-reproducibility-linkericf/make-icf.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| LDFLAGS+="-Wl,--icf=all" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
10 changes: 10 additions & 0 deletions
10
jobs/FreeBSD-main-amd64-reproducibility-linkerstatic/build.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
4 changes: 4 additions & 0 deletions
4
jobs/FreeBSD-main-amd64-reproducibility-linkerstatic/jail.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
1
jobs/FreeBSD-main-amd64-reproducibility-linkerstatic/make-static.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| LDFLAGS+="-static" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #WITH_DTRACE_TESTS=yes |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.