[s390x] FTBFS golangci-lint appears to hang/time out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
microovn |
In Progress
|
High
|
Frode Nordahl |
Bug Description
Excerpt of build log [0]:
:: + golangci-lint run --verbose
:: level=info msg="golangci-lint has version (devel) built with go1.22.4 from (1a55854aff4ef6
:: level=info msg="[config_
:: level=info msg="[config_
:: level=info msg="[lintersdb] Active 6 linters: [errcheck gosimple govet ineffassign revive staticcheck]"
[05/Aug/
:: level=info msg="[loader] Go packages loading at mode 575 (files|
:: level=info msg="[runner/
[05/Aug/
:: level=info msg="Memory: 596 samples, avg is 85.8MB, max is 384.1MB"
:: level=info msg="Execution took 1m0.000770144s"
:: level=info msg="[linters_
:: level=info msg="[runner] Issues before processing: 11, after processing: 0"
:: level=info msg="[runner] Processors filtering stat (out/in): skip_dirs: 11/11, identifier_marker: 4/4, skip_files: 11/11, exclude-rules: 0/4, cgo: 11/11, invalid_issue: 11/11, autogenerated_
:: level=info msg="[runner] processing took 475.297µs with stages: identifier_marker: 184.07µs, autogenerated_
:: level=info msg="[runner] linters took 22.942671779s with stages: goanalysis_
:: level=info msg="File cache stats: 0 entries of total size 0B"
:: level=error msg="Timeout exceeded: try increasing it by passing --timeout option"
'override-build' in part 'microovn' failed with code 4.
Recommended resolution: Review the scriptlet and make sure it's correct.
Full execution log: '/root/
Build failed
When checking the build manually it does succeed.
By default, `golangci-lint` operates with a timeout for execution of 1 minute [1]. That is a pretty low number when taking into account the size of the project and its dependencies and the potential load of the various build environments this project is exposed to.
I suggest we resolve this issue by just bumping the timeout to a more reasonable value.
1: https:/ /golangci- lint.run/ usage/configura tion/