Bug: `ignoreFailed` tests shouldn't be counted when calculating systematic failures

オープン 初心者向け
#12 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
ci-cd, testing

調査の方向性

compute_systematic_failures_on_metric() から開始し、ignoreFailed テストが総実行回数と systematic-failure チェックにどのように寄与するかを追跡します。説明されている失敗した Open Ginkgo レポートのケースが発生したときに、無視されたテストによって by_k8s、by_postgres、または by_platform 条件のトリガーが妨げられなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

In compute_systematic_failures_on_metric() we are counting ignoreFailed tests for the total runs, which makes it impossible to have systematic failures by_k8s / by_postgres / by_platform given that failures == runs is always going to be False.

Note: There's only one case in which we could trigger systematic failures by_k8s / by_postgres / by_platform at the moment, and that's in case the Ginkgo suite didn't run at all (for example because the Cluster creation or any step that precedes the start of the e2e failed). In that case you would have a single failed Open Ginkgo report artifact which would make systematic failures by_k8s / by_postgres / by_platform properly trigger.

To fix this we should avoid including ignoreFailed tests in the total runs when calculating systematic failures.

主要言語
Python
スター
16
フォーク
0
平均マージ
6時間 59分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cloudnative-pg/ciclops のほかの issue

cloudnative-pg/ciclops の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。