Started by user Alexander Harkness [Pipeline] Start of Pipeline [Pipeline] node Running on cloudbuilder-14200 in /jenkins/workspace/linux-aarch64 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u jenkins -p ******** https://registry.cuberite.org WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /jenkins/workspace/linux-aarch64@tmp/10937960-4391-466d-a079-833d9dc421c1/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . cuberite/docker-ci/armhf:latest . [Pipeline] withDockerContainer cloudbuilder-14200 does not seem to be running inside a container $ docker run -t -d -u 0:0 -w /jenkins/workspace/linux-aarch64 -v /jenkins/workspace/linux-aarch64:/jenkins/workspace/linux-aarch64:rw,z -v /jenkins/workspace/linux-aarch64@tmp:/jenkins/workspace/linux-aarch64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** cuberite/docker-ci/armhf:latest cat $ docker top d6d140888ef4b171f5515d5565bbb18f65872e07babb94e0287e78a25e17f9b6 -eo pid,comm [Pipeline] { [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] checkout The recommended git tool is: NONE No credentials specified Warning: JENKINS-30600: special launcher org.jenkinsci.plugins.docker.workflow.WithContainerStep$Decorator$1@5f73c3f5; decorates RemoteLauncher[hudson.remoting.Channel@52fe6433:JNLP4-connect connection from 51.75.13.64/51.75.13.64:54684] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Wiping out workspace first. Cloning the remote Git repository Cloning repository https://github.com/cuberite/cuberite.git > git init /jenkins/workspace/linux-aarch64 # timeout=10 Fetching upstream changes from https://github.com/cuberite/cuberite.git > git --version # timeout=10 > git --version # 'git version 2.20.1' > git fetch --tags --force --progress -- https://github.com/cuberite/cuberite.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e3d0874f7d255e1d00cd2fd69b76b9414e8e3b5b (origin/master) Commit message: "ByteBuffer: fully defined Position handling" > git config remote.origin.url https://github.com/cuberite/cuberite.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/master^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3d0874f7d255e1d00cd2fd69b76b9414e8e3b5b # timeout=10 > git rev-list --no-walk e3d0874f7d255e1d00cd2fd69b76b9414e8e3b5b # timeout=10 [Pipeline] sh + git submodule update --init Submodule 'Server/Plugins/ChatLog' (https://github.com/cuberite/ChatLog.git) registered for path 'Server/Plugins/ChatLog' Submodule 'Server/Plugins/Core' (https://github.com/cuberite/Core.git) registered for path 'Server/Plugins/Core' Submodule 'Server/Plugins/ProtectionAreas' (https://github.com/cuberite/ProtectionAreas.git) registered for path 'Server/Plugins/ProtectionAreas' Submodule 'Tools/BlockTypePaletteGenerator/lib/lunajson' (https://github.com/grafi-tt/lunajson.git) registered for path 'Tools/BlockTypePaletteGenerator/lib/lunajson' Submodule 'lib/SQLiteCpp' (https://github.com/cuberite/SQLiteCpp.git) registered for path 'lib/SQLiteCpp' Submodule 'lib/TCLAP' (https://github.com/cuberite/TCLAP.git) registered for path 'lib/TCLAP' Submodule 'lib/cmake-coverage' (https://github.com/cuberite/cmake-coverage.git) registered for path 'lib/cmake-coverage' Submodule 'lib/expat' (https://github.com/cuberite/expat.git) registered for path 'lib/expat' Submodule 'lib/fmt' (https://github.com/fmtlib/fmt.git) registered for path 'lib/fmt' Submodule 'lib/jsoncpp' (https://github.com/open-source-parsers/jsoncpp.git) registered for path 'lib/jsoncpp' Submodule 'lib/libdeflate' (https://github.com/cuberite/libdeflate) registered for path 'lib/libdeflate' Submodule 'lib/libevent' (https://github.com/cuberite/libevent.git) registered for path 'lib/libevent' Submodule 'lib/lua' (https://github.com/cuberite/lua.git) registered for path 'lib/lua' Submodule 'lib/luaexpat' (https://github.com/cuberite/luaexpat.git) registered for path 'lib/luaexpat' Submodule 'lib/luaproxy' (https://github.com/cuberite/luaproxy.git) registered for path 'lib/luaproxy' Submodule 'lib/mbedtls' (https://github.com/cuberite/polarssl.git) registered for path 'lib/mbedtls' Submodule 'lib/sqlite' (https://github.com/cuberite/sqlite.git) registered for path 'lib/sqlite' Submodule 'lib/tolua++' (https://github.com/cuberite/toluapp.git) registered for path 'lib/tolua++' Cloning into '/jenkins/workspace/linux-aarch64/Server/Plugins/ChatLog'... Cloning into '/jenkins/workspace/linux-aarch64/Server/Plugins/Core'... Cloning into '/jenkins/workspace/linux-aarch64/Server/Plugins/ProtectionAreas'... Cloning into '/jenkins/workspace/linux-aarch64/Tools/BlockTypePaletteGenerator/lib/lunajson'... Cloning into '/jenkins/workspace/linux-aarch64/lib/SQLiteCpp'... Cloning into '/jenkins/workspace/linux-aarch64/lib/TCLAP'... Cloning into '/jenkins/workspace/linux-aarch64/lib/cmake-coverage'... Cloning into '/jenkins/workspace/linux-aarch64/lib/expat'... Cloning into '/jenkins/workspace/linux-aarch64/lib/fmt'... Cloning into '/jenkins/workspace/linux-aarch64/lib/jsoncpp'... Cloning into '/jenkins/workspace/linux-aarch64/lib/libdeflate'... Cloning into '/jenkins/workspace/linux-aarch64/lib/libevent'... Cloning into '/jenkins/workspace/linux-aarch64/lib/lua'... Cloning into '/jenkins/workspace/linux-aarch64/lib/luaexpat'... Cloning into '/jenkins/workspace/linux-aarch64/lib/luaproxy'... Cloning into '/jenkins/workspace/linux-aarch64/lib/mbedtls'... Cloning into '/jenkins/workspace/linux-aarch64/lib/sqlite'... Cloning into '/jenkins/workspace/linux-aarch64/lib/tolua++'... Submodule path 'Server/Plugins/ChatLog': checked out 'cc04da381b9aa683ee3bbd7013f9d3fd909db039' Submodule path 'Server/Plugins/Core': checked out '9913cece597eed01177086a620ad304a68a4693c' Submodule path 'Server/Plugins/ProtectionAreas': checked out '5cc1171bb11601ba6a7ba06a0e447d9df1e18e94' Submodule path 'Tools/BlockTypePaletteGenerator/lib/lunajson': checked out '1bdc886a9abb1be745fa7436f2a043b0455d70b8' Submodule path 'lib/SQLiteCpp': checked out 'b1f67393fdac05d7d05b7f1232de688e82a7e98f' Submodule path 'lib/TCLAP': checked out '07472612522e4da6b96f589ccd1d20607c28c2b8' Submodule path 'lib/cmake-coverage': checked out '25af3c657e42543e3e8b43378ebc5381e6260daa' Submodule path 'lib/expat': checked out 'e87c7903718ed7e05cbb614bbc385553987a2d33' Submodule path 'lib/fmt': checked out '7bdf0628b1276379886c7f6dda2cef2b3b374f0b' Submodule path 'lib/jsoncpp': checked out '9059f5cad030ba11d37818847443a53918c327b1' Submodule path 'lib/libdeflate': checked out 'cb1502021a723db7926c0823ac41f2190a2ecc7e' Submodule path 'lib/libevent': checked out 'bbc5fd64b34a26015f0b7bd9c6849fcaca7556b6' Submodule path 'lib/lua': checked out 'f543fd79318bf31c81141a07662eb71896a1d938' Submodule path 'lib/luaexpat': checked out 'd1986776c6c3d209a8410bd5928facf157dc42bd' Submodule path 'lib/luaproxy': checked out '9e4b11990b1e4e368f1cacb4cbf9d0e908da96b6' Submodule path 'lib/mbedtls': checked out '5e881e8ea9f3d420a58fa7802c604649c9766eb2' Submodule path 'lib/sqlite': checked out '9aeab26b00c0bf4c1c3d0afd61acaf08eaf949d3' Submodule path 'lib/tolua++': checked out '26e85c404baf1d2e5eb4a21660d1f37176d7ab33' [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Toolchain) [Pipeline] writeFile [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh + ./nightlybuild.sh -s Jenkins -t arm-linux-gnueabihf -b master -p aarch64.cmake -m Release -n #3 + [[ 12 -gt 1 ]] + key=-s + case $key in + SERVERNAME=Jenkins + shift + shift + [[ 10 -gt 1 ]] + key=-t + case $key in + TARGET=arm-linux-gnueabihf + shift + shift + [[ 8 -gt 1 ]] + key=-b + case $key in + BRANCH=master + shift + shift + [[ 6 -gt 1 ]] + key=-p + case $key in + TOOLCHAINFILE=-DCMAKE_TOOLCHAIN_FILE=aarch64.cmake + shift + shift + [[ 4 -gt 1 ]] + key=-m + case $key in + COMPILEMODE=-DCMAKE_BUILD_TYPE=Release + shift + shift + [[ 2 -gt 1 ]] + key=-n + case $key in + BUILDID='#3' + shift + shift + [[ 0 -gt 1 ]] + git submodule update --init + export 'CUBERITE_BUILD_SERIES_NAME=Jenkins arm-linux-gnueabihf -DCMAKE_BUILD_TYPE=Release (master)' + CUBERITE_BUILD_SERIES_NAME='Jenkins arm-linux-gnueabihf -DCMAKE_BUILD_TYPE=Release (master)' + export CUBERITE_BUILD_ID=#3 + CUBERITE_BUILD_ID='#3' ++ date + export 'CUBERITE_BUILD_DATETIME=Fri Jan 21 23:59:05 UTC 2022' + CUBERITE_BUILD_DATETIME='Fri Jan 21 23:59:05 UTC 2022' ++ command -v ccache + '[' -x '' ']' + CXX= + CC= + cmake . -DNO_NATIVE_OPTIMIZATION=1 -DCMAKE_TOOLCHAIN_FILE=aarch64.cmake -DCMAKE_BUILD_TYPE=Release -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is unknown -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc - broken CMake Error at /usr/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message): The C compiler "/usr/bin/aarch64-linux-gnu-gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /jenkins/workspace/linux-aarch64/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5b423/fast && /usr/bin/gmake -f CMakeFiles/cmTC_5b423.dir/build.make CMakeFiles/cmTC_5b423.dir/build gmake[1]: Entering directory '/jenkins/workspace/linux-aarch64/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5b423.dir/testCCompiler.c.o /usr/bin/aarch64-linux-gnu-gcc -o CMakeFiles/cmTC_5b423.dir/testCCompiler.c.o -c /jenkins/workspace/linux-aarch64/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_5b423 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5b423.dir/link.txt --verbose=1 /usr/bin/aarch64-linux-gnu-gcc CMakeFiles/cmTC_5b423.dir/testCCompiler.c.o -o cmTC_5b423 /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: cannot find Scrt1.o: No such file or directory /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: cannot find crti.o: No such file or directory collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_5b423.dir/build.make:106: cmTC_5b423] Error 1 gmake[1]: Leaving directory '/jenkins/workspace/linux-aarch64/CMakeFiles/CMakeTmp' gmake: *** [Makefile:140: cmTC_5b423/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:7 (project) CMake Error at CMakeLists.txt:7 (project): The CMAKE_CXX_COMPILER: aarch64-linux-gnu-g++ is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. -- Configuring incomplete, errors occurred! See also "/jenkins/workspace/linux-aarch64/CMakeFiles/CMakeOutput.log". See also "/jenkins/workspace/linux-aarch64/CMakeFiles/CMakeError.log". [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Artifacts) Stage "Artifacts" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 d6d140888ef4b171f5515d5565bbb18f65872e07babb94e0287e78a25e17f9b6 $ docker rm -f d6d140888ef4b171f5515d5565bbb18f65872e07babb94e0287e78a25e17f9b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE