From: "flichtenheld (Code Review)" Date: Wed, 5 Jun 2024 13:51:57 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., samuli.seppanen@...277..., openvpn-devel@lists.sourceforge.net Message-ID: <38370fc85d84e9bfca9bb4b07600f03465c3ddf9-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="D28+WL7qHko="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Add t_server_null test suite List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mattock Cc: plaisthos , openvpn-devel --D28+WL7qHko= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: mattock, plaisthos. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne= t/c/openvpn/+/643?usp=3Demail ) Change subject: Add t_server_null test suite ...................................................................... Patch Set 2: (1 comment) File tests/t_server_null_client.sh: http://gerrit.openvpn.net/c/openvpn/+/643/comment/52da0659_0e3d50cb : PS2, Line 74: # Wait until servers are up. This check is based on the prese= nce of processes This code does not seem to work reliably. I often see something like this i= n the build logs: cat: t_server_null_server-1194_udp.pid: No such file or directory cat: t_server_null_server-1195_tcp.pid: No such file or directory error: list of process IDs must follow -p Usage: ps [options] Try 'ps --help ' or 'ps --help ' for additional help text. For more details see ps(1). OpenVPN test servers up: 0/0 So that means that the servers hadn't created the pid files yet and so the = test suceeded? Probably server_count should be based on the amount of defin= ed servers and not server_pids? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/643?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I1b54da258c7d15551b6c3de7522a0d19afdb66de Gerrit-Change-Number: 643 Gerrit-PatchSet: 2 Gerrit-Owner: mattock Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: mattock Gerrit-Comment-Date: Wed, 05 Jun 2024 13:51:57 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --D28+WL7qHko= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: mattock, plaisthos.

View C= hange

1 comment:

    <= li style=3D"margin: 0; padding: 0;">

    File tests/t_server_null_client.sh:<= /p>

    • Patch Set #2, Line = 74: # Wait until server= s are up. This check is based on the presence of processes

      This code does not see= m to work reliably. I often see something like this in the build logs:

      <= pre style=3D"font-family: monospace,monospace; white-space: pre-wrap;">cat:= t_server_null_server-1194_udp.pid: No such file or directory
      cat: t_ser= ver_null_server-1195_tcp.pid: No such file or directory
      error: list of p= rocess IDs must follow -p
      Usage:
      ps [options]
      Try 'ps --help= <simple|list|output|threads|misc|all>'
      or 'ps --help &l= t;s|l|o|t|m|a>'
      for additional help text.
      For more details se= e ps(1).
      OpenVPN test servers up: 0/0

      So that means that the servers hadn't cre= ated the pid files yet and so the test suceeded? Probably server_count shou= ld be based on the amount of defined servers and not server_pids?

    • <= /ul>

    To view, visit change 643. To unsubscribe, or for help writing = mail filters, visit settings= .

    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: I1b54da258c7d15551b6c3de7522= a0d19afdb66de
    Gerrit-Change-Number: 643
    Gerrit-PatchSet: 2
    Gerrit-Owner: mattock <samuli.seppanen@...1665...= 77...>
    Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
    Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
    Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
    Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
    Gerrit-Attention: mattock <samuli.seppanen@= ...277...>
    Gerrit-Comment-Date: Wed, 05 Jun 2024 13:51:57= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Gerrit-MessageType: comment
    --D28+WL7qHko=--