Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue with openvpn extraArgs after update #303

Merged
merged 1 commit into from
Sep 14, 2024

fix issue with openvpn extraArgs after update

cf8c471
Select commit
Loading
Failed to load commit list.
Merged

fix issue with openvpn extraArgs after update #303

fix issue with openvpn extraArgs after update
cf8c471
Select commit
Loading
Failed to load commit list.
Garnix CI / check vm_lib_template [x86_64-linux] succeeded Sep 14, 2024 in 6s

Run results

Build succeeded

Details

Last 100 lines of logs:

set -euo pipefail

mkdir -p $(dirname /var/lib/config.yaml.template)
ln -fs /nix/store/19jb3qqh7kqllzhxgg1h4jh6wsyabkjf-config.yaml.template /var/lib/config.yaml.template
rm -f /var/lib/config.yaml
touch /var/lib/config.yaml
/nix/store/gjlh1zvckhz0qv795lnzgw2zciklbzj2-gnused-4.9/bin/sed -e "s|%SECRET_A_A%|$(cat /nix/store/8s6m9pagi2dhpa5133hkwqcn6gza3srv-a-secret.txt)|" -e "s|%SECRET_B%|prefix-$(cat /nix/store/1mfj2vml415y4z4csy3yz3mnzlrc7a0q-b-secret.txt)-suffix|" /var/lib/config.yaml.template > /var/lib/config.yaml
chmod u=r,g=r,o= /var/lib/config.yaml

machine: �[1m�[32mmust succeed: cat /var/lib/config.yaml�[0m
(finished: must succeed: cat /var/lib/config.yaml, in 0.03 seconds)
{"a":{"a":"Secret of A"},"b":"prefix-Secret of B-suffix","c":"not secret C","d":{"d":"not secret D"}}
(finished: subtest: config, in 0.11 seconds)
�[1m�[32msubtest: config JSON Gen�[0m
machine: �[1m�[32mmust succeed: cat /nix/store/yjin3mw5y90vbf175vnmmbrm1gg5j4zb-replaceInTemplateJSONGen�[0m
�[2mmachine # [    5.945946] 8021q: adding VLAN 0 to HW filter on device eth1�[0m
�[2mmachine # [    5.951929] 8021q: adding VLAN 0 to HW filter on device eth0�[0m
�[2mmachine # [    5.846662] dhcpcd[710]: eth0: waiting for carrier�[0m
�[2mmachine # [    5.848616] dhcpcd[710]: eth0: carrier acquired�[0m
�[2mmachine # [    5.859603] network-addresses-eth1-start[792]: adding address 192.168.1.1/24... done�[0m
�[2mmachine # [    5.865414] dhcpcd[710]: DUID 00:01:00:01:2e:77:a1:87:52:54:00:12:34:56�[0m
�[2mmachine # [    5.866610] dhcpcd[710]: eth0: IAID 00:12:34:56�[0m
�[2mmachine # [    5.868386] dhcpcd[710]: eth0: adding address fe80::5054:ff:fe12:3456�[0m
�[2mmachine # [    5.873900] network-addresses-eth1-start[792]: adding address 2001:db8:1::1/64... done�[0m
(finished: must succeed: cat /nix/store/yjin3mw5y90vbf175vnmmbrm1gg5j4zb-replaceInTemplateJSONGen, in 0.04 seconds)
set -euo pipefail

mkdir -p $(dirname /var/lib/config_gen.json.template)
ln -fs /nix/store/ghn40vc4zz81zl9x55k0lzi1a865l8ww-generator- /var/lib/config_gen.json.template
rm -f /var/lib/config_gen.json
touch /var/lib/config_gen.json
/nix/store/gjlh1zvckhz0qv795lnzgw2zciklbzj2-gnused-4.9/bin/sed -e "s|%SECRET_A_A%|$(cat /nix/store/8s6m9pagi2dhpa5133hkwqcn6gza3srv-a-secret.txt)|" -e "s|%SECRET_B%|prefix-$(cat /nix/store/1mfj2vml415y4z4csy3yz3mnzlrc7a0q-b-secret.txt)-suffix|" /var/lib/config_gen.json.template > /var/lib/config_gen.json
chmod u=r,g=r,o= /var/lib/config_gen.json

machine: �[1m�[32mmust succeed: cat /var/lib/config_gen.json�[0m
�[2mmachine # [    5.891102] systemd[1]: Finished Address configuration of eth1.�[0m
�[2mmachine # [    5.896200] systemd[1]: Starting Networking Setup...�[0m
(finished: must succeed: cat /var/lib/config_gen.json, in 0.03 seconds)
{"a":{"a":"Secret of A"},"b":"prefix-Secret of B-suffix","c":"not secret C","d":{"d":"not secret D"}}
(finished: subtest: config JSON Gen, in 0.07 seconds)
�[1m�[32msubtest: config JSON�[0m
machine: �[1m�[32mmust succeed: cat /nix/store/jxgcilbnyrir26cdqn9hvv4vc545dfwn-replaceInTemplateJSON�[0m
(finished: must succeed: cat /nix/store/jxgcilbnyrir26cdqn9hvv4vc545dfwn-replaceInTemplateJSON, in 0.03 seconds)
set -euo pipefail

mkdir -p $(dirname /var/lib/config.json.template)
ln -fs /nix/store/dsl0a280h34hk3r7iy14pi7sggzlkj1y-template /var/lib/config.json.template
rm -f /var/lib/config.json
touch /var/lib/config.json
/nix/store/gjlh1zvckhz0qv795lnzgw2zciklbzj2-gnused-4.9/bin/sed -e "s|%SECRET_A_A%|$(cat /nix/store/8s6m9pagi2dhpa5133hkwqcn6gza3srv-a-secret.txt)|" -e "s|%SECRET_B%|prefix-$(cat /nix/store/1mfj2vml415y4z4csy3yz3mnzlrc7a0q-b-secret.txt)-suffix|" /var/lib/config.json.template > /var/lib/config.json
chmod u=r,g=r,o= /var/lib/config.json

machine: �[1m�[32mmust succeed: cat /var/lib/config.json�[0m
(finished: must succeed: cat /var/lib/config.json, in 0.03 seconds)
{
  "a": {
    "a": "Secret of A"
  },
  "b": "prefix-Secret of B-suffix",
  "c": "not secret C",
  "d": {
    "d": "not secret D"
  }
}

(finished: subtest: config JSON, in 0.05 seconds)
�[1m�[32msubtest: config XML�[0m
machine: �[1m�[32mmust succeed: cat /nix/store/qck5ix7179x75lzqz7cbkpkg85wxqy2a-replaceInTemplateXML�[0m
(finished: must succeed: cat /nix/store/qck5ix7179x75lzqz7cbkpkg85wxqy2a-replaceInTemplateXML, in 0.03 seconds)
set -euo pipefail

mkdir -p $(dirname /var/lib/config.xml.template)
ln -fs /nix/store/8v6jmafllg88xznn7yvjwzqr8dhm2k1q-config /var/lib/config.xml.template
rm -f /var/lib/config.xml
touch /var/lib/config.xml
/nix/store/gjlh1zvckhz0qv795lnzgw2zciklbzj2-gnused-4.9/bin/sed -e "s|%SECRET_A_A%|$(cat /nix/store/8s6m9pagi2dhpa5133hkwqcn6gza3srv-a-secret.txt)|" -e "s|%SECRET_B%|prefix-$(cat /nix/store/1mfj2vml415y4z4csy3yz3mnzlrc7a0q-b-secret.txt)-suffix|" /var/lib/config.xml.template > /var/lib/config.xml
chmod u=r,g=r,o= /var/lib/config.xml

machine: �[1m�[32mmust succeed: cat /var/lib/config.xml�[0m
(finished: must succeed: cat /var/lib/config.xml, in 0.03 seconds)
<Root>
  <a>
    <a>Secret of A</a>
  </a>
  <b>prefix-Secret of B-suffix</b>
  <c>not secret C</c>
  <d>
    <d>not secret D</d>
  </d>
</Root>
(finished: subtest: config XML, in 0.05 seconds)
(finished: run the VM test script, in 6.64 seconds)
�[2mmachine # [    6.030188] systemd[1]: Finished Networking Setup.�[0m
�[2mmachine # [    6.036159] systemd[1]: Starting Extra networking commands....�[0m
test script finished in 6.68s
�[1m�[32mcleanup�[0m
kill machine (pid 8)
qemu-kvm: terminating on signal 15 from pid 5 (/nix/store/h3i0acpmr8mrjx07519xxmidv8mpax4y-python3-3.12.5/bin/python3.12)
(finished: cleanup, in 0.01 seconds)
kill vlan (pid 6)