Open hsanjuan opened 5 years ago
@VictorBjelkholm this is still going on. Is something not being cleaned up correctly?
@Stebalien I don't think it has anything to do with cleaning up properly as each build is in a fresh directory.
I do think it has something to do with the GOPATH setup we do in the beginning of Golang jobs (https://github.com/ipfs/jenkins-libs/blob/master/vars/golang.groovy#L28-L33) but unsure exactly where the issue is as it seems to just affect go-ipfs-cmdkit and no other jobs.
Maybe @magik6k could help look into why? You managed to get the go-ipfs pipeline to work nicely :)
It looks like it's caused by gx depending on go-ipfs-cmdkit and us invoking go get [...]/gx
:
+ go get -v github.com/whyrusleeping/gx
github.com/whyrusleeping/gx (download)
github.com/blang/semver (download)
github.com/mitchellh/go-homedir (download)
github.com/urfave/cli (download)
github.com/ipfs/go-ipfs-api (download)
github.com/ipfs/go-ipfs-cmdkit (download)
package github.com/ipfs/go-ipfs-cmdkit/files: /tmp/jenkins/workspace/IPFS_go-ipfs-cmdkit_master-M37TKJJVWCGNVQ7NTTGYMWY2WGHUSBCQG6VQBBGMYYOULF6DLTVQ/src/github.com/ipfs/go-ipfs-cmdkit
exists but /tmp/jenkins/workspace/IPFS_go-ipfs-cmdkit_master-M37TKJJVWCGNVQ7NTTGYMWY2WGHUSBCQG6VQBBGMYYOULF6DLTVQ/src/github.com/ipfs/go-ipfs-cmdkit/.git
does not - stale checkout?
Gah. We need to just fetch gx from dists.
Isn't #137 the exact same issue? Shall we close one of them?
Which Project is this about?
Standard Go project
Provide a link to a example run where it went wrong
https://ci.ipfs.team/blue/organizations/jenkins/IPFS%2Fgo-ipfs-cmdkit/detail/master/3/pipeline/
Which platform did the issue happen on?
All.
Cannot check out the repo correctly:
package github.com/ipfs/go-ipfs-cmdkit/files: /tmp/jenkins/workspace/IPFS_go-ipfs-cmdkit_master-M37TKJJVWCGNVQ7NTTGYMWY2WGHUSBCQG6VQBBGMYYOULF6DLTVQ/src/github.com/ipfs/go-ipfs-cmdkit exists but /tmp/jenkins/workspace/IPFS_go-ipfs-cmdkit_master-M37TKJJVWCGNVQ7NTTGYMWY2WGHUSBCQG6VQBBGMYYOULF6DLTVQ/src/github.com/ipfs/go-ipfs-cmdkit/.git does not - stale checkout?