#90525 success

62c9043Devan Carpenter

build scripts: do a deep clone of OpenWRT repo

Owner
~dvn
Created
8 months ago
Updated
8 months ago
Build manifest
view manifest »

Tasks

view log »
prepare_docker view log »
build_image view log »
run_container view log »
test_identity 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
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
[#90525] 2019/09/19 23:33:30 Booting image archlinux (default) on port 22617
[#90525] 2019/09/19 23:33:34 Waiting for guest to settle
[#90525] 2019/09/19 23:34:05 Sending tasks
[#90525] 2019/09/19 23:34:06 Sending build environment
[#90525] 2019/09/19 23:34:06 Installing packages
Warning: Permanently added '[localhost]:22617' (ECDSA) to the list of known hosts.
:: Synchronizing package databases...
downloading core.db...
downloading extra.db...
downloading community.db...
:: Starting full system upgrade...
warning: linux: ignoring package upgrade (5.2.14.arch2-1 => 5.3.arch1-1)
resolving dependencies...
looking for conflicting packages...

Packages (5) bridge-utils-1.6-3  containerd-1.2.9-1  openresolv-3.9.2-1  runc-1.0.0rc8-2  docker-1:19.03.2-1

Total Download Size:    61.22 MiB
Total Installed Size:  294.20 MiB
Net Upgrade Size:      294.15 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading bridge-utils-1.6-3-x86_64.pkg.tar.xz...
downloading openresolv-3.9.2-1-any.pkg.tar.xz...
downloading runc-1.0.0rc8-2-x86_64.pkg.tar.xz...
downloading containerd-1.2.9-1-x86_64.pkg.tar.xz...
downloading docker-1:19.03.2-1-x86_64.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing bridge-utils...
installing runc...
installing containerd...
installing docker...
Optional dependencies for docker
    btrfs-progs: btrfs backend support
    pigz: parallel gzip compressor support
upgrading openresolv...
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
(2/4) Reloading system manager configuration...
(3/4) Reloading device manager configuration...
(4/4) Arming ConditionNeedsUpdate...
:: Searching databases for updates...
:: Searching AUR for updates...
 -> linux: ignoring package upgrade (5.2.14.arch2-1 => 5.3.arch1-1)
 there is nothing to do
[#90525] 2019/09/19 23:34:22 Cloning repositories
Cloning into 'secushareBOX'...
+ cd secushareBOX
+ git checkout -q 62c9043b149cbfa32d173cd0c9b2c6f10a2888a9
+ cd secushareBOX
+ git submodule update --init
[#90525] 2019/09/19 23:34:23 Running task prepare_docker
[#90525] 2019/09/19 23:34:25 Running task build_image
[#90525] 2019/09/19 23:34:58 Running task run_container
[#90525] 2019/09/19 23:34:59 Running task test_identity
prepare_docker
1
2
3
4
5
+ sudo mount -t tmpfs -o size=4G /dev/null /dev/shm
+ sleep 2
+ sudo nohup dockerd --bip 172.18.0.1/16
++ whoami
+ sudo usermod -aG docker build
build_image
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
a3cf7d57d0b8: Pull complete 
Digest: sha256:245999af6519912a748d056b1d4f8bab0548e38517cd9a9a001785a4229ad639
Status: Downloaded newer image for openwrtorg/rootfs:latest
 ---> 3b9791eaa590
Step 2/6 : RUN mkdir -pv /var/lock/tmp
 ---> Running in 0a2503f423e0
Removing intermediate container 0a2503f423e0
 ---> 48f26097e347
Step 3/6 : RUN opkg update
 ---> Running in 74cbff98b445
Downloading http://downloads.openwrt.org/snapshots/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/snapshots/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/telephony/Packages.sig
Signature check passed.
Removing intermediate container 74cbff98b445
 ---> 7e33763e0ef9
Step 4/6 : RUN opkg install gnunet gnunet-pgsql gnunet-dhtcache-heap     gnunet-gns gnunet-gns-pgsql gnunet-peerstore-sqlite     gnunet-transport-tcp gnunet-transport-udp
 ---> Running in c950f8024d3f
Installing gnunet (0.11.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/gnunet_0.11.6-1_x86_64.ipk
Installing libatomic1 (7.4.0-2) to root...
Downloading http://downloads.openwrt.org/snapshots/targets/x86/64/packages/libatomic1_7.4.0-2_x86_64.ipk
Installing libgpg-error (1.36-3) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/libgpg-error_1.36-3_x86_64.ipk
Installing libgcrypt (1.8.5-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/libgcrypt_1.8.5-1_x86_64.ipk
Installing libunistring (0.9.10-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/libunistring_0.9.10-1_x86_64.ipk
Installing libidn2 (2.0.5-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/libidn2_2.0.5-1_x86_64.ipk
Installing libltdl7 (2.4.6-2) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/base/libltdl7_2.4.6-2_x86_64.ipk
Installing zlib (1.2.11-3) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/base/zlib_1.2.11-3_x86_64.ipk
Installing gnunet-pgsql (0.11.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/gnunet-pgsql_0.11.6-1_x86_64.ipk
Installing libpq (11.3-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/libpq_11.3-1_x86_64.ipk
Installing gnunet-dhtcache-heap (0.11.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/gnunet-dhtcache-heap_0.11.6-1_x86_64.ipk
Installing gnunet-gns (0.11.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/gnunet-gns_0.11.6-1_x86_64.ipk
Installing kmod-tun (4.19.72-1) to root...
Downloading http://downloads.openwrt.org/snapshots/targets/x86/64/packages/kmod-tun_4.19.72-1_x86_64.ipk
Installing gnunet-vpn (0.11.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/gnunet-vpn_0.11.6-1_x86_64.ipk
Installing kmod-ipt-extra (4.19.72-1) to root...
Downloading http://downloads.openwrt.org/snapshots/targets/x86/64/packages/kmod-ipt-extra_4.19.72-1_x86_64.ipk
Installing iptables-mod-extra (1.8.3-2) to root...
Downloading http://downloads.openwrt.org/snapshots/targets/x86/64/packages/iptables-mod-extra_1.8.3-2_x86_64.ipk
Installing gnunet-gns-pgsql (0.11.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/gnunet-gns-pgsql_0.11.6-1_x86_64.ipk
Installing gnunet-peerstore-sqlite (0.11.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/gnunet-peerstore-sqlite_0.11.6-1_x86_64.ipk
Installing libsqlite3 (3290000-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/libsqlite3_3290000-1_x86_64.ipk
Installing gnunet-sqlite (0.11.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/gnunet-sqlite_0.11.6-1_x86_64.ipk
Installing gnunet-transport-tcp (0.11.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/gnunet-transport-tcp_0.11.6-1_x86_64.ipkFailed to connect to ubus

Installing gnunet-transport-udp (0.11.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/gnunet-transport-udp_0.11.6-1_x86_64.ipk
Configuring libatomic1.
Configuring libgpg-error.
Configuring libgcrypt.
Configuring libunistring.
Configuring libidn2.
Configuring libltdl7.
Configuring zlib.
Configuring gnunet.
Configuring libsqlite3.
Configuring gnunet-sqlite.
Configuring kmod-ipt-extra.
Configuring iptables-mod-extra.
Configuring kmod-tun.
Configuring gnunet-dhtcache-heap.
Configuring gnunet-peerstore-sqlite.
Configuring libpq.
Configuring gnunet-pgsql.
Configuring gnunet-transport-tcp.
Configuring gnunet-vpn.
Configuring gnunet-gns.
Configuring gnunet-gns-pgsql.
Configuring gnunet-transport-udp.
Removing intermediate container c950f8024d3f
 ---> bc1533a74c96
Step 5/6 : RUN uci set gnunet.ats=gnunet-config &&     uci set gnunet.ats.WAN_QUOTA_IN=0 &&     uci set gnunet.ats.WAN_QUOTA_OUT=0 &&     uci set gnunet.ats.LAN_QUOTA_IN=unlimited &&     uci set gnunet.ats.LAN_QUOTA_OUT=unlimited &&     uci set gnunet.transport=gnunet-config &&     uci set gnunet.transport.PLUGINS="tcp udp" &&     uci set gnunet.exit=gnunet-config &&     uci set gnunet.exit.IMMEDIATE_START=yes &&     uci commit gnunet
 ---> Running in e9fcce08bee1
Removing intermediate container e9fcce08bee1
 ---> 552e3300c4ac
Step 6/6 : RUN opkg install shadow-su coreutils-timeout
 ---> Running in ff817549a93c
Installing shadow-su (4.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/shadow-su_4.6-1_x86_64.ipk
Installing shadow-common (4.6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/shadow-common_4.6-1_x86_64.ipk
Installing coreutils-timeout (8.30-2) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/coreutils-timeout_8.30-2_x86_64.ipk
Installing coreutils (8.30-2) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/coreutils_8.30-2_x86_64.ipk
Configuring coreutils.
Configuring shadow-common.
Configuring shadow-su.
Configuring coreutils-timeout.
Removing intermediate container ff817549a93c
 ---> a2f561e36fe6
Successfully built a2f561e36fe6
Successfully tagged gnunet-openwrt:latest
run_container
1
2
3
+ cd /home/build/secushareBOX
+ docker run -t -d --name gnunet-openwrt -v /dev/net/tun:/dev/net/tun gnunet-openwrt
3c1ad4292ad48b8d083610b5e8186342bda004266af58c3cfbc5e5c7053f23d2
test_identity
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
+ docker cp /home/build/secushareBOX/tests/openwrt/create-zone.sh gnunet-openwrt:/create-zone.sh
+ docker exec -ti gnunet-openwrt sh /create-zone.sh
errexit         on
noglob          off
ignoreeof       off
                off
monitor         off
noexec          off
                off
                off
xtrace          on
verbose         off
noclobber       off
allexport       off
notify          off
nounset         off
vi              off
pipefail        off
+ set -u pipefail
+ timeout 20 gnunet-identity -C test
+ timeout 20 gnunet-identity -d
test - BF2636W1ZHXRCXJP3SB005W7H510KT0J87P0B97R3YCN5EY8WZTG
+ exit
Build complete: success 8 months ago (took a minute)