#25431 closed defect (fixed)
Timeouts in lattice precision
Reported by:  Julian Rüth  Owned by:  

Priority:  critical  Milestone:  sage8.3 
Component:  padics  Keywords:  
Cc:  Xavier Caruso, David Roe, Frédéric Chapoton  Merged in:  
Authors:  Julian Rüth, Xavier Caruso  Reviewers:  Julian Rüth, David Loeffler 
Report Upstream:  N/A  Work issues:  
Branch:  b80dc9e (Commits, GitHub, GitLab)  Commit:  
Dependencies:  Stopgaps: 
Description (last modified by )
The patchbots time out with some lattice precision tests https://patchbot.sagemath.org/log/0/Ubuntu/18.04/x86_64/4.15.020generic/petitbonum/20180511%2012:03:31?short. I have also seen the same issues with GitLab CI tests.
The test suite takes too much time, more precisely _test_matrix_smith
.
sage: R = QpLC(7, label='init') sage: %time TestSuite(R).run(skip='_test_teichmuller') Wall time: 2min 59s sage: %time R._test_matrix_smith() Wall time: 2min 56s
Change History (15)
comment:1 Changed 5 years ago by
Cc:  Xavier Caruso David Roe Frédéric Chapoton added 

comment:2 Changed 5 years ago by
Authors:  → Julian Rüth 

Description:  modified (diff) 
comment:3 Changed 5 years ago by
Branch:  → u/saraedum/25431 

comment:4 Changed 5 years ago by
Commit:  → 16ecaab3129389cd5f2d7afb55ad949893c0f7ea 

Status:  new → needs_review 
comment:5 Changed 5 years ago by
Commit:  16ecaab3129389cd5f2d7afb55ad949893c0f7ea → e67314c4adb29748b4ef683f351b1a1094c837de 

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
e67314c  Skip _test_matrix_smith for lattice precision rings

comment:6 Changed 5 years ago by
I have launched my patchbot having the timeout issue, to see if the branch brings any progress.
comment:7 Changed 5 years ago by
This indeed seems to fix the timeout issue (see petibonum report)
Note: my patchbot has found some pyflakes errors in the modified files, see the pyflakes plugin.
comment:8 Changed 5 years ago by
FYI: short doctests should take at most 1 second or so and long doctests at most 30 seconds (unless for exceptional reasons).
comment:9 Changed 5 years ago by
Branch:  u/saraedum/25431 → u/caruso/25431 

comment:10 Changed 5 years ago by
Commit:  e67314c4adb29748b4ef683f351b1a1094c837de → b80dc9e2d1996a76de2ef286d8860262cbfaaaa0 

comment:11 Changed 5 years ago by
Authors:  Julian Rüth → Julian Rüth, Xavier Caruso 

comment:12 Changed 5 years ago by
Reviewers:  → Julian Rüth 

Xavier, your changes look good. Can you review my original changes?
comment:13 Changed 5 years ago by
Reviewers:  Julian Rüth → Julian Rüth, David Loeffler 

Status:  needs_review → positive_review 
Changes look reasonable + it gets the timings down to an acceptable level. Positive review.
comment:14 Changed 5 years ago by
Branch:  u/caruso/25431 → b80dc9e2d1996a76de2ef286d8860262cbfaaaa0 

Resolution:  → fixed 
Status:  positive_review → closed 
comment:15 Changed 5 years ago by
Commit:  b80dc9e2d1996a76de2ef286d8860262cbfaaaa0 

As noted on the mailing list, I am also getting
sage t src/sage/rings/padics/padic_base_leaves.py Timed out (with segmentation fault after interrupt)
on cygwin. I will test this patch and see if the tests at least pass with these tests skipped by default (and I will also test with long
)
I have not run doctests yet, so let's see if the patchbots are happy now.
New commits:
Skip _test_matrix_smith for lattice precision rings