[lsb-discuss] Statistics on RPM test failures
Jeff Licquia
jeff at licquia.org
Tue Jul 22 14:25:55 PDT 2008
Jeff Licquia wrote:
> The results are in the attached CSV file. The number of test failures
> per test purpose (the "200" line of the journal) is given, and the list
> is sorted by distribution and number of failures.
From a conversation on IRC with Mats, who is on the road and
connectivity-impaired...
The test purposes that just refer to checking a number refer to RPM tags
that aren't recognized by pkgchk. We should make sure they are all
recognized, even those we decide not to add to the standard.
From some code Mats had laying around, he was able to extract some
useful lists. (Sorry for the weird formatting; it's cut-n-paste from IRC.)
"fileclass": [1141, RPM_INT32, None, 0],
"filedependsx": [1143, RPM_INT32, None, 0],
"filedependsn": [1144, RPM_INT32, None, 0],
"classdict": [1142, RPM_STRING_ARRAY, None, 0],
"dependsdict": [1145, RPM_INT32, None, 0],
# data from files marked with "%policy" in specfiles
"policies": [1150, RPM_STRING_ARRAY, None, 0],
"filecontexts": [1147, RPM_STRING_ARRAY, None, 0], # selinux
filecontexts
"epoch": [1003, RPM_INT32, 1, 0],
# triggers:
"triggername": [1066, RPM_STRING_ARRAY, None, 4],
"triggerflags": [1068, RPM_INT32, None, 4],
"triggerversion": [1067, RPM_STRING_ARRAY, None, 4],
"triggerscripts": [1065, RPM_STRING_ARRAY, None, 4],
"triggerscriptprog": [1092, RPM_STRING_ARRAY, None, 4],
"triggerindex": [1069, RPM_INT32, None, 4],
"prefixes": [1098, RPM_STRING_ARRAY, None, 4], # relocatable rpm
packages
"posttrans": [1152, RPM_STRING, None, 4],
"posttransprog": [1154, RPM_ARGSTRING, None, 4],
That's the Fedora set
for suse, add:
"sourcepkgid": [1146, RPM_BIN, 16, 4], # md5 from srpm
(header+payload)
# tags used in openSuSE:
"suggestsname": [1156, RPM_STRING_ARRAY, None, 5],
"suggestsversion": [1157, RPM_STRING_ARRAY, None, 5],
"suggestsflags": [1158, RPM_INT32, None, 5],
"enhancesname": [1159, RPM_STRING_ARRAY, None, 5],
"enhancesversion": [1160, RPM_STRING_ARRAY, None, 5],
"enhancesflags": [1161, RPM_INT32, None, 5],
54, RPM_ARGSTRING, None, 4],
oops
supposed to be:
"verifyscriptprog": [1091, RPM_ARGSTRING, None, 4],
"verifyscript": [1079, RPM_STRING, None, 4],
# tags not in Fedora Core development trees anymore:
"capability": [1105, RPM_INT32, None, 1],
"xpm": [1013, RPM_BIN, None, 1],
"gif": [1012, RPM_BIN, None, 1],
More information about the lsb-discuss
mailing list