$ kubectl -n kube-system logs helm-install-prometheus-node-exporter-c96ql
CHART=$(sed -e "s/%{KUBERNETES_API}%/${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT}/g" <<< "${CHART}")
set +v -x
+ cp /var/run/secrets/kubernetes.io/serviceaccount/ca.crt /usr/local/share/ca-certificates/
+ update-ca-certificates
WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
+ export HELM_HOST=127.0.0.1:44134
+ HELM_HOST=127.0.0.1:44134
+ helm_v2 init --skip-refresh --client-only
+ tiller --listen=127.0.0.1:44134 --storage=secret
Creating /root/.helm
Creating /root/.helm/repository
Creating /root/.helm/repository/cache
Creating /root/.helm/repository/local
Creating /root/.helm/plugins
Creating /root/.helm/starters
Creating /root/.helm/cache/archive
Creating /root/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Adding local repo with URL: http://127.0.0.1:8879/charts
$HELM_HOME has been configured at /root/.helm.
Not installing Tiller due to 'client-only' flag having been set
Happy Helming!
++ jq -r '.Releases | length'
++ helm_v2 ls --all '^prometheus-node-exporter$' --output json
[main] 2020/05/15 21:02:45 Starting Tiller v2.12.3 (tls=false)
[main] 2020/05/15 21:02:45 GRPC listening on 127.0.0.1:44134
[main] 2020/05/15 21:02:45 Probes listening on :44135
[main] 2020/05/15 21:02:45 Storage driver is Secret
[main] 2020/05/15 21:02:45 Max history per release is 0
[storage] 2020/05/15 21:02:45 listing all releases with filter
+ EXIST=
+ '[' '' == 1 ']'
+ '[' '' == v2 ']'
+ helm_repo_init
+ grep -q -e 'https\?://'
+ '[' helm_v3 == helm_v3 ']'
+ [[ stable/prometheus-node-exporter == stable/* ]]
+ helm_v3 repo add stable https://kubernetes-charts.storage.googleapis.com/
"stable" has been added to your repositories
+ helm_v3 repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈
+ '[' -n '' ']'
+ helm_update install --namespace monitoring --version 1.9.1 --set prometheus.monitor.enabled=true
+ '[' helm_v3 == helm_v3 ']'
++ tr '[:upper:]' '[:lower:]'
++ jq -r '"\(.[0].app_version),\(.[0].status)"'
++ helm_v3 ls --all -f '^prometheus-node-exporter$' --output json
+ LINE=null,null
++ echo null,null
++ cut -f1 -d,
+ INSTALLED_VERSION=null
++ echo null,null
++ cut -f2 -d,
+ STATUS=null
+ '[' -e /config/values.yaml ']'
+ '[' install = delete ']'
+ '[' -z null ']'
+ '[' -z 1.9.1 ']'
+ '[' null = 1.9.1 ']'
+ '[' null = failed ']'
+ '[' null = deleted ']'
+ helm_v3 install --namespace monitoring --version 1.9.1 --set prometheus.monitor.enabled=true prometheus-node-exporter stable/prometheus-node-exporter
runtime: nelems=256 nalloc=13 previous allocCount=12 nfreed=65535
fatal error: sweep increased allocation count
goroutine 3 [running]:
runtime.throw(0x1946414, 0x20)
/usr/local/go/src/runtime/panic.go:774 +0x72 fp=0xc00005d660 sp=0xc00005d630 pc=0x42e652
runtime.(*mspan).sweep(0x7f3bfe8a4108, 0xc00007a000, 0x455900)
/usr/local/go/src/runtime/mgcsweep.go:328 +0x8c6 fp=0xc00005d740 sp=0xc00005d660 pc=0x4234f6
runtime.sweepone(0x19f15e8)
/usr/local/go/src/runtime/mgcsweep.go:136 +0x285 fp=0xc00005d7a8 sp=0xc00005d740 pc=0x4229c5
runtime.bgsweep(0xc00007a000)
/usr/local/go/src/runtime/mgcsweep.go:73 +0xba fp=0xc00005d7d8 sp=0xc00005d7a8 pc=0x42268a
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc00005d7e0 sp=0xc00005d7d8 pc=0x45b9d1
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:210 +0x5c
goroutine 1 [runnable]:
reflect.Value.assignTo(0x16fb260, 0xc003a394b0, 0x194, 0x193a968, 0x19, 0x16fb260, 0x0, 0x16fb260, 0xc003a39480, 0x194)
/usr/local/go/src/reflect/value.go:2370 +0x438
reflect.Value.SetMapIndex(0x16fcfa0, 0xc000241050, 0x15, 0x16fb260, 0xc003a39480, 0x194, 0x16fb260, 0xc003a394b0, 0x194)
/usr/local/go/src/reflect/value.go:1672 +0x1dc
gopkg.in/yaml%2ev2.(*decoder).setMapIndex(0xc0000b05a0, 0xc004b76af0, 0x16fcfa0, 0xc000241050, 0x15, 0x16fb260, 0xc003a39480, 0x194, 0x16fb260, 0xc003a394b0, ...)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:686 +0x271
gopkg.in/yaml%2ev2.(*decoder).mapping(0xc0000b05a0, 0xc004b75e30, 0x16fb260, 0xc003a38fd0, 0x194, 0x16fb260)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:673 +0x54b
gopkg.in/yaml%2ev2.(*decoder).unmarshal(0xc0000b05a0, 0xc004b75e30, 0x16fb260, 0xc003a38fd0, 0x194, 0x194)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:368 +0x1af
gopkg.in/yaml%2ev2.(*decoder).sequence(0xc0000b05a0, 0xc004b1e770, 0x16fb260, 0xc00528e7d0, 0x194, 0x16fb260)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:605 +0x25c
gopkg.in/yaml%2ev2.(*decoder).unmarshal(0xc0000b05a0, 0xc004b1e770, 0x16fb260, 0xc00528e7d0, 0x194, 0x194)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:370 +0x183
gopkg.in/yaml%2ev2.(*decoder).mapping(0xc0000b05a0, 0xc0004e8310, 0x16fb260, 0xc005197ed0, 0x194, 0x16fb260)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:672 +0x48d
gopkg.in/yaml%2ev2.(*decoder).unmarshal(0xc0000b05a0, 0xc0004e8310, 0x16fb260, 0xc005197ed0, 0x194, 0x194)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:368 +0x1af
gopkg.in/yaml%2ev2.(*decoder).mapping(0xc0000b05a0, 0xc0004e8070, 0x16fb260, 0xc0004fa010, 0x194, 0x16fb260)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:672 +0x48d
gopkg.in/yaml%2ev2.(*decoder).unmarshal(0xc0000b05a0, 0xc0004e8070, 0x16fb260, 0xc0004fa010, 0x194, 0x0)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:368 +0x1af
gopkg.in/yaml%2ev2.(*decoder).document(0xc0000b05a0, 0xc0004e8000, 0x16fb260, 0xc0004fa010, 0x194, 0x978870)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:380 +0x7c
gopkg.in/yaml%2ev2.(*decoder).unmarshal(0xc0000b05a0, 0xc0004e8000, 0x16fb260, 0xc0004fa010, 0x194, 0x194)
/go/pkg/mod/gopkg.in/[email protected]/decode.go:356 +0x247
gopkg.in/yaml%2ev2.unmarshal(0xc000614000, 0x804205, 0x804405, 0x16541e0, 0xc0004fa010, 0x16fb200, 0x0, 0x0)
/go/pkg/mod/gopkg.in/[email protected]/yaml.go:148 +0x35c
gopkg.in/yaml%2ev2.Unmarshal(0xc000614000, 0x804205, 0x804405, 0x16541e0, 0xc0004fa010, 0x40bf56, 0xc0000f6050)
/go/pkg/mod/gopkg.in/[email protected]/yaml.go:81 +0x58
sigs.k8s.io/yaml.yamlToJSON(0xc000614000, 0x804205, 0x804405, 0xc00172b568, 0x19f00e8, 0x0, 0x1b7f040, 0x281fd20, 0x7f3c00d9c6d0, 0x0)
/go/pkg/mod/sigs.k8s.io/[email protected]/yaml.go:124 +0x73
sigs.k8s.io/yaml.yamlUnmarshal(0xc000614000, 0x804205, 0x804405, 0x17c0e40, 0xc0000f6050, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/pkg/mod/sigs.k8s.io/[email protected]/yaml.go:53 +0x119
sigs.k8s.io/yaml.Unmarshal(...)
/go/pkg/mod/sigs.k8s.io/[email protected]/yaml.go:36
helm.sh/helm/v3/pkg/repo.loadIndex(0xc000614000, 0x804205, 0x804405, 0x804205, 0x804405, 0x0)
/home/circleci/helm.sh/helm/pkg/repo/index.go:284 +0x9b
helm.sh/helm/v3/pkg/repo.LoadIndexFile(0xc0000419b0, 0x2e, 0x2, 0xc0000419b0, 0x2e)
/home/circleci/helm.sh/helm/pkg/repo/index.go:102 +0x87
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).ResolveChartVersion(0xc00172bb28, 0x7ffc57a7463b, 0x1f, 0x7ffc57a745f6, 0x5, 0x1c, 0xc00046e518, 0x0)
/home/circleci/helm.sh/helm/pkg/downloader/chart_downloader.go:219 +0x329
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).DownloadTo(0xc00172bb28, 0x7ffc57a7463b, 0x1f, 0x7ffc57a745f6, 0x5, 0xc0004b0d40, 0x1c, 0x0, 0x4a39c5, 0x191bc31, ...)
/home/circleci/helm.sh/helm/pkg/downloader/chart_downloader.go:87 +0x74
helm.sh/helm/v3/pkg/action.(*ChartPathOptions).LocateChart(0xc00016b7a8, 0x7ffc57a7463b, 0x1f, 0xc000403720, 0x7ffc57a74622, 0x18, 0x7ffc57a7463b, 0x1f)
/home/circleci/helm.sh/helm/pkg/action/install.go:669 +0x428
main.runInstall(0xc000459d80, 0x2, 0x8, 0xc00016b7a0, 0xc00023a960, 0x1b7f060, 0xc0000ae008, 0x191b839, 0x4, 0x5de1d0)
/home/circleci/helm.sh/helm/cmd/helm/install.go:160 +0x16e
main.newInstallCmd.func1(0xc0000bea00, 0xc000459d80, 0x2, 0x8, 0x0, 0x0)
/home/circleci/helm.sh/helm/cmd/helm/install.go:115 +0x83
github.com/spf13/cobra.(*Command).execute(0xc0000bea00, 0xc000459b80, 0x8, 0x8, 0xc0000bea00, 0xc000459b80)
/go/pkg/mod/github.com/spf13/[email protected]/command.go:826 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0xc00052e000, 0x1bbd060, 0xc000464000, 0x7ffc57a745e1)
/go/pkg/mod/github.com/spf13/[email protected]/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
/go/pkg/mod/github.com/spf13/[email protected]/command.go:864
main.main()
/home/circleci/helm.sh/helm/cmd/helm/helm.go:75 +0x204
goroutine 18 [chan receive]:
k8s.io/klog.(*loggingT).flushDaemon(0x281ed40)
/go/pkg/mod/k8s.io/[email protected]/klog.go:1010 +0x8b
created by k8s.io/klog.init.0
/go/pkg/mod/k8s.io/[email protected]/klog.go:411 +0xd6
goroutine 9 [syscall]:
os/signal.signal_recv(0x45b9d6)
/usr/local/go/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:29 +0x41
A brief search suggests this is a race condition.