ipa320 / care-o-bot

http://www.care-o-bot.de
Apache License 2.0
48 stars 41 forks source link

[travis] travis tests failing randomly #34

Closed fmessmer closed 7 years ago

fmessmer commented 7 years ago

As discussed here there seems to be a problem with travis tests failing "randomly". This should be investigated in more detail!

@ipa-fmw @ipa-mdl @ipa-bnm @ipa-mig FYI

mathias-luedtke commented 7 years ago

.travis.install.sh seems to fail.

run-parts: executing /etc/kernel/header_postinst.d/dkms 3.13.0-105-generic /boot/vmlinuz-3.13.0-105-generic
Creating symlink /var/lib/dkms/uvcvideo/1.1.1-3-realsense/source ->
                 /usr/src/uvcvideo-1.1.1-3-realsense
DKMS: add completed.
Error! Your kernel headers for kernel 4.4.0-51-generic cannot be found.
Please install the linux-headers-4.4.0-51-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
WARNING: DKMS module failed to installed; removing...
------------------------------
Deleting module version: 1.1.1-3-realsense
completely from the DKMS tree.

and at the end (of installl):

catkin_make -DCMAKE_BUILD_TYPE=Release install > /dev/null #2>&1
make[3]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[3]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[3]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
Makefile:102: *** "Can't find /usr/src/linux-headers-4.4.0-51-generic/include/linux/version.h".  Stop.
Makefile:102: *** "Can't find /usr/src/linux-headers-4.4.0-51-generic/include/linux/version.h".  Stop.
make[3]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
ret=$?
kill %%
exit $ret

The interesting part is silenced with > /dev/null #2>&1, same for https://github.com/ipa320/care-o-bot/blob/indigo_dev/.travis.install.sh#L25

http://wiki.ros.org/librealsense#Enable_Kernel_Sources might be worth a try.

mgruhler commented 7 years ago

@ipa-bnm is this fixed?