Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 638598

Summary: dev-python/notify2-0.3 : [TEST] ERROR: test_get_server_caps (__main__.ModuleTests)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: billie, erhard_f, prometheanfire, whissi
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 676054    
Attachments: emerge-info.txt
dev-python:notify2-0.3:20171123-060224.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
Fix tests

Description Toralf Förster gentoo-dev 2017-11-23 19:00:42 UTC
EEEEEEEEEEEEE
======================================================================
ERROR: test_get_server_caps (__main__.ModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_notify2.py", line 17, in setUp

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

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

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy (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 dev-python/notify2
[ebuild  N    ] dev-python/notify2-0.3  USE="-examples" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-11-23 19:00:45 UTC
Created attachment 505972 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-23 19:00:48 UTC
Created attachment 505974 [details]
dev-python:notify2-0.3:20171123-060224.log
Comment 3 Toralf Förster gentoo-dev 2017-11-23 19:00:51 UTC
Created attachment 505976 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-23 19:00:54 UTC
Created attachment 505978 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-23 19:00:57 UTC
Created attachment 505980 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-23 19:01:00 UTC
Created attachment 505982 [details]
temp.tbz2
Comment 7 Daniel Pielmeier gentoo-dev 2019-08-09 18:29:13 UTC
*** Bug 671984 has been marked as a duplicate of this bug. ***
Comment 8 Daniel Pielmeier gentoo-dev 2019-08-09 18:35:15 UTC
Created attachment 586388 [details, diff]
Fix tests

Tests are failing because they need a running xserver. Using the virtualx eclass fixes this issue.

Given how long-standing this bug is I am going to commit this fix myself in the next few days.
Comment 9 Daniel Pielmeier gentoo-dev 2019-08-12 18:11:56 UTC
Fixed in Git.