Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635824 - dev-python/requests-toolbelt-0.7.1 : E AssertionError: assert 0 == 5
Summary: dev-python/requests-toolbelt-0.7.1 : E AssertionError: assert 0 == 5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 620454
  Show dependency tree
 
Reported: 2017-10-29 18:39 UTC by Toralf Förster
Modified: 2018-05-12 15:28 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.99 KB, text/plain)
2017-10-29 18:39 UTC, Toralf Förster
Details
dev-python:requests-toolbelt-0.7.1:20171029-183618.log (dev-python:requests-toolbelt-0.7.1:20171029-183618.log,26.25 KB, text/plain)
2017-10-29 18:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,110.20 KB, text/plain)
2017-10-29 18:39 UTC, Toralf Förster
Details
environment (environment,107.15 KB, text/plain)
2017-10-29 18:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.25 KB, application/x-bzip)
2017-10-29 18:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.85 KB, application/x-bzip)
2017-10-29 18:39 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,136.26 KB, application/x-bzip)
2017-10-29 18:39 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-10-29 18:39:23 UTC
    
>       assert job_queue.put.call_count == 5
E       AssertionError: assert 0 == 5
E        +  where 0 = <MagicMock name='mock.put' id='140707285862480'>.call_count
E        +    where <MagicMock name='mock.put' id='140707285862480'> = <MagicMock id='140707285861840'>.put


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

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

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

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)

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

emerge -qpv dev-python/requests-toolbelt
[ebuild  N    ] dev-python/requests-toolbelt-0.7.1  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-10-29 18:39:26 UTC
Created attachment 500920 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-29 18:39:29 UTC
Created attachment 500922 [details]
dev-python:requests-toolbelt-0.7.1:20171029-183618.log
Comment 3 Toralf Förster gentoo-dev 2017-10-29 18:39:32 UTC
Created attachment 500924 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-10-29 18:39:35 UTC
Created attachment 500926 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-10-29 18:39:38 UTC
Created attachment 500928 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-29 18:39:41 UTC
Created attachment 500930 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-10-29 18:39:45 UTC
Created attachment 500932 [details]
tests.tbz2
Comment 8 Brian Dolbec (RETIRED) gentoo-dev 2018-03-08 18:42:59 UTC
I attempted to bump this to the current 0.8.0 release.  But I am getting the same test failures for python-2.7.

I also discovered another error causing numerous tracebacks which do not trip the tests to fail.  I have submitted a PR [0] upstream for this.  But unfortunately that PR causes a different test failure with the old versions of dev-python/requests that they test against.

I have also opened an issue [1] with them about the test failures.  I have held off committing 0.8.0 to the tree hoping upstream can fix the issues.


[0] https://github.com/requests/toolbelt/pull/212
[1] https://github.com/requests/toolbelt/issues/213
Comment 9 Amy Liffey gentoo-dev 2018-05-12 15:28:55 UTC
Fixed in 0.8.0

author	Brian Dolbec <dolsen@gentoo.org>	2018-03-07 23:15:27 +0000
committer Brian Dolbec <dolsen@gentoo.org>	2018-03-13 23:56:33 +0000

dev-python/requests-toolbelt: Version bump
Restrict tests due to known python2.7 test failures.
Upstream not testing against newer requests versions.

bug: https://bugs.gentoo.org/635824
Upstream patch submitted: https://github.com/requests/toolbelt/pull/212
Upstream bug: https://github.com/requests/toolbelt/issues/213

Package-Manager: Portage-2.3.13, Repoman-2.3.3