Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629628 - app-admin/github-backup-utils-2.9.0 : test failed. last command exited with 1
Summary: app-admin/github-backup-utils-2.9.0 : test failed. last command exited wi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Austin English (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-02 08:13 UTC by Toralf Förster
Modified: 2017-11-29 21:31 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.07 KB, text/plain)
2017-09-02 08:13 UTC, Toralf Förster
Details
app-admin:github-backup-utils-2.9.0:20170901-223701.log (app-admin:github-backup-utils-2.9.0:20170901-223701.log,43.27 KB, text/plain)
2017-09-02 08:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,53.59 KB, text/plain)
2017-09-02 08:13 UTC, Toralf Förster
Details
environment (environment,76.79 KB, text/plain)
2017-09-02 08:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.68 KB, application/x-bzip)
2017-09-02 08:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.52 KB, application/x-bzip)
2017-09-02 08:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-02 08:13:43 UTC
    + echo Checking for leaked keys in the backup snapshot that is being restored ... alice bob Leaked key found in current backup snapshot. alice bob Snapshot file: /var/tmp/portage/app-admin/github-backup-utils-2.9.0/work/backup-utils-2.9.0/test/tmp/test-ghe-restore.sh-3386/data/1/ssh-host-keys.tar alice bob Key file: ssh_host_dsa_key.pub alice bob Key: 98:d8:99:d3:be:c0:55:05:db:b0:53:2f:1f:ad:b3:60 alice bob The current backup contains leaked SSH host keys. alice bob Current backup directory: /var/tmp/portage/app-admin/github-backup-utils-2.9.0/work/backup-utils-2.9.0/test/tmp/test-ghe-restore.sh-3386/data/1 alice bob We strongly recommend rolling your SSH host keys and making a new backup. alice bob Roll the keys either manually or with ghe-ssh-roll-host-keys on the appliance. alice bob '(An' upgrade may be 'required)' alice bob One or more older backup snapshots contain leaked SSH host keys. alice bob No immediate action is needed but when you use one of these older snapshots for a restore, alice bob please make sure to roll the SSH host keys after restore. alice bob Roll the keys either manually or with ghe-ssh-roll-host-keys on the appliance. alice bob '(An' upgrade may be 'required)' Connect localhost:22 OK '(v11.10.344)'
    test failed. last command exited with 1
test: ghe-restore fails when restore to an active HA pair ...      OK
test: ghe-backup tarball strategy ...                              OK
test: ghe-backup fails fast when old style run in progress ...     OK

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-no-multilib_20170828-210950

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)




emerge -qpv app-admin/github-backup-utils
[ebuild  N    ] app-admin/github-backup-utils-2.9.0  USE="{-test}"
Comment 1 Toralf Förster gentoo-dev 2017-09-02 08:13:46 UTC
Created attachment 491686 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-02 08:13:50 UTC
Created attachment 491688 [details]
app-admin:github-backup-utils-2.9.0:20170901-223701.log
Comment 3 Toralf Förster gentoo-dev 2017-09-02 08:13:53 UTC
Created attachment 491690 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-02 08:13:56 UTC
Created attachment 491692 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-02 08:14:00 UTC
Created attachment 491694 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-02 08:14:03 UTC
Created attachment 491696 [details]
temp.tbz2
Comment 7 Austin English (RETIRED) gentoo-dev 2017-11-28 23:37:52 UTC
This is an upstream bug, I sent a PR:
https://github.com/github/backup-utils/pull/354

I also sent a fix for an unrelated python issue:
https://github.com/github/backup-utils/pull/355

with that, the tests pass for me. Later versions fail for different reasons, I'm going to try to get them all fixed before pushing a commit for this.
Comment 8 Austin English (RETIRED) gentoo-dev 2017-11-29 21:31:48 UTC
(In reply to Austin English from comment #7)
> This is an upstream bug, I sent a PR:
> https://github.com/github/backup-utils/pull/354
> 
> I also sent a fix for an unrelated python issue:
> https://github.com/github/backup-utils/pull/355
> 
> with that, the tests pass for me. Later versions fail for different reasons,
> I'm going to try to get them all fixed before pushing a commit for this.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1239b5aa9b7fe770adc9c2a7f3b73991cfe2fb2a

All 2.9.0 (-r1) tests are passing now.