+ set -Ceuo pipefail + PATH=/bin:/usr/bin:/usr/local/bin + TZ=UTC + export TZ + : p0 + : /nwp + : /nwp/p0 ++ date +%Y-%m-%d + : 2024-10-31 + datedir=/nwp/p0/2024-10-31.new + export phase base reftime datedir nwp + test -f /nwp/bin/run-feedstore.sh + cd /nwp/p0 + test -f stop ++ mkdir /nwp/p0/2024-10-31.new + mkdmsg= + : --- rotation 1: minimal renaming --- ++ readlink incomplete + incomplete=2024-10-30.new ++ basename 2024-10-30.new .new + yesterday=2024-10-30 + '[' -d 2024-10-30.new ']' + mv -f 2024-10-30.new 2024-10-30 + ln -Tfs 2024-10-30 latest + logger --tag run-prep --id=22289 -p news.info 'latest -> 2024-10-30, incomplete -> /nwp/p0/2024-10-31.new' + export yesterday ++ echo 'cd /nwp/p0; nwp=/nwp bash /nwp/bin/act-p0-housekeep.sh' ++ TZ=UTC ++ at -q Z 0:30 + msg='warning: commands will be executed using /bin/sh job 808691 at Thu Oct 31 00:30:00 2024' + logger --tag run-prep --id=22289 -p news.info 'warning: commands will be executed using /bin/sh job 808691 at Thu Oct 31 00:30:00 2024' + ln -Tfs 2024-10-31.new incomplete + mkdir incomplete/logs + touch incomplete/logs-2024-10-31.tar + gdbm incomplete/pshb.db clear + chmod o+rw incomplete/pshb.db + ln -Tf incomplete/pshb.db incomplete/psbm-2024-10-31.db + '[' -f latest/jmx-2024-10-30.idx1 ']' + ruby /nwp/bin/idxshadow.rb latest/jmx-2024-10-30.idx1 incomplete/jmx-2024-10-31.idx1 + '[' -f /nwp/bin/act-wxmon-housekeep.sh ']' + bash /nwp/bin/act-wxmon-housekeep.sh /nwp/bin/tdif-pull.rb:23:in `
': empty input (RuntimeError) <61>Oct 31 00:00:22 batch.sh[21987]: jobid=run-feedstore-20241031T0900_21987 rc=0 job=