GEM tests - fail - Failed assertion: igt_sysfs_printf(dir, "i915_gem_drop_caches", "0x%" PRIx64, val) > 0
(gem_ctx_bad_destroy:1240) igt_debugfs-CRITICAL: Test assertion failure function igt_drop_caches_set, file ../lib/igt_debugfs.c:1104:
(gem_ctx_bad_destroy:1240) igt_debugfs-CRITICAL: Failed assertion: igt_sysfs_printf(dir, "i915_gem_drop_caches", "0x%" PRIx64, val) > 0
(gem_ctx_bad_destroy:1240) igt_debugfs-CRITICAL: Last errno: 9, Bad file descriptor
Test gem_ctx_bad_destroy failed.
**** DEBUG ****
(gem_ctx_bad_destroy:1240) igt_core-INFO: IGT-Version: 1.25-g1fbd127bd (x86_64) (Linux: 5.9.0-rc8-CI-CI_DRM_9103+ x86_64)
(gem_ctx_bad_destroy:1240) igt_debugfs-CRITICAL: Test assertion failure function igt_drop_caches_set, file ../lib/igt_debugfs.c:1104:
(gem_ctx_bad_destroy:1240) igt_debugfs-CRITICAL: Failed assertion: igt_sysfs_printf(dir, "i915_gem_drop_caches", "0x%" PRIx64, val) > 0
(gem_ctx_bad_destroy:1240) igt_debugfs-CRITICAL: Last errno: 9, Bad file descriptor
(gem_ctx_bad_destroy:1240) igt_core-INFO: Stack trace:
(gem_ctx_bad_destroy:1240) igt_core-INFO: #0 ../lib/igt_core.c:1727 __igt_fail_assert()
(gem_ctx_bad_destroy:1240) igt_core-INFO: #1 [igt_drop_caches_set+0x66]
(gem_ctx_bad_destroy:1240) igt_core-INFO: #2 ../lib/drmtest.c:614 drm_open_driver_render()
(gem_ctx_bad_destroy:1240) igt_core-INFO: #3 ../tests/i915/gem_ctx_bad_destroy.c:48 __real_main43()
(gem_ctx_bad_destroy:1240) igt_core-INFO: #4 ../tests/i915/gem_ctx_bad_destroy.c:43 main()
(gem_ctx_bad_destroy:1240) igt_core-INFO: #5 ../csu/libc-start.c:344 __libc_start_main()
(gem_ctx_bad_destroy:1240) igt_core-INFO: #6 [_start+0x2a]
**** END ****
(gem_ctx_exec:1277) igt_debugfs-CRITICAL: Test assertion failure function igt_drop_caches_set, file ../lib/igt_debugfs.c:1104:
(gem_ctx_exec:1277) igt_debugfs-CRITICAL: Failed assertion: igt_sysfs_printf(dir, "i915_gem_drop_caches", "0x%" PRIx64, val) > 0
(gem_ctx_exec:1277) igt_debugfs-CRITICAL: Last errno: 9, Bad file descriptor
Test gem_ctx_exec failed.
**** DEBUG ****
(gem_ctx_exec:1277) igt_core-INFO: IGT-Version: 1.25-g1fbd127bd (x86_64) (Linux: 5.9.0-rc8-CI-CI_DRM_9103+ x86_64)
(gem_ctx_exec:1277) igt_debugfs-CRITICAL: Test assertion failure function igt_drop_caches_set, file ../lib/igt_debugfs.c:1104:
(gem_ctx_exec:1277) igt_debugfs-CRITICAL: Failed assertion: igt_sysfs_printf(dir, "i915_gem_drop_caches", "0x%" PRIx64, val) > 0
(gem_ctx_exec:1277) igt_debugfs-CRITICAL: Last errno: 9, Bad file descriptor
(gem_ctx_exec:1277) igt_core-INFO: Stack trace:
(gem_ctx_exec:1277) igt_core-INFO: #0 ../lib/igt_core.c:1727 __igt_fail_assert()
(gem_ctx_exec:1277) igt_core-INFO: #1 [igt_drop_caches_set+0x66]
(gem_ctx_exec:1277) igt_core-INFO: #2 ../lib/drmtest.c:614 drm_open_driver_render()
(gem_ctx_exec:1277) igt_core-INFO: #3 ../tests/i915/gem_ctx_exec.c:347 __real_main339()
(gem_ctx_exec:1277) igt_core-INFO: #4 ../tests/i915/gem_ctx_exec.c:339 main()
(gem_ctx_exec:1277) igt_core-INFO: #5 ../csu/libc-start.c:344 __libc_start_main()
(gem_ctx_exec:1277) igt_core-INFO: #6 [_start+0x2a]
**** END ****
Edited by LAKSHMINARAYANA VUDUM