As per title. I tested running the tests with darling but no success,
there are some syscalls unimplemented.
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGINGe9130d44e9f2: [CI] Cross build for OSX
rABCe9130d44e9f2: [CI] Cross build for OSX
Run the CI build-osx build.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- ci_build_osx
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 10403 Build 18627: Default Diff Build & Tests Build 18626: arc lint + arc unit
Event Timeline
Comment Actions
Build Bitcoin-ABC / Diffs (Resource Intensive) / Resource Intensive Diff Testing (build-osx) failed.
Snippet of first build failure:
[00:19:49] : [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git show-ref refs/tags/phabricator/diff/19116 [00:19:49] : [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] Cleaning Bitcoin ABC Staging in /home/teamcity/buildAgent/work/jailed-build/bitcoin-abc the file set ALL_UNTRACKED [00:19:49] : [Update checkout directory (/home/teamcity/buildAgent/work/jailed-build/bitcoin-abc)] /usr/bin/git clean -f -d -x [00:19:49] : Build preparation done [00:19:49]E: Step 1/2: Command Line (6m:42s) [00:19:49] : [Step 1/2] Ant JUnit report watcher [00:19:49] : [Ant JUnit report watcher] Watching paths: [00:19:49] : [Ant JUnit report watcher] +:results/test_bitcoin.xml [00:19:49] : [Ant JUnit report watcher] +:results/**/junit_results*.xml [00:19:49] : [Step 1/2] Starting: /home/teamcity/buildAgent/temp/agentTmp/custom_script2410434716767007350 [00:19:49] : [Step 1/2] in directory: /home/teamcity/buildAgent/work/jailed-build [00:19:49] : [Step 1/2] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build [00:19:49] : [Step 1/2] ~/buildAgent/work/jailed-build [00:19:49] : [Step 1/2] Building base image for: 3704e2367... [00:19:49] : [Step 1/2] ~/buildAgent/work/jailed-build/bitcoin-abc ~/buildAgent/work/jailed-build [00:19:49] : [Step 1/2] ~/buildAgent/work/jailed-build [00:19:49] : [Step 1/2] Tag name: abc-base-image-3704e2367 [00:26:25]W: [Step 1/2] + : build-osx [00:26:25] : [Step 1/2] Running build configuration 'build-osx'... [00:26:25]W: [Step 1/2] + '[' -z build-osx ']' [00:26:25]W: [Step 1/2] + echo 'Running build configuration '\''build-osx'\''...' [00:26:25]W: [Step 1/2] ++ git rev-parse --show-toplevel [00:26:25]W: [Step 1/2] + TOPLEVEL=/work [00:26:25]W: [Step 1/2] + export TOPLEVEL [00:26:25]W: [Step 1/2] + trap print_sanitizers_log ERR [00:26:25]W: [Step 1/2] +++ dirname ./contrib/teamcity/build-configurations.sh [00:26:25]W: [Step 1/2] ++ cd ./contrib/teamcity [00:26:25]W: [Step 1/2] ++ pwd [00:26:25]W: [Step 1/2] + CI_SCRIPTS_DIR=/work/contrib/teamcity [00:26:25]W: [Step 1/2] + DEVTOOLS_DIR=/work/contrib/devtools [00:26:25]W: [Step 1/2] + setup [00:26:25]W: [Step 1/2] + : /work/build [00:26:25]W: [Step 1/2] + mkdir -p /work/build [00:26:25]W: [Step 1/2] ++ cd /work/build [00:26:25]W: [Step 1/2] ++ pwd [00:26:25]W: [Step 1/2] + BUILD_DIR=/work/build [00:26:25]W: [Step 1/2] + export BUILD_DIR [00:26:25]W: [Step 1/2] + cd /work/build [00:26:25]W: [Step 1/2] ++ nproc [00:26:25]W: [Step 1/2] + THREADS=12 [00:26:25]W: [Step 1/2] + export THREADS [00:26:25]W: [Step 1/2] + CMAKE_PLATFORMS_DIR=/work/cmake/platforms [00:26:25]W: [Step 1/2] + SAN_SUPP_DIR=/work/test/sanitizer_suppressions [00:26:25]W: [Step 1/2] + SAN_LOG_DIR=/tmp/sanitizer_logs [00:26:25]W: [Step 1/2] + mkdir -p /tmp/sanitizer_logs [00:26:25]W: [Step 1/2] + rm -rf '/tmp/sanitizer_logs/*' [00:26:25]W: [Step 1/2] + export ASAN_OPTIONS=log_path=/tmp/sanitizer_logs/asan.log [00:26:25]W: [Step 1/2] + ASAN_OPTIONS=log_path=/tmp/sanitizer_logs/asan.log [00:26:25]W: [Step 1/2] + export LSAN_OPTIONS=log_path=/tmp/sanitizer_logs/lsan.log [00:26:25]W: [Step 1/2] + LSAN_OPTIONS=log_path=/tmp/sanitizer_logs/lsan.log [00:26:25]W: [Step 1/2] + export TSAN_OPTIONS=log_path=/tmp/sanitizer_logs/tsan.log [00:26:25]W: [Step 1/2] + TSAN_OPTIONS=log_path=/tmp/sanitizer_logs/tsan.log [00:26:25]W: [Step 1/2] + export UBSAN_OPTIONS=log_path=/tmp/sanitizer_logs/ubsan.log [00:26:25]W: [Step 1/2] + UBSAN_OPTIONS=log_path=/tmp/sanitizer_logs/ubsan.log [00:26:25]W: [Step 1/2] + UNIT_TESTS_JUNIT_LOG_LEVEL=message [00:26:25]W: [Step 1/2] + case "$ABC_BUILD_NAME" in [00:26:25]W: [Step 1/2] ./contrib/teamcity/build-configurations.sh: line 305: PYTHONPATH: unbound variable [00:26:25]W: [Step 1/2] cp: cannot stat '/work/ibd/debug.log': No such file or directory [00:26:28]W: [Step 1/2] Process exited with code 1 [00:26:30]E: [Step 1/2] Process exited with code 1 (Step: Command Line)
Comment Actions
Build Bitcoin-ABC / Diffs (Resource Intensive) / Resource Intensive Diff Testing (build-osx) failed.
Snippet of first build failure:
[00:59:59]W: [Step 1/2] + cd /work/build
[00:59:59]W: [Step 1/2] + git clean -xffd
[00:59:59]W: [Step 1/2] + read -a CMAKE_FLAGS
[00:59:59]W: [Step 1/2] + cmake -GNinja .. -DENABLE_CLANG_TIDY=OFF -DCMAKE_TOOLCHAIN_FILE=/work/cmake/platforms/OSX.cmake
[00:59:59]W: [Step 1/2] CMake Warning at /usr/share/cmake-3.13/Modules/Platform/Darwin-Initialize.cmake:125 (message):
[00:59:59]W: [Step 1/2] Ignoring CMAKE_OSX_SYSROOT value:
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2] /work/depends/SDKs/MacOSX10.14.sdk
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2] because the directory does not exist.
[00:59:59]W: [Step 1/2] Call Stack (most recent call first):
[00:59:59]W: [Step 1/2] /usr/share/cmake-3.13/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
[00:59:59]W: [Step 1/2] CMakeLists.txt:9 (project)
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2]
[00:59:59] : [Step 1/2] -- The C compiler identification is Clang 6.0.1
[00:59:59] : [Step 1/2] -- The CXX compiler identification is Clang 6.0.1
[00:59:59] : [Step 1/2] -- Check for working C compiler: /work/depends/x86_64-apple-darwin16/native/bin/clang
[00:59:59] : [Step 1/2] -- Check for working C compiler: /work/depends/x86_64-apple-darwin16/native/bin/clang -- broken
[00:59:59]W: [Step 1/2] CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message):
[00:59:59]W: [Step 1/2] The C compiler
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2] "/work/depends/x86_64-apple-darwin16/native/bin/clang"
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2] is not able to compile a simple test program.
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2] It fails with the following output:
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2] Change Dir: /work/build/CMakeFiles/CMakeTmp
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2] Run Build Command:"/usr/bin/ninja" "cmTC_5b90b"
[00:59:59]W: [Step 1/2] [1/2] Building C object CMakeFiles/cmTC_5b90b.dir/testCCompiler.c.o
[00:59:59]W: [Step 1/2] [2/2] Linking C executable cmTC_5b90b
[00:59:59]W: [Step 1/2] FAILED: cmTC_5b90b
[00:59:59]W: [Step 1/2] : && /work/depends/x86_64-apple-darwin16/native/bin/clang --target=x86_64-apple-darwin16 -mmacosx-version-min=10.12 -Wl,-headerpad_max_install_names CMakeFiles/cmTC_5b90b.dir/testCCompiler.c.o -o cmTC_5b90b && :
[00:59:59]W: [Step 1/2] ld: warning: directory not found for option '-F/System/Library/Frameworks/'
[00:59:59]W: [Step 1/2] ld: library not found for -lSystem
[00:59:59]W: [Step 1/2] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[00:59:59]W: [Step 1/2] ninja: build stopped: subcommand failed.
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2]
[00:59:59]W: [Step 1/2] CMake will not be able to correctly generate this project.
[00:59:59]W: [Step 1/2] Call Stack (most recent call first):
[00:59:59] : [Step 1/2] -- Configuring incomplete, errors occurred!
[00:59:59]W: [Step 1/2] CMakeLists.txt:9 (project)
[00:59:59] : [Step 1/2] See also "/work/build/CMakeFiles/CMakeOutput.log".
[00:59:59]W: [Step 1/2]
[00:59:59] : [Step 1/2] See also "/work/build/CMakeFiles/CMakeError.log".
[00:59:59]W: [Step 1/2]
[00:59:59] : [Step 1/2] *** Output of /tmp/sanitizer_logs/*.log.* ***
[00:59:59]W: [Step 1/2] ++ print_sanitizers_log
[00:59:59]W: [Step 1/2] ++ for log in "${SAN_LOG_DIR}"/*.log.*
[00:59:59]W: [Step 1/2] ++ echo '*** Output of /tmp/sanitizer_logs/*.log.* ***'
[00:59:59]W: [Step 1/2] ++ cat '/tmp/sanitizer_logs/*.log.*'
[00:59:59]W: [Step 1/2] cat: '/tmp/sanitizer_logs/*.log.*': No such file or directory
[00:59:59]W: [Step 1/2] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[01:00:06]W: [Step 1/2] Process exited with code 1
[01:00:06]E: [Step 1/2] Process exited with code 1 (Step: Command Line)Comment Actions
Build Bitcoin-ABC / Diffs (Resource Intensive) / Resource Intensive Diff Testing (build-osx) failed.
Snippet of first build failure:
[08:36:18]W: [Step 1/2] + cd /work/build
[08:36:18]W: [Step 1/2] + git clean -xffd
[08:36:18]W: [Step 1/2] + read -a CMAKE_FLAGS
[08:36:18]W: [Step 1/2] + cmake -GNinja .. -DENABLE_CLANG_TIDY=OFF -DCMAKE_TOOLCHAIN_FILE=/work/cmake/platforms/OSX.cmake -DOSX_SDK_PATH=/root/abc-depends/osx-sdk
[08:36:18]W: [Step 1/2] CMake Warning at /usr/share/cmake-3.13/Modules/Platform/Darwin-Initialize.cmake:125 (message):
[08:36:18]W: [Step 1/2] Ignoring CMAKE_OSX_SYSROOT value:
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2] /work/depends/SDKs/MacOSX10.14.sdk;cache;PATH;Path to Apple SDK
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2] because the directory does not exist.
[08:36:18]W: [Step 1/2] Call Stack (most recent call first):
[08:36:18]W: [Step 1/2] /usr/share/cmake-3.13/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
[08:36:18]W: [Step 1/2] CMakeLists.txt:9 (project)
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2]
[08:36:18] : [Step 1/2] -- The C compiler identification is Clang 6.0.1
[08:36:18] : [Step 1/2] -- The CXX compiler identification is Clang 6.0.1
[08:36:18] : [Step 1/2] -- Check for working C compiler: /work/depends/x86_64-apple-darwin16/native/bin/clang
[08:36:18] : [Step 1/2] -- Check for working C compiler: /work/depends/x86_64-apple-darwin16/native/bin/clang -- broken
[08:36:18]W: [Step 1/2] CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message):
[08:36:18]W: [Step 1/2] The C compiler
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2] "/work/depends/x86_64-apple-darwin16/native/bin/clang"
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2] is not able to compile a simple test program.
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2] It fails with the following output:
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2] Change Dir: /work/build/CMakeFiles/CMakeTmp
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2] Run Build Command:"/usr/bin/ninja" "cmTC_1f13d"
[08:36:18]W: [Step 1/2] [1/2] Building C object CMakeFiles/cmTC_1f13d.dir/testCCompiler.c.o
[08:36:18]W: [Step 1/2] [2/2] Linking C executable cmTC_1f13d
[08:36:18]W: [Step 1/2] FAILED: cmTC_1f13d
[08:36:18]W: [Step 1/2] : && /work/depends/x86_64-apple-darwin16/native/bin/clang --target=x86_64-apple-darwin16 -mmacosx-version-min=10.12 -Wl,-headerpad_max_install_names CMakeFiles/cmTC_1f13d.dir/testCCompiler.c.o -o cmTC_1f13d && :
[08:36:18]W: [Step 1/2] ld: warning: directory not found for option '-F/System/Library/Frameworks/'
[08:36:18]W: [Step 1/2] ld: library not found for -lSystem
[08:36:18]W: [Step 1/2] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[08:36:18]W: [Step 1/2] ninja: build stopped: subcommand failed.
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2]
[08:36:18] : [Step 1/2] -- Configuring incomplete, errors occurred!
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2] CMake will not be able to correctly generate this project.
[08:36:18] : [Step 1/2] See also "/work/build/CMakeFiles/CMakeOutput.log".
[08:36:18]W: [Step 1/2] Call Stack (most recent call first):
[08:36:18] : [Step 1/2] See also "/work/build/CMakeFiles/CMakeError.log".
[08:36:18]W: [Step 1/2] CMakeLists.txt:9 (project)
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2]
[08:36:18]W: [Step 1/2] ++ print_sanitizers_log
[08:36:18] : [Step 1/2] *** Output of /tmp/sanitizer_logs/*.log.* ***
[08:36:18]W: [Step 1/2] ++ for log in "${SAN_LOG_DIR}"/*.log.*
[08:36:18]W: [Step 1/2] ++ echo '*** Output of /tmp/sanitizer_logs/*.log.* ***'
[08:36:18]W: [Step 1/2] ++ cat '/tmp/sanitizer_logs/*.log.*'
[08:36:18]W: [Step 1/2] cat: '/tmp/sanitizer_logs/*.log.*': No such file or directory
[08:36:18]W: [Step 1/2] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[08:36:26]W: [Step 1/2] Process exited with code 1
[08:36:26]E: [Step 1/2] Process exited with code 1 (Step: Command Line)Comment Actions
Build Bitcoin-ABC / Diffs (Resource Intensive) / Resource Intensive Diff Testing (build-osx) failed.
Snippet of first build failure:
[08:53:57]W: [Step 1/2] + cd /work/build
[08:53:57]W: [Step 1/2] + git clean -xffd
[08:53:57]W: [Step 1/2] + read -a CMAKE_FLAGS
[08:53:57]W: [Step 1/2] + cmake -GNinja .. -DENABLE_CLANG_TIDY=OFF -DCMAKE_TOOLCHAIN_FILE=/work/cmake/platforms/OSX.cmake -DOSX_SDK_PATH=/root/abc-depends/osx-sdk/MacOSX10.14.sdk
[08:53:57]W: [Step 1/2] CMake Warning at /usr/share/cmake-3.13/Modules/Platform/Darwin-Initialize.cmake:125 (message):
[08:53:57]W: [Step 1/2] Ignoring CMAKE_OSX_SYSROOT value:
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2] /work/depends/SDKs/MacOSX10.14.sdk;cache;PATH;Path to Apple SDK
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2] because the directory does not exist.
[08:53:57]W: [Step 1/2] Call Stack (most recent call first):
[08:53:57]W: [Step 1/2] /usr/share/cmake-3.13/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
[08:53:57]W: [Step 1/2] CMakeLists.txt:9 (project)
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2]
[08:53:57] : [Step 1/2] -- The C compiler identification is Clang 6.0.1
[08:53:57] : [Step 1/2] -- The CXX compiler identification is Clang 6.0.1
[08:53:57] : [Step 1/2] -- Check for working C compiler: /work/depends/x86_64-apple-darwin16/native/bin/clang
[08:53:57]W: [Step 1/2] CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message):
[08:53:57]W: [Step 1/2] The C compiler
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2] "/work/depends/x86_64-apple-darwin16/native/bin/clang"
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2] is not able to compile a simple test program.
[08:53:57] : [Step 1/2] -- Check for working C compiler: /work/depends/x86_64-apple-darwin16/native/bin/clang -- broken
[08:53:57]W: [Step 1/2]
[08:53:57] : [Step 1/2] -- Configuring incomplete, errors occurred!
[08:53:57]W: [Step 1/2] It fails with the following output:
[08:53:57] : [Step 1/2] See also "/work/build/CMakeFiles/CMakeOutput.log".
[08:53:57]W: [Step 1/2]
[08:53:57] : [Step 1/2] See also "/work/build/CMakeFiles/CMakeError.log".
[08:53:57]W: [Step 1/2] Change Dir: /work/build/CMakeFiles/CMakeTmp
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2] Run Build Command:"/usr/bin/ninja" "cmTC_b7735"
[08:53:57]W: [Step 1/2] [1/2] Building C object CMakeFiles/cmTC_b7735.dir/testCCompiler.c.o
[08:53:57]W: [Step 1/2] [2/2] Linking C executable cmTC_b7735
[08:53:57]W: [Step 1/2] FAILED: cmTC_b7735
[08:53:57]W: [Step 1/2] : && /work/depends/x86_64-apple-darwin16/native/bin/clang --target=x86_64-apple-darwin16 -mmacosx-version-min=10.12 -Wl,-headerpad_max_install_names CMakeFiles/cmTC_b7735.dir/testCCompiler.c.o -o cmTC_b7735 && :
[08:53:57]W: [Step 1/2] ld: warning: directory not found for option '-F/System/Library/Frameworks/'
[08:53:57]W: [Step 1/2] ld: library not found for -lSystem
[08:53:57]W: [Step 1/2] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[08:53:57]W: [Step 1/2] ninja: build stopped: subcommand failed.
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2] CMake will not be able to correctly generate this project.
[08:53:57]W: [Step 1/2] Call Stack (most recent call first):
[08:53:57]W: [Step 1/2] CMakeLists.txt:9 (project)
[08:53:57]W: [Step 1/2]
[08:53:57]W: [Step 1/2]
[08:53:57] : [Step 1/2] *** Output of /tmp/sanitizer_logs/*.log.* ***
[08:53:57]W: [Step 1/2] ++ print_sanitizers_log
[08:53:57]W: [Step 1/2] ++ for log in "${SAN_LOG_DIR}"/*.log.*
[08:53:57]W: [Step 1/2] ++ echo '*** Output of /tmp/sanitizer_logs/*.log.* ***'
[08:53:57]W: [Step 1/2] ++ cat '/tmp/sanitizer_logs/*.log.*'
[08:53:57]W: [Step 1/2] cat: '/tmp/sanitizer_logs/*.log.*': No such file or directory
[08:53:57]W: [Step 1/2] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[08:54:04]W: [Step 1/2] Process exited with code 1
[08:54:04]E: [Step 1/2] Process exited with code 1 (Step: Command Line)| contrib/devtools/build_depends.sh | ||
|---|---|---|
| 25 ↗ | (On Diff #19170) | The wget URL is broken. (didn't run in the diff build because the SDK was cached) |