toml template adapted

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

00:00:14

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

00:00:21

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

00:00:19

passed server:test:build #51534
mbr

00:00:15

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

00:00:15

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

00:00:21

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

00:00:18

passed tokenservice:test:build #51538
mbr

00:00:16

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

00:00:14

passed tokenservice:test:race #51537
mbr

00:00:24

passed tokenservice:test:unit #51536
mbr

00:00:20

 
  Publish
passed build-feature-branch-image #51542

00:02:38

 
Name Stage Failure
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:66: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
cmd/server/server_test.go:69:11: cannot use os.Stdout (type *os.File) as type *logging.Logger in argument to memostream.NewServer
cmd/server/server_test.go:72:14: cannot use fmt.Sprintf("%s/../../web/template/error.gohtml", workingDirectory) (type string) as type io.Writer in argument to memostream.NewServer:
string does not implement io.Writer (missing Write method)
cmd/server/server_test.go:74:14: cannot use fmt.Sprintf("%s/../../web/template/audiohowler.gohtml", workingDirectory) (type string) as type map[string]string in argument 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
cmd/server/server_test.go:69:11: cannot use os.Stdout (type *os.File) as type *logging.Logger in argument to memostream.NewServer
cmd/server/server_test.go:72:14: cannot use fmt.Sprintf("%s/../../web/template/error.gohtml", workingDirectory) (type string) as type io.Writer in argument to memostream.NewServer:
string does not implement io.Writer (missing Write method)
cmd/server/server_test.go:74:14: cannot use fmt.Sprintf("%s/../../web/template/audiohowler.gohtml", workingDirectory) (type string) as type map[string]string in argument 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
tokenservice:test:lint Test
go: golang.org/x/tools upgrade => v0.0.0-20201023174141-c8cfbd0f21e6
go: downloading golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6
$ 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/resolverDBStatic.go:56: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
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