Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

y2k_SUITE always fails in London timezone. #5713

Open
ilya-klyuchnikov opened this issue Feb 14, 2022 · 3 comments
Open

y2k_SUITE always fails in London timezone. #5713

ilya-klyuchnikov opened this issue Feb 14, 2022 · 3 comments
Assignees
Labels
bug Issue is reported as a bug help wanted Issue not worked on by OTP; help wanted from the community team:VM Assigned to OTP team VM

Comments

@ilya-klyuchnikov
Copy link
Contributor

Describe the bug
y2k_SUITE always fails in GMT0 timezone.

To Reproduce
Set Greenwich timezone (London)

make stdlib_test ARGS="-suite y2k_SUITE"

It fails.

Set any other timezone (eg Stockholm) - it passes.

Expected behavior
The standard tests should be either timezone independent or run the same way in all timezones.

Affected versions
Master

Additional context

It seems that the main root cause is this:

true ->
Date

@ilya-klyuchnikov ilya-klyuchnikov added the bug Issue is reported as a bug label Feb 14, 2022
@garazdawi
Copy link
Contributor

We are aware of this problem, but I don't think we have any good solution for it. Any suggestions about how to fix it without changing what is tested are most welcome.

@max-au
Copy link
Contributor

max-au commented Feb 20, 2022

There are more cases that assume Stockholm timezone.
@potatosalad I wonder if adding TZDATA support will solve this problem.

@rickard-green rickard-green added team:VM Assigned to OTP team VM help wanted Issue not worked on by OTP; help wanted from the community labels Feb 21, 2022
@max-au
Copy link
Contributor

max-au commented Mar 2, 2022

Actually my PR fixes only the time_SUITE in emulator.
Interestingly, y2k_SUITE (the one in stdlib) works fine in Pacific or Stockholm timezone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug help wanted Issue not worked on by OTP; help wanted from the community team:VM Assigned to OTP team VM
Projects
None yet
Development

No branches or pull requests

5 participants