[tahoe-dev] [tahoe-lafs] #850: tahoe backup loops on recursive links

tahoe-lafs trac at allmydata.org
Sun Dec 6 05:20:18 PST 2009


#850: tahoe backup loops on recursive links
--------------------------------------------+-------------------------------
 Reporter:  francois                        |           Owner:           
     Type:  defect                          |          Status:  new      
 Priority:  major                           |       Milestone:  undecided
Component:  code-frontend-cli               |         Version:  1.5.0    
 Keywords:  tahoe-backup recursive symlink  |   Launchpad_bug:           
--------------------------------------------+-------------------------------
 {{{
 francois at korn:~$ mkdir /tmp/test-backup/
 francois at korn:~$ ln -s . /tmp/test-backup/test
 francois at korn:~$ tahoe backup -v /tmp/test-backup tahoe:tmp
 /usr/lib/pymodules/python2.6/foolscap/banana.py:2: DeprecationWarning: the
 sets module is deprecated
   import struct, sets, time
 processing /tmp/test-backup, olddircap None
 processing /tmp/test-backup/test, olddircap None
 processing /tmp/test-backup/test/test, olddircap None
 processing /tmp/test-backup/test/test/test, olddircap None
 processing /tmp/test-backup/test/test/test/test, olddircap None
 processing /tmp/test-backup/test/test/test/test/test, olddircap None
 processing /tmp/test-backup/test/test/test/test/test/test, olddircap None
 processing /tmp/test-backup/test/test/test/test/test/test/test, olddircap
 None
 processing /tmp/test-backup/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-backup/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test, olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test, olddircap
 None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 processing /tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test,
 olddircap None
 Traceback (most recent call last):
   File "/usr/bin/tahoe", line 8, in <module>
     load_entry_point('allmydata-tahoe==1.5.0', 'console_scripts',
 'tahoe')()
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/runner.py", line
 91, in run
     rc = runner(sys.argv[1:])
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/runner.py", line
 78, in runner
     rc = cli.dispatch[command](so)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/cli.py", line 456,
 in backup
     rc = tahoe_backup.backup(options)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 370, in backup
     return bu.run()
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 212, in run
     new_backup_dircap = self.process(options.from_dir,
 latest_backup_dircap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 262, in process
     newchilddircap = self.process(childpath, oldchildcap)
   File "/usr/lib/pymodules/python2.6/allmydata/scripts/tahoe_backup.py",
 line 268, in process
     raise BackupProcessingError("Cannot backup this file %r" % childpath)
 allmydata.scripts.tahoe_backup.BackupProcessingError: Cannot backup this
 file '/tmp/test-
 backup/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test/test'
 francois at korn:~$
 }}}

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/850>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list