Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637258 - dev-python/pyxdg-0.25-r1 : [TEST] ERROR: test_validate_icon_theme (test-icon.IconThemeTest)
Summary: dev-python/pyxdg-0.25-r1 : [TEST] ERROR: test_validate_icon_theme (test-icon....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-11-12 18:39 UTC by Toralf Förster
Modified: 2018-04-21 19:29 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.90 KB, text/plain)
2017-11-12 18:39 UTC, Toralf Förster
Details
dev-python:pyxdg-0.25-r1:20171112-180909.log (dev-python:pyxdg-0.25-r1:20171112-180909.log,12.89 KB, text/plain)
2017-11-12 18:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,99.76 KB, text/plain)
2017-11-12 18:39 UTC, Toralf Förster
Details
environment (environment,138.31 KB, text/plain)
2017-11-12 18:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.20 KB, application/x-bzip)
2017-11-12 18:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.32 KB, application/x-bzip)
2017-11-12 18:39 UTC, Toralf Förster
Details
Missing validation bits (pyxdg-0.25-missing-scale-key.diff,952 bytes, patch)
2018-01-12 20:11 UTC, Carlo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-11-12 18:39:27 UTC
.................E..................
======================================================================
ERROR: test_validate_icon_theme (test-icon.IconThemeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/pyxdg-0.25-r1/work/pyxdg-0.25/test/test-icon.py", line 20, in test_validate_icon_theme

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

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

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   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/pyxdg
[ebuild  N    ] dev-python/pyxdg-0.25-r1  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-11-12 18:39:31 UTC
Created attachment 503772 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-12 18:39:34 UTC
Created attachment 503774 [details]
dev-python:pyxdg-0.25-r1:20171112-180909.log
Comment 3 Toralf Förster gentoo-dev 2017-11-12 18:39:37 UTC
Created attachment 503776 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-12 18:39:40 UTC
Created attachment 503778 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-12 18:39:43 UTC
Created attachment 503780 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-12 18:39:46 UTC
Created attachment 503782 [details]
temp.tbz2
Comment 7 Carlo 2018-01-12 20:11:07 UTC
Created attachment 514540 [details, diff]
Missing validation bits

The code does not conform to the spec. https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html (v0.13 currently). The accompanied patch fixes the test, but I didn't check for any further issues, which go unnoticed.
Comment 8 Paolo Pedroni 2018-02-06 11:17:45 UTC
(In reply to Carlo from comment #7)
> Created attachment 514540 [details, diff] [details, diff]
> Missing validation bits
> 
> The code does not conform to the spec.
> https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-
> latest.html (v0.13 currently). The accompanied patch fixes the test, but I
> didn't check for any further issues, which go unnoticed.

Thank you. This patch fixes the issue for me.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-21 19:29:06 UTC
I've just committed 0.26 and it passes all tests for me.