typo

12 jobs for dev2_je in 3 minutes and 47 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
failed memostream:test:lint #45033
mbr allowed to fail

00:00:14

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

00:00:20

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

00:00:19

passed server:test:build #45028
mbr

00:00:15

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

00:00:14

failed server:test:race #45027
mbr allowed to fail

00:00:22

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

00:00:20

passed tokenservice:test:build #45032
mbr

00:00:16

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

00:00:16

passed tokenservice:test:race #45031
mbr

00:00:21

passed tokenservice:test:unit #45030
mbr

00:00:23

 
  Publish
passed build-feature-branch-image #45036

00:02:47

 
Name Stage Failure
failed
tokenservice:test:lint Test
go: golang.org/x/tools upgrade => v0.0.0-20200904185747-39188db58858
go: downloading golang.org/x/tools v0.0.0-20200904185747-39188db58858
$ 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:52: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 98 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:85:3: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerIIIF.go:90:3: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerIIIF.go:95:3: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerIIIF.go:100:3: 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:85:3: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerIIIF.go:90:3: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerIIIF.go:95:3: DoPanicf format %m has unknown verb m
pkg/memostream/memoServerHandlerIIIF.go:100:3: 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
server:test:lint Test
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server/config.go:36: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:41: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 BaseUrl should be BaseURL
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server/config.go:50:2: struct field UrlPrefix should be URLPrefix
/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server/config.go:65:1: exported function LoadConfig should have comment or be unexported
Found 8 lint suggestions; failing.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
server:test:unit Test
go: downloading github.com/pkg/errors v0.8.0
# gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server [gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server.test]
cmd/server/server_test.go:49:8: undefined: memostream.NewFileMapper
cmd/server/server_test.go:57:34: not enough arguments in call to memostream.NewServer
FAIL gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server [build failed]
FAIL
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
server:test:race Test
go: downloading github.com/pkg/errors v0.8.0
# gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server [gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server.test]
cmd/server/server_test.go:49:8: undefined: memostream.NewFileMapper
cmd/server/server_test.go:57:34: not enough arguments in call to memostream.NewServer
FAIL gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/cmd/server [build failed]
FAIL
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1