use absolute path

12 jobs for master in 3 minutes and 5 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed #26764
mbr allowed to fail
memostream:test:lint

00:00:15

failed #26766
mbr allowed to fail
memostream:test:race

00:00:19

failed #26765
mbr allowed to fail
memostream:test:unit

00:00:19

passed #26759
mbr
server:test:build

00:00:15

failed #26756
mbr allowed to fail
server:test:lint

00:00:15

passed #26758
mbr
server:test:race

00:00:23

failed #26757
mbr allowed to fail
server:test:unit

00:00:22

passed #26763
mbr
tokenservice:test:build

00:00:15

failed #26760
mbr allowed to fail
tokenservice:test:lint

00:00:15

passed #26762
mbr
tokenservice:test:race

00:00:21

passed #26761
mbr
tokenservice:test:unit

00:00:21

 
  Publish
passed #26767
build-latest-image

00:02:05

 
Name Stage Failure
failed
server:test:unit Test
testing.tRunner(0xc0000a4a20, 0x90e5a8)
/usr/local/go/src/testing/testing.go:991 +0xdc
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:1042 +0x357
FAIL gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server 0.007s
FAIL
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
tokenservice:test:lint Test
go: golang.org/x/tools upgrade => v0.0.0-20200504022951-6b6965ac5dd1
go: downloading golang.org/x/tools v0.0.0-20200504022951-6b6965ac5dd1
$ golint -set_exit_status $PKG_PATH
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/tokenService/config.go:19:6: exported type Config should have comment or be unexported
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/tokenService/config.go:33:1: exported function LoadConfig should have comment or be unexported
Found 2 lint suggestions; failing.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
memostream:test:lint Test
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/pkg/memostream/resolverDBStatic.go:49:15: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...)
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/pkg/memostream/tokenServiceServer.go:30:1: exported function NewTokenServiceServer should have comment or be unexported
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/pkg/memostream/tokenServiceServer.go:39:3: exported func NewTokenServiceServer returns unexported type *memostream.tokenServiceServer, which can be annoying to use
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/pkg/memostream/tokenServiceServer.go:118:9: if block ends with a return statement, so drop this else and outdent its block
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/pkg/memostream/vars.go:4:2: exported var VERSION should have comment or be unexported
Found 66 lint suggestions; failing.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
server:test:lint Test
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server/config.go:35:6: exported type FileMap should have comment or be unexported
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server/config.go:40:6: exported type Config should have comment or be unexported
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server/config.go:48:2: struct field UrlPrefix should be URLPrefix
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server/config.go:63:1: exported function LoadConfig should have comment or be unexported
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server/main.go:7:2: a blank import should be only in a main or test package, or have a comment justifying it
Found 8 lint suggestions; failing.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
memostream:test:unit Test
pkg/memostream/memoServerHandlerIIIF.go:95:3: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerMain.go:185:4: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerMain.go:192:4: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerMain.go:197:4: DoPanicf format %m has unknown verb m
pkg/memostream/tokenServiceServer.go:128:3: DoPanicf format %m has unknown verb m
pkg/memostream/tokenServiceServer.go:133:3: DoPanicf format %m has unknown verb m
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
memostream:test:race Test
pkg/memostream/memoServerHandlerIIIF.go:95:3: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerMain.go:185:4: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerMain.go:192:4: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerMain.go:197:4: DoPanicf format %m has unknown verb m
pkg/memostream/tokenServiceServer.go:128:3: DoPanicf format %m has unknown verb m
pkg/memostream/tokenServiceServer.go:133:3: DoPanicf format %m has unknown verb m
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1