charm build fails on flannel 'go build'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charmed Kubernetes Testing |
Invalid
|
Undecided
|
Unassigned | ||
Flannel Charm |
Fix Released
|
High
|
Kevin W Monroe |
Bug Description
Sample failure:
https:/
```
01:30:45 [flannel] + echo 'Building etcd v3.4.22 for amd64'
01:30:45 [flannel] Building etcd v3.4.22 for amd64
01:30:45 [flannel] + docker run --rm -e GOOS=linux -e GOARCH=amd64 -v /var/lib/
...
01:30:46 [flannel] go: downloading github.
01:30:47 [flannel] error obtaining VCS status: exit status 128
01:30:47 [flannel] Use -buildvcs=false to disable VCS stamping.
01:30:47 [flannel] Traceback (most recent call last):
01:30:48 File "jobs/build-
01:30:48 entity.
01:30:48 File "jobs/build-
01:30:48 raise BuildException(
01:30:48 BuildException: Failed to build custom resources
01:30:48
01:30:48 [flannel] Stopping
```
Happens with go 1.18+ because git isn't in the docker build env, but VCS info is requested (go -buildvcs=true by default).
summary: |
- charm build fails on flannel/canal 'go build' + charm build fails on flannel 'go build' |
Changed in charm-flannel: | |
assignee: | nobody → Kevin W Monroe (kwmonroe) |
importance: | Undecided → High |
milestone: | none → 1.27 |
status: | New → In Progress |
description: | updated |
Changed in charm-flannel: | |
status: | In Progress → Fix Committed |
Changed in charm-flannel: | |
status: | Fix Committed → Fix Released |
Fix will happen in the flannel charm repo, not jenkins. PR for review:
https:/ /github. com/charmed- kubernetes/ charm-flannel/ pull/87