IBM / CAST

CAST can enhance the system management of cluster-wide resources. It consists of the open source tools: cluster system management (CSM) and burst buffer.
Eclipse Public License 1.0
27 stars 34 forks source link

Skip token of newline in getLocalReadWrite to avoid stoull(newline) #1016

Closed meahoibm closed 2 years ago

meahoibm commented 2 years ago

Compiled in 8.4 docker, used local tools to create a repo and uninstall/install RPMS and start up daemons. Ran against robot from Jenkins for testing.

meahoibm commented 2 years ago

Unit test of getdeviceusage; [root@c650f06p33-ug meaho]# bbcmd getdeviceusage {"id":"1","rc":"0","in":{"apicall":"BB_GetDeviceUsage","parms":{"device":"0"},"misc":{"uid":"0","gid":"0"}},"env":{"jobid":"1","jobstepid":"1","contribid":"999999998"},"out":{"critical_warning":"0","temperature":"40","available_spare":"100","percentage_used":"1","data_read":"1178416798","data_written":"1585097460","num_read_commands":"1185129904","num_write_commands":"1098480925","busy_time":"7914","power_cycles":"145","power_on_hours":"28213","unsafe_shutdowns":"104","media_errors":"0","num_err_log_entries":"0"}} [root@c650f06p33-ug meaho]# Now going to run robot fvt

meahoibm commented 2 years ago

Reverted changes to getdeviceusage mapping but still look to strip off any tabs in the labels.