Failed lookup console message while uvm_config_db::get is working fine

In reply to susharma:

Sunil,

Below is a working example. What is truly set are the interface and cfg. Those GETs are reported as pass. The GETs which are internals of components, such as ports, are reported as failed. Please check if similar thing is happening at your end, when you run with +UVM_CONFIG_DB_TRACE.

// -----------------------------------------------------------------
// SETs
// -----------------------------------------------------------------
@ 0: reporter [CFGDB/SET] Configuration '*.vif' (type virtual interface misc_if) set by  = (virtual interface misc_if) ?
T= 0 ns reporter[CFGDB/SET]: Configuration 'uvm_test_top.env.*.misc_if_cfg' (type class $unit::misc_if_cfg) set by uvm_test_top.env = (class $unit::host_misc_if_cfg) ?

// -----------------------------------------------------------------
// Below GETs, shown as failed are "internal stuff" of components
// -----------------------------------------------------------------
T=0 ns reporter[CFGDB/GET]: Configuration 'uvm_test_top.env.agent.drv.recording_detail' (type logic signed[4095:0]) read by uvm_test_top.env.agent.drv = null (failed lookup)
T=0 ns reporter[CFGDB/GET]: Configuration 'uvm_test_top.env.agent.drv.recording_detail' (type int) read by uvm_test_top.env.agent.drv = null (failed lookup)
T=0 ns reporter[CFGDB/GET]: Configuration 'uvm_test_top.env.agent.drv.seq_item_port.recording_detail' (type logic signed[4095:0]) read by uvm_test_top.env.agent.drv.seq_item_port = null (failed lookup)
T=0 ns reporter[CFGDB/GET]: Configuration 'uvm_test_top.env.agent.drv.seq_item_port.recording_detail' (type int) read by uvm_test_top.env.agent.drv.seq_item_port = null (failed lookup)
T=0 ns reporter[CFGDB/GET]: Configuration 'uvm_test_top.env.agent.drv.seq_item_port.check_connection_relationships' (type logic signed[4095:0]) read by uvm_test_top.env.agent.drv.seq_item_port = null (failed lookup)
T=0 ns reporter[CFGDB/GET]: Configuration 'uvm_test_top.env.agent.drv.rsp_port.recording_detail' (type logic signed[4095:0]) read by uvm_test_top.env.agent.drv.rsp_port = null (failed lookup)
T=0 ns reporter[CFGDB/GET]: Configuration 'uvm_test_top.env.agent.drv.rsp_port.recording_detail' (type int) read by uvm_test_top.env.agent.drv.rsp_port = null (failed lookup)
T=0 ns reporter[CFGDB/GET]: Configuration 'uvm_test_top.env.agent.drv.rsp_port.check_connection_relationships' (type logic signed[4095:0]) read by uvm_test_top.env.agent.drv.rsp_port = null (failed lookup)

// ------------------------------------------------
// Handles actually passed. The working GETs 
// ------------------------------------------------
T=0 ns reporter[CFGDB/GET]: Configuration 'uvm_test_top.env.agent.drv.cfg' (type class $unit::cfg) read by uvm_test_top.env.agent.drv = (class $unit::cfg) ?
T=0 ns reporter[CFGDB/GET]: Configuration 'uvm_test_top.env.agent.drv.vif' (type virtual interface misc_if) read by uvm_test_top.env.agent.drv = (virtual interface misc_if) ?