Skip to content

tests for graphs failing #35157

@GMS103

Description

@GMS103

Is there an existing issue for this?

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.

Did you read the documentation and troubleshoot guide?

  • I have read the documentation and troubleshoot guide

Environment

- **OS**: macOS 11.7.4, macOS 12.6.3, macOS 13.2.1
- **Sage Version**: 10.0.beta0

Steps To Reproduce

Running make ptestlong gives

sage -t --long --warn-long 57.8 --random-seed=290645697385203691838308049816374839723 src/sage/graphs/generators/families.py  # 3 doctests failed
sage -t --long --warn-long 57.8 --random-seed=290645697385203691838308049816374839723 src/sage/graphs/graph_generators.py  # 1 doctest failed

as follows (the last 3 seem cosmetic, but not the first).

Expected Behavior

All tests passed!

Actual Behavior

% ./sage -t --long --warn-long 57.8 --random-seed=290645697385203691838308049816374839723 src/sage/graphs/generators/families.py
Running doctests with ID 2023-02-18-18-10-46-bcc2e4c0.
Git branch: develop
Git ref: 10.0.beta0-12-gfbb412787f
Running with SAGE_LOCAL='…/sage/local' and SAGE_VENV='…/sage/local/var/lib/sage/venv-python3.11'
Using --optional=homebrew,pip,sage,sage_spkg
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_jones_numfield,database_knotinfo,dvipng,gfan,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,msolve,nauty,palp,pandoc,pdf2svg,pdftocairo,phitigra,plantri,polytopes_db,polytopes_db_4d,pynormaliz,python_igraph,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.misc.cython,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib
Doctesting 1 file.
sage -t --long --warn-long 57.8 --random-seed=290645697385203691838308049816374839723 src/sage/graphs/generators/families.py
**********************************************************************
File "src/sage/graphs/generators/families.py", line 3652, in sage.graphs.generators.families.nauty_gentreeg
Failed example:
    [len(list(graphs.nauty_gentreeg(str(i)))) for i in range(1, 15)]
Expected:
    [1, 1, 1, 2, 3, 6, 11, 23, 47, 106, 235, 551, 1301, 3159]
Got:
    [1, 0, 1, 2, 3, 6, 11, 23, 47, 106, 235, 551, 1301, 3159]
**********************************************************************
File "src/sage/graphs/generators/families.py", line 3662, in sage.graphs.generators.families.nauty_gentreeg
Failed example:
    print(next(gen))
Expected:
    >A ...gentreeg Z=2:3 D=3 n=4
Got:
    >A /opt/homebrew/bin/gentreeg Z=0:0 D=0 n=0
    <BLANKLINE>
**********************************************************************
File "src/sage/graphs/generators/families.py", line 3689, in sage.graphs.generators.families.nauty_gentreeg
Failed example:
    list(graphs.nauty_gentreeg("3", debug=True))
Expected:
    ['>A ...gentreeg Z=2:2 D=2 n=3\n', Graph on 3 vertices]
Got:
    ['>A /opt/homebrew/bin/gentreeg Z=0:0 D=0 n=0\n', Graph on 3 vertices]
**********************************************************************
1 item had failures:
   3 of  16 in sage.graphs.generators.families.nauty_gentreeg
    [476 tests, 3 failures, 10.07 s]
----------------------------------------------------------------------
sage -t --long --warn-long 57.8 --random-seed=290645697385203691838308049816374839723 src/sage/graphs/generators/families.py  # 3 doctests failed
----------------------------------------------------------------------
Total time for all tests: 10.2 seconds
    cpu time: 9.2 seconds
    cumulative wall time: 10.1 seconds
Features detected for doctesting: sage.groups

and

% ./sage -t --long --warn-long 57.8 --random-seed=290645697385203691838308049816374839723 src/sage/graphs/graph_generators.py
Running doctests with ID 2023-02-18-18-11-18-4cc34614.
Git branch: develop
Git ref: 10.0.beta0-12-gfbb412787f
Running with SAGE_LOCAL='…/sage/local' and SAGE_VENV='…/sage/local/var/lib/sage/venv-python3.11'
Using --optional=homebrew,pip,sage,sage_spkg
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_jones_numfield,database_knotinfo,dvipng,gfan,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,msolve,nauty,palp,pandoc,pdf2svg,pdftocairo,phitigra,plantri,polytopes_db,polytopes_db_4d,pynormaliz,python_igraph,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.misc.cython,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib
Doctesting 1 file.
sage -t --long --warn-long 57.8 --random-seed=290645697385203691838308049816374839723 src/sage/graphs/graph_generators.py
**********************************************************************
File "src/sage/graphs/graph_generators.py", line 968, in sage.graphs.graph_generators.GraphGenerators.nauty_geng
Failed example:
    list(graphs.nauty_geng("-c3", debug=True))
Expected:
    ['>E Usage: ...geng [-cCmtfbd#D#] [-uygsnh] [-lvq] ...
Got:
    ['>E Usage: geng [-cCmtfkbd#D#] [-uygsnh] [-lvq] \n']
**********************************************************************
1 item had failures:
   1 of  18 in sage.graphs.graph_generators.GraphGenerators.nauty_geng
    [124 tests, 1 failure, 4.85 s]
----------------------------------------------------------------------
sage -t --long --warn-long 57.8 --random-seed=290645697385203691838308049816374839723 src/sage/graphs/graph_generators.py  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 5.1 seconds
    cpu time: 4.3 seconds
    cumulative wall time: 4.8 seconds
Features detected for doctesting: sage.symbolic

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions