Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

PkgEval failure: MatrixDepot SuiteSparse downloads error out

Đang mở Phù hợp với người mới
#356 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
julia
Lĩnh vực
testing

Hướng nghiên cứu

Bắt đầu trong test/suitesparse.jl tại ba điểm gọi được nêu trong báo cáo (dòng 40, 106 và 136), nơi matrixdepot(...) được lấy trước các assertion. Bao các lần lấy đó lại để một MatrixDepot.DataError chuyển thành @test_skip (hoặc bỏ qua bộ kiểm thử khi ENV["PKGEVAL"] là true) và ném lại mọi thứ khác, sau đó chạy bộ kiểm thử với julia --project=test test/suitesparse.jl. Hoàn thành nghĩa là 35 test bị lỗi trở thành skip trong khi phần còn lại vẫn pass; việc tách theo dự án GPU tùy chọn là công việc riêng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

[!NOTE]
This issue was generated by a coding agent on behalf of @gdalle.

Problem

SparseMatrixColorings v0.4.29 fails PkgEval on Julia 1.15.0-DEV. PkgEval labels it precompile, but there are two issues:

1. The real test errors: MatrixDepot downloads. There are 35 errored tests, all in test/suitesparse.jl (lines 40, 106 and 136). MatrixDepot can't find the SuiteSparse matrices in the PkgEval sandbox:

lp_cre_a: Error During Test at test/suitesparse.jl:40
  Got exception outside of a @test
  MatrixDepot.DataError("no matrix according to LPnetlib/lp_cre_a found")
Some tests did not pass: 63265 passed, 0 failed, 35 errored, 2 broken.

2. The precompile label: GPU test deps. CUDA/AMDGPU in the test environment pull in GPUCompiler, which fails to precompile on Julia 1.15 (LLVM 23) because LLVM.jl has no LLVMExtra_jll build yet (UndefVarError: libLLVMExtra not defined in LLVM.API). This is upstream and harmless as long as the GPU tests are skipped, but it makes PkgEval report the wrong failure reason.

Suggested fixes

  1. Make the SuiteSparse tests robust to unavailable data. For example, wrap matrixdepot(...) in try ... catch e; e isa MatrixDepot.DataError || rethrow(); @test_skip ...; continue; end, or skip suitesparse.jl when the download fails (or under PkgEval, get(ENV, "PKGEVAL", "false") == "true").
  2. Optionally, only add CUDA/AMDGPU to the test environment in the GPU CI jobs (for example, a separate test/gpu project activated on demand) so that CPU-only runs don't depend on LLVM.jl.
Ngôn ngữ chính
Julia
Star
46
Fork
14
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của JuliaDiff/SparseMatrixColorings.jl

Tất cả issue của JuliaDiff/SparseMatrixColorings.jl

Issue tương tự

Thêm issue về Julia

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.