Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build of trtexec_vendor fails in build-and-test CIs #5745

Closed
3 tasks done
kminoda opened this issue Dec 1, 2023 · 1 comment
Closed
3 tasks done

Build of trtexec_vendor fails in build-and-test CIs #5745

kminoda opened this issue Dec 1, 2023 · 1 comment
Labels
type:bug Software flaws or errors.

Comments

@kminoda
Copy link
Contributor

kminoda commented Dec 1, 2023

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

As stated in the title.

Sample link: https://github.com/autowarefoundation/autoware.universe/actions/runs/7040161411/job/19160584884

Build failure message:

Starting >>> trtexec_vendor
--- output: trtexec_vendor
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ament_cmake: 1.3.5 (/opt/ros/humble/share/ament_cmake/cmake)
-- Found Python3: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found CUDA: /usr/local/cuda (found version "12.3") 
-- Found cudnn_cmake_module: 0.0.1 (/opt/ros/humble/share/cudnn_cmake_module/cmake)
-- Found CUDNN: /usr/lib/aarch64-linux-gnu/libcudnn.so (found version "8.9.6") 
-- Found tensorrt_cmake_module: 0.0.3 (/opt/ros/humble/share/tensorrt_cmake_module/cmake)
-- Found TensorRT headers at /usr/include/aarch64-linux-gnu
-- Found TensorRT libs at /usr/lib/aarch64-linux-gnu/libnvinfer.so;/usr/lib/aarch64-linux-gnu/libnvinfer_plugin.so;/usr/lib/aarch64-linux-gnu/libnvparsers.so;/usr/lib/aarch64-linux-gnu/libnvonnxparser.so
-- Found TENSORRT: /usr/include/aarch64-linux-gnu (found version "8.6.2") 
[ 11%] Creating directories for 'tensorrt-populate'
[ 22%] Performing download step (git clone) for 'tensorrt-populate'
Cloning into 'tensorrt-src'...
fatal: unable to access 'https://github.com/NVIDIA/TensorRT/': Could not resolve host: github.com
Cloning into 'tensorrt-src'...
fatal: unable to access 'https://github.com/NVIDIA/TensorRT/': Could not resolve host: github.com
Cloning into 'tensorrt-src'...
fatal: unable to access 'https://github.com/NVIDIA/TensorRT/': Could not resolve host: github.com
-- Had to git clone more than once:
          3 times.
CMake Error at tensorrt-subbuild/tensorrt-populate-prefix/tmp/tensorrt-populate-gitclone.cmake:31 (message):
  Failed to clone repository: 'https://github.com/NVIDIA/TensorRT'


gmake[2]: *** [CMakeFiles/tensorrt-populate.dir/build.make:102: tensorrt-populate-prefix/src/tensorrt-populate-stamp/tensorrt-populate-download] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/tensorrt-populate.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

CMake Error at /usr/share/cmake-3.22/Modules/FetchContent.cmake:1087 (message):
  Build step for tensorrt failed: 2
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FetchContent.cmake:1216:EVAL:2 (__FetchContent_directPopulate)
  /usr/share/cmake-3.22/Modules/FetchContent.cmake:1216 (cmake_language)
  CMakeLists.txt:40 (fetchcontent_populate)


-- Configuring incomplete, errors occurred!
See also "/__w/autoware.universe/autoware.universe/build/trtexec_vendor/CMakeFiles/CMakeOutput.log".
See also "/__w/autoware.universe/autoware.universe/build/trtexec_vendor/CMakeFiles/CMakeError.log".
---
--- stderr: trtexec_vendor
[ 11%] Creating directories for 'tensorrt-populate'
[ 22%] Performing download step (git clone) for 'tensorrt-populate'
Cloning into 'tensorrt-src'...
fatal: unable to access 'https://github.com/NVIDIA/TensorRT/': Could not resolve host: github.com
Cloning into 'tensorrt-src'...
fatal: unable to access 'https://github.com/NVIDIA/TensorRT/': Could not resolve host: github.com
Cloning into 'tensorrt-src'...
fatal: unable to access 'https://github.com/NVIDIA/TensorRT/': Could not resolve host: github.com
-- Had to git clone more than once:
          3 times.
CMake Error at tensorrt-subbuild/tensorrt-populate-prefix/tmp/tensorrt-populate-gitclone.cmake:31 (message):
  Failed to clone repository: 'https://github.com/NVIDIA/TensorRT'


gmake[2]: *** [CMakeFiles/tensorrt-populate.dir/build.make:102: tensorrt-populate-prefix/src/tensorrt-populate-stamp/tensorrt-populate-download] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/tensorrt-populate.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

CMake Error at /usr/share/cmake-3.22/Modules/FetchContent.cmake:1087 (message):
  Build step for tensorrt failed: 2
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FetchContent.cmake:1216:EVAL:2 (__FetchContent_directPopulate)
  /usr/share/cmake-3.22/Modules/FetchContent.cmake:1216 (cmake_language)
  CMakeLists.txt:40 (fetchcontent_populate)


---
Failed   <<< trtexec_vendor [1.31s, exited with code 1]

Expected behavior

The build test should pass

Actual behavior

The build fails resulting in a CI failure.

Steps to reproduce

See the CI results

Versions

On the GitHub Actions CI

Possible causes

No response

Additional context

No response

@idorobotics idorobotics added the type:bug Software flaws or errors. label Dec 4, 2023
@wep21
Copy link
Contributor

wep21 commented Dec 5, 2023

The package was removed by this PR.

@wep21 wep21 closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Software flaws or errors.
Projects
None yet
Development

No branches or pull requests

3 participants