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 | |||||||||
passed |
#661266
external
|
Cloudooo.UnitTest-Master |
00:16:33
|
||||||
passed |
#661529
external
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
01:26:32
|
||||||
passed |
#661439
external
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master |
08:04:33
|
||||||
passed |
#661648
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:14:44
|
||||||
passed |
#661663
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:40
|
||||||
passed |
#661679
external
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:15:59
|
||||||
failed |
#661695
external
|
SlapOS.SoftwareReleases.IntegrationTest-Master |
08:47:04
|
||||||
passed |
#661277
external
|
SlapOS.Theia.ResilienceTest-Master-ERP5 |
07:16:11
|
||||||
passed |
#661549
external
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
00:31:44
|
||||||
passed |
#661551
external
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
07:44:45
|
||||||
passed |
#661441
external
retried
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
01:27:37
|
||||||
passed |
#661316
external
retried
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
01:31:07
|
||||||
passed |
#661268
external
retried
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
01:29:54
|
||||||
passed |
#661285
external
retried
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master |
10:51:23
|
||||||
passed |
#661254
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:31:53
|
||||||
passed |
#661596
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:14:12
|
||||||
passed |
#661209
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:17:54
|
||||||
passed |
#661477
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:15:51
|
||||||
passed |
#661416
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:19:14
|
||||||
passed |
#661192
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:37:08
|
||||||
passed |
#661228
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:37:14
|
||||||
passed |
#661402
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:29:40
|
||||||
passed |
#661455
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:18:05
|
||||||
passed |
#661571
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:15:56
|
||||||
passed |
#661397
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:38:58
|
||||||
passed |
#661241
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:36:40
|
||||||
passed |
#661584
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:15:45
|
||||||
passed |
#661469
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:30:20
|
||||||
passed |
#661221
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:41:44
|
||||||
failed |
#661289
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-Master |
10:31:28
|
||||||
failed |
#661567
external
retried
|
SlapOS.SoftwareReleases.IntegrationTest-Master |
08:35:49
|
||||||
passed |
#661193
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
00:38:19
|
||||||
passed |
#661443
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
00:42:37
|
||||||
passed |
#661338
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
00:45:56
|
||||||
passed |
#661310
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
09:56:24
|
||||||
passed |
#661445
external
retried
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master |
07:06:18
|
||||||