[Merge] ~lucaskanashiro/ubuntu/+source/openvpn:groovy-merge into ubuntu/+source/openvpn:debian/sid
Lucas Kanashiro
kanashiro at riseup.net
Thu May 7 17:44:16 UTC 2020
Thanks for the suggestions Christian. I re-added the 'set -e' and printed the comments as info messages, now the output is like this:
autopkgtest [11:14:27]: test server-setup-with-ca: [-----------------------
[I] Create the CA directory inside the config directory
[I] Add some variables to the vars to build the CA and keys in a non interactive mode
[I] Setup the CA and the server keys
[I] Create the OpenVPN server config file
[I] Start an OpenVPN process in background and redirect its output to a file
[I] Give some time to start the process, check if the TUN device is opened
Thu May 7 11:14:41 2020 us=414229 TUN/TAP device tun1 opened
[I] Check if the tun1 was created and if the state is UNKNOWN at this point
3: tun1: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
[I] Check if OpenVPN is listening on port 1194 (default port)
udp UNCONN 0 0 0.0.0.0:1194 0.0.0.0:* users:(("openvpn",pid=1088,fd=4))
[I] Check if Diffie-Hellman was initialized
Thu May 7 11:14:41 2020 us=405684 Diffie-Hellman initialized with 2048 bit key
[I] Check if the tun1 is linked
Thu May 7 11:14:41 2020 us=414404 /sbin/ip link set dev tun1 up mtu 1500
[I] Check if the network route was correctly configured
Thu May 7 11:14:41 2020 us=428034 /sbin/ip route add 10.9.8.0/24 via 10.9.8.2
[I] Check if the Initialization Sequence completed
Thu May 7 11:14:41 2020 us=429064 Initialization Sequence Completed
autopkgtest [11:14:43]: test server-setup-with-ca: -----------------------]
autopkgtest [11:14:44]: test server-setup-with-ca: - - - - - - - - - - results - - - - - - - - - -
server-setup-with-ca PASS
...
autopkgtest [11:17:26]: test server-setup-with-static-key: [-----------------------
[I] Generate the static key inside the config directory
[I] Create the config file
[I] Start an OpenVPN process in background and redirect its output to a file
[I] Give some time to start the process, check if the TUN device is opened
Thu May 7 11:17:27 2020 us=834827 TUN/TAP device tun0 opened
[I] Check if the tun0 was created and if the state is UNKNOWN at this point
3: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
[I] Check if OpenVPN is listening on port 1194 (default port)
udp UNCONN 0 0 0.0.0.0:1194 0.0.0.0:* users:(("openvpn",pid=949,fd=4))
[I] Check if the static.key is used by OpenVPN
Thu May 7 11:17:27 2020 us=823517 shared_secret_file = '/etc/openvpn/static.key'
[I] Check if the tun0 is linked
Thu May 7 11:17:27 2020 us=835486 /sbin/ip link set dev tun0 up mtu 1500
[I] Check if the specified IP addresses were configured
Thu May 7 11:17:27 2020 us=846366 /sbin/ip addr add dev tun0 local 10.9.8.1 peer 10.9.8.2
autopkgtest [11:17:28]: test server-setup-with-static-key: -----------------------]
autopkgtest [11:17:29]: test server-setup-with-static-key: - - - - - - - - - - results - - - - - - - - - -
server-setup-with-static-key PASS
autopkgtest [11:17:30]: @@@@@@@@@@@@@@@@@@@@ summary
server-setup-with-ca PASS
server-setup-with-static-key PASS
Is it good enough now? Can I submit those changes to Debian and upload to Groovy?
--
https://code.launchpad.net/~lucaskanashiro/ubuntu/+source/openvpn/+git/openvpn/+merge/383178
Your team Ubuntu Server Developers is requested to review the proposed merge of ~lucaskanashiro/ubuntu/+source/openvpn:groovy-merge into ubuntu/+source/openvpn:debian/sid.
More information about the Ubuntu-reviews
mailing list