Re: FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread Andrey Chernov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 09.11.2015 0:46, Baptiste Daroussin wrote:
>> BTW, see other tests fails here in jenkins too, they looks
>> related to locale changes.
> 
> I will look into them.

About that one, it looks like collate support is broken in regex:
FAILED:  bin.sh.builtins.functional_test.case7

All our collate files was in order

A-Za-z

but CLDR collate organized as

aA<...>-zZ

Since RE ranges should use collate (per POSIX), new a-z includes now
every letter, small and big, excluding Z (for de_DE locale in the
test). It means, case7 two tests (below) should succeed even with new
collate, but both fails (second one includes various oO variants, with
umlaut too). Our regex code have collate support for single byte
locales, but it seems it is not in the working state now.

unset LC_ALL
LC_CTYPE=de_DE.ISO8859-1
export LC_CTYPE
LC_COLLATE=de_DE.ISO8859-1
export LC_COLLATE

c1=e
# o umlaut
c2=$(printf '\366')

case $c1$c2 in
[a-z][a-z]) ;;
*) echo wrong at $LINENO ;;
esac

case $c1$c2 in
[a-f][n-p]) ;;
*) echo wrong at $LINENO ;;
esac

- -- 
http://ache.vniz.net/
-BEGIN PGP SIGNATURE-

iQEcBAEBCAAGBQJWQAw2AAoJEKUckv0MjfbKRA0H/3c2n0slDo78mnxUv+wi7LKU
lppgVWkBitskMNq02OBaV4kOogbrwe5RAfhDqFhOIB4oISh/1qMZi2lCiSyx6wAY
ZRqaJXefMxLm+oFA9RECiSUrwPaAAS71spCVDBzVDZoRbHobJCkmt9/DdgDBE3P4
lzTucr2XAhXTBBmHIQKDzKBfnm8Pi/r6H74K1UkthCRe0TP01aW8QnVuJYrzIYE1
hPv7kbdO62w7NxARRaQQkMediDh5odl3pcIbH16EexnaCOG6ouTnY4dcCMwDOcz+
9IwBwh+Nn0ERICcHciYS9C5j+bSoP1BBAwwhYi2+kCitRGFOQ/U8PjYkBPbT0Xw=
=y4/D
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread NGie Cooper

> On Nov 8, 2015, at 14:09, Andrey Chernov  wrote:
> 
> Signed PGP part
> On 09.11.2015 0:46, Baptiste Daroussin wrote:
> >> Error Message:
> > printf("%'.4f", 12345678.0625) ==> [1,23,45,678.0625],
> > expected [123,456,78.0625]<>
> 
>  Looks like numericdef "grouping" handling problem...
> >>>
> >>> Seems like the issue is only with hi_IN.ISCII-DEV, I'll dig
> >>> into it
> >>
> >> Old FreeBSD hi_IN.ISCII-DEV locale uses 2;3 grouping. New
> >> hi_IN.UTF-8 locale use 3;2 grouping instead. I don't know what is
> >> right in India.
> >
> > About the locales we take the rules from http://cldr.unicode.org/
> > if there are issues they should be reported there! (note that those
> > rules are also used by the ICU project for examples.
> 
> According to https://en.wikipedia.org/wiki/Indian_numbering_system
> cldr is right, old FreeBSD and the test is wrong here.

Ok. If no one else beats me to this, I’ll fix the test sometime later on today 
after I upgrade my VM.
Thanks!
-NGie
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread Andrey Chernov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 09.11.2015 0:46, Baptiste Daroussin wrote:
>> Error Message:
> printf("%'.4f", 12345678.0625) ==> [1,23,45,678.0625],
> expected [123,456,78.0625]<>
 
 Looks like numericdef "grouping" handling problem...
>>> 
>>> Seems like the issue is only with hi_IN.ISCII-DEV, I'll dig
>>> into it
>> 
>> Old FreeBSD hi_IN.ISCII-DEV locale uses 2;3 grouping. New
>> hi_IN.UTF-8 locale use 3;2 grouping instead. I don't know what is
>> right in India.
> 
> About the locales we take the rules from http://cldr.unicode.org/
> if there are issues they should be reported there! (note that those
> rules are also used by the ICU project for examples.

According to https://en.wikipedia.org/wiki/Indian_numbering_system
cldr is right, old FreeBSD and the test is wrong here.

- -- 
http://ache.vniz.net/
-BEGIN PGP SIGNATURE-

iQEcBAEBCAAGBQJWP8gCAAoJEKUckv0MjfbKnXsIAIXvlY48Op9uTRd+k7KUe6s+
Npmtn+b0AN+3tA47DvhPPAyF6hIyBXaEN93U60We5jv99U+nO4Tq6pXVFfp8nh67
+H43shwt/wckcf4cOGvn+koPYNqlU9CYvbxfV8hlWGZ56YZehKlxWJRxD7iITRva
3qqYvVdbf6aSGVzBzuoXgzpMYD4z1/eT4WzYyE1/aCy5KB1UGKHi0/XeLwHCSx7G
p8k+lhC10OJt+ueDIVK6X53wvQK1F1aJMhPEP1gW5CSN+3c2eTqz2zIKQVAGLQmm
xo0aHaHpjyv1aKg1XHxglrpc7N/z0waSpDm9LVbwWm6Xq2g6288nmlV0oQkJjvg=
=H4nd
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread NGie Cooper

> On Nov 8, 2015, at 13:49, Baptiste Daroussin  wrote:
> 
> On Sun, Nov 08, 2015 at 01:27:28PM -0800, NGie Cooper wrote:
>> 
>>> On Nov 8, 2015, at 13:08, Baptiste Daroussin  wrote:
>>> 
>>> On Sun, Nov 08, 2015 at 11:10:58PM +0300, Andrey Chernov wrote:
>>>> On 08.11.2015 22:08, jenkins-ad...@freebsd.org wrote:
>>>>> FreeBSD_HEAD-tests - Build #1675 - Unstable:
>>>>> 
>>>>> Build information: 
>>>>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/
>>>>> Full change log: 
>>>>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/changes
>>>>> Full build log: 
>>>>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/console
>>>> ...
>>>>> FAILED:  
>>>>> lib.libc.stdio.printfloat_test.thousands_separator_and_other_locale_tests
>>>>> 
>>>>> Error Message:
>>>>> printf("%'.4f", 12345678.0625) ==> [1,23,45,678.0625], expected 
>>>>> [123,456,78.0625]<>
>>>> 
>>>> Looks like numericdef "grouping" handling problem...
>>> 
>>> Seems like the issue is only with hi_IN.ISCII-DEV, I'll dig into it
>> 
>> Sidenote: all of these tests work on amd64@r289441 (which is 2 weeks/1000 
>> revs behind, I know…). I intentionally integrated in a bunch of tests from 
>> tools/regression/lib/libc to catch any potential regressions that were 
>> checked in recently (especially in the locale space).
>> Thanks,
> 
> I would have appreciated a mail about this when I issued the call for 
> testing...

I wish I had remembered :/. Many people overlook the test cases in 
tools/regression; that’s why I’m working hard to integrate them in to the test 
suite — so they’re used again [on a regular basis].
Thanks,
-NGie
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread Baptiste Daroussin
On Sun, Nov 08, 2015 at 01:27:28PM -0800, NGie Cooper wrote:
> 
> > On Nov 8, 2015, at 13:08, Baptiste Daroussin  wrote:
> > 
> > On Sun, Nov 08, 2015 at 11:10:58PM +0300, Andrey Chernov wrote:
> >> On 08.11.2015 22:08, jenkins-ad...@freebsd.org wrote:
> >>> FreeBSD_HEAD-tests - Build #1675 - Unstable:
> >>> 
> >>> Build information: 
> >>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/
> >>> Full change log: 
> >>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/changes
> >>> Full build log: 
> >>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/console
> >> ...
> >>> FAILED:  
> >>> lib.libc.stdio.printfloat_test.thousands_separator_and_other_locale_tests
> >>> 
> >>> Error Message:
> >>> printf("%'.4f", 12345678.0625) ==> [1,23,45,678.0625], expected 
> >>> [123,456,78.0625]<>
> >> 
> >> Looks like numericdef "grouping" handling problem...
> > 
> > Seems like the issue is only with hi_IN.ISCII-DEV, I'll dig into it
> 
> Sidenote: all of these tests work on amd64@r289441 (which is 2 weeks/1000 
> revs behind, I know…). I intentionally integrated in a bunch of tests from 
> tools/regression/lib/libc to catch any potential regressions that were 
> checked in recently (especially in the locale space).
> Thanks,

I would have appreciated a mail about this when I issued the call for testing...

Bapt


signature.asc
Description: PGP signature


Re: FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread Baptiste Daroussin
On Mon, Nov 09, 2015 at 12:27:34AM +0300, Andrey Chernov wrote:
> On 09.11.2015 0:08, Baptiste Daroussin wrote:
> > On Sun, Nov 08, 2015 at 11:10:58PM +0300, Andrey Chernov wrote:
> >> On 08.11.2015 22:08, jenkins-ad...@freebsd.org wrote:
> >>> FreeBSD_HEAD-tests - Build #1675 - Unstable:
> >>> 
> >>> Build information:
> >>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/ Full
> >>> change log:
> >>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/changes
> >>>
> >>> 
> Full build log:
> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/console
> >> ...
> >>> FAILED:
> >>> lib.libc.stdio.printfloat_test.thousands_separator_and_other_locale_tests
> >>>
> >>>
> >>> 
> Error Message:
> >>> printf("%'.4f", 12345678.0625) ==> [1,23,45,678.0625], expected
> >>> [123,456,78.0625]<>
> >> 
> >> Looks like numericdef "grouping" handling problem...
> > 
> > Seems like the issue is only with hi_IN.ISCII-DEV, I'll dig into
> > it
> 
> Old FreeBSD hi_IN.ISCII-DEV locale uses 2;3 grouping. New hi_IN.UTF-8
> locale use 3;2 grouping instead. I don't know what is right in India.

About the locales we take the rules from http://cldr.unicode.org/ if there are
issues they should be reported there! (note that those rules are also used by
the ICU project for examples.
> 
> BTW, see other tests fails here in jenkins too, they looks related to
> locale changes.

I will look into them.

Bapt


signature.asc
Description: PGP signature


Re: FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread Andrey Chernov
On 09.11.2015 0:08, Baptiste Daroussin wrote:
> On Sun, Nov 08, 2015 at 11:10:58PM +0300, Andrey Chernov wrote:
>> On 08.11.2015 22:08, jenkins-ad...@freebsd.org wrote:
>>> FreeBSD_HEAD-tests - Build #1675 - Unstable:
>>> 
>>> Build information:
>>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/ Full
>>> change log:
>>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/changes
>>>
>>> 
Full build log:
https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/console
>> ...
>>> FAILED:
>>> lib.libc.stdio.printfloat_test.thousands_separator_and_other_locale_tests
>>>
>>>
>>> 
Error Message:
>>> printf("%'.4f", 12345678.0625) ==> [1,23,45,678.0625], expected
>>> [123,456,78.0625]<>
>> 
>> Looks like numericdef "grouping" handling problem...
> 
> Seems like the issue is only with hi_IN.ISCII-DEV, I'll dig into
> it

Old FreeBSD hi_IN.ISCII-DEV locale uses 2;3 grouping. New hi_IN.UTF-8
locale use 3;2 grouping instead. I don't know what is right in India.

BTW, see other tests fails here in jenkins too, they looks related to
locale changes.

-- 
http://ache.vniz.net/



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread NGie Cooper

> On Nov 8, 2015, at 13:08, Baptiste Daroussin  wrote:
> 
> On Sun, Nov 08, 2015 at 11:10:58PM +0300, Andrey Chernov wrote:
>> On 08.11.2015 22:08, jenkins-ad...@freebsd.org wrote:
>>> FreeBSD_HEAD-tests - Build #1675 - Unstable:
>>> 
>>> Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/
>>> Full change log: 
>>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/changes
>>> Full build log: 
>>> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/console
>> ...
>>> FAILED:  
>>> lib.libc.stdio.printfloat_test.thousands_separator_and_other_locale_tests
>>> 
>>> Error Message:
>>> printf("%'.4f", 12345678.0625) ==> [1,23,45,678.0625], expected 
>>> [123,456,78.0625]<>
>> 
>> Looks like numericdef "grouping" handling problem...
> 
> Seems like the issue is only with hi_IN.ISCII-DEV, I'll dig into it

Sidenote: all of these tests work on amd64@r289441 (which is 2 weeks/1000 revs 
behind, I know…). I intentionally integrated in a bunch of tests from 
tools/regression/lib/libc to catch any potential regressions that were checked 
in recently (especially in the locale space).
Thanks,
-NGie
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread Baptiste Daroussin
On Sun, Nov 08, 2015 at 11:10:58PM +0300, Andrey Chernov wrote:
> On 08.11.2015 22:08, jenkins-ad...@freebsd.org wrote:
> > FreeBSD_HEAD-tests - Build #1675 - Unstable:
> > 
> > Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/
> > Full change log: 
> > https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/changes
> > Full build log: 
> > https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/console
> ...
> > FAILED:  
> > lib.libc.stdio.printfloat_test.thousands_separator_and_other_locale_tests
> > 
> > Error Message:
> > printf("%'.4f", 12345678.0625) ==> [1,23,45,678.0625], expected 
> > [123,456,78.0625]<>
> 
> Looks like numericdef "grouping" handling problem...

Seems like the issue is only with hi_IN.ISCII-DEV, I'll dig into it

Best regards,
Bapt


signature.asc
Description: PGP signature


Re: FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread Andrey Chernov
On 08.11.2015 22:08, jenkins-ad...@freebsd.org wrote:
> FreeBSD_HEAD-tests - Build #1675 - Unstable:
> 
> Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/
> Full change log: 
> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/changes
> Full build log: 
> https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/console
...
> FAILED:  
> lib.libc.stdio.printfloat_test.thousands_separator_and_other_locale_tests
> 
> Error Message:
> printf("%'.4f", 12345678.0625) ==> [1,23,45,678.0625], expected 
> [123,456,78.0625]<>

Looks like numericdef "grouping" handling problem...

-- 
http://ache.vniz.net/
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


FreeBSD_HEAD-tests - Build #1675 - Unstable

2015-11-08 Thread jenkins-admin
FreeBSD_HEAD-tests - Build #1675 - Unstable:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1675/console

Change summaries:

No changes


The failed test cases:

6 tests failed.
FAILED:  bin.sh.builtins.functional_test.case7

Error Message:
atf-check failed; see the output of the test for details

FAILED:  bin.sh.builtins.functional_test.locale1

Error Message:
atf-check failed; see the output of the test for details

FAILED:  lib.libc.locale.c16rtomb_test.c16rtomb_test

Error Message:
Premature exit; test case received signal 11 (core dumped)

FAILED:  lib.libc.locale.mbrtoc16_test.mbrtoc16_test

Error Message:
Premature exit; test case received signal 11 (core dumped)

FAILED:  lib.libc.stdio.print_positional_test.__test_cases_list__

Error Message:
Tester did not exit cleanly: kyua-atf-tester: Invalid test cases list header 
'1..4'

FAILED:  
lib.libc.stdio.printfloat_test.thousands_separator_and_other_locale_tests

Error Message:
printf("%'.4f", 12345678.0625) ==> [1,23,45,678.0625], expected 
[123,456,78.0625]<>

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"