1. 29 Jun, 2023 2 commits
    • Dridi Boukelmoune's avatar
      vtc: Polish r3159 · 1c4506bd
      Dridi Boukelmoune authored
      For both processes, dump the screen before checking expectations. For
      p1, we make sure we have something to show before proceeding, and can
      abuse CLI serialization for that. Since p2 was already waited for, the
      screen dump was already guaranteed to succeed, on the other hand the
      superfluous p2 -wait can go away.
      1c4506bd
    • Nils Goroll's avatar
      Spray vsmw_assert_lock() · 05810d09
      Nils Goroll authored
      Motivated by #3948
      05810d09
  2. 28 Jun, 2023 1 commit
    • Dridi Boukelmoune's avatar
      vcc: Plug inconsequential leak · 9755dc71
      Dridi Boukelmoune authored
      The VCC_GlobalSymbol() function might be called twice for the same
      symbol. For example a subroutine symbol may be created when the sub
      keyword is first encountered, but it was referenced by a call action
      before the subroutine definition.
      
      The main problem the leak is causing is lsan's output polluting test
      cases looking at the screen output of varnishd, making the lines we
      care about scroll out to oblivion. To remedy this, VCC_GlobalSymbol()
      idempotence becomes free of side effects.
      9755dc71
  3. 26 Jun, 2023 12 commits
  4. 23 Jun, 2023 3 commits
    • Nils Goroll's avatar
      Make c121.vtc robust against concurrent execution · baf60b4d
      Nils Goroll authored
      this happened on one of the uplex linux vtesters which runs
      gcc and clang in parallel un-namespaced
      
      *    top   VTEST Abstract UDS backend: change path, drop poll
      **   top   === feature abstract_uds
      **** dT    0.004
      **   top   === server s1 -listen "@vtc.s1.sock" {
      **   s1    Starting server
      ---- s1    Server listen address (@vtc.s1.sock) cannot be resolved: bind(2)
      baf60b4d
    • Nils Goroll's avatar
      vtest: make the basename of the test directory available as vtcid · d208f376
      Nils Goroll authored
      to have available a unique string for concurrently running tests
      which is not a path.
      d208f376
    • Nils Goroll's avatar
      Try to stabilize m0.vtc on arm vtester · 0c2599e7
      Nils Goroll authored
      from the log:
      
      **   top   === shell -exit 1 -expect {failing as requested} {
      **** top   shell_cmd|exec 2>&1 ;
      **** top   shell_cmd|\tvarnishadm -n /root/VT/_vtest_tmp/vtc.37277.0dc3c11b/v1 vcl.load f1 /root/VT/_vtest_tmp/vtc.37277.0dc3c11b/f1
      **** dT    27.789
      **** v1    vsl|          0 CLI             - Rd vcl.load f1 vcl_f1.1686893821.277415/vgc.so 1auto
      **** v1    vsl|          0 CLI             - Wr 300 62 VCL "f1" Failed initialization
      Message:
      	failing as requested
      
      **** dT    27.893
      **** v1    vsl|          0 CLI             - Rd ping
      **** v1    vsl|          0 CLI             - Wr 200 19 PONG 1686893826 1.0
      **** dT    32.987
      **** top   shell_out|CLI communication error (hdr)
      **** top   shell_status = 0x0002
      ---- top   shell_exit not as expected: got 0x0002 wanted 0x0001
      *    top   RESETTING after ../../../../bin/varnishtest/tests/m00000.vtc
      **** dT    32.988
      0c2599e7
  5. 22 Jun, 2023 1 commit
  6. 20 Jun, 2023 1 commit
  7. 16 Jun, 2023 6 commits
    • Nils Goroll's avatar
      doc polish: cli_timeout · 185e73a1
      Nils Goroll authored
      Varnish historians claim to have evidence that the odd wording "from
      mgt_param" could have been an unintended side effect of a struct
      rename in ancient times at around 2011. (82411494)
      185e73a1
    • Nils Goroll's avatar
      Add init and open delays to the debug stevedore · 6efc2d55
      Nils Goroll authored
      To keep things simple, the open delay is global - the delay of
      the last debug stevedore applies to all of them.
      6efc2d55
    • Nils Goroll's avatar
      Trivial refactor of the debug stevedore · 10c606d3
      Nils Goroll authored
      10c606d3
    • Dridi Boukelmoune's avatar
      vtc_varnish: Log h2 frames · dff75480
      Dridi Boukelmoune authored
      dff75480
    • Dridi Boukelmoune's avatar
      vtc: Polish t02019 · 5a7b42e5
      Dridi Boukelmoune authored
      5a7b42e5
    • Dridi Boukelmoune's avatar
      vtc: Stabilize h2 req.body tests · 620740db
      Dridi Boukelmoune authored
      With the recent change to stream the request body to the backend like
      chunked encoding does, even when we know the content length, two test
      cases became sensitive to the timing of window updates. The data frames
      contain for the most part a 16kB payload, which happens to be the same
      as fetch_chunksize's default value.
      
      With a value of 64kB, corresponding to one more byte than the default h2
      initial window, we are garanteed to never risk a race between the VFP
      consuming the h2_rxbuf and the h2_sess task monitoring it to send window
      updates.
      
      This is also a good occasion to exercise stream.peer_window in t02019.
      
      Refs #3878
      Refs #3934
      620740db
  8. 14 Jun, 2023 1 commit
  9. 13 Jun, 2023 8 commits
  10. 12 Jun, 2023 5 commits