flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.98k stars 319 forks source link

Update the settings in build.gradle.kts for the validate task #7791

Closed jwren closed 2 days ago

jwren commented 4 days ago

Local runs are producing different output than the Kokoro bot, hence the continued volatility

Verify has been disabled for the time being as the CI bots currently throw an exception (see below)

jwren commented 3 days ago

Status: the bots, both as GitHub tasks as well as Kokoro, are yielding this message which doesn't appear with local runs of the script:

> Task :flutter-idea:verifyPlugin
  Starting the IntelliJ Plugin Verifier 1.379
  Verification reports directory: /home/runner/work/flutter-intellij/flutter-intellij/flutter-idea/build/reports/pluginVerifier
  Exception in thread "main" java.nio.file.NoSuchFileException: /home/runner/.pluginVerifier/extracted-plugins
    at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    at java.base/sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:248)
    at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
    at java.base/java.nio.file.Files.delete(Files.java:1152)
    at com.jetbrains.plugin.structure.base.utils.FileUtilKt$forceRemoveDirectory$1.postVisitDirectory(FileUtil.kt:140)
    at com.jetbrains.plugin.structure.base.utils.FileUtilKt$forceRemoveDirectory$1.postVisitDirectory(FileUtil.kt:131)
    at java.base/java.nio.file.Files.walkFileTree(Files.java:2828)
    at java.base/java.nio.file.Files.walkFileTree(Files.java:2882)
    at com.jetbrains.plugin.structure.base.utils.FileUtilKt.forceRemoveDirectory(FileUtil.kt:131)
    at com.jetbrains.plugin.structure.base.utils.FileUtilKt.forceDeleteIfExists(FileUtil.kt:84)
    at com.jetbrains.pluginverifier.PluginVerifierMain.getPluginsExtractDirectory(PluginVerifierMain.kt:84)
    at com.jetbrains.pluginverifier.PluginVerifierMain.main(PluginVerifierMain.kt:119)