Skip to content

Random test failure in drinfeld modules #37071

@tobiasdiez

Description

@tobiasdiez

Steps To Reproduce

No response

Expected Behavior

Tests pass

Actual Behavior

File "src/sage/rings/function_field/drinfeld_modules/morphism.py", line 543, in sage.rings.function_field.drinfeld_modules.morphism.?.__invert__
Failed example:
    f = phi.hom(K.random_element())  # known bug: macos (sporadic ValueError: the input does not define an isogeny)
Exception raised:
    Traceback (most recent call last):
      File "/home/runner/work/sage/sage/src/sage/doctest/forker.py", line 712, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/runner/work/sage/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.rings.function_field.drinfeld_modules.morphism.?.__invert__[5]>", line 1, in <module>
        f = phi.hom(K.random_element())  # known bug: macos (sporadic ValueError: the input does not define an isogeny)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/runner/work/sage/sage/src/sage/rings/function_field/drinfeld_modules/drinfeld_module.py", line 2024, in hom
        codomain = self.velu(x)
                   ^^^^^^^^^^^^
      File "/home/runner/work/sage/sage/src/sage/rings/function_field/drinfeld_modules/drinfeld_module.py", line 1930, in velu
        raise e
    ValueError: the input does not define an isogeny

Additional Information

https://github.com/sagemath/sage/actions/runs/7506353535/job/20437594453#step:11:7266

Environment

Conda? Happens on linux as well on macos

Checklist

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

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