Changeset 27244 for trunk/tools/errors.pl
- Timestamp:
- Mar 10, 2010, 5:25:28 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/errors.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/errors.pl
r27243 r27244 57 57 $table = "warpSkyfile"; 58 58 } elsif ($stage eq "magic") { 59 $sql = "SELECT magic_id, node, 'unknown' AS hostname, CONCAT(workdir, ' .', node) FROM magicRun JOIN magicNodeResult USING(magic_id) WHERE magicNodeResult.fault != 0";59 $sql = "SELECT magic_id, node, 'unknown' AS hostname, CONCAT(workdir, '/', exp_id, '/', exp_id, '.', node) FROM magicRun JOIN magicNodeResult USING(magic_id) WHERE magicNodeResult.fault != 0"; 60 60 $table = "magicNodeResult"; 61 61 } else { … … 102 102 if ($log =~ /^neb:/) { 103 103 my $new = eval { $neb->find($log); }; 104 $bad{$name} = $log unless $new; 104 unless ($new) { 105 $bad{$name} = $log; 106 next; 107 } 105 108 $log = $new; 106 109 } … … 108 111 my $file; # Log file 109 112 open $file, $log; 113 unless ($file) { 114 $bad{$name} = $log; 115 next; 116 } 110 117 my @log = <$file>; # Contents of log file 111 118 close $file;
Note:
See TracChangeset
for help on using the changeset viewer.
