[Python-modules-team] Bug#884432: pytest-httpbin: test_httpbin_accepts_lots_of_get_requests_in_single_session FAILED

2017-12-15 Thread Daniel Stender
Source: pytest-httpbin
Version: 0.2.3-1
Severity: serious
Justification: fails to build from source

pytest-httpbin currently FTBFS:

tests/test_httpbin.py::test_httpbin_accepts_lots_of_get_requests_in_single_session
 FAILED

=== FAILURES ===
_ test_httpbin_accepts_lots_of_get_requests_in_single_session __

self = 
func =  at 0x7f15929881b8>, when = 'call'

def __init__(self, func, when):
#: context of invocation: one of "setup", "call",
#: "teardown", "memocollect"
self.when = when
self.start = time()
try:
>   self.result = func()

/usr/lib/python2.7/dist-packages/_pytest/runner.py:196: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python2.7/dist-packages/_pytest/runner.py:182: in 
return CallInfo(lambda: ihook(item=item, **kwds), when=when)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:745: in 
__call__
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:339: in 
_hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:334: in 

_MultiCall(methods, kwargs, hook.spec_opts).execute()
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:613: in 
execute
return _wrapped_call(hook_impl.function(*args), self.execute)
/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:250: in 
_wrapped_call
wrap_controller.send(call_outcome)
/usr/lib/python2.7/dist-packages/_pytest/capture.py:139: in pytest_runtest_call
self.suspendcapture_item(item, "call")
/usr/lib/python2.7/dist-packages/_pytest/capture.py:156: in suspendcapture_item
out, err = self.suspendcapture(in_=in_)
/usr/lib/python2.7/dist-packages/_pytest/capture.py:97: in suspendcapture
outerr = cap.readouterr()
/usr/lib/python2.7/dist-packages/_pytest/capture.py:327: in readouterr
self.err.snap() if self.err is not None else "")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = 

def snap(self):
f = self.tmpfile
>   f.seek(0)
E   IOError: seek() called during concurrent operation on the same file 
object

/usr/lib/python2.7/dist-packages/_pytest/capture.py:375: IOError
--- Captured stderr teardown ---
127.0.0.1 - - [15/Dec/2017 07:58:18] "GET /get HTTP/1.1" 200 302
127.0.0.1 - - [15/Dec/2017 07:58:18] "GET /get HTTP/1.1" 200 302
127.0.0.1 - - [15/Dec/2017 07:58:18] "GET /get HTTP/1.1" 200 302
127.0.0.1 - - [15/Dec/2017 07:58:18] "GET /get HTTP/1.1" 200 302
127.0.0.1 - - [15/Dec/2017 07:58:18] "GET /get HTTP/1.1" 200 302
127.0.0.1 - - [15/Dec/2017 07:58:18] "GET /get HTTP/1.1" 200 302
127.0.0.1 - - [15/Dec/2017 07:58:18] "GET /get HTTP/1.1" 200 302
127.0.0.1 - - [15/Dec/2017 07:58:18] "GET /get HTTP/1.1" 200 302
127.0.0.1 - - [15/Dec/2017 07:58:18] "GET /get HTTP/1.1" 200 302
127.0.0.1 - - [15/Dec/2017 07:58:18] "GET /get HTTP/1.1" 200 302


DS

-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#884432: pytest-httpbin: test_httpbin_accepts_lots_of_get_requests_in_single_session FAILED

2018-01-12 Thread Pierre-Elliott Bécue
I'm unable to reproduce. I guess it's the kind of non-deterministic tests
people set up on their own laptop and that seems to work but that isn't
secured enough to race conditions.

We should file a bug upstream at least, but in the meantime, shouldn't we
lower the severity until we find a solution?

Tell me how you'd like to handle this.

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#884432: pytest-httpbin: test_httpbin_accepts_lots_of_get_requests_in_single_session FAILED

2018-01-23 Thread Pierre-Elliott Bécue
Control: severity -1 important

Can't reproduce after many tests.

I'll fire two bugs upstream for the related bugs regarding testing.

As it doesn't prevent the package from working, I think the severity should
be lowered, and maybe the tests disabled.

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2


signature.asc
Description: PGP signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team