Skip to content

Instantly share code, notes, and snippets.

@kergoth
Last active August 17, 2022 22:29
Show Gist options
  • Save kergoth/4120aec0e309e8fa833e30d8f788492c to your computer and use it in GitHub Desktop.
Save kergoth/4120aec0e309e8fa833e30d8f788492c to your computer and use it in GitHub Desktop.
$ OEQA_REPRODUCIBLE_IMAGES=libgfortran oe-selftest -r cbreproducible.CBReproducibleTests.test_reproducible_builds
2022-08-18 02:20:10,167 - oe-selftest - INFO - Adding layer libraries:
2022-08-18 02:20:10,167 - oe-selftest - INFO - /mel/kergoth/mel/codebench-toolchain/multiconfig/meta-mingw/lib
2022-08-18 02:20:10,167 - oe-selftest - INFO - /mel/kergoth/mel/codebench-toolchain/multiconfig/meta-codebench-toolchain/lib
2022-08-18 02:20:10,167 - oe-selftest - INFO - /mel/kergoth/mel/codebench-toolchain/multiconfig/oe-core/meta/lib
2022-08-18 02:20:10,168 - oe-selftest - INFO - /mel/kergoth/mel/codebench-toolchain/multiconfig/oe-core/meta-selftest/lib
2022-08-18 02:20:10,169 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2022-08-18 02:20:15,130 - oe-selftest - INFO - Adding: "include selftest.inc" in /mel/kergoth/mel/codebench-toolchain/multiconfig/build-st/conf/local.conf
2022-08-18 02:20:15,131 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2022-08-18 02:20:15,132 - oe-selftest - INFO - test_reproducible_builds (cbreproducible.CBReproducibleTests)
2022-08-18 02:30:36,483 - oe-selftest - INFO - Non-reproducible packages will be copied to /mel/kergoth/mel/codebench-toolchain/multiconfig/build-st/reproducible_output/oe-reproducible-20220818-5fw0ltg4
2022-08-18 02:30:36,484 - oe-selftest - INFO - Building reproducibleA (sstate allowed)...
2022-08-18 02:42:44,030 - oe-selftest - INFO - Building reproducibleB (sstate NOT allowed)...
2022-08-18 02:56:59,589 - oe-selftest - INFO - Checking ipk packages for differences...
2022-08-18 02:56:59,699 - oe-selftest - INFO - Reproducibility summary for ipk: same=42 different=3 different_excluded=0 missing=0 total=45
unused_exclusions=['acpica-src', 'babeltrace2-ptest', 'bind', 'bootchart2-doc', 'epiphany', 'gcr', 'glide', 'go-dep', 'go-helloworld', 'go-runtime', 'go_', 'gstreamer1.0-python', 'hwlatdetect', 'kernel-devsrc', 'libaprutil', 'libcap-ng', 'libjson', 'libproxy', 'ltp', 'lttng-tools-dbg', 'lttng-tools-ptest', 'ovmf-shell-efi', 'parted-ptest', 'perf', 'piglit', 'pybootchartgui', 'qemu', 'quilt-ptest', 'rsync', 'ruby', 'stress-ng', 'systemd-bootchart', 'systemtap', 'valgrind-ptest', 'webkitgtk']
2022-08-18 02:56:59,709 - oe-selftest - INFO - Running diffoscope
2022-08-18 03:05:26,564 - oe-selftest - INFO - ... FAIL
2022-08-18 03:05:26,565 - oe-selftest - INFO - Traceback (most recent call last):
File "/mel/kergoth/mel/codebench-toolchain/multiconfig/oe-core/meta/lib/oeqa/selftest/cases/reproducible.py", line 350, in test_reproducible_builds
self.fail('\n'.join(fails))
AssertionError: The following ipk packages are missing or different and not in exclusion list: /mel/kergoth/mel/codebench-toolchain/multiconfig/build-st/reproducibleB/tmp-glibc/deploy/ipk/./aarch64/libgfortran-dbg_9.3.0-r0_aarch64.ipk
/mel/kergoth/mel/codebench-toolchain/multiconfig/build-st/reproducibleB/tmp-glibc/deploy/ipk/./aarch64/libgfortran-staticdev_9.3.0-r0_aarch64.ipk
/mel/kergoth/mel/codebench-toolchain/multiconfig/build-st/reproducibleB/tmp-glibc/deploy/ipk/./aarch64/libgfortran5_9.3.0-r0_aarch64.ipk
2022-08-18 03:05:26,567 - oe-selftest - INFO - ======================================================================
2022-08-18 03:05:26,567 - oe-selftest - INFO - FAIL: test_reproducible_builds (cbreproducible.CBReproducibleTests)
2022-08-18 03:05:26,567 - oe-selftest - INFO - ----------------------------------------------------------------------
2022-08-18 03:05:26,568 - oe-selftest - INFO - Traceback (most recent call last):
File "/mel/kergoth/mel/codebench-toolchain/multiconfig/oe-core/meta/lib/oeqa/selftest/cases/reproducible.py", line 350, in test_reproducible_builds
self.fail('\n'.join(fails))
AssertionError: The following ipk packages are missing or different and not in exclusion list: /mel/kergoth/mel/codebench-toolchain/multiconfig/build-st/reproducibleB/tmp-glibc/deploy/ipk/./aarch64/libgfortran-dbg_9.3.0-r0_aarch64.ipk
/mel/kergoth/mel/codebench-toolchain/multiconfig/build-st/reproducibleB/tmp-glibc/deploy/ipk/./aarch64/libgfortran-staticdev_9.3.0-r0_aarch64.ipk
/mel/kergoth/mel/codebench-toolchain/multiconfig/build-st/reproducibleB/tmp-glibc/deploy/ipk/./aarch64/libgfortran5_9.3.0-r0_aarch64.ipk
2022-08-18 03:05:26,568 - oe-selftest - INFO - ----------------------------------------------------------------------
2022-08-18 03:05:26,568 - oe-selftest - INFO - Ran 1 test in 2713.839s
2022-08-18 03:05:26,568 - oe-selftest - INFO - FAILED
2022-08-18 03:05:26,568 - oe-selftest - INFO - (failures=1)
2022-08-18 03:05:30,120 - oe-selftest - INFO - RESULTS:
2022-08-18 03:05:30,120 - oe-selftest - INFO - RESULTS - cbreproducible.CBReproducibleTests.test_reproducible_builds: FAILED (2711.43s)
2022-08-18 03:05:30,122 - oe-selftest - INFO - SUMMARY:
2022-08-18 03:05:30,123 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 2713.841s
2022-08-18 03:05:30,123 - oe-selftest - INFO - oe-selftest - FAIL - Required tests failed (successes=0, skipped=0, failures=1, errors=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment