| 196 | | |
| 197 | | |
| 198 | | = Finding and dealing with errors = |
| 199 | | |
| 200 | | As shown above, the "{{{pantasks: status}}}" command will display failures for a particular processing stage. A handy script also exists for monitoring all stages for a particular label (basically a shortcut for using the 'Night summary' page of the {{{ippmonitor}}} (see above)). It is found in {{{/tools}}} under the build directory. Example usage is shown below. |
| 201 | | |
| 202 | | {{{ |
| 203 | | ./processing_quick_check.pl --label SweetSpot.20100409 |
| 204 | | }}} |
| 205 | | |
| 206 | | This provides the following output. |
| 207 | | |
| 208 | | {{{ |
| 209 | | chip stage |
| 210 | | SweetSpot.20100409 full 149 |
| 211 | | |
| 212 | | cam stage |
| 213 | | SweetSpot.20100409 full 149 |
| 214 | | |
| 215 | | fake stage |
| 216 | | SweetSpot.20100409 full 149 |
| 217 | | |
| 218 | | warp stage |
| 219 | | SweetSpot.20100409 full 149 |
| 220 | | |
| 221 | | stack stage |
| 222 | | |
| 223 | | diff stage |
| 224 | | SweetSpot.20100409 full 66 |
| 225 | | SweetSpot.20100409 new 1 |
| 226 | | |
| 227 | | magic stage |
| 228 | | |
| 229 | | magicDS stage |
| 230 | | |
| 231 | | dist stage |
| 232 | | |
| 233 | | ------------------- |
| 234 | | faults and log files |
| 235 | | |
| 236 | | diff new 4 neb://ipp034.0/gpc1/SweetSpot.20100409/2010/04/12/RINGS.V0/skycell.1500.091/RINGS.V0.skycell.1500.091.dif.50316.log |
| 237 | | }}} |
| 238 | | |
| 239 | | The output highlights a problem at the diff stage, and in the "{{{faults and log files}}}" section, the relevant log file is listed, which can be viewed using {{{neb-tail}}} as below. |
| 240 | | |
| 241 | | {{{ |
| 242 | | neb-tail neb://ipp034.0/gpc1/SweetSpot.20100409/2010/04/12/RINGS.V0/skycell.1500.091/RINGS.V0.skycell.1500.091.dif.50316.log |
| 243 | | }}} |
| 244 | | |
| 245 | | Another script in the {{{/tools}}} directory can be used to probe errors more thoroughly for a particular stage and label. The chip, camera, warp, stack, diff, magic and destreak stages are currently supported, as well as the use of multiple labels (wildcards are allowed). You can also search by a specific fault code (see table below), or limit the query. The output is the appropriate id and component, the machine it was run on, and the particular problem (e.g., a file that failed to be found, otherwise the resolved name of the processing log), all grouped into categories. With such a list, it's easy to identify patterns, e.g., a few warps are failing because of a single corrupt camera mask file, or machine 'X' can't read files on machine 'Y'. For example, using the same label as above: |
| 246 | | |
| 247 | | {{{ |
| 248 | | ./errors.pl --dbhost ippdb01 --dbuser ipp --dbpass ipp --dbname gpc1 --label 'SweetSpot.20100409' --stage diff |
| 249 | | }}} |
| 250 | | |
| 251 | | Will produce |
| 252 | | |
| 253 | | {{{ |
| 254 | | Total: 1 |
| 255 | | |
| 256 | | Assertion failures: 1 |
| 257 | | 50316.skycell.1500.091(ippc08): /data/ipp034.0/nebulous/61/ef/244153882.gpc1:SweetSpot.20100409:2010:04:12:RINGS.V0:skycell.1500.091:RINGS.V0.skycell.1500.091.dif.50316.log |
| 258 | | }}} |
| 259 | | |
| 260 | | The 'fault codes' mentioned above are as follows. |
| | 196 | = Finding and dealing with {{{stdscience}}} errors = |
| | 197 | |
| | 198 | == Finding log files == |
| | 199 | |
| | 200 | On the main [http://ipp004.ifa.hawaii.edu/ippMonitor/czartool_labels.php Czartool] display, if there are any faults, they are shown in parenthesis. These in fact form links that will take you to the relevant {{{ippMonitor}}} page for the processing stage and label in question. Here a table will list details of the offending exposures, one column of which is 'state' (which should be 'new'). Linking from these will display the log for that particular exposure (or chip) from which the error may be diagnosed. |
| | 201 | |
| | 202 | == Reverting == |
| | 203 | |
| | 204 | Another column in the same tables is 'fault', which are populated with integer values with the following definitions: |