Update tzdata to version 2021a-2

Bug #1945527 reported by Brian Murray
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tzdata (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Brian Murray
Focal
Fix Released
Undecided
Brian Murray
Hirsute
Fix Released
Undecided
Brian Murray

Bug Description

New upstream version affecting the following timestamp:

$region/$timezone = Pacific/Apia

Verification is done with 'zdump'. The first timezone that gets changed in the updated package is dumped with 'zdump -v $region/$timezone_that_changed' (this needs to be greped for in /usr/share/zoneinfo/). [For example: 'zdump -v Pacific/Apia'.] This is compared to the same output after the updated package got installed. If those are different the verification is considered done.

[Test Case for all releases]
1) zdump -v Pacific/Apia | grep 2021

For releases with ICU timezone data verification is done using the following with dates before and after the change:
[Test Case for releases >= 20.04 LTS]
1) sudo apt-get install python3-icu
2) python3 -c 'from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone('Pacific/Apia')); print(str(tz.utcoffset(datetime(2021, 9, 27))))'

Additionally, an upstream update of tzdata removed the 'old' SystemV timezones, so we should ensure that they are kept in Ubuntu 20.04 LTS and earlier releases. Subsequently, these should be checked for using the following:

[Test Case for releases <= 20.04 LTS]
diff <(zdump -v America/Phoenix | cut -d' ' -f2-) <(zdump -v SystemV/MST7 | cut -d' ' -f2-)

Nothing should be returned by the above command.

Changed in tzdata (Ubuntu Hirsute):
status: New → In Progress
Changed in tzdata (Ubuntu Focal):
status: New → In Progress
Changed in tzdata (Ubuntu Bionic):
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
Changed in tzdata (Ubuntu Focal):
assignee: nobody → Brian Murray (brian-murray)
Changed in tzdata (Ubuntu Hirsute):
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Brian Murray (brian-murray) wrote :

tzdata (2021a-2ubuntu1) impish; urgency=medium

  * Merge from Debian unstable. Remaining changes:
    - Ship ICU timezone data files which are utilized by php and update them
      to 2021a1.

tzdata (2021a-2) unstable; urgency=critical

  * Set urgency to critical as the Samoa DST change is already effective.
  * Update Provides to tzdata-bookworm.
  * debian/control: remove Adam Conrad from Uploaders. RIP. Closes: #986954.
  * Cherry-pick patches from tadata-2021b until the upstream situation gets
    less confused:
    - 01-no-leap-second-2021-12-31.patch: No leap second on 2021-12-31 as per
      IERS Bulletin C 62.
    - 02-samoa-dst.patch: Samoa no longer observes DST.
    - 03-jordan-dst.patch: Jordan now starts DST on February's last Thursday.

 -- Brian Murray <email address hidden> Wed, 29 Sep 2021 12:14:22 -0700

Changed in tzdata (Ubuntu):
status: New → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Brian, or anyone else affected,

Accepted tzdata into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/tzdata/2021a-2ubuntu0.21.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in tzdata (Ubuntu Hirsute):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Changed in tzdata (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Brian, or anyone else affected,

Accepted tzdata into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/tzdata/2021a-2ubuntu0.20.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in tzdata (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Brian, or anyone else affected,

Accepted tzdata into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/tzdata/2021a-2ubuntu0.18.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Brian Murray (brian-murray) wrote :

bdmurray@clean-hirsute-amd64:~$ apt-cache policy tzdata
tzdata:
  Installed: 2021a-1ubuntu1
  Candidate: 2021a-2ubuntu0.21.04
  Version table:
     2021a-2ubuntu0.21.04 500
        500 http://192.168.10.7/ubuntu hirsute-proposed/main amd64 Packages
        500 http://192.168.10.7/ubuntu hirsute-proposed/main i386 Packages
 *** 2021a-1ubuntu1 500
        500 http://192.168.10.7/ubuntu hirsute/main amd64 Packages
        500 http://192.168.10.7/ubuntu hirsute/main i386 Packages
        100 /var/lib/dpkg/status
bdmurray@clean-hirsute-amd64:~$ zdump -v Pacific/Apia | grep 2021
Pacific/Apia Sat Apr 3 13:59:59 2021 UT = Sun Apr 4 03:59:59 2021 +14 isdst=1 gmtoff=50400
Pacific/Apia Sat Apr 3 14:00:00 2021 UT = Sun Apr 4 03:00:00 2021 +13 isdst=0 gmtoff=46800
Pacific/Apia Sat Sep 25 13:59:59 2021 UT = Sun Sep 26 02:59:59 2021 +13 isdst=0 gmtoff=46800
Pacific/Apia Sat Sep 25 14:00:00 2021 UT = Sun Sep 26 04:00:00 2021 +14 isdst=1 gmtoff=50400
bdmurray@clean-hirsute-amd64:~$ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone('Pacific/Apia')); print(str(tz.utcoffset(datetime(2021, 9, 27))))"
14:00:00
bdmurray@clean-hirsute-amd64:~$ apt-cache policy tzdata
tzdata:
  Installed: 2021a-2ubuntu0.21.04
  Candidate: 2021a-2ubuntu0.21.04
  Version table:
 *** 2021a-2ubuntu0.21.04 500
        500 http://192.168.10.7/ubuntu hirsute-proposed/main amd64 Packages
        500 http://192.168.10.7/ubuntu hirsute-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     2021a-1ubuntu1 500
        500 http://192.168.10.7/ubuntu hirsute/main amd64 Packages
        500 http://192.168.10.7/ubuntu hirsute/main i386 Packages
bdmurray@clean-hirsute-amd64:~$ zdump -v Pacific/Apia | grep 2021
Pacific/Apia Sat Apr 3 13:59:59 2021 UT = Sun Apr 4 03:59:59 2021 +14 isdst=1 gmtoff=50400
Pacific/Apia Sat Apr 3 14:00:00 2021 UT = Sun Apr 4 03:00:00 2021 +13 isdst=0 gmtoff=46800
bdmurray@clean-hirsute-amd64:~$ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone('Pacific/Apia')); print(str(tz.utcoffset(datetime(2021, 9, 27))))"
13:00:00

description: updated
Revision history for this message
Brian Murray (brian-murray) wrote (last edit ):

bdmurray@clean-focal-amd64:~$ apt-cache policy tzdata
tzdata:
  Installed: 2021a-0ubuntu0.20.04
  Candidate: 2021a-2ubuntu0.20.04
  Version table:
     2021a-2ubuntu0.20.04 500
        500 http://192.168.10.7/ubuntu focal-proposed/main amd64 Packages
        500 http://192.168.10.7/ubuntu focal-proposed/main i386 Packages
 *** 2021a-0ubuntu0.20.04 500
        500 http://192.168.10.7/ubuntu focal-updates/main amd64 Packages
        500 http://192.168.10.7/ubuntu focal-updates/main i386 Packages
        500 http://192.168.10.7/ubuntu focal-security/main amd64 Packages
        500 http://192.168.10.7/ubuntu focal-security/main i386 Packages
        100 /var/lib/dpkg/status
     2019c-3ubuntu1 500
        500 http://192.168.10.7/ubuntu focal/main amd64 Packages
        500 http://192.168.10.7/ubuntu focal/main i386 Packages
bdmurray@clean-focal-amd64:~$ zdump -v Pacific/Apia | grep 2021
Pacific/Apia Sat Apr 3 13:59:59 2021 UT = Sun Apr 4 03:59:59 2021 +14 isdst=1 gmtoff=50400
Pacific/Apia Sat Apr 3 14:00:00 2021 UT = Sun Apr 4 03:00:00 2021 +13 isdst=0 gmtoff=46800
Pacific/Apia Sat Sep 25 13:59:59 2021 UT = Sun Sep 26 02:59:59 2021 +13 isdst=0 gmtoff=46800
Pacific/Apia Sat Sep 25 14:00:00 2021 UT = Sun Sep 26 04:00:00 2021 +14 isdst=1 gmtoff=50400
bdmurray@clean-focal-amd64:~$ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone('Pacific/Apia')); print(str(tz.utcoffset(datetime(2021, 9, 27))))"
14:00:00
bdmurray@clean-focal-amd64:~$ apt-cache policy tzdata
tzdata:
  Installed: 2021a-2ubuntu0.20.04
  Candidate: 2021a-2ubuntu0.20.04
  Version table:
 *** 2021a-2ubuntu0.20.04 500
        500 http://192.168.10.7/ubuntu focal-proposed/main amd64 Packages
        500 http://192.168.10.7/ubuntu focal-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     2021a-0ubuntu0.20.04 500
        500 http://192.168.10.7/ubuntu focal-updates/main amd64 Packages
        500 http://192.168.10.7/ubuntu focal-updates/main i386 Packages
        500 http://192.168.10.7/ubuntu focal-security/main amd64 Packages
        500 http://192.168.10.7/ubuntu focal-security/main i386 Packages
     2019c-3ubuntu1 500
        500 http://192.168.10.7/ubuntu focal/main amd64 Packages
        500 http://192.168.10.7/ubuntu focal/main i386 Packages
bdmurray@clean-focal-amd64:~$ zdump -v Pacific/Apia | grep 2021
Pacific/Apia Sat Apr 3 13:59:59 2021 UT = Sun Apr 4 03:59:59 2021 +14 isdst=1 gmtoff=50400
Pacific/Apia Sat Apr 3 14:00:00 2021 UT = Sun Apr 4 03:00:00 2021 +13 isdst=0 gmtoff=46800
bdmurray@clean-focal-amd64:~$ python3 -c "from datetime import datetime; from icu import ICUtzinfo, TimeZone; tz = ICUtzinfo(TimeZone.createTimeZone('Pacific/Apia')); print(str(tz.utcoffset(datetime(2021, 9, 27))))"
13:00:00
And the regression check:
bdmurray@clean-focal-amd64:~$ diff <(zdump -v America/Phoenix | cut -d' ' -f2-) <(zdump -v SystemV/MST7 | cut -d' ' -f2-)

Revision history for this message
Brian Murray (brian-murray) wrote :

bdmurray@clean-bionic-amd64:~$ apt-cache policy tzdata
tzdata:
  Installed: 2021a-0ubuntu0.18.04
  Candidate: 2021a-2ubuntu0.18.04
  Version table:
     2021a-2ubuntu0.18.04 500
        500 http://ubuntu.osuosl.org/ubuntu bionic-proposed/main amd64 Packages
        500 http://ubuntu.osuosl.org/ubuntu bionic-proposed/main i386 Packages
 *** 2021a-0ubuntu0.18.04 500
        500 http://ubuntu.osuosl.org/ubuntu bionic-updates/main amd64 Packages
        500 http://ubuntu.osuosl.org/ubuntu bionic-updates/main i386 Packages
        500 http://ubuntu.osuosl.org/ubuntu bionic-security/main amd64 Packages
        500 http://ubuntu.osuosl.org/ubuntu bionic-security/main i386 Packages
        100 /var/lib/dpkg/status
     2018d-1 500
        500 http://ubuntu.osuosl.org/ubuntu bionic/main amd64 Packages
        500 http://ubuntu.osuosl.org/ubuntu bionic/main i386 Packages
bdmurray@clean-bionic-amd64:~$ zdump -v Pacific/Apia | grep 2021
Pacific/Apia Sat Apr 3 13:59:59 2021 UT = Sun Apr 4 03:59:59 2021 +14 isdst=1 gmtoff=50400
Pacific/Apia Sat Apr 3 14:00:00 2021 UT = Sun Apr 4 03:00:00 2021 +13 isdst=0 gmtoff=46800
Pacific/Apia Sat Sep 25 13:59:59 2021 UT = Sun Sep 26 02:59:59 2021 +13 isdst=0 gmtoff=46800
Pacific/Apia Sat Sep 25 14:00:00 2021 UT = Sun Sep 26 04:00:00 2021 +14 isdst=1 gmtoff=50400
bdmurray@clean-bionic-amd64:~$ apt-cache policy tzdata
tzdata:
  Installed: 2021a-2ubuntu0.18.04
  Candidate: 2021a-2ubuntu0.18.04
  Version table:
 *** 2021a-2ubuntu0.18.04 500
        500 http://ubuntu.osuosl.org/ubuntu bionic-proposed/main amd64 Packages
        500 http://ubuntu.osuosl.org/ubuntu bionic-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     2021a-0ubuntu0.18.04 500
        500 http://ubuntu.osuosl.org/ubuntu bionic-updates/main amd64 Packages
        500 http://ubuntu.osuosl.org/ubuntu bionic-updates/main i386 Packages
        500 http://ubuntu.osuosl.org/ubuntu bionic-security/main amd64 Packages
        500 http://ubuntu.osuosl.org/ubuntu bionic-security/main i386 Packages
     2018d-1 500
        500 http://ubuntu.osuosl.org/ubuntu bionic/main amd64 Packages
        500 http://ubuntu.osuosl.org/ubuntu bionic/main i386 Packages
bdmurray@clean-bionic-amd64:~$ zdump -v Pacific/Apia | grep 2021
Pacific/Apia Sat Apr 3 13:59:59 2021 UT = Sun Apr 4 03:59:59 2021 +14 isdst=1 gmtoff=50400
Pacific/Apia Sat Apr 3 14:00:00 2021 UT = Sun Apr 4 03:00:00 2021 +13 isdst=0 gmtoff=46800
bdmurray@clean-bionic-amd64:~$ diff <(zdump -v America/Phoenix | cut -d' ' -f2-) <(zdump -v SystemV/MST7 | cut -d' ' -f2-)

tags: added: verification-done-bionic verification-done-focal verification-done-hirsute
removed: verification-needed-bionic verification-needed-focal verification-needed-hirsute
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tzdata - 2021a-2ubuntu0.21.04

---------------
tzdata (2021a-2ubuntu0.21.04) hirsute; urgency=medium

  * Merge from Debian unstable (LP: #1945527). Remaining changes:
    - Ship ICU timezone data files which are utilized by php and update them
      to 2021a1.

 -- Brian Murray <email address hidden> Wed, 29 Sep 2021 12:14:22 -0700

Changed in tzdata (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for tzdata has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tzdata - 2021a-2ubuntu0.20.04

---------------
tzdata (2021a-2ubuntu0.20.04) focal; urgency=medium

  * Merge from Debian unstable (LP: #1945527). Remaining changes:
    - Ship ICU timezone data files which are utilized by php and update them
      to 2021a1.

 -- Brian Murray <email address hidden> Wed, 29 Sep 2021 12:14:22 -0700

Changed in tzdata (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tzdata - 2021a-2ubuntu0.18.04

---------------
tzdata (2021a-2ubuntu0.18.04) bionic; urgency=medium

  * Merge from Debian unstable (LP: #1945527). Remaining changes:
    - Restore old SystemV timezones.

 -- Brian Murray <email address hidden> Wed, 29 Sep 2021 12:14:22 -0700

Changed in tzdata (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Steve Beattie (sbeattie) wrote :

This was fixed for xenial/esm with tzdata 2021a-2ubuntu0.16.04+esm1 and for trusty/esm with tzdata 2021a-2ubuntu0.14.04+esm1. Thanks Brian, for preparing these updates!

Changed in tzdata (Ubuntu Xenial):
status: New → Fix Released
Changed in tzdata (Ubuntu Trusty):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.