With the Lustre OST metrics update for version 2.12, it breaks the test stage:
$ make test
>> running tests
--- FAIL: TestCollector (0.35s)
lustre_exporter_test.go:1775: The following OST metrics were not found: [{Name:lustre_available_kilobytes Help:Number of kilobytes readily available in the pool Type:1 Labels:[{Name:component Value:ost} {Name:target Value:lustrefs-OST0000}] Value:4.7029274624e+10 Parsed:false} {Name:lustre_inodes_free Help:The number of inodes (objects) available Type:1 Labels:[{Name:component Value:ost} {Name:target Value:lustrefs-OST0000}] Value:4.5927028e+07 Parsed:false} {Name:lustre_inodes_maximum Help:The maximum number of inodes (objects) the filesystem can hold Type:1 Labels:[{Name:component Value:ost} {Name:target Value:lustrefs-OST0000}] Value:4.5927284e+07 Parsed:false} {Name:lustre_free_kilobytes Help:Number of kilobytes allocated to the pool Type:1 Labels:[{Name:component Value:ost} {Name:target Value:lustrefs-OST0000}] Value:4.7029276672e+10 Parsed:false}]
FAIL
FAIL github.com/GSI-HPC/lustre_exporter 0.355s
ok github.com/GSI-HPC/lustre_exporter/sources (cached)
FAIL
make: *** [Makefile:29: test] Error 1
With the Lustre OST metrics update for version 2.12, it breaks the test stage:
Test stage needs to be fixed.