Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
810f52e
limit the field width of 'scanf'
Daz-3ux Mar 15, 2023
e9cceed
amdgpu: remove exec permissions on source files
rst0git Sep 26, 2024
9463371
Makefile.config: set CR_PLUGIN_DEFAULT variable
rst0git Sep 26, 2024
a1db762
images: Add protobuf definition for pidfd
bsach64 Jun 13, 2024
99ec620
criu: Support C/R of pidfds
bsach64 Jun 13, 2024
f9fdfca
zdtm: Check pidfd fdinfo entry is consistent
bsach64 Jul 9, 2024
487853f
zdtm: Check pidfd can send signal after C/R
bsach64 Jul 9, 2024
032a822
zdtm: Check pidfd can kill descendant processes
bsach64 Jul 8, 2024
643e160
zdtm: Check dead pidfd is restored correctly
bsach64 Jul 24, 2024
98c49d0
zdtm: Check fd from pidfd_getfd is C/Red correctly
bsach64 Aug 16, 2024
b88d40e
zdtm: Check pidfd for thread is valid after C/R
bsach64 Aug 26, 2024
0e78014
make/lint: use 'ruff check <path>'
rst0git Oct 14, 2024
87b5ac9
pycriu: fix lint errors
rst0git Oct 14, 2024
adf2c5b
images/inventory: add field for enabled plugins
rst0git Oct 4, 2024
e6ce8f4
zdtm: add inventory test plugins
rst0git Oct 14, 2024
d8be857
pidfd: block SIGCHLD during tmp process creation
bsach64 Oct 9, 2024
0d2d23b
include: add common header files for riscv64
ancientmodern Aug 1, 2023
7fd95a5
compel: add riscv64 support
ancientmodern Aug 1, 2023
1a42f63
images: add riscv64 core image
ancientmodern Aug 1, 2023
35b3077
criu: add riscv64 support to parasite and restorer
ancientmodern Aug 1, 2023
6636782
zdtm: add riscv64 support
ancientmodern Aug 1, 2023
9863769
ci: add workflow for riscv64
ancientmodern Aug 1, 2023
f6baf81
include: don't use GCC's __builtin_ffs on riscv64
Cryolitia Oct 13, 2024
f5dec05
uffd: Disable image deduplication after fork
Oct 12, 2024
dcc3b49
criu: Initialize util before service worker starts
fntlnz Oct 18, 2024
216d804
seize: fix error handling for check_freezer_cgroup
rst0git Nov 4, 2024
f8f0e1d
seize: enable support for frozen containers
rst0git Nov 4, 2024
31b38d6
ci: test interrupt-only mode with frozen cgroup
rst0git Nov 8, 2024
26dcc21
cuda: fix check for GPU device availability
rst0git Nov 2, 2024
6f0ec7d
pidfd: one process creates a helper and opens all fds to it
avagin Nov 6, 2024
223a8f1
zdtm: Check many processes with common dead pidfd
bsach64 Nov 6, 2024
d6e5e76
cuda: enable checkpoint support for paused tasks
rst0git Nov 12, 2024
dd6b580
test: add get-state to mocked cuda-checkpoint tool
rst0git Nov 12, 2024
7a8ed9e
compel: fix gitignore and remove autogenerated code
mihalicyn Nov 17, 2024
1452c76
compel/arch/riscv64: properly implement compel_task_size()
mihalicyn Nov 17, 2024
beff27e
pidfd: add missing include
rst0git Nov 23, 2024
058572e
vdso: handle vvar_vclock vma-s
avagin Dec 5, 2024
6d1da61
cuda: Fix return value from CHECKPOINT_DEVICES hook so that dump's fa…
jesus-ramos Dec 10, 2024
d46cbf7
test/java: increate the ghost file limit
avagin Dec 7, 2024
32d5a76
test: run scm06 in the ns and uns flavors
avagin Dec 13, 2024
f314ca5
criu/seize.c: clang-format it
kolyshkin Dec 17, 2024
9c3c095
freeze_processes: fix logic
kolyshkin Dec 13, 2024
7c66617
freeze_processes: implement kludges for cgroup v1
kolyshkin Dec 13, 2024
6991ea1
cr: Task CapAmb support
liuchao173 Dec 19, 2024
d4d3937
zdtm: Check CapAmb is restored correctly after C/R
liuchao173 Jan 3, 2025
ea2ddb8
util: added cleanup_file attribute.
adrianreber Jan 16, 2025
27a5b9a
net: redirect nftables stdout and stderr to CRIU's log file
adrianreber Dec 17, 2024
ca90d8e
seize: Adjust the position of the log message
yummypeng Dec 19, 2024
10ffad2
files-reg: fix buffer overflow on aarch64
adrianreber Jan 21, 2025
637682d
test: fix cmdlinenv00 on aarch64
adrianreber Jan 20, 2025
5eee7a6
timer: Refine itimer_armed logic and improve timer value handling
hckuo Jan 7, 2025
b7cbd2c
test/zdtm: add a new test to check non-periodic timers
hckuo Jan 21, 2025
b3869c9
ci: two check-commits.yml changes
adrianreber Jan 24, 2025
d165b94
criu: use libuuid for criu_run_id generation
adrianreber Jan 23, 2025
5513a33
net: remember the name of the lock chain (nftables)
adrianreber Jan 23, 2025
59b022d
cuda: prevent task lockup on timeout error
rst0git Dec 14, 2024
dcd8808
seize: use separate checkpoint_devices function
rst0git Dec 21, 2024
fc1dbc4
cuda: disable CUDA plugin for pre-dump
rst0git Jan 15, 2025
343e731
lib: do not set protobuf has_* field too early
adrianreber Dec 19, 2024
7eaf433
ci: handle results from latest codespell
adrianreber Jan 29, 2025
7f35e46
net/sysctl: put common multiplier outside the brackets
Snorch Jan 16, 2025
f38e588
net/sysctl: c/r ipv4/ping_group_range value
Snorch Jan 16, 2025
1c9fd58
zdtm/netns_sub_sysctl: add ipv4/ping_group_range sysctl check
Snorch Jan 16, 2025
237ac72
vdso: switch from DT_HASH to DT_GNU_HASH (aarch64)
adrianreber Jan 22, 2025
d4585a0
Makefile: move codespell options to .codespellrc
kolyshkin Jan 31, 2025
48d0910
ci: install gawk for Fedora based tests
adrianreber Feb 6, 2025
b0f0d0f
kerndat: run iptables with -n to not resolve service names
avagin Feb 20, 2025
e71d53c
criu: fix internal representation of cgroups hierarchical structure
dschervov Feb 5, 2025
6f94888
coredump: enable coredump generation on aarch64
ss141309 Jan 22, 2025
da7f5b7
coredump: enable coredump generation on arm
ss141309 Feb 17, 2025
72ab270
scripts/uninstall_module: import signal module
rst0git Mar 3, 2025
3025ee1
ci: update to latest actions for codeql CI job
adrianreber Feb 6, 2025
4b09951
lsm: use the user provided lsm label
adrianreber Feb 6, 2025
e5fe6cc
vdso: Fixes in DT_GNU_HASH handling
adrianreber Feb 7, 2025
5b4c819
pstree: print clone flags in error message
hanwen-flow Mar 10, 2025
8d5cef5
restorer: Add a lock around cgroupd communication.
hanwen-flow Mar 13, 2025
1cf8040
arm64: C/R PAC keys
avagin Mar 3, 2025
ce6bb4f
test/zdtm: check that PAC keys are C/R-ed
avagin Mar 3, 2025
12bb0de
vdso: correct data types for ELF hash table sizes
avagin Mar 12, 2025
327685c
zdtm/vdso02: unmap vvar_vclock mappings
avagin Mar 16, 2025
3eccf09
make: allow setting the default network locking backend
adrianreber Feb 4, 2025
c9d3bfe
docs: update INSTALL.md with a section about building CRIU
adrianreber Feb 4, 2025
1f326df
docs: mark make commands with same format as elsewhere
adrianreber Feb 4, 2025
26068cf
test: others/rpc do not use nftables locking backend
adrianreber Feb 6, 2025
6d8898c
test: print out logs if tests fail
adrianreber Feb 6, 2025
5d87fac
ci: do not run tests requiring iptables if it is missing
adrianreber Feb 5, 2025
d18912f
ci: run tests on a nftables only system
adrianreber Feb 4, 2025
25f7185
namespace: skip cleaning up the uid/gid map in error cases
minhbq-99 Mar 19, 2025
2a428d2
criu: fix log_keep_err signal deadlock
ivpravdin Mar 22, 2025
1cab647
ci: try GitHub arm runners
adrianreber Jan 18, 2025
4249c11
criu: Do not print failed message when there is no late stage hook
yummypeng Apr 2, 2025
24ea8be
compel: fix the stack test
avagin Apr 2, 2025
5cea5b6
restore: use the new kernel interface to restore timers
avagin Mar 27, 2025
3284a83
cuda: use pr_perror for libc function errors
rst0git Apr 10, 2025
bc3e4e8
cuda: remove redundant goto label
rst0git Apr 10, 2025
5d5a1e1
aarch64: fix build with missing NT_ARM_PAC_ENABLED_KEYS
adrianreber Apr 9, 2025
622b4ed
s390: Fix FP reg restore after parasite code runs
ymanton Jan 23, 2024
75eaa65
net: nftables: avoid restore failure if the CRIU nft table already exist
avagin Apr 21, 2025
799504d
aarch64/crtools: fix define for missing constants
rst0git Apr 14, 2025
6a91ad8
mount: restore root mount flags
avagin Apr 2, 2025
7362ad2
zdtm/lib: add "bind" desc option
Snorch Apr 2, 2025
69f990d
zdtm: add mnt_ro_root test
Snorch Apr 2, 2025
0e9d076
sk-inet: add message how to disable MPTCP in Go
rst0git May 7, 2025
f6c14ee
kerndat: check that hardware breakpoints work
avagin May 6, 2025
69500a9
make: remove checks and warnings for bsd strlcat and strlcpy
fntlnz May 14, 2025
c61329b
seize: fix pause devices for frozen containers
rst0git May 11, 2025
3d9ef35
sk-inet: add MPTCP definition
rst0git May 16, 2025
8902353
criu: Introduce a new device plugin hook for restore
wweewrwer Nov 29, 2024
4ba0580
cr-restore: Move `cr_plugin_init` after `fdstore_init`
wweewrwer Nov 29, 2024
0a274b6
pstree: Add `has_children` function
wweewrwer Dec 10, 2024
e4c151e
plugins/amdgpu: Add socket operations
wweewrwer Dec 10, 2024
bfd9aa2
plugins/amdgpu: Add parallel restore command
wweewrwer Dec 10, 2024
bfb4a3d
plugins/amdgpu: Implement parallel restore
wweewrwer Jan 15, 2025
7c4bcdb
plugins/amdgpu: Update `README.md` and `criu-amdgpu-plugin.txt`
wweewrwer Dec 10, 2024
2da6a6f
zdtm.py: add an option to change pycriu import path
Snorch Apr 30, 2025
0d15e2f
zdtm: fix check for criu binary
Snorch May 19, 2025
3a3a3f0
image: use `protoc` instead of `protoc-c`
avagin May 16, 2025
777c0a7
criu/proc_parse: support MADV_WIPEONFORK/VM_WIPEONFORK
mihalicyn May 4, 2025
237f099
test/zdtm/static/maps02: add MADV_WIPEONFORK testcase
mihalicyn May 4, 2025
708228f
criu/proc_parse: support MAP_DROPPABLE mappings
mihalicyn May 4, 2025
ae9d0d0
pycriu/images/pb2dict: add MAP_DROPPABLE flag
mihalicyn May 4, 2025
27653ca
test/zdtm/static/maps02: add MAP_DROPPABLE testcase
mihalicyn May 4, 2025
0dd7c5a
test/zdtm/static: add maps11 test for MAP_DROPPABLE/MADV_WIPEONFORK
mihalicyn May 4, 2025
fd353fd
feat: introduce Nix flake
snprajwal Apr 14, 2025
3cbb864
crtools: simplify check for cpuinfo subcommands
lianakoleva Mar 26, 2025
6eb5bb0
crtools: do a few minor cleanups
avagin May 20, 2025
9622b90
cpuinfo: show error when image is missing
rst0git May 23, 2025
ca32bfb
test/zdtm: remove unused compiler argument
avagin Jun 9, 2025
84991f1
rpc/log: return first error always
ivpravdin May 7, 2025
765f822
ipc/sysctl: fix CTL_FLAGS_IPC_EACCES_SKIP by making it a flag
Snorch Jun 8, 2025
d83f5b4
net/sysctl: fix missprint in an error message
Snorch Jun 8, 2025
0f94256
net/sysctl: fix broken ipv4_sysctls_op
Snorch Jun 10, 2025
c3bc8cc
net/sysctl: make ipv4/ping_group_range work in user namespaces
Snorch Jun 8, 2025
80dcaf1
zdtm/netns_sub_sysctl: skip unsupported sysctls
avagin Jun 10, 2025
52fd3d6
sk-inet: Add support for checkpoint/restore of ICMP sockets
ss141309 Dec 26, 2024
b24f6e2
test: add static tests for ICMP socket
ss141309 Dec 28, 2024
f8708ee
mount: Fix trailing / when a file is bind-mounted
eagleonhill Jun 13, 2025
1bfa74d
zdtm: Add ztatic/mnt_ext_file_bind_auto test
Snorch Jun 20, 2025
68f92b5
images: remove symlink for descriptor.proto
rst0git Jul 11, 2025
3b242c9
images/Makefile: fix using $(Q)
kolyshkin Jul 23, 2025
e9521d8
Keep images/google/protobuf directory
kolyshkin Jul 23, 2025
59970a6
images/Makefile: use msg-gen
kolyshkin Jul 23, 2025
04012ea
compel: flush caches after parasite injection
specht478 Jul 16, 2025
6f0e4e8
restore: flush caches during restore
specht478 Jul 16, 2025
27eb6c5
mount-v2: enter the mount namesapce to propagation properties
avagin Jul 25, 2025
e852a76
vagrant: fix 'qemu' install
rst0git Jul 25, 2025
f7d70b1
vagrant: update image to fedora 42
rst0git Jul 25, 2025
116e56b
vagrant: fix tar including archive in itself
rst0git Jul 25, 2025
9d116b6
zdtm/socket-tcp-closing: fill socket buffers effectivly
avagin Aug 10, 2025
90cbfdf
CI: Consolidate arm64 tests on GitHub runners
avagin Aug 10, 2025
91847a6
criu/include/mman: define MADV_GUARD_INSTALL
mihalicyn Apr 6, 2025
54c078e
kerndat: add madvise(MADV_GUARD_INSTALL) feature-detection
mihalicyn Apr 19, 2025
66b46e5
kerndat: add pagemap_scan_guard_pages feature check logic
mihalicyn Apr 19, 2025
66251ba
cr-dump: warn if MADV_GUARD is supported but isn't shown in pagemap
mihalicyn Apr 19, 2025
0852cf9
criu/pagemap-cache: pagescan: look for PAGE_IS_GUARD pages
mihalicyn Apr 6, 2025
53d3e0c
criu/mem: refactor should_dump_page helper
mihalicyn May 1, 2025
6ca4d6f
criu/mem: dump: skip MADV_GUARD pages content dump
mihalicyn Apr 6, 2025
556d1c4
criu/{mem, vdso, cr-restore}: introduce VMA_AREA_GUARD fake VMAs
mihalicyn Aug 4, 2025
f091422
criu/pie/restorer: add madvise(MADV_GUARD_INSTALL) restore logic
mihalicyn Apr 6, 2025
8619ea2
criu/mem: dump: note MADV_GUARD pages as VMA_AREA_GUARD VMAs
mihalicyn Aug 4, 2025
d0f5da9
test/zdtm/static/maps12: add madv guards test
mihalicyn Apr 20, 2025
17a5c6e
ci/vagrant: install vanilla kernel for Fedora Rawhide test
mihalicyn Aug 10, 2025
d8c3492
make: Disable branch-protection for PIE code on ARM64
avagin Aug 15, 2025
5c2f02b
test/zdtm/static/maps12: fix pointer-to-int cast
rst0git Aug 16, 2025
2ea697b
zdtm/static/sock_opts00: use unix socket to test SO_PASSCRED and SO_P…
Aug 20, 2025
0c679d9
criu/sockets: Restrict SO_PASSCRED and SO_PASSSEC to supported families
Aug 20, 2025
2c0b716
ci: avoid Docker 28 due to regression
avagin Sep 8, 2025
4cd4a6b
zdtm: stop importing junit_xml
avagin Sep 15, 2025
1169917
pagemap: prevent integer overflow in pagemap_len
fntlnz Sep 18, 2025
dcd9df7
compel/mips: Relax ELF magic check to support MIPS libraries
Sep 17, 2025
cbf9063
lsm: use attr/apparmor/current to get apparmor label
filip-hejsek Sep 13, 2025
0ac0a70
files: fork helpers without CLONE_FILES | CLONE_FS
avagin Sep 15, 2025
f6552d5
pagemap: change PagemapEntry.nr_pages to uint64 to support huge mappings
avagin Sep 18, 2025
8b804bc
pagemap: use unsigned long for page counts
avagin Sep 18, 2025
6df6beb
pagemap: print page regions in the format `start - end`
avagin Sep 19, 2025
42e7ca4
vdso: relax EI_OSABI check to support linux in ELF header
Sep 22, 2025
31a58f6
zdtm: Remove junit_xml leftovers
avagin Sep 22, 2025
1a3be78
docs: add developer overviews for AI assistants
avagin Sep 19, 2025
4c250c1
ci: use package-manager dependency install scripts
shashank-mahadasyam Sep 17, 2025
71e51b5
Remove travis-ci leftovers
rst0git Sep 26, 2025
0ef7a1e
ci/java: update base image from focal to jammy
shashank-mahadasyam Sep 26, 2025
de30e24
ci: consolidate aarch64 tests on GitHub runners
rst0git Sep 27, 2025
6549697
contributing: update links to mailing list
rst0git Oct 1, 2025
cc7f457
page-xfer: fix incompatible pointer type on armv7
rst0git Oct 2, 2025
b3c8090
make: prevent redefinition of 'struct sigcontext'
peppergrayxyz Sep 30, 2025
df8c163
ci: run alpine tests on arm64
kolyshkin Oct 2, 2025
849ed72
zdtm: add sk-unix-restore-fs-share test
rst0git Oct 3, 2025
b2bed94
vma: introduce VMA_AREA_UPROBES flag
shashank-mahadasyam Aug 18, 2025
fc8ed5b
criu-coredump: add VMA_AREA_UPROBES flag
shashank-mahadasyam Aug 18, 2025
beba269
crit: add VMA_AREA_UPROBES flag
shashank-mahadasyam Aug 18, 2025
6c25e56
vma: introduce --allow-uprobes option
shashank-mahadasyam Aug 17, 2025
61dddfe
docs: add documentation for --allow-uprobes
shashank-mahadasyam Aug 17, 2025
f0e6b6d
crtools: remove "consult documentation"
shashank-mahadasyam Aug 20, 2025
08fa6c3
zdtm: add a test for --allow-uprobes option
shashank-mahadasyam Aug 22, 2025
003fe32
cr-service: refactor rpc config parsing
rst0git Sep 10, 2025
3dde833
test/others/rpc: parse action-script via config
rst0git Sep 3, 2025
c14c2ae
test/others/rpc: show logs on error
rst0git Sep 3, 2025
4faffd1
cr-restore: Fix log message typo
tohanov Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 4 additions & 33 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ task:
nested_virtualization: true

setup_script: |
scripts/ci/apt-install make gcc pkg-config git perl-modules iproute2 kmod wget cpu-checker
contrib/apt-install make gcc pkg-config git perl-modules iproute2 kmod wget cpu-checker
sudo kvm-ok
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
build_script: |
make -C scripts/ci vagrant-fedora-no-vdso

Expand All @@ -33,10 +32,9 @@ task:
memory: 8G

setup_script: |
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
dnf config-manager --set-enabled crb # Same as CentOS 8 powertools
dnf -y install epel-release epel-next-release
dnf -y install --allowerasing asciidoc gcc git gnutls-devel libaio-devel libasan libcap-devel libnet-devel libnl3-devel libbsd-devel libselinux-devel make protobuf-c-devel protobuf-devel python-devel python-PyYAML python-protobuf python-junit_xml python3-importlib-metadata xmlto libdrm-devel
contrib/dependencies/dnf-packages.sh
# The image has a too old version of nettle which does not work with gnutls.
# Just upgrade to the latest to make the error go away.
dnf -y upgrade nettle nettle-devel
Expand Down Expand Up @@ -65,9 +63,8 @@ task:
nested_virtualization: true

setup_script: |
scripts/ci/apt-install make gcc pkg-config git perl-modules iproute2 kmod wget cpu-checker
contrib/apt-install make gcc pkg-config git perl-modules iproute2 kmod wget cpu-checker
sudo kvm-ok
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
build_script: |
make -C scripts/ci vagrant-fedora-rawhide

Expand All @@ -86,36 +83,11 @@ task:
nested_virtualization: true

setup_script: |
scripts/ci/apt-install make gcc pkg-config git perl-modules iproute2 kmod wget cpu-checker
contrib/apt-install make gcc pkg-config git perl-modules iproute2 kmod wget cpu-checker
sudo kvm-ok
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
build_script: |
make -C scripts/ci vagrant-fedora-non-root

task:
name: aarch64 build GCC (native)
arm_container:
image: docker.io/library/ubuntu:jammy
cpu: 4
memory: 4G
script: uname -a
build_script: |
scripts/ci/apt-install make
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
make -C scripts/ci local

task:
name: aarch64 build CLANG (native)
arm_container:
image: docker.io/library/ubuntu:jammy
cpu: 4
memory: 4G
script: uname -a
build_script: |
scripts/ci/apt-install make
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
make -C scripts/ci local CLANG=1

task:
name: aarch64 Fedora Rawhide
arm_container:
Expand All @@ -125,6 +97,5 @@ task:
script: uname -a
build_script: |
scripts/ci/prepare-for-fedora-rawhide.sh
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
make -C scripts/ci/ local CC=gcc SKIP_CI_PREP=1 SKIP_CI_TEST=1 CD_TO_TOP=1
make -C test/zdtm -j 4
4 changes: 2 additions & 2 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[codespell]
skip = ./.git,./test/pki
ignore-words-list = creat,fpr,fle,ue,bord,parms,nd,te,testng,inh,wronly,renderd,bui,clen
skip = ./.git,./test/pki,./tags
ignore-words-list = creat,fpr,fle,ue,bord,parms,nd,te,testng,inh,wronly,renderd,bui,clen,sems
Original file line number Diff line number Diff line change
@@ -1,43 +1,25 @@
name: Actuated aarch64 test
name: aarch64 test

on: [push, pull_request]

# Cancel any preceding run on the pull request.
concurrency:
group: actuated-test-${{ github.event.pull_request.number || github.ref }}
group: aarch64-test-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}

jobs:
build:
# Actuated runners are not available in all repositories.
if: ${{ github.repository == 'checkpoint-restore/criu' }}
# The memory size and the number of CPUs can be freely selected.
# 3GB and 4 CPUs seems to be enough according to the result from 'vmmeter'.
runs-on: actuated-arm64-4cpu-3gb
strategy:
matrix:
os: [ubuntu-24.04-arm, ubuntu-22.04-arm]
target: [GCC=1, CLANG=1]

steps:
# https://gist.github.com/alexellis/1f33e581c75e11e161fe613c46180771#file-metering-gha-md
# vmmeter start
- name: Prepare arkade
uses: alexellis/arkade-get@master
with:
crane: latest
print-summary: false

- name: Install vmmeter
run: |
crane export --platform linux/arm64 ghcr.io/openfaasltd/vmmeter:latest | sudo tar -xvf - -C /usr/local/bin

- name: Run vmmeter
uses: self-actuated/vmmeter-action@master
# vmmeter end
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Run Tests ${{ matrix.target }}
# Following tests are failing on the actuated VMs:
- name: Run Tests ${{ matrix.target }} on ${{ matrix.os }}
# Following tests are failing on the VMs:
# ./change_mnt_context --pidfile=change_mnt_context.pid --outfile=change_mnt_context.out
# 45: ERR: change_mnt_context.c:23: mount (errno = 22 (Invalid argument))
#
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/alpine-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ concurrency:

jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-22.04-arm]
target: [GCC=1, CLANG=1]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
# Check if pull request does not have label "not-selfcontained-ok"
if: "!contains(github.event.pull_request.labels.*.name, 'not-selfcontained-ok')"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Needed to rebase against the base branch
fetch-depth: 0
# Checkout pull request HEAD commit instead of merge commit
ref: ${{ github.event.pull_request.head.sha }}
- name: Install dependencies
run: sudo apt-get install -y libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf libnl-3-dev libnet-dev libcap-dev
run: sudo contrib/apt-install libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf libnl-3-dev libnet-dev libcap-dev uuid-dev
- name: Configure git user details
run: |
git config --global user.email "[email protected]"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Packages (cpp)
if: ${{ matrix.language == 'cpp' }}
run: |
sudo scripts/ci/apt-install protobuf-c-compiler libprotobuf-c-dev libprotobuf-dev build-essential libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf libnet-dev pkg-config libnl-3-dev libbsd0 libbsd-dev iproute2 libcap-dev libaio-dev libbsd-dev python3-yaml libnl-route-3-dev gnutls-dev
sudo contrib/apt-install protobuf-c-compiler libprotobuf-c-dev libprotobuf-dev build-essential libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf libnet-dev pkg-config libnl-3-dev libbsd0 libbsd-dev iproute2 libcap-dev libaio-dev libbsd-dev python3-yaml libnl-route-3-dev gnutls-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"
2 changes: 1 addition & 1 deletion .github/workflows/cross-compile-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [armv7-stable-cross, aarch64-stable-cross, ppc64-stable-cross, mips64el-stable-cross]
target: [armv7-stable-cross, aarch64-stable-cross, ppc64-stable-cross, mips64el-stable-cross, riscv64-stable-cross]
branches: [criu-dev, master]

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
aarch64-stable-cross,
ppc64-stable-cross,
mips64el-stable-cross,
riscv64-stable-cross,
]
include:
- experimental: true
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/nftables-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Nftables bases testing

on: [push, pull_request]

# Cancel any preceding run on the pull request.
concurrency:
group: nftables-test-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}

jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Remove iptables
run: sudo apt remove -y iptables
- name: Install libnftables-dev
run: sudo contrib/apt-install libnftables-dev
- name: chmod 755 /home/runner
# CRIU's tests are sometimes running as some random user and need
# to be able to access the test files.
run: sudo chmod 755 /home/runner
- name: Build with nftables network locking backend
run: sudo make -C scripts/ci local COMPILE_FLAGS="NETWORK_LOCK_DEFAULT=NETWORK_LOCK_NFTABLES"
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ compel/compel
compel/compel-host-bin
images/*.c
images/*.h
images/google/protobuf/*.c
images/google/protobuf/*.h
.gitid
criu/criu
criu/unittest/unittest
Expand Down
5 changes: 0 additions & 5 deletions .lgtm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,3 @@ extraction:
- "python3-yaml"
- "libnl-route-3-dev"
- "gnutls-dev"
configure:
command:
- "ls -laR images/google"
- "ln -s /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto"
- "ls -laR images/google"
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions CLAUDE.md
Loading