Assertion error after upgrade

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Assertion error after upgrade

Keith Edmunds
I've just upgraded from  0.13.4 to 1.1.5 on a number of servers. Most
run just fine, but two of them give this assertion (below). Is this a
known problem?

Command: rdiff-backup --print-statistics --exclude-globbing-filelist
/home/rdiff-backup.exclude --create-full-path /home
backup3::/backups/b_xxx/xxxxxxxx/home
Exception '' raised of class 'exceptions.AssertionError':
   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
295, in error_check_Main
     try: Main(arglist)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
315, in Main
     take_action(rps)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
271, in take_action
     elif action == "backup": Backup(rps[0], rps[1])
   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
328, in Bacor_check_Main
     try: Main(arglist)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
315, in Main
     take_action(rps)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
271, in take_action
     elif action == "backup": Backup(rps[0], rps[1])
   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
328, in Backup
     backup_final_init(rpout)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
425, in backup_final_init
     checkdest_if_necessary(rpout)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
820, in checkdest_if_necessary
     need_check = checkdest_need_check(dest_rp)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line
810, in checkdest_need_check
     if not force: curmir_incs[0].conn.regress.check_pids(curmir_incs)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 448, in __call__
     return apply(self.connection.reval, (self.name,) + args)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 367, in reval
     for arg in args: self._put(arg, req_num)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 139, in _put
     else: self._putobj(obj, req_num)
   File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py",
line 144, in _putobj
     self._write("o", pickle.dumps(obj, 1), req_num)
   File "/usr/lib/python2.3/pickle.py", line 1386, in dumps
     Pickler(file, protocol, bin).dump(obj)
   File "/usr/lib/python2.3/pickle.py", line 231, in dump
     self.save(obj)
   File "/usr/lib/python2.3/pickle.py", line 293, in save
     f(self, obj) # Call unbound method with explicit self
   File "/usr/lib/python2.3/pickle.py", line 614, in save_list
     self._batch_appends(iter(obj))
   File "/usr/lib/python2.3/pickle.py", line 647, in _batch_appends
     save(x)
   File "/usr/lib/python2.3/pickle.py", line 293, in save
     f(self, obj) # Call unbound method with explicit self
   File "/usr/lib/python2.3/pickle.py", line 737, in save_inst
     stuff = getstate()
   File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line
754, in __getstate__
     assert self.conn is Globals.local_connection
AssertionError


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Assertion error after upgrade

Keith Edmunds
I'm seeing this consistently on certain client-to-server combinations. I
ran a backup with -v9 today and the last part of the trace is attached.
Can anyone shed any light on this?

Thanks,
Keith

Index: ('session_statistics.2006-02-14T09:13:44Z.data',)
Data: {'uid': 1013, 'perms': 384, 'type': 'reg', 'ctime': 1139913183, 'devloc': 2309L, 'nlink': 1, 'mtime': 1139913183, 'gid': 65534, 'atime': 1139913183, 'inode': 9340749L, 'size': 567L}
Thu Feb 23 22:31:00 2006  Server sending (0): None
Thu Feb 23 22:28:18 2006  Client received (0): None
Thu Feb 23 22:28:18 2006  Client sending (0): ConnectionRequest: C.make_file_dict with 1 arguments
Thu Feb 23 22:28:18 2006  Client sending (0): '/backups/b_tcl/tclgs001/home/rdiff-backup-data/session_statistics'
Thu Feb 23 22:31:01 2006  Server received (0): ConnectionRequest: C.make_file_dict with 1 arguments
Thu Feb 23 22:31:01 2006  Server received (0): '/backups/b_tcl/tclgs001/home/rdiff-backup-data/session_statistics'
Thu Feb 23 22:31:01 2006  Server sending (0): {'type': None}
Thu Feb 23 22:28:19 2006  Client received (0): {'type': None}
Thu Feb 23 22:28:19 2006  Client sending (0): ConnectionRequest: regress.check_pids with 1 arguments
Thu Feb 23 22:28:19 2006  Client sending (0): [<rdiff_backup.rpath.RPath instance at 0xb7a9bb4c>, <rdiff_backup.rpath.RPath instance at 0xb7a9bc0c>]
Thu Feb 23 22:28:19 2006  Exception '' raised of class 'exceptions.AssertionError':
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 295, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 315, in Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 271, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 328, in Backup
    backup_final_init(rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 425, in backup_final_init
    checkdest_if_necessary(rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 820, in checkdest_if_necessary
    need_check = checkdest_need_check(dest_rp)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 810, in checkdest_need_check
    if not force: curmir_incs[0].conn.regress.check_pids(curmir_incs)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 448, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 367, in reval
    for arg in args: self._put(arg, req_num)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 139, in _put
    else: self._putobj(obj, req_num)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 144, in _putobj
    self._write("o", pickle.dumps(obj, 1), req_num)
  File "/usr/lib/python2.3/pickle.py", line 1386, in dumps
    Pickler(file, protocol, bin).dump(obj)
  File "/usr/lib/python2.3/pickle.py", line 231, in dump
    self.save(obj)
  File "/usr/lib/python2.3/pickle.py", line 293, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib/python2.3/pickle.py", line 614, in save_list
    self._batch_appends(iter(obj))
  File "/usr/lib/python2.3/pickle.py", line 647, in _batch_appends
    save(x)
  File "/usr/lib/python2.3/pickle.py", line 293, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib/python2.3/pickle.py", line 737, in save_inst
    stuff = getstate()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 754, in __getstate__
    assert self.conn is Globals.local_connection

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 295, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 315, in Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 271, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 328, in Backup
    backup_final_init(rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 425, in backup_final_init
    checkdest_if_necessary(rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 820, in checkdest_if_necessary
    need_check = checkdest_need_check(dest_rp)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 810, in checkdest_need_check
    if not force: curmir_incs[0].conn.regress.check_pids(curmir_incs)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 448, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 367, in reval
    for arg in args: self._put(arg, req_num)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 139, in _put
    else: self._putobj(obj, req_num)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 144, in _putobj
    self._write("o", pickle.dumps(obj, 1), req_num)
  File "/usr/lib/python2.3/pickle.py", line 1386, in dumps
    Pickler(file, protocol, bin).dump(obj)
  File "/usr/lib/python2.3/pickle.py", line 231, in dump
    self.save(obj)
  File "/usr/lib/python2.3/pickle.py", line 293, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib/python2.3/pickle.py", line 614, in save_list
    self._batch_appends(iter(obj))
  File "/usr/lib/python2.3/pickle.py", line 647, in _batch_appends
    save(x)
  File "/usr/lib/python2.3/pickle.py", line 293, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib/python2.3/pickle.py", line 737, in save_inst
    stuff = getstate()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 754, in __getstate__
    assert self.conn is Globals.local_connection
AssertionError
22:28 tclgs001 kae # Thu Feb 23 22:31:01 2006  Server received (0): ConnectionRequest: regress.check_pids with 1 arguments
Thu Feb 23 22:31:01 2006  Exception 'Truncated header string (problem probably originated remotely)' raised of class 'rdiff_backup.connection.ConnectionReadError':
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 295, in error_check_Main
    try: Main(arglist)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 315, in Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 269, in take_action
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 355, in Server
    self.get_response(-1)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 323, in get_response
    self.answer_request(object, req_num)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 330, in answer_request
    arg_req_num, arg = self._get()
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 233, in _get
    raise ConnectionReadError("Truncated header string (problem "

Thu Feb 23 22:31:01 2006  Fatal Error: Lost connection to the remote system

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki