Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in unit test when using x86-architecture #125

Open
migarstka opened this issue Jan 18, 2021 · 1 comment
Open

Error in unit test when using x86-architecture #125

migarstka opened this issue Jan 18, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@migarstka
Copy link
Member

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
@migarstka migarstka added the bug Something isn't working label Jan 18, 2021
@migarstka
Copy link
Member Author

Related to #124

migarstka added a commit that referenced this issue Jan 18, 2021
- Until Github actions support `allow-failure` setting
- x86-removal related to #125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant