Cleanup of temporary directory failed (lp:#1400563)

[Original report](https://bugs.launchpad.net/bugs/1400563) created by **Hawkwing (androlgenhald)**
```
This error has occurred several times now, always directly after unlocking
my computer. Possible duplicate of 710198, but I'm not using a NAS, and I
have gpg installed.

duplicity 0.7.0
Python 2.7.8
Ubuntu 14.10
Target is ext4 over sftp


command:

duplicity full --include-globbing-
filelist=/home/[redacted]/.duplicity_includes --volsize=1024
--asynchronous-upload / sftp://[redacted]//backup/[redacted] --verbosity=9
--gpg-options=--no-use-agent > duplicity.log 2>duplicity.err


stdout:

Using archive dir:
/home/[redacted]/.cache/duplicity/6d0d96b8cb4d157d7cbbc82463f021ea
Using backup name: 6d0d96b8cb4d157d7cbbc82463f021ea
Import of duplicity.backends.botobackend Succeeded
Import of duplicity.backends.cfbackend Succeeded
Import of duplicity.backends.copycombackend Succeeded
Import of duplicity.backends.dpbxbackend Failed: No module named dropbox
Import of duplicity.backends.ftpbackend Succeeded
Import of duplicity.backends.gdocsbackend Succeeded
Import of duplicity.backends.giobackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.megabackend Succeeded
Import of duplicity.backends.par2backend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.sshbackend Succeeded
Import of duplicity.backends.swiftbackend Succeeded
Import of duplicity.backends.sxbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Reading globbing filelist /home/[redacted]/.duplicity_includes
Main action: full
================================================================================
duplicity 0.7.0 ($reldate)
Args: /usr/bin/duplicity full --include-globbing-
filelist=/home/[redacted]/.duplicity_includes --volsize=1024
--asynchronous-upload / sftp://[redacted]//backup/[redacted] --verbosity=9
--gpg-options=--no-use-agent
Linux [redacted] 3.16.0-25-generic #33-Ubuntu SMP Tue Nov 4 12:06:54 UTC
2014 x86_64 x86_64
/usr/bin/python 2.7.8 (default, Oct 20 2014, 15:05:19)
[GCC 4.9.1]
================================================================================
Using temporary directory /tmp/duplicity-AQdSTi-tempdir
Registering (mkstemp) temporary file /tmp/duplicity-AQdSTi-tempdir/mkstemp-
hChhHH-1
Temp has 48586055680 available, backup will use approx 2469606195.
Local and Remote metadata are synchronized, no sync needed.
0 files exist on backend
2 files exist in cache
Extracting backup chains from list of files: []
Last full backup date: none
Collection Status
-----------------
Connecting with backend: BackendWrapper
Archive dir:
/home/[redacted]/.cache/duplicity/6d0d96b8cb4d157d7cbbc82463f021ea

Found 0 secondary backup chains.
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
PASSPHRASE variable not set, asking user.
PASSPHRASE variable not set, asking user.
Using temporary directory
/home/[redacted]/.cache/duplicity/6d0d96b8cb4d157d7cbbc82463f021ea/duplicity-
gsbUn1-tempdir
Registering (mktemp) temporary file
/home/[redacted]/.cache/duplicity/6d0d96b8cb4d157d7cbbc82463f021ea/duplicity-
gsbUn1-tempdir/mktemp-zlXRxd-1
Using temporary directory
/home/[redacted]/.cache/duplicity/6d0d96b8cb4d157d7cbbc82463f021ea/duplicity-
MPzTq0-tempdir
Registering (mktemp) temporary file
/home/[redacted]/.cache/duplicity/6d0d96b8cb4d157d7cbbc82463f021ea/duplicity-
MPzTq0-tempdir/mktemp-Qvxy6x-1
AsyncScheduler: instantiating at concurrency 1
Registering (mktemp) temporary file /tmp/duplicity-AQdSTi-
tempdir/mktemp-56e5_u-2
Selecting /
................
Releasing lockfile <lockfile.LinkFileLock instance at 0x7f4631db8758>
Removing still remembered temporary file /tmp/duplicity-AQdSTi-
tempdir/mktemp-9QXMNU-116
Removing still remembered temporary file /tmp/duplicity-AQdSTi-
tempdir/mkstemp-hChhHH-1
Cleanup of temporary directory /tmp/duplicity-AQdSTi-tempdir failed - this
is probably a bug.


stderr:

ssh: starting thread (client mode): 0x32604850L
ssh: Connected (version 2.0, client OpenSSH_6.6.1p1)
ssh: kex algos:[u'curve25519-sha256@libssh.org', u'ecdh-sha2-nistp256',
u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'diffie-hellman-group-
exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-
group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa',
u'ssh-dss', u'ecdsa-sha2-nistp256', u'ssh-ed25519'] client
encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256',
u'arcfour128', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com',
u'chacha20-poly1305@openssh.com', u'aes128-cbc', u'3des-cbc', u'blowfish-
cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-
cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr',
u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-gcm@openssh.com',
u'aes256-gcm@openssh.com', u'chacha20-poly1305@openssh.com', u'aes128-cbc',
u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc',
u'arcfour', u'rijndael-cbc@lysator.liu.se'] client mac:[u'hmac-
md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
server mac:[u'hmac-md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none',
u'zlib@openssh.com'] client lang:[u''] server lang:[u''] kex follows?False
ssh: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
ssh: using kex diffie-hellman-group14-sha1; server key type ssh-rsa;
cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote
hmac-sha1; compression: local none, remote none
ssh: Switch to new keys ...
ssh: Trying SSH agent key fe1edb20fc8c1b77f02012d04112f30b
ssh: userauth is OK
ssh: Authentication (publickey) successful!
ssh: [chan 1] Max packet in: 32768 bytes
ssh: [chan 1] Max packet out: 32768 bytes
ssh: Secsh channel 1 opened.
ssh: [chan 1] Sesch channel 1 request ok
ssh: [chan 1] Opened sftp connection (server version 3)
ssh: [chan 1] stat('/backup')
ssh: [chan 1] stat('/backup')
ssh: [chan 1] normalize('/backup')
ssh: [chan 1] stat('/backup/[redacted]')
ssh: [chan 1] mkdir('/backup/[redacted]', 511)
ssh: [chan 1] stat('/backup/[redacted]')
ssh: [chan 1] normalize('/backup/[redacted]')
ssh: [chan 1] listdir('/backup/[redacted]/.')
ssh: [chan 1] listdir('/backup/[redacted]/.')
ssh: Sending global request "keepalive@lag.net"
ssh: Sending global request "keepalive@lag.net"
ssh: Sending global request "keepalive@lag.net"
ssh: Sending global request "keepalive@lag.net"
ssh: Sending global request "keepalive@lag.net"
ssh: [chan 1] open('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol1.difftar.gpg', 'wb')
ssh: [chan 1] open('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol1.difftar.gpg', 'wb') -> 00000000
ssh: Rekeying (hit 32677 packets, 536899588 bytes sent)
ssh: kex algos:[u'curve25519-sha256@libssh.org', u'ecdh-sha2-nistp256',
u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'diffie-hellman-group-
exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-
group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa',
u'ssh-dss', u'ecdsa-sha2-nistp256', u'ssh-ed25519'] client
encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256',
u'arcfour128', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com',
u'chacha20-poly1305@openssh.com', u'aes128-cbc', u'3des-cbc', u'blowfish-
cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-
cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr',
u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-gcm@openssh.com',
u'aes256-gcm@openssh.com', u'chacha20-poly1305@openssh.com', u'aes128-cbc',
u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc',
u'arcfour', u'rijndael-cbc@lysator.liu.se'] client mac:[u'hmac-
md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
server mac:[u'hmac-md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none',
u'zlib@openssh.com'] client lang:[u''] server lang:[u''] kex follows?False
ssh: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
ssh: using kex diffie-hellman-group14-sha1; server key type ssh-rsa;
cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote
hmac-sha1; compression: local none, remote none
ssh: Switch to new keys ...
ssh: Rekeying (hit 32652 packets, 536896704 bytes sent)
ssh: kex algos:[u'curve25519-sha256@libssh.org', u'ecdh-sha2-nistp256',
u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'diffie-hellman-group-
exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-
group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa',
u'ssh-dss', u'ecdsa-sha2-nistp256', u'ssh-ed25519'] client
encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256',
u'arcfour128', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com',
u'chacha20-poly1305@openssh.com', u'aes128-cbc', u'3des-cbc', u'blowfish-
cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-
cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr',
u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-gcm@openssh.com',
u'aes256-gcm@openssh.com', u'chacha20-poly1305@openssh.com', u'aes128-cbc',
u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc',
u'arcfour', u'rijndael-cbc@lysator.liu.se'] client mac:[u'hmac-
md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
server mac:[u'hmac-md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none',
u'zlib@openssh.com'] client lang:[u''] server lang:[u''] kex follows?False
ssh: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
ssh: using kex diffie-hellman-group14-sha1; server key type ssh-rsa;
cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote
hmac-sha1; compression: local none, remote none
ssh: Switch to new keys ...
ssh: [chan 1] close(00000000)
ssh: [chan 1] stat('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol1.difftar.gpg')
ssh: Sending global request "keepalive@lag.net"
ssh: [chan 1] open('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol2.difftar.gpg', 'wb')
ssh: [chan 1] open('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol2.difftar.gpg', 'wb') -> 00000000
ssh: Rekeying (hit 32655 packets, 536882300 bytes sent)
ssh: kex algos:[u'curve25519-sha256@libssh.org', u'ecdh-sha2-nistp256',
u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'diffie-hellman-group-
exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-
group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa',
u'ssh-dss', u'ecdsa-sha2-nistp256', u'ssh-ed25519'] client
encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256',
u'arcfour128', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com',
u'chacha20-poly1305@openssh.com', u'aes128-cbc', u'3des-cbc', u'blowfish-
cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-
cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr',
u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-gcm@openssh.com',
u'aes256-gcm@openssh.com', u'chacha20-poly1305@openssh.com', u'aes128-cbc',
u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc',
u'arcfour', u'rijndael-cbc@lysator.liu.se'] client mac:[u'hmac-
md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
server mac:[u'hmac-md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none',
u'zlib@openssh.com'] client lang:[u''] server lang:[u''] kex follows?False
ssh: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
ssh: using kex diffie-hellman-group14-sha1; server key type ssh-rsa;
cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote
hmac-sha1; compression: local none, remote none
ssh: Switch to new keys ...
ssh: Rekeying (hit 32651 packets, 536896572 bytes sent)
ssh: kex algos:[u'curve25519-sha256@libssh.org', u'ecdh-sha2-nistp256',
u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'diffie-hellman-group-
exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-
group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa',
u'ssh-dss', u'ecdsa-sha2-nistp256', u'ssh-ed25519'] client
encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256',
u'arcfour128', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com',
u'chacha20-poly1305@openssh.com', u'aes128-cbc', u'3des-cbc', u'blowfish-
cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-
cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr',
u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-gcm@openssh.com',
u'aes256-gcm@openssh.com', u'chacha20-poly1305@openssh.com', u'aes128-cbc',
u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc',
u'arcfour', u'rijndael-cbc@lysator.liu.se'] client mac:[u'hmac-
md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
server mac:[u'hmac-md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none',
u'zlib@openssh.com'] client lang:[u''] server lang:[u''] kex follows?False
ssh: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
ssh: using kex diffie-hellman-group14-sha1; server key type ssh-rsa;
cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote
hmac-sha1; compression: local none, remote none
ssh: Switch to new keys ...
................
ssh: Switch to new keys ...
ssh: [chan 1] close(00000000)
ssh: [chan 1] stat('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol112.difftar.gpg')
ssh: Sending global request "keepalive@lag.net"
ssh: Sending global request "keepalive@lag.net"
ssh: [chan 1] open('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol113.difftar.gpg', 'wb')
ssh: [chan 1] open('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol113.difftar.gpg', 'wb') -> 00000000
ssh: Rekeying (hit 32655 packets, 536881788 bytes sent)
ssh: kex algos:[u'curve25519-sha256@libssh.org', u'ecdh-sha2-nistp256',
u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'diffie-hellman-group-
exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-
group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa',
u'ssh-dss', u'ecdsa-sha2-nistp256', u'ssh-ed25519'] client
encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256',
u'arcfour128', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com',
u'chacha20-poly1305@openssh.com', u'aes128-cbc', u'3des-cbc', u'blowfish-
cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-
cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr',
u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-gcm@openssh.com',
u'aes256-gcm@openssh.com', u'chacha20-poly1305@openssh.com', u'aes128-cbc',
u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc',
u'arcfour', u'rijndael-cbc@lysator.liu.se'] client mac:[u'hmac-
md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
server mac:[u'hmac-md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none',
u'zlib@openssh.com'] client lang:[u''] server lang:[u''] kex follows?False
ssh: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
ssh: using kex diffie-hellman-group14-sha1; server key type ssh-rsa;
cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote
hmac-sha1; compression: local none, remote none
ssh: Switch to new keys ...
ssh: Rekeying (hit 32651 packets, 536896572 bytes sent)
ssh: kex algos:[u'curve25519-sha256@libssh.org', u'ecdh-sha2-nistp256',
u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'diffie-hellman-group-
exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-
group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa',
u'ssh-dss', u'ecdsa-sha2-nistp256', u'ssh-ed25519'] client
encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256',
u'arcfour128', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com',
u'chacha20-poly1305@openssh.com', u'aes128-cbc', u'3des-cbc', u'blowfish-
cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-
cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr',
u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-gcm@openssh.com',
u'aes256-gcm@openssh.com', u'chacha20-poly1305@openssh.com', u'aes128-cbc',
u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc',
u'arcfour', u'rijndael-cbc@lysator.liu.se'] client mac:[u'hmac-
md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
server mac:[u'hmac-md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none',
u'zlib@openssh.com'] client lang:[u''] server lang:[u''] kex follows?False
ssh: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
ssh: using kex diffie-hellman-group14-sha1; server key type ssh-rsa;
cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote
hmac-sha1; compression: local none, remote none
ssh: Switch to new keys ...
ssh: [chan 1] close(00000000)
ssh: [chan 1] stat('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol113.difftar.gpg')
ssh: Sending global request "keepalive@lag.net"
ssh: [chan 1] open('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol114.difftar.gpg', 'wb')
ssh: [chan 1] open('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol114.difftar.gpg', 'wb') -> 00000000
ssh: Rekeying (hit 32654 packets, 536877256 bytes sent)
ssh: kex algos:[u'curve25519-sha256@libssh.org', u'ecdh-sha2-nistp256',
u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'diffie-hellman-group-
exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-
group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa',
u'ssh-dss', u'ecdsa-sha2-nistp256', u'ssh-ed25519'] client
encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256',
u'arcfour128', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com',
u'chacha20-poly1305@openssh.com', u'aes128-cbc', u'3des-cbc', u'blowfish-
cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-
cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr',
u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-gcm@openssh.com',
u'aes256-gcm@openssh.com', u'chacha20-poly1305@openssh.com', u'aes128-cbc',
u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc',
u'arcfour', u'rijndael-cbc@lysator.liu.se'] client mac:[u'hmac-
md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
server mac:[u'hmac-md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none',
u'zlib@openssh.com'] client lang:[u''] server lang:[u''] kex follows?False
ssh: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
ssh: using kex diffie-hellman-group14-sha1; server key type ssh-rsa;
cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote
hmac-sha1; compression: local none, remote none
ssh: Switch to new keys ...
ssh: Rekeying (hit 32653 packets, 536896756 bytes sent)
ssh: kex algos:[u'curve25519-sha256@libssh.org', u'ecdh-sha2-nistp256',
u'ecdh-sha2-nistp384', u'ecdh-sha2-nistp521', u'diffie-hellman-group-
exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-
group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa',
u'ssh-dss', u'ecdsa-sha2-nistp256', u'ssh-ed25519'] client
encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256',
u'arcfour128', u'aes128-gcm@openssh.com', u'aes256-gcm@openssh.com',
u'chacha20-poly1305@openssh.com', u'aes128-cbc', u'3des-cbc', u'blowfish-
cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-
cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr',
u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-gcm@openssh.com',
u'aes256-gcm@openssh.com', u'chacha20-poly1305@openssh.com', u'aes128-cbc',
u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc',
u'arcfour', u'rijndael-cbc@lysator.liu.se'] client mac:[u'hmac-
md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
server mac:[u'hmac-md5-etm@openssh.com', u'hmac-sha1-etm@openssh.com',
u'umac-64-etm@openssh.com', u'umac-128-etm@openssh.com', u'hmac-
sha2-256-etm@openssh.com', u'hmac-sha2-512-etm@openssh.com', u'hmac-
ripemd160-etm@openssh.com', u'hmac-sha1-96-etm@openssh.com', u'hmac-
md5-96-etm@openssh.com', u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com',
u'umac-128@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-
ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96']
client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none',
u'zlib@openssh.com'] client lang:[u''] server lang:[u''] kex follows?False
ssh: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
ssh: using kex diffie-hellman-group14-sha1; server key type ssh-rsa;
cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote
hmac-sha1; compression: local none, remote none
ssh: Switch to new keys ...
ssh: [chan 1] close(00000000)
ssh: [chan 1] stat('/backup/[redacted]/duplicity-
full.20141208T221741Z.vol114.difftar.gpg')
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1500, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1494, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1343, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1464, in do_backup
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 536, in full_backup
    globals.backend)
  File "/usr/bin/duplicity", line 397, in write_multivol
    globals.gpg_profile, globals.volsize)
  File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 327, in
GPGWriteFile
    bytes_to_go = data_size - get_current_size()
  File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 320, in
get_current_size
    return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/tmp/duplicity-AQdSTi-
tempdir/mktemp-9QXMNU-116'
```

Story points: 14.0