# "rchitecture mismatch" -> should never build on this arch
# Stop working on this log at this point
string => 'rchitecture mismatch',
- message => 'architecture mismatch',
+ message => 'Architecture mismatch',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
},
{
string => 'not in arch list or does not match any',
- message => 'architecture mismatch',
+ message => 'Architecture mismatch',
+ check => 1,
+ stop => 1,
+ timeout => 0, # This is a real error, not a build timeout
+ },
+ {
+ string => 'schroot.*File is not owned by user root',
+ message => 'Schroot setup failure',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
},
{
string => 'No space left on device',
- message => 'ran out of disk space',
+ message => 'Build ran out of disk space',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
# built. Why not picked up already above?.
# Stop working on this log at this point
string => 'binary build with no binary artifacts found',
- message => 'no binaries built',
+ message => 'No binaries built',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
{
# "Bus error" -> alignment bug
string => 'Bus error',
- message => 'alignment problem',
+ message => 'Alignment problem',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
# "Segmentation fault" -> code problem
string => 'Segmentation fault',
pstring => 'Setting up (\S+)',
- message => 'Segmentation fault (RESULT)',
+ message => 'Segmentation fault when installing RESULT',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
# "Illegal instruction" -> bad build target?
string => 'Illegal instruction',
pstring => 'Setting up (\S+)',
- message => 'Illegal instruction (RESULT)',
+ message => 'Illegal instruction when installing RESULT',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
{
# Installing build-deps failed
string => 'dpkg: error processing package (\S+)',
- message => 'build-dep failed to install (RESULT)',
+ message => 'Build-dep failed to install (RESULT)',
check => 1,
stop => 0,
timeout => 0, # This is a real error, not a build timeout
{
# Installing build-deps failed
string => 'E: pbuilder-satisfydepends failed.',
- message => 'pbuilder build-deps failed',
+ message => 'Pbuilder build-deps failed',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
{
# Installing build-deps failed
string => 'E: Unmet dependencies',
- message => 'build-deps failed',
+ message => 'Build-deps failed',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
},
{
# Installing build-deps failed
- string => 'unsat-dependency: (.*)',
- message => 'missing build-dep (RESULT)',
+ string => 'unsat-dependency: (\S+)',
+ message => 'Missing build-dep (RESULT)',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
{
# Build failed - missing build-dep?
string => 'build dependencies/conflicts unsatisfied',
- message => 'build-deps not satisfiable',
+ message => 'Build-deps not satisfiable',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
{
# Build failed - missing build-dep?
string => 'ld: cannot find',
- message => 'build failure: missing library - missing build-dep?',
+ message => 'Build failure: missing library - missing build-dep?',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
{
# Build failed - missing build-dep?
string => 'fatal error:.*No such file or directory',
- message => 'build failure: missing header - missing build-dep?',
+ message => 'Build failure: missing header - missing build-dep?',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
{
# Build failed - missing build-dep?
string => 'SEVERE: Cannot resolve dependencies',
- message => 'build failure - missing build-dep?',
+ message => 'Build failure - missing build-dep?',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
{
# Build failed - can't exec something...
string => 'error trying to exec.*execvp: No',
- message => 'build failure (missing binary)',
+ message => 'Build failure (missing binary)',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
{
# Build failed
string => 'BUILD FAILED',
- message => 'build failure (java/javadoc))',
+ message => 'Build failure (java/javadoc))',
check => 1,
stop => 1,
timeout => 0, # This is a real error, not a build timeout
{
# Build failed
string => 'make.*returned exit code',
- message => 'build failure (other)',
+ message => 'Build failure (other)',
check => 1,
stop => 0,
timeout => 0, # This is a real error, not a build timeout
{
# Build failed
string => '^make.*\*\*\*.* \[debian/rules.*Error \d+$',
- message => 'build failure (other)',
+ message => 'Build failure (other)',
check => 1,
stop => 0,
timeout => 0, # This is a real error, not a build timeout
{
# Build failed
string => 'fakeroot debian/rules binary',
- message => 'build failure (other)',
+ message => 'Build failure (other)',
check => 0,
stop => 1,
},
{
# Test failure
string => 'OSError: \[Errno 13\] Permission denied',
- message => 'python EPERM test failure',
+ message => 'Python EPERM test failure',
check => 1,
stop => 1,
},
{
# Test failure
string => 'dh_auto_test:.*returned exit code \d+',
- message => 'test failure',
+ message => 'Test failure',
check => 1,
stop => 1,
},
{
# Timeout. pbuilder is too dumb to do this properly :-(
string => 'I: Terminating build process due to timeout',
- message => 'pbuilder build timeout',
+ message => 'Pbuilder build timeout',
check => 1,
stop => 1,
timeout => 1, # This is a build timeout. If this happened
{
# Timeout from sbuild
string => 'Build killed with signal TERM after \d+ minutes of inactivity',
- message => 'sbuild build timeout',
+ message => 'Sbuild build timeout',
check => 1,
stop => 1,
timeout => 1, # This is a build timeout. If this happened
print "</head>\n";
print "<body>\n";
print "<h1>Build log analysis</h1>\n";
+print "<p><a href=\"#summary\">Summary</a></p>\n";
print "<h2>Packages</h2>\n";
print "<ol>\n";
}
close IN;
# End of checking this package
- print " <li><strong>found errors: $errors</strong>\n";
+ print " <li><strong>Found errors: $errors</strong>\n";
if (!$errors) {
print " (maybe just timed out during build?)\n";
}
}
print "</ol>\n";
+print "<a name=\"summary\"</a>\n";
print "<h2>Summary of results from $num_fail failed builds:</h2>\n";
-print "<ol>\n";
+print "<ul>\n";
print "<li>Found $existing_bugs existing bugs</li>\n";
foreach my $key (sort { $log_results{$b} <=> $log_results{$a} } keys %log_results) {
print " <li>Found $log_results{$key} logs showing $key\n";
}
-print "</ol>\n";
+print "</ul>\n";
print "</body>\n";
print "</html>\n";