Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
dc2ab6c
Revert "ci: install and load kernel module for passkey testing"
ikerexxe May 14, 2026
f967370
ci: install missing `libssh-devel` dependency
ikerexxe Jun 11, 2026
a76cf53
tests: vfido for `test_passkey__register_sssctl()`
ikerexxe Feb 24, 2026
4656e0d
tests: vfido for `test_passkey__register_ipa()`
ikerexxe Feb 26, 2026
5dafe2a
tests: vfido for `test_passkey__su_user()`
ikerexxe Feb 26, 2026
89a1896
tests: vfido for `test_passkey__su_user_with_failed_pin()`
ikerexxe Mar 5, 2026
ad1ad2f
tests: vfido for `test_passkey__su_user_with_incorrect_mapping()`
ikerexxe Mar 5, 2026
67f5f06
tests: vfido for `test_passkey__su_user_when_server_is_not_resolvable()`
ikerexxe Mar 5, 2026
591a798
tests: vfido for `test_passkey__su_user_when_offline()`
ikerexxe Mar 5, 2026
18e70ee
tests: vfido for `test_passkey__lookup_user_from_cache()`
ikerexxe Mar 5, 2026
870b65c
tests: vfido for `test_passkey__su_user_with_multiple_keys()`
ikerexxe Mar 5, 2026
b9335e5
tests: vfido for `test_passkey__su_user_same_key_for_other_users()`
ikerexxe Mar 5, 2026
9bcba1f
tests: vfido for `test_passkey__check_passkey_mapping_token_as_ssh_ke…
ikerexxe Mar 5, 2026
2ca96d5
tests: vfido for `test_passkey__su_user_when_add_with_ssh_key_and_map…
ikerexxe Mar 6, 2026
eace759
tests: vfido for `test_passkey__su_fips_fido_key()`
ikerexxe Mar 5, 2026
82153ba
tests: vfido for `test_passkey__check_tgt()`
ikerexxe Mar 5, 2026
3364bee
tests: vfido for `test_passkey__ipa_server_offline()`
ikerexxe Mar 5, 2026
4938bd5
tests: vfido for `test_passkey__su_with_12_mappings()`
ikerexxe Mar 5, 2026
8d2cc50
tests: vfido for `test_passkey__su_no_pin_set()`
ikerexxe Mar 5, 2026
8e581dd
tests: vfido for `test_passkey__prompt_options()`
ikerexxe Mar 5, 2026
90a8ce3
tests: vfido for `test_passkey__su_fallback_to_password()`
ikerexxe Mar 2, 2026
ef87c50
tests: mark intermittent passkey tests as flaky
ikerexxe May 27, 2026
e059f99
tests: remove unused passkey fixture
ikerexxe Mar 9, 2026
fc59c0a
tests: remove references to umockdev in comments
ikerexxe Mar 9, 2026
9283921
tests: remove unused umockdev recordings
ikerexxe Mar 10, 2026
b5b8136
tests: fix E713 linting errors in passkey tests
ikerexxe May 25, 2026
40dcc0c
Debug: remove after testing
ikerexxe Jun 11, 2026
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
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,6 @@ jobs:
with:
path: sssd

- name: Install and load kernel module for passkey testing
shell: bash
run: |
set -ex -o pipefail

sudo apt-get update
sudo apt-get install -y linux-modules-extra-$(uname -r)

sudo modprobe vhci-hcd

- name: Setup containers
uses: SSSD/sssd-ci-containers/actions/setup@master
with:
Expand Down
47 changes: 46 additions & 1 deletion plans/passkey.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ prepare:
- expect
- gcc
- git
- libssh-devel
- openldap-devel
- podman
- podman-compose
Expand Down Expand Up @@ -221,15 +222,59 @@ execute:
how: tmt
duration: 45m
script: |
# Function to check and display system resources
check_resources() {
echo "=== SYSTEM RESOURCES CHECK: $1 ==="
echo "Timestamp: $(date)"
echo "Memory usage:"
free -h
echo ""
echo "CPU load average:"
uptime
echo ""
echo "Disk usage:"
df -h /tmp /var/tmp
echo ""
echo "Process count:"
ps aux | wc -l
echo ""
echo "File descriptors (current process):"
ls /proc/$$/fd | wc -l
echo ""
echo "CPU information:"
nproc
echo ""
echo "Memory info from /proc/meminfo:"
grep -E '^(MemTotal|MemFree|MemAvailable|Buffers|Cached):' /proc/meminfo
echo ""
echo "System limits:"
ulimit -a | grep -E '(open files|max user processes|virtual memory)'
echo "=== END RESOURCES CHECK ==="
echo ""
}

# Check resources before test execution
check_resources "BEFORE TESTS"

mkdir -p /tmp/artifacts
cd /tmp/sssd/src/tests/system

# Run the tests
pytest --durations=0 \
--color=yes \
--show-capture=no \
--mh-config=mhc.yaml \
--mh-artifacts-dir=/tmp/artifacts \
--mh-collect-logs=always \
-vvv tests/test_passkey.py

PYTEST_EXIT_CODE=$?

# Check resources after test execution
check_resources "AFTER TESTS"

echo "Pytest exit code: $PYTEST_EXIT_CODE"
exit $PYTEST_EXIT_CODE

finish:
- name: Copy artifacts
how: shell
Expand Down
68 changes: 0 additions & 68 deletions src/tests/system/data/test_passkey/readme.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading