k6 doesn't report date in errors #188

Closed
opened 2025-01-10 09:06:12 +00:00 by mmalygina · 3 comments
Member

k6 doesn't report date in errors

Expected Behavior

k6 report date in errors

Current Behavior

k6 doesn't report date in errors, only time

Steps to Reproduce (for bugs)

  1. Run k6 s3 scenario, receive error
ERRO[21:53:32] operation error S3: PutObject, https response error StatusCode: 502, RequestID: , HostID: , api error BadGateway: Bad Gateway  bucket=f901b5ea-4d15-48d9-a5f7-7552403874b1 endpoint="https://x.x.x.x" key=0778a112-ae0a-4531-80f3-22c91eaf5a2d

Your Environment

frostfs_k6_20241126.tar.gz
76fd5c9

k6 doesn't report date in errors ## Expected Behavior k6 report date in errors ## Current Behavior k6 doesn't report date in errors, only time ## Steps to Reproduce (for bugs) <!-- Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. --> 1. Run k6 s3 scenario, receive error ``` ERRO[21:53:32] operation error S3: PutObject, https response error StatusCode: 502, RequestID: , HostID: , api error BadGateway: Bad Gateway bucket=f901b5ea-4d15-48d9-a5f7-7552403874b1 endpoint="https://x.x.x.x" key=0778a112-ae0a-4531-80f3-22c91eaf5a2d ``` ## Your Environment frostfs_k6_20241126.tar.gz 76fd5c9
mmalygina added the
bug
label 2025-01-10 09:06:12 +00:00
Owner

Refs #97
Refs #94

I think #94 should be done with this task in mind.
I would also like to make this optional -- for most usecases (sub 1-day perf tests) the date only pollutes the output.

Refs #97 Refs #94 I think #94 should be done with this task in mind. I would also like to make this optional -- for most usecases (sub 1-day perf tests) the date only pollutes the output.
fyrchik added
enhancement
and removed
bug
labels 2025-01-10 10:19:54 +00:00
Owner

My bad, this is about scenarios, not preset.

My bad, this is about scenarios, not preset.
fyrchik self-assigned this 2025-01-10 11:40:26 +00:00
Owner

-e DATE_FORMAT= is used to alter printed timestamp representation.

`-e DATE_FORMAT=` is used to alter printed timestamp representation.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#188
No description provided.