Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639586 - app-admin/diamond-4.0.515 : [TEST] ImportError: cannot import name HttpCollector
Summary: app-admin/diamond-4.0.515 : [TEST] ImportError: cannot import name HttpCollector
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-12-03 09:21 UTC by Toralf Förster
Modified: 2020-04-25 17:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.15 KB, text/plain)
2017-12-03 09:21 UTC, Toralf Förster
Details
app-admin:diamond-4.0.515:20171203-063456.log (app-admin:diamond-4.0.515:20171203-063456.log,15.55 KB, text/plain)
2017-12-03 09:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,120.38 KB, text/plain)
2017-12-03 09:21 UTC, Toralf Förster
Details
environment (environment,137.85 KB, text/plain)
2017-12-03 09:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.53 KB, application/x-bzip)
2017-12-03 09:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.28 KB, application/x-bzip)
2017-12-03 09:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.23 KB, application/x-bzip)
2017-12-03 09:21 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,18.72 KB, text/plain)
2018-06-02 17:15 UTC, Toralf Förster
Details
app-admin:diamond-4.0.515:20180602-165844.log (app-admin:diamond-4.0.515:20180602-165844.log,18.04 KB, text/plain)
2018-06-02 17:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,533.50 KB, text/plain)
2018-06-02 17:15 UTC, Toralf Förster
Details
environment (environment,137.19 KB, text/plain)
2018-06-02 17:15 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,28.91 KB, application/x-bzip)
2018-06-02 17:15 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.31 KB, application/x-bzip)
2018-06-02 17:15 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.84 KB, application/x-bzip)
2018-06-02 17:15 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-12-03 09:21:06 UTC
  File "/var/tmp/portage/app-admin/diamond-4.0.515/work/Diamond-4.0.515/src/collectors/http/test/testhttp.py", line 13, in <module>
    from http import HttpCollector
ImportError: cannot import name HttpCollector

 * ERROR: app-admin/diamond-4.0.515::gentoo failed (test phase):
 *   Tests fail with /usr/bin/python2.7

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma_test_20171129-200748

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

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

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

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-admin/diamond
[ebuild  N    ] app-admin/diamond-4.0.515  USE="-mongo -mysql -redis -snmp {-test}" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2017-12-03 09:21:10 UTC
Created attachment 507842 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-03 09:21:13 UTC
Created attachment 507844 [details]
app-admin:diamond-4.0.515:20171203-063456.log
Comment 3 Toralf Förster gentoo-dev 2017-12-03 09:21:16 UTC
Created attachment 507846 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-12-03 09:21:19 UTC
Created attachment 507848 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-12-03 09:21:22 UTC
Created attachment 507850 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-03 09:21:25 UTC
Created attachment 507852 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-12-03 09:21:28 UTC
Created attachment 507854 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2017-12-03 11:27:05 UTC
The bug has been closed via the following commit(s):

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

commit c5dea8a8747baaf3792c03dd2f8bc297ad1da531
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2017-12-03 11:26:19 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2017-12-03 11:26:50 +0000

    app-admin/diamond: fix tests, bug #639586
    
    Closes: https://bugs.gentoo.org/639586
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-admin/diamond/Manifest               |  4 ++--
 app-admin/diamond/diamond-4.0.515.ebuild |  9 ++++++++-
 app-admin/diamond/diamond-9999.ebuild    | 11 +++++++++--
 3 files changed, 19 insertions(+), 5 deletions(-)
Comment 9 Toralf Förster gentoo-dev 2018-06-02 17:15:28 UTC
got at the unstable amd64 chroot image 17.0-hardened_test_20180512-194415 this : ImportError: cannot import name HttpCollector
Comment 10 Toralf Förster gentoo-dev 2018-06-02 17:15:31 UTC
Created attachment 534564 [details]
emerge-info.txt
Comment 11 Toralf Förster gentoo-dev 2018-06-02 17:15:34 UTC
Created attachment 534566 [details]
app-admin:diamond-4.0.515:20180602-165844.log
Comment 12 Toralf Förster gentoo-dev 2018-06-02 17:15:37 UTC
Created attachment 534568 [details]
emerge-history.txt
Comment 13 Toralf Förster gentoo-dev 2018-06-02 17:15:40 UTC
Created attachment 534570 [details]
environment
Comment 14 Toralf Förster gentoo-dev 2018-06-02 17:15:43 UTC
Created attachment 534572 [details]
etc.portage.tbz2
Comment 15 Toralf Förster gentoo-dev 2018-06-02 17:15:46 UTC
Created attachment 534574 [details]
logs.tbz2
Comment 16 Toralf Förster gentoo-dev 2018-06-02 17:15:49 UTC
Created attachment 534576 [details]
temp.tbz2
Comment 17 Fabian Groffen gentoo-dev 2018-06-02 17:48:39 UTC
AttributeError: <module 'pymongo' from '/usr/lib64/python2.7/site-packages/pymongo/__init__.pyc'> does not have the attribute 'Connection'

pymongo apparently changed its interface