Operational Defect Database

BugZero found this defect 233 days ago.

MongoDB | 2455142

resmoke incorrectly reports datetimes using 'Z' suffix even when local timepoint is not from UTC

Last update date:

3/12/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

The changes from 8022d88 as part of SERVER-54723 removed the ability for resmoke to report timepoints as relative offsets from UTC when the host machine isn't configured to have its timezone set to Etc/UTC. Instead resmoke always reports the local timepoint with a 'Z' suffix implying Zulu time incorrectly. This behavior is confusing because not all Evergreen hosts have their timezone set to Etc/UTC and leads to situations where the hour numbers in the datetime don't match up resmoke in the task logs and the MongoDB Server processes. Steps to reproduce $ sudo timedatectl set-timezone Etc/UTC $ python buildscripts/resmoke.py run --suite core -n | grep 'Tests that would be run in suite' [executor] 20:34:58.318Z Tests that would be run in suite core $ sudo timedatectl set-timezone America/New_York $ python buildscripts/resmoke.py run --suite core -n | grep 'Tests that would be run in suite' [executor] 16:35:13.482Z Tests that would be run in suite core

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Backlog

Learn More

Search:

...