[Debian-med-packaging] Bug#851658: ffindex: autopkgtests need 6GB of memory to run

Graham Inggs ginggs at debian.org
Tue Jan 17 12:52:45 UTC 2017


The autopkgtests still seem a bit racy though, so let's investigate 
further before uploading.

Sometimes I get this (and the test passes):

autopkgtest [12:27:15]: test run-unit-test: [-----------------------
+ ffindex_build ./test.data ./test.ffindex ./data ./data2
+ tee ./test.out
+ ffindex_get ./test.data ./test.ffindex a b foo
a
bb
fooo
fooo
+ ffindex_modify -u ./test.ffindex b
+ tee ./test-unlink.out
+ ffindex_get ./test.data ./test.ffindex a b foo
a
fooo
fooo
ffindex_get.c:150 ffindex_get key not found in index: b: No such file or 
directory
+ rm -f ./test.data ./test.ffindex
+ ffindex_build ./test.data ./test.ffindex ./testfile
======== compare results =========
+ echo ======== compare results =========
+ diff ./test.out ./test.should
+ diff ./test-unlink.out ./test-unlink.should
PASS
+ echo PASS

...and sometimes I get this (and the test fails):

autopkgtest [12:30:08]: test run-unit-test: [-----------------------
+ ffindex_build ./test.data ./test.ffindex ./data ./data2
+ ffindex_get ./test.data ./test.ffindex a b foo
+ tee ./test.out
ffindex_get.c:150 ffindex_get key not found in index: b: No such file or 
directory
a
fooo
fooo
+ ffindex_modify -u ./test.ffindex b
+ ffindex_get ./test.data ./test.ffindex a b foo
+ tee ./test-unlink.out
ffindex_get.c:150 ffindex_get key not found in index: b: No such file or 
directory
a
fooo
fooo
+ rm -f ./test.data ./test.ffindex
+ ffindex_build ./test.data ./test.ffindex ./testfile
+ echo ======== compare results =========
+ diff ./test.out ./test.should
======== compare results =========
1a2
 > bb



More information about the Debian-med-packaging mailing list