KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710 2025-09-26 09:22:33 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh 2025-09-26 09:22:33 make -j36 -C ../../../tools/gpio make: Entering directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' mkdir -p include/linux 2>&1 || true ln -sf /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio/../../include/uapi/linux/gpio.h include/linux/gpio.h make[1]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' make[1]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' CC gpio-utils.o CC gpio-watch.o LD gpio-watch-in.o make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' LINK gpio-watch LD gpio-utils-in.o make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' make[1]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' make[1]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' make[1]: Entering directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' CC lsgpio.o CC gpio-hammer.o CC gpio-event-mon.o LD lsgpio-in.o LD gpio-hammer-in.o make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' LINK lsgpio make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' LINK gpio-hammer LD gpio-event-mon-in.o make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' LINK gpio-event-mon make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-b31c68fd851e74526ad963362ea205eb97b9a710/tools/gpio' 2025-09-26 09:22:34 make -j36 TARGETS=gpio run_tests CC gpio-mockup-cdev CC gpio-chip-info CC gpio-line-name TAP version 13 1..3 # timeout set to 300 # selftests: gpio: gpio-mockup.sh # 1. Module load tests # 1.1. dynamic allocation of gpio # 2. Module load error tests # 2.1 no lines defined # GPIO gpio-mockup test PASS ok 1 selftests: gpio: gpio-mockup.sh # timeout set to 300 # selftests: gpio: gpio-sim.sh # trap: SIGTERM: bad trap # 1. chip_name and dev_name attributes # 1.1. Chip name is communicated to user # 1.2. chip_name returns 'none' if the chip is still pending # 1.3. Device name is communicated to user # 2. Creating and configuring simulated chips # 2.1. Default number of lines is 1 # 2.2. Number of lines can be specified # 2.3. Label can be set # 2.4. Label can be left empty # 2.5. Line names can be configured # 2.6. Line config can remain unused if offset is greater than number of lines # 2.7. Line configfs directory names are sanitized # 2.8. Multiple chips can be created # 2.9. Can't modify settings when chip is live # 2.10. Can't create line items when chip is live # 2.11. Probe errors are propagated to user-space # 2.12. Cannot enable a chip without any GPIO banks # 2.13. Duplicate chip labels are not allowed # 2.14. Lines can be hogged # 3. Controlling simulated chips # 3.1. Pull can be set over sysfs # 3.2. Pull can be read from sysfs # 3.3. Incorrect input in sysfs is rejected # 3.4. Can't write to value # 4. Simulated GPIO chips are functional # 4.1. Values can be read from sysfs # 4.2. Bias settings work correctly # GPIO gpio-sim test PASS ok 2 selftests: gpio: gpio-sim.sh # timeout set to 300 # selftests: gpio: gpio-aggregator.sh # trap: SIGTERM: bad trap # 1. GPIO aggregator creation/deletion # 1.1. Creation/deletion via configfs # 1.1.1. Minimum creation/deletion # 1.1.2. Complex creation/deletion # 1.1.3. Can't instantiate a chip without any line # 1.1.4. Can't instantiate a chip with invalid configuration # 1.1.5. Can't instantiate a chip asynchronously via deferred probe # 1.1.6. Can't instantiate a chip with _sysfs prefix # 1.2. Creation/deletion via sysfs # 1.2.1. Minimum creation/deletion # 1.2.2. Complex creation/deletion # 1.2.3. Asynchronous creation with deferred probe # 1.2.4. Can't instantiate a chip with invalid configuration # 2. GPIO aggregator configuration # 2.1. Configuring aggregators instantiated via configfs # 2.1.1. While offline # 2.1.1.1. Line can be added/removed # 2.1.1.2. Line key can be modified # 2.1.1.3. Line name can be modified # 2.1.1.4. Line offset can be modified # 2.1.1.5. Can re-enable a chip after valid reconfiguration # 2.1.1.7. Can't re-enable a chip with invalid reconfiguration # 2.1.2. While online # 2.1.2.1. Can't add/remove line # 2.1.2.2. Can't modify line key # 2.1.2.3. Can't modify line name # 2.1.2.4. Can't modify line offset # 2.2. Configuring aggregators instantiated via sysfs # 2.2.1. While online # 2.2.1.1. Can toggle live # 2.2.1.2. Can't add/remove line # 2.2.1.3. Can't modify line key # 2.2.1.4. Can't modify line name # 2.2.1.5. Can't modify line offset # 2.2.2. While waiting for deferred probe # 2.2.2.1. Can't add/remove line despite live = 0 # 2.2.2.2. Can't modify line key # 2.2.2.3. Can't modify line name # 2.2.2.4. Can't modify line offset # 2.2.2.5. Can't toggle live # 2.2.3. While offline # 2.2.3.1. Can't add/remove line despite live = 0 # 2.2.3.2. Line key can be modified # 2.2.3.3. Line name can be modified # 2.2.3.4. Line offset can be modified # 2.2.3.5. Can re-enable a chip with valid reconfiguration # 2.2.3.6. Can't re-enable a chip with invalid reconfiguration # 3. Module unload # 3.1. Can't unload module if there is at least one device created via configfs # 3.2. Can unload module if there is no device created via configfs # 4. GPIO forwarder functional # 4.1. Forwarding set values # 4.2. Forwarding set config # incorrect value read from sysfs # GPIO gpio-aggregator test FAIL not ok 3 selftests: gpio: gpio-aggregator.sh # exit=1