Fix: system-tests: canary 2.10 lttng-ust with urcu >= 0.13 is not supported
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 22 Jun 2021 14:57:46 +0000 (10:57 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 22 Jun 2021 15:01:15 +0000 (11:01 -0400)
urcu 0.13 removes the urcu_bp_synchronize_rcu symbols leading to
detection problem at configure time.

[1] https://github.com/lttng/lttng-ust/commit/b94384c0525ff159b7605c8010c8543388f3e71d

The canary is not updated to version 2.11 yet since the above fix is not
yet part of an official release.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
scripts/system-tests/lava2-submit.py

index 7a9ed23a681bd3d028286640c457372895cff8c1..dec07a92affb55b45e28a7289eb2255ccd41995d 100644 (file)
@@ -127,10 +127,15 @@ def get_vlttng_cmd(
     """
     Return vlttng cmd to be used in the job template for setup.
     """
+    urcu_profile = ""
+    if lttng_version == 'master' or (major_version >= 2 and minor_version >= 11):
+        urcu_profile = "urcu-master"
+    else:
+        urcu_profile = "urcu-stable-0.12"
 
     vlttng_cmd = (
-        'vlttng --jobs=$(nproc) --profile urcu-master'
-        ' --override projects.babeltrace.build-env.PYTHON=python3'
+        'vlttng --jobs=$(nproc) --profile ' + urcu_profile
+        ' --override projects.babeltrace.build-env.PYTHON=python3'
         ' --override projects.babeltrace.build-env.PYTHON_CONFIG=python3-config'
         ' --profile babeltrace-stable-1.5'
         ' --profile babeltrace-python'
This page took 0.024636 seconds and 4 git commands to generate.