Skip to content
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

Optional package 4ti2 test failures on Cygwin #29193

Closed
embray opened this issue Feb 13, 2020 · 2 comments
Closed

Optional package 4ti2 test failures on Cygwin #29193

embray opened this issue Feb 13, 2020 · 2 comments

Comments

@embray
Copy link
Contributor

embray commented Feb 13, 2020

I get the following test failure on Cygwin when the 4ti2 optional package install:

sage -t --long --warn-long 151.0 /opt/sagemath-9.0/src/sage/interfaces/four_ti_2.py
**********************************************************************
File "/opt/sagemath-9.0/src/sage/interfaces/four_ti_2.py", line 314, in sage.interfaces.four_ti_2.FourTi2.zsolve
Failed example:
    four_ti_2.zsolve(A, rel, rhs, sign) # optional - 4ti2
Expected:
    [
             [ 1 -1  0]
             [ 0 -1  0]
    [0 0 1]  [ 0 -3  2]
    [1 1 0]  [ 1 -2  1]
    [0 1 0], [ 0 -2  1], []
    ]
Got:
    [[], [], []]
**********************************************************************
File "/opt/sagemath-9.0/src/sage/interfaces/four_ti_2.py", line 322, in sage.interfaces.four_ti_2.FourTi2.zsolve
Failed example:
    four_ti_2.zsolve(lat=[[1,2,3],[1,1,1]]) # optional - 4ti2
Expected:
    [
                 [1 2 3]
    [0 0 0], [], [1 1 1]
    ]
Got:
    [[], [], []]
**********************************************************************
File "/opt/sagemath-9.0/src/sage/interfaces/four_ti_2.py", line 377, in sage.interfaces.four_ti_2.FourTi2.hilbert
Failed example:
    four_ti_2.hilbert(four_ti_2._magic3x3()) # optional - 4ti2
Expected:
    [2 0 1 0 1 2 1 2 0]
    [1 0 2 2 1 0 0 2 1]
    [0 2 1 2 1 0 1 0 2]
    [1 2 0 0 1 2 2 0 1]
    [1 1 1 1 1 1 1 1 1]
Got:
    []
**********************************************************************
File "/opt/sagemath-9.0/src/sage/interfaces/four_ti_2.py", line 383, in sage.interfaces.four_ti_2.FourTi2.hilbert
Failed example:
    four_ti_2.hilbert(lat=[[1,2,3],[1,1,1]])   # optional - 4ti2
Expected:
    [2 1 0]
    [0 1 2]
    [1 1 1]
Got:
    []
**********************************************************************
File "/opt/sagemath-9.0/src/sage/interfaces/four_ti_2.py", line 400, in sage.interfaces.four_ti_2.FourTi2.graver
Failed example:
    four_ti_2.graver([1,2,3]) # optional - 4ti2
Expected:
    [ 2 -1  0]
    [ 3  0 -1]
    [ 1  1 -1]
    [ 1 -2  1]
    [ 0  3 -2]
Got:
    []
**********************************************************************
File "/opt/sagemath-9.0/src/sage/interfaces/four_ti_2.py", line 406, in sage.interfaces.four_ti_2.FourTi2.graver
Failed example:
    four_ti_2.graver(lat=[[1,2,3],[1,1,1]])  # optional - 4ti2
Expected:
    [ 1  0 -1]
    [ 0  1  2]
    [ 1  1  1]
    [ 2  1  0]
Got:
    []
**********************************************************************
File "/opt/sagemath-9.0/src/sage/interfaces/four_ti_2.py", line 478, in sage.interfaces.four_ti_2.FourTi2.groebner
Failed example:
    four_ti_2.groebner(A) # optional - 4ti2
Expected:
    [-5  0  2]
    [-5  3  0]
Got:
    /opt/sagemath-9.0/local/bin/groebner: line 64: 37007 Segmentation fault      (core dumped) "$DIR"/$EXECUTABLE $FUNCTION $@
    []
**********************************************************************
File "/opt/sagemath-9.0/src/sage/interfaces/four_ti_2.py", line 481, in sage.interfaces.four_ti_2.FourTi2.groebner
Failed example:
    four_ti_2.groebner(lat=[[1,2,3],[1,1,1]]) # optional - 4ti2
Expected:
    [-1  0  1]
    [ 2  1  0]
Got:
    /opt/sagemath-9.0/local/bin/groebner: line 64: 37121 Segmentation fault      (core dumped) "$DIR"/$EXECUTABLE $FUNCTION $@
    []
**********************************************************************
4 items had failures:
   2 of   4 in sage.interfaces.four_ti_2.FourTi2.graver
   2 of   5 in sage.interfaces.four_ti_2.FourTi2.groebner
   2 of   4 in sage.interfaces.four_ti_2.FourTi2.hilbert
   2 of   8 in sage.interfaces.four_ti_2.FourTi2.zsolve
    [54 tests, 8 failures, 35.30 s]

It looks like in some, possibly all cases it's segfaulting.

Component: porting: Cygwin

Keywords: 4ti2 cygwin windows

Issue created by migration from https://trac.sagemath.org/ticket/29193

@embray embray added this to the sage-9.1 milestone Feb 13, 2020
@mkoeppe
Copy link
Member

mkoeppe commented Feb 17, 2020

comment:1

Upstream 4ti2 has no CI infrastructure for cygwin but would accept a pull request that adds it.

@mkoeppe mkoeppe modified the milestones: sage-9.1, sage-9.2 May 4, 2020
@mkoeppe mkoeppe modified the milestones: sage-9.2, sage-9.3 Oct 24, 2020
@mkoeppe
Copy link
Member

mkoeppe commented Mar 24, 2021

comment:5

Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Mar 24, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Jul 19, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 14, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Mar 5, 2022
@mkoeppe mkoeppe removed this from the sage-9.7 milestone Aug 25, 2022
@mkoeppe mkoeppe mentioned this issue Jan 29, 2023
@mkoeppe mkoeppe closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants