View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015442CMakeCMakepublic2015-03-13 03:182015-03-17 12:55
ReporterDaniel TISCHER 
Assigned ToDomen Vrankar 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinux x64OSOracle LinuxOS Version6.6
Product VersionCMake 3.2.1 
Target VersionFixed in VersionCMake 3.3 
Summary0015442: Test 124 fails, space before colon in check_file_match_expected_relocation_path
DescriptionThe following tests FAILED:
        124 - CPackComponentsForAll-RPM-IgnoreGroup (Failed)


124: error:
124: '/home/quickbuild/workspace/root/packages/cmake/BUILD/cmake-3.2.1/build/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-headers.rpm'
124: rpm package relocation path does not match expected value - regex
124: 'Relocations : /usr/foo/bar /usr/foo/bar/include'; RPM output: 'Name :
124: mylib-headers Relocations: /usr/foo/bar /usr/foo/bar/include


[root@jawas ~]# rpm -qpi /home/quickbuild/workspace/root/packages/cmake/BUILD/cmake-3.2.1/build/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-headers.rpm
Name : mylib-headers Relocations: /usr/foo/bar /usr/foo/bar/include
Version : 1.0.2 Vendor: CMake.org
Release : 1 Build Date: Thu 12 Mar 2015 09:36:37 PM CET

--> there is no space between "Relocations" and colon ":"
Steps To Reproducerun tests
Additional InformationRunCPackVerifyResult.cmake
lines 167, 174, 180, 186

 set(check_file_match_expected_relocation_path "Relocations :
                                                 ----------^

[root@jawas ~]# rpm --version
RPM version 4.8.0
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038219)
Domen Vrankar (developer)
2015-03-15 16:26

This is automated test bug - CPack/RPM module works correctly on the specified OS with specified rpm version.
Older versions of rpm seem to have different package info output format.

Reported test bug is fixed with commit:
http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4552bc8 [^]

During testing on Oracle Linux 6.6 rpm architecture test also failed.
Fixed with commit:
http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=140a53a [^]

 Issue History
Date Modified Username Field Change
2015-03-13 03:18 Daniel TISCHER New Issue
2015-03-13 03:39 Domen Vrankar Assigned To => Domen Vrankar
2015-03-13 03:39 Domen Vrankar Status new => assigned
2015-03-15 16:26 Domen Vrankar Note Added: 0038219
2015-03-15 16:27 Domen Vrankar Status assigned => resolved
2015-03-15 16:27 Domen Vrankar Resolution open => fixed
2015-03-17 12:55 Domen Vrankar Status resolved => closed
2015-03-17 12:55 Domen Vrankar Fixed in Version => CMake 3.3


Copyright © 2000 - 2018 MantisBT Team