##// END OF EJS Templates
test-chg: stabilize the log checking...
marmoute -
r52392:8b77ad54 stable
parent child Browse files
Show More
@@ -288,7 +288,9 b' print only the last 10 lines, since we a'
288 preserved (since setprocname isn't available on py3 and pure version,
288 preserved (since setprocname isn't available on py3 and pure version,
289 the 10th-most-recent line is different when using py3):
289 the 10th-most-recent line is different when using py3):
290
290
291 $ cat log/server.log.1 log/server.log | tail -10 | filterlog
291 (the "worker process exited" line is matched independently as it order is unstable with the "exiting" line, the worker might exit before the server decide to exit).
292
293 $ cat log/server.log.1 log/server.log | tail -10 | grep -v "worker process exited" | filterlog
292 YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ... (no-setprocname !)
294 YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ... (no-setprocname !)
293 YYYY/MM/DD HH:MM:SS (PID)> forked worker process (pid=...)
295 YYYY/MM/DD HH:MM:SS (PID)> forked worker process (pid=...)
294 YYYY/MM/DD HH:MM:SS (PID)> setprocname: ... (setprocname !)
296 YYYY/MM/DD HH:MM:SS (PID)> setprocname: ... (setprocname !)
@@ -298,8 +300,9 b' the 10th-most-recent line is different w'
298 YYYY/MM/DD HH:MM:SS (PID)> setenv: ...
300 YYYY/MM/DD HH:MM:SS (PID)> setenv: ...
299 YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ...
301 YYYY/MM/DD HH:MM:SS (PID)> confighash = ... mtimehash = ...
300 YYYY/MM/DD HH:MM:SS (PID)> validate: []
302 YYYY/MM/DD HH:MM:SS (PID)> validate: []
303 YYYY/MM/DD HH:MM:SS (PID)> $TESTTMP/extreload/chgsock/server-... is not owned, exiting.
304 $ cat log/server.log.1 log/server.log | tail -10 | grep "worker process exited" | filterlog
301 YYYY/MM/DD HH:MM:SS (PID)> worker process exited (pid=...)
305 YYYY/MM/DD HH:MM:SS (PID)> worker process exited (pid=...)
302 YYYY/MM/DD HH:MM:SS (PID)> $TESTTMP/extreload/chgsock/server-... is not owned, exiting.
303
306
304 global data mutated by schems
307 global data mutated by schems
305 -----------------------------
308 -----------------------------
General Comments 0
You need to be logged in to leave comments. Login now