verification of the tzdata update on bionic:

bdmurray@clean-bionic-amd64:~$ zdump -v Asia/Gaza | grep 2021
Asia/Gaza  Fri Mar 26 21:59:59 2021 UT = Fri Mar 26 23:59:59 2021 EET isdst=0 
gmtoff=7200
Asia/Gaza  Fri Mar 26 22:00:00 2021 UT = Sat Mar 27 01:00:00 2021 EEST isdst=1 
gmtoff=10800
Asia/Gaza  Fri Oct 29 21:59:59 2021 UT = Sat Oct 30 00:59:59 2021 EEST isdst=1 
gmtoff=10800
Asia/Gaza  Fri Oct 29 22:00:00 2021 UT = Sat Oct 30 00:00:00 2021 EET isdst=0 
gmtoff=7200
bdmurray@clean-bionic-amd64:~$ sudo apt-get -qq install tzdata
Preconfiguring packages ...
(Reading database ... 205624 files and directories currently installed.)
Preparing to unpack .../tzdata_2021e-0ubuntu0.18.04_all.deb ...
Unpacking tzdata (2021e-0ubuntu0.18.04) over (2021a-2ubuntu0.18.04) ...
Setting up tzdata (2021e-0ubuntu0.18.04) ...

Current default time zone: 'America/Los_Angeles'
Local time is now:      Wed Oct 27 10:21:39 PDT 2021.
Universal Time is now:  Wed Oct 27 17:21:39 UTC 2021.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

bdmurray@clean-bionic-amd64:~$ zdump -v Asia/Gaza | grep 2021
Asia/Gaza  Fri Mar 26 21:59:59 2021 UT = Fri Mar 26 23:59:59 2021 EET isdst=0 
gmtoff=7200
Asia/Gaza  Fri Mar 26 22:00:00 2021 UT = Sat Mar 27 01:00:00 2021 EEST isdst=1 
gmtoff=10800
Asia/Gaza  Thu Oct 28 21:59:59 2021 UT = Fri Oct 29 00:59:59 2021 EEST isdst=1 
gmtoff=10800
Asia/Gaza  Thu Oct 28 22:00:00 2021 UT = Fri Oct 29 00:00:00 2021 EET isdst=0 
gmtoff=7200

And confirmation that the SystemV time zones are still good to go:

bdmurray@clean-bionic-amd64:~$ diff <(zdump -v America/Phoenix | cut -d' ' 
-f2-) <(zdump -v SystemV/MST7 | cut -d' ' -f2-)
bdmurray@clean-bionic-amd64:~$ 


** Tags removed: verification-needed verification-needed-bionic 
verification-needed-focal verification-needed-hirsute verification-needed-impish
** Tags added: verification-done verification-done-bionic 
verification-done-focal verification-done-hirsute verification-done-impish

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/1948698

Title:
  Update tzdata to version 2021e

Status in tzdata package in Ubuntu:
  In Progress
Status in tzdata source package in Bionic:
  Fix Committed
Status in tzdata source package in Focal:
  Fix Committed
Status in tzdata source package in Hirsute:
  Fix Committed
Status in tzdata source package in Impish:
  Fix Committed

Bug description:
  New upstream version affecting the following timestamp:

  $region/$timezone = Asia/Gaza

  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 Asia/Gaza'.] 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 Asia/Gaza 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.creat eTimeZone('Pacific/Apia')); 
print(str(tz.utcoffset(datetime(2021, 9, 26))))'

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1948698/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to