Opened 6 years ago

Last modified 5 years ago

#15477 new defect

random doctest failures in Curve_generic.geometric_genus

Reported by: vbraun Owned by:
Priority: major Milestone: sage-6.4
Component: algebraic geometry Keywords: random_fail
Cc: jakobkroeker Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

The following doctest failure has been reported occasionally on sage-devel. I see it sometimes on the buildbot. It appears to be random and mostly on slower machines...

sage -t --long src/sage/schemes/plane_curves/curve.py
**********************************************************************
File "src/sage/schemes/plane_curves/curve.py", line 122, in sage.schemes.plane_curves.curve.Curve_generic.geometric_genus
Failed example:
    C.geometric_genus()
Exception raised:
    Traceback (most recent call last):
      File "/home/buildbot/build/sage/cicero-1/sage_git/build/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 480, in _run
        self.execute(example, compiled, test.globs)
      File "/home/buildbot/build/sage/cicero-1/sage_git/build/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 839, in execute
        exec compiled in globs
      File "<doctest sage.schemes.plane_curves.curve.Curve_generic.geometric_genus[7]>", line 1, in <module>
        C.geometric_genus()
      File "/home/buildbot/build/sage/cicero-1/sage_git/build/local/lib/python2.7/site-packages/sage/schemes/plane_curves/curve.py", line 141, in geometric_genus
        self.__genus = self.defining_ideal().genus()
      File "/home/buildbot/build/sage/cicero-1/sage_git/build/local/lib/python2.7/site-packages/sage/rings/polynomial/multi_polynomial_ideal.py", line 604, in __call__
        return self.f(self._instance, *args, **kwds)
      File "/home/buildbot/build/sage/cicero-1/sage_git/build/local/lib/python2.7/site-packages/sage/rings/polynomial/multi_polynomial_ideal.py", line 1764, in genus
        self.__genus = Integer(genus(self))
      File "function.pyx", line 1278, in sage.libs.singular.function.SingularFunction.__call__ (sage/libs/singular/function.cpp:12461)
      File "function.pyx", line 1467, in sage.libs.singular.function.call_function (sage/libs/singular/function.cpp:13985)
    RuntimeError: Error in Singular function call 'genus':
     delta not found, please inform the authors
     leaving normal.lib::deltaP
     leaving normal.lib::genus

Change History (5)

comment:1 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:2 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:3 Changed 6 years ago by vbraun

  • Keywords random_fail added

comment:4 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:5 Changed 5 years ago by jakobkroeker

  • Cc jakobkroeker added
Note: See TracTickets for help on using tickets.