component/golang: clear user cache after build
While running tests using all.bash, `$HOME/.cache/go-build/` is populated with data referencing the build folder. This is problematic when using shared parts and installing a not pinned software release multiple times, like it is the case on test node. A scenario like this can happen: - a first succesful build install in `<shared>/golang1.21/<HASH1>` - golang1.21 section is changed in a the software release - golang1.21 is installed in `<shared>/golang1.21/<HASH2>`, running test fails because the cache `<software_folder>/.cache/go-build/` in references paths from `<shared>/golang1.21/<HASH1>/.build/go/src`, that was used when building the first build and have been removed while installing. This is visible with errors like this: 2024-03-21 20:52:37,214 INFO slapgrid_sr: 2024-03-21 20:52:37 slapos[23849] INFO vet: can't parse raw cgo file: open ../../../../a984f246a1b2789081965ab5c05674a8/.build/go/src/net/cgo_linux.go: no such file or directory
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
failed |
#670847
external
|
ERP5.UnitTest-TestRunner1 |
06:48:14
|
||||||
failed |
#670730
external
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
11:02:26
|
||||||
failed |
#667227
external
retried
|
ERP5.UnitTest-TestRunner1 |
00:26:02
|
||||||
failed |
#660864
external
retried
|
ERP5.UnitTest-TestRunner1 |
01:05:13
|
||||||
failed |
#664415
external
retried
|
ERP5.UnitTest-TestRunner1 |
01:25:12
|
||||||
failed |
#660790
external
retried
|
ERP5.UnitTest-TestRunner1 |
01:11:37
|
||||||
failed |
#660783
external
retried
|
ERP5.UnitTest-TestRunner1 |
04:04:41
|
||||||
failed |
#668511
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
09:07:50
|
||||||
failed |
#667301
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
09:10:15
|
||||||
failed |
#667114
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
09:27:08
|
||||||
failed |
#667004
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
07:46:46
|
||||||
failed |
#669964
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
07:40:33
|
||||||
failed |
#666337
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
10:08:54
|
||||||
failed |
#665212
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
08:58:52
|
||||||
failed |
#662436
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
10:36:46
|
||||||
failed |
#661694
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
08:51:27
|
||||||
failed |
#661582
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
08:23:04
|
||||||
failed |
#660954
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
08:35:15
|
||||||
failed |
#660784
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
06:23:12
|
||||||
failed |
#666910
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
10:30:03
|
||||||
failed |
#669766
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
10:00:11
|
||||||
failed |
#669666
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
08:33:29
|
||||||
failed |
#669427
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
09:09:17
|
||||||
failed |
#668631
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-TestRunner1 |
06:42:18
|
||||||