Seeing permissions errors running upstream toolkit tests in Azure Devops pipelines.
Snippet of the failing tests:
ERRO[0000][safechroot_test] Mount of () to (/tmp/TestInitializeShouldCreateRoot3147199148/001/TestInitializeShouldCreateRoot/dev) failed. Error: operation not permitted
WARN[0000][safechroot_test] Error creating mountpoints for chroot
--- FAIL: TestInitializeShouldCreateRoot (0.00s)
safechroot_test.go:60:
Error Trace: /__w/1/s/.pipelines/toolkit/tools/internal/safechroot/safechroot_test.go:60
Error: Received unexpected error:
operation not permitted
Test: TestInitializeShouldCreateRoot
safechroot_test.go:65:
Error Trace: /__w/1/s/.pipelines/toolkit/tools/internal/safechroot/safechroot_test.go:65
Error: Should be true
Test: TestInitializeShouldCreateRoot
ERRO[0000][safechroot_test] Mount of () to (/tmp/TestCloseShouldRemoveRoot3825882244/001/TestCloseShouldRemoveRoot/dev) failed. Error: operation not permitted
We use the azurelinux toolkit to build a RPMS package to be published.
As these tests are already maintained and run upstream, is there a flag that we can pass to skip running all these tests?
Seeing permissions errors running upstream toolkit tests in Azure Devops pipelines.
Snippet of the failing tests:
We use the azurelinux toolkit to build a RPMS package to be published.
As these tests are already maintained and run upstream, is there a flag that we can pass to skip running all these tests?