[release] unexpected return code for "Deploy to Maven Central" step
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
「Deploy to Maven Central (Buildkite)」リリースステップとリンクされた workflow の実行から始め、Buildkite のエラーをアーティファクトが公開されたかどうかと照合します。nexus-staging-maven-plugin がこのレスポンスをどのように報告するかを確認し、両方の結果を検証します。公開に成功した場合は成功した workflow にならなければならず、公開されなかったアーティファクトは一貫性のないステータスにならずに失敗しなければなりません。
索引モデルが issue の本文から書いたものです。
説明
On buildkite, we get the following error message: Error: The command exited with status 1, however the artifacts are properly published by the release process in the Deploy to Maven Central (Buildkite) step.
There was at least two occurences of this in the recent releases:
- https://github.com/elastic/apm-agent-java/actions/runs/6312935059/job/17140161815
- https://github.com/elastic/apm-agent-java/actions/runs/5830491003/job/15812079572
In the buildkite logs, we can see the following error:
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy (injected-nexus-deploy) on project apm-opentracing: Remote staging failed: A message body reader for Java class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and Java type class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and MIME media type text/html was not found
We are already using the latest version of this plugin 1.6.13, which is about a year old as I am writing this.
https://search.maven.org/artifact/org.sonatype.plugins/nexus-staging-maven-plugin
When this error happens, we can have two possible results (both cases already happened)
- the release artifact will still be published despite the error, the release workflow will successfully execute.
- the release artifact won't be published, the release workflow will fail as the artifact is not published and timeout is reached.
- 主要言語
- Java
- スター
- 593
- フォーク
- 338
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
elastic/apm-agent-java のほかの issue
-
Spring MVC View instrumentation incorrectly matches static render overloads (EasyPOI)対応中かも @VelpulaGangavardhan が 1 日前に担当しました。 オープンagent-java community triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elastic/apm-agent-java#4594 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
agent-java
難易度 2/5 1〜2日 初心者へのやさしさ 62/100
elastic/apm-agent-java#2844 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Improve docs and add error log related to illegal activation of transaction対応中かも @AzazelSensei が 38 日前に担当しました。 オープンdocs good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
elastic/apm-agent-java#850 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
agent-java community triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
elastic/apm-agent-java#4593 ·
メンテナーはふだん 1 日以内に返信
-
agent-java community triage
elastic/apm-agent-java#4573 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
elastic/apm-agent-java の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/rocketmq-dashboard#6896 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenIntegrationEngine/engine#496 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
SasanLabs/VulnerableApp#836 ·
メンテナーはふだん 1 日以内に返信