Unknown Failure Identified!
glex85 opened this issue · 1 comments
Description
It has an error when I try to verify pycharm 2021.3
Running verification on /github/workspace/build/distributions/*.zip for /github/home/ides/pycharmPC-2019.3 /github/home/ides/pycharmPC-2020.3 /github/home/ides/pycharmPC-2021.3 /github/home/ides/pycharmPC-LATEST-EAP-SNAPSHOT...
##[debug]RUNNING COMMAND: java -jar "/github/home/verifier-cli-1.256-all.jar" check-plugin /github/workspace/build/distributions/*.zip /github/home/ides/pycharmPC-2019.3 /github/home/ides/pycharmPC-2020.3 /github/home/ides/pycharmPC-2021.3 /github/home/ides/pycharmPC-LATEST-EAP-SNAPSHOT
Starting the IntelliJ Plugin Verifier 1.256
Verification reports directory: verification-2021-12-10 at 07.53.30
2021-12-10T07:53:30 [main] INFO verification - Reading IDE /github/home/ides/pycharmPC-2019.3
2021-12-10T07:53:30 [main] INFO c.j.p.options.OptionsParser - Preparing IDE /github/home/ides/pycharmPC-2019.3
Using Java from JAVA_HOME: /opt/java/openjdk
2021-12-10T07:53:36 [main] INFO verification - Reading IDE /github/home/ides/pycharmPC-2020.3
2021-12-10T07:53:36 [main] INFO c.j.p.options.OptionsParser - Preparing IDE /github/home/ides/pycharmPC-2020.3
Using Java from JAVA_HOME: /opt/java/openjdk
2021-12-10T07:53:40 [main] INFO verification - Reading IDE /github/home/ides/pycharmPC-2021.3
2021-12-10T07:53:40 [main] INFO c.j.p.options.OptionsParser - Preparing IDE /github/home/ides/pycharmPC-2021.3
Error: Exception in thread "main" com.jetbrains.plugin.structure.ide.InvalidIdeException: IDE by path '/github/home/ides/pycharmPC-2021.3' is invalid: Plugin 'lib/pycharm.jar' is invalid: Invalid plugin descriptor 'PyCharmCorePlugin.xml': failed to resolve <xi:include>. Not found document 'intellij.platform.remoteServers.impl.xml' referenced in <xi:include href="intellij.platform.remoteServers.impl.xml"/>. <xi:fallback> element is not provided. (at PyCharmCorePlugin.xml -> /META-INF/pycharm-core.xml)
at com.jetbrains.plugin.structure.ide.IdeManagerImpl.createBundledPluginExceptionally(IdeManagerImpl.kt:244)
at com.jetbrains.plugin.structure.ide.IdeManagerImpl.readPlatformPlugins(IdeManagerImpl.kt:198)
at com.jetbrains.plugin.structure.ide.IdeManagerImpl.readDistributionBundledPlugins(IdeManagerImpl.kt:68)
at com.jetbrains.plugin.structure.ide.IdeManagerImpl.createIde(IdeManagerImpl.kt:56)
at com.jetbrains.plugin.structure.ide.IdeManagerImpl.createIde(IdeManagerImpl.kt:25)
at com.jetbrains.pluginverifier.ide.IdeDescriptor$Companion.create(IdeDescriptor.kt:59)
at com.jetbrains.pluginverifier.options.OptionsParser.createIdeDescriptor(OptionsParser.kt:78)
at com.jetbrains.pluginverifier.options.OptionsParser.createIdeDescriptor(OptionsParser.kt:73)
at com.jetbrains.pluginverifier.tasks.checkPlugin.CheckPluginParamsBuilder.build(CheckPluginParamsBuilder.kt:38)
at com.jetbrains.pluginverifier.tasks.checkPlugin.CheckPluginParamsBuilder.build(CheckPluginParamsBuilder.kt:23)
at com.jetbrains.pluginverifier.PluginVerifierMain.main(PluginVerifierMain.kt:123)
::endgroup::
@glex85 - this is reproducible outside of the GitHub action, steps below:
VERIFIER_VERSION=1.256
PYCHARM_VERSION=2021.3
curl -L --output "verifier-cli-$VERIFIER_VERSION-all.jar" "https://packages.jetbrains.team/maven/p/intellij-plugin-verifier/intellij-plugin-verifier/org/jetbrains/intellij/plugins/verifier-cli/$VERIFIER_VERSION/verifier-cli-$VERIFIER_VERSION-all.jar"
curl -L "https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/pycharm/pycharmPC/$PYCHARM_VERSION/pycharmPC-$PYCHARM_VERSION.zip" --output "pycharmPC-$PYCHARM_VERSION.zip"
mkdir -p ides
unzip -q -d "ides/pycharmPC-$PYCHARM_VERSION" "pycharmPC-$PYCHARM_VERSION.zip"
java -jar "verifier-cli-$VERIFIER_VERSION-all.jar" check-plugin build/distributions/*.zip "ides/pycharmPC-$PYCHARM_VERSION"
Note: You will receive the same error if you (a) update to the latest version of JetBrains/intellij-plugin-verifier (1.258
as of writing) via setting VERIFIER_VERSION=1.258
OR (b) update to the latest EAP snapshot in the above script. Hence, I do not believe it is a problem with the verifier itself, but perhaps instead how PyCharm is being bundled.
I would recommend reaching out to JetBrains directly via https://youtrack.jetbrains.com/ to open a ticket with them for further assistance here. Please do let me know what you find.
In the mean time, I will close this issue as I believe there is nothing for me to change here - if you find/feel otherwise, please let me know and re-open this issue!