COSMO.jl
COSMO.jl copied to clipboard
Error in unit test when using x86-architecture
When running the unit tests on x86-ubuntu, the following test related to the python-interface fails:
This will take a bit to investigate as I have to setup a VM to reproduce the error locally. For now, I'll remove x86 from the CI.
cosmo-python related utility function: Error During Test at /home/runner/work/COSMO.jl/COSMO.jl/test/UnitTests/interface_python.jl:7
Got exception outside of a @test
BoundsError: attempt to access 4-element Array{Float64,1} at index [5]
Stacktrace:
[1] getindex at ./array.jl:809 [inlined]
[2] col_norms!(::Array{Float64,1}, ::SparseMatrixCSC{Float64,Int32}; reset::Bool) at /home/runner/work/COSMO.jl/COSMO.jl/src/algebra.jl:72
[3] kkt_col_norms!(::SparseMatrixCSC{Float64,Int32}, ::SparseMatrixCSC{Float64,Int32}, ::Array{Float64,1}, ::Array{Float64,1}) at /home/runner/work/COSMO.jl/COSMO.jl/src/scaling.jl:4
[4] scale_ruiz!(::COSMO.Workspace{Float64}) at /home/runner/work/COSMO.jl/COSMO.jl/src/scaling.jl:52
[5] setup!(::COSMO.Workspace{Float64}) at /home/runner/work/COSMO.jl/COSMO.jl/src/setup.jl:17
[6] macro expansion at ./timing.jl:233 [inlined]
[7] optimize!(::COSMO.Workspace{Float64}) at /home/runner/work/COSMO.jl/COSMO.jl/src/solver.jl:80
[8] top-level scope at /home/runner/work/COSMO.jl/COSMO.jl/test/UnitTests/interface_python.jl:33
[9] top-level scope at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115
[10] top-level scope at /home/runner/work/COSMO.jl/COSMO.jl/test/UnitTests/interface_python.jl:10
[11] include(::String) at ./client.jl:457
[12] top-level scope at /home/runner/work/COSMO.jl/COSMO.jl/test/run_cosmo_tests.jl:37
[13] top-level scope at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115
[14] top-level scope at /home/runner/work/COSMO.jl/COSMO.jl/test/run_cosmo_tests.jl:13
[15] include(::String) at ./client.jl:457
[16] top-level scope at /home/runner/work/COSMO.jl/COSMO.jl/test/runtests.jl:8
[17] top-level scope at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115
[18] top-level scope at /home/runner/work/COSMO.jl/COSMO.jl/test/runtests.jl:8
[19] include(::String) at ./client.jl:457
[20] top-level scope at none:6
[21] eval(::Module, ::Any) at ./boot.jl:331
[22] exec_options(::Base.JLOptions) at ./client.jl:272
[23] _start() at ./client.jl:506
Related to #124