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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243 | adt-run [00:02:57]: test integration: [-----------------------
+ [ -d /tmp/adt-run.ZSwYvG/build.7D7/docker.io-1.10.3/.gopath/src/github.com/docker/docker ]
+ [ -d /tmp/adt-run.ZSwYvG/build.7D7/docker.io-1.10.3/vendor/src/github.com/docker/docker ]
+ [ github.com/docker/docker = github.com/docker/docker ]
+ src=.
+ dirname github.com/docker/docker
+ mkdir -p /tmp/adt-run.ZSwYvG/build.7D7/docker.io-1.10.3/.gopath/src/github.com/docker
# we need to make sure all deps are in our GOPATH
mkdir -p "/tmp/adt-run.ZSwYvG/build.7D7/docker.io-1.10.3/.gopath"
+ readlink -f .
+ ln -sfT /tmp/adt-run.ZSwYvG/build.7D7/docker.io-1.10.3 /tmp/adt-run.ZSwYvG/build.7D7/docker.io-1.10.3/.gopath/src/github.com/docker/docker
+ [ -d /tmp/adt-run.ZSwYvG/build.7D7/docker.io-1.10.3/.gopath/src/github.com/docker/libnetwork ]
+ [ -d /tmp/adt-run.ZSwYvG/build.7D7/docker.io-1.10.3/vendor/src/github.com/docker/libnetwork ]
+ continue 2
# WARNING! I don't seem to be running in the Docker container.
# The result of this command might be an incorrect build, and will not be
# officially supported.
#
# Try this instead: make all
#
---> Making bundle: test-integration-cli (in bundles/1.10.3/test-integration-cli)
---> Making bundle: .integration-daemon-start (in bundles/1.10.3/test-integration-cli)
+++ /etc/init.d/apparmor start
Starting apparmor (via systemctl): apparmor.service.
INFO: Waiting for daemon to start...
+++ exec docker daemon --debug --host unix:///tmp/adt-run.ZSwYvG/build.7D7/docker.io-1.10.3/bundles/1.10.3/test-integration-cli/docker.sock --storage-driver vfs --pidfile bundles/1.10.3/test-integration-cli/docker.pid --userland-proxy=true
.
---> Making bundle: .integration-daemon-setup (in bundles/1.10.3/test-integration-cli)
---> Making bundle: .detect-daemon-osarch (in bundles/1.10.3/test-integration-cli)
---> Making bundle: .ensure-emptyfs (in bundles/1.10.3/test-integration-cli)
++++ docker load
++++ tar -cC bundles/1.10.3/test-integration-cli/emptyfs .
---> Making bundle: .ensure-frozen-images (in bundles/1.10.3/test-integration-cli)
+ ./contrib/download-frozen-image-v2.sh bundles/1.10.3/test-integration-cli/frozen-images busybox:latest@sha256:e4f93f6ed15a0cdd342f5aae387886fba0ab98af0a102da6276eaf24d6e6ade0 debian:jessie@sha256:24a900d1671b269d6640b4224e7b63801880d8e3cb2bcbfaa10a5dddcf4469ed hello-world:latest@sha256:8be990ef2aeb16dbcb9271ddfe2610fa6658d13f6dfb8bc72074cc1ca36966a7
Downloading 'library/busybox:latest@sha256:e4f93f6ed15a0cdd342f5aae387886fba0ab98af0a102da6276eaf24d6e6ade0' (2 layers)...
######################################################################## 100.0%
######################################################################## 100.0%
Downloading 'library/debian:jessie@sha256:24a900d1671b269d6640b4224e7b63801880d8e3cb2bcbfaa10a5dddcf4469ed' (2 layers)...
######################################################################## 100.0%
######################################################################## 100.0%
Downloading 'library/hello-world:latest@sha256:8be990ef2aeb16dbcb9271ddfe2610fa6658d13f6dfb8bc72074cc1ca36966a7' (2 layers)...
######################################################################## 100.0%
######################################################################## 100.0%
Download of images into 'bundles/1.10.3/test-integration-cli/frozen-images' complete.
Use something like the following to load the result into a Docker daemon:
tar -cC 'bundles/1.10.3/test-integration-cli/frozen-images' . | docker load
++++ docker load
++++ tar -cC bundles/1.10.3/test-integration-cli/frozen-images .
++++ set +x
Untagged: hello-world:latest
---> Making bundle: .ensure-httpserver (in bundles/1.10.3/test-integration-cli)
---> Making bundle: .ensure-syscall-test (in bundles/1.10.3/test-integration-cli)
Sending build context to Docker daemon 8.192 kB
Step 1 : FROM debian:jessie
---> bd94bc3c03b9
Step 2 : RUN apt-get update && apt-get install -y gcc libc6-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
---> Running in e92c9be737a1
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [295 kB]
Ign http://httpredir.debian.org jessie InRelease
Get:3 http://httpredir.debian.org jessie-updates InRelease [142 kB]
Get:4 http://httpredir.debian.org jessie Release.gpg [2373 B]
Get:5 http://httpredir.debian.org jessie-updates/main amd64 Packages [9283 B]
Get:6 http://httpredir.debian.org jessie Release [148 kB]
Get:7 http://httpredir.debian.org jessie/main amd64 Packages [9034 kB]
Fetched 9694 kB in 7s (1294 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
binutils cpp cpp-4.9 gcc-4.9 libasan1 libatomic1 libc-dev-bin libc6
libcilkrts5 libcloog-isl4 libgcc-4.9-dev libgmp10 libgomp1 libisl10 libitm1
liblsan0 libmpc3 libmpfr4 libquadmath0 libtsan0 libubsan0 linux-libc-dev
Suggested packages:
binutils-doc cpp-doc gcc-4.9-locales gcc-multilib make manpages-dev autoconf
automake libtool flex bison gdb gcc-doc gcc-4.9-multilib gcc-4.9-doc
libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg
liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libquadmath0-dbg
glibc-doc
The following NEW packages will be installed:
binutils cpp cpp-4.9 gcc gcc-4.9 libasan1 libatomic1 libc-dev-bin libc6-dev
libcilkrts5 libcloog-isl4 libgcc-4.9-dev libgmp10 libgomp1 libisl10 libitm1
liblsan0 libmpc3 libmpfr4 libquadmath0 libtsan0 libubsan0 linux-libc-dev
The following packages will be upgraded:
libc6
1 upgraded, 23 newly installed, 0 to remove and 22 not upgraded.
Need to get 26.2 MB of archives.
After this operation, 88.2 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian/ jessie/main libc6 amd64 2.19-18+deb8u4 [4665 kB]
Get:2 http://httpredir.debian.org/debian/ jessie/main libasan1 amd64 4.9.2-10 [195 kB]
Get:3 http://httpredir.debian.org/debian/ jessie/main libgmp10 amd64 2:6.0.0+dfsg-6 [253 kB]
Get:4 http://httpredir.debian.org/debian/ jessie/main libisl10 amd64 0.12.2-2 [440 kB]
Get:5 http://httpredir.debian.org/debian/ jessie/main libatomic1 amd64 4.9.2-10 [8992 B]
Get:6 http://httpredir.debian.org/debian/ jessie/main libcilkrts5 amd64 4.9.2-10 [40.1 kB]
Get:7 http://httpredir.debian.org/debian/ jessie/main libgomp1 amd64 4.9.2-10 [37.8 kB]
Get:8 http://httpredir.debian.org/debian/ jessie/main liblsan0 amd64 4.9.2-10 [92.8 kB]
Get:9 http://httpredir.debian.org/debian/ jessie/main libmpfr4 amd64 3.1.2-2 [527 kB]
Get:10 http://httpredir.debian.org/debian/ jessie/main libtsan0 amd64 4.9.2-10 [212 kB]
Get:11 http://httpredir.debian.org/debian/ jessie/main libquadmath0 amd64 4.9.2-10 [129 kB]
Get:12 http://httpredir.debian.org/debian/ jessie/main libgcc-4.9-dev amd64 4.9.2-10 [2066 kB]
Get:13 http://httpredir.debian.org/debian/ jessie/main gcc-4.9 amd64 4.9.2-10 [5352 kB]
Get:14 http://httpredir.debian.org/debian/ jessie/main libubsan0 amd64 4.9.2-10 [82.4 kB]
Get:15 http://httpredir.debian.org/debian/ jessie/main gcc amd64 4:4.9.2-2 [5136 B]
Get:16 http://httpredir.debian.org/debian/ jessie/main binutils amd64 2.25-5 [3516 kB]
Get:17 http://httpredir.debian.org/debian/ jessie/main libcloog-isl4 amd64 0.18.2-1+b2 [61.8 kB]
Get:18 http://httpredir.debian.org/debian/ jessie/main libitm1 amd64 4.9.2-10 [29.2 kB]
Get:19 http://httpredir.debian.org/debian/ jessie/main libmpc3 amd64 1.0.2-1 [39.3 kB]
Get:20 http://httpredir.debian.org/debian/ jessie/main cpp amd64 4:4.9.2-2 [17.3 kB]
Get:21 http://httpredir.debian.org/debian/ jessie/main libc6-dev amd64 2.19-18+deb8u4 [2002 kB]
Get:22 http://httpredir.debian.org/debian/ jessie/main cpp-4.9 amd64 4.9.2-10 [5169 kB]
Get:23 http://httpredir.debian.org/debian/ jessie/main libc-dev-bin amd64 2.19-18+deb8u4 [237 kB]
Get:24 http://httpredir.debian.org/debian/ jessie-updates/main linux-libc-dev amd64 3.16.7-ckt25-2 [1023 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 26.2 MB in 9s (2751 kB/s)
(Reading database ... 7531 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-18+deb8u4_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Unpacking libc6:amd64 (2.19-18+deb8u4) over (2.19-18+deb8u1) ...
Setting up libc6:amd64 (2.19-18+deb8u4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Processing triggers for libc-bin (2.19-18+deb8u1) ...
Selecting previously unselected package libasan1:amd64.
(Reading database ... 7531 files and directories currently installed.)
Preparing to unpack .../libasan1_4.9.2-10_amd64.deb ...
Unpacking libasan1:amd64 (4.9.2-10) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.9.2-10_amd64.deb ...
Unpacking libatomic1:amd64 (4.9.2-10) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../libcilkrts5_4.9.2-10_amd64.deb ...
Unpacking libcilkrts5:amd64 (4.9.2-10) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a6.0.0+dfsg-6_amd64.deb ...
Unpacking libgmp10:amd64 (2:6.0.0+dfsg-6) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-2_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-2) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1+b2_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1+b2) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_4.9.2-10_amd64.deb ...
Unpacking libgomp1:amd64 (4.9.2-10) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.9.2-10_amd64.deb ...
Unpacking libitm1:amd64 (4.9.2-10) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../liblsan0_4.9.2-10_amd64.deb ...
Unpacking liblsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.2-2_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.2-2) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_4.9.2-10_amd64.deb ...
Unpacking libquadmath0:amd64 (4.9.2-10) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.9.2-10_amd64.deb ...
Unpacking libtsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../libubsan0_4.9.2-10_amd64.deb ...
Unpacking libubsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.2-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.2-1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.25-5_amd64.deb ...
Unpacking binutils (2.25-5) ...
Selecting previously unselected package cpp-4.9.
Preparing to unpack .../cpp-4.9_4.9.2-10_amd64.deb ...
Unpacking cpp-4.9 (4.9.2-10) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.9.2-2_amd64.deb ...
Unpacking cpp (4:4.9.2-2) ...
Selecting previously unselected package libgcc-4.9-dev:amd64.
Preparing to unpack .../libgcc-4.9-dev_4.9.2-10_amd64.deb ...
Unpacking libgcc-4.9-dev:amd64 (4.9.2-10) ...
Selecting previously unselected package gcc-4.9.
Preparing to unpack .../gcc-4.9_4.9.2-10_amd64.deb ...
Unpacking gcc-4.9 (4.9.2-10) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.9.2-2_amd64.deb ...
Unpacking gcc (4:4.9.2-2) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-18+deb8u4_amd64.deb ...
Unpacking libc-dev-bin (2.19-18+deb8u4) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.16.7-ckt25-2_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.16.7-ckt25-2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-18+deb8u4_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-18+deb8u4) ...
Setting up libasan1:amd64 (4.9.2-10) ...
Setting up libatomic1:amd64 (4.9.2-10) ...
Setting up libcilkrts5:amd64 (4.9.2-10) ...
Setting up libgmp10:amd64 (2:6.0.0+dfsg-6) ...
Setting up libisl10:amd64 (0.12.2-2) ...
Setting up libcloog-isl4:amd64 (0.18.2-1+b2) ...
Setting up libgomp1:amd64 (4.9.2-10) ...
Setting up libitm1:amd64 (4.9.2-10) ...
Setting up liblsan0:amd64 (4.9.2-10) ...
Setting up libmpfr4:amd64 (3.1.2-2) ...
Setting up libquadmath0:amd64 (4.9.2-10) ...
Setting up libtsan0:amd64 (4.9.2-10) ...
Setting up libubsan0:amd64 (4.9.2-10) ...
Setting up libmpc3:amd64 (1.0.2-1) ...
Setting up binutils (2.25-5) ...
Setting up cpp-4.9 (4.9.2-10) ...
Setting up cpp (4:4.9.2-2) ...
Setting up libgcc-4.9-dev:amd64 (4.9.2-10) ...
Setting up gcc-4.9 (4.9.2-10) ...
Setting up gcc (4:4.9.2-2) ...
Setting up libc-dev-bin (2.19-18+deb8u4) ...
Setting up linux-libc-dev:amd64 (3.16.7-ckt25-2) ...
Setting up libc6-dev:amd64 (2.19-18+deb8u4) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
---> 44b0273d0057
Removing intermediate container e92c9be737a1
Step 3 : COPY . /usr/src/
---> 5d208c467f87
Removing intermediate container e102a9c61fa6
Step 4 : WORKDIR /usr/src/
---> Running in 581babbad357
---> 90a862512123
Removing intermediate container 581babbad357
Step 5 : RUN gcc -g -Wall -static userns.c -o /usr/bin/userns-test && gcc -g -Wall -static ns.c -o /usr/bin/ns-test && gcc -g -Wall -static acct.c -o /usr/bin/acct-test
---> Running in e064dc8c3809
Container command not found or does not exist.
./hack/make.sh: line 258: local: can only be used in a function
|