[TIP] Travis.ci => tox => py.test => exited with code -11

Olemis Lang olemis at gmail.com
Sun Jul 8 08:08:20 PDT 2018


On Sun, Jul 8, 2018 at 11:03 AM, Olemis Lang <olemis at gmail.com> wrote:
[...]

>
> On Sun, Jul 8, 2018 at 5:17 AM, Floris Bruynooghe <flub at devork.be> wrote:
>
>>
>> [...]

> >
>> > Does anybody know what could be happening with py.test during this
>> build ?
>> > What's py.test error code -11 about ?
>>
>> Negative return codes do not come from the process (where the python
>> interpreter running pytest is the process here), but they indicate the
>> unhandled signal with which the OS has terminated the process.  In this
>> case `man 7 signal` tells me signal no 11 is SIGSEGV aka segmentation
>> fault aka "Invalid memory reference".
>>
>
> I did not know of this . Shouldn't this be included in the py.test docs
> [1]_ . If people knew then issues would be fixed faster . Or maybe this is
> a temporary situation that should remain undocumented ?
>
>
>>
> [...]

> .. [1] https://docs.pytest.org/en/3.6.3/usage.html#possible-exit-codes
>
>
Oh ! Nevermind . Now I get it . This is built into the Python interpreter .
No need to document it since this is not specific to py.test .

-- 
Regards,

Olemis - @olemislc

Software Eng Skycoin : https://www.skycoin.net
Apache™ Bloodhound contributor : http://issues.apache.org/bloodhound
Brython committer : http://brython.info
SciPy Latin America - Ambassador : http://conf.scipyla.org

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20180708/63c01165/attachment.htm>


More information about the testing-in-python mailing list