Bug 14096 - Race condition on timezone/tst-timezone.out
Summary: Race condition on timezone/tst-timezone.out
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: time (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 21:39 UTC by H.J. Lu
Modified: 2015-08-27 22:08 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2012-05-10 21:39:41 UTC
"make -j8 check" on Intel Core i7 timezone/tst-timezone.out fails
at random:

[hjl@gnu-6 build-x86_64-linux]$ diff -up timezone/tst-timezone.bad  timezone/tst-timezone.out
--- timezone/tst-timezone.bad	2012-05-10 14:05:15.479544438 -0700
+++ timezone/tst-timezone.out	2012-05-10 14:36:48.510157884 -0700
@@ -55,56 +55,32 @@ tzname[1]: BRST
 daylight: 1
 timezone: 10800
 Checking timezone America/Chicago
-tzname[0]: America
-tzname[1]: 
-daylight: 0
-timezone: 0
-*** Timezone: America/Chicago, daylight is: 0 but should be: 1
-*** Timezone: America/Chicago, timezone is: 0 but should be: 21600
-*** Timezone: America/Chicago, tzname[0] is: America but should be: CST
-*** Timezone: America/Chicago, tzname[1] is:  but should be: CDT
-tzname[0]: America
-tzname[1]: 
-daylight: 0
-timezone: 0
-*** Timezone: America/Chicago, daylight is: 0 but should be: 1
-*** Timezone: America/Chicago, timezone is: 0 but should be: 21600
-*** Timezone: America/Chicago, tzname[0] is: America but should be: CST
-*** Timezone: America/Chicago, tzname[1] is:  but should be: CDT
+tzname[0]: CST
+tzname[1]: CDT
+daylight: 1
+timezone: 21600
+tzname[0]: CST
+tzname[1]: CDT
+daylight: 1
+timezone: 21600
 Checking timezone America/Indiana/Indianapolis
-tzname[0]: America
-tzname[1]: 
-daylight: 0
-timezone: 0
-*** Timezone: America/Indiana/Indianapolis, daylight is: 0 but should be: 1
-*** Timezone: America/Indiana/Indianapolis, timezone is: 0 but should be: 18000
-*** Timezone: America/Indiana/Indianapolis, tzname[0] is: America but should be: EST
-*** Timezone: America/Indiana/Indianapolis, tzname[1] is:  but should be: EDT
-tzname[0]: America
-tzname[1]: 
-daylight: 0
-timezone: 0
-*** Timezone: America/Indiana/Indianapolis, daylight is: 0 but should be: 1
-*** Timezone: America/Indiana/Indianapolis, timezone is: 0 but should be: 18000
-*** Timezone: America/Indiana/Indianapolis, tzname[0] is: America but should be: EST
-*** Timezone: America/Indiana/Indianapolis, tzname[1] is:  but should be: EDT
+tzname[0]: EST
+tzname[1]: EDT
+daylight: 1
+timezone: 18000
+tzname[0]: EST
+tzname[1]: EDT
+daylight: 1
+timezone: 18000
 Checking timezone America/Los_Angeles
-tzname[0]: America
-tzname[1]: 
-daylight: 0
-timezone: 0
-*** Timezone: America/Los_Angeles, daylight is: 0 but should be: 1
-*** Timezone: America/Los_Angeles, timezone is: 0 but should be: 28800
-*** Timezone: America/Los_Angeles, tzname[0] is: America but should be: PST
-*** Timezone: America/Los_Angeles, tzname[1] is:  but should be: PDT
-tzname[0]: America
-tzname[1]: 
-daylight: 0
-timezone: 0
-*** Timezone: America/Los_Angeles, daylight is: 0 but should be: 1
-*** Timezone: America/Los_Angeles, timezone is: 0 but should be: 28800
-*** Timezone: America/Los_Angeles, tzname[0] is: America but should be: PST
-*** Timezone: America/Los_Angeles, tzname[1] is:  but should be: PDT
+tzname[0]: PST
+tzname[1]: PDT
+daylight: 1
+timezone: 28800
+tzname[0]: PST
+tzname[1]: PDT
+daylight: 1
+timezone: 28800
 Checking timezone Pacific/Auckland
 tzname[0]: NZST
 tzname[1]: NZDT
[hjl@gnu-6 build-x86_64-linux]$