description: 'LTTng-UST git repo to checkout the UST id'
- string:
name: 'ROOTFS_URL'
- default: 'https://obj.internal.efficios.com/lava/rootfs_amd64_bookworm_2024-01-12.tar.gz'
+ default: 'https://obj.internal.efficios.com/lava/rootfs_amd64_bookworm_2024-01-15.tar.gz'
description: 'The URL at which the system root FS can be downloaded'
- string:
name: 'LTTNG_CI_REPO'
'libtool',
'libxml2',
'libxml2-dev',
+ 'locales',
'netcat-traditional',
'openssh-server',
'psmisc',
'python3-pip',
'python3-setuptools',
'python3-sphinx',
+ 'python3-venv',
'rsync',
'stress',
'swig',
- mkdir -p /tmp/coredump
- echo "/tmp/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
- ulimit -c unlimited
+ - source /root/python-venv/bin/activate
- source /root/lttngvenv/activate
- pushd /root/lttngvenv/src/lttng-tools
- lava-test-case build-test-suite --shell "make"
- mkdir -p /tmp/coredump
- echo "/tmp/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
- ulimit -c unlimited
+ - source /root/python-venv/bin/activate
- source /root/lttngvenv/activate
- pushd /root/lttngvenv/src/lttng-tools
- lava-test-case build-test-suite --shell "make"
- depmod -a
- apt-get update
- apt-get upgrade
- - pip3 install vlttng --break-system-packages
+ # The locale generation is required for the python venv
+ # to be correctgly created.
+ - locale-gen en_US.UTF-8
+ - python3 -m venv /root/python-venv
+ - source /root/python-venv/bin/activate
+ - pip3 install vlttng
- hash -r
- git clone "${CI_REPO}" --branch="${CI_BRANCH}" ci
- mkdir -p /root/.ssh
parser.add_argument('-d', '--debug', required=False, action='store_true')
parser.add_argument(
'-r', '--rootfs-url', required=False,
- default="https://obj.internal.efficios.com/lava/rootfs_amd64_bookworm_2024-01-12.tar.gz"
+ default="https://obj.internal.efficios.com/lava/rootfs_amd64_bookworm_2024-01-15.tar.gz"
)
parser.add_argument('--ci-repo', required=False, default='https://github.com/lttng/lttng-ci.git')
parser.add_argument('--ci-branch', required=False, default='master')
- mount /dev/sda /tmp
{% endif %}
- rm -rf /tmp/*
+ # With the Debian bookwrom rootfs, without
+ # this being set, the babeltrace2 'bt2' python
+ # bindings are not correctly installed in the
+ # vlttng directory.
+ - export SETUPTOOLS_USE_DISTUTILS=stdlib
+ - source /root/python-venv/bin/activate
- {{ vlttng_cmd }}
- ln -s {{ vlttng_path }} /root/lttngvenv
- sync