Hello, kernel test robot noticed "kernel-selftests.gpio.gpio-sim.sh.fail" on: commit: 8bd76b3d3f3af7ac2898b6a27ad90c444fec418f ("gpio: sim: lock up configfs that an instantiated device depends on") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master [test failed on linus/master 95ec54a420b8f445e04a7ca0ea8deb72c51fe1d3] [test failed on linux-next/master f066b5a6c7a06adfb666b7652cc99b4ff264f4ed] in testcase: kernel-selftests version: kernel-selftests-x86_64-7503345ac5f5-1_20241208 with following parameters: group: gpio config: x86_64-dcg_x86_64_defconfig-kselftests compiler: gcc-12 test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz (Cascade Lake) with 32G memory (please refer to attached dmesg/kmsg for entire log/backtrace) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <oliver.sang@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-lkp/202501221006.a1ca5dfa-lkp@xxxxxxxxx # 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 The kernel config and materials to reproduce are available at: https://download.01.org/0day-ci/archive/20250122/202501221006.a1ca5dfa-lkp@xxxxxxxxx -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki