test case: missing /proc/stat file
expected_ret: "SYSINFO_RET_FAIL"
error_msg: 'Cannot open /proc/stat: [2] No such file or directory'
test case: empty /proc/stat file
expected_ret: "SYSINFO_RET_FAIL"
error_msg: 'Cannot find a line with "ctxt" in /proc/stat.'
test case: ctxt-line not found in /proc/stat file
expected_ret: "SYSINFO_RET_FAIL"
error_msg: 'Cannot find a line with "ctxt" in /proc/stat.'
test case: valid /proc/stat file
cpu 103024 62 21164 6114232 4661 0 792 0 0 0
cpu0 12940 2 2976 764062 67 0 360 0 0 0
cpu1 12563 10 2510 765565 138 0 134 0 0 0
cpu2 12539 2 2470 765797 41 0 29 0 0 0
cpu3 12108 1 2360 766303 28 0 8 0 0 0
cpu4 12660 4 2493 765360 65 0 3 0 0 0
cpu5 13209 4 2691 764629 79 0 2 0 0 0
cpu6 13517 28 2627 763268 1208 0 29 0 0 0
cpu7 13486 8 3035 759246 3033 0 224 0 0 0
intr 3710386 41 2 0 0 0 0 0 0 1 4 0 0 361216 0 0 0 29 0 0 0 0 0 0 33 0 0 402768 64041 76290 422 42942 150 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0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