From: "cron2 (Code Review)" Date: Fri, 10 Oct 2025 21:28:37 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <6ab7d5b6e2d72c906b37bc2f2850202f5f83404c-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="FvHF30VNxow="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: test_user_pass: Check fatal errors for empty username/password List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --FvHF30VNxow= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. cron2 has posted comments on this change by flichtenheld. ( http://gerrit.o= penvpn.net/c/openvpn/+/474?usp=3Demail ) The change is no longer submittable: Code-Review is unsatisfied now. Change subject: test_user_pass: Check fatal errors for empty username/passw= ord ...................................................................... Patch Set 13: Code-Review-2 (1 comment) Patchset: PS13: While it passes BB and GHA checks(!), it fails for my local builds - both o= n Linux and FreeBSD. Output is just ``` ... PASS: ssl_testdriver FAIL: user_pass_testdriver PASS: push_update_msg_testdriver ... ``` if I run the binary from hand (not sure if this is supposed to work, it wor= ks for all the other tests) it says ``` gert@...2718... ~/t_server.git/tests/unit_tests/openvpn $ ./user_pass_testd= river [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] Running 10 test(s). [ RUN ] test_get_user_pass_defined ... [ RUN ] test_get_user_pass_authfile_file_assertions [ ERROR ] --- srcdir [ LINE ] --- test_common.h:63: error: Failure! [ FAILED ] test_get_user_pass_authfile_file_assertions [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] 10 test(s) run. [ PASSED ] 8 test(s). [ FAILED ] 2 test(s), listed below: [ FAILED ] test_get_user_pass_authfile_file [ FAILED ] test_get_user_pass_authfile_file_assertions 2 FAILED TEST(S) [ RUN ] test_get_user_pass_authfile_file_assertions [ ERROR ] --- srcdir [ LINE ] --- test_common.h:63: error: Failure! [ FAILED ] test_get_user_pass_authfile_file_assertions [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] 10 test(s) run. [ PASSED ] 8 test(s). [ FAILED ] 2 test(s), listed below: [ FAILED ] test_get_user_pass_authfile_file [ FAILED ] test_get_user_pass_authfile_file_assertions 2 FAILED TEST(S) ``` I first thought it's something with "in tree builds", but it also fails "ou= t of tree" builds (only tested on FreeBSD). Maybe cmocka version? 1.1.8 o= n FreeBSD, 1.1.5-r1 on gentoo. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/474?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Icabc8acf75638c86c8c395e9ffecba7a7226cd97 Gerrit-Change-Number: 474 Gerrit-PatchSet: 13 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Fri, 10 Oct 2025 21:28:37 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --FvHF30VNxow= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, plaisthos.

Patch set 13:Code-Review -2

The change is no longer submittable: Code-Review is unsatisfied now= .

V= iew Change

1 comment:

  • Patchset:

    • Patch Set #13:

      While it pa= sses BB and GHA checks(!), it fails for my local builds - both on Linux and= FreeBSD.

      Output is just

      ```
      ...
      PASS: ssl_testdriver
      FAIL= : user_pass_testdriver
      PASS: push_update_msg_testdriver
      ...
      ```

      ```
      gert@...2718... ~/t_server= .git/tests/unit_tests/openvpn $ ./user_pass_testdriver
      [=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D] Running 10 test(s).
      [ RUN ] test_get_user_pass_def= ined
      ...
      [ RUN ] test_get_user_pass_authfile_file_assertions
      = [ ERROR ] --- srcdir
      [ LINE ] --- test_common.h:63: error: Failur= e!
      [ FAILED ] test_get_user_pass_authfile_file_assertions
      [=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D] 10 test(s) run.
      [ PASSED ] 8 test(s).
      [ = FAILED ] 2 test(s), listed below:
      [ FAILED ] test_get_user_pass_authf= ile_file
      [ FAILED ] test_get_user_pass_authfile_file_assertions

      2 FAILED TEST(S)
      [ RUN ] test_get_user_pass_authfile_fi= le_assertions
      [ ERROR ] --- srcdir
      [ LINE ] --- test_common.h:= 63: error: Failure!
      [ FAILED ] test_get_user_pass_authfile_file_assert= ions
      [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] 10 test(s) run.
      [ PASSED ] 8 = test(s).
      [ FAILED ] 2 test(s), listed below:
      [ FAILED ] test_get_= user_pass_authfile_file
      [ FAILED ] test_get_user_pass_authfile_file_as= sertions
       2 FAILED TEST(S)
      ```

      I first thought = it's something with "in tree builds", but it also fails "= ;out of tree" builds (only tested on FreeBSD). Maybe cmocka version? = 1.1.8 on FreeBSD, 1.1.5-r1 on gentoo.

To view, v= isit chan= ge 474. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Icabc8acf75638c86c8c395e9ffe= cba7a7226cd97
Gerrit-Change-Number: 474
Gerrit-PatchSet: 13
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
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: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Fri, 10 Oct 2025 21:28:37= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
= --FvHF30VNxow=--