constabulary / gb

gb, the project based build tool for Go
https://getgb.io/
MIT License
2.15k stars 150 forks source link

Got _testmain.go:9: can't find import: "testing/internal/testdeps" when running gb test #707

Closed tinhtruong closed 7 years ago

tinhtruong commented 7 years ago

Hi,

I am using gb from master and go1.8.1 on a Windows 2012 64bit When I run gb -test with GOOS=windows and GOARCH=386 I got a bunch of errors like: _testmain.go:9: can't find import: "testing/internal/testdeps"

Is it a bug or I missed something?

davecheney commented 7 years ago

I'll look into this this evening.

Can you please confirm that gb is built using the exact version of go you have installed. That is to say, if you upgraded go, you need to reinstall GB.

On Tue, 2 May 2017, 11:01 Truong Xuan Tinh notifications@github.com wrote:

Hi,

I am using gb from master and go1.8.1 on a Windows 2012 64bit When I run gb -test with GOOS=windows and GOARCH=386 I got a bunch of errors like: _testmain.go:9: can't find import: "testing/internal/testdeps"

Is it a bug or I missed something?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/707, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcAyVMNg7ygb7uq1v8lzKExCDYqT2Lks5r1oBPgaJpZM4NNmd2 .

tinhtruong commented 7 years ago

Hi Dave, GB is built using the exact version of go as I use for building my code (go 1.8.1) Thanks

davecheney commented 7 years ago

Can you please post the entire output of

env DEBUG=. gb test

Thanks

On Tue, May 2, 2017 at 2:37 PM, Truong Xuan Tinh notifications@github.com wrote:

Hi Dave, GB is built using the exact version of go as I use for building my code (go 1.8.1) Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/707#issuecomment-298495461, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcA_otII4rBVDSqsz6TNBxWsZq4TvTks5r1rMUgaJpZM4NNmd2 .

tinhtruong commented 7 years ago

We are using gb on Windows machine so the env DEBUG=. does not work. What would be the equivalent for Windows?

davecheney commented 7 years ago

set DEBUG=.

sorry, i'm not a windows user.

On Tue, May 2, 2017 at 2:58 PM, Truong Xuan Tinh notifications@github.com wrote:

We are using gb on Windows machine so the env DEBUG=. does not work. What would be the equivalent for Windows?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/707#issuecomment-298497549, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcA0FmZrufoeMX1Pfwvw_OBNYFy-ylks5r1rfsgaJpZM4NNmd2 .

tinhtruong commented 7 years ago

Here it is:

c:\jenkins\workspace\my-product\my-product-Server>gb test -test.short 2017/05/02 15:01:23 test.go:92: [gb test -test.short] 2017/05/02 15:01:23 test.go:94: [] [-test.short] 2017/05/02 15:01:23 cmd.go:82: project root "c:\jenkins\workspace\my-product\my-product-Server" 2017/05/02 15:01:23 depfile.go:185: loading depfile at "c:\jenkins\workspace\my-product\my-product-Server\depfile" 2017/05/02 15:01:23 depfile.go:33: no depfile, nothing to do. 2017/05/02 15:01:23 match.go:18: c:\jenkins\workspace\my-product\my-product-Server .. 2017/05/02 15:01:23 match.go:108: matchPackages: ... 2017/05/02 15:01:23 main.go:120: args: [myproduct myproduct/auth myproduct/config myproduct/dns myproduct/event myproduct/futils myproduct/hostname myproduct/http myproduct/http/cert myproduct/ipp myproduct/logging myproduct/magicurl myproduct/monitoring myproduct/pcclient myproduct/printerconfig myproduct/printsys myproduct/product myproduct/requtil myproduct/rpc myproduct/version myproduct/webstatic] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\runtime\trace.a is missing 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\net\http\httptest.a is missing 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\encoding\xml.a is missing 2017/05/02 15:01:24 testflag.go:59: TestFlags: args: [-test.short] 2017/05/02 15:01:24 testflag.go:92: testFlags: targs: [-test.short] 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product-Server\pkg\windows-386\myproduct\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/auth, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\auth.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\testing.a 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\auth_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [jwt_test.go], [auth_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\auth\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/config, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\config_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [config_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\config\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/dns, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\dns.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\testing.a 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\dns_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [status_test.go], [server_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\dns\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/event, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\event\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/futils, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\futils\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/hostname, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\hostname\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/http, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\http_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [server_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\http\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/http/cert, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\http\cert_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [cert_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\http\cert\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/ipp, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\ipp.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\net\http\httptest.a 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [handlers_test.go response_writer_test.go server_test.go], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\ipp\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/logging, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\logging_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [logger_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\logging\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/magicurl, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\magicurl.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\net\http\httptest.a 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [magic_url_test.go], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\magicurl\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/monitoring, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\monitoring.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\testing.a 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [monitoring_test.go], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\monitoring\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/pcclient, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\pcclient.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\testing.a 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\pcclient_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [config_test.go], [pcclient_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\pcclient\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/printerconfig, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\printerconfig_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [printer_config_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\printerconfig\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/printsys, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\printsys.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\net\http.a 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [printsys_test.go], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\printsys\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/product, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\product\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/requtil, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\requtil_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [req_util_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\requtil\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/rpc, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\rpc_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [handlers_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\rpc\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/version, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\version\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: myproduct/webstatic, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\webstatic.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\net\http\httptest.a 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [webstatic_test.go], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386\myproduct\webstatic\testmain.a is missing 2017/05/02 15:01:24 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct -pack -o C:\windows\TEMP\gb474669523\myproduct_test\myproduct.a -I C:\windows\TEMP\gb474669523\myproduct_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete main.go] 2017/05/02 15:01:24 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\logging; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/logging -pack -o C:\windows\TEMP\gb474669523\myproduct\logging_test\myproduct\logging.a -I C:\windows\TEMP\gb474669523\myproduct\logging_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete logger.go] 2017/05/02 15:01:25 context.go:314: cd c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\src\encoding\xml; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p encoding/xml -pack -o C:\windows\TEMP\gb474669523\encoding\xml.a -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete marshal.go read.go typeinfo.go xml.go] 2017/05/02 15:01:25 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\printerconfig; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/printerconfig -pack -o C:\windows\TEMP\gb474669523\myproduct\printerconfig_test\myproduct\printerconfig.a -I C:\windows\TEMP\gb474669523\myproduct\printerconfig_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete printer_config.go] 2017/05/02 15:01:27 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\product; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/product -pack -o C:\windows\TEMP\gb474669523\myproduct\product_test\myproduct\product.a -I C:\windows\TEMP\gb474669523\myproduct\product_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete product_windows.go] 2017/05/02 15:01:27 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\requtil; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/requtil -pack -o C:\windows\TEMP\gb474669523\myproduct\requtil_test\myproduct\requtil.a -I C:\windows\TEMP\gb474669523\myproduct\requtil_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete req_util.go] 2017/05/02 15:01:27 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\rpc; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/rpc -pack -o C:\windows\TEMP\gb474669523\myproduct\rpc_test\myproduct\rpc.a -I C:\windows\TEMP\gb474669523\myproduct\rpc_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete handlers.go json.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\version; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/version -pack -o C:\windows\TEMP\gb474669523\myproduct\version_test\myproduct\version.a -I C:\windows\TEMP\gb474669523\myproduct\version_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete cur_ver.go version.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\src\runtime\trace; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p runtime/trace -pack -o C:\windows\TEMP\gb474669523\runtime\trace.a -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete trace.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\config; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/config -pack -o C:\windows\TEMP\gb474669523\myproduct\config_test\myproduct\config.a -I C:\windows\TEMP\gb474669523\myproduct\config_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete config.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\event; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/event -pack -o C:\windows\TEMP\gb474669523\myproduct\event_test\myproduct\event.a -I C:\windows\TEMP\gb474669523\myproduct\event_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete event.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\http; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/http -pack -o C:\windows\TEMP\gb474669523\myproduct\http_test\myproduct\http.a -I C:\windows\TEMP\gb474669523\myproduct\http_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete server.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\futils; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/futils -pack -o C:\windows\TEMP\gb474669523\myproduct\futils_test\myproduct\futils.a -I C:\windows\TEMP\gb474669523\myproduct\futils_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete futils.go] 2017/05/02 15:01:29 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\hostname; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/hostname -pack -o C:\windows\TEMP\gb474669523\myproduct\hostname_test\myproduct\hostname.a -I C:\windows\TEMP\gb474669523\myproduct\hostname_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete host_name.go] 2017/05/02 15:01:29 context.go:314: cd c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\src\net\http\httptest; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p net/http/httptest -pack -o C:\windows\TEMP\gb474669523\net\http\httptest.a -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete httptest.go recorder.go server.go] 2017/05/02 15:01:29 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\http\cert; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/http/cert -pack -o C:\windows\TEMP\gb474669523\myproduct\http\cert_test\myproduct\http\cert.a -I C:\windows\TEMP\gb474669523\myproduct\http\cert_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete cert.go] 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct_test; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\testmain_test\myproduct\testmain.a -I C:\windows\TEMP\gb474669523\myproduct_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go] encoding/xml 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\product_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/product/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\product\testmain_test\myproduct\product\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\product_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/testmain

_testmain.go:8: can't find import: "testing" 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\version_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/version/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\version\testmain_test\myproduct\version\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\version_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/product/testmain

_testmain.go:8: can't find import: "testing" runtime/trace 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\event_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/event/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\event\testmain_test\myproduct\event\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\event_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/version/testmain

_testmain.go:8: can't find import: "testing" 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\futils_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/futils/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\futils\testmain_test\myproduct\futils\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\futils_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/futils/testmain

_testmain.go:8: can't find import: "testing" 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\hostname_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/hostname/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\hostname\testmain_test\myproduct\hostname\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\hostname_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/event/testmain

_testmain.go:8: can't find import: "testing" net/http/httptest 2017/05/02 15:01:30 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\vendor\src\gopkg.in\h2non\gock.v1; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p gopkg.in/h2non/gock.v1 -pack -o C:\windows\TEMP\gb474669523\gopkg.in\h2non\gock.v1.a -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete gock.go matcher.go matchers.go mock.go request.go responder.go response.go store.go transport.go version.go]

myproduct/hostname/testmain

_testmain.go:8: can't find import: "testing" 2017/05/02 15:01:30 context.go:314: cd c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\src\testing; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p testing -pack -o C:\windows\TEMP\gb474669523\testing.a -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete allocs.go benchmark.go cover.go example.go match.go testing.go] gopkg.in/h2non/gock.v1 testing 2017/05/02 15:01:32 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\logging; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/logging_test -pack -o C:\windows\TEMP\gb474669523\myproduct\logging_test\myproduct\logging_test.a -I C:\windows\TEMP\gb474669523\myproduct\logging_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete logger_test.go] 2017/05/02 15:01:32 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\monitoring; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/monitoring -pack -o C:\windows\TEMP\gb474669523\myproduct\monitoring_test\myproduct\monitoring.a -I C:\windows\TEMP\gb474669523\myproduct\monitoring_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete monitoring.go monitoring_test.go] 2017/05/02 15:01:33 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\pcclient; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/pcclient -pack -o C:\windows\TEMP\gb474669523\myproduct\pcclient_test\myproduct\pcclient.a -I C:\windows\TEMP\gb474669523\myproduct\pcclient_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete config.go pcclient.go config_test.go] 2017/05/02 15:01:33 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\printerconfig; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/printerconfig_test -pack -o C:\windows\TEMP\gb474669523\myproduct\printerconfig_test\myproduct\printerconfig_test.a -I C:\windows\TEMP\gb474669523\myproduct\printerconfig_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete printer_config_test.go] 2017/05/02 15:01:34 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\printsys; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/printsys -pack -o C:\windows\TEMP\gb474669523\myproduct\printsys_test\myproduct\printsys.a -I C:\windows\TEMP\gb474669523\myproduct\printsys_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete common.go printers.go printsys.go printsys_windows.go spooler.go printsys_test.go] 2017/05/02 15:01:34 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\requtil; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/requtil_test -pack -o C:\windows\TEMP\gb474669523\myproduct\requtil_test\myproduct\requtil_test.a -I C:\windows\TEMP\gb474669523\myproduct\requtil_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete req_util_test.go] 2017/05/02 15:01:35 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\rpc; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/rpc_test -pack -o C:\windows\TEMP\gb474669523\myproduct\rpc_test\myproduct\rpc_test.a -I C:\windows\TEMP\gb474669523\myproduct\rpc_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete handlers_test.go] 2017/05/02 15:01:36 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\auth; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/auth -pack -o C:\windows\TEMP\gb474669523\myproduct\auth_test\myproduct\auth.a -I C:\windows\TEMP\gb474669523\myproduct\auth_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete auth.go auth_windows.go jwt.go jwt_test.go] 2017/05/02 15:01:37 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\config; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/config_test -pack -o C:\windows\TEMP\gb474669523\myproduct\config_test\myproduct\config_test.a -I C:\windows\TEMP\gb474669523\myproduct\config_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete config_test.go] 2017/05/02 15:01:38 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\dns; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/dns -pack -o C:\windows\TEMP\gb474669523\myproduct\dns_test\myproduct\dns.a -I C:\windows\TEMP\gb474669523\myproduct\dns_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete dns_config.go dns_info_windows.go external_ips.go mdns_windows.go server.go status.go status_test.go] 2017/05/02 15:01:38 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\http\cert; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/http/cert_test -pack -o C:\windows\TEMP\gb474669523\myproduct\http\cert_test\myproduct\http\cert_test.a -I C:\windows\TEMP\gb474669523\myproduct\http\cert_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete cert_test.go] 2017/05/02 15:01:40 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\magicurl; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/magicurl -pack -o C:\windows\TEMP\gb474669523\myproduct\magicurl_test\myproduct\magicurl.a -I C:\windows\TEMP\gb474669523\myproduct\magicurl_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete magic_url.go magic_url_test.go] 2017/05/02 15:01:41 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\webstatic; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/webstatic -pack -o C:\windows\TEMP\gb474669523\myproduct\webstatic_test\myproduct\webstatic.a -I C:\windows\TEMP\gb474669523\myproduct\webstatic_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete resources.go webstatic.go webstatic_test.go] 2017/05/02 15:01:42 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\http; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/http_test -pack -o C:\windows\TEMP\gb474669523\myproduct\http_test\myproduct\http_test.a -I C:\windows\TEMP\gb474669523\myproduct\http_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete server_test.go] 2017/05/02 15:01:43 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\ipp; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/ipp -pack -o C:\windows\TEMP\gb474669523\myproduct\ipp_test\myproduct\ipp.a -I C:\windows\TEMP\gb474669523\myproduct\ipp_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete debug_log.go handlers.go ipp_consts.go ipp_types.go job_template.go op_handler.go printsys_glue.go protocol_struct.go request_parser.go response_writer.go server.go handlers_test.go response_writer_test.go server_test.go] 2017/05/02 15:01:44 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\logging_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/logging/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\logging\testmain_test\myproduct\logging\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\logging_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/logging/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:45 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\monitoring_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/monitoring/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\monitoring\testmain_test\myproduct\monitoring\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\monitoring_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/monitoring/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:45 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\pcclient; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/pcclient_test -pack -o C:\windows\TEMP\gb474669523\myproduct\pcclient_test\myproduct\pcclient_test.a -I C:\windows\TEMP\gb474669523\myproduct\pcclient_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete pcclient_test.go] 2017/05/02 15:01:47 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\printerconfig_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/printerconfig/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\printerconfig\testmain_test\myproduct\printerconfig\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\printerconfig_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go] 2017/05/02 15:01:47 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\requtil_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/requtil/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\requtil\testmain_test\myproduct\requtil\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\requtil_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/printerconfig/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:47 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\printsys_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/printsys/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\printsys\testmain_test\myproduct\printsys\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\printsys_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/requtil/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:47 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\rpc_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/rpc/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\rpc\testmain_test\myproduct\rpc\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\rpc_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/printsys/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:48 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\config_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/config/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\config\testmain_test\myproduct\config\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\config_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/rpc/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:48 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\auth; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/auth_test -pack -o C:\windows\TEMP\gb474669523\myproduct\auth_test\myproduct\auth_test.a -I C:\windows\TEMP\gb474669523\myproduct\auth_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete auth_test.go]

myproduct/config/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:48 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\http\cert_test\myproduct\http; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/http/cert/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\http\cert\testmain_test\myproduct\http\cert\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\http\cert_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/http/cert/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:49 context.go:314: cd c:\jenkins\workspace\my-product\my-product-Server\src\myproduct\dns; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/dns_test -pack -o C:\windows\TEMP\gb474669523\myproduct\dns_test\myproduct\dns_test.a -I C:\windows\TEMP\gb474669523\myproduct\dns_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete server_test.go] 2017/05/02 15:01:49 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\magicurl_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/magicurl/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\magicurl\testmain_test\myproduct\magicurl\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\magicurl_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/magicurl/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:50 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\http_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/http/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\http\testmain_test\myproduct\http\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\http_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/http/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:51 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\webstatic_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/webstatic/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\webstatic\testmain_test\myproduct\webstatic\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\webstatic_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go] 2017/05/02 15:01:51 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\ipp_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/ipp/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\ipp\testmain_test\myproduct\ipp\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\ipp_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/ipp/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:51 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\pcclient_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/pcclient/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\pcclient\testmain_test\myproduct\pcclient\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\pcclient_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/webstatic/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:51 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\auth_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/auth/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\auth\testmain_test\myproduct\auth\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\auth_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/auth/testmain

_testmain.go:7: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:51 context.go:314: cd C:\windows\TEMP\gb474669523\myproduct\dns_test\myproduct; [c:\jenkins\tools\org.jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p myproduct/dns/testmain -pack -o C:\windows\TEMP\gb474669523\myproduct\dns\testmain_test\myproduct\dns\testmain.a -I C:\windows\TEMP\gb474669523\myproduct\dns_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete _testmain.go]

myproduct/pcclient/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps"

myproduct/dns/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" FATAL: command "test" failed: exit status 2 2017/05/02 15:01:51 context.go:290: removing work directory: C:\windows\TEMP\gb474669523


davecheney commented 7 years ago

Which revision of gb are you using?

Sorry, there is no gb version command, but the git hash will do.

On Tue, May 2, 2017 at 3:10 PM, Truong Xuan Tinh notifications@github.com wrote:

Here it is: c:\jenkins\workspace\my-product\my-product-Server>gb test -test.short 2017/05/02 15:01:23 test.go:92: [gb test -test.short] 2017/05/02 15:01:23 test.go:94: [] [-test.short] 2017/05/02 15:01:23 cmd.go:82: project root "c:\jenkins\workspace\my- product\my-product-Server" 2017/05/02 15:01:23 depfile.go:185: loading depfile at "c:\jenkins\workspace\my-product\my-product-Server\depfile" 2017/05/02 15:01:23 depfile.go:33: no depfile, nothing to do. 2017/05/02 15:01:23 match.go:18: c:\jenkins\workspace\my-product\my-product-Server .. 2017/05/02 15:01:23 match.go:108: matchPackages: ... 2017/05/02 15:01:23 main.go:120: args: [mobility mobility/auth mobility/config mobility/dns mobility/event mobility/futils mobility/hostname mobility/http mobility/http/cert mobility/ipp mobility/logging mobility/magicurl mobility/monitoring mobility/pcclient mobility/printerconfig mobility/printsys mobility/product mobility/requtil mobility/rpc mobility/version mobility/webstatic] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\runtime\trace.a is missing 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\net\http\httptest.a is missing 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\encoding\xml.a is missing 2017/05/02 15:01:24 testflag.go:59: TestFlags: args: [-test.short] 2017/05/02 15:01:24 testflag.go:92: testFlags: targs: [-test.short] 2017/05/02 15:01:24 test.go:74: TestPackage: mobility, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product-Server\pkg\windows-386\mobility\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/auth, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\auth.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\ windows-386\testing.a 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\auth_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [jwt_test.go], [auth_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\auth\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/config, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\config_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [config_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\config\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/dns, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\dns.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\ windows-386\testing.a 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\dns_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [status_test.go], [server_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\dns\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/event, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\event\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/futils, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\futils\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/hostname, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\hostname\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/http, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\http_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [server_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\http\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/http/cert, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\http\cert_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [cert_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\http\cert\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/ipp, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\ipp.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\ windows-386\net\http\httptest.a 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [handlers_test.go response_writer_test.go server_test.go], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\ipp\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/logging, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\logging_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [logger_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\logging\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/magicurl, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\magicurl.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\ windows-386\net\http\httptest.a 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [magic_url_test.go], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\magicurl\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/monitoring, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\monitoring.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\ windows-386\testing.a 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [monitoring_test.go], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\monitoring\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/pcclient, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\pcclient.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\ windows-386\testing.a 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\pcclient_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [config_test.go], [pcclient_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\pcclient\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/printerconfig, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\printerconfig_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [printer_config_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\printerconfig\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/printsys, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\printsys.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\ windows-386\net\http.a 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [printsys_test.go], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\printsys\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/product, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\product\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/requtil, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\requtil_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [req_util_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\requtil\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/rpc, flags: [-test.short] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\rpc_test.a is missing 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [handlers_test.go] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\rpc\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/version, flags: [-test.short] 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\version\testmain.a is missing 2017/05/02 15:01:24 test.go:74: TestPackage: mobility/webstatic, flags: [-test.short] 2017/05/02 15:01:24 package.go:238: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\webstatic.a is older than c:\jenkins\workspace\my-product\my-product-Server\pkg\ windows-386\net\http\httptest.a 2017/05/02 15:01:24 gotest.go:94: loadTestFuncs: [webstatic_test.go], [] 2017/05/02 15:01:24 package.go:194: c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386\mobility\webstatic\testmain.a is missing 2017/05/02 15:01:24 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility -pack -o C:\windows\TEMP\gb474669523\mobility_test\mobility.a -I C:\windows\TEMP\gb474669523\mobility_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my-product\my-product-Server\pkg\windows-386 -complete main.go] 2017/05/02 15:01:24 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\logging; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/logging -pack -o C:\windows\TEMP\gb474669523\mobility\logging_test\mobility\logging.a -I C:\windows\TEMP\gb474669523\mobility\logging_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete logger.go] 2017/05/02 15:01:25 context.go:314: cd c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\src\encoding\xml; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p encoding/xml -pack -o C:\windows\TEMP\gb474669523\encoding\xml.a -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete marshal.go read.go typeinfo.go xml.go] 2017/05/02 15:01:25 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\printerconfig; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/printerconfig -pack -o C:\windows\TEMP\gb474669523\ mobility\printerconfig_test\mobility\printerconfig.a -I C:\windows\TEMP\gb474669523\mobility\printerconfig_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete printer_config.go] 2017/05/02 15:01:27 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\product; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/product -pack -o C:\windows\TEMP\gb474669523\mobility\product_test\mobility\product.a -I C:\windows\TEMP\gb474669523\mobility\product_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete product_windows.go] 2017/05/02 15:01:27 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\requtil; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/requtil -pack -o C:\windows\TEMP\gb474669523\mobility\requtil_test\mobility\requtil.a -I C:\windows\TEMP\gb474669523\mobility\requtil_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete req_util.go] 2017/05/02 15:01:27 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\rpc; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/rpc -pack -o C:\windows\TEMP\gb474669523\mobility\rpc_test\mobility\rpc.a -I C:\windows\TEMP\gb474669523\mobility\rpc_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete handlers.go json.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\version; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/version -pack -o C:\windows\TEMP\gb474669523\mobility\version_test\mobility\version.a -I C:\windows\TEMP\gb474669523\mobility\version_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete cur_ver.go version.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\src\runtime\trace; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p runtime/trace -pack -o C:\windows\TEMP\gb474669523\runtime\trace.a -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete trace.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\config; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/config -pack -o C:\windows\TEMP\gb474669523\mobility\config_test\mobility\config.a -I C:\windows\TEMP\gb474669523\mobility\config_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete config.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\event; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/event -pack -o C:\windows\TEMP\gb474669523\mobility\event_test\mobility\event.a -I C:\windows\TEMP\gb474669523\mobility\event_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete event.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\http; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/http -pack -o C:\windows\TEMP\gb474669523\mobility\http_test\mobility\http.a -I C:\windows\TEMP\gb474669523\mobility\http_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete server.go] 2017/05/02 15:01:28 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\futils; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/futils -pack -o C:\windows\TEMP\gb474669523\mobility\futils_test\mobility\futils.a -I C:\windows\TEMP\gb474669523\mobility\futils_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete futils.go] 2017/05/02 15:01:29 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\hostname; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/hostname -pack -o C:\windows\TEMP\gb474669523\mobility\hostname_test\mobility\hostname.a -I C:\windows\TEMP\gb474669523\mobility\hostname_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete host_name.go] 2017/05/02 15:01:29 context.go:314: cd c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\src\net\http\httptest; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p net/http/httptest -pack -o C:\windows\TEMP\gb474669523\net\http\httptest.a -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete httptest.go recorder.go server.go] 2017/05/02 15:01:29 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\http\cert; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/http/cert -pack -o C:\windows\TEMP\gb474669523\mobility\http\cert_test\mobility\http\cert.a -I C:\windows\TEMP\gb474669523\mobility\http\cert_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete cert.go] 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\mobility_test; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/testmain -pack -o C:\windows\TEMP\gb474669523\ mobility\testmain_test\mobility\testmain.a -I C:\windows\TEMP\gb474669523\mobility_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] encoding/xml 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\product_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/product/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\product\testmain test\mobility\product\testmain.a -I C:\windows\TEMP\gb474669523\mobility\product_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/testmain

_testmain.go:8: can't find import: "testing" 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\version_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/version/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\version\testmain test\mobility\version\testmain.a -I C:\windows\TEMP\gb474669523\mobility\version_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/product/testmain

_testmain.go:8: can't find import: "testing" runtime/trace 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\mobility\event_test\mobility; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/event/testmain -pack -o C:\windows\TEMP\gb474669523\ mobility\event\testmain_test\mobility\event\testmain.a -I C:\windows\TEMP\gb474669523\mobility\event_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/version/testmain

_testmain.go:8: can't find import: "testing" 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\mobility\futils_test\mobility; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/futils/testmain -pack -o C:\windows\TEMP\gb474669523\ mobility\futils\testmain_test\mobility\futils\testmain.a -I C:\windows\TEMP\gb474669523\mobility\futils_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/futils/testmain

_testmain.go:8: can't find import: "testing" 2017/05/02 15:01:30 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\hostname_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/hostname/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\hostname\testmain test\mobility\hostname\testmain.a -I C:\windows\TEMP\gb474669523\mobility\hostname_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/event/testmain

_testmain.go:8: can't find import: "testing" net/http/httptest 2017/05/02 15:01:30 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\vendor\src\gopkg.in\h2non\gock.v1; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p gopkg.in/h2non/gock.v1 -pack -o C:\windows\TEMP\gb474669523\gopkg.in\h2non\gock.v1.a -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete gock.go matcher.go matchers.go mock.go request.go responder.go response.go store.go transport.go version.go] mobility/hostname/testmain

_testmain.go:8: can't find import: "testing" 2017/05/02 15:01:30 context.go:314: cd c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\src\testing; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p testing -pack -o C:\windows\TEMP\gb474669523\testing.a -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete allocs.go benchmark.go cover.go example.go match.go testing.go] gopkg.in/h2non/gock.v1 testing 2017/05/02 15:01:32 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\logging; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/logging_test -pack -o C:\windows\TEMP\gb474669523\mobility\logging_test\mobility\logging_test.a -I C:\windows\TEMP\gb474669523\mobility\logging_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete logger_test.go] 2017/05/02 15:01:32 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\monitoring; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/monitoring -pack -o C:\windows\TEMP\gb474669523\mobility\monitoring_test\mobility\monitoring.a -I C:\windows\TEMP\gb474669523\mobility\monitoring_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete monitoring.go monitoring_test.go] 2017/05/02 15:01:33 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\pcclient; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/pcclient -pack -o C:\windows\TEMP\gb474669523\mobility\pcclient_test\mobility\pcclient.a -I C:\windows\TEMP\gb474669523\mobility\pcclient_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete config.go pcclient.go config_test.go] 2017/05/02 15:01:33 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\printerconfig; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/printerconfig_test -pack -o C:\windows\TEMP\gb474669523\ mobility\printerconfig_test\mobility\printerconfig_test.a -I C:\windows\TEMP\gb474669523\mobility\printerconfig_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete printer_config_test.go] 2017/05/02 15:01:34 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\printsys; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/printsys -pack -o C:\windows\TEMP\gb474669523\mobility\printsys_test\mobility\printsys.a -I C:\windows\TEMP\gb474669523\mobility\printsys_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete common.go printers.go printsys.go printsys_windows.go spooler.go printsys_test.go] 2017/05/02 15:01:34 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\requtil; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/requtil_test -pack -o C:\windows\TEMP\gb474669523\mobility\requtil_test\mobility\requtil_test.a -I C:\windows\TEMP\gb474669523\mobility\requtil_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete req_util_test.go] 2017/05/02 15:01:35 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\rpc; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/rpc_test -pack -o C:\windows\TEMP\gb474669523\mobility\rpc_test\mobility\rpc_test.a -I C:\windows\TEMP\gb474669523\mobility\rpc_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete handlers_test.go] 2017/05/02 15:01:36 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\auth; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/auth -pack -o C:\windows\TEMP\gb474669523\mobility\auth_test\mobility\auth.a -I C:\windows\TEMP\gb474669523\mobility\auth_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete auth.go auth_windows.go jwt.go jwt_test.go] 2017/05/02 15:01:37 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\config; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/config_test -pack -o C:\windows\TEMP\gb474669523\mobility\config_test\mobility\config_test.a -I C:\windows\TEMP\gb474669523\mobility\config_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete config_test.go] 2017/05/02 15:01:38 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\dns; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/dns -pack -o C:\windows\TEMP\gb474669523\mobility\dns_test\mobility\dns.a -I C:\windows\TEMP\gb474669523\mobility\dns_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete dns_config.go dns_info_windows.go external_ips.go mdns_windows.go server.go status.go status_test.go] 2017/05/02 15:01:38 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\http\cert; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/http/cert_test -pack -o C:\windows\TEMP\gb474669523\mobility\http\cert_test\mobility\http\cert_test.a -I C:\windows\TEMP\gb474669523\mobility\http\cert_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete cert_test.go] 2017/05/02 15:01:40 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\magicurl; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/magicurl -pack -o C:\windows\TEMP\gb474669523\mobility\magicurl_test\mobility\magicurl.a -I C:\windows\TEMP\gb474669523\mobility\magicurl_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete magic_url.go magic_url_test.go] 2017/05/02 15:01:41 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\webstatic; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/webstatic -pack -o C:\windows\TEMP\gb474669523\mobility\webstatic_test\mobility\webstatic.a -I C:\windows\TEMP\gb474669523\mobility\webstatic_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete resources.go webstatic.go webstatic_test.go] 2017/05/02 15:01:42 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\http; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/http_test -pack -o C:\windows\TEMP\gb474669523\mobility\http_test\mobility\http_test.a -I C:\windows\TEMP\gb474669523\mobility\http_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete server_test.go] 2017/05/02 15:01:43 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\ipp; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/ipp -pack -o C:\windows\TEMP\gb474669523\mobility\ipp_test\mobility\ipp.a -I C:\windows\TEMP\gb474669523\mobility\ipp_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete debug_log.go handlers.go ipp_consts.go ipp_types.go job_template.go op_handler.go printsys_glue.go protocol_struct.go request_parser.go response_writer.go server.go handlers_test.go response_writer_test.go server_test.go] 2017/05/02 15:01:44 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\logging_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/logging/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\logging\testmain test\mobility\logging\testmain.a -I C:\windows\TEMP\gb474669523\mobility\logging_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/logging/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:45 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\monitoring_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/monitoring/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\monitoring\testmain test\mobility\monitoring\testmain.a -I C:\windows\TEMP\gb474669523\mobility\monitoring_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/monitoring/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:45 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\pcclient; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/pcclient_test -pack -o C:\windows\TEMP\gb474669523\mobility\pcclient_test\mobility\pcclient_test.a -I C:\windows\TEMP\gb474669523\mobility\pcclient_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete pcclient_test.go] 2017/05/02 15:01:47 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\printerconfig_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/printerconfig/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\printerconfig\ testmain_test\mobility\printerconfig\testmain.a -I C:\windows\TEMP\gb474669523\mobility\printerconfig_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] 2017/05/02 15:01:47 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\requtil_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/requtil/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\requtil\testmain test\mobility\requtil\testmain.a -I C:\windows\TEMP\gb474669523\mobility\requtil_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/printerconfig/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:47 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\printsys_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/printsys/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\printsys\testmain test\mobility\printsys\testmain.a -I C:\windows\TEMP\gb474669523\mobility\printsys_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/requtil/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:47 context.go:314: cd C:\windows\TEMP\gb474669523\mobility\rpc_test\mobility; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/rpc/testmain -pack -o C:\windows\TEMP\gb474669523\ mobility\rpc\testmain_test\mobility\rpc\testmain.a -I C:\windows\TEMP\gb474669523\mobility\rpc_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/printsys/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:48 context.go:314: cd C:\windows\TEMP\gb474669523\mobility\config_test\mobility; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/config/testmain -pack -o C:\windows\TEMP\gb474669523\ mobility\config\testmain_test\mobility\config\testmain.a -I C:\windows\TEMP\gb474669523\mobility\config_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/rpc/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:48 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\auth; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/auth_test -pack -o C:\windows\TEMP\gb474669523\mobility\auth_test\mobility\auth_test.a -I C:\windows\TEMP\gb474669523\mobility\auth_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete auth_test.go] mobility/config/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:48 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\http\cert_test\mobility\http; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/http/cert/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\http\cert\testmain test\mobility\http\cert\testmain.a -I C:\windows\TEMP\gb474669523\mobility\http\cert_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/http/cert/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:49 context.go:314: cd c:\jenkins\workspace\my- product\my-product-Server\src\mobility\dns; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windows_amd64\compile.exe -p mobility/dns_test -pack -o C:\windows\TEMP\gb474669523\mobility\dns_test\mobility\dns_test.a -I C:\windows\TEMP\gb474669523\mobility\dns_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete server_test.go] 2017/05/02 15:01:49 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\magicurl_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/magicurl/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\magicurl\testmain test\mobility\magicurl\testmain.a -I C:\windows\TEMP\gb474669523\mobility\magicurl_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/magicurl/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:50 context.go:314: cd C:\windows\TEMP\gb474669523\mobility\http_test\mobility; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/http/testmain -pack -o C:\windows\TEMP\gb474669523\ mobility\http\testmain_test\mobility\http\testmain.a -I C:\windows\TEMP\gb474669523\mobility\http_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/http/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:51 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\webstatic_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/webstatic/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\webstatic\testmain test\mobility\webstatic\testmain.a -I C:\windows\TEMP\gb474669523\mobility\webstatic_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] 2017/05/02 15:01:51 context.go:314: cd C:\windows\TEMP\gb474669523\mobility\ipp_test\mobility; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/ipp/testmain -pack -o C:\windows\TEMP\gb474669523\ mobility\ipp\testmain_test\mobility\ipp\testmain.a -I C:\windows\TEMP\gb474669523\mobility\ipp_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/ipp/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:51 context.go:314: cd C:\windows\TEMP\gb474669523\ mobility\pcclient_test\mobility; [c:\jenkins\tools\org. jenkinsci.plugins.golang.GolangInstallation\go-1.8.1\ pkg\tool\windowsamd64\compile.exe -p mobility/pcclient/testmain -pack -o C:\windows\TEMP\gb474669523\mobility\pcclient\testmain test\mobility\pcclient\testmain.a -I C:\windows\TEMP\gb474669523\mobility\pcclient_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/webstatic/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:51 context.go:314: cd C:\windows\TEMP\gb474669523\mobility\auth_test\mobility; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/auth/testmain -pack -o C:\windows\TEMP\gb474669523\ mobility\auth\testmain_test\mobility\auth\testmain.a -I C:\windows\TEMP\gb474669523\mobility\auth_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/auth/testmain

_testmain.go:7: can't find import: "testing/internal/testdeps" 2017/05/02 15:01:51 context.go:314: cd C:\windows\TEMP\gb474669523\mobility\dns_test\mobility; [c:\jenkins\tools\org.jenkinsci.plugins.golang. GolangInstallation\go-1.8.1\pkg\tool\windows_amd64\compile.exe -p mobility/dns/testmain -pack -o C:\windows\TEMP\gb474669523\ mobility\dns\testmain_test\mobility\dns\testmain.a -I C:\windows\TEMP\gb474669523\mobility\dns_test -I C:\windows\TEMP\gb474669523 -I c:\jenkins\workspace\my- product\my-product-Server\pkg\windows-386 -complete _testmain.go] mobility/pcclient/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" mobility/dns/testmain

_testmain.go:9: can't find import: "testing/internal/testdeps" FATAL: command "test" failed: exit status 2 2017/05/02 15:01:51 context.go:290: removing work directory: C:\windows\TEMP\gb474669523

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/707#issuecomment-298498760, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcA7amjUna3J1TjRkXAm2FIeSSBIm7ks5r1rq5gaJpZM4NNmd2 .

tinhtruong commented 7 years ago

commit e37273a77eb2566d553c63fc1bdca98a562928aa Author: Dave Cheney Date: Sun Apr 30 11:34:53 2017 +1000

unexport package.Complete (#694)
davecheney commented 7 years ago

Thank you. I have reproduced the issue.

The workaround for the moment is to use a 386 version of the go toolchain to build gb and run your tests; that will avoid the bug where gb cannot cross compile testing/internal/testdeps

On Tue, May 2, 2017 at 3:15 PM, Truong Xuan Tinh notifications@github.com wrote:

commit e37273a https://github.com/constabulary/gb/commit/e37273a77eb2566d553c63fc1bdca98a562928aa Author: Dave Cheney dave@cheney.net Date: Sun Apr 30 11:34:53 2017 +1000

unexport package.Complete (#694)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/707#issuecomment-298499296, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcAy2p30mI6SKnV_hAHuVcNul5x94sks5r1rvwgaJpZM4NNmd2 .

tinhtruong commented 7 years ago

Thanks for a quick turnaround I just set GOOS=windows and GOARCH=386 when building gb. Everything works now.

davecheney commented 7 years ago

That's a good work around, I didn't think of that but that will, assuming you use go install, install the 386 version of most of the standard library which will work around the problem.

On Tue, 2 May 2017, 15:40 Truong Xuan Tinh notifications@github.com wrote:

Thanks for a quick turnaround I just set GOOS=windows and GOARCH=386 when building gb. Everything works now.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/707#issuecomment-298501957, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcA4WoyfTh-vHV9tjz3LVKatvtzfriks5r1sHWgaJpZM4NNmd2 .

tinhtruong commented 7 years ago

It seems that my previous workaround does not work as expected. However, I temporarily switch to the branch fixedbugs/707 for gb and everything works properly now. When will that changes get merged to master?

davecheney commented 7 years ago

Once I get the tests passing on earlier versions of go

On Wed, 3 May 2017, 11:14 Truong Xuan Tinh notifications@github.com wrote:

It seems that my previous workaround does not work as expected. However, I temporarily switch to the branch fixedbugs/707 for gb and everything works properly now. When will that changes get merged to master?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/707#issuecomment-298803016, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcA7QXGcmbe3Jf0NFKgt2T5glFWM6gks5r19URgaJpZM4NNmd2 .

johnsogg commented 7 years ago

This problem seems to have resurfaced. Using the current gb from master (hash: f11784c79acf8d0c0a516774585aed66dc0dc439), freshly built with go version go1.8.3 darwin/amd64.

Made a two-file gb project with src/fudge/hello.go and src/fudge/hello_test.go:

~/Projects/fudge $ env DEBUG=. gb test
2017/06/12 15:32:51 depfile.go:184: loading depfile at "/Users/johnsogg/Projects/fudge/depfile"
2017/06/12 15:32:51 depfile.go:32: no depfile, nothing to do.
2017/06/12 15:32:51 context.go:319: project root "/Users/johnsogg/Projects/fudge"
2017/06/12 15:32:51 context.go:319: TestPackage: fudge, flags: []
FATAL: command "test" failed: import "testing/internal/testdeps": not found: stat /Users/johnsogg/Projects/fudge/src/testing/internal/testdeps: no such file or directory
2017/06/12 15:32:51 context.go:303: removing work directory: /var/folders/5j/xqp9h2v97m71fw6gmykqptgh0000gn/T/gb950306633
davecheney commented 7 years ago

This sounds like either gb is built against the old version of Go, or GOROOT may be set and pointing to the wrong version of go.

On Tue, 13 Jun 2017, 07:40 Gabe Johnson notifications@github.com wrote:

This problem seems to have resurfaced. Using the current gb from master (hash: f11784c https://github.com/constabulary/gb/commit/f11784c79acf8d0c0a516774585aed66dc0dc439), freshly built with go version go1.8.3 darwin/amd64.

Made a two-file gb project with src/fudge/hello.go and src/fudge/hello_test.go:

~/Projects/fudge $ env DEBUG=. gb test 2017/06/12 15:32:51 depfile.go:184: loading depfile at "/Users/johnsogg/Projects/fudge/depfile" 2017/06/12 15:32:51 depfile.go:32: no depfile, nothing to do. 2017/06/12 15:32:51 context.go:319: project root "/Users/johnsogg/Projects/fudge" 2017/06/12 15:32:51 context.go:319: TestPackage: fudge, flags: [] FATAL: command "test" failed: import "testing/internal/testdeps": not found: stat /Users/johnsogg/Projects/fudge/src/testing/internal/testdeps: no such file or directory 2017/06/12 15:32:51 context.go:303: removing work directory: /var/folders/5j/xqp9h2v97m71fw6gmykqptgh0000gn/T/gb950306633

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/707#issuecomment-307937315, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcA31J2QX0k0UURxi4lyz5iXcrt06Lks5sDbBSgaJpZM4NNmd2 .