[PATCH v1] utilities/gitlab-ci: Change base machine type to 2-cpu to fix make check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



`make -C CodeSamples/ check` currently fails on Gitlab-CI.

Failure happen on sched_setaffinity:
sched_setaffinity: Invalid argument

Further debuging, it's possible to notice that some tests are trying to set
the cpu affinity in CPUs 0 and 1, so at least 2 cpus are needed for the
test to run properly.

Current (default) saas-linux-small-amd64 instances used for testing on
Gitlab-CI only offer a single CPU, which is not enough.

For the test_codesamples pre-test, change the instance type to
saas-linux-medium-amd64 so the tests can run properly.

Fixes: 9217963c ("utilities/gitlab-ci.yml: Add 'make check' on
test_codesamples")
Signed-off-by: Leonardo Bras <leobras.c@xxxxxxxxx>
---
 utilities/gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utilities/gitlab-ci.yml b/utilities/gitlab-ci.yml
index 9545029e..42eda60f 100644
--- a/utilities/gitlab-ci.yml
+++ b/utilities/gitlab-ci.yml
@@ -5,6 +5,7 @@ stages:
   - build
 
 test_codesamples:
+    tags: [ saas-linux-medium-amd64 ]
     stage: test
 
     before_script:
-- 
2.39.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux