Steps to replicate the issue (include links if applicable):
- Run a time-consuming script in a screen on deploy1003 using mwscript-k8s. (In this case I was running the following:
mwscript-k8s --comment=T398900 --follow --verbose --file=/srv/mediawiki-staging/php-1.45.0-wmf.12/extensions/SecurePoll/maintenance/wm-scripts/makeGlobalVoterList.php -- extensions/SecurePoll/maintenance/wm-scripts/makeGlobalVoterList.php --wiki=mediawikiwiki --edit-count-table=securepoll_bv2025_edits --list-name=board-vote-2025 --short-min-edits=20 --long-min-edits=300
(This usually takes about 8 hours)
What happens?:
After a while the logging seems to suggest the script suddenly failed:
[...] 42,920,000 of 79,013,591 ; 54.32% ; estimated time remaining: 3 hours, 20 minutes and 39 seconds 42,955,000 of 79,013,591 ; 54.36% ; estimated time remaining: 3 hours, 20 minutes and 26 seconds 42,988,000 of 79,013,591 ; 54.41% ; estimated time remaining: 3 hours, 20 minutes and 14 seconds 43,021,000 of 79,013,591 ; 54.45% ; estimated time remaining: 3 hours, 20 minutes and 3 seconds 43,050,000 of 79,013,591 ; 54.48% ; estimated time remaining: 3 hours, 19 minutes and 53 seconds 43,080,000 of 79,013,591 ; 54.52% ; estimated time remaining: 3 hours, 19 minutes and 43 seconds 43,110,000 of 79,013,591 ; 54.56% ; estimated time remaining: 3 hours, 19 minutes and 33 seconds 43,139,000 of 79,013,591 ; 54.60% ; estimated time remaining: 3 hours, 19 minutes and 24 seconds 43,169,000 of 79,013,591 ; 54.63% ; estimated time remaining: 3 hours, 19 minutes and 14 seconds 43,191,000 of 79,013,591 ; 54.66% ; estimated time remaining: 3 hours, 19 minutes and 9 seconds foks@deploy1003:~$
In fact, the script is still running right now.
What should have happened instead?:
Script should have continued to output logs.