robust-rosin / robust

A dataset of 200+ bugs in the Robot Operating System for BugZoo
30 stars 9 forks source link

Docker build fails for TurtleBot 3390789 #148

Open git-afsantos opened 5 years ago

git-afsantos commented 5 years ago

Docker command:

docker build -t robustrosin/test-3390789 \
-f ../../Dockerfile \
--build-arg UBUNTU_VERSION=trusty \
--build-arg IS_BUILD_FAILURE=yes \
--build-arg USE_APT_OLD_RELEASES=no \
--build-arg ROS_DISTRO=indigo \
--build-arg CATKIN_PKG=turtlebot_capabilities \
--build-arg REPO_FORK_URL=https://github.com/robust-rosin/turtlebot \
--build-arg REPO_BUG_COMMIT=3339a099564bbb3386fe98222001e2ce9d174bab \
--build-arg REPO_FIX_COMMIT=339078942cf67457bc472e07a3e75e9895ebf2f7 \
. 2>&1 | tee build.log

Error message:

E: Unable to locate package ros-indigo-turtlebot-capabilities ERROR: the following rosdeps failed to install apt: command [apt-get install -y ros-indigo-turtlebot-capabilities] failed executing command [apt-get install -y python-sip-dev] executing command [apt-get install -y libeigen3-dev] executing command [apt-get install -y libapr1-dev] executing command [apt-get install -y libaprutil1-dev] executing command [apt-get install -y python-opencv] executing command [apt-get install -y ros-indigo-turtlebot-capabilities] The command '/bin/sh -c apt-get clean && apt-get update && rosdep init && rosdep update && rosdep install --from-paths src -i --rosdistro=${ROS_DISTRO} -y --skip-keys="python-rosdep python-catkin-pkg python-rospkg" && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1

This is a bug related to circular dependencies. Is our process able to handle that? I see that it is trying to install the PUT through apt-get, which is likely due to the second package depending on the PUT (circular dependency).

@gavanderhoorn @ChrisTimperley

In the meanwhile, I will try a new build using the second package as PUT.

git-afsantos commented 5 years ago

The result is the same when I use turtlebot_bringup as the PUT.