| Summary: | Submission fails if previous build is partially finished (i586 build is OK and x86_64 build failed) | ||
|---|---|---|---|
| Product: | Infrastructure | Reporter: | Jani Välimaa <jani.valimaa> |
| Component: | BuildSystem | Assignee: | Pascal Terjan <pterjan> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | marja11, pterjan, sysadmin-bugs |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 858 | ||
|
Description
Jani Välimaa
2011-06-19 09:35:52 CEST
Nicolas Vigier
2012-01-13 23:11:10 CET
Status:
NEW =>
ASSIGNED
Nicolas Vigier
2012-01-13 23:12:08 CET
Blocks:
(none) =>
858 ulri bug, built packages for that prefix should be moved from done to failed upon failure of the other arch. CC:
(none) =>
pterjan So, the code exists:
foreach my $rpm (@{$ent->{rpms}}) {
my $file = "$done_dir/${prefix}_$rpm";
plog('DEBUG', "moving built rpm $file to $fail_dir/${prefix}_$rpm");
link $file, "$fail_dir/${prefix}_$rpm";
unlink $file;
}
But $ent->{rpms} is always empty because it gets filled by looking at files named $prefix_*.rpm and built files don't have the prefix.
} elsif ($r =~ /(\d{14}\.\w+\.\w+\.\d+)_(.*\.([^.]+)\.rpm)$/) {
my ($prefix, $rpm) = ($1, $2);
plog('DEBUG', "found already built rpm $rpm ($prefix)");
push @{$pkg_tree{$prefix}{rpms}} , $rpm;
}
Actually I am wrong, they are correctly prefixed. The bug is that it does not handle the src.rpm. Fixing.
Pascal Terjan
2012-01-30 00:59:05 CET
Assignee:
sysadmin-bugs =>
pterjan Hmm the code to handle the src.rpm is broken and easy to fix, but it should currently work as the src.rpm is listed as a built rpm (in $ent->{rpms}) so it should be moved...
There is probably another bug in addition to the two bugs I found so far which cancel each other.
Nicolas Vigier
2014-03-24 10:52:48 CET
CC:
boklm =>
(none) |