dash/ci/test
laanwj d2b8c6bbc9
Merge bitcoin/bitcoin#19952: build, ci: Add file-based logging for individual packages
86c2889518df0234b8b28112a9771b85c577eefd ci: Make log verbose in error case only (Hennadii Stepanov)
7f650883b71b67cd33026cf49af0b16f01e45541 depends: Add file-based logging for individual packages (Hennadii Stepanov)

Pull request description:

  This PR adds file-based logging for individual packages in depends. To use this feature one should provide `LOG=1`.

  A log file is printed out automatically in case of a build error. After successful build log files are being moved along with package archives:
  ```
  $ make -C depends HOST=x86_64-w64-mingw32 LOG=1
  $ find ./depends/built/x86_64-w64-mingw32 -name '*.log' | sort
  ./depends/built/x86_64-w64-mingw32/bdb/bdb-4.8.30-5100a099801.log
  ./depends/built/x86_64-w64-mingw32/boost/boost-1_71_0-313f82dc7de.log
  ./depends/built/x86_64-w64-mingw32/libevent/libevent-2.1.12-stable-3fa27048d5e.log
  ./depends/built/x86_64-w64-mingw32/libnatpmp/libnatpmp-4536032ae32268a45c073a4d5e91bbab4534773a-9db4850dd32.log
  ./depends/built/x86_64-w64-mingw32/miniupnpc/miniupnpc-2.2.2-75d9a1807e0.log
  ./depends/built/x86_64-w64-mingw32/native_b2/native_b2-1_71_0-3bf253c19bf.log
  ./depends/built/x86_64-w64-mingw32/qrencode/qrencode-3.4.4-dfac87af599.log
  ./depends/built/x86_64-w64-mingw32/qt/qt-5.15.2-9304e03d3ac.log
  ./depends/built/x86_64-w64-mingw32/sqlite/sqlite-3320100-455acafa7be.log
  ./depends/built/x86_64-w64-mingw32/zeromq/zeromq-4.3.1-5ff627ec84a.log
  ```

  An example of CI tasks with package build errors -- https://cirrus-ci.com/task/5275741788045312

  Closes #16368.

ACKs for top commit:
  laanwj:
    Tested ACK 86c2889518df0234b8b28112a9771b85c577eefd

Tree-SHA512: 497f2146fd2e38c952124aecfd80ebb42be22bbc5dc59521491545f4465fc38f23da7787a0caea5686b7c30aa862f2b0c02092ae3fe863e80a5ddd14b3d324b9
2024-09-27 12:52:15 -05:00
..
00_setup_env_arm.sh Merge #20182: ci: Build with --enable-werror by default, and document exceptions 2024-04-03 16:03:26 +07:00
00_setup_env_mac_host.sh Merge #20182: ci: Build with --enable-werror by default, and document exceptions 2024-04-03 16:03:26 +07:00
00_setup_env_mac.sh Merge #21354: build, doc: Drop no longer required packages from macOS cross-compiling dependencies 2024-04-11 02:25:07 +07:00
00_setup_env_native_asan.sh merge bitcoin#24301: header-only Boost 2024-08-13 22:53:48 +07:00
00_setup_env_native_cxx20.sh chore: drop debug printing of private keys to console stdout 2024-04-10 01:59:00 +07:00
00_setup_env_native_fuzz_with_valgrind.sh merge bitcoin#24301: header-only Boost 2024-08-13 22:53:48 +07:00
00_setup_env_native_fuzz.sh merge bitcoin#24301: header-only Boost 2024-08-13 22:53:48 +07:00
00_setup_env_native_multiprocess.sh Merge bitcoin/bitcoin#21812: ci: Enable D_GLIBCXX_DEBUG for multiprocess task 2024-07-27 13:04:24 +07:00
00_setup_env_native_nowallet.sh Merge #15382: util: add RunCommandParseJSON 2024-02-01 09:22:03 -06:00
00_setup_env_native_qt5.sh feat: drop symbol check from CI to unify with bitcoin, keep it for qt5 only 2024-04-03 16:06:22 +07:00
00_setup_env_native_sqlite.sh fix: wrong permission for various files accordingly new linter 2024-05-16 02:09:48 +07:00
00_setup_env_native_tsan.sh chore: drop debug printing of private keys to console stdout 2024-04-10 01:59:00 +07:00
00_setup_env_native_ubsan.sh merge bitcoin#24301: header-only Boost 2024-08-13 22:53:48 +07:00
00_setup_env_native_valgrind.sh merge bitcoin#24301: header-only Boost 2024-08-13 22:53:48 +07:00
00_setup_env_s390x.sh Merge bitcoin/bitcoin#21740: test: add new python linter to check file names and permissions 2024-05-16 02:09:37 +07:00
00_setup_env_win64.sh Merge bitcoin/bitcoin#25231: ci: Install documented packages for "Win64" CI task 2024-06-07 09:45:32 -05:00
00_setup_env.sh Merge bitcoin/bitcoin#22388: ci: use Ubuntu 20.04 as the default Docker container 2024-05-15 03:03:18 +07:00
04_install.sh Merge #19179: ci: Run ci configs on cirrus 2024-03-26 21:04:27 +07:00
05_before_script.sh Merge bitcoin/bitcoin#19952: build, ci: Add file-based logging for individual packages 2024-09-27 12:52:15 -05:00
wrap-valgrind.sh Merge #17829: scripted-diff: Bump copyright of files changed in 2019 2023-12-06 11:40:14 -06:00
wrap-wine.sh Merge #21138: ci: Re-run wine tests once if they fail 2024-04-11 02:25:06 +07:00