Painted source code isn't updated in coverage jobs

Đang mở
#536 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@cottsay đang làm issue này rồi.

Từ ngày 4/2/2021.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

The painted source code view on the coverage jobs isn't being updated with fresh coverage data. The regression appears to have been caused by the switch from gcov to lcov in #481.

The nightly_linux_coverage job has painted code from the day that PR was merged, and the nightly_linux_foxy_coverage job which was added after the referenced PR was merged, has no painted source code available at all.

This comment on a ticket for the Cobertura plugin for a similar issue seems to indicate that this behavior can manifest when the <sources> section of the coverage XML isn't correctly populated. The current builds populate it simply with <source>.</source>. Looking at the diff in #481, it appears that some post-processing was done on those entries which leads me to believe that there was much more data there prior to the the switch to lcov.

Ngôn ngữ chính
Python
Star
55
Fork
40
Merge trung bình
3 ngày 5 giờ
Pull request đã merge (30 ngày)
6

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 ros2/ci

Tất cả issue của ros2/ci

Issue tương tự

Thêm issue về Python

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.