James
James
Note: you can run the individual test with go test -tags nodocker github.com/purpleidea/mgmt/engine/resources -v -run TestResources1/test_#0_ (Updated with exact command.)
I rebased this to master which has a lot of stability fixes and it's now testing at: https://travis-ci.org/purpleidea/mgmt/builds/519010924
This is a total mystery! I can confirm that with the updated patch it fails in the travis test and locally! Although I have no idea what it would have...
@Superpat Should I keep this open or let it die for now? Cheers!
> seems mgmt.static doesn't build these targets before building. Woops, I guess nobody added those deps. I didn't add the `mgmt.static` target, and I forget who did and why, and...
``` cfg.SocketOpts = transport.SocketOpts{ //ReusePort: false, // SO_REUSEPORT ReuseAddress: true, // SO_REUSEADDR } ``` Patch is this ^^ into etcd/server.go but we need to wait for the 3.5 release first.
I have this in a feature branch btw, but waiting for the etcd release.
@JefMasereel can probably point to the issue he found that this patch fixed... After our memory is refreshed, we can use TestRes (and import it elsewhere) or do something different....
Original issue is here actually: https://github.com/purpleidea/mgmt/issues/684
@neverbeenthisweeb Sure! `Kind` has a few uses, but in terms of the resources in mgmt, kind is `file`, `svc`, `pkg`, `virt`, etc... In other words the "type" of resource, although...