#213609 success

07c0fccSam Whited

.builds: split testing and validation builds

Owner
~samwhited
Created
5 months ago
Updated
5 months ago
Build manifest
view manifest »

Tasks

view log »
setup view log »
lint view log »
validate view log »
go to bottom »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[#213609] 2020/05/19 13:32:23 Booting image alpine/edge (default) on port 22960
[#213609] 2020/05/19 13:32:23 Waiting for guest to settle
[#213609] 2020/05/19 13:32:31 Sending tasks
[#213609] 2020/05/19 13:32:31 Sending build environment
[#213609] 2020/05/19 13:32:31 Installing packages
Warning: Permanently added '[localhost]:22960' (ECDSA) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
v20200428-1258-g3e228045d2 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v20200428-1317-gc72ed205d3 [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v20200428-1323-gd6cf229716 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 16672 distinct packages available
Warning: Permanently added '[localhost]:22960' (ECDSA) to the list of known hosts.
(1/1) Installing go (1.13.10-r0)
Executing busybox-1.31.1-r15.trigger
OK: 1400 MiB in 202 packages
[#213609] 2020/05/19 13:32:41 Cloning repositories
Cloning into 'xmpp'...
+ cd xmpp
+ git checkout -q 07c0fcc4e5ab13995ab52449e7ddc695dbe48b7d
+ cd xmpp
+ git submodule update --init
[#213609] 2020/05/19 13:32:42 Running task setup
[#213609] 2020/05/19 13:32:55 Running task lint
[#213609] 2020/05/19 13:33:17 Running task validate
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
+ go version
go version go1.13.10 linux/amd64
+ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/build/.cache/go-build"
GOENV="/home/build/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/build/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build392990651=/tmp/go-build -gno-record-gcc-switches"
+ go get -u golang.org/x/lint/golint
go: finding golang.org/x/lint latest
go: downloading golang.org/x/lint v0.0.0-20200302205851-738671d3881b
go: extracting golang.org/x/lint v0.0.0-20200302205851-738671d3881b
go: downloading golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7
go: extracting golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7
go: finding golang.org/x/tools latest
go: downloading golang.org/x/tools v0.0.0-20200519015757-0d0afa43d58a
go: extracting golang.org/x/tools v0.0.0-20200519015757-0d0afa43d58a
+ go get -u github.com/securego/gosec/cmd/gosec
go: finding github.com/securego/gosec latest
go: downloading github.com/securego/gosec v0.0.0-20200401082031-e946c8c39989
go: extracting github.com/securego/gosec v0.0.0-20200401082031-e946c8c39989
go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d
go: downloading golang.org/x/tools v0.0.0-20200331202046-9d5940d49312
go: downloading gopkg.in/yaml.v2 v2.2.8
go: extracting gopkg.in/yaml.v2 v2.2.8
go: extracting github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d
go: extracting golang.org/x/tools v0.0.0-20200331202046-9d5940d49312
go: finding golang.org/x/tools latest
go: finding gopkg.in/yaml.v2 v2.3.0
go: finding github.com/nbutton23/zxcvbn-go latest
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: extracting golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: extracting gopkg.in/yaml.v2 v2.3.0
go: finding golang.org/x/xerrors latest
+ go get -u git.sr.ht/~samwhited/checkdoc
go: finding git.sr.ht/~samwhited/checkdoc latest
go: downloading git.sr.ht/~samwhited/checkdoc v0.0.0-20200515203510-493919a67e45
go: extracting git.sr.ht/~samwhited/checkdoc v0.0.0-20200515203510-493919a67e45
go: downloading golang.org/x/tools v0.0.0-20190906115428-bc9f4f258ada
go: downloading github.com/securego/gosec v0.0.0-20190904082043-8932f702cecb
go: downloading golang.org/x/lint v0.0.0-20190409202823-959b441ac422
go: extracting golang.org/x/lint v0.0.0-20190409202823-959b441ac422
go: extracting github.com/securego/gosec v0.0.0-20190904082043-8932f702cecb
go: downloading gopkg.in/yaml.v2 v2.2.2
go: extracting gopkg.in/yaml.v2 v2.2.2
go: extracting golang.org/x/tools v0.0.0-20190906115428-bc9f4f258ada
go: finding github.com/securego/gosec latest
go: finding golang.org/x/tools latest
go: finding golang.org/x/lint latest
go: finding github.com/nbutton23/zxcvbn-go latest
go: finding golang.org/x/xerrors latest
+ go get -u mellium.im/checkmd
go: finding mellium.im/checkmd latest
go: downloading mellium.im/checkmd v0.0.0-20200514194341-610e955e5400
go: extracting mellium.im/checkmd v0.0.0-20200514194341-610e955e5400
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: extracting github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: extracting github.com/shurcooL/sanitized_anchor_name v1.0.0
go: finding github.com/russross/blackfriday/v2 v2.0.1
go: finding github.com/shurcooL/sanitized_anchor_name v1.0.0
+ echo 'export PATH=$(go env GOPATH)/bin:$PATH'
lint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
+ cd xmpp/
+ go vet ./...
go: downloading mellium.im/xmlstream v0.15.0
go: downloading golang.org/x/text v0.3.2
go: downloading golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7
go: downloading mellium.im/sasl v0.2.1
go: extracting mellium.im/xmlstream v0.15.0
go: downloading golang.org/x/image v0.0.0-20181116024801-cd38e8056d9b
go: downloading mellium.im/reader v0.1.0
go: extracting mellium.im/reader v0.1.0
go: extracting mellium.im/sasl v0.2.1
go: downloading golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
go: extracting golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
go: extracting golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7
go: extracting golang.org/x/image v0.0.0-20181116024801-cd38e8056d9b
go: extracting golang.org/x/text v0.3.2
go: finding golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7
go: finding mellium.im/xmlstream v0.15.0
go: finding mellium.im/sasl v0.2.1
go: finding golang.org/x/text v0.3.2
go: finding mellium.im/reader v0.1.0
go: finding golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
go: finding golang.org/x/image v0.0.0-20181116024801-cd38e8056d9b
+ gofmt -s -l .
++ gofmt -s -l .
+ '[' -z '' ']'
+ golint -set_exit_status ./...
+ gosec ./...
[gosec] 2020/05/19 13:33:07 Including rules: default
[gosec] 2020/05/19 13:33:07 Excluding rules: default
[gosec] 2020/05/19 13:33:07 Import directory: /home/build/xmpp/jid
[gosec] 2020/05/19 13:33:08 Checking package: jid
[gosec] 2020/05/19 13:33:08 Checking file: /home/build/xmpp/jid/doc.go
[gosec] 2020/05/19 13:33:08 Checking file: /home/build/xmpp/jid/escape.go
[gosec] 2020/05/19 13:33:08 Checking file: /home/build/xmpp/jid/jid.go
[gosec] 2020/05/19 13:33:08 Checking file: /home/build/xmpp/jid/unsafe.go
[gosec] 2020/05/19 13:33:08 Import directory: /home/build/xmpp/stream
[gosec] 2020/05/19 13:33:08 Checking package: stream
[gosec] 2020/05/19 13:33:08 Checking file: /home/build/xmpp/stream/doc.go
[gosec] 2020/05/19 13:33:08 Checking file: /home/build/xmpp/stream/error.go
[gosec] 2020/05/19 13:33:08 Import directory: /home/build/xmpp/internal/stream
[gosec] 2020/05/19 13:33:08 Checking package: stream
[gosec] 2020/05/19 13:33:08 Checking file: /home/build/xmpp/internal/stream/reader.go
[gosec] 2020/05/19 13:33:08 Checking file: /home/build/xmpp/internal/stream/stream.go
[gosec] 2020/05/19 13:33:08 Checking file: /home/build/xmpp/internal/stream/version.go
[gosec] 2020/05/19 13:33:08 Import directory: /home/build/xmpp/ping
[gosec] 2020/05/19 13:33:08 Checking package: ping
[gosec] 2020/05/19 13:33:08 Checking file: /home/build/xmpp/ping/ping.go
[gosec] 2020/05/19 13:33:08 Import directory: /home/build/xmpp/receipts
[gosec] 2020/05/19 13:33:09 Checking package: receipts
[gosec] 2020/05/19 13:33:09 Checking file: /home/build/xmpp/receipts/receipts.go
[gosec] 2020/05/19 13:33:09 Import directory: /home/build/xmpp/uri
[gosec] 2020/05/19 13:33:09 Checking package: uri
[gosec] 2020/05/19 13:33:09 Checking file: /home/build/xmpp/uri/iri.go
[gosec] 2020/05/19 13:33:09 Import directory: /home/build/xmpp/x509
[gosec] 2020/05/19 13:33:09 Checking package: x509
[gosec] 2020/05/19 13:33:09 Checking file: /home/build/xmpp/x509/x509.go
[gosec] 2020/05/19 13:33:09 Import directory: /home/build/xmpp/examples/im
[gosec] 2020/05/19 13:33:09 Checking package: main
[gosec] 2020/05/19 13:33:09 Checking file: /home/build/xmpp/examples/im/main.go
[gosec] 2020/05/19 13:33:09 Import directory: /home/build/xmpp/internal/attr
[gosec] 2020/05/19 13:33:10 Checking package: attr
[gosec] 2020/05/19 13:33:10 Checking file: /home/build/xmpp/internal/attr/attr.go
[gosec] 2020/05/19 13:33:10 Checking file: /home/build/xmpp/internal/attr/doc.go
[gosec] 2020/05/19 13:33:10 Checking file: /home/build/xmpp/internal/attr/idgen.go
[gosec] 2020/05/19 13:33:10 Import directory: /home/build/xmpp/internal/marshal
[gosec] 2020/05/19 13:33:10 Checking package: marshal
[gosec] 2020/05/19 13:33:10 Checking file: /home/build/xmpp/internal/marshal/encode.go
[gosec] 2020/05/19 13:33:10 Import directory: /home/build/xmpp/internal/xmpptest
[gosec] 2020/05/19 13:33:10 Checking package: xmpptest
[gosec] 2020/05/19 13:33:10 Checking file: /home/build/xmpp/internal/xmpptest/session.go
[gosec] 2020/05/19 13:33:10 Import directory: /home/build/xmpp/oob
[gosec] 2020/05/19 13:33:10 Checking package: oob
[gosec] 2020/05/19 13:33:10 Checking file: /home/build/xmpp/oob/oob.go
[gosec] 2020/05/19 13:33:10 Import directory: /home/build/xmpp/xtime
[gosec] 2020/05/19 13:33:11 Checking package: xtime
[gosec] 2020/05/19 13:33:11 Checking file: /home/build/xmpp/xtime/time.go
[gosec] 2020/05/19 13:33:11 Import directory: /home/build/xmpp/examples/echobot
[gosec] 2020/05/19 13:33:11 Checking package: main
[gosec] 2020/05/19 13:33:11 Checking file: /home/build/xmpp/examples/echobot/echo.go
[gosec] 2020/05/19 13:33:11 Checking file: /home/build/xmpp/examples/echobot/main.go
[gosec] 2020/05/19 13:33:11 Import directory: /home/build/xmpp/examples/msgrepl
[gosec] 2020/05/19 13:33:11 Checking package: main
[gosec] 2020/05/19 13:33:11 Checking file: /home/build/xmpp/examples/msgrepl/main.go
[gosec] 2020/05/19 13:33:11 Import directory: /home/build/xmpp/internal/saslerr
[gosec] 2020/05/19 13:33:11 Checking package: saslerr
[gosec] 2020/05/19 13:33:11 Checking file: /home/build/xmpp/internal/saslerr/errors.go
[gosec] 2020/05/19 13:33:11 Import directory: /home/build/xmpp/mux
[gosec] 2020/05/19 13:33:12 Checking package: mux
[gosec] 2020/05/19 13:33:12 Checking file: /home/build/xmpp/mux/mux.go
[gosec] 2020/05/19 13:33:12 Checking file: /home/build/xmpp/mux/stanza.go
[gosec] 2020/05/19 13:33:12 Import directory: /home/build/xmpp/internal/decl
[gosec] 2020/05/19 13:33:12 Checking package: decl
[gosec] 2020/05/19 13:33:12 Checking file: /home/build/xmpp/internal/decl/decl.go
[gosec] 2020/05/19 13:33:12 Import directory: /home/build/xmpp/internal/discover
[gosec] 2020/05/19 13:33:12 Checking package: discover
[gosec] 2020/05/19 13:33:12 Checking file: /home/build/xmpp/internal/discover/lookup.go
[gosec] 2020/05/19 13:33:12 Checking file: /home/build/xmpp/internal/discover/notfound.go
[gosec] 2020/05/19 13:33:12 Import directory: /home/build/xmpp/internal/ns
[gosec] 2020/05/19 13:33:12 Checking package: ns
[gosec] 2020/05/19 13:33:12 Checking file: /home/build/xmpp/internal/ns/ns.go
[gosec] 2020/05/19 13:33:12 Import directory: /home/build/xmpp
[gosec] 2020/05/19 13:33:13 Checking package: xmpp
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/bind.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/conn.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/doc.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/features.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/handler.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/negotiator.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/sasl.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/session.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/starttls.go
[gosec] 2020/05/19 13:33:13 Import directory: /home/build/xmpp/compress
[gosec] 2020/05/19 13:33:13 Checking package: compress
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/compress/compression.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/compress/methods.go
[gosec] 2020/05/19 13:33:13 Import directory: /home/build/xmpp/form
[gosec] 2020/05/19 13:33:13 Checking package: form
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/form/doc.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/form/fields.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/form/form.go
[gosec] 2020/05/19 13:33:13 Checking file: /home/build/xmpp/form/options.go
[gosec] 2020/05/19 13:33:13 Import directory: /home/build/xmpp/roster
[gosec] 2020/05/19 13:33:14 Checking package: roster
[gosec] 2020/05/19 13:33:14 Checking file: /home/build/xmpp/roster/roster.go
[gosec] 2020/05/19 13:33:14 Import directory: /home/build/xmpp/dial
[gosec] 2020/05/19 13:33:14 Checking package: dial
[gosec] 2020/05/19 13:33:14 Checking file: /home/build/xmpp/dial/dial.go
[gosec] 2020/05/19 13:33:14 Import directory: /home/build/xmpp/stanza
[gosec] 2020/05/19 13:33:14 Checking package: stanza
[gosec] 2020/05/19 13:33:14 Checking file: /home/build/xmpp/stanza/doc.go
[gosec] 2020/05/19 13:33:14 Checking file: /home/build/xmpp/stanza/error.go
[gosec] 2020/05/19 13:33:14 Checking file: /home/build/xmpp/stanza/iq.go
[gosec] 2020/05/19 13:33:14 Checking file: /home/build/xmpp/stanza/message.go
[gosec] 2020/05/19 13:33:14 Checking file: /home/build/xmpp/stanza/presence.go
[gosec] 2020/05/19 13:33:14 Import directory: /home/build/xmpp/color
[gosec] 2020/05/19 13:33:14 Checking package: color
[gosec] 2020/05/19 13:33:14 Checking file: /home/build/xmpp/color/color.go
[gosec] 2020/05/19 13:33:14 Import directory: /home/build/xmpp/component
[gosec] 2020/05/19 13:33:15 Checking package: component
[gosec] 2020/05/19 13:33:15 Checking file: /home/build/xmpp/component/component.go
[gosec] 2020/05/19 13:33:15 Import directory: /home/build/xmpp/ibr2
[gosec] 2020/05/19 13:33:15 Checking package: ibr2
[gosec] 2020/05/19 13:33:15 Checking file: /home/build/xmpp/ibr2/challenge.go
[gosec] 2020/05/19 13:33:15 Checking file: /home/build/xmpp/ibr2/form.go
[gosec] 2020/05/19 13:33:15 Checking file: /home/build/xmpp/ibr2/ibr2.go
[gosec] 2020/05/19 13:33:15 Checking file: /home/build/xmpp/ibr2/oob.go
[gosec] 2020/05/19 13:33:15 Import directory: /home/build/xmpp/internal
[gosec] 2020/05/19 13:33:15 Checking package: internal
[gosec] 2020/05/19 13:33:15 Checking file: /home/build/xmpp/internal/doc.go
Results:


Summary:
   Files: 60
   Lines: 8888
   Nosec: 12
  Issues: 0

+ checkdoc -fileheader.pattern=- ./...
+ checkmd .
validate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
+ cd xmpp/
+ go mod tidy
+ git diff --exit-code -- go.mod go.sum
+ cd examples/
+ for d in ./*/
+ pushd ./echobot/
~/xmpp/examples/echobot ~/xmpp/examples
+ go mod tidy
+ git diff --exit-code -- go.mod go.sum
+ popd
~/xmpp/examples
+ for d in ./*/
+ pushd ./im/
~/xmpp/examples/im ~/xmpp/examples
+ go mod tidy
+ git diff --exit-code -- go.mod go.sum
+ popd
~/xmpp/examples
+ for d in ./*/
+ pushd ./msgrepl/
~/xmpp/examples/msgrepl ~/xmpp/examples
+ go mod tidy
go: downloading golang.org/x/net v0.0.0-20191101175033-0deb6923b6d9
go: downloading golang.org/x/crypto v0.0.0-20191029031824-8986dd9e96cf
go: extracting golang.org/x/net v0.0.0-20191101175033-0deb6923b6d9
go: extracting golang.org/x/crypto v0.0.0-20191029031824-8986dd9e96cf
+ git diff --exit-code -- go.mod go.sum
+ popd
~/xmpp/examples
Build complete: success 5 months ago (took 55 seconds)