1. 23 Jun, 2023 1 commit
    • 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
  2. 22 Jun, 2023 1 commit
  3. 20 Jun, 2023 1 commit
  4. 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
  5. 14 Jun, 2023 1 commit
  6. 13 Jun, 2023 8 commits
  7. 12 Jun, 2023 8 commits
    • Nils Goroll's avatar
      Polish error message · 90361196
      Nils Goroll authored
      90361196
    • Nils Goroll's avatar
      Fix max_esi_depth check with onerror=abort · d0e12c7f
      Nils Goroll authored
      This was meant to be tested by 054215b5,
      but the test did not attempt to receive a second chunk, so it succeeded
      when it should not have.
      
      Fixes #3938
      d0e12c7f
    • Walid Boudebouda's avatar
      VCC: ignore ENOENT on cleanup if vcc fails · 37503f01
      Walid Boudebouda authored
      When VCC is run, some temporary files are generated during the
      process and are cleaned up at the end. The cleanup tries to remove
      all the files that are supposed to be generated and displays a
      "Could not delete 'vcl_...': No such file or directory" message if it
      fails to find one of them. The error happens when VCC fails before
      generating the file(s). This commit avoids the bogus messages by
      ignoring ENOENT if VCC failed.
      
      Fixes #3925
      37503f01
    • Walid Boudebouda's avatar
      VCC: use enum for mgt_vcc_fini_vp · 2234ef9f
      Walid Boudebouda authored
      2234ef9f
    • Dridi Boukelmoune's avatar
      build: Migrate witness.sh execution to vmod/ directory · 8f4e7d45
      Dridi Boukelmoune authored
      It's about time...
      8f4e7d45
    • Dridi Boukelmoune's avatar
      build: Turn dot into a "proper" maintainer program · 942d6128
      Dridi Boukelmoune authored
      The --enable-maintainer-mode option has been used in autogen.des for a
      while now and it has allowed automatic reconfiguration and hot reload of
      makefiles.
      
      For the next step, we can turn certain programs into maintainer programs
      and only require them when they are absolutely needed. This is what we
      currently do with SVG files generated from dot files, checked in git and
      optionally required, with an error message when rebuild is not possible.
      
      It turns out we only need 3 lines in configure.ac to implement all that,
      with the following differences:
      
      - no more `./configure --with-dot[=...]` option
        - use `./configure DOT=...` to override the default `dot` command
        - or alternatively run configure with `DOT=...` in the environment
      - generic missing error message (but referencing dot) from make
      - no need to reconfigure once `dot` is in the PATH
      
      The DOT override is actually documented in `./configure --help` like the
      `--with-dot[=...]` option was.
      
      While dot is our most emblematic maintainer tool, with its build targets
      checked in all the way in the git repository, this could be applied to
      other maintainer programs like sphinx-build and rst2man that should not
      be required when building from a dist archive.
      942d6128
    • Dridi Boukelmoune's avatar
      circleci: Stop at the witness.dot step · 8f2cfe92
      Dridi Boukelmoune authored
      We don't need to render witness.svg in CI, even if dot(1) is available.
      8f2cfe92
    • Dridi Boukelmoune's avatar
      v1l: Always initialize err · dc4662bc
      Dridi Boukelmoune authored
      Should we give it an explicit ETIMEDOUT in the dripping write case?
      dc4662bc
  8. 09 Jun, 2023 2 commits
  9. 08 Jun, 2023 2 commits
    • Nils Goroll's avatar
      c60c2886
    • Dridi Boukelmoune's avatar
      vrb: Reduce storage pressure from req.body · 17ffd469
      Dridi Boukelmoune authored
      Instead of trying to allocate storage for the entire request body when
      the content length is known, let it go in fetch_chunksize steps. This
      may prevent spurious cache evictions for large request bodies for pass
      transactions when we are merely streaming the body.
      
      On the other hand, when the content length is known and the goal is to
      cache the request body, we may still attempt a single allocation and all
      that entails.
      17ffd469
  10. 07 Jun, 2023 9 commits
  11. 06 Jun, 2023 1 commit