jenkinsci / jenkinsci/workflow-basic-steps-plugin

[JENKINS-55861] Parallel stage labels displayed on top of each other

オープン
#482 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
component:workflow-basic-steps-plugin imported-jira-issue priority:trivial resolution:unresolved
主要言語
Java
スター
73
フォーク
129
PR マージ指標
30日以内にマージされた PR はありません

説明

I noticed today that some of our build logs have written the stage label on top of each other when there was a parallel build step used. It doesn't look like it happens all the time, but does seem to happen when both stages write out at the same time.

The Jenkinsfile is essentially

pipeline

{
agent any

stages
{
stage ('Parallel')
{
steps
{
parallel(
first:
{
sh "run_first_test_that_outputs" // In our case PHPUnit
}
second:
{
sh "run_second_test_that_outputs" // In our case, session based tests
}
)
}
}
}
}

---
Originally reported by drugcrazed, imported from: Parallel stage labels displayed on top of each other


  • status: Open
  • priority: Trivial
  • component(s): workflow-basic-steps-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251215-220547

Raw content of original issue

I noticed today that some of our build logs have written the stage label on top of each other when there was a parallel build step used. It doesn't look like it happens all the time, but does seem to happen when both stages write out at the same time.

The Jenkinsfile is essentially


pipeline

{
agent any

stages
{
stage ('Parallel')
{
steps
{
parallel(
first:
{
sh "run_first_test_that_outputs" // In our case PHPUnit
}
second:
{
sh "run_second_test_that_outputs" // In our case, session based tests
}
)
}
}
}
}


1 attachment

- [jenkins-parallel.png](https://issues.jenkins.io/secure/attachment/45837/jenkins-parallel.png)
> ![jenkins-parallel.png](https://issues.jenkins.io/secure/attachment/45837/jenkins-parallel.png)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

issue に示されている Jenkinsfile を使い、同時に出力を生成する 2 つの並列ステップで問題を再現します。まず、workflow-basic-steps-plugin が並列ステージとラベルをどのように処理しているかを調べます。並列出力が同時に発生しても、ステージラベルが互いに重なって表示されなくなれば完了です。

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

評価

技術スタック
java
領域
devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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