[issue24707] Assertion failed in pymonotonic_new

2015-09-02 Thread STINNER Victor

STINNER Victor added the comment:

I removed the assertion. Thanks for your report!

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-09-02 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 4c90b4a4fffa by Victor Stinner in branch '3.5':
Issue #24707: Remove assertion in monotonic clock
https://hg.python.org/cpython/rev/4c90b4a4fffa

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-09-02 Thread STINNER Victor

STINNER Victor added the comment:

It occurred on more time on the same buildbot:
http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/2569/steps/test/logs/stdio

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-08-18 Thread STINNER Victor

STINNER Victor added the comment:

IMHO the best to do with this issue is to document that Python doesn't ensure 
that the clock is monotonic, but only exposes what the OS provides, and then 
remove the assertion.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24707
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-07-30 Thread STINNER Victor

STINNER Victor added the comment:

Chris Angelico added the comment:
 Where's this issue heading? The buildbots seem to be green now, does that 
 imply that this is fixed?

The issue still exist, it's just that the issue occurs randomly and is
very rare (seen twice in 6 months...).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24707
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-07-30 Thread STINNER Victor

STINNER Victor added the comment:

Hum, I'm not sure that I was clear: in fact, the assertion is only
useful for me, because I'm curious to know bugs in implementations of
monotonic clocks. In the case of this buildbot, it may be a bug in
qemu, less likely in the linux kernel.

I don't think that Python should workaround bugs in the OS (kernel).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24707
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-07-30 Thread Chris Angelico

Chris Angelico added the comment:

Ah. It's one of *those* bugs. Got it.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24707
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-07-24 Thread Berker Peksag

New submission from Berker Peksag:

From 
http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/2436:

python: Python/pytime.c:633: pymonotonic_new: Assertion `!last_set || last = 
*tp' failed.
Fatal Python error: Aborted

Full log is here: 
http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/2436/steps/test/logs/stdio

--
components: Interpreter Core
messages: 247288
nosy: berker.peksag, haypo
priority: normal
severity: normal
status: open
title: Assertion failed in pymonotonic_new
type: behavior
versions: Python 3.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24707
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-07-24 Thread Chris Angelico

Chris Angelico added the comment:

The host is running Debian Jessie (newer than the Debian Wheezy of the VM).

Linux sikorsky 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) 
x86_64 GNU/Linux

What info are you after re hardware virtualization?

VirtualBox 4.3.28 r100309 manages the VM.

Any other information that would help?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24707
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-07-24 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +Rosuav

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24707
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-07-24 Thread STINNER Victor

STINNER Victor added the comment:

This buildbot runs in a VM. I need more information on the host (machine 
running the VM): OS, OS version, kernel version, hardware virtualization?, 
version of qemu/kvm?, etc.

It's probably a bug in the virtualization.

In the PEP 418, we decided to _not_ handle this error (monotonic clock running 
backward).

Maybe we should document the bug and remove the assertion (it only exists when 
Python is compiled in debug mode).

Note: I already saw this assertion error on the same buildbot.

http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/2436/steps/test/logs/stdio

== CPython 3.6.0a0 (default:2825c87d3f72, Jul 25 2015, 01:29:19) [GCC 4.7.2]
==   Linux-3.2.0-4-amd64-x86_64-with-debian-7.7 little-endian
==   hash algorithm: siphash24 64bit
==   /root/buildarea/3.x.angelico-debian-amd64/build/build/test_python_27852

http://buildbot.python.org/all/buildslaves/angelico-debian-amd64

Slave information

* Buildbot-Slave 0.8.6p1
* Debian AMD64 running tests as root - VM with two Intel i5 cores

--
nosy: +Chris

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24707
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24707] Assertion failed in pymonotonic_new

2015-07-24 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy:  -Chris

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24707
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com