KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f
2025-01-20 06:04:29 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh
2025-01-20 06:04:29 make -j36 -C ../../../tools/gpio
make: Entering directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
mkdir -p include/linux 2>&1 || true
ln -sf /usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio/../../include/uapi/linux/gpio.h include/linux/gpio.h
make[1]: Entering directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
make[1]: Entering directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
  CC      gpio-watch.o
  CC      gpio-utils.o
  LD      gpio-watch-in.o
make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
  LINK    gpio-watch
  LD      gpio-utils-in.o
make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
make[1]: Entering directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
make[1]: Entering directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
make[1]: Entering directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
  CC      gpio-event-mon.o
  CC      lsgpio.o
  CC      gpio-hammer.o
  LD      lsgpio-in.o
  LD      gpio-hammer-in.o
  LD      gpio-event-mon-in.o
make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
  LINK    lsgpio
  LINK    gpio-hammer
make[1]: Leaving directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
  LINK    gpio-event-mon
make: Leaving directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/gpio'
2025-01-20 06:04:30 make -j36 -C gpio
make: Entering directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/testing/selftests/gpio'
  CC       gpio-mockup-cdev
  CC       gpio-chip-info
  CC       gpio-line-name
make: Leaving directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/testing/selftests/gpio'
2025-01-20 06:04:30 make quicktest=1 run_tests -C gpio
make: Entering directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/testing/selftests/gpio'
TAP version 13
1..2
# 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
# rmdir: failed to remove '/sys/kernel/config/gpio-sim/chip/bank/line0': Device or resource busy
# Unable to remove the line
# GPIO gpio-sim test FAIL
# rmdir: failed to remove '/sys/kernel/config/gpio-sim/chip/bank/line0': Device or resource busy
# Unable to remove the line
# GPIO gpio-sim test FAIL
not ok 2 selftests: gpio: gpio-sim.sh # exit=1
make: Leaving directory '/usr/src/perf_selftests-x86_64-dcg_x86_64_defconfig-kselftests-8bd76b3d3f3af7ac2898b6a27ad90c444fec418f/tools/testing/selftests/gpio'