[DCOS_OSS-3953] Usage of "os/user" and cross-compilation Created: 13/Aug/18 Updated: 09/Nov/18 Resolved: 15/Aug/18
|Fix Version/s:||DC/OS 1.12.0|
|Reporter:||Bilal Amarni (Inactive)||Assignee:||Bilal Amarni (Inactive)|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Sprint:||CLI Team Sprint 26|
The usage of the os/user package doesn't seem to work well with Go cross-compilation.
I had strange CI errors on Windows when working on integration tests which took me time to root-cause. Basically getting the user home directory failed, as a workaround for now I've explicitly set DCOS_DIR in the windows integration tests CI jobs.
For more context : https://github.com/mitchellh/go-homedir
A simple fix could be to upgrade to Go 1.11 too (https://tip.golang.org/doc/go1.11#os/user):
|Comment by Catherine Southard [ 04/Sep/18 ]|
Updating the fixVersion from 1.12 to 1.12.0 since the ticket has been marked as Resolved - Done