Bug#903006: Indeterminacy issues with import-nonnative and import-tarbomb tests

2018-07-05 Thread Ian Jackson
Sean Whitton writes ("Re: Bug#903006: Indeterminacy issues with 
import-nonnative and import-tarbomb tests"):
> swhitton@zephyr:~/src/dgit>locale
> LANG=en_GB.UTF-8
> LANGUAGE=en_GB.UTF-8
> LC_CTYPE="en_GB.UTF-8"
> LC_NUMERIC="en_GB.UTF-8"
> LC_TIME="en_GB.UTF-8"
> LC_COLLATE="en_GB.UTF-8"
> LC_MONETARY="en_GB.UTF-8"
> LC_MESSAGES="en_GB.UTF-8"
> LC_PAPER="en_GB.UTF-8"
> LC_NAME="en_GB.UTF-8"
> LC_ADDRESS="en_GB.UTF-8"
> LC_TELEPHONE="en_GB.UTF-8"
> LC_MEASUREMENT="en_GB.UTF-8"
> LC_IDENTIFICATION="en_GB.UTF-8"
> LC_ALL=
> 
> ... which is surely the same as yours?

No, my usual locale is C.UTF-8.  I can't stand non-C LC_COLLATE.
Anyway, I think I have fixed it.

However, there is something else *very odd* going on which I need to
investigate before I upload.

Ian.

-- 
Ian JacksonThese opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.



Bug#903006: Indeterminacy issues with import-nonnative and import-tarbomb tests

2018-07-05 Thread Sean Whitton
Hello,

On Wed, Jul 04 2018, Ian Jackson wrote:

> Control: tags -1 confirmed
> Control: usertags -1 rsn
>
> Sean Whitton writes ("Bug#903006: Indeterminacy issues with import-nonnative 
> and import-tarbomb tests"):
>> On my machine, outside of autopkgtest only, these tests are failing
>> because of something to do with file ordering:
>
> I have reproduced an apparently-similar bug by running the tests with
>   LC_COLLATE=en_US.UTF-8
>
> It's not quite identical though.  What is your locale ?
> Ie, output of locale(1).

swhitton@zephyr:~/src/dgit>locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

... which is surely the same as yours?

-- 
Sean Whitton



Bug#903006: Indeterminacy issues with import-nonnative and import-tarbomb tests

2018-07-04 Thread Ian Jackson
Control: tags -1 confirmed
Control: usertags -1 rsn

Sean Whitton writes ("Bug#903006: Indeterminacy issues with import-nonnative 
and import-tarbomb tests"):
> On my machine, outside of autopkgtest only, these tests are failing
> because of something to do with file ordering:

I have reproduced an apparently-similar bug by running the tests with
  LC_COLLATE=en_US.UTF-8

It's not quite identical though.  What is your locale ?
Ie, output of locale(1).

Ian.



Bug#903006: Indeterminacy issues with import-nonnative and import-tarbomb tests

2018-07-04 Thread Sean Whitton
Source: dgit
Version: 5.6
Severity: normal

On my machine, outside of autopkgtest only, these tests are failing
because of something to do with file ordering:

I used these commands:

swhitton@zephyr:~/src/dgit>DGIT_DRS_DEBUG=2 DGIT_TEST_DEBUG=-DD 
tests/using-intree tests/tests/import-tarbomb

swhitton@zephyr:~/src/dgit>DGIT_DRS_DEBUG=2 DGIT_TEST_DEBUG=-DD 
tests/using-intree tests/tests/import-nonnative

and here is the tail of the output:

import-tarbomb:

+ git ls-tree -r --name-only 3bcfe9c1354089cb84a0e112aaac39d8cb2e9c99:
+ sort
+ diff ../files.o ../files.g
1,4d0
< .gitignore
< COPYING
< Makefile
< README
12d7
< boot_head.S
13a9
> boot_head.S
15a12,13
> COPYING
> fel.c
22d19
< fel.c
24a22
> .gitignore
27d24
< jtag-loop.S
29a27,28
> jtag-loop.S
> Makefile
33d31
< nand-part-main.c
34a33
> nand-part-main.c
37,38c36
< script.c
< script.h
---
> README
40a39
> script.c
42a42
> script.h
+ test 1 = 0
+ t-report-failure
+ set +x
TEST FAILED

import-nonnative:

+ git ls-tree -r --name-only 3bcfe9c1354089cb84a0e112aaac39d8cb2e9c99:
+ sort
+ diff ../files.o ../files.g
1,4d0
< .gitignore
< COPYING
< Makefile
< README
12d7
< boot_head.S
13a9
> boot_head.S
15a12,13
> COPYING
> fel.c
22d19
< fel.c
24a22
> .gitignore
27d24
< jtag-loop.S
29a27,28
> jtag-loop.S
> Makefile
33d31
< nand-part-main.c
34a33
> nand-part-main.c
37,38c36
< script.c
< script.h
---
> README
40a39
> script.c
42a42
> script.h
+ test 1 = 0
+ t-report-failure
+ set +x
TEST FAILED

I can provide the full logs by private mail if that's needed; I'd prefer
not to post publically as it's possible they'll contain info about my
machine.

-- 
Sean Whitton


signature.asc
Description: PGP signature