Integration test suite duration (~5 hours 40 minutes) - identify optimization opportunities

オープン
#5,690 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
静か
技術スタック
java

調査の方向性

リンクされている Jenkins の統合テスト実行から始め、一覧にある Linux x64 および arm64 の実行について、セキュアな SQL と非セキュアな SQL の stdout.txt の結果を比較します。追加の時間の原因となっているセキュアなスイートを特定し、その後、integration-test のセットアップにおける最適化の機会を調査します。ランタイムの要因が文書化され、最適化を新しい integration-test の実行で検証できれば完了です。

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

説明

infrastructure
Description

The SQL integration tests are taking around 5 hours and 40 minutes to complete. The secured integration tests are taking substantially longer than the unsecured tests. Total integ test runtime across all distributions is around 5 hours and 40 minutes, with the secured tests appearing to account for a disproportionate share of that time.

Context
  • 5 hours for a single component's integ tests puts pressure on the overall release pipeline since all components must pass before RC
  • As the test suite grows, this will only get worse without structural changes
Ask

Would appreciate investigation into:

  1. What's driving the secured vs unsecured gap?
  2. Which secured test suites are the most expensive?
  3. Optimization opportunities
Examples

https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/11474/pipeline/156

https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/11453/pipeline/156

https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/11458/pipeline/153

https://build.ci.opensearch.org/blue/organizations/jenkins/integ-test/detail/integ-test/11457/pipeline/153

cc: @opensearch-project/engineering-effectiveness

主要言語
Java
スター
175
フォーク
233
平均マージ
2日 7時間
マージ済み PR(30日)
36

環境構築

はじめの一歩

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

opensearch-project/sql のほかの issue

opensearch-project/sql の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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