status-im / status-go

The Status module that consumes go-ethereum
https://status.im
Mozilla Public License 2.0
719 stars 243 forks source link

Nightly tests coverage is broken #5401

Open igor-sirotin opened 1 week ago

igor-sirotin commented 1 week ago

Problem

03:51:03  2024/06/21 02:50:55 failed to parse profiles: open /home/jenkins/workspace/status-go/tests-nightly/abi-spec/coverage.out.rerun.*: no such file or directory

https://ci.status.im/job/status-go/job/tests-nightly/258/consoleFull

Implementation

This is probably happening because nightly tests are running in parallel. So code like rm -f ${package_dir}/coverage.out.rerun.* simply deletes the coverage reports of other runs.

We should add the ${iteration} to the wildcard.