[pkg-go] Bug#923822: golang-github-posener-complete: FTBFS randomly (failing tests)

Santiago Vila sanvila at debian.org
Tue Mar 5 19:09:45 GMT 2019


Package: src:golang-github-posener-complete
Version: 1.1+git20180108.57878c9-3
Severity: important
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=golang --with=golang
   dh_update_autotools_config -i -O--buildsystem=golang
   dh_autoreconf -i -O--buildsystem=golang
   dh_auto_configure -i -O--buildsystem=golang
   dh_auto_build -i -O--buildsystem=golang
	cd obj-x86_64-linux-gnu && go install -gcflags=all=\"-trimpath=/<<BUILDDIR>>/golang-github-posener-complete-1.1\+git20180108.57878c9/obj-x86_64-linux-gnu/src\" -asmflags=all=\"-trimpath=/<<BUILDDIR>>/golang-github-posener-complete-1.1\+git20180108.57878c9/obj-x86_64-linux-gnu/src\" -v -p 2 github.com/posener/complete github.com/posener/complete/cmd github.com/posener/complete/cmd/install github.com/posener/complete/match
errors
internal/race
internal/cpu
runtime/internal/atomic
runtime/internal/sys
internal/bytealg
sync/atomic
math
runtime
internal/testlog
math/bits
unicode/utf8
strconv
unicode
runtime/cgo
sync
io
syscall
reflect
time
internal/poll
internal/syscall/unix
os
sort
strings
fmt
bytes
bufio
flag
github.com/hashicorp/errwrap
github.com/hashicorp/go-multierror
path/filepath
os/user
io/ioutil
net/url
text/template/parse
text/template
github.com/posener/complete/match
log
github.com/posener/complete/cmd/install
github.com/posener/complete/cmd
github.com/posener/complete
   dh_auto_test -i -O--buildsystem=golang
	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 2 github.com/posener/complete github.com/posener/complete/cmd github.com/posener/complete/cmd/install github.com/posener/complete/match
=== RUN   TestArgs
=== PAUSE TestArgs
=== RUN   TestArgs_From
=== PAUSE TestArgs_From
=== RUN   TestArgs_Directory
=== PAUSE TestArgs_Directory
=== RUN   TestCompleter_Complete
=== PAUSE TestCompleter_Complete
=== RUN   TestCompleter_Complete_SharedPrefix
=== PAUSE TestCompleter_Complete_SharedPrefix
=== RUN   TestPredicate
=== PAUSE TestPredicate
=== CONT  TestArgs
=== CONT  TestCompleter_Complete_SharedPrefix
=== RUN   TestArgs/a_b_c
=== RUN   TestCompleter_Complete_SharedPrefix/#00
=== RUN   TestArgs/a_b_
=== RUN   TestArgs/#00
=== RUN   TestArgs/a
=== RUN   TestArgs/a_
complete 2019/03/05 15:43:24 Completing line: cmd 
complete 2019/03/05 15:43:24 Completing last field: 
--- PASS: TestArgs (0.00s)
    --- PASS: TestArgs/a_b_c (0.00s)
    --- PASS: TestArgs/a_b_ (0.00s)
    --- PASS: TestArgs/#00 (0.00s)
    --- PASS: TestArgs/a (0.00s)
    --- PASS: TestArgs/a_ (0.00s)
=== CONT  TestCompleter_Complete
complete 2019/03/05 15:43:24 Options: [status job]
complete 2019/03/05 15:43:24 Matches: [status job]
=== RUN   TestCompleter_Complete/#00
=== RUN   TestCompleter_Complete_SharedPrefix/-
complete 2019/03/05 15:43:24 Completing line: cmd -
complete 2019/03/05 15:43:24 Completing last field: -
complete 2019/03/05 15:43:24 Completing line: cmd -
complete 2019/03/05 15:43:24 Completing last field: -
complete 2019/03/05 15:43:24 Options: [-h -global1 sub1 sub2 -o]
complete 2019/03/05 15:43:24 Matches: [-h -global1 -o]
complete 2019/03/05 15:43:24 Options: [-global1 -h status job -o]
=== RUN   TestCompleter_Complete/-
complete 2019/03/05 15:43:24 Matches: [-global1 -h -o]
complete 2019/03/05 15:43:24 Completing line: cmd -
complete 2019/03/05 15:43:24 Completing last field: -
=== RUN   TestCompleter_Complete_SharedPrefix/j
complete 2019/03/05 15:43:24 Options: [-h -global1 sub1 sub2 -o]
complete 2019/03/05 15:43:24 Matches: [-h -global1 -o]
complete 2019/03/05 15:43:24 Completing line: cmd j
=== RUN   TestCompleter_Complete/-h_
complete 2019/03/05 15:43:24 Completing last field: j
complete 2019/03/05 15:43:24 Options: [status job]
complete 2019/03/05 15:43:24 Matches: [job]
complete 2019/03/05 15:43:24 Completing line: cmd -h 
complete 2019/03/05 15:43:24 Completing last field: 
=== RUN   TestCompleter_Complete_SharedPrefix/job_
complete 2019/03/05 15:43:24 Options: [sub1 sub2]
complete 2019/03/05 15:43:24 Matches: [sub1 sub2]
complete 2019/03/05 15:43:24 Completing line: cmd job 
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Options: [status]
=== RUN   TestCompleter_Complete/-global1_
complete 2019/03/05 15:43:24 Matches: [status]
=== RUN   TestCompleter_Complete_SharedPrefix/job_-
complete 2019/03/05 15:43:24 Completing line: cmd -global1 
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Predicting according to global flag -global1
complete 2019/03/05 15:43:24 Completing line: cmd job -
complete 2019/03/05 15:43:24 Completing last field: -
complete 2019/03/05 15:43:24 Options: [status -h -global1]
complete 2019/03/05 15:43:24 Matches: [-h -global1]
complete 2019/03/05 15:43:24 Options: []
=== RUN   TestCompleter_Complete_SharedPrefix/job_status_
complete 2019/03/05 15:43:24 Matches: []
complete 2019/03/05 15:43:24 Completing line: cmd job status 
=== RUN   TestCompleter_Complete/sub
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Options: []
complete 2019/03/05 15:43:24 Matches: []
=== RUN   TestCompleter_Complete_SharedPrefix/job_status_-
complete 2019/03/05 15:43:24 Completing line: cmd job status -
complete 2019/03/05 15:43:24 Completing last field: -
complete 2019/03/05 15:43:24 Options: [-f4 -h -global1]
complete 2019/03/05 15:43:24 Matches: [-f4 -h -global1]
--- PASS: TestCompleter_Complete_SharedPrefix (0.00s)
    --- PASS: TestCompleter_Complete_SharedPrefix/#00 (0.00s)
    --- PASS: TestCompleter_Complete_SharedPrefix/- (0.00s)
    --- PASS: TestCompleter_Complete_SharedPrefix/j (0.00s)
    --- PASS: TestCompleter_Complete_SharedPrefix/job_ (0.00s)
    --- PASS: TestCompleter_Complete_SharedPrefix/job_- (0.00s)
    --- PASS: TestCompleter_Complete_SharedPrefix/job_status_ (0.00s)
    --- PASS: TestCompleter_Complete_SharedPrefix/job_status_- (0.00s)
=== CONT  TestArgs_Directory
complete 2019/03/05 15:43:24 Completing line: cmd sub
=== RUN   TestArgs_Directory/a_b_c
complete 2019/03/05 15:43:24 Completing last field: sub
complete 2019/03/05 15:43:24 Options: [sub2 sub1]
complete 2019/03/05 15:43:24 Matches: [sub2 sub1]
=== RUN   TestCompleter_Complete/sub1
complete 2019/03/05 15:43:24 Completing line: cmd sub1
complete 2019/03/05 15:43:24 Completing last field: sub1
complete 2019/03/05 15:43:24 Options: [sub1 sub2]
complete 2019/03/05 15:43:24 Matches: [sub1]
=== RUN   TestCompleter_Complete/sub2
complete 2019/03/05 15:43:24 Completing line: cmd sub2
complete 2019/03/05 15:43:24 Completing last field: sub2
complete 2019/03/05 15:43:24 Options: [sub1 sub2]
complete 2019/03/05 15:43:24 Matches: [sub2]
=== RUN   TestCompleter_Complete/sub1_
complete 2019/03/05 15:43:24 Completing line: cmd sub1 
=== RUN   TestArgs_Directory/a_b_c_/tm
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Options: []
complete 2019/03/05 15:43:24 Matches: []
=== RUN   TestCompleter_Complete/sub1_-
complete 2019/03/05 15:43:24 Completing line: cmd sub1 -
complete 2019/03/05 15:43:24 Completing last field: -
complete 2019/03/05 15:43:24 Options: [-flag1 -flag2 -global1 -h]
complete 2019/03/05 15:43:24 Matches: [-flag1 -flag2 -global1 -h]
=== RUN   TestArgs_Directory/a_b_c_/tmp
=== RUN   TestCompleter_Complete/sub2_
complete 2019/03/05 15:43:24 Completing line: cmd sub2 
complete 2019/03/05 15:43:24 Completing last field: 
=== RUN   TestArgs_Directory/a_b_c_/tmp_
=== RUN   TestArgs_Directory/a_b_c_./
=== RUN   TestArgs_Directory/a_b_c_./dir
=== RUN   TestArgs_Directory/a_b_c_dir
=== RUN   TestArgs_Directory/a_b_c_./di
=== RUN   TestArgs_Directory/a_b_c_./dir_
complete 2019/03/05 15:43:24 Options: [outer/ readme.md dir/ ./]
=== RUN   TestArgs_Directory/a_b_c_./di#01
complete 2019/03/05 15:43:24 Matches: [outer/ readme.md dir/ ./]
=== RUN   TestCompleter_Complete/sub2_./
complete 2019/03/05 15:43:24 Completing line: cmd sub2 ./
complete 2019/03/05 15:43:24 Completing last field: ./
=== RUN   TestArgs_Directory/a_b_c_./a.txt
=== RUN   TestArgs_Directory/a_b_c_./a.txt/x
--- PASS: TestArgs_Directory (0.00s)
    --- PASS: TestArgs_Directory/a_b_c (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_/tm (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_/tmp (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_/tmp_ (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_./ (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_./dir (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_dir (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_./di (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_./dir_ (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_./di#01 (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_./a.txt (0.00s)
    --- PASS: TestArgs_Directory/a_b_c_./a.txt/x (0.00s)
=== CONT  TestArgs_From
=== RUN   TestArgs_From/a_b_c/0
=== RUN   TestArgs_From/a_b_c/1
=== RUN   TestArgs_From/a_b_c/2
=== RUN   TestArgs_From/a_b_c/3
=== RUN   TestArgs_From/a_b_c_/0
=== RUN   TestArgs_From/a_b_c_/1
=== RUN   TestArgs_From/a_b_c_/2
complete 2019/03/05 15:43:24 Options: [./readme.md ./dir/ ./outer/ ./]
=== RUN   TestArgs_From//0
complete 2019/03/05 15:43:24 Matches: [./readme.md ./dir/ ./outer/ ./]
=== RUN   TestCompleter_Complete/sub2_re
complete 2019/03/05 15:43:24 Completing line: cmd sub2 re
complete 2019/03/05 15:43:24 Completing last field: re
=== RUN   TestArgs_From//1
--- PASS: TestArgs_From (0.00s)
    --- PASS: TestArgs_From/a_b_c/0 (0.00s)
    --- PASS: TestArgs_From/a_b_c/1 (0.00s)
    --- PASS: TestArgs_From/a_b_c/2 (0.00s)
    --- PASS: TestArgs_From/a_b_c/3 (0.00s)
    --- PASS: TestArgs_From/a_b_c_/0 (0.00s)
    --- PASS: TestArgs_From/a_b_c_/1 (0.00s)
    --- PASS: TestArgs_From/a_b_c_/2 (0.00s)
    --- PASS: TestArgs_From//0 (0.00s)
    --- PASS: TestArgs_From//1 (0.00s)
=== CONT  TestPredicate
=== RUN   TestPredicate/set/arg=
=== RUN   TestPredicate/set/empty/arg=
complete 2019/03/05 15:43:24 Options: [readme.md]
complete 2019/03/05 15:43:24 Matches: [readme.md]
=== RUN   TestCompleter_Complete/sub2_./re
complete 2019/03/05 15:43:24 Completing line: cmd sub2 ./re
complete 2019/03/05 15:43:24 Completing last field: ./re
=== RUN   TestPredicate/anything/arg=
=== RUN   TestPredicate/or:_word_with_nil/arg=
=== RUN   TestPredicate/or:_nil_with_word/arg=
=== RUN   TestPredicate/or:_nil_with_nil/arg=
=== RUN   TestPredicate/or:_word_with_word_with_word/arg=
complete 2019/03/05 15:43:24 Options: [./readme.md]
complete 2019/03/05 15:43:24 Matches: [./readme.md]
=== RUN   TestCompleter_Complete/sub2_-flag2_
complete 2019/03/05 15:43:24 Completing line: cmd sub2 -flag2 
complete 2019/03/05 15:43:24 Completing last field: 
=== RUN   TestPredicate/files/txt/arg=
complete 2019/03/05 15:43:24 Options: [dir/ outer/ readme.md ./]
complete 2019/03/05 15:43:24 Matches: [dir/ outer/ readme.md ./]
=== RUN   TestCompleter_Complete/sub1_-fl
complete 2019/03/05 15:43:24 Completing line: cmd sub1 -fl
complete 2019/03/05 15:43:24 Completing last field: -fl
complete 2019/03/05 15:43:24 Options: [-flag2 -flag1 -global1 -h]
complete 2019/03/05 15:43:24 Matches: [-flag2 -flag1]
=== RUN   TestCompleter_Complete/sub1_-flag1
complete 2019/03/05 15:43:24 Completing line: cmd sub1 -flag1
complete 2019/03/05 15:43:24 Completing last field: -flag1
complete 2019/03/05 15:43:24 Options: [-flag1 -flag2 -h -global1]
complete 2019/03/05 15:43:24 Matches: [-flag1]
=== RUN   TestCompleter_Complete/sub1_-flag1_
complete 2019/03/05 15:43:24 Completing line: cmd sub1 -flag1 
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Predicting according to flag -flag1
complete 2019/03/05 15:43:24 Options: []
complete 2019/03/05 15:43:24 Matches: []
=== RUN   TestCompleter_Complete/sub1_-flag2_-
complete 2019/03/05 15:43:24 Completing line: cmd sub1 -flag2 -
complete 2019/03/05 15:43:24 Completing last field: -
complete 2019/03/05 15:43:24 Options: [-flag1 -flag2 -h -global1]
complete 2019/03/05 15:43:24 Matches: [-flag1 -flag2 -h -global1]
=== RUN   TestCompleter_Complete/-no-such-flag
complete 2019/03/05 15:43:24 Completing line: cmd -no-such-flag
complete 2019/03/05 15:43:24 Completing last field: -no-such-flag
complete 2019/03/05 15:43:24 Options: [-h -global1 sub1 sub2 -o]
complete 2019/03/05 15:43:24 Matches: []
=== RUN   TestCompleter_Complete/-no-such-flag_
complete 2019/03/05 15:43:24 Completing line: cmd -no-such-flag 
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Options: [sub1 sub2]
complete 2019/03/05 15:43:24 Matches: [sub1 sub2]
=== RUN   TestCompleter_Complete/-no-such-flag_-
complete 2019/03/05 15:43:24 Completing line: cmd -no-such-flag -
complete 2019/03/05 15:43:24 Completing last field: -
complete 2019/03/05 15:43:24 Options: [-global1 -h sub1 sub2 -o]
complete 2019/03/05 15:43:24 Matches: [-global1 -h -o]
=== RUN   TestCompleter_Complete/no-such-command
complete 2019/03/05 15:43:24 Completing line: cmd no-such-command
complete 2019/03/05 15:43:24 Completing last field: no-such-command
complete 2019/03/05 15:43:24 Options: [sub1 sub2]
complete 2019/03/05 15:43:24 Matches: []
=== RUN   TestCompleter_Complete/no-such-command_
complete 2019/03/05 15:43:24 Completing line: cmd no-such-command 
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Options: [sub1 sub2]
complete 2019/03/05 15:43:24 Matches: [sub1 sub2]
=== RUN   TestCompleter_Complete/-o_
complete 2019/03/05 15:43:24 Completing line: cmd -o 
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Predicting according to flag -o
=== RUN   TestPredicate/files/txt/arg=./dir/
complete 2019/03/05 15:43:24 Options: [b.txt c.txt dir/ outer/ .dot.txt a.txt ./]
complete 2019/03/05 15:43:24 Matches: [b.txt c.txt dir/ outer/ .dot.txt a.txt ./]
=== RUN   TestCompleter_Complete/-o_./no-su
complete 2019/03/05 15:43:24 Completing line: cmd -o ./no-su
complete 2019/03/05 15:43:24 Completing last field: ./no-su
complete 2019/03/05 15:43:24 Predicting according to flag -o
complete 2019/03/05 15:43:24 Options: []
complete 2019/03/05 15:43:24 Matches: []
=== RUN   TestCompleter_Complete/-o_./
complete 2019/03/05 15:43:24 Completing line: cmd -o ./
complete 2019/03/05 15:43:24 Completing last field: ./
complete 2019/03/05 15:43:24 Predicting according to flag -o
=== RUN   TestPredicate/complete_files_inside_dir_if_it_is_the_only_match/arg=./dir/
=== RUN   TestPredicate/complete_files_inside_dir_if_it_is_the_only_match/arg=./d
complete 2019/03/05 15:43:24 Options: [./.dot.txt ./a.txt ./b.txt ./c.txt ./dir/ ./outer/ ./]
complete 2019/03/05 15:43:24 Matches: [./.dot.txt ./a.txt ./b.txt ./c.txt ./dir/ ./outer/ ./]
=== RUN   TestCompleter_Complete/-o=./
complete 2019/03/05 15:43:24 Completing line: cmd -o=./
complete 2019/03/05 15:43:24 Completing last field: ./
complete 2019/03/05 15:43:24 Predicting according to flag -o
complete 2019/03/05 15:43:24 Options: [./.dot.txt ./a.txt ./b.txt ./c.txt ./dir/ ./outer/ ./]
complete 2019/03/05 15:43:24 Matches: [./.dot.txt ./a.txt ./b.txt ./c.txt ./dir/ ./outer/ ./]
=== RUN   TestCompleter_Complete/-o_.
complete 2019/03/05 15:43:24 Completing line: cmd -o .
complete 2019/03/05 15:43:24 Completing last field: .
complete 2019/03/05 15:43:24 Predicting according to flag -o
=== RUN   TestPredicate/complete_files_inside_dir_when_argList_includes_file_name/arg=./dir/f
complete 2019/03/05 15:43:24 Options: [./.dot.txt ./a.txt ./b.txt ./c.txt ./dir/ ./outer/ ./]
complete 2019/03/05 15:43:24 Matches: [./.dot.txt ./a.txt ./b.txt ./c.txt ./dir/ ./outer/ ./]
=== RUN   TestCompleter_Complete/-o_./b
complete 2019/03/05 15:43:24 Completing line: cmd -o ./b
complete 2019/03/05 15:43:24 Completing last field: ./b
complete 2019/03/05 15:43:24 Predicting according to flag -o
=== RUN   TestPredicate/complete_files_inside_dir_when_argList_includes_file_name/arg=./dir/foo
complete 2019/03/05 15:43:24 Options: [./b.txt]
complete 2019/03/05 15:43:24 Matches: [./b.txt]
=== RUN   TestCompleter_Complete/-o=./b
complete 2019/03/05 15:43:24 Completing line: cmd -o=./b
complete 2019/03/05 15:43:24 Completing last field: ./b
complete 2019/03/05 15:43:24 Predicting according to flag -o
=== RUN   TestPredicate/files/md/arg=
complete 2019/03/05 15:43:24 Options: [./b.txt]
complete 2019/03/05 15:43:24 Matches: [./b.txt]
=== RUN   TestCompleter_Complete/-o_./read
complete 2019/03/05 15:43:24 Completing line: cmd -o ./read
complete 2019/03/05 15:43:24 Completing last field: ./read
complete 2019/03/05 15:43:24 Predicting according to flag -o
=== RUN   TestPredicate/files/md_with_./_prefix/arg=.
complete 2019/03/05 15:43:24 Options: []
=== RUN   TestPredicate/files/md_with_./_prefix/arg=./
complete 2019/03/05 15:43:24 Matches: []
=== RUN   TestCompleter_Complete/-o=./read
complete 2019/03/05 15:43:24 Completing line: cmd -o=./read
complete 2019/03/05 15:43:24 Completing last field: ./read
complete 2019/03/05 15:43:24 Predicting according to flag -o
=== RUN   TestPredicate/dirs/arg=di
complete 2019/03/05 15:43:24 Options: []
complete 2019/03/05 15:43:24 Matches: []
=== RUN   TestCompleter_Complete/-o_./readme.md
complete 2019/03/05 15:43:24 Completing line: cmd -o ./readme.md
complete 2019/03/05 15:43:24 Completing last field: ./readme.md
complete 2019/03/05 15:43:24 Predicting according to flag -o
complete 2019/03/05 15:43:24 Options: []
complete 2019/03/05 15:43:24 Matches: []
=== RUN   TestCompleter_Complete/-o_./readme.md_
complete 2019/03/05 15:43:24 Completing line: cmd -o ./readme.md 
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Options: [sub1 sub2]
complete 2019/03/05 15:43:24 Matches: [sub1 sub2]
=== RUN   TestCompleter_Complete/-o=./readme.md_
complete 2019/03/05 15:43:24 Completing line: cmd -o=./readme.md 
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Options: [sub2 sub1]
complete 2019/03/05 15:43:24 Matches: [sub2 sub1]
=== RUN   TestCompleter_Complete/-o_sub2_-flag3_
complete 2019/03/05 15:43:24 Completing line: cmd -o sub2 -flag3 
complete 2019/03/05 15:43:24 Completing last field: 
complete 2019/03/05 15:43:24 Predicting according to flag -flag3
complete 2019/03/05 15:43:24 Options: [opt1 opt2 opt12]
complete 2019/03/05 15:43:24 Matches: [opt1 opt2 opt12]
=== RUN   TestCompleter_Complete/-o_sub2_-flag3_opt1
complete 2019/03/05 15:43:24 Completing line: cmd -o sub2 -flag3 opt1
complete 2019/03/05 15:43:24 Completing last field: opt1
complete 2019/03/05 15:43:24 Predicting according to flag -flag3
complete 2019/03/05 15:43:24 Options: [opt1 opt2 opt12]
complete 2019/03/05 15:43:24 Matches: [opt1 opt12]
=== RUN   TestCompleter_Complete/-o_sub2_-flag3_opt
complete 2019/03/05 15:43:24 Completing line: cmd -o sub2 -flag3 opt
complete 2019/03/05 15:43:24 Completing last field: opt
complete 2019/03/05 15:43:24 Predicting according to flag -flag3
complete 2019/03/05 15:43:24 Options: [opt1 opt2 opt12]
complete 2019/03/05 15:43:24 Matches: [opt1 opt2 opt12]
--- FAIL: TestCompleter_Complete (0.01s)
    --- FAIL: TestCompleter_Complete/#00 (0.00s)
        complete_test.go:207: failed 'TestCompleter_Complete/#00'
            got: [-global1 -h -o]
            want: [sub1 sub2]
    --- PASS: TestCompleter_Complete/- (0.00s)
    --- PASS: TestCompleter_Complete/-h_ (0.00s)
    --- PASS: TestCompleter_Complete/-global1_ (0.00s)
    --- PASS: TestCompleter_Complete/sub (0.00s)
    --- PASS: TestCompleter_Complete/sub1 (0.00s)
    --- PASS: TestCompleter_Complete/sub2 (0.00s)
    --- PASS: TestCompleter_Complete/sub1_ (0.00s)
    --- PASS: TestCompleter_Complete/sub1_- (0.00s)
    --- PASS: TestCompleter_Complete/sub2_ (0.00s)
    --- PASS: TestCompleter_Complete/sub2_./ (0.00s)
    --- PASS: TestCompleter_Complete/sub2_re (0.00s)
    --- PASS: TestCompleter_Complete/sub2_./re (0.00s)
    --- PASS: TestCompleter_Complete/sub2_-flag2_ (0.00s)
    --- PASS: TestCompleter_Complete/sub1_-fl (0.00s)
    --- PASS: TestCompleter_Complete/sub1_-flag1 (0.00s)
    --- PASS: TestCompleter_Complete/sub1_-flag1_ (0.00s)
    --- PASS: TestCompleter_Complete/sub1_-flag2_- (0.00s)
    --- PASS: TestCompleter_Complete/-no-such-flag (0.00s)
    --- PASS: TestCompleter_Complete/-no-such-flag_ (0.00s)
    --- PASS: TestCompleter_Complete/-no-such-flag_- (0.00s)
    --- PASS: TestCompleter_Complete/no-such-command (0.00s)
    --- PASS: TestCompleter_Complete/no-such-command_ (0.00s)
    --- PASS: TestCompleter_Complete/-o_ (0.00s)
    --- PASS: TestCompleter_Complete/-o_./no-su (0.00s)
    --- PASS: TestCompleter_Complete/-o_./ (0.00s)
    --- PASS: TestCompleter_Complete/-o=./ (0.00s)
    --- PASS: TestCompleter_Complete/-o_. (0.00s)
    --- PASS: TestCompleter_Complete/-o_./b (0.00s)
    --- PASS: TestCompleter_Complete/-o=./b (0.00s)
    --- PASS: TestCompleter_Complete/-o_./read (0.00s)
    --- PASS: TestCompleter_Complete/-o=./read (0.00s)
    --- PASS: TestCompleter_Complete/-o_./readme.md (0.00s)
    --- PASS: TestCompleter_Complete/-o_./readme.md_ (0.00s)
    --- PASS: TestCompleter_Complete/-o=./readme.md_ (0.00s)
    --- PASS: TestCompleter_Complete/-o_sub2_-flag3_ (0.00s)
    --- PASS: TestCompleter_Complete/-o_sub2_-flag3_opt1 (0.00s)
    --- PASS: TestCompleter_Complete/-o_sub2_-flag3_opt (0.00s)
=== RUN   TestPredicate/dirs/arg=dir
=== RUN   TestPredicate/dirs/arg=dir/
=== RUN   TestPredicate/dirs_with_./_prefix/arg=./di
=== RUN   TestPredicate/dirs_with_./_prefix/arg=./dir
=== RUN   TestPredicate/dirs_with_./_prefix/arg=./dir/
=== RUN   TestPredicate/predict_anything_in_dir/arg=dir
=== RUN   TestPredicate/predict_anything_in_dir/arg=dir/
=== RUN   TestPredicate/predict_anything_in_dir/arg=di
=== RUN   TestPredicate/predict_anything_in_dir_with_./_prefix/arg=./dir
=== RUN   TestPredicate/predict_anything_in_dir_with_./_prefix/arg=./dir/
=== RUN   TestPredicate/predict_anything_in_dir_with_./_prefix/arg=./di
=== RUN   TestPredicate/root_directories/arg=
=== RUN   TestPredicate/root_directories_with_./_prefix/arg=.
=== RUN   TestPredicate/root_directories_with_./_prefix/arg=./
=== RUN   TestPredicate/nested_directories/arg=ou
=== RUN   TestPredicate/nested_directories/arg=outer
=== RUN   TestPredicate/nested_directories/arg=outer/
=== RUN   TestPredicate/nested_directories_with_./_prefix/arg=./ou
=== RUN   TestPredicate/nested_directories_with_./_prefix/arg=./outer
=== RUN   TestPredicate/nested_directories_with_./_prefix/arg=./outer/
=== RUN   TestPredicate/nested_inner_directory/arg=outer/i
--- PASS: TestPredicate (0.03s)
    --- PASS: TestPredicate/set/arg= (0.00s)
    --- PASS: TestPredicate/set/empty/arg= (0.00s)
    --- PASS: TestPredicate/anything/arg= (0.00s)
    --- PASS: TestPredicate/or:_word_with_nil/arg= (0.00s)
    --- PASS: TestPredicate/or:_nil_with_word/arg= (0.00s)
    --- PASS: TestPredicate/or:_nil_with_nil/arg= (0.00s)
    --- PASS: TestPredicate/or:_word_with_word_with_word/arg= (0.00s)
    --- PASS: TestPredicate/files/txt/arg= (0.00s)
    --- PASS: TestPredicate/files/txt/arg=./dir/ (0.00s)
    --- PASS: TestPredicate/complete_files_inside_dir_if_it_is_the_only_match/arg=./dir/ (0.00s)
    --- PASS: TestPredicate/complete_files_inside_dir_if_it_is_the_only_match/arg=./d (0.00s)
    --- PASS: TestPredicate/complete_files_inside_dir_when_argList_includes_file_name/arg=./dir/f (0.00s)
    --- PASS: TestPredicate/complete_files_inside_dir_when_argList_includes_file_name/arg=./dir/foo (0.00s)
    --- PASS: TestPredicate/files/md/arg= (0.00s)
    --- PASS: TestPredicate/files/md_with_./_prefix/arg=. (0.00s)
    --- PASS: TestPredicate/files/md_with_./_prefix/arg=./ (0.00s)
    --- PASS: TestPredicate/dirs/arg=di (0.00s)
    --- PASS: TestPredicate/dirs/arg=dir (0.00s)
    --- PASS: TestPredicate/dirs/arg=dir/ (0.00s)
    --- PASS: TestPredicate/dirs_with_./_prefix/arg=./di (0.00s)
    --- PASS: TestPredicate/dirs_with_./_prefix/arg=./dir (0.00s)
    --- PASS: TestPredicate/dirs_with_./_prefix/arg=./dir/ (0.00s)
    --- PASS: TestPredicate/predict_anything_in_dir/arg=dir (0.00s)
    --- PASS: TestPredicate/predict_anything_in_dir/arg=dir/ (0.00s)
    --- PASS: TestPredicate/predict_anything_in_dir/arg=di (0.00s)
    --- PASS: TestPredicate/predict_anything_in_dir_with_./_prefix/arg=./dir (0.00s)
    --- PASS: TestPredicate/predict_anything_in_dir_with_./_prefix/arg=./dir/ (0.00s)
    --- PASS: TestPredicate/predict_anything_in_dir_with_./_prefix/arg=./di (0.00s)
    --- PASS: TestPredicate/root_directories/arg= (0.00s)
    --- PASS: TestPredicate/root_directories_with_./_prefix/arg=. (0.00s)
    --- PASS: TestPredicate/root_directories_with_./_prefix/arg=./ (0.00s)
    --- PASS: TestPredicate/nested_directories/arg=ou (0.00s)
    --- PASS: TestPredicate/nested_directories/arg=outer (0.00s)
    --- PASS: TestPredicate/nested_directories/arg=outer/ (0.00s)
    --- PASS: TestPredicate/nested_directories_with_./_prefix/arg=./ou (0.00s)
    --- PASS: TestPredicate/nested_directories_with_./_prefix/arg=./outer (0.00s)
    --- PASS: TestPredicate/nested_directories_with_./_prefix/arg=./outer/ (0.00s)
    --- PASS: TestPredicate/nested_inner_directory/arg=outer/i (0.00s)
FAIL
FAIL	github.com/posener/complete	0.039s
?   	github.com/posener/complete/cmd	[no test files]
?   	github.com/posener/complete/cmd/install	[no test files]
=== RUN   TestMatch
=== PAUSE TestMatch
=== CONT  TestMatch
=== RUN   TestMatch/matcher=match.Match&long='abcd'&prefix=''
=== RUN   TestMatch/matcher=match.Match&long='abcd'&prefix='ab'
=== RUN   TestMatch/matcher=match.Match&long='abcd'&prefix='ac'
=== RUN   TestMatch/matcher=match.Match&long=''&prefix='ac'
=== RUN   TestMatch/matcher=match.Match&long=''&prefix=''
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix=''
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='f'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='./f'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='./.'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='file.'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='./file.'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='file.txt'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='./file.txt'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='other.txt'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='/other.txt'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='/file.txt'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='/fil'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='/file.txt2'
=== RUN   TestMatch/matcher=match.Match&long='file.txt'&prefix='/.'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix=''
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='f'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='./f'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='./.'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='file.'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='./file.'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='file.txt'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='./file.txt'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='other.txt'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='/other.txt'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='/file.txt'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='/fil'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='/file.txt2'
=== RUN   TestMatch/matcher=match.Match&long='./file.txt'&prefix='/.'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix=''
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='f'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='./f'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='./.'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='file.'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='./file.'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='file.txt'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='./file.txt'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='other.txt'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='/other.txt'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='/file.txt'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='/fil'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='/file.txt2'
=== RUN   TestMatch/matcher=match.Match&long='/file.txt'&prefix='/.'
=== RUN   TestMatch/matcher=match.Match&long='./'&prefix=''
=== RUN   TestMatch/matcher=match.Match&long='./'&prefix='.'
=== RUN   TestMatch/matcher=match.Match&long='./'&prefix='./'
=== RUN   TestMatch/matcher=match.Match&long='./'&prefix='./.'
--- PASS: TestMatch (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='abcd'&prefix='' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='abcd'&prefix='ab' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='abcd'&prefix='ac' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long=''&prefix='ac' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long=''&prefix='' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='f' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='./f' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='./.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='file.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='./file.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='file.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='./file.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='other.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='/other.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='/file.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='/fil' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='/file.txt2' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='file.txt'&prefix='/.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='f' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='./f' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='./.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='file.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='./file.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='file.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='./file.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='other.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='/other.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='/file.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='/fil' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='/file.txt2' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./file.txt'&prefix='/.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='f' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='./f' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='./.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='file.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='./file.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='file.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='./file.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='other.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='/other.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='/file.txt' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='/fil' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='/file.txt2' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='/file.txt'&prefix='/.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./'&prefix='' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./'&prefix='.' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./'&prefix='./' (0.00s)
    --- PASS: TestMatch/matcher=match.Match&long='./'&prefix='./.' (0.00s)
PASS
ok  	github.com/posener/complete/match	0.009s
dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 2 github.com/posener/complete github.com/posener/complete/cmd github.com/posener/complete/cmd/install github.com/posener/complete/match returned exit code 1
make: *** [debian/rules:7: build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in one of my autobuilders with "dpkg-buildpackage -A".

The failure happens randomly, i.e. sometimes it fails, sometimes it does not,
so I don't have a "recipe" to reproduce it as such, but the "randomness"
is reproducible in my autobuilders (i.e. when I build it a lot of times,
there are always some failed builds).

I've put several failed build logs here for reference:

https://people.debian.org/~sanvila/build-logs/golang-github-posener-complete/

If you need a test machine to reproduce this, please contact me
privately and I could provide ssh access to a machine where it happens
(caveat: randomly and maybe with low probability).

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Pkg-go-maintainers mailing list