2015-01-19 9:24 GMT+01:00 Domen Vrankar <[email protected]>:

> I've noticed CPack/RPM test fails on dashboard for two
> Fedora-19-x86_64 machines:
>
> https://open.cdash.org/buildSummary.php?buildid=3658687
> https://open.cdash.org/buildSummary.php?buildid=3658677
>
> Would it be possible to get generated rpm files from one of them for
> analysis?
>
>
> /home/kevin/kitware/CMake_Build/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-Unspecified.rpm
>
> /home/kevin/kitware/CMake_Build/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-applications.rpm
>
> /home/kevin/kitware/CMake_Build/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-headers.rpm
>
> /home/kevin/kitware/CMake_Build/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-libraries.rpm
>

From:
https://open.cdash.org/testDetails.php?test=307325450&build=3658677
you get that:

-- actual_count='4'
CMake Error at 
/home/kevin/kitware/CMake/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake:193
(message):
  error:
  
'/home/kevin/kitware/CMake_Build/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-libraries.rpm'
  rpm package relocation path does not match expected value - regex
  'Relocations : /usr /usr/lib'


May be you can make  "RunCPackVerifyResult.cmake" more verbose when a
failure occurs?
(i.e. a bunch of extra rpm query on the culprit generated RPM) and/or more
informations
in the error message.

In particular, you have the "expected" value but onot the "actual" content,
may be you miss the "check_file_content" display in error cases?

That way you'll automatically get more informations on every failure.

Getting your hand on the RPM itself would help but in my experience it
tends to slow down the test loop.

-- 
Eric
L'élection n'est pas la démocratie -- http://www.le-message.org
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to