Stefan Monnier
unread,Mar 11, 2023, 12:40:30 PMMar 11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bup-...@googlegroups.com
A cron job of mine is failing for the last two days.
Here's the output of the `sh -x` run of the script:
+ bup on <MYHOST> index --exclude=<BLABLA>
+ bup on <MYHOST> save -n <NAME> <DIRS>
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/lib/bup/bup/main.py", line 417, in <module>
main()
File "/usr/lib/bup/bup/main.py", line 414, in main
wrap_main(lambda : run_subcmd(cmd_module, subcmd))
File "/usr/lib/bup/bup/compat.py", line 98, in wrap_main
sys.exit(main())
^^^^^^
File "/usr/lib/bup/bup/main.py", line 414, in <lambda>
wrap_main(lambda : run_subcmd(cmd_module, subcmd))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/bup/bup/main.py", line 409, in run_subcmd
run_module_cmd(module, args)
File "/usr/lib/bup/bup/main.py", line 292, in run_module_cmd
import_and_run_main(module, args)
File "/usr/lib/bup/bup/main.py", line 287, in import_and_run_main
module.main(args)
File "/usr/lib/bup/bup/cmd/on.py", line 60, in main
for line in iter(dmc.readline, b''):
File "/usr/lib/bup/bup/helpers.py", line 497, in readline
return self._readline()
^^^^^^^^^^^^^^^^
File "/usr/lib/bup/bup/helpers.py", line 682, in _readline
return b''.join(self._read_parts(find_eol))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/bup/bup/helpers.py", line 663, in _read_parts
while self._load_buf(None):
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/bup/bup/helpers.py", line 653, in _load_buf
if not self._next_packet(timeout):
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/bup/bup/helpers.py", line 629, in _next_packet
ns = b''.join(checked_reader(self.infd, 5))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/bup/bup/helpers.py", line 571, in checked_reader
if not buf: raise Exception("Unexpected EOF reading %d more bytes" % n)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception: Unexpected EOF reading 5 more bytes
AFAICT the problem is not due to the underlying SSH connection being
interrupted (I was sharing that same SSH connection via mux-ing at the
same time in an interactive session to double-check).
The error seems deterministic.
A few weeks ago I updated Bup to Debian testing's 0.33 on the machine
on which I run the script, while <MYHOST> is still running Debian stable's
0.32, but that combination worked fine until two days ago, so I don't
know if it's relevant.
Any idea where the problem could lie?
Stefan