public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/17617] New: Race condition in localedata tests
@ 2014-11-18 16:41 hjl.tools at gmail dot com
  2014-11-19  9:52 ` [Bug localedata/17617] " fweimer at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2014-11-18 16:41 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17617

            Bug ID: 17617
           Summary: Race condition in localedata tests
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: libc-locales at sourceware dot org

When machine is under heavy load, I saw

FAIL: localedata/bug-iconv-trans
FAIL: localedata/tst-mbswcs6
FAIL: localedata/tst-trans
FAIL: localedata/tst-wctype
FAIL: localedata/tst_mbrlen
FAIL: localedata/tst_mbrtowc
FAIL: localedata/tst_mbsrtowcs
FAIL: localedata/tst_mbstowcs
FAIL: localedata/tst_mbtowc
FAIL: localedata/tst_swscanf
FAIL: localedata/tst_wcrtomb
FAIL: localedata/tst_wcsrtombs
FAIL: localedata/tst_wcstombs
FAIL: localedata/tst_wctob
FAIL: localedata/tst_wctomb

localedata/Makefile has

# Dependency for the locale files.  We actually make it depend only on
# one of the files.
$(addprefix $(objpfx),$(CTYPE_FILES)): %: \
  gen-locale.sh $(common-objpfx)locale/localedef Makefile \
  $(addprefix charmaps/,$(CHARMAPS)) $(addprefix locales/,$(LOCALE_SRCS))
        @$(SHELL) gen-locale.sh $(common-objpfx) \
                  '$(built-program-cmd-before-env)' '$(run-program-env)' \
                  '$(built-program-cmd-after-env)' $@; \
        $(evaluate-test)

$(addsuffix .out,$(addprefix $(objpfx),$(tests))): %: \
  $(addprefix $(objpfx),$(CTYPE_FILES))

$(objpfx)sort-test.out: sort-test.sh $(objpfx)collate-test $(objpfx)xfrm-test \
                       $(test-input-data) $(addprefix $(objpfx),$(CTYPE_FILES))
        $(SHELL) $< $(common-objpfx) '$(test-program-prefix-before-env)' \
          '$(run-program-env)' '$(test-program-prefix-after-env)' \
          $(test-input) \
          > $@; \
        $(evaluate-test)

However, there is no $(CTYPE_FILES) dependency for those tests
above, which fail at random under heavy load with parallel build.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug localedata/17617] Race condition in localedata tests
  2014-11-18 16:41 [Bug localedata/17617] New: Race condition in localedata tests hjl.tools at gmail dot com
@ 2014-11-19  9:52 ` fweimer at redhat dot com
  2015-08-04 19:30 ` msebor at redhat dot com
  2015-08-27 21:59 ` [Bug locale/17617] " jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-11-19  9:52 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17617

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug localedata/17617] Race condition in localedata tests
  2014-11-18 16:41 [Bug localedata/17617] New: Race condition in localedata tests hjl.tools at gmail dot com
  2014-11-19  9:52 ` [Bug localedata/17617] " fweimer at redhat dot com
@ 2015-08-04 19:30 ` msebor at redhat dot com
  2015-08-27 21:59 ` [Bug locale/17617] " jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: msebor at redhat dot com @ 2015-08-04 19:30 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17617

Martin Sebor <msebor at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at redhat dot com

--- Comment #1 from Martin Sebor <msebor at redhat dot com> ---
Also observed during 'make -j16 check' on powerpc and reported here:
https://sourceware.org/ml/libc-alpha/2015-08/msg00080.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug locale/17617] Race condition in localedata tests
  2014-11-18 16:41 [Bug localedata/17617] New: Race condition in localedata tests hjl.tools at gmail dot com
  2014-11-19  9:52 ` [Bug localedata/17617] " fweimer at redhat dot com
  2015-08-04 19:30 ` msebor at redhat dot com
@ 2015-08-27 21:59 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 21:59 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17617

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|localedata                  |locale

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-27 21:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-18 16:41 [Bug localedata/17617] New: Race condition in localedata tests hjl.tools at gmail dot com
2014-11-19  9:52 ` [Bug localedata/17617] " fweimer at redhat dot com
2015-08-04 19:30 ` msebor at redhat dot com
2015-08-27 21:59 ` [Bug locale/17617] " jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).