Array cores[] has one element, it is being accessed at cores[1] which is out of range since only cores[0] is valid.
unit-test/lib/test_hw_monitoring.c:285:54: error: Array 'cores[1]' accessed at index 1, which is out of bounds. [arrayIndexOutOfBounds]
expect_value(hw_mon_assoc_write, lcore, cores[1]);
Array cores[] has one element, it is being accessed at cores[1] which is out of range since only cores[0] is valid.
unit-test/lib/test_hw_monitoring.c:285:54: error: Array 'cores[1]' accessed at index 1, which is out of bounds. [arrayIndexOutOfBounds] expect_value(hw_mon_assoc_write, lcore, cores[1]);