-
-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alarm test failure in CombinatorialPolyhedron.f_vector #28287
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Also I'll note that, in the process of trying to test this manually, I got bitten by this issue again, which I see now that we never made a ticket for. I'll go do that now. |
comment:3
In fact, although I can get this test to pass at the command prompt by itself, I can't seem to get the copy in the source code to pass when I modify it to lower the alarm() time. It seems there are results being cached from earlier tests that cause that call to |
comment:4
Replying to @embray:
There is nothing being cashed at that point. Also if there was something being cashed or What I think is happening, is that the I don't seem to be the only one with this problem: https://patchbot.sagemath.org/log/27973/Ubuntu/14.04/i686/3.13.0-167-generic/arando/2019-07-25%2015:09:25?short As a resolution one could either figure out,
I would prefer the second option, as the first depends on somebody with time and knowledge. We won't have a certificate anymore that the methods in |
comment:5
One more example for https://groups.google.com/d/msg/sage-devel/wqnilUCLsT4/4riK4FnhDQAJ In sage/rings/integer.pyx the alarm interrupts takes much longer than they should take, when using |
Commit: |
Author: Jonathan Kliem |
New commits:
|
Branch: public/28287 |
Reviewer: Erik Bray |
comment:7
Thanks, I think maybe that's the best for now. Writing a test like this to work reliably is hard, and unless there's a specific regression to test related to interruptability I don't know that such tests add much value. If you do want to have one, it has to be a case where it for sure won't return unless interrupted. |
Changed branch from public/28287 to |
Ever since the merging of #26887 I get this one test failure:
It's a minor issue, but I mark the ticket priority as "critical" as this is likely to affect others as well, and constitutes a regression. There's no way to guarantee that 0.5 seconds, or any amount of time really, is short enough to trigger the alarm as soon as the test requires (though if nothing else it should be a shorter time). I did check, to be certain, that lowering the alarm time in this test does cause it to pass for me. But that's no guarantee it won't still fail on an even faster machine.
Although, if as this comment states, there is no explicit reason for these tests, I would just remove them.
CC: @kliem
Component: geometry
Keywords: f_vector, polytopes
Author: Jonathan Kliem
Branch/Commit:
e62f499
Reviewer: Erik Bray
Issue created by migration from https://trac.sagemath.org/ticket/28287
The text was updated successfully, but these errors were encountered: