[release] unexpected return code for "Deploy to Maven Central" step
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Beginnen Sie mit dem Release-Schritt „Deploy to Maven Central (Buildkite)“ und den verknüpften Workflow-Ausführungen. Vergleichen Sie anschließend den Buildkite-Fehler damit, ob die Artefakte veröffentlicht wurden. Prüfen Sie, wie das nexus-staging-maven-plugin diese Antwort meldet, und verifizieren Sie beide Ergebnisse: Eine erfolgreiche Veröffentlichung muss zu einem erfolgreichen Workflow führen, während ein nicht veröffentlichtes Artefakt fehlschlagen muss, ohne einen inkonsistenten Status zu erzeugen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Java
- Sterne
- 593
- Forks
- 338
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 13
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus elastic/apm-agent-java
-
Spring MVC View instrumentation incorrectly matches static render overloads (EasyPOI)Evtl. vergeben @VelpulaGangavardhan hat das heute übernommen. Offenagent-java community triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
elastic/apm-agent-java#4594 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
agent-java
Schwierigkeit 2/5 1-2 Tage Anfängerfreundlichkeit 62/100
elastic/apm-agent-java#2844 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Improve docs and add error log related to illegal activation of transactionEvtl. vergeben @AzazelSensei hat das vor 38 Tagen übernommen. Offendocs good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
elastic/apm-agent-java#850 · 4 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
agent-java community triage
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
elastic/apm-agent-java#4593 ·
Maintainer antworten meist innerhalb von 1 Tag
-
agent-java community triage
elastic/apm-agent-java#4573 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in elastic/apm-agent-java
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
apache/rocketmq-dashboard#6896 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
OpenIntegrationEngine/engine#496 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
SasanLabs/VulnerableApp#836 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement frontend
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
Albertinesilva/backend-engineering-journey-java-springboot#46 ·
-
Snyk: vulnerabilities in jackson-databind 2.21.5Evtl. vergeben @harrywu23 hat das heute übernommen. Offenbug
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 80/100
SOFTENG-310-Group-4/Project-A1-310-Group-4#115 ·
Maintainer antworten meist innerhalb von 1 Tag