[igt-dev] ✗ Fi.CI.BAT: failure for igt: Add gem_ctx_freq to exercise requesting freq on a ctx (rev6)

Arkadiusz Hiler arkadiusz.hiler at intel.com
Wed Mar 14 09:12:42 UTC 2018


On Wed, Mar 14, 2018 at 08:59:16AM +0000, Chris Wilson wrote:
> Quoting Arkadiusz Hiler (2018-03-14 08:37:10)
> > On Tue, Mar 13, 2018 at 05:10:04PM +0000, Chris Wilson wrote:
> > > Quoting Patchwork (2018-03-13 17:05:32)
> > > > == Series Details ==
> > > > 
> > > > Series: igt: Add gem_ctx_freq to exercise requesting freq on a ctx (rev6)
> > > > URL   : https://patchwork.freedesktop.org/series/39564/
> > > > State : failure
> > > > 
> > > > == Summary ==
> > > > 
> > > > IGT patchset build failed on latest successful build
> > > > 1bb3995eb6dba8e43981e0378e1c6eea3f730a0f tests/i915_query: fix expected subslice count on hsw
> > > > 
> > > > [531/805] ccache cc  -o tests/gem_cs_tlb 'tests/gem_cs_tlb at exe/gem_cs_tlb.c.o' '-L/usr/lib/x86_64-linux-gnu' '-L/opt/igt/lib' '-Wl,--no-undefined' '-Wl,--as-needed' 'lib/libigt.so' 'lib/libigt-drmtest_c.a' 'lib/libigt-i915_gem_context_c.a' 'lib/libigt-i915_gem_scheduler_c.a' 'lib/libigt-i915_gem_submission_c.a' 'lib/libigt-i915_gem_ring_c.a' 'lib/libigt-igt_debugfs_c.a' 'lib/libigt-igt_device_c.a' 'lib/libigt-igt_aux_c.a' 'lib/libigt-igt_gt_c.a' 'lib/libigt-igt_gvt_c.a' 'lib/libigt-igt_primes_c.a' 'lib/libigt-igt_rand_c.a' 'lib/libigt-igt_stats_c.a' 'lib/libigt-igt_syncobj_c.a' 'lib/libigt-igt_sysfs_c.a' 'lib/libigt-igt_sysrq_c.a' 'lib/libigt-igt_vgem_c.a' 'lib/libigt-igt_x86_c.a' 'lib/libigt-instdone_c.a' 'lib/libigt-intel_batchbuffer_c.a' 'lib/libigt-intel_chipset_c.a' 'lib/libigt-intel_device_info_c.a' 'lib/libigt-intel_os_c.a' 'lib/libigt-intel_mmio_c.a' 'lib/libigt-ioctl_wrappers_c.a' 'lib/libigt-media_fill_gen7_c.a' 'lib/libigt-media_fill_gen8_c.a' 'lib/libigt-media_fill_gen8lp_c.a' 'lib/libigt-media_fill_gen9_c.a' 'lib/libigt-media_spin_c.a' 'lib/libigt-gpgpu_fill_c.a' 'lib/libigt-rendercopy_i915_c.a' 'lib/libigt-rendercopy_i830_c.a' 'lib/libigt-rendercopy_gen6_c.a' 'lib/libigt-rendercopy_gen7_c.a' 'lib/libigt-rendercopy_gen8_c.a' 'lib/libigt-rendercopy_gen9_c.a' 'lib/libigt-sw_sync_c.a' 'lib/libigt-intel_reg_map_c.a' 'lib/libigt-intel_iosf_c.a' 'lib/libigt-igt_kms_c.a' 'lib/libigt-igt_fb_c.a' 'lib/libigt-igt_core_c.a' 'lib/libigt-igt_draw_c.a' 'lib/libigt-igt_pm_c.a' 'lib/libigt-igt_dummyload_c.a' 'lib/libigt-uwildmat_uwildmat_c.a' 'lib/libigt-igt_kmod_c.a' 'lib/libigt-igt_vc4_c.a' 'lib/libigt-igt_frame_c.a' 'lib/libigt-igt_audio_c.a' 'lib/libigt-igt_chamelium_c.a' '-pthread' '-lcairo' '-lglib-2.0' '-ldrm' '-lkmod' '-lprocps' '-ludev' '-lunwind' '-lpciaccess' '-lm' '-lrt' '-ldrm_intel' '-ldrm' '-lgsl' '-lgslcblas' '-lm' '-lpixman-1' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-Wl,-rpath,/home/cidrm/intel-gpu-tools/build/lib'  
> > > > [532/805] ccache cc  -o tests/gem_evict_alignment 'tests/gem_evict_alignment at exe/gem_evict_alignment.c.o' '-L/usr/lib/x86_64-linux-gnu' '-L/opt/igt/lib' '-Wl,--no-undefined' '-Wl,--as-needed' 'lib/libigt.so' 'lib/libigt-drmtest_c.a' 'lib/libigt-i915_gem_context_c.a' 'lib/libigt-i915_gem_scheduler_c.a' 'lib/libigt-i915_gem_submission_c.a' 'lib/libigt-i915_gem_ring_c.a' 'lib/libigt-igt_debugfs_c.a' 'lib/libigt-igt_device_c.a' 'lib/libigt-igt_aux_c.a' 'lib/libigt-igt_gt_c.a' 'lib/libigt-igt_gvt_c.a' 'lib/libigt-igt_primes_c.a' 'lib/libigt-igt_rand_c.a' 'lib/libigt-igt_stats_c.a' 'lib/libigt-igt_syncobj_c.a' 'lib/libigt-igt_sysfs_c.a' 'lib/libigt-igt_sysrq_c.a' 'lib/libigt-igt_vgem_c.a' 'lib/libigt-igt_x86_c.a' 'lib/libigt-instdone_c.a' 'lib/libigt-intel_batchbuffer_c.a' 'lib/libigt-intel_chipset_c.a' 'lib/libigt-intel_device_info_c.a' 'lib/libigt-intel_os_c.a' 'lib/libigt-intel_mmio_c.a' 'lib/libigt-ioctl_wrappers_c.a' 'lib/libigt-media_fill_gen7_c.a' 'lib/libigt-media_fill_gen8_c.a' 'lib/libigt-media_fill_gen8lp_c.a' 'lib/libigt-media_fill_gen9_c.a' 'lib/libigt-media_spin_c.a' 'lib/libigt-gpgpu_fill_c.a' 'lib/libigt-rendercopy_i915_c.a' 'lib/libigt-rendercopy_i830_c.a' 'lib/libigt-rendercopy_gen6_c.a' 'lib/libigt-rendercopy_gen7_c.a' 'lib/libigt-rendercopy_gen8_c.a' 'lib/libigt-rendercopy_gen9_c.a' 'lib/libigt-sw_sync_c.a' 'lib/libigt-intel_reg_map_c.a' 'lib/libigt-intel_iosf_c.a' 'lib/libigt-igt_kms_c.a' 'lib/libigt-igt_fb_c.a' 'lib/libigt-igt_core_c.a' 'lib/libigt-igt_draw_c.a' 'lib/libigt-igt_pm_c.a' 'lib/libigt-igt_dummyload_c.a' 'lib/libigt-uwildmat_uwildmat_c.a' 'lib/libigt-igt_kmod_c.a' 'lib/libigt-igt_vc4_c.a' 'lib/libigt-igt_frame_c.a' 'lib/libigt-igt_audio_c.a' 'lib/libigt-igt_chamelium_c.a' '-pthread' '-lcairo' '-lglib-2.0' '-ldrm' '-lkmod' '-lprocps' '-ludev' '-lunwind' '-lpciaccess' '-lm' '-lrt' '-ldrm_intel' '-ldrm' '-lgsl' '-lgslcblas' '-lm' '-lpixman-1' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-Wl,-rpath,/home/cidrm/intel-gpu-tools/build/lib'  
> > > > [533/805] ccache cc  -o tests/gem_ringfill 'tests/gem_ringfill at exe/gem_ringfill.c.o' '-L/usr/lib/x86_64-linux-gnu' '-L/opt/igt/lib' '-Wl,--no-undefined' '-Wl,--as-needed' 'lib/libigt.so' 'lib/libigt-drmtest_c.a' 'lib/libigt-i915_gem_context_c.a' 'lib/libigt-i915_gem_scheduler_c.a' 'lib/libigt-i915_gem_submission_c.a' 'lib/libigt-i915_gem_ring_c.a' 'lib/libigt-igt_debugfs_c.a' 'lib/libigt-igt_device_c.a' 'lib/libigt-igt_aux_c.a' 'lib/libigt-igt_gt_c.a' 'lib/libigt-igt_gvt_c.a' 'lib/libigt-igt_primes_c.a' 'lib/libigt-igt_rand_c.a' 'lib/libigt-igt_stats_c.a' 'lib/libigt-igt_syncobj_c.a' 'lib/libigt-igt_sysfs_c.a' 'lib/libigt-igt_sysrq_c.a' 'lib/libigt-igt_vgem_c.a' 'lib/libigt-igt_x86_c.a' 'lib/libigt-instdone_c.a' 'lib/libigt-intel_batchbuffer_c.a' 'lib/libigt-intel_chipset_c.a' 'lib/libigt-intel_device_info_c.a' 'lib/libigt-intel_os_c.a' 'lib/libigt-intel_mmio_c.a' 'lib/libigt-ioctl_wrappers_c.a' 'lib/libigt-media_fill_gen7_c.a' 'lib/libigt-media_fill_gen8_c.a' 'lib/libigt-media_fill_gen8lp_c.a' 'lib/libigt-media_fill_gen9_c.a' 'lib/libigt-media_spin_c.a' 'lib/libigt-gpgpu_fill_c.a' 'lib/libigt-rendercopy_i915_c.a' 'lib/libigt-rendercopy_i830_c.a' 'lib/libigt-rendercopy_gen6_c.a' 'lib/libigt-rendercopy_gen7_c.a' 'lib/libigt-rendercopy_gen8_c.a' 'lib/libigt-rendercopy_gen9_c.a' 'lib/libigt-sw_sync_c.a' 'lib/libigt-intel_reg_map_c.a' 'lib/libigt-intel_iosf_c.a' 'lib/libigt-igt_kms_c.a' 'lib/libigt-igt_fb_c.a' 'lib/libigt-igt_core_c.a' 'lib/libigt-igt_draw_c.a' 'lib/libigt-igt_pm_c.a' 'lib/libigt-igt_dummyload_c.a' 'lib/libigt-uwildmat_uwildmat_c.a' 'lib/libigt-igt_kmod_c.a' 'lib/libigt-igt_vc4_c.a' 'lib/libigt-igt_frame_c.a' 'lib/libigt-igt_audio_c.a' 'lib/libigt-igt_chamelium_c.a' '-pthread' '-lcairo' '-lglib-2.0' '-ldrm' '-lkmod' '-lprocps' '-ludev' '-lunwind' '-lpciaccess' '-lm' '-lrt' '-ldrm_intel' '-ldrm' '-lgsl' '-lgslcblas' '-lm' '-lpixman-1' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-Wl,-rpath,/home/cidrm/intel-gpu-tools/build/lib'  
> > > > [534/805] ccache cc  -o tests/gem_ctx_param 'tests/gem_ctx_param at exe/gem_ctx_param.c.o' '-L/usr/lib/x86_64-linux-gnu' '-L/opt/igt/lib' '-Wl,--no-undefined' '-Wl,--as-needed' 'lib/libigt.so' 'lib/libigt-drmtest_c.a' 'lib/libigt-i915_gem_context_c.a' 'lib/libigt-i915_gem_scheduler_c.a' 'lib/libigt-i915_gem_submission_c.a' 'lib/libigt-i915_gem_ring_c.a' 'lib/libigt-igt_debugfs_c.a' 'lib/libigt-igt_device_c.a' 'lib/libigt-igt_aux_c.a' 'lib/libigt-igt_gt_c.a' 'lib/libigt-igt_gvt_c.a' 'lib/libigt-igt_primes_c.a' 'lib/libigt-igt_rand_c.a' 'lib/libigt-igt_stats_c.a' 'lib/libigt-igt_syncobj_c.a' 'lib/libigt-igt_sysfs_c.a' 'lib/libigt-igt_sysrq_c.a' 'lib/libigt-igt_vgem_c.a' 'lib/libigt-igt_x86_c.a' 'lib/libigt-instdone_c.a' 'lib/libigt-intel_batchbuffer_c.a' 'lib/libigt-intel_chipset_c.a' 'lib/libigt-intel_device_info_c.a' 'lib/libigt-intel_os_c.a' 'lib/libigt-intel_mmio_c.a' 'lib/libigt-ioctl_wrappers_c.a' 'lib/libigt-media_fill_gen7_c.a' 'lib/libigt-media_fill_gen8_c.a' 'lib/libigt-media_fill_gen8lp_c.a' 'lib/libigt-media_fill_gen9_c.a' 'lib/libigt-media_spin_c.a' 'lib/libigt-gpgpu_fill_c.a' 'lib/libigt-rendercopy_i915_c.a' 'lib/libigt-rendercopy_i830_c.a' 'lib/libigt-rendercopy_gen6_c.a' 'lib/libigt-rendercopy_gen7_c.a' 'lib/libigt-rendercopy_gen8_c.a' 'lib/libigt-rendercopy_gen9_c.a' 'lib/libigt-sw_sync_c.a' 'lib/libigt-intel_reg_map_c.a' 'lib/libigt-intel_iosf_c.a' 'lib/libigt-igt_kms_c.a' 'lib/libigt-igt_fb_c.a' 'lib/libigt-igt_core_c.a' 'lib/libigt-igt_draw_c.a' 'lib/libigt-igt_pm_c.a' 'lib/libigt-igt_dummyload_c.a' 'lib/libigt-uwildmat_uwildmat_c.a' 'lib/libigt-igt_kmod_c.a' 'lib/libigt-igt_vc4_c.a' 'lib/libigt-igt_frame_c.a' 'lib/libigt-igt_audio_c.a' 'lib/libigt-igt_chamelium_c.a' '-pthread' '-lcairo' '-lglib-2.0' '-ldrm' '-lkmod' '-lprocps' '-ludev' '-lunwind' '-lpciaccess' '-lm' '-lrt' '-ldrm_intel' '-ldrm' '-lgsl' '-lgslcblas' '-lm' '-lpixman-1' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-Wl,-rpath,/home/cidrm/intel-gpu-tools/build/lib'  
> > > > [535/805] ccache cc  -o tests/gem_exec_alignment 'tests/gem_exec_alignment at exe/gem_exec_alignment.c.o' '-L/usr/lib/x86_64-linux-gnu' '-L/opt/igt/lib' '-Wl,--no-undefined' '-Wl,--as-needed' 'lib/libigt.so' 'lib/libigt-drmtest_c.a' 'lib/libigt-i915_gem_context_c.a' 'lib/libigt-i915_gem_scheduler_c.a' 'lib/libigt-i915_gem_submission_c.a' 'lib/libigt-i915_gem_ring_c.a' 'lib/libigt-igt_debugfs_c.a' 'lib/libigt-igt_device_c.a' 'lib/libigt-igt_aux_c.a' 'lib/libigt-igt_gt_c.a' 'lib/libigt-igt_gvt_c.a' 'lib/libigt-igt_primes_c.a' 'lib/libigt-igt_rand_c.a' 'lib/libigt-igt_stats_c.a' 'lib/libigt-igt_syncobj_c.a' 'lib/libigt-igt_sysfs_c.a' 'lib/libigt-igt_sysrq_c.a' 'lib/libigt-igt_vgem_c.a' 'lib/libigt-igt_x86_c.a' 'lib/libigt-instdone_c.a' 'lib/libigt-intel_batchbuffer_c.a' 'lib/libigt-intel_chipset_c.a' 'lib/libigt-intel_device_info_c.a' 'lib/libigt-intel_os_c.a' 'lib/libigt-intel_mmio_c.a' 'lib/libigt-ioctl_wrappers_c.a' 'lib/libigt-media_fill_gen7_c.a' 'lib/libigt-media_fill_gen8_c.a' 'lib/libigt-media_fill_gen8lp_c.a' 'lib/libigt-media_fill_gen9_c.a' 'lib/libigt-media_spin_c.a' 'lib/libigt-gpgpu_fill_c.a' 'lib/libigt-rendercopy_i915_c.a' 'lib/libigt-rendercopy_i830_c.a' 'lib/libigt-rendercopy_gen6_c.a' 'lib/libigt-rendercopy_gen7_c.a' 'lib/libigt-rendercopy_gen8_c.a' 'lib/libigt-rendercopy_gen9_c.a' 'lib/libigt-sw_sync_c.a' 'lib/libigt-intel_reg_map_c.a' 'lib/libigt-intel_iosf_c.a' 'lib/libigt-igt_kms_c.a' 'lib/libigt-igt_fb_c.a' 'lib/libigt-igt_core_c.a' 'lib/libigt-igt_draw_c.a' 'lib/libigt-igt_pm_c.a' 'lib/libigt-igt_dummyload_c.a' 'lib/libigt-uwildmat_uwildmat_c.a' 'lib/libigt-igt_kmod_c.a' 'lib/libigt-igt_vc4_c.a' 'lib/libigt-igt_frame_c.a' 'lib/libigt-igt_audio_c.a' 'lib/libigt-igt_chamelium_c.a' '-pthread' '-lcairo' '-lglib-2.0' '-ldrm' '-lkmod' '-lprocps' '-ludev' '-lunwind' '-lpciaccess' '-lm' '-lrt' '-ldrm_intel' '-ldrm' '-lgsl' '-lgslcblas' '-lm' '-lpixman-1' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-Wl,-rpath,/home/cidrm/intel-gpu-tools/build/lib'  
> > > > [536/805] ccache cc  -o tests/gem_exec_capture 'tests/gem_exec_capture at exe/gem_exec_capture.c.o' '-L/usr/lib/x86_64-linux-gnu' '-L/opt/igt/lib' '-Wl,--no-undefined' '-Wl,--as-needed' 'lib/libigt.so' 'lib/libigt-drmtest_c.a' 'lib/libigt-i915_gem_context_c.a' 'lib/libigt-i915_gem_scheduler_c.a' 'lib/libigt-i915_gem_submission_c.a' 'lib/libigt-i915_gem_ring_c.a' 'lib/libigt-igt_debugfs_c.a' 'lib/libigt-igt_device_c.a' 'lib/libigt-igt_aux_c.a' 'lib/libigt-igt_gt_c.a' 'lib/libigt-igt_gvt_c.a' 'lib/libigt-igt_primes_c.a' 'lib/libigt-igt_rand_c.a' 'lib/libigt-igt_stats_c.a' 'lib/libigt-igt_syncobj_c.a' 'lib/libigt-igt_sysfs_c.a' 'lib/libigt-igt_sysrq_c.a' 'lib/libigt-igt_vgem_c.a' 'lib/libigt-igt_x86_c.a' 'lib/libigt-instdone_c.a' 'lib/libigt-intel_batchbuffer_c.a' 'lib/libigt-intel_chipset_c.a' 'lib/libigt-intel_device_info_c.a' 'lib/libigt-intel_os_c.a' 'lib/libigt-intel_mmio_c.a' 'lib/libigt-ioctl_wrappers_c.a' 'lib/libigt-media_fill_gen7_c.a' 'lib/libigt-media_fill_gen8_c.a' 'lib/libigt-media_fill_gen8lp_c.a' 'lib/libigt-media_fill_gen9_c.a' 'lib/libigt-media_spin_c.a' 'lib/libigt-gpgpu_fill_c.a' 'lib/libigt-rendercopy_i915_c.a' 'lib/libigt-rendercopy_i830_c.a' 'lib/libigt-rendercopy_gen6_c.a' 'lib/libigt-rendercopy_gen7_c.a' 'lib/libigt-rendercopy_gen8_c.a' 'lib/libigt-rendercopy_gen9_c.a' 'lib/libigt-sw_sync_c.a' 'lib/libigt-intel_reg_map_c.a' 'lib/libigt-intel_iosf_c.a' 'lib/libigt-igt_kms_c.a' 'lib/libigt-igt_fb_c.a' 'lib/libigt-igt_core_c.a' 'lib/libigt-igt_draw_c.a' 'lib/libigt-igt_pm_c.a' 'lib/libigt-igt_dummyload_c.a' 'lib/libigt-uwildmat_uwildmat_c.a' 'lib/libigt-igt_kmod_c.a' 'lib/libigt-igt_vc4_c.a' 'lib/libigt-igt_frame_c.a' 'lib/libigt-igt_audio_c.a' 'lib/libigt-igt_chamelium_c.a' '-pthread' '-lcairo' '-lglib-2.0' '-ldrm' '-lkmod' '-lprocps' '-ludev' '-lunwind' '-lpciaccess' '-lm' '-lrt' '-ldrm_intel' '-ldrm' '-lgsl' '-lgslcblas' '-lm' '-lpixman-1' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-Wl,-rpath,/home/cidrm/intel-gpu-tools/build/lib'  
> > > > [537/805] ccache cc  -o tests/gem_ctx_bad_exec 'tests/gem_ctx_bad_exec at exe/gem_ctx_bad_exec.c.o' '-L/usr/lib/x86_64-linux-gnu' '-L/opt/igt/lib' '-Wl,--no-undefined' '-Wl,--as-needed' 'lib/libigt.so' 'lib/libigt-drmtest_c.a' 'lib/libigt-i915_gem_context_c.a' 'lib/libigt-i915_gem_scheduler_c.a' 'lib/libigt-i915_gem_submission_c.a' 'lib/libigt-i915_gem_ring_c.a' 'lib/libigt-igt_debugfs_c.a' 'lib/libigt-igt_device_c.a' 'lib/libigt-igt_aux_c.a' 'lib/libigt-igt_gt_c.a' 'lib/libigt-igt_gvt_c.a' 'lib/libigt-igt_primes_c.a' 'lib/libigt-igt_rand_c.a' 'lib/libigt-igt_stats_c.a' 'lib/libigt-igt_syncobj_c.a' 'lib/libigt-igt_sysfs_c.a' 'lib/libigt-igt_sysrq_c.a' 'lib/libigt-igt_vgem_c.a' 'lib/libigt-igt_x86_c.a' 'lib/libigt-instdone_c.a' 'lib/libigt-intel_batchbuffer_c.a' 'lib/libigt-intel_chipset_c.a' 'lib/libigt-intel_device_info_c.a' 'lib/libigt-intel_os_c.a' 'lib/libigt-intel_mmio_c.a' 'lib/libigt-ioctl_wrappers_c.a' 'lib/libigt-media_fill_gen7_c.a' 'lib/libigt-media_fill_gen8_c.a' 'lib/libigt-media_fill_gen8lp_c.a' 'lib/libigt-media_fill_gen9_c.a' 'lib/libigt-media_spin_c.a' 'lib/libigt-gpgpu_fill_c.a' 'lib/libigt-rendercopy_i915_c.a' 'lib/libigt-rendercopy_i830_c.a' 'lib/libigt-rendercopy_gen6_c.a' 'lib/libigt-rendercopy_gen7_c.a' 'lib/libigt-rendercopy_gen8_c.a' 'lib/libigt-rendercopy_gen9_c.a' 'lib/libigt-sw_sync_c.a' 'lib/libigt-intel_reg_map_c.a' 'lib/libigt-intel_iosf_c.a' 'lib/libigt-igt_kms_c.a' 'lib/libigt-igt_fb_c.a' 'lib/libigt-igt_core_c.a' 'lib/libigt-igt_draw_c.a' 'lib/libigt-igt_pm_c.a' 'lib/libigt-igt_dummyload_c.a' 'lib/libigt-uwildmat_uwildmat_c.a' 'lib/libigt-igt_kmod_c.a' 'lib/libigt-igt_vc4_c.a' 'lib/libigt-igt_frame_c.a' 'lib/libigt-igt_audio_c.a' 'lib/libigt-igt_chamelium_c.a' '-pthread' '-lcairo' '-lglib-2.0' '-ldrm' '-lkmod' '-lprocps' '-ludev' '-lunwind' '-lpciaccess' '-lm' '-lrt' '-ldrm_intel' '-ldrm' '-lgsl' '-lgslcblas' '-lm' '-lpixman-1' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-Wl,-rpath,/home/cidrm/intel-gpu-tools/build/lib'  
> > > > [538/805] ccache cc  -o tests/gem_ctx_exec 'tests/gem_ctx_exec at exe/gem_ctx_exec.c.o' '-L/usr/lib/x86_64-linux-gnu' '-L/opt/igt/lib' '-Wl,--no-undefined' '-Wl,--as-needed' 'lib/libigt.so' 'lib/libigt-drmtest_c.a' 'lib/libigt-i915_gem_context_c.a' 'lib/libigt-i915_gem_scheduler_c.a' 'lib/libigt-i915_gem_submission_c.a' 'lib/libigt-i915_gem_ring_c.a' 'lib/libigt-igt_debugfs_c.a' 'lib/libigt-igt_device_c.a' 'lib/libigt-igt_aux_c.a' 'lib/libigt-igt_gt_c.a' 'lib/libigt-igt_gvt_c.a' 'lib/libigt-igt_primes_c.a' 'lib/libigt-igt_rand_c.a' 'lib/libigt-igt_stats_c.a' 'lib/libigt-igt_syncobj_c.a' 'lib/libigt-igt_sysfs_c.a' 'lib/libigt-igt_sysrq_c.a' 'lib/libigt-igt_vgem_c.a' 'lib/libigt-igt_x86_c.a' 'lib/libigt-instdone_c.a' 'lib/libigt-intel_batchbuffer_c.a' 'lib/libigt-intel_chipset_c.a' 'lib/libigt-intel_device_info_c.a' 'lib/libigt-intel_os_c.a' 'lib/libigt-intel_mmio_c.a' 'lib/libigt-ioctl_wrappers_c.a' 'lib/libigt-media_fill_gen7_c.a' 'lib/libigt-media_fill_gen8_c.a' 'lib/libigt-media_fill_gen8lp_c.a' 'lib/libigt-media_fill_gen9_c.a' 'lib/libigt-media_spin_c.a' 'lib/libigt-gpgpu_fill_c.a' 'lib/libigt-rendercopy_i915_c.a' 'lib/libigt-rendercopy_i830_c.a' 'lib/libigt-rendercopy_gen6_c.a' 'lib/libigt-rendercopy_gen7_c.a' 'lib/libigt-rendercopy_gen8_c.a' 'lib/libigt-rendercopy_gen9_c.a' 'lib/libigt-sw_sync_c.a' 'lib/libigt-intel_reg_map_c.a' 'lib/libigt-intel_iosf_c.a' 'lib/libigt-igt_kms_c.a' 'lib/libigt-igt_fb_c.a' 'lib/libigt-igt_core_c.a' 'lib/libigt-igt_draw_c.a' 'lib/libigt-igt_pm_c.a' 'lib/libigt-igt_dummyload_c.a' 'lib/libigt-uwildmat_uwildmat_c.a' 'lib/libigt-igt_kmod_c.a' 'lib/libigt-igt_vc4_c.a' 'lib/libigt-igt_frame_c.a' 'lib/libigt-igt_audio_c.a' 'lib/libigt-igt_chamelium_c.a' '-pthread' '-lcairo' '-lglib-2.0' '-ldrm' '-lkmod' '-lprocps' '-ludev' '-lunwind' '-lpciaccess' '-lm' '-lrt' '-ldrm_intel' '-ldrm' '-lgsl' '-lgslcblas' '-lm' '-lpixman-1' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-Wl,-rpath,/home/cidrm/intel-gpu-tools/build/lib'  
> > > > [539/805] ccache cc  -o tests/gem_ctx_bad_destroy 'tests/gem_ctx_bad_destroy at exe/gem_ctx_bad_destroy.c.o' '-L/usr/lib/x86_64-linux-gnu' '-L/opt/igt/lib' '-Wl,--no-undefined' '-Wl,--as-needed' 'lib/libigt.so' 'lib/libigt-drmtest_c.a' 'lib/libigt-i915_gem_context_c.a' 'lib/libigt-i915_gem_scheduler_c.a' 'lib/libigt-i915_gem_submission_c.a' 'lib/libigt-i915_gem_ring_c.a' 'lib/libigt-igt_debugfs_c.a' 'lib/libigt-igt_device_c.a' 'lib/libigt-igt_aux_c.a' 'lib/libigt-igt_gt_c.a' 'lib/libigt-igt_gvt_c.a' 'lib/libigt-igt_primes_c.a' 'lib/libigt-igt_rand_c.a' 'lib/libigt-igt_stats_c.a' 'lib/libigt-igt_syncobj_c.a' 'lib/libigt-igt_sysfs_c.a' 'lib/libigt-igt_sysrq_c.a' 'lib/libigt-igt_vgem_c.a' 'lib/libigt-igt_x86_c.a' 'lib/libigt-instdone_c.a' 'lib/libigt-intel_batchbuffer_c.a' 'lib/libigt-intel_chipset_c.a' 'lib/libigt-intel_device_info_c.a' 'lib/libigt-intel_os_c.a' 'lib/libigt-intel_mmio_c.a' 'lib/libigt-ioctl_wrappers_c.a' 'lib/libigt-media_fill_gen7_c.a' 'lib/libigt-media_fill_gen8_c.a' 'lib/libigt-media_fill_gen8lp_c.a' 'lib/libigt-media_fill_gen9_c.a' 'lib/libigt-media_spin_c.a' 'lib/libigt-gpgpu_fill_c.a' 'lib/libigt-rendercopy_i915_c.a' 'lib/libigt-rendercopy_i830_c.a' 'lib/libigt-rendercopy_gen6_c.a' 'lib/libigt-rendercopy_gen7_c.a' 'lib/libigt-rendercopy_gen8_c.a' 'lib/libigt-rendercopy_gen9_c.a' 'lib/libigt-sw_sync_c.a' 'lib/libigt-intel_reg_map_c.a' 'lib/libigt-intel_iosf_c.a' 'lib/libigt-igt_kms_c.a' 'lib/libigt-igt_fb_c.a' 'lib/libigt-igt_core_c.a' 'lib/libigt-igt_draw_c.a' 'lib/libigt-igt_pm_c.a' 'lib/libigt-igt_dummyload_c.a' 'lib/libigt-uwildmat_uwildmat_c.a' 'lib/libigt-igt_kmod_c.a' 'lib/libigt-igt_vc4_c.a' 'lib/libigt-igt_frame_c.a' 'lib/libigt-igt_audio_c.a' 'lib/libigt-igt_chamelium_c.a' '-pthread' '-lcairo' '-lglib-2.0' '-ldrm' '-lkmod' '-lprocps' '-ludev' '-lunwind' '-lpciaccess' '-lm' '-lrt' '-ldrm_intel' '-ldrm' '-lgsl' '-lgslcblas' '-lm' '-lpixman-1' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-lpixman-1' '-lxmlrpc_client' '-lxmlrpc' '-lxmlrpc_xmlparse' '-lxmlrpc_xmltok' '-lxmlrpc_util' '-lcurl' '-Wl,-rpath,/home/cidrm/intel-gpu-tools/build/lib'  
> > > > [540/805] ccache cc  -o tests/gem_ctx_switch 'tests/gem_ctx_switch at exe/gem_ctx_switch.c.o' '-L/usr/lib/x86_64-linux-gnu' '-L/opt/igt/lib' '-Wl,--no-undefined' '-Wl,--as-needed' 'lib/libigt.so' 'lib/libigt-drmtest_c.a' 'lib/libigt-i915_gem_context_c.a' 'lib/libigt-i915_gem_scheduler_c.a' 'lib/libigt-i915_gem_submission_c.a' 'lib/libigt-i915_gem_ring_c.a' 'lib/libigt-igt_debugfs_c.a' 'lib/libigt-igt_device_c.a' 'lib/libigt-igt_aux_c.a' 'lib/libigt-igt_gt_c.a' 'lib/libigt-igt_gvt_c.a' 'lib/l
> > > > 
> > > 
> > > Well that is spectacularly useless.
> > > -Chris
> > 
> > Yep. Definitely needs some work.
> > 
> > Here's the actual error:
> > 
> > cc  -o tests/gem_ctx_freq 'tests/gem_ctx_freq at exe/gem_ctx_freq.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,--start-group lib/libigt.so -pthread -lcairo -lglib-2.0 -ldrm -lkmod -lprocps -ludev -lunwind -lpciaccess -lm -lrt -ldrm_intel -ldrm -lgsl -lgslcblas -lm -lpixman-1 -lpixman-1 -lxmlrpc -lxmlrpc_util -lxmlrpc_client -Wl,--end-group -ldrm_amdgpu -ldrm_nouveau -lpixman-1 -lxmlrpc -lxmlrpc_util -lxmlrpc_client '-Wl,-rpath,$ORIGIN/../lib' -Wl,-rpath-link,/mnt/stash/src/igt/build/lib
> > tests/gem_ctx_freq at exe/gem_ctx_freq.c.o: In function `single':
> > /mnt/stash/src/igt/build/../tests/gem_ctx_freq.c:123: undefined reference to `perf_i915_open'
> > tests/gem_ctx_freq at exe/gem_ctx_freq.c.o: In function `continuous':
> > /mnt/stash/src/igt/build/../tests/gem_ctx_freq.c:178: undefined reference to `perf_i915_open'
> > tests/gem_ctx_freq at exe/gem_ctx_freq.c.o: In function `inflight':
> > /mnt/stash/src/igt/build/../tests/gem_ctx_freq.c:237: undefined reference to `perf_i915_open'
> > tests/gem_ctx_freq at exe/gem_ctx_freq.c.o: In function `sysfs_clamp':
> > /mnt/stash/src/igt/build/../tests/gem_ctx_freq.c:345: undefined reference to `perf_i915_open'
> > tests/gem_ctx_freq at exe/gem_ctx_freq.c.o: In function `sandwich_engine':
> > /mnt/stash/src/igt/build/../tests/gem_ctx_freq.c:391: undefined reference to `perf_i915_open'
> > tests/gem_ctx_freq at exe/gem_ctx_freq.c.o:/mnt/stash/src/igt/build/../tests/gem_ctx_freq.c:516: more undefined references to `perf_i915_open' follow
> > collect2: error: ld returned 1 exit status
> 
> Works with autotools.
> -Chris

No wonders - you remembered to link with lib_igt_perf with autotools and
skipped that step for meson.

│diff --git a/tests/meson.build b/tests/meson.build
│index 2eac2e69..e1438702 100644
│--- a/tests/meson.build
│+++ b/tests/meson.build
│@@ -36,7 +36,6 @@ test_progs = [
│   'gem_ctx_create',
│   'gem_ctx_exec',
│   'gem_ctx_isolation',
│-  'gem_ctx_freq',
│   'gem_ctx_param',
│   'gem_ctx_switch',
│   'gem_ctx_thrash',
│@@ -290,12 +289,15 @@ foreach prog : test_progs
│         install : true)
│ endforeach
│
│-test_executables += executable('perf_pmu', 'perf_pmu.c',
│-     dependencies : test_deps + [ lib_igt_perf ],
│-     install_dir : libexecdir,
│-     install_rpath : rpathdir,
│-     install : true)
│-test_progs += 'perf_pmu'
│+foreach perf_prog : [ 'perf_pmu', 'gem_ctx_freq' ]
│+  test_executables += executable(perf_prog, perf_prog+'.c',
│+        dependencies : test_deps + [ lib_igt_perf ],
│+        install_dir : libexecdir,
│+        install_rpath : rpathdir,
│+        install : true)
│+  test_progs += perf_prog
│+endforeach
│
│ executable('testdisplay', ['testdisplay.c', 'testdisplay_hotplug.c'],
│      dependencies : test_deps,



More information about the igt-dev mailing list