Buiding sage on a Raspberry Pi 4B

117 views
Skip to first unread message

Jaap Spies

unread,
Dec 30, 2019, 10:17:32 AM12/30/19
to sage-devel
Why? Because it is possible. And the OS Raspbian is distributed with a version of Mathematica 12.0

First attempt was building sage-8.9. Just did a 'make' after downloading. The RPi 4 showed unstable.
The little computer stalled a few times. Power off and power on. After 12 hours there was a running sage.
Building the docs failed consistently. I ran a few tests.

Secondly I did a "MAKE='make -j4' make". After a few hick-ups I changed to 'make -j3' and got sage running, but building the docs
failed on the same spot.

Third was a try to build sage-9.0.beta9 with 'make -j3'. Again a few freezes, but the building of the docs succeeded!
The same with sage-9.0.beta10. Testing with 'make ptestlong' lasted long. It was good my RPi 4 had active cooling with temperatures
up to 75 degrees Celcius. There were 60 failures, some segmentation faults some Time Outs.
Most of the errors were resolved by running a bash script to test files individually.

The building of sage-9.0.rc0 ended in problems with building scipy. My idea of computers being deterministic is chocked.
I started with a clean source. And to my surprise only a few hick-ups and after 'make ptestlong' 56 failed tests.
Most of them were resolved. See above.

As we speak now sage-9.0.rc1 is doing a 'make ptestlong'. Probably will finish in a few hours.

My conclusion so far: Sage can be built on a Rarpberry Pi 4, but certainly not unattended.

Most remarkable:
Saved trace to /home/pi/.sage/crash_logs/crash_s8ljau3w.log
------------------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.
------------------------------------------------------------------------

**********************************************************************

sage -t --long --warn-long 248.7 src/sage/rings/function_field/function_field.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/schemes/elliptic_curves/ell_rational_field.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/schemes/elliptic_curves/isogeny_class.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/modular/pollack_stevens/modsym.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/rings/function_field/function_field_valuation.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/rings/padics/padic_base_leaves.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/combinat/tableau.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/rings/valuation/augmented_valuation.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/schemes/hyperelliptic_curves/hyperelliptic_padic_field.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/combinat/root_system/root_lattice_realization_algebras.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/modular/modform_hecketriangle/readme.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/structure/coerce_dict.pyx  # 1 doctest failed
sage -t --long --warn-long 248.7 src/sage/schemes/elliptic_curves/constructor.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/combinat/crystals/kirillov_reshetikhin.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/combinat/shifted_primed_tableau.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/categories/finite_monoids.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/combinat/root_system/integrable_representations.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/combinat/crystals/littelmann_path.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/rings/tests.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/doc/ca/intro/index.rst  # Timed out
sage -t --long --warn-long 248.7 src/sage/modular/abvar/homspace.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/groups/libgap_morphism.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/rings/function_field/differential.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/combinat/posets/poset_examples.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/tests/books/computational-mathematics-with-sagemath/mpoly_doctest.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/algebras/lie_algebras/verma_module.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/rings/padics/padic_valuation.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/rings/complex_number.pyx  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/geometry/fan.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/rings/function_field/element.pyx  # Timed out
sage -t --long --warn-long 248.7 src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx  # Timed out
sage -t --long --warn-long 248.7 src/sage/geometry/fan_morphism.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/schemes/elliptic_curves/cardinality.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/combinat/plane_partition.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/schemes/toric/toric_subscheme.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/libs/pari/tests.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/graphs/bipartite_graph.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/rings/polynomial/polynomial_ring.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/combinat/matrices/latin.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/rings/number_field/number_field_base.pyx  # Timed out
sage -t --long --warn-long 248.7 src/sage/groups/abelian_gps/abelian_aut.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/geometry/fan_isomorphism.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/structure/factorization.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/categories/finite_permutation_groups.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/combinat/designs/difference_matrices.py  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/schemes/toric/homset.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/misc/weak_dict.pyx  # 11 doctests failed
sage -t --long --warn-long 248.7 src/sage/rings/polynomial/polynomial_quotient_ring_element.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/rings/number_field/small_primes_of_degree_one.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/modules/quotient_module.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/cpython/dict_del_by_value.pyx  # 1 doctest failed
sage -t --long --warn-long 248.7 src/sage/rings/valuation/scaled_valuation.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/arith/rational_reconstruction.pyx  # Killed due to segmentation fault
sage -t --long --warn-long 248.7 src/sage/rings/padics/padic_capped_relative_element.pyx  # Timed out
sage -t --long --warn-long 248.7 src/sage/rings/padics/misc.py  # Timed out
sage -t --long --warn-long 248.7 src/sage/structure/parent.pyx  # Timed out

Dima Pasechnik

unread,
Dec 30, 2019, 10:24:59 AM12/30/19
to sage-devel
Hoi Jaap,

it's interesting to dig more into these segfaults, they might be due
to Rasberry Pi CPU being ARM,
and we didn't test Sage on ARM for the last 4-5 years.

Dima
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/87d0dc7c-817b-4229-b4b7-b373769d5961%40googlegroups.com.

Samuel Lelievre

unread,
Dec 30, 2019, 11:54:43 AM12/30/19
to sage-devel


Mon 2019-12-30 15:24:59 UTC, Dima Pasechnik a écrit :
Hoi Jaap,

it's interesting to dig more into these segfaults, they might be due
to Rasberry Pi CPU being ARM,
and we didn't test Sage on ARM for the last 4-5 years.

In fact our download site has an arm section:


where the last binary offered is

  sage-6.9-armv7l-Linux-Ubuntu_12.10.tar.gz

A little over a year ago, end of Nov 2018, one user
built SageMath 8.4 on ARM and asked a question
on Ask Sage about packaging it up.

  How to pack sage-8.4 armv7l built as compressed
  re-distributable binaries?

We could think about setting up ARM patchbots
and an ARM buildbot.

Samuel Lelievre

unread,
Dec 30, 2019, 12:02:29 PM12/30/19
to sage-devel
This pull request from last week on the pexpect repo
has the news that Travis-CI added ARM64 support.

- ARM64: Add ARM64 jobs in Travis-CI

See the recent Travis-CI blog posts about arm support
(October 2019) and Power support (December 2019).

- Multi-CPU architecture support for your builds

- Build your open source projects on IBM Power and IBM Z CPU architecture

Jaap Spies

unread,
Dec 30, 2019, 5:21:34 PM12/30/19
to sage-devel
Hi Dima,

I don't understand what I see and I hate that. Seeing 4 CPU's producing heat, four instances of python 3 gathering CPU time.
producing 0 test of 0.00s duration. There is something not OK in the Raspberry Pi system.
I don't trust the memory management system at all.

make ptestlong ended:
----------------------------------------------------------------------
sage -t --long --warn-long 253.8 src/sage/rings/tests.py  # Killed due to segmentation fault
sage -t --long --warn-long 253.8 src/sage/schemes/elliptic_curves/ell_rational_field.py  # Killed due to segmentation fault
sage -t --long --warn-long 253.8 src/sage/rings/function_field/function_field.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/schemes/cyclic_covers/cycliccover_finite_field.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/combinat/sf/macdonald.py  # Killed due to segmentation fault
sage -t --long --warn-long 253.8 src/sage/combinat/ncsf_qsym/ncsf.py  # Killed due to segmentation fault
sage -t --long --warn-long 253.8 src/sage/algebras/lie_algebras/classical_lie_algebra.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/function_field/function_field_valuation.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/number_field/number_field.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/geometry/cone.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/modular/btquotients/pautomorphicform.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/arith/misc.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/graphs/strongly_regular_db.pyx  # Timed out
sage -t --long --warn-long 253.8 src/sage/structure/coerce_dict.pyx  # 1 doctest failed
sage -t --long --warn-long 253.8 src/sage/modular/modform_hecketriangle/abstract_space.py  # Killed due to segmentation fault
sage -t --long --warn-long 253.8 src/sage/modular/modform/find_generators.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/modular/modform/cuspidal_submodule.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/schemes/toric/chow_group.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/groups/matrix_gps/finitely_generated.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/function_field/ideal.py  # Killed due to segmentation fault
sage -t --long --warn-long 253.8 src/sage/misc/functional.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/number_field/totallyreal_rel.py  # Killed due to segmentation fault
sage -t --long --warn-long 253.8 src/sage/modular/hypergeometric_motive.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/categories/loop_crystals.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/algebras/iwahori_hecke_algebra.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/schemes/curves/projective_curve.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/modular/overconvergent/genus0.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/combinat/permutation.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/number_field/number_field_ideal.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/combinat/designs/orthogonal_arrays_find_recursive.pyx  # Timed out
sage -t --long --warn-long 253.8 src/sage/geometry/triangulation/element.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/schemes/elliptic_curves/period_lattice.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/schemes/elliptic_curves/ell_field.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/modular/arithgroup/congroup_gammaH.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/number_field/galois_group.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/valuation/limit_valuation.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/combinat/e_one_star.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/combinat/designs/latin_squares.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/combinat/designs/evenly_distributed_sets.pyx  # Timed out
sage -t --long --warn-long 253.8 src/sage/geometry/polyhedron/combinatorial_polyhedron/polyhedron_face_lattice.pyx  # Timed out
sage -t --long --warn-long 253.8 src/sage/calculus/wester.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/groups/artin.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/symbolic/ring.pyx  # Timed out
sage -t --long --warn-long 253.8 src/sage/structure/coerce.pyx  # Timed out
sage -t --long --warn-long 253.8 src/sage/modular/modsym/tests.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/modular/modform/ambient_g1.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/tests/books/judson-abstract-algebra/fields-sage.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/polynomial/multi_polynomial_element.py  # Killed due to segmentation fault
sage -t --long --warn-long 253.8 src/sage/repl/preparse.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/tests/book_stein_modform.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/modular/modform/tests.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/homology/simplicial_complex_morphism.py  # Killed due to segmentation fault
sage -t --long --warn-long 253.8 src/sage/algebras/quaternion_algebra_element.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/structure/factorization.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/sets/set.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/quadratic_forms/quadratic_form__split_local_covering.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/misc/weak_dict.pyx  # 11 doctests failed
sage -t --long --warn-long 253.8 src/sage/modular/modform/eis_series.py  # Timed out
sage -t --long --warn-long 253.8 src/sage/schemes/curves/point.py  # Timed out
sage -t --long --warn-long 253.8 src/doc/en/thematic_tutorials/lie/affine.rst  # Timed out
sage -t --long --warn-long 253.8 src/sage/cpython/dict_del_by_value.pyx  # 1 doctest failed
sage -t --long --warn-long 253.8 src/sage/rings/real_interval_absolute.pyx  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/finite_rings/hom_finite_field_givaro.pyx  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/padics/local_generic_element.pyx  # Timed out
sage -t --long --warn-long 253.8 src/sage/rings/number_field/number_field_element.pyx  # Timed out
----------------------------------------------------------------------
Total time for all tests: 37560.2 seconds
    cpu time: 38702.7 seconds
    cumulative wall time: 48875.0 seconds

I'll make a bash script to do the tests stand alone.

See:
sage -t --long --warn-long 248.7 src/sage/arith/rational_reconstruction.pyx  # Killed due to segmentation fault
But now:
pi@rasp4:~/sagemath/sage-9.0.rc1 $ ./sage -t --long  src/sage/arith/rational_reconstruction.pyx
too many failed tests, not using stored timings
Running doctests with ID 2019-12-30-23-07-03-da62f8e9.
Git branch: develop
Using --optional=build,dochtml,memlimit,sage
Doctesting 1 file.
sage -t --long src/sage/arith/rational_reconstruction.pyx
    [2 tests, 6.48 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 6.6 seconds
    cpu time: 6.4 seconds
    cumulative wall time: 6.5 seconds
pi@rasp4:~/sagemath/sage-9.0.rc1 $ 

This is Monte Carlo!




Jaap Spies

unread,
Dec 30, 2019, 5:45:25 PM12/30/19
to sage-devel
Saved trace to /home/pi/.sage/crash_logs/crash_ydume0lk.log
------------------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.
------------------------------------------------------------------------

**********************************************************************
----------------------------------------------------------------------
sage -t --long --warn-long 253.8 src/sage/rings/tests.py  # Killed due to segmentation fault
----------------------------------------------------------------------
Total time for all tests: 40.2 seconds
    cpu time: 0.0 seconds
    cumulative wall time: 0.0 seconds
pi@rasp4:~/sagemath/sage-9.0.rc1 $ 



crash_ydume0lk.log

Timo Kaufmann

unread,
Dec 30, 2019, 6:14:28 PM12/30/19
to sage-devel
For what it's worth, I regularly build and test sage-on-nixos on aarch64. The testsuite shows no issues, except some transient timeouts which may or may not be caused by the architecture.

Jaap Spies

unread,
Dec 31, 2019, 4:58:38 AM12/31/19
to sage-devel


On Monday, December 30, 2019 at 11:21:34 PM UTC+1, Jaap Spies wrote:


I'll make a bash script to do the tests stand alone.



bash test_errors_rc1 >> err.log 2>&1 &

Resume:
./sage -t --long  src/sage/rings/tests.py # Killed due to segmentation fault 
./sage -t --long  src/sage/schemes/elliptic_curves/ell_rational_field.py # Killed due to segmentation fault 
./sage -t --long  src/sage/rings/function_field/function_field.py  # All tests passed
./sage -t --long  src/sage/schemes/cyclic_covers/cycliccover_finite_field.py  # All tests passed
./sage -t --long  src/sage/combinat/sf/macdonald.py  # All tests passed
./sage -t --long  src/sage/combinat/ncsf_qsym/ncsf.py # Killed due to segmentation fault 
./sage -t --long  src/sage/algebras/lie_algebras/classical_lie_algebra.py  # All tests passed
./sage -t --long  src/sage/rings/function_field/function_field_valuation.py  # All tests passed
./sage -t --long  src/sage/rings/number_field/number_field.py  # All tests passed
./sage -t --long  src/sage/geometry/cone.py  # All tests passed
./sage -t --long  src/sage/modular/btquotients/pautomorphicform.py  # All tests passed
./sage -t --long  src/sage/arith/misc.py  # All tests passed
./sage -t --long  src/sage/graphs/strongly_regular_db.pyx  # All tests passed
./sage -t --long  src/sage/structure/coerce_dict.pyx # 1 failure len(LE) Expected 1 Got: 50 
./sage -t --long  src/sage/modular/modform_hecketriangle/abstract_space.py # Killed due to segmentation fault 
./sage -t --long  src/sage/modular/modform/find_generators.py  # All tests passed
./sage -t --long  src/sage/modular/modform/cuspidal_submodule.py # Timed out  
./sage -t --long  src/sage/schemes/toric/chow_group.py  # All tests passed
./sage -t --long  src/sage/groups/matrix_gps/finitely_generated.py  # All tests passed
./sage -t --long  src/sage/rings/function_field/ideal.py  # All tests passed
./sage -t --long  src/sage/misc/functional.py  # All tests passed
./sage -t --long  src/sage/rings/number_field/totallyreal_rel.py  # All tests passed
./sage -t --long  src/sage/modular/hypergeometric_motive.py  # All tests passed
./sage -t --long  src/sage/categories/loop_crystals.py  # All tests passed
./sage -t --long  src/sage/algebras/iwahori_hecke_algebra.py  # All tests passed
./sage -t --long  src/sage/schemes/curves/projective_curve.py  # All tests passed
./sage -t --long  src/sage/modular/overconvergent/genus0.py  # All tests passed
./sage -t --long  src/sage/combinat/permutation.py  # All tests passed
./sage -t --long  src/sage/rings/number_field/number_field_ideal.py  # All tests passed
./sage -t --long  src/sage/combinat/designs/orthogonal_arrays_find_recursive.pyx  # All tests passed
./sage -t --long  src/sage/geometry/triangulation/element.py  # All tests passed
./sage -t --long  src/sage/schemes/elliptic_curves/period_lattice.py  # All tests passed
./sage -t --long  src/sage/schemes/elliptic_curves/ell_field.py  # All tests passed
./sage -t --long  src/sage/modular/arithgroup/congroup_gammaH.py # Timed out total time 1832.3 seconds 
./sage -t --long  src/sage/rings/number_field/galois_group.py  # All tests passed
./sage -t --long  src/sage/rings/valuation/limit_valuation.py  # All tests passed
./sage -t --long  src/sage/combinat/e_one_star.py  # All tests passed
./sage -t --long  src/sage/combinat/designs/latin_squares.py  # All tests passed
./sage -t --long  src/sage/combinat/designs/evenly_distributed_sets.pyx  # Timed out
./sage -t --long  src/sage/geometry/polyhedron/combinatorial_polyhedron/polyhedron_face_lattice.pyx # All tests passed  
./sage -t --long  src/sage/calculus/wester.py   # All tests passed
./sage -t --long  src/sage/groups/artin.py   # All tests passed
./sage -t --long  src/sage/symbolic/ring.pyx   # All tests passed
./sage -t --long  src/sage/structure/coerce.pyx   # All tests passed
./sage -t --long  src/sage/modular/modsym/tests.py   # All tests passed
./sage -t --long  src/sage/modular/modform/ambient_g1.py   # All tests passed
./sage -t --long  src/sage/tests/books/judson-abstract-algebra/fields-sage.py   # All tests passed
./sage -t --long  src/sage/rings/polynomial/multi_polynomial_element.py   # All tests passed
./sage -t --long  src/sage/repl/preparse.py   # All tests passed
./sage -t --long  src/sage/tests/book_stein_modform.py   # All tests passed
./sage -t --long  src/sage/modular/modform/tests.py # Times out 1822.7 seconds 
./sage -t --long  src/sage/homology/simplicial_complex_morphism.py   # All tests passed
./sage -t --long  src/sage/algebras/quaternion_algebra_element.py   # All tests passed
./sage -t --long  src/sage/structure/factorization.py   # All tests passed
./sage -t --long  src/sage/sets/set.py # Times out 1821.5 seconds 
./sage -t --long  src/sage/quadratic_forms/quadratic_form__split_local_covering.py   # All tests passed
./sage -t --long  src/sage/misc/weak_dict.pyx  # 11 doctests failed
./sage -t --long  src/sage/modular/modform/eis_series.py   # All tests passed
./sage -t --long  src/sage/schemes/curves/point.py   # All tests passed
./sage -t --long  src/doc/en/thematic_tutorials/lie/affine.rst   # All tests passed
./sage -t --long  src/sage/cpython/dict_del_by_value.pyx # 1 doctest failed 
./sage -t --long  src/sage/rings/real_interval_absolute.pyx   # All tests passed
./sage -t --long  src/sage/rings/finite_rings/hom_finite_field_givaro.pyx   # All tests passed
./sage -t --long  src/sage/rings/padics/local_generic_element.pyx   # All tests passed
./sage -t --long  src/sage/rings/number_field/number_field_element.pyx   # All tests passed

 As I said most failures are transient. I can post the file err.log, but maybe it is better to run only the failing tests.


Jaap Spies

unread,
Dec 31, 2019, 5:36:03 AM12/31/19
to sage-devel
I did run the failing tests! This is really frustrating.


./sage -t --long  src/sage/rings/tests.py # Killed due to segmentation fault NOW: All test passed!!
./sage -t --long  src/sage/schemes/elliptic_curves/ell_rational_field.py # Killed due to segmentation fault NOW: All test passed!!
./sage -t --long  src/sage/combinat/ncsf_qsym/ncsf.py # Killed due to segmentation fault NOW: All test passed!!
./sage -t --long  src/sage/structure/coerce_dict.pyx # 1 failure len(LE) Expected 1 Got: 50 
./sage -t --long  src/sage/modular/modform_hecketriangle/abstract_space.py # Killed due to segmentation fault NOW: All test passed!!
./sage -t --long  src/sage/modular/modform/cuspidal_submodule.py # Timed out  NOW: All test passed!!  in NB 51.16 seconds
./sage -t --long  src/sage/modular/arithgroup/congroup_gammaH.py # Timed out total time 1832.3 seconds NOW: All test passed in 11.74 seconds
./sage -t --long  src/sage/combinat/designs/evenly_distributed_sets.pyx  # Timed out NOW:  All test passed in 8.11 seconds
./sage -t --long  src/sage/modular/modform/tests.py # Times out 1822.7 seconds NOW: All test passed in 4.12 seconds 
./sage -t --long  src/sage/sets/set.py # Times out 1821.5 seconds  NOW: All test passed in 2.08 seconds
./sage -t --long  src/sage/misc/weak_dict.pyx  # 11 doctests failed
./sage -t --long  src/sage/cpython/dict_del_by_value.pyx # 1 doctest failed 


err2.log

Volker Braun

unread,
Dec 31, 2019, 5:50:08 AM12/31/19
to sage-devel
Which hardware are you using, and how long does it take to bulid and run the tests?

Timo Kaufmann

unread,
Dec 31, 2019, 6:18:57 AM12/31/19
to sage-devel
Our community build box[1] which has 64 (relatively weak) cores and plenty of RAM. So not really comparable with a raspberry pi, but still ARM/aarch64 (not sure if OP is using their rpi with a 32bit or 64 bit OS). Because of all the parallelism, building sagelib takes maybe 10-15 minutes and the test suite something under half an hour I think. Most of the dependencies are taken from the nix binary caches (where they have been built on similar aarch64 machines), or they are built locally if they're not available in the caches yet.

Thierry Dumont

unread,
Dec 31, 2019, 1:10:01 PM12/31/19
to Jaap Spies, sage-devel

Are you sure you don't have a problem with the size of the ram ? You certainly have spool virtual memory partition.

I have run some programs on a PI (3) (not Sage), and when the memory was full, I have got some segmentation faults (this should not happen, but..). This was on raspbian, two years ago.

Yours,

t.d.

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
tdumont.vcf

Thierry Dumont

unread,
Dec 31, 2019, 1:11:42 PM12/31/19
to sage-...@googlegroups.com

I wanted to say "...have NO spool ..."

Apologize.

t.d.

tdumont.vcf
Reply all
Reply to author
Forward
0 new messages