Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fortio for openSUSE:Factory checked 
in at 2023-04-13 14:11:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fortio (Old)
 and      /work/SRC/openSUSE:Factory/.fortio.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fortio"

Thu Apr 13 14:11:12 2023 rev:36 rq:1079073 version:1.54.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/fortio/fortio.changes    2023-03-21 
17:44:20.838639319 +0100
+++ /work/SRC/openSUSE:Factory/.fortio.new.19717/fortio.changes 2023-04-13 
14:11:16.560478636 +0200
@@ -1,0 +2,9 @@
+Thu Apr 13 07:33:09 UTC 2023 - ka...@b1-systems.de
+
+- Update to version 1.54.1:
+  * use newer go 1.20.3 and corresponding new lints (#743)
+  * Bump actions/checkout from 3.4.0 to 3.5.0 (#742)
+  * Bump github/codeql-action from 2.2.7 to 2.2.9 (#741)
+  * Bump google.golang.org/grpc from 1.53.0 to 1.54.0 (#738)
+
+-------------------------------------------------------------------

Old:
----
  fortio-1.54.0.obscpio

New:
----
  fortio-1.54.1.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fortio.spec ++++++
--- /var/tmp/diff_new_pack.gvvOE9/_old  2023-04-13 14:11:18.116487570 +0200
+++ /var/tmp/diff_new_pack.gvvOE9/_new  2023-04-13 14:11:18.152487777 +0200
@@ -19,7 +19,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           fortio
-Version:        1.54.0
+Version:        1.54.1
 Release:        0
 Summary:        Load testing library, command line tool, advanced echo server 
and web UI
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.gvvOE9/_old  2023-04-13 14:11:18.452489500 +0200
+++ /var/tmp/diff_new_pack.gvvOE9/_new  2023-04-13 14:11:18.480489660 +0200
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/fortio/fortio</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v1.54.0</param>
+    <param name="revision">v1.54.1</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">v(.*)</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.gvvOE9/_old  2023-04-13 14:11:18.644490602 +0200
+++ /var/tmp/diff_new_pack.gvvOE9/_new  2023-04-13 14:11:18.660490694 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/fortio/fortio</param>
-              <param 
name="changesrevision">69ae5d0f46e052004b565aa97e63de219addbe1c</param></service></servicedata>
+              <param 
name="changesrevision">e3eb219b4181cec6c655df44b0ac4ca064eecd95</param></service></servicedata>
 (No newline at EOF)
 

++++++ fortio-1.54.0.obscpio -> fortio-1.54.1.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/.circleci/config.yml 
new/fortio-1.54.1/.circleci/config.yml
--- old/fortio-1.54.0/.circleci/config.yml      2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/.circleci/config.yml      2023-04-06 17:13:21.000000000 
+0200
@@ -8,7 +8,7 @@
   &defaultEnv
   docker:
     # specify the version
-    - image: 
docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680
+    - image: 
docker.io/fortio/fortio.build:v57@sha256:12761387fdf486cad3b1b5c0a4a0ef44c6aaec4bf09e78f0027e60bc4d67d478
   working_directory: /build/fortio
 
 jobs:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/.github/workflows/codeql-analysis.yml 
new/fortio-1.54.1/.github/workflows/codeql-analysis.yml
--- old/fortio-1.54.0/.github/workflows/codeql-analysis.yml     2023-03-20 
19:32:23.000000000 +0100
+++ new/fortio-1.54.1/.github/workflows/codeql-analysis.yml     2023-04-06 
17:13:21.000000000 +0200
@@ -40,11 +40,11 @@
 
     steps:
       - name: Checkout repository
-        uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # 
pin@v3
+        uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # 
pin@v3
 
       # Initializes the CodeQL tools for scanning.
       - name: Initialize CodeQL
-        uses: 
github/codeql-action/init@168b99b3c22180941ae7dbdd5f5c9678ede476ba # pin@v2
+        uses: 
github/codeql-action/init@04df1262e6247151b5ac09cd2c303ac36ad3f62b # pin@v2
         with:
           languages: ${{ matrix.language }}
           # If you wish to specify custom queries, you can do so here or in a 
config file.
@@ -55,7 +55,7 @@
           # Autobuild attempts to build any compiled languages  (C/C++, C#, or 
Java).
           # If this step fails, then you should remove it and run the build 
manually (see below)
       - name: Autobuild
-        uses: 
github/codeql-action/autobuild@168b99b3c22180941ae7dbdd5f5c9678ede476ba # pin@v2
+        uses: 
github/codeql-action/autobuild@04df1262e6247151b5ac09cd2c303ac36ad3f62b # pin@v2
 
       # ℹ️ Command-line programs to run using the OS shell.
       # 📚 https://git.io/JvXDl
@@ -66,4 +66,4 @@
       #   make bootstrap
       #   make release
       - name: Perform CodeQL Analysis
-        uses: 
github/codeql-action/analyze@168b99b3c22180941ae7dbdd5f5c9678ede476ba # pin@v2
+        uses: 
github/codeql-action/analyze@04df1262e6247151b5ac09cd2c303ac36ad3f62b # pin@v2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/.github/workflows/main.yml 
new/fortio-1.54.1/.github/workflows/main.yml
--- old/fortio-1.54.0/.github/workflows/main.yml        2023-03-20 
19:32:23.000000000 +0100
+++ new/fortio-1.54.1/.github/workflows/main.yml        2023-04-06 
17:13:21.000000000 +0200
@@ -22,7 +22,7 @@
     # Steps represent a sequence of tasks that will be executed as part of the 
job
     steps:
       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can 
access it
-      - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # 
pin@v3
+      - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # 
pin@v3
 
       - name: Set up QEMU
         uses: 
docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # pin@v2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/.github/workflows/manual-build.yml 
new/fortio-1.54.1/.github/workflows/manual-build.yml
--- old/fortio-1.54.0/.github/workflows/manual-build.yml        2023-03-20 
19:32:23.000000000 +0100
+++ new/fortio-1.54.1/.github/workflows/manual-build.yml        2023-04-06 
17:13:21.000000000 +0200
@@ -21,7 +21,7 @@
         run: |
           echo "tag is ${{ github.event.inputs.tag }}"
 
-      - uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # 
pin@v3
+      - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # 
pin@v3
         with:
           ref: ${{ github.event.inputs.tag }}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/Dockerfile new/fortio-1.54.1/Dockerfile
--- old/fortio-1.54.0/Dockerfile        2023-03-20 19:32:23.000000000 +0100
+++ new/fortio-1.54.1/Dockerfile        2023-04-06 17:13:21.000000000 +0200
@@ -1,5 +1,5 @@
 # Build the binaries in larger image
-FROM 
docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680
 as build
+FROM 
docker.io/fortio/fortio.build:v57@sha256:12761387fdf486cad3b1b5c0a4a0ef44c6aaec4bf09e78f0027e60bc4d67d478
 as build
 WORKDIR /build
 COPY --chown=build:build . fortio
 ARG MODE=install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/Dockerfile.build 
new/fortio-1.54.1/Dockerfile.build
--- old/fortio-1.54.0/Dockerfile.build  2023-03-20 19:32:23.000000000 +0100
+++ new/fortio-1.54.1/Dockerfile.build  2023-04-06 17:13:21.000000000 +0200
@@ -1,5 +1,5 @@
 # Dependencies and linters for build:
-FROM golang:1.19.7
+FROM golang:1.20.3
 # Need gcc for -race test (and some linters though those work with 
CGO_ENABLED=0)
 RUN apt-get -y update && \
   apt-get --no-install-recommends -y upgrade && \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/Dockerfile.echosrv 
new/fortio-1.54.1/Dockerfile.echosrv
--- old/fortio-1.54.0/Dockerfile.echosrv        2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/Dockerfile.echosrv        2023-04-06 17:13:21.000000000 
+0200
@@ -1,5 +1,5 @@
 # Build the binaries in larger image
-FROM 
docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680
 as build
+FROM 
docker.io/fortio/fortio.build:v57@sha256:12761387fdf486cad3b1b5c0a4a0ef44c6aaec4bf09e78f0027e60bc4d67d478
 as build
 WORKDIR /build
 COPY . fortio
 RUN make -C fortio official-build-version BUILD_DIR=/build 
OFFICIAL_TARGET=fortio.org/fortio/echosrv
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/Dockerfile.fcurl 
new/fortio-1.54.1/Dockerfile.fcurl
--- old/fortio-1.54.0/Dockerfile.fcurl  2023-03-20 19:32:23.000000000 +0100
+++ new/fortio-1.54.1/Dockerfile.fcurl  2023-04-06 17:13:21.000000000 +0200
@@ -1,5 +1,5 @@
 # Build the binaries in larger image
-FROM 
docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680
 as build
+FROM 
docker.io/fortio/fortio.build:v57@sha256:12761387fdf486cad3b1b5c0a4a0ef44c6aaec4bf09e78f0027e60bc4d67d478
 as build
 WORKDIR /build
 COPY . fortio
 RUN make -C fortio official-build-version BUILD_DIR=/build 
OFFICIAL_TARGET=fortio.org/fortio/fcurl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/Makefile new/fortio-1.54.1/Makefile
--- old/fortio-1.54.0/Makefile  2023-03-20 19:32:23.000000000 +0100
+++ new/fortio-1.54.1/Makefile  2023-04-06 17:13:21.000000000 +0200
@@ -7,7 +7,7 @@
 IMAGES=echosrv fcurl # plus the combo image / Dockerfile without ext.
 
 DOCKER_PREFIX := docker.io/fortio/fortio
-BUILD_IMAGE_TAG := 
v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680
+BUILD_IMAGE_TAG := 
v57@sha256:12761387fdf486cad3b1b5c0a4a0ef44c6aaec4bf09e78f0027e60bc4d67d478
 BUILDX_PLATFORMS := linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
 BUILDX_POSTFIX :=
 ifeq '$(shell echo $(BUILDX_PLATFORMS) | awk -F "," "{print NF-1}")' '0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/README.md new/fortio-1.54.1/README.md
--- old/fortio-1.54.0/README.md 2023-03-20 19:32:23.000000000 +0100
+++ new/fortio-1.54.1/README.md 2023-04-06 17:13:21.000000000 +0200
@@ -1,4 +1,4 @@
-<!-- 1.54.0 -->
+<!-- 1.54.1 -->
 # Fortio
 
 [![Awesome 
Go](https://fortio.org/mentioned-badge.svg)](https://github.com/avelino/awesome-go#networking)
@@ -60,13 +60,13 @@
 The [releases](https://github.com/fortio/fortio/releases) page has binaries 
for many OS/architecture combinations (see assets):
 
 ```shell
-curl -L 
https://github.com/fortio/fortio/releases/download/v1.54.0/fortio-linux_amd64-1.54.0.tgz
 \
+curl -L 
https://github.com/fortio/fortio/releases/download/v1.54.1/fortio-linux_amd64-1.54.1.tgz
 \
  | sudo tar -C / -xvzpf -
 # or the debian package
-wget 
https://github.com/fortio/fortio/releases/download/v1.54.0/fortio_1.54.0_amd64.deb
-dpkg -i fortio_1.54.0_amd64.deb
+wget 
https://github.com/fortio/fortio/releases/download/v1.54.1/fortio_1.54.1_amd64.deb
+dpkg -i fortio_1.54.1_amd64.deb
 # or the rpm
-rpm -i 
https://github.com/fortio/fortio/releases/download/v1.54.0/fortio-1.54.0-1.x86_64.rpm
+rpm -i 
https://github.com/fortio/fortio/releases/download/v1.54.1/fortio-1.54.1-1.x86_64.rpm
 # and more, see assets in release page
 ```
 
@@ -76,7 +76,7 @@
 brew install fortio
 ```
 
-On Windows, download 
https://github.com/fortio/fortio/releases/download/v1.54.0/fortio_win_1.54.0.zip
 and extract `fortio.exe` to any location, then using the Windows Command 
Prompt:
+On Windows, download 
https://github.com/fortio/fortio/releases/download/v1.54.1/fortio_win_1.54.1.zip
 and extract `fortio.exe` to any location, then using the Windows Command 
Prompt:
 ```
 fortio.exe server
 ```
@@ -127,7 +127,7 @@
 <!-- use release/updateFlags.sh to update this section -->
 <pre>
 <!-- USAGE_START -->
-Φορτίο 1.54.0 usage:
+Φορτίο 1.54.1 usage:
         fortio command [flags] target
 where command is one of: load (load testing), server (starts ui, rest api,
  http-echo, redirect, proxies, tcp-echo, udp-echo and grpc ping servers),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/Webtest.sh new/fortio-1.54.1/Webtest.sh
--- old/fortio-1.54.0/Webtest.sh        2023-03-20 19:32:23.000000000 +0100
+++ new/fortio-1.54.1/Webtest.sh        2023-04-06 17:13:21.000000000 +0200
@@ -140,7 +140,7 @@
 PPROF_URL="$BASE_URL/debug/pprof/heap?debug=1"
 $CURL "$PPROF_URL" | grep -i TotalAlloc # should find this in memory profile
 # creating dummy container to hold a volume for test certs due to remote 
docker bind mount limitation.
-DOCKERCURLID=$(docker run -d -v $TEST_CERT_VOL --net host --name 
$DOCKERSECVOLNAME 
docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680
 sleep 120)
+DOCKERCURLID=$(docker run -d -v $TEST_CERT_VOL --net host --name 
$DOCKERSECVOLNAME 
docker.io/fortio/fortio.build:v57@sha256:12761387fdf486cad3b1b5c0a4a0ef44c6aaec4bf09e78f0027e60bc4d67d478
 sleep 120)
 # while we have something with actual curl binary do
 # Test for h2c upgrade (#562)
 docker exec $DOCKERSECVOLNAME /usr/bin/curl -v --http2 -m 10 -d foo42 
http://localhost:8080/debug | tee >(cat 1>&2) | grep foo42
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/bincommon/commonflags.go 
new/fortio-1.54.1/bincommon/commonflags.go
--- old/fortio-1.54.0/bincommon/commonflags.go  2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/bincommon/commonflags.go  2023-04-06 17:13:21.000000000 
+0200
@@ -188,11 +188,7 @@
 // and set in httpOpts.
 func ConnectionReuseRangeValidator(httpOpts *fhttp.HTTPOptions) func(string) 
error {
        return func(value string) error {
-               if err := httpOpts.ValidateAndSetConnectionReuseRange(value); 
err != nil {
-                       return err
-               }
-
-               return nil
+               return httpOpts.ValidateAndSetConnectionReuseRange(value)
        }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/fnet/network_norace_test.go 
new/fortio-1.54.1/fnet/network_norace_test.go
--- old/fortio-1.54.0/fnet/network_norace_test.go       2023-03-20 
19:32:23.000000000 +0100
+++ new/fortio-1.54.1/fnet/network_norace_test.go       2023-04-06 
17:13:21.000000000 +0200
@@ -42,6 +42,9 @@
                eofStopFlag := (i%2 == 0)
                in := io.NopCloser(strings.NewReader(strings.Repeat("x", 
50000)))
                var out ErroringWriter
-               fnet.NetCat(ctx, "localhost"+port, in, &out, eofStopFlag)
+               err := fnet.NetCat(ctx, "localhost"+port, in, &out, eofStopFlag)
+               if err == nil {
+                       t.Errorf("NetCat expected to get error %v %v", 
eofStopFlag, err)
+               }
        }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/fnet/network_test.go 
new/fortio-1.54.1/fnet/network_test.go
--- old/fortio-1.54.0/fnet/network_test.go      2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/fnet/network_test.go      2023-04-06 17:13:21.000000000 
+0200
@@ -302,6 +302,7 @@
 func TestSetSocketBuffersError(t *testing.T) {
        c := &net.UnixConn{}
        fnet.SetSocketBuffers(c, 512, 256) // triggers 22:11:14 V 
network.go:245> Not setting socket options on non tcp socket <nil>
+       t.Logf("SetSocketBuffers on non tcp socket %v", c)
 }
 
 func TestSmallReadUntil(t *testing.T) {
@@ -584,6 +585,7 @@
        }
        wg.Wait()
        fnet.FlagResolveIPType.Set("ip4")
+       t.Log("TestDNSCacheConcurrency done")
 }
 
 func TestBadValueForDNSMethod(t *testing.T) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/go.mod new/fortio-1.54.1/go.mod
--- old/fortio-1.54.0/go.mod    2023-03-20 19:32:23.000000000 +0100
+++ new/fortio-1.54.1/go.mod    2023-04-06 17:13:21.000000000 +0200
@@ -12,7 +12,7 @@
        github.com/golang/protobuf v1.5.3
        github.com/google/uuid v1.3.0
        golang.org/x/net v0.8.0
-       google.golang.org/grpc v1.53.0
+       google.golang.org/grpc v1.54.0
 )
 
 // Local dev of dependencies changes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/go.sum new/fortio-1.54.1/go.sum
--- old/fortio-1.54.0/go.sum    2023-03-20 19:32:23.000000000 +0100
+++ new/fortio-1.54.1/go.sum    2023-04-06 17:13:21.000000000 +0200
@@ -33,8 +33,8 @@
 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod 
h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 
h1:znp6mq/drrY+6khTAlJUDNFFcDGV2ENLYKpMq8SyCds=
 google.golang.org/genproto v0.0.0-20230223222841-637eb2293923/go.mod 
h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw=
-google.golang.org/grpc v1.53.0 h1:LAv2ds7cmFV/XTS3XG1NneeENYrXGmorPxsBbptIjNc=
-google.golang.org/grpc v1.53.0/go.mod 
h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw=
+google.golang.org/grpc v1.54.0 h1:EhTqbhiYeixwWQtAEZAxmV9MGqcjEU2mFx52xCzNyag=
+google.golang.org/grpc v1.54.0/go.mod 
h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g=
 google.golang.org/protobuf v1.26.0-rc.1/go.mod 
h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
 google.golang.org/protobuf v1.26.0/go.mod 
h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
 google.golang.org/protobuf v1.28.1 
h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/jrpc/jrpcServer.go 
new/fortio-1.54.1/jrpc/jrpcServer.go
--- old/fortio-1.54.0/jrpc/jrpcServer.go        2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/jrpc/jrpcServer.go        2023-04-06 17:13:21.000000000 
+0200
@@ -82,17 +82,22 @@
        return ReplyClientError(w, NewErrorReply(extraMsg, err))
 }
 
-// HandleCall deserializes the expected type from the request body.
+// ProcessRequest deserializes the expected type from the request body.
 // Sample usage code:
 //
-//     req, err := jrpc.HandleCall[Request](w, r)
+//     req, err := jrpc.ProcessRequest[Request](w, r)
 //     if err != nil {
 //         _ = jrpc.ReplyError(w, "request error", err)
 //     }
-func HandleCall[Q any](w http.ResponseWriter, r *http.Request) (*Q, error) {
+func ProcessRequest[Q any](r *http.Request) (*Q, error) {
        data, err := io.ReadAll(r.Body)
        if err != nil {
                return nil, err
        }
        return Deserialize[Q](data)
 }
+
+// Deprecated: use ProcessRequest instead.
+func HandleCall[Q any](_ http.ResponseWriter, r *http.Request) (*Q, error) {
+       return ProcessRequest[Q](r)
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/jrpc/jrpc_test.go 
new/fortio-1.54.1/jrpc/jrpc_test.go
--- old/fortio-1.54.0/jrpc/jrpc_test.go 2023-03-20 19:32:23.000000000 +0100
+++ new/fortio-1.54.1/jrpc/jrpc_test.go 2023-04-06 17:13:21.000000000 +0200
@@ -346,13 +346,13 @@
 
 const ErrReaderMessage = "simulated IO error"
 
-func (ErrReader) Read(p []byte) (n int, err error) {
+func (ErrReader) Read(_ []byte) (n int, err error) {
        return 0, errors.New(ErrReaderMessage)
 }
 
 func TestHandleCallError(t *testing.T) {
        r, _ := http.NewRequest(http.MethodGet, "/", ErrReader{})
-       _, err := jrpc.HandleCall[jrpc.ServerReply](nil, r)
+       _, err := jrpc.ProcessRequest[jrpc.ServerReply](r)
        if err == nil {
                t.Errorf("expected error, got nil")
        }
@@ -422,7 +422,7 @@
        mux, addr := fhttp.HTTPServer("test3", "0")
        port := addr.(*net.TCPAddr).Port
        mux.HandleFunc("/test-api-array", func(w http.ResponseWriter, r 
*http.Request) {
-               req, err := jrpc.HandleCall[SliceRequest](w, r)
+               req, err := jrpc.ProcessRequest[SliceRequest](r)
                if err != nil {
                        err = jrpc.ReplyError(w, "request error", err)
                        if err != nil {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/periodic/periodic.go 
new/fortio-1.54.1/periodic/periodic.go
--- old/fortio-1.54.0/periodic/periodic.go      2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/periodic/periodic.go      2023-04-06 17:13:21.000000000 
+0200
@@ -688,11 +688,12 @@
 
 // Before each Run().
 func (a *fileAccessLogger) Start(ctx context.Context, threadID ThreadID, iter 
int64, startTime time.Time) context.Context {
+       log.Debugf("fileAccessLogger start thread %d iter %d, %v", threadID, 
iter, startTime)
        return ctx
 }
 
 // Report logs a single request to a file.
-func (a *fileAccessLogger) Report(ctx context.Context, thread ThreadID, iter 
int64, time time.Time,
+func (a *fileAccessLogger) Report(_ context.Context, thread ThreadID, iter 
int64, time time.Time,
        latency float64, status bool, details string,
 ) {
        a.mu.Lock()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/periodic/periodic_test.go 
new/fortio-1.54.1/periodic/periodic_test.go
--- old/fortio-1.54.0/periodic/periodic_test.go 2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/periodic/periodic_test.go 2023-04-06 17:13:21.000000000 
+0200
@@ -239,15 +239,15 @@
        success int64
 }
 
-func (t *testAccessLogger) Start(ctx context.Context, thread ThreadID, iter 
int64, time time.Time) context.Context {
+func (t *testAccessLogger) Start(ctx context.Context, _ ThreadID, _ int64, _ 
time.Time) context.Context {
        t.Lock()
        defer t.Unlock()
        t.starts++
        return ctx
 }
 
-func (t *testAccessLogger) Report(ctx context.Context, thread ThreadID, iter 
int64, time time.Time,
-       latency float64, status bool, details string,
+func (t *testAccessLogger) Report(_ context.Context, _ ThreadID, iter int64, _ 
time.Time,
+       _ float64, status bool, _ string,
 ) {
        t.Lock()
        defer t.Unlock()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/rapi/restHandler_test.go 
new/fortio-1.54.1/rapi/restHandler_test.go
--- old/fortio-1.54.0/rapi/restHandler_test.go  2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/rapi/restHandler_test.go  2023-04-06 17:13:21.000000000 
+0200
@@ -82,7 +82,7 @@
        return r
 }
 
-func hookTest(ho *fhttp.HTTPOptions, ro *periodic.RunnerOptions) {
+func hookTest(_ *fhttp.HTTPOptions, _ *periodic.RunnerOptions) {
        // TODO: find something to mutate/test
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/release/Dockerfile.in 
new/fortio-1.54.1/release/Dockerfile.in
--- old/fortio-1.54.0/release/Dockerfile.in     2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/release/Dockerfile.in     2023-04-06 17:13:21.000000000 
+0200
@@ -1,5 +1,5 @@
 # Concatenated after ../Dockerfile to create the tgz
-FROM 
docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680
 as stage
+FROM 
docker.io/fortio/fortio.build:v57@sha256:12761387fdf486cad3b1b5c0a4a0ef44c6aaec4bf09e78f0027e60bc4d67d478
 as stage
 ARG archs="amd64 arm64 ppc64le s390x"
 ENV archs=${archs}
 # Build image defaults to build user, switch back to root for
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/tcprunner/tcprunner.go 
new/fortio-1.54.1/tcprunner/tcprunner.go
--- old/fortio-1.54.0/tcprunner/tcprunner.go    2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/tcprunner/tcprunner.go    2023-04-06 17:13:21.000000000 
+0200
@@ -48,7 +48,7 @@
 
 // Run tests tcp request fetching. Main call being run at the target QPS.
 // To be set as the Function in RunnerOptions.
-func (tcpstate *RunnerResults) Run(ctx context.Context, t periodic.ThreadID) 
(bool, string) {
+func (tcpstate *RunnerResults) Run(_ context.Context, t periodic.ThreadID) 
(bool, string) {
        log.Debugf("Calling in %d", t)
        _, err := tcpstate.client.Fetch()
        if err != nil {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fortio-1.54.0/udprunner/udprunner.go 
new/fortio-1.54.1/udprunner/udprunner.go
--- old/fortio-1.54.0/udprunner/udprunner.go    2023-03-20 19:32:23.000000000 
+0100
+++ new/fortio-1.54.1/udprunner/udprunner.go    2023-04-06 17:13:21.000000000 
+0200
@@ -51,7 +51,7 @@
 
 // Run tests udp request fetching. Main call being run at the target QPS.
 // To be set as the Function in RunnerOptions.
-func (udpstate *RunnerResults) Run(ctx context.Context, t periodic.ThreadID) 
(bool, string) {
+func (udpstate *RunnerResults) Run(_ context.Context, t periodic.ThreadID) 
(bool, string) {
        log.Debugf("Calling in %d", t)
        _, err := udpstate.client.Fetch()
        if err != nil {

++++++ fortio.obsinfo ++++++
--- /var/tmp/diff_new_pack.gvvOE9/_old  2023-04-13 14:11:19.368494759 +0200
+++ /var/tmp/diff_new_pack.gvvOE9/_new  2023-04-13 14:11:19.372494782 +0200
@@ -1,5 +1,5 @@
 name: fortio
-version: 1.54.0
-mtime: 1679337143
-commit: 69ae5d0f46e052004b565aa97e63de219addbe1c
+version: 1.54.1
+mtime: 1680794001
+commit: e3eb219b4181cec6c655df44b0ac4ca064eecd95
 

++++++ vendor.tar.gz ++++++
++++ 1746 lines of diff (skipped)

Reply via email to