+cf-natali

Looks like we need to upload a new docker image for tidy given the boost
upgrade, similar to what you did here:
https://github.com/apache/mesos/pull/451
However, the docker image build fails for me, *and* I'm not able to login
to docker hub at the moment due to an error (I've filed a support request
with them).

docker build -t mesos-tidy .
...
8.344 fatal: unable to access 'http://git.llvm.org/git/llvm/': Maximum (20)
redirects followed
...
ERROR: failed to solve: process "/bin/sh -c git clone --depth 1 -b
release_90 http://llvm.org/git/llvm /tmp/llvm &&   git clone --depth 1 -b
mesos_90 http://github.com/mesos/clang.git /tmp/llvm/tools/clang &&   git
clone --depth 1 -b mesos_90 http://github.com/mesos/clang-tools-extra.git
/tmp/llvm/tools/clang/tools/extra &&     cmake /tmp/llvm
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt &&   cmake --build
tools/clang/lib/Headers --target install -- -j $(nproc) &&   cmake --build
tools/clang/tools/extra/clang-tidy --target install -- -j $(nproc) &&
cd / &&   rm -rf /tmp/llvm &&   rm -rf /tmp/build" did not complete
successfully: exit code: 128

Charles, are you able to build and upload a new tidy image?

On Mon, Feb 19, 2024 at 11:25 PM Apache Jenkins Server <
[email protected]> wrote:

> See <
> https://ci-builds.apache.org/job/Mesos/job/Mesos-Tidybot/CMAKE_ARGS=-DENABLE_LIBEVENT=OFF%20-DENABLE_SSL=OFF,label_exp=ubuntu/143/display/redirect?page=changes
> >
>
> Changes:
>
> [Benjamin Mahler] [cgroups2] Add cgroups2.hpp and cgroups2.cpp to Mesos
> build.
>
>
> ------------------------------------------
> Started by upstream project "Mesos/Mesos-Tidybot" build number 143
> originally caused by:
>  Started by an SCM change
> Running as SYSTEM
> [EnvInject] - Loading node environment variables.
> Building remotely on builds59 (ubuntu) in workspace <
> https://ci-builds.apache.org/job/Mesos/job/Mesos-Tidybot/CMAKE_ARGS=-DENABLE_LIBEVENT=OFF%20-DENABLE_SSL=OFF,label_exp=ubuntu/ws/
> >
> The recommended git tool is: git
> No credentials specified
> Wiping out workspace first.
> Cloning the remote Git repository
> Cloning repository https://github.com/apache/mesos.git
>  > git init <
> https://ci-builds.apache.org/job/Mesos/job/Mesos-Tidybot/CMAKE_ARGS=-DENABLE_LIBEVENT=OFF%20-DENABLE_SSL=OFF,label_exp=ubuntu/ws/>
> # timeout=10
> Fetching upstream changes from https://github.com/apache/mesos.git
>  > git --version # timeout=10
>  > git --version # 'git version 2.34.1'
>  > git fetch --tags --force --progress --
> https://github.com/apache/mesos.git +refs/heads/*:refs/remotes/origin/* #
> timeout=10
>  > git config remote.origin.url https://github.com/apache/mesos.git #
> timeout=10
>  > git config --add remote.origin.fetch
> +refs/heads/*:refs/remotes/origin/* # timeout=10
> Avoid second fetch
> Checking out Revision bdf6cc199e72715243e9aeb2a2c2ce29793fb71d
> (origin/master)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f bdf6cc199e72715243e9aeb2a2c2ce29793fb71d # timeout=10
> Commit message: "[cgroups2] Add cgroups2.hpp and cgroups2.cpp to Mesos
> build."
>  > git rev-list --no-walk ac352a7f295c80f401f89e5dc02caeb89dfbbb5d #
> timeout=10
> [ubuntu] $ /bin/sh -xe /tmp/jenkins867638908279689147.sh
> + ./support/jenkins/tidybot.sh
> Using default tag: latest
> latest: Pulling from mesos/mesos-tidy
> f7277927d38a: Pulling fs layer
> 8d3eac894db4: Pulling fs layer
> edf72af6d627: Pulling fs layer
> 3e4f86211d23: Pulling fs layer
> bb1f56e258b2: Pulling fs layer
> 8a38d45c9398: Pulling fs layer
> e606498c69d1: Pulling fs layer
> ec0d66f1d695: Pulling fs layer
> 34eb64f4e057: Pulling fs layer
> 7fd173d75121: Pulling fs layer
> 366ff4cb255c: Pulling fs layer
> 92300132d70e: Pulling fs layer
> eed7f1cb60ec: Pulling fs layer
> e47acaaca3bf: Pulling fs layer
> 6e2bb27922fd: Pulling fs layer
> 80f6677dda2b: Pulling fs layer
> 34eb64f4e057: Waiting
> bb1f56e258b2: Waiting
> 7fd173d75121: Waiting
> 8a38d45c9398: Waiting
> 366ff4cb255c: Waiting
> 92300132d70e: Waiting
> e606498c69d1: Waiting
> eed7f1cb60ec: Waiting
> ec0d66f1d695: Waiting
> e47acaaca3bf: Waiting
> 80f6677dda2b: Waiting
> 6e2bb27922fd: Waiting
> 3e4f86211d23: Waiting
> 8d3eac894db4: Verifying Checksum
> 8d3eac894db4: Download complete
> edf72af6d627: Download complete
> 3e4f86211d23: Verifying Checksum
> 3e4f86211d23: Download complete
> bb1f56e258b2: Download complete
> f7277927d38a: Verifying Checksum
> f7277927d38a: Download complete
> ec0d66f1d695: Verifying Checksum
> ec0d66f1d695: Download complete
> 34eb64f4e057: Download complete
> 7fd173d75121: Verifying Checksum
> 7fd173d75121: Download complete
> f7277927d38a: Pull complete
> 8d3eac894db4: Pull complete
> edf72af6d627: Pull complete
> 3e4f86211d23: Pull complete
> bb1f56e258b2: Pull complete
> 8a38d45c9398: Verifying Checksum
> 8a38d45c9398: Download complete
> 366ff4cb255c: Verifying Checksum
> 366ff4cb255c: Download complete
> eed7f1cb60ec: Verifying Checksum
> eed7f1cb60ec: Download complete
> 92300132d70e: Verifying Checksum
> 92300132d70e: Download complete
> 6e2bb27922fd: Download complete
> e47acaaca3bf: Verifying Checksum
> e47acaaca3bf: Download complete
> e606498c69d1: Verifying Checksum
> e606498c69d1: Download complete
> 80f6677dda2b: Download complete
> 8a38d45c9398: Pull complete
> e606498c69d1: Pull complete
> ec0d66f1d695: Pull complete
> 34eb64f4e057: Pull complete
> 7fd173d75121: Pull complete
> 366ff4cb255c: Pull complete
> 92300132d70e: Pull complete
> eed7f1cb60ec: Pull complete
> e47acaaca3bf: Pull complete
> 6e2bb27922fd: Pull complete
> 80f6677dda2b: Pull complete
> Digest:
> sha256:909791de7c274c7afbd5ba5ad904c55a495df04ea44a04978009cb22aeaa153f
> Status: Downloaded newer image for mesos/mesos-tidy:latest
> docker.io/mesos/mesos-tidy:latest
> Cloning into '/tmp/SRC'...
> Note: checking out 'bdf6cc199e72715243e9aeb2a2c2ce29793fb71d'.
>
> You are in 'detached HEAD' state. You can look around, make experimental
> changes and commit them, and you can discard any commits you make in this
> state without impacting any branches by performing another checkout.
>
> If you want to create a new branch to retain commits you create, you may
> do so (now or later) by using -b with the checkout command again. Example:
>
>   git checkout -b <new-branch-name>
>
> -- The C compiler identification is GNU 5.4.0
> -- The CXX compiler identification is GNU 5.4.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- cotire 1.7.10 loaded.
> -- ************************************************************
> -- ********* Beginning Mesos CMake configuration step *********
> -- ************************************************************
> -- INSTALLATION PREFIX: /usr/local
> -- MACHINE SPECS:
> --     Hostname:
> --     OS:       LINUX(5.15.0-94-GENERIC)
> --     Arch:     X86_64
> --     BitMode:
> --     BuildID:
> -- ************************************************************
> -- Performing Test STRONG_STACK_PROTECTORS
> -- Performing Test STRONG_STACK_PROTECTORS - Success
> -- Performing Test STACK_PROTECTORS
> -- Performing Test STACK_PROTECTORS - Success
> -- Found APR library: /usr/lib/x86_64-linux-gnu/libapr-1.so
> -- Found APR header: /usr/include/apr-1.0
> -- Found SVN library:
> /usr/lib/x86_64-linux-gnu/libsvn_delta-1.so;/usr/lib/x86_64-linux-gnu/libsvn_diff-1.so;/usr/lib/x86_64-linux-gnu/libsvn_subr-1.so
> -- Found SVN header: /usr/include/subversion-1
> -- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version
> "7.47.0")
> -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE
> CMake Warning (dev) at /usr/local/share/cmake-3.16/Modules/CPack.cmake:618
> (option):
>   Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
>   --help-policy CMP0077" for policy details.  Use the cmake_policy command
> to
>   set the policy and suppress this warning.
>
>   For compatibility with older versions of CMake, option is clearing the
>   normal variable 'CPACK_SOURCE_TGZ'.
> Call Stack (most recent call first):
>   CMakeLists.txt:97 (include)
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /BUILD
> make: *** No rule to make target 'boost-1.65.0'.  Stop.
> Untagged: mesos/mesos-tidy:latest
> Untagged: mesos/mesos-tidy@sha256
> :909791de7c274c7afbd5ba5ad904c55a495df04ea44a04978009cb22aeaa153f
> Deleted:
> sha256:1208d80bd8b1512642146a107afbee5c49420aa96f24ada42957e1003e8a5442
> Deleted:
> sha256:c9e36a99321ce468a42c5fe1c5085bbbacfa4adba12a44052490d0aafdea3af6
> Deleted:
> sha256:8706c4bb72afb324dd294e18700bd37f126092415f9bbe6b9ab19237374d1594
> Deleted:
> sha256:ede3d91b4835140144a735556359137b89caa2eeaabc8710b9d83d41f1d90671
> Deleted:
> sha256:67b76e4710cfa79984cbc15ca064e094bd8e0e0f1db90c4ea643434c307e949f
> Deleted:
> sha256:5b7b4de64322662a2f19b3b2d39bdf474b59869168f5973010cea4847f591c34
> Deleted:
> sha256:f463fa0420139eeab918473b58de2ec1117b37d2ded13681355277aac6d72cf4
> Deleted:
> sha256:bb3c0b87ed999c160f190fa15ba179d11cec725f62d17c98aaede19e5e82f970
> Deleted:
> sha256:212d5f91758bb82aff09ae3a8328b4a2929dbb9ed5dc3fbcfec378605619f12d
> Deleted:
> sha256:53592508e74e8925dbbeaba98f40d34f846dc7d2e8026325dc1cb353e672f7db
> Deleted:
> sha256:d5f84300edb4e57cf9e08f52e0de2561d15f53a8c9989f0d97924df139425d0a
> Deleted:
> sha256:c8fd70a85c5a0db671686ca11fcfa20c051210bbd2446c2ecea0715c17b002f4
> Deleted:
> sha256:2686916cff57aeb0132eedeaf0005684c6854dce0ea3dcc56c387d901285a40b
> Deleted:
> sha256:9f6a9daab62ba80b0c15987c10e0284a54ed6e4215b3c12b8608b2e4aac3b3e2
> Deleted:
> sha256:a8b8e5eedb5fd2d3fb35ed4773d6b0cdf1d4e4caddccd5d55b5d39c6ce5a4cda
> Deleted:
> sha256:30f14160ebdacef8ca253a54e9c86aa993f4666c24efa4dc27e02e76b9661bc7
> Deleted:
> sha256:f749b9b0fb213e9897417a985aaa9753d41bff474e1d0c0d1d266c4512eaf031
> Build step 'Execute shell' marked build as failure
>

Reply via email to