Skip to content

tzdata: disable tests for now - #582069

Merged
hesiod merged 1 commit into
NixOS:stagingfrom
winterqt:push-przsrtzrkpzl
Nov 3, 2026
Merged

hesiod merged 1 commit into
NixOS:stagingfrom
winterqt:push-przsrtzrkpzl

Conversation

@winterqt

@winterqt winterqt commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

See 0.

Closes #582038.

Things done

@winterqt winterqt added the backport staging-26.05 Backport PR automatically label Nov 2, 2026
@winterqt winterqt linked an issue Nov 2, 2026 that may be closed by this pull request
4 tasks done
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Nov 2, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested review from ajs124 and fpletz November 2, 2026 03:21
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. labels Nov 2, 2026
R0K0R added a commit to R0K0R/nixpkgs that referenced this pull request Nov 2, 2026
The now.ck check compares zones "from now on" against zonenow.tab, so it
depends on the build date. Since the 2026-11-01 transitions it fails:

  zones America/Phoenix and America/Vancouver identical from now on
  zones America/Mexico_City and America/Edmonton identical from now on
  zones America/Jamaica and America/Winnipeg identical from now on

As in NixOS#582069. See
https://lists.iana.org/hyperkitty/list/[email protected]/thread/CBEK3HXYBOXGD34ZFDSF64QIDT7ZWGBB/
@ARitz-Cracker

ARitz-Cracker commented Nov 2, 2026 •

Copy link
Copy Markdown

After this PR was opened, Paul Eggert himself suggests using the release timestamp for testing when it comes to situations like this and no downstream changes have been made.

Seems a lot more future-proof if we just checkFlags = [ "CHECK_NOW_TIMESTAMP=$$SOURCE_DATE_EPOCH" ];. This would mitigate the current issue, have things "just work" when upstream updates without needing us to do anything, and will mitigate similar issues in the future. (I'm hoping that Ontario abolishes DST)

Edit: above won't work, made more comments on the original issue

@hesiod

hesiod commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

After this PR was opened, Paul Eggert himself suggests using the release timestamp for testing when it comes to situations like this and no downstream changes have been made.

Paul also attached a patch with a fix, see here: https://lists.iana.org/hyperkitty/list/[email protected]/message/WCIAEEDCPA5HT3LLJK6YQ6FH7ND5ORIK/attachment/2/0001-Revert-zonenow.tab-to-2026a-mostly.patch
IIUC the patch would be the best solution here.

@ARitz-Cracker

ARitz-Cracker commented Nov 2, 2026 •

Copy link
Copy Markdown

After this PR was opened, Paul Eggert himself suggests using the release timestamp for testing when it comes to situations like this and no downstream changes have been made.

Paul also attached a patch with a fix, see here: https://lists.iana.org/hyperkitty/list/[email protected]/message/WCIAEEDCPA5HT3LLJK6YQ6FH7ND5ORIK/attachment/2/0001-Revert-zonenow.tab-to-2026a-mostly.patch IIUC the patch would be the best solution here.

The patch just includes the fix for this particular issue and will be released in the next version of tzdata anyway, but it doesn't mitigate against future instances of this issue which may happen as more regions move to abolish DST or keep it forever.

@ajs124

ajs124 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Just to make sure, this isn't fixed in 2026f, right?

or rather: was this broken by 2026f?

@ARitz-Cracker

ARitz-Cracker commented Nov 3, 2026 •

Copy link
Copy Markdown

Just to make sure, this isn't fixed in 2026f, right?

or rather: was this broken by 2026f?

2026e and 2026f are both broken if tested on or after 2026-11-01, due to recent changes in DST policy in Canada. This is because some tests depend on the "current time", or the value of the CHECK_NOW_TIMESTAMP. Which means, the tests are non-deterministic unless the CHECK_NOW_TIMESTAMP environment variable is set, which upstream suggests should be set to the time of release somehow.

@hesiod hesiod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think everyone agrees that disabling tests is not a long term fix, but let's just do that for now to make sure tzdata builds and defer deciding on the best way to work around the issue to later.

@hesiod
hesiod added this pull request to the merge queue Nov 3, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 3, 2026
Merged via the queue into NixOS:staging with commit acfb730 Nov 3, 2026
38 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for staging-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Nov 3, 2026
@whispersofthedawn

Copy link
Copy Markdown
Contributor

given #582577 was merged, should this be reverted? or is this still necessary / that was incomplete?

@ARitz-Cracker

Copy link
Copy Markdown

given #582577 was merged, should this be reverted? or is this still necessary / that was incomplete?

Yeah, #582577 would obsolete this PR.

@hesiod

hesiod commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

given #582577 was merged, should this be reverted? or is this still necessary / that was incomplete?

sigh, sorry about that, I didn't realize there was actually a third PR floating around that was neither linked on the issue page nor in this PR...

R0K0R added a commit to R0K0R/nixos that referenced this pull request Nov 4, 2026
tzdata's now.ck check depends on the build date and fails since the
2026-11-01 transitions ("zones America/Phoenix and America/Vancouver
identical from now on"), which stopped the victus build on yulee. As in
NixOS/nixpkgs#582069. tzdata's output is unchanged, so CA dependents cut
off early. aliasable.nix gets the new narHash and rev; a check toggle
can't change the map.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01YAgLc4WipU4MUKdnV7af2W
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 12.approvals: 1 This PR was reviewed and approved by one person. backport staging-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tzdata: fails to build on or after 2026-11-01

5 participants