Skip to content

[CI] InstallPluginCommandTests fails repeatedly in PR tests and CI #30900

Closed
@cbuescher

Description

@cbuescher

I ran into this two times already today in PR testing and also saw failures in CI:

REPRODUCE WITH: ./gradlew :distribution:tools:plugin-cli:test -Dtests.seed=32B7DE2D26697BB -Dtests.class=org.elasticsearch.plugins.InstallPluginCommandTests -Dtests.method="testOfficialPlatformPlugin {p0=com.google.common.jimfs.JimfsFileSystem@5167f57d p1=org.elasticsearch.plugins.InstallPluginCommandTests$1Parameter$$Lambda$17/925973605@64b0598}" -Dtests.security.manager=false -Dtests.locale=is-IS -Dtests.timezone=America/Cancun

I couldn't reproduce it locally so far, also not by removing the "@5167f57d" or the nested Class parts of the test method, however the failures look similar like this:

08:37:25    > Throwable #1: java.io.IOException: Illegal base64 ending sequence:18
08:37:25    > 	at __randomizedtesting.SeedInfo.seed([32B7DE2D26697BB:F90BD3FF60A407F7]:0)
08:37:25    > 	at java.util.Base64$DecInputStream.read(Base64.java:941)
08:37:25    > 	at java.util.Base64$DecInputStream.read(Base64.java:887)
08:37:25    > 	at org.bouncycastle.bcpg.BCPGInputStream.nextPacketTag(Unknown Source)
08:37:25    > 	at org.bouncycastle.openpgp.PGPKeyRing.readOptionalTrustPacket(Unknown Source)
08:37:25    > 	at org.bouncycastle.openpgp.PGPKeyRing.readSignaturesAndTrust(Unknown Source)
08:37:25    > 	at org.bouncycastle.openpgp.PGPKeyRing.readUserIDs(Unknown Source)
08:37:25    > 	at org.bouncycastle.openpgp.PGPPublicKeyRing.<init>(Unknown Source)
08:37:25    > 	at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
08:37:25    > 	at org.bouncycastle.openpgp.PGPPublicKeyRingCollection.<init>(Unknown Source)
08:37:25    > 	at org.elasticsearch.plugins.InstallPluginCommand.verifySignature(InstallPluginCommand.java:570)
08:37:25    > 	at org.elasticsearch.plugins.InstallPluginCommandTests$5.verifySignature(InstallPluginCommandTests.java:873)
08:37:25    > 	at org.elasticsearch.plugins.InstallPluginCommand.downloadAndValidate(InstallPluginCommand.java:523)
08:37:25    > 	at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:257)
08:37:25    > 	at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:230)
08:37:25    > 	at org.elasticsearch.plugins.InstallPluginCommandTests.installPlugin(InstallPluginCommandTests.java:285)
08:37:25    > 	at org.elasticsearch.plugins.InstallPluginCommandTests.assertInstallPluginFromUrl(InstallPluginCommandTests.java:921)
08:37:25    > 	at org.elasticsearch.plugins.InstallPluginCommandTests.assertInstallPluginFromUrl(InstallPluginCommandTests.java:928)
08:37:25    > 	at org.elasticsearch.plugins.InstallPluginCommandTests.testOfficialPlatformPlugin(InstallPluginCommandTests.java:969)

Failed in PR tests vs. master

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request/10600/consoleFull
and earlier in
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request/10589/consoleFull

Also failed earlier in CI on master at:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+periodic/6384/console
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+g1gc/5910/console

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions