You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a wrapper chart with local dependencies in its requirements.yaml (e.g. file://../dependent-chart/), the package goal fails when running dependency update. This is because the files copied to target do not include local dependencies or dep up should be ran against source folder.
[DEBUG] Configuring mojo 'com.deviceinsight.helm:helm-maven-plugin:2.4.1:package' with basic configurator -->
[DEBUG] (f) chartFolder = charts/hedera-mirror
[DEBUG] (f) chartName = hedera-mirror
[DEBUG] (f) chartRepoUrl = https://kubernetes-charts.storage.googleapis.com/
[DEBUG] (f) chartVersion = 0.10.1
[DEBUG] (f) helmArtifactId = helm
[DEBUG] (f) helmDownloadUrl = https://get.helm.sh/
[DEBUG] (f) helmGroupId = com.deviceinsight.helm
[DEBUG] (f) helmVersion = 3.2.0
[DEBUG] (f) localRepository = id: local
url: file:///Users/steven/.m2/repository/
layout: default
snapshots: [enabled => true, update => always]
releases: [enabled => true, update => always]
[DEBUG] (f) project = MavenProject: com.hedera:hedera-mirror-node:0.10.1 @ /Users/steven/projects/hedera/hedera-mirror-node/pom.xml
[DEBUG] (f) remoteRepositories = [ id: central
url: https://repo.maven.apache.org/maven2
layout: default
snapshots: [enabled => false, update => daily]
releases: [enabled => true, update => daily]
]
[DEBUG] (f) skip = false
[DEBUG] -- end configuration --
[INFO] Clear target directory to ensure clean target package
[INFO] Created target helm directory
[DEBUG] Processing helm files in directory /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/.DS_Store
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/.DS_Store
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/requirements.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/requirements.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/Chart.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/Chart.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/charts/hedera-mirror-grpc-0.1.0.tgz
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/charts/hedera-mirror-grpc-0.1.0.tgz
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/charts/hedera-mirror-importer-0.1.0.tgz
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/charts/hedera-mirror-importer-0.1.0.tgz
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/charts/prometheus-operator-8.12.15.tgz
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/charts/prometheus-operator-8.12.15.tgz
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/charts/prometheus-adapter-2.2.0.tgz
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/charts/prometheus-adapter-2.2.0.tgz
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/charts/loki-stack-0.36.0.tgz
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/charts/loki-stack-0.36.0.tgz
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/charts/hedera-mirror-rest-0.1.0.tgz
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/charts/hedera-mirror-rest-0.1.0.tgz
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/charts/traefik-8.0.3.tgz
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/charts/traefik-8.0.3.tgz
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/charts/postgresql-ha-2.3.1.tgz
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/charts/postgresql-ha-2.3.1.tgz
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/.helmignore
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/.helmignore
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/dashboards/jvm-micrometer-rev9.json
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/dashboards/jvm-micrometer-rev9.json
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/dashboards/postgresql-database_rev4.json
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/dashboards/postgresql-database_rev4.json
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/dashboards/postgres-overview_rev2.json
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/dashboards/postgres-overview_rev2.json
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/dashboards/kubernetes-cluster-monitoring-via-prometheus_rev2.json
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/dashboards/kubernetes-cluster-monitoring-via-prometheus_rev2.json
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/dashboards/traefik.json
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/dashboards/traefik.json
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/values-minimal.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/values-minimal.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/templates/configmap-dashboards.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/templates/configmap-dashboards.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/templates/NOTES.txt
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/templates/NOTES.txt
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/templates/servicemonitor-traefik.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/templates/servicemonitor-traefik.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/templates/priorityclass.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/templates/priorityclass.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/templates/configmap-traefik.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/templates/configmap-traefik.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/templates/_helpers.tpl
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/templates/_helpers.tpl
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/templates/secret-pgpool.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/templates/secret-pgpool.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/templates/secret-postgresql.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/templates/secret-postgresql.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/templates/middleware-grafana.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/templates/middleware-grafana.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/templates/networkpolicy.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/templates/networkpolicy.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/values.yaml
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/values.yaml
[DEBUG] Processing helm file /Users/steven/projects/hedera/hedera-mirror-node/charts/hedera-mirror/requirements.lock
[DEBUG] Copying to /Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror/requirements.lock
[DEBUG] When executing '/Users/steven/.m2/repository/com/deviceinsight/helm/helm/3.2.0/helm-3.2.0-darwin-amd64.binary repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com' in '/Users/steven/projects/hedera/hedera-mirror-node/target/helm', result was 0
[DEBUG] Output: "incubator" has been added to your repositories
[DEBUG] When executing '/Users/steven/.m2/repository/com/deviceinsight/helm/helm/3.2.0/helm-3.2.0-darwin-amd64.binary repo add chartRepo https://kubernetes-charts.storage.googleapis.com/' in '/Users/steven/projects/hedera/hedera-mirror-node/target/helm', result was 0
[DEBUG] Output: "chartRepo" has been added to your repositories
[DEBUG] When executing '/Users/steven/.m2/repository/com/deviceinsight/helm/helm/3.2.0/helm-3.2.0-darwin-amd64.binary dependency update' in '/Users/steven/projects/hedera/hedera-mirror-node/target/helm/hedera-mirror', result was 1
[ERROR] Output: Error: error unpacking hedera-mirror-rest-0.1.0.tgz in hedera-mirror: gzip: invalid header
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Hedera Mirror Node 0.10.1:
[INFO]
[INFO] Hedera Mirror Node ................................. FAILURE [ 3.912 s]
[INFO] Hedera Mirror Node Importer ........................ SKIPPED
[INFO] Hedera Mirror Node Coverage ........................ SKIPPED
[INFO] Hedera Mirror Data Generator ....................... SKIPPED
[INFO] Hedera Mirror Node Protobuf ........................ SKIPPED
[INFO] Hedera Mirror Node GRPC API ........................ SKIPPED
[INFO] Hedera Mirror Node REST API ........................ SKIPPED
[INFO] Hedera Mirror Node Test ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.773 s
[INFO] Finished at: 2020-05-02T11:22:54-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.deviceinsight.helm:helm-maven-plugin:2.4.1:package (default-cli) on project hedera-mirror-node: Error creating helm chart: When executing '/Users/steven/.m2/repository/com/deviceinsight/helm/helm/3.2.0/helm-3.2.0-darwin-amd64.binary dependency update' got result code '1' -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.deviceinsight.helm:helm-maven-plugin:2.4.1:package (default-cli) on project hedera-mirror-node: Error creating helm chart: When executing '/Users/steven/.m2/repository/com/deviceinsight/helm/helm/3.2.0/helm-3.2.0-darwin-amd64.binary dependency update' got result code '1'
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating helm chart: When executing '/Users/steven/.m2/repository/com/deviceinsight/helm/helm/3.2.0/helm-3.2.0-darwin-amd64.binary dependency update' got result code '1'
at com.deviceinsight.helm.PackageMojo.execute (PackageMojo.kt:93)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: java.lang.RuntimeException: When executing '/Users/steven/.m2/repository/com/deviceinsight/helm/helm/3.2.0/helm-3.2.0-darwin-amd64.binary dependency update' got result code '1'
at com.deviceinsight.helm.AbstractHelmMojo.executeCmd (AbstractHelmMojo.kt:118)
at com.deviceinsight.helm.AbstractHelmMojo.executeCmd$default (AbstractHelmMojo.kt:104)
at com.deviceinsight.helm.PackageMojo.execute (PackageMojo.kt:87)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The text was updated successfully, but these errors were encountered:
When using a wrapper chart with local dependencies in its requirements.yaml (e.g.
file://../dependent-chart/
), the package goal fails when running dependency update. This is because the files copied to target do not include local dependencies or dep up should be ran against source folder.The text was updated successfully, but these errors were encountered: