Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 24.04 LTS (noble) part 2 #1904

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6cc2efd
[CI] Remove support for Ubuntu 20.04
woju Oct 4, 2024
e55aec8
[CI] Fix installation of libraries into non-standard paths
woju Oct 2, 2024
eb726b5
[CI] Make 'dcap' the default RA_TYPE
woju Sep 13, 2024
96a4637
[CI-Examples] busybox: Use system busybox
woju Sep 18, 2024
e066b54
[LibOS/tests,CI-Examples] Increase sgx.max_threads to 8
woju Sep 25, 2024
b1101d3
[CI-Examples] Rework benchmark-http.sh for less external dependencies
woju Sep 24, 2024
4286ffc
[Meson,CI] Fix check-python-platlib for Python 3.12
woju Jun 11, 2024
8d55c81
[CI] Add missing dependencies to ubuntu24.04.dockerfile
woju Jun 14, 2024
dd42580
[CI] Add missing dependencies to ubuntu22.04.dockerfile
woju Sep 26, 2024
5ebbed3
[CI] Increase CI-Examples/python (SGX) timeout to 10 min
woju Jun 14, 2024
ca2f874
[LibOS/tests] Fix openmp manifest to add shm tmpfs
woju Sep 30, 2024
edebdf0
[LibOS/tests] Fix timing issues on certain LTP tests
woju Sep 23, 2024
eaeed2f
[LibOS/tests] Fix ASAN tests on Ubuntu 22.04
woju Oct 2, 2024
0359d62
[LibOS/tests] Skip certain GDB tests on known buggy GDB
woju Oct 8, 2024
2f70b77
[CI] Fix memcached test harness
woju Sep 18, 2024
66f7682
[CI-Examples] ra-tls-mbedtls: `tee` the OUTPUT
woju Oct 1, 2024
efc9330
[CI] Pin old noble and jammy pipelines to correct nodes
woju Sep 26, 2024
4ba3633
[CI] Add linux-direct-ubuntu24.04-gcc-debug.jenkinsfile
woju Jun 11, 2024
fc6d5d1
[CI] Add linux-direct-ubuntu24.04-gcc-release.jenkinsfile
woju Jun 11, 2024
00571db
[CI] Add linux-sgx-ubuntu24.04-edmm.jenkinsfile
woju Jun 11, 2024
76f0ed2
[CI] Add linux-sgx-ubuntu24.04-gcc-release-apps.jenkinsfile
woju Jun 11, 2024
ce6d949
[CI] Add linux-sgx-ubuntu24.04-musl.jenkinsfile
woju Jun 11, 2024
aa56b6d
[CI] Add linux-direct-ubuntu24.04-sanitizers.jenkinsfile
woju Jun 11, 2024
00a0c3a
[CI] Add linux-sgx-ubuntu24.04-sanitizers.jenkinsfile
woju Jun 11, 2024
b27033a
[CI] Add linux-direct-ubuntu22.04-gcc-debug.jenkinsfile
woju Sep 26, 2024
2f21b89
[CI] Add linux-direct-ubuntu22.04-gcc-release.jenkinsfile
woju Sep 26, 2024
56c5eda
[CI] Add linux-sgx-ubuntu22.04-edmm.jenkinsfile
woju Sep 26, 2024
082008f
[CI] Add linux-sgx-ubuntu22.04-gcc-release-apps.jenkinsfile
woju Sep 26, 2024
a80418b
[CI] Add linux-sgx-ubuntu22.04-musl.jenkinsfile
woju Sep 26, 2024
9fc739a
[CI] Add linux-direct-ubuntu22.04-sanitizers.jenkinsfile
woju Sep 26, 2024
cbce3f5
[CI] Add linux-sgx-ubuntu22.04-sanitizers.jenkinsfile
woju Sep 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .ci/check-python-platlib-debian12.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM debian:bookworm

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y \
python3 \
python3-distutils \
python3-setuptools

COPY scripts/get-python-platlib.py /get-python-platlib.py
RUN mkdir -p "$(python3 /get-python-platlib.py /usr/local)"
10 changes: 10 additions & 0 deletions .ci/check-python-platlib-ubuntu24.04.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM ubuntu:24.04

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y \
python3 \
python3-setuptools

COPY scripts/get-python-platlib.py /get-python-platlib.py
RUN mkdir -p "$(python3 /get-python-platlib.py /usr/local)"
2 changes: 2 additions & 0 deletions .ci/check-python-platlib.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ node() {
checkout scm

[
'debian12',
'debian11',
'ubuntu24.04',
'ubuntu22.04',
'ubuntu20.04',
'almalinux9',
Expand Down
4 changes: 4 additions & 0 deletions .ci/lib/config.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@ env.RA_TLS_ALLOW_HW_CONFIG_NEEDED = '1'
env.RA_TLS_ALLOW_SW_HARDENING_NEEDED = '1'
env.RA_TLS_ALLOW_DEBUG_ENCLAVE_INSECURE = '1'

if (env.RA_TYPE == null) {
env.RA_TYPE = 'dcap'
}

env.LC_ALL = 'C.UTF-8'
env.LANG = env.LC_ALL
1 change: 1 addition & 0 deletions .ci/lib/stage-build-nosgx.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ stage('build') {

// In CI we install to non-standard --prefix (see above). This makes sure the libraries are
// available anyway.
env.LD_LIBRARY_PATH = libdir
env.PKG_CONFIG_PATH = libdir + '/pkgconfig'

// prevent cheating and testing from repo
Expand Down
1 change: 1 addition & 0 deletions .ci/lib/stage-build-sgx-vm.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ stage('build') {

// In CI we install to non-standard --prefix (see above). This makes sure the libraries are
// available anyway (e.g. gramine-sgx-pf-crypt needs libsgx_util.so).
env.LD_LIBRARY_PATH = libdir
env.PKG_CONFIG_PATH = libdir + '/pkgconfig'

// prevent cheating and testing from repo
Expand Down
1 change: 1 addition & 0 deletions .ci/lib/stage-build-sgx.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ stage('build') {

// In CI we install to non-standard --prefix (see above). This makes sure the libraries are
// available anyway.
env.LD_LIBRARY_PATH = libdir
env.PKG_CONFIG_PATH = libdir + '/pkgconfig'

// prevent cheating and testing from repo
Expand Down
2 changes: 1 addition & 1 deletion .ci/lib/stage-test-direct.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ stage('test-direct') {
# memcslap populates server but doesn't report errors, use
# memcached-tool for this (must return two lines of stats)
memcslap --servers=127.0.0.1 --concurrency=8
src/scripts/memcached-tool 127.0.0.1 | wc -l | grep -w "2"
test "$(src/scripts/memcached-tool 127.0.0.1 | wc -l)" -ge 2
'''
}
timeout(time: 10, unit: 'MINUTES') {
Expand Down
8 changes: 2 additions & 6 deletions .ci/lib/stage-test-sgx.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,14 @@ stage('test-sgx') {
fi
'''

if (env.RA_TYPE == null) {
env.RA_TYPE = 'epid'
}

timeout(time: 5, unit: 'MINUTES') {
sh '''
cd CI-Examples/helloworld
make ${MAKEOPTS}
make ${MAKEOPTS} check
'''
}
timeout(time: 5, unit: 'MINUTES') {
timeout(time: 10, unit: 'MINUTES') {
sh '''
cd CI-Examples/python
make ${MAKEOPTS} RA_TYPE=$RA_TYPE RA_CLIENT_SPID=${ra_client_spid}
Expand Down Expand Up @@ -55,7 +51,7 @@ stage('test-sgx') {
# memcslap populates server but doesn't report errors, use
# memcached-tool for this (must return two lines of stats)
memcslap --servers=127.0.0.1 --concurrency=8
src/scripts/memcached-tool 127.0.0.1 | wc -l | grep -w "2"
test "$(src/scripts/memcached-tool 127.0.0.1 | wc -l)" -ge 2
'''
}
timeout(time: 15, unit: 'MINUTES') {
Expand Down
4 changes: 0 additions & 4 deletions .ci/lib/stage-test.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
stage('test') {
if (env.RA_TYPE == null) {
env.RA_TYPE = 'epid'
}

timeout(time: 15, unit: 'MINUTES') {
try {
sh '''
Expand Down
22 changes: 0 additions & 22 deletions .ci/linux-direct-sanitizers.jenkinsfile

This file was deleted.

1 change: 1 addition & 0 deletions .ci/linux-direct-sanitizers.jenkinsfile
19 changes: 0 additions & 19 deletions .ci/linux-direct-ubuntu20.04-gcc-debug.jenkinsfile

This file was deleted.

1 change: 1 addition & 0 deletions .ci/linux-direct-ubuntu20.04-gcc-debug.jenkinsfile
19 changes: 0 additions & 19 deletions .ci/linux-direct-ubuntu20.04-gcc-release.jenkinsfile

This file was deleted.

1 change: 1 addition & 0 deletions .ci/linux-direct-ubuntu20.04-gcc-release.jenkinsfile
19 changes: 19 additions & 0 deletions .ci/linux-direct-ubuntu22.04-gcc-debug.jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
node('plain && jammy') {
checkout scm

load '.ci/lib/config-docker.jenkinsfile'
docker.build(
"local:${env.BUILD_TAG}",
'-f .ci/ubuntu22.04.dockerfile .'
).inside("${env.DOCKER_ARGS_COMMON} --security-opt seccomp=${env.WORKSPACE}/scripts/docker_seccomp_aug_2022.json") {
load '.ci/lib/config.jenkinsfile'
load '.ci/lib/config-debug.jenkinsfile'

load '.ci/lib/stage-lint.jenkinsfile'
load '.ci/lib/stage-clean-check-prepare.jenkinsfile'
load '.ci/lib/stage-build-nosgx.jenkinsfile'
load '.ci/lib/stage-test.jenkinsfile'
load '.ci/lib/stage-test-direct.jenkinsfile'
load '.ci/lib/stage-clean-check.jenkinsfile'
}
}
19 changes: 19 additions & 0 deletions .ci/linux-direct-ubuntu22.04-gcc-release.jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
node('plain && jammy') {
checkout scm

load '.ci/lib/config-docker.jenkinsfile'
docker.build(
"local:${env.BUILD_TAG}",
'-f .ci/ubuntu22.04.dockerfile .'
).inside("${env.DOCKER_ARGS_COMMON} --security-opt seccomp=${env.WORKSPACE}/scripts/docker_seccomp_aug_2022.json") {
load '.ci/lib/config.jenkinsfile'
load '.ci/lib/config-release.jenkinsfile'

load '.ci/lib/stage-lint.jenkinsfile'
load '.ci/lib/stage-clean-check-prepare.jenkinsfile'
load '.ci/lib/stage-build-nosgx.jenkinsfile'
load '.ci/lib/stage-test.jenkinsfile'
load '.ci/lib/stage-test-direct.jenkinsfile'
load '.ci/lib/stage-clean-check.jenkinsfile'
}
}
22 changes: 22 additions & 0 deletions .ci/linux-direct-ubuntu22.04-sanitizers.jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
node('plain && jammy') {
checkout scm

load '.ci/lib/config-docker.jenkinsfile'
docker.build(
"local:${env.BUILD_TAG}",
'-f .ci/ubuntu22.04.dockerfile .'
).inside("${env.DOCKER_ARGS_COMMON} --security-opt seccomp=${env.WORKSPACE}/scripts/docker_seccomp_aug_2022.json") {
load '.ci/lib/config.jenkinsfile'
load '.ci/lib/config-clang.jenkinsfile'
load '.ci/lib/config-debug.jenkinsfile'
load '.ci/lib/config-ubsan.jenkinsfile'
load '.ci/lib/config-asan.jenkinsfile'

load '.ci/lib/stage-lint.jenkinsfile'
load '.ci/lib/stage-clean-check-prepare.jenkinsfile'
load '.ci/lib/stage-build-nosgx.jenkinsfile'
load '.ci/lib/stage-test.jenkinsfile'
load '.ci/lib/stage-test-direct.jenkinsfile'
load '.ci/lib/stage-clean-check.jenkinsfile'
}
}
19 changes: 19 additions & 0 deletions .ci/linux-direct-ubuntu24.04-gcc-debug.jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
node('plain && noble') {
checkout scm

load '.ci/lib/config-docker.jenkinsfile'
docker.build(
"local:${env.BUILD_TAG}",
'-f .ci/ubuntu24.04.dockerfile .'
).inside("${env.DOCKER_ARGS_COMMON} --security-opt seccomp=${env.WORKSPACE}/scripts/docker_seccomp_aug_2022.json") {
load '.ci/lib/config.jenkinsfile'
load '.ci/lib/config-debug.jenkinsfile'

load '.ci/lib/stage-lint.jenkinsfile'
load '.ci/lib/stage-clean-check-prepare.jenkinsfile'
load '.ci/lib/stage-build-nosgx.jenkinsfile'
load '.ci/lib/stage-test.jenkinsfile'
load '.ci/lib/stage-test-direct.jenkinsfile'
load '.ci/lib/stage-clean-check.jenkinsfile'
}
}
19 changes: 19 additions & 0 deletions .ci/linux-direct-ubuntu24.04-gcc-release.jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
node('plain && noble') {
checkout scm

load '.ci/lib/config-docker.jenkinsfile'
docker.build(
"local:${env.BUILD_TAG}",
'-f .ci/ubuntu24.04.dockerfile .'
).inside("${env.DOCKER_ARGS_COMMON} --security-opt seccomp=${env.WORKSPACE}/scripts/docker_seccomp_aug_2022.json") {
load '.ci/lib/config.jenkinsfile'
load '.ci/lib/config-release.jenkinsfile'

load '.ci/lib/stage-lint.jenkinsfile'
load '.ci/lib/stage-clean-check-prepare.jenkinsfile'
load '.ci/lib/stage-build-nosgx.jenkinsfile'
load '.ci/lib/stage-test.jenkinsfile'
load '.ci/lib/stage-test-direct.jenkinsfile'
load '.ci/lib/stage-clean-check.jenkinsfile'
}
}
22 changes: 22 additions & 0 deletions .ci/linux-direct-ubuntu24.04-sanitizers.jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
node('plain && noble') {
checkout scm

load '.ci/lib/config-docker.jenkinsfile'
docker.build(
"local:${env.BUILD_TAG}",
'-f .ci/ubuntu24.04.dockerfile .'
).inside("${env.DOCKER_ARGS_COMMON} --security-opt seccomp=${env.WORKSPACE}/scripts/docker_seccomp_aug_2022.json") {
load '.ci/lib/config.jenkinsfile'
load '.ci/lib/config-clang.jenkinsfile'
load '.ci/lib/config-debug.jenkinsfile'
load '.ci/lib/config-ubsan.jenkinsfile'
load '.ci/lib/config-asan.jenkinsfile'

load '.ci/lib/stage-lint.jenkinsfile'
load '.ci/lib/stage-clean-check-prepare.jenkinsfile'
load '.ci/lib/stage-build-nosgx.jenkinsfile'
load '.ci/lib/stage-test.jenkinsfile'
load '.ci/lib/stage-test-direct.jenkinsfile'
load '.ci/lib/stage-clean-check.jenkinsfile'
}
}
30 changes: 0 additions & 30 deletions .ci/linux-sgx-edmm.jenkinsfile

This file was deleted.

1 change: 1 addition & 0 deletions .ci/linux-sgx-edmm.jenkinsfile
25 changes: 0 additions & 25 deletions .ci/linux-sgx-sanitizers.jenkinsfile

This file was deleted.

1 change: 1 addition & 0 deletions .ci/linux-sgx-sanitizers.jenkinsfile
21 changes: 0 additions & 21 deletions .ci/linux-sgx-ubuntu20.04-gcc-release-apps.jenkinsfile

This file was deleted.

1 change: 1 addition & 0 deletions .ci/linux-sgx-ubuntu20.04-gcc-release-apps.jenkinsfile
Loading