You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test failure System.Tests.TimeZoneInfoTests.FijiTimeZoneTest #70274
How much up-to-date are those machines? This particular time zone was adjusted around the end of November 2021 in a Windows update. I am not sure about the exact date when the update was published but on November 29, 2021 we had multiple machines with client Windows SKUs that were not updated yet while the Office 365 Exchange servers already had the new TZ definitions. The failure corresponds to the pre-update data.
@dotnet/dnceng can help answer. I assume the images stay up to date with security patches but possibly not optional patches? If this was one.
Happy to answer here:
Anything in Windows.10.Arm64v8.Open is not an "image", it's a physical device. This is because we cannot acquire any Arm64 Azure compute capacity and are running our test infrastructure on (mostly) Samsung GalaxyBooks
We recently were supposed to have reimaged all the machines in this queue to newer, but in the case of this one (DDARM64-067) it seems to have been overlooked and is running a slightly older OS. @ilyas1974 is going to follow up with DDFUN on that front.
In general, we have processes in place to run Windows update / linux package manager update on our on-prem machines monthly, but as these are physical devices managed by DDFUN obviously things slip through the cracks.
While we will continue to try to keep our giant collection of on-premises machines patched, if possible, maybe you could make your tests "aware" of the situation so they pass in either state?
I believe it is better to make the test tolerant to the running environment.
@MattGal is there a way you can copy the registry hive under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Fiji Standard Time on the failing machine to see the TZ data there? just to ensure we can have the test work with such data. Thanks!
I believe it is better to make the test tolerant to the running environment.
@MattGal is there a way you can copy the registry hive under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Fiji Standard Time on the failing machine to see the TZ data there? just to ensure we can have the test work with such data. Thanks!
Here's the exact .reg contents of the machine which ran the work item log at the top of this issue, sorry about all the encoded text...
@tarekgh are you sure it's not just tacked onto the end of the list in the export? Unless someone modified my comment without Github knowing, the last two values are 2021 and 2020.
I have submitted a PR to fix this issue. To summarize, the issue was on the failing machine, it list "LastEntry"=dword:000007e5 which means the last supported year in TZ data is 2021 while the TZ data include more year's data. the correct value should be "LastEntry"=dword:000007ed.
Activity
jkotas commentedon Jun 6, 2022
This test is failing in some environments. It failed on NativeAOT as well #69801, but we were not able to reproduce it.
filipnavara commentedon Jun 6, 2022
How much up-to-date are those machines? This particular time zone was adjusted around the end of November 2021 in a Windows update. I am not sure about the exact date when the update was published but on November 29, 2021 we had multiple machines with client Windows SKUs that were not updated yet while the Office 365 Exchange servers already had the new TZ definitions. The failure corresponds to the pre-update data.
danmoseley commentedon Jun 6, 2022
@dotnet/dnceng can help answer. I assume the images stay up to date with security patches but possibly not optional patches? If this was one.
MattGal commentedon Jun 6, 2022
Happy to answer here:
While we will continue to try to keep our giant collection of on-premises machines patched, if possible, maybe you could make your tests "aware" of the situation so they pass in either state?
tarekgh commentedon Jun 6, 2022
I believe it is better to make the test tolerant to the running environment.
@MattGal is there a way you can copy the registry hive under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Fiji Standard Timeon the failing machine to see the TZ data there? just to ensure we can have the test work with such data. Thanks!MattGal commentedon Jun 6, 2022
Here's the exact .reg contents of the machine which ran the work item log at the top of this issue, sorry about all the encoded text...
tarekgh commentedon Jun 6, 2022
Looks like such machine is missing the time zone data for the year
2021I'll try to fix the test to handle this case.
MattGal commentedon Jun 6, 2022
@tarekgh are you sure it's not just tacked onto the end of the list in the export? Unless someone modified my comment without Github knowing, the last two values are 2021 and 2020.
tarekgh commentedon Jun 6, 2022
Oh, sorry. I was expecting to see it in order. never mind then about my last comment. Thanks!
tarekgh commentedon Jun 6, 2022
Just to mention, part of the changes is listed here:
tarekgh commentedon Jun 6, 2022
I have submitted a PR to fix this issue. To summarize, the issue was on the failing machine, it list
"LastEntry"=dword:000007e5which means the last supported year in TZ data is2021while the TZ data include more year's data. the correct value should be"LastEntry"=dword:000007ed.