Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603388 - app-backup/duplicity-0.7.10: Multiple test failures
Summary: app-backup/duplicity-0.7.10: Multiple test failures
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2016-12-21 21:24 UTC by Thomas Deutschmann
Modified: 2018-06-16 11:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,75.45 KB, text/plain)
2016-12-21 21:24 UTC, Thomas Deutschmann
Details
build.log (build.log,83.92 KB, text/plain)
2018-06-16 11:34 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann gentoo-dev Security 2016-12-21 21:24:34 UTC
Created attachment 457044 [details]
build.log

======================================================================
ERROR: test_asym_cycle (testing.functional.test_final.FinalTest)
Like test_basic_cycle but use asymmetric encryption and signing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 87, in test_asym_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 66, in test_basic_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 40, in runtest
    options=backup_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 142, in backup
    result = self.run_duplicity(options=options, **kwargs)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 129, in run_duplicity
    raise CmdError(return_val)
CmdError: 31

======================================================================
ERROR: test_asym_with_hidden_recipient_cycle (testing.functional.test_final.FinalTest)
Like test_basic_cycle but use asymmetric encryption (hiding key id) and signing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 96, in test_asym_with_hidden_recipient_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 66, in test_basic_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 40, in runtest
    options=backup_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 142, in backup
    result = self.run_duplicity(options=options, **kwargs)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 129, in run_duplicity
    raise CmdError(return_val)
CmdError: 31

======================================================================
ERROR: test_asym_cycle (testing.functional.test_final.OldFilenamesFinalTest)
Like test_basic_cycle but use asymmetric encryption and signing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 87, in test_asym_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 66, in test_basic_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 40, in runtest
    options=backup_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 142, in backup
    result = self.run_duplicity(options=options, **kwargs)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 129, in run_duplicity
    raise CmdError(return_val)
CmdError: 31

======================================================================
ERROR: test_asym_with_hidden_recipient_cycle (testing.functional.test_final.OldFilenamesFinalTest)
Like test_basic_cycle but use asymmetric encryption (hiding key id) and signing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 96, in test_asym_with_hidden_recipient_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 66, in test_basic_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 40, in runtest
    options=backup_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 142, in backup
    result = self.run_duplicity(options=options, **kwargs)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 129, in run_duplicity
    raise CmdError(return_val)
CmdError: 31

======================================================================
ERROR: test_asym_cycle (testing.functional.test_final.ShortFilenamesFinalTest)
Like test_basic_cycle but use asymmetric encryption and signing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 87, in test_asym_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 66, in test_basic_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 40, in runtest
    options=backup_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 142, in backup
    result = self.run_duplicity(options=options, **kwargs)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 129, in run_duplicity
    raise CmdError(return_val)
CmdError: 31

======================================================================
ERROR: test_asym_with_hidden_recipient_cycle (testing.functional.test_final.ShortFilenamesFinalTest)
Like test_basic_cycle but use asymmetric encryption (hiding key id) and signing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 96, in test_asym_with_hidden_recipient_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 66, in test_basic_cycle
    restore_options=restore_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_final.py", line 40, in runtest
    options=backup_options)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 142, in backup
    result = self.run_duplicity(options=options, **kwargs)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 129, in run_duplicity
    raise CmdError(return_val)
CmdError: 31

======================================================================
ERROR: test_gpg_signing (testing.unit.test_gpg.GPGTest)
Test to make sure GPG reports the proper signature key
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/unit/test_gpg.py", line 105, in test_gpg_signing
    encrypted_signed_file.close()
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/duplicity/gpg.py", line 241, in close
    self.gpg_failed()
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/duplicity/gpg.py", line 226, in gpg_failed
    raise GPGError(msg)
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: using "56538CCF" as default secret key for signing
gpg: signing failed: Inappropriate ioctl for device
gpg: [stdin]: sign+encrypt failed: Inappropriate ioctl for device
gpg: WARNING: unsafe permissions on homedir '/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/gnupg'
===== End GnuPG log =====


======================================================================
ERROR: test_gpg_signing_and_hidden_encryption (testing.unit.test_gpg.GPGTest)
Test to make sure GPG reports the proper signature key even with hidden encryption key id
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/unit/test_gpg.py", line 124, in test_gpg_signing_and_hidden_encryption
    encrypted_signed_file.close()
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/duplicity/gpg.py", line 241, in close
    self.gpg_failed()
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/duplicity/gpg.py", line 226, in gpg_failed
    raise GPGError(msg)
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: using "56538CCF" as default secret key for signing
gpg: signing failed: Inappropriate ioctl for device
gpg: [stdin]: sign+encrypt failed: Inappropriate ioctl for device
gpg: WARNING: unsafe permissions on homedir '/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/gnupg'
===== End GnuPG log =====


======================================================================
FAIL: test_restart_sign_and_encrypt (testing.functional.test_restart.RestartTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_restart.py", line 85, in test_restart_sign_and_encrypt
    self.backup("full", "testfiles/largefiles", options=enc_opts, fail=2)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 142, in backup
    result = self.run_duplicity(options=options, **kwargs)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 127, in run_duplicity
    self.assertEqual(30, return_val)
AssertionError: 30 != 31

======================================================================
FAIL: test_restart_sign_and_hidden_encrypt (testing.functional.test_restart.RestartTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/test_restart.py", line 96, in test_restart_sign_and_hidden_encrypt
    self.backup("full", "testfiles/largefiles", options=enc_opts, fail=2)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 142, in backup
    result = self.run_duplicity(options=options, **kwargs)
  File "/var/tmp/portage/app-backup/duplicity-0.7.10/work/duplicity-0.7.10/testing/functional/__init__.py", line 127, in run_duplicity
    self.assertEqual(30, return_val)
AssertionError: 30 != 31

----------------------------------------------------------------------
Ran 383 tests in 348.587s

FAILED (failures=2, errors=8, skipped=6)
 * ERROR: app-backup/duplicity-0.7.10::gentoo failed (test phase):
 *   (no error message)
 *
Comment 1 Thomas Deutschmann gentoo-dev Security 2016-12-21 21:25:51 UTC
Portage 2.3.0 (python 3.4.5-final-0, default/linux/x86/13.0, gcc-4.9.4, glibc-2.22-r4, 4.4.26-gentoo i686)
=================================================================
System uname: Linux-4.4.26-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:     3108776 total,   1319660 free
KiB Swap:     488276 total,    475812 free
Timestamp of repository gentoo: Wed, 21 Dec 2016 08:22:26 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000


ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
EVENT_NOEPOLL="1"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.9.4/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.25.1/info"
INPUT_DEVICES="keyboard mouse evdev"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MULTILIB_ABIS="x86"
MULTIOSDIRS="../lib"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.9.4"
PHP_TARGETS="php5-6"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_4"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.9.4"
RUBY_TARGETS="ruby21"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,4333,0"
TMUX_PANE="%6"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="intel"
Comment 2 Rolf Eike Beer 2018-06-16 11:34:02 UTC
Created attachment 536054 [details]
build.log

I see basically the same on sparc.