Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638250 - dev-python/cached-property-1.3.1 fails test: E AssertionError: 4 != 5
Summary: dev-python/cached-property-1.3.1 fails test: E AssertionError: 4 != 5
Status: CONFIRMED
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-20 17:10 UTC by Toralf Förster
Modified: 2022-02-13 09:51 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.11 KB, text/plain)
2017-11-20 17:10 UTC, Toralf Förster
Details
dev-python:cached-property-1.3.1:20171119-232857.log (dev-python:cached-property-1.3.1:20171119-232857.log,6.49 KB, text/plain)
2017-11-20 17:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,49.41 KB, text/plain)
2017-11-20 17:10 UTC, Toralf Förster
Details
environment (environment,105.06 KB, text/plain)
2017-11-20 17:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.99 KB, application/x-bzip)
2017-11-20 17:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.35 KB, application/x-bzip)
2017-11-20 17:10 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,1.72 KB, application/x-bzip)
2017-11-20 17:10 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-11-20 17:10:09 UTC
tests/test_cached_property.py:69: in assert_cached
    self.assertEqual(check.add_cached, expected)
E   AssertionError: 4 != 5
===================== 1 failed, 23 passed in 8.67 seconds ======================
 * ERROR: dev-python/cached-property-1.3.1::gentoo failed (test phase):
 *   (no error message)

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

  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-6.4.0 *

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




emerge -qpv dev-python/cached-property
[ebuild  N    ] dev-python/cached-property-1.3.1  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-11-20 17:10:12 UTC
Created attachment 505180 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-20 17:10:15 UTC
Created attachment 505182 [details]
dev-python:cached-property-1.3.1:20171119-232857.log
Comment 3 Toralf Förster gentoo-dev 2017-11-20 17:10:18 UTC
Created attachment 505184 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-20 17:10:21 UTC
Created attachment 505186 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-20 17:10:24 UTC
Created attachment 505188 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-20 17:10:27 UTC
Created attachment 505190 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-11-20 17:10:30 UTC
Created attachment 505192 [details]
tests.tbz2
Comment 8 Cédric Krier gentoo-dev 2017-11-20 22:59:49 UTC
I can not reproduce on my machine.
It seems to be a known problem that happens in some cases: https://github.com/pydanny/cached-property/issues/24
Comment 9 Alexey 2020-02-09 09:59:55 UTC
Still broken on 1.5.1, I pasted my assert to the github issue.
Comment 10 Larry the Git Cow gentoo-dev 2020-08-17 18:55:10 UTC
The bug has been referenced in the following commit(s):

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

commit 7b4d8767a9e1190ac84c8a44c018d0c8ea7772ac
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-17 18:54:40 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-17 18:54:40 +0000

    dev-python/cached-property: Add python 3.9
    
    * Mask problematic 'test_threads_ttl_expiry' test fails
      with high core count:
        https://github.com/pydanny/cached-property/issues/24
    
    Bug: https://bugs.gentoo.org/638250
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../cached-property/cached-property-1.5.1.ebuild   | 22 +++++++++++++---------
 .../files/cached-property-1.5.1-test-failure.patch | 10 ++++++++++
 2 files changed, 23 insertions(+), 9 deletions(-)
Comment 11 Agostino Sarubbo gentoo-dev 2022-02-13 09:51:12 UTC
Update summary. [something] is used when something refers to an overlay