Package: dmarc-cat
Version: 0.9.2-1
Severity: serious
Hello, as said, the package attempts to do internet communication during
build... this is forbidden by policy.
this is an example of what happens in Ubuntu, where internet is more strictly
disabled:
+------------------------------------------------------------------------------+
| Build |
+------------------------------------------------------------------------------+
Unpack source
-------------
gpgv: Signature made Tue Feb 12 16:54:32 2019 UTC
gpgv: using RSA key 7B164204D096723B019635AB3EA1DDDDB261D97B
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./dmarc-cat_0.9.2-1.dsc
dpkg-source: info: extracting dmarc-cat in dmarc-cat-0.9.2
dpkg-source: info: unpacking dmarc-cat_0.9.2.orig.tar.gz
dpkg-source: info: unpacking dmarc-cat_0.9.2-1.debian.tar.xz
Check disc space
----------------
Sufficient free space for build
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-16663957
SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-16663957
SCHROOT_COMMAND=env
SCHROOT_GID=2501
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=build-PACKAGEBUILD-16663957
SCHROOT_UID=2001
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=unknown
USER=buildd
V=1
dpkg-buildpackage
-----------------
dpkg-buildpackage: info: source package dmarc-cat
dpkg-buildpackage: info: source version 0.9.2-1
dpkg-buildpackage: info: source distribution unstable
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --buildsystem=golang --with=golang
dh_auto_clean -O--buildsystem=golang
dh_autoreconf_clean -O--buildsystem=golang
dh_clean -O--buildsystem=golang
debian/rules build
dh build --buildsystem=golang --with=golang
dh_update_autotools_config -O--buildsystem=golang
dh_autoreconf -O--buildsystem=golang
dh_auto_configure -O--buildsystem=golang
dh_auto_build -O--buildsystem=golang
cd obj-x86_64-linux-gnu && go install
-gcflags=all=\"-trimpath=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src\"
-asmflags=all=\"-trimpath=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src\" -v -p 4
github.com/keltia/dmarc-cat
internal/race
runtime/internal/atomic
errors
internal/cpu
runtime/internal/sys
sync/atomic
unicode
unicode/utf8
encoding
internal/bytealg
math
internal/testlog
runtime
math/bits
unicode/utf16
runtime/cgo
vendor/golang_org/x/net/dns/dnsmessage
strconv
internal/nettrace
sync
io
reflect
syscall
github.com/ivpusic/grpool
internal/singleflight
math/rand
bytes
strings
bufio
text/tabwriter
hash
path
hash/crc32
internal/syscall/unix
time
internal/poll
sort
encoding/binary
os
regexp/syntax
encoding/base64
path/filepath
fmt
regexp
io/ioutil
flag
encoding/csv
encoding/xml
encoding/json
go/token
net/url
go/scanner
text/template/parse
go/ast
compress/flate
github.com/pkg/errors
github.com/proglottis/gpgme
text/template
archive/zip
go/parser
go/printer
compress/gzip
log
context
net
go/format
github.com/intel/tfortools
github.com/keltia/archive
github.com/keltia/dmarc-cat
dh_auto_test -O--buildsystem=golang
cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4
github.com/keltia/dmarc-cat
=== RUN TestAnalyze
--- PASS: TestAnalyze (0.00s)
=== RUN TestGatherRows_Empty
--- PASS: TestGatherRows_Empty (0.00s)
=== RUN TestGatherRows_Good
--- PASS: TestGatherRows_Good (0.00s)
=== RUN TestResolveIP_Error
--- PASS: TestResolveIP_Error (0.00s)
=== RUN TestResolveIP_Good
--- PASS: TestResolveIP_Good (0.00s)
=== RUN TestCheckFilename
--- PASS: TestCheckFilename (0.00s)
=== RUN TestHandleSingleFile
--- PASS: TestHandleSingleFile (0.00s)
=== RUN TestHandleSingleFile2
--- PASS: TestHandleSingleFile2 (0.00s)
=== RUN TestHandleSingleFile3
--- PASS: TestHandleSingleFile3 (0.00s)
=== RUN TestHandleSingleFile4
--- PASS: TestHandleSingleFile4 (0.00s)
=== RUN TestHandleSingleFile_Verbose
--- PASS: TestHandleSingleFile_Verbose (0.00s)
=== RUN TestHandleSingleFile_Debug
2019/05/03 10:40:43 file=empty.txt
--- PASS: TestHandleSingleFile_Debug (0.00s)
=== RUN TestSetup
2019/05/03 10:40:43 You must specify at least one file.
--- PASS: TestSetup (0.00s)
=== RUN TestSetup2
--- PASS: TestSetup2 (0.00s)
=== RUN TestSetup3
--- PASS: TestSetup3 (0.00s)
=== RUN TestSetup4
dmarc-cat.test version 0.9.2/j4 archive/0.3.3
--- PASS: TestSetup4 (0.00s)
=== RUN TestVersion
dmarc-cat.test version 0.9.2/j4 archive/0.3.3
--- PASS: TestVersion (0.00s)
=== RUN TestMain_Noargs
2019/05/03 10:40:43 You must specify at least one file.
--- PASS: TestMain_Noargs (0.00s)
=== RUN TestMain_Noargs_Verbose
2019/05/03 10:40:43 You must specify at least one file.
--- PASS: TestMain_Noargs_Verbose (0.00s)
=== RUN TestMain_Noargs_Debug
2019/05/03 10:40:43 debug mode
2019/05/03 10:40:43 You must specify at least one file.
--- PASS: TestMain_Noargs_Debug (0.00s)
=== RUN TestMain_Noargs_NoResolv
2019/05/03 10:40:43 Analyzing
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/keltia/dmarc-cat/testdata/google.com!keltia.net!1538438400!1538524799.zip
dmarc-cat.test 0.9.2/j4 by Ollivier Robert
Reporting by: google.com — [email protected]
>From 2018-10-02 00:00:00 +0000 UTC to 2018-10-02 23:59:59 +0000 UTC
Domain: keltia.net
Policy: p=none; dkim=r; spf=r
Reports(2):
IP Count From RFrom RDKIM RSPF
195.154.227.159 1 keltia.net example.org pass
217.70.183.200 1 keltia.net example.org pass
--- PASS: TestMain_Noargs_NoResolv (0.00s)
=== RUN TestMain_GoodFile
2019/05/03 10:40:43 Analyzing
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/keltia/dmarc-cat/testdata/google.com!keltia.net!1538438400!1538524799.zip
2019/05/03 10:40:43 Resolving all 2 IPs
2019/05/03 10:40:43 ParallelSolve with 4 workers
2019/05/03 10:40:43 Resolved 2 IPs
dmarc-cat.test 0.9.2/j4 by Ollivier Robert
Reporting by: google.com — [email protected]
>From 2018-10-02 00:00:00 +0000 UTC to 2018-10-02 23:59:59 +0000 UTC
Domain: keltia.net
Policy: p=none; dkim=r; spf=r
Reports(2):
IP Count From RFrom RDKIM RSPF
195.154.227.159 1 keltia.net example.org pass
217.70.183.200 1 keltia.net example.org pass
--- PASS: TestMain_GoodFile (0.00s)
=== RUN TestMain_NoFile
2019/05/03 10:40:43 Analyzing
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/keltia/dmarc-cat/testdata/google.com!keltia.net!1538438400!1538524799.zip
2019/05/03 10:40:43 Resolving all 2 IPs
2019/05/03 10:40:43 ParallelSolve with 4 workers
2019/05/03 10:40:43 Resolved 2 IPs
dmarc-cat.test 0.9.2/j4 by Ollivier Robert
Reporting by: google.com — [email protected]
>From 2018-10-02 00:00:00 +0000 UTC to 2018-10-02 23:59:59 +0000 UTC
Domain: keltia.net
Policy: p=none; dkim=r; spf=r
Reports(2):
IP Count From RFrom RDKIM RSPF
195.154.227.159 1 keltia.net example.org pass
217.70.183.200 1 keltia.net example.org pass
--- PASS: TestMain_NoFile (0.00s)
=== RUN TestMain_EmptyArg
2019/05/03 10:40:43 Analyzing
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/keltia/dmarc-cat/testdata/google.com!keltia.net!1538438400!1538524799.zip
2019/05/03 10:40:43 Resolving all 2 IPs
2019/05/03 10:40:43 ParallelSolve with 4 workers
2019/05/03 10:40:43 Resolved 2 IPs
dmarc-cat.test 0.9.2/j4 by Ollivier Robert
Reporting by: google.com — [email protected]
>From 2018-10-02 00:00:00 +0000 UTC to 2018-10-02 23:59:59 +0000 UTC
Domain: keltia.net
Policy: p=none; dkim=r; spf=r
Reports(2):
IP Count From RFrom RDKIM RSPF
195.154.227.159 1 keltia.net example.org pass
217.70.183.200 1 keltia.net example.org pass
--- PASS: TestMain_EmptyArg (0.00s)
=== RUN TestNullResolver_LookupAddr
--- PASS: TestNullResolver_LookupAddr (0.00s)
=== RUN TestRealResolver_LookupAddr
--- FAIL: TestRealResolver_LookupAddr (0.00s)
resolve_test.go:21:
Error Trace: resolve_test.go:21
Error: Received unexpected error:
lookup 8.8.8.8.in-addr.arpa. on
10.222.128.2:53: no such host
Test: TestRealResolver_LookupAddr
resolve_test.go:22:
Error Trace: resolve_test.go:22
Error: Not equal:
expected:
[]string{"google-public-dns-a.google.com."}
actual : []string(nil)
Diff:
--- Expected
+++ Actual
@@ -1,4 +1,2 @@
-([]string) (len=1) {
- (string) (len=31)
"google-public-dns-a.google.com."
-}
+([]string) <nil>
Test: TestRealResolver_LookupAddr
=== RUN TestVerbose_No
2019/05/03 10:40:43 no
--- PASS: TestVerbose_No (0.00s)
=== RUN TestVerbose_Yes
2019/05/03 10:40:43 yes
--- PASS: TestVerbose_Yes (0.00s)
=== RUN TestDebug_No
--- PASS: TestDebug_No (0.00s)
=== RUN TestDebug_Yes
2019/05/03 10:40:43 yes
--- PASS: TestDebug_Yes (0.00s)
FAIL
FAIL github.com/keltia/dmarc-cat 0.018s
dh_auto_test: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4
github.com/keltia/dmarc-cat returned exit code 1
make: *** [debian/rules:7: build] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
cheers,
Gianfranco