Need to add datetime and node id in "Object has not been uploaded" error message #91

Closed
opened 2023-08-08 12:57:16 +00:00 by amaks · 0 comments
Member

Currently we see error message like

Object has not been uploaded:
rpc error: client failure: context deadline exceeded

Object has not been uploaded:
rpc error: client failure: context deadline exceeded

Object has not been uploaded:
rpc error: client failure: context deadline exceeded
...

During test failure investigation it is difficult to specify node and time when it's happened.
So, it would be nice to have this info in the message.

Place to be improved:

print(f" > Object {object_name} has not been uploaded:\n{output}")

Currently we see error message like > Object has not been uploaded: > rpc error: client failure: context deadline exceeded > > Object has not been uploaded: > rpc error: client failure: context deadline exceeded > > Object has not been uploaded: > rpc error: client failure: context deadline exceeded > ... During test failure investigation it is difficult to specify node and time when it's happened. So, it would be nice to have this info in the message. Place to be improved: https://git.frostfs.info/TrueCloudLab/xk6-frostfs/src/commit/5b1793f248155569bf03844837dcadab91d42486/scenarios/preset/helpers/frostfs_cli.py#L37
amaks added the
enhancement
P2
labels 2023-08-08 12:57:16 +00:00
abereziny self-assigned this 2023-08-08 13:05:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/xk6-frostfs#91
No description provided.