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-03-09 17:46:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fortio (Old) and /work/SRC/openSUSE:Factory/.fortio.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fortio" Thu Mar 9 17:46:27 2023 rev:34 rq:1070296 version:1.53.1 Changes: -------- --- /work/SRC/openSUSE:Factory/fortio/fortio.changes 2023-03-05 20:08:13.964769580 +0100 +++ /work/SRC/openSUSE:Factory/.fortio.new.31432/fortio.changes 2023-03-09 17:46:27.575137723 +0100 @@ -1,0 +2,8 @@ +Thu Mar 09 05:46:34 UTC 2023 - ka...@b1-systems.de + +- Update to version 1.53.1: + * bump release (#728) + * go1.19.7 + codeOK fix + streaming misses (#727) + * Bump golang.org/x/net from 0.7.0 to 0.8.0 (#725) + +------------------------------------------------------------------- Old: ---- fortio-1.53.0.tar.gz New: ---- fortio-1.53.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fortio.spec ++++++ --- /var/tmp/diff_new_pack.DefrOw/_old 2023-03-09 17:46:28.227141194 +0100 +++ /var/tmp/diff_new_pack.DefrOw/_new 2023-03-09 17:46:28.231141215 +0100 @@ -19,7 +19,7 @@ %define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: fortio -Version: 1.53.0 +Version: 1.53.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.DefrOw/_old 2023-03-09 17:46:28.267141407 +0100 +++ /var/tmp/diff_new_pack.DefrOw/_new 2023-03-09 17:46:28.271141429 +0100 @@ -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.53.0</param> + <param name="revision">v1.53.1</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> @@ -17,7 +17,7 @@ <param name="compression">gz</param> </service> <service name="go_modules" mode="disabled"> - <param name="archive">fortio-1.53.0.tar.gz</param> + <param name="archive">fortio-1.53.1.tar.gz</param> </service> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.DefrOw/_old 2023-03-09 17:46:28.299141577 +0100 +++ /var/tmp/diff_new_pack.DefrOw/_new 2023-03-09 17:46:28.303141599 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/fortio/fortio</param> - <param name="changesrevision">49f6e72a72ec061e0041f487d19e929d787c88f7</param></service></servicedata> + <param name="changesrevision">fecd9f32c789b1f4e576bef76ea01623ce82e644</param></service></servicedata> (No newline at EOF) ++++++ fortio-1.53.0.tar.gz -> fortio-1.53.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fortio-1.53.0/.circleci/config.yml new/fortio-1.53.1/.circleci/config.yml --- old/fortio-1.53.0/.circleci/config.yml 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/.circleci/config.yml 2023-03-09 02:35:02.000000000 +0100 @@ -8,7 +8,7 @@ &defaultEnv docker: # specify the version - - image: docker.io/fortio/fortio.build:v54@sha256:4775038c3ace753978c8dfd99ebbd23607b61eeb0bf6c2bf2901d0485cc1870c + - image: docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680 working_directory: /build/fortio jobs: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fortio-1.53.0/Dockerfile new/fortio-1.53.1/Dockerfile --- old/fortio-1.53.0/Dockerfile 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/Dockerfile 2023-03-09 02:35:02.000000000 +0100 @@ -1,5 +1,5 @@ # Build the binaries in larger image -FROM docker.io/fortio/fortio.build:v54@sha256:4775038c3ace753978c8dfd99ebbd23607b61eeb0bf6c2bf2901d0485cc1870c as build +FROM docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680 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.53.0/Dockerfile.build new/fortio-1.53.1/Dockerfile.build --- old/fortio-1.53.0/Dockerfile.build 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/Dockerfile.build 2023-03-09 02:35:02.000000000 +0100 @@ -1,5 +1,5 @@ # Dependencies and linters for build: -FROM golang:1.19.6 +FROM golang:1.19.7 # 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.53.0/Dockerfile.echosrv new/fortio-1.53.1/Dockerfile.echosrv --- old/fortio-1.53.0/Dockerfile.echosrv 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/Dockerfile.echosrv 2023-03-09 02:35:02.000000000 +0100 @@ -1,5 +1,5 @@ # Build the binaries in larger image -FROM docker.io/fortio/fortio.build:v54@sha256:4775038c3ace753978c8dfd99ebbd23607b61eeb0bf6c2bf2901d0485cc1870c as build +FROM docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680 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.53.0/Dockerfile.fcurl new/fortio-1.53.1/Dockerfile.fcurl --- old/fortio-1.53.0/Dockerfile.fcurl 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/Dockerfile.fcurl 2023-03-09 02:35:02.000000000 +0100 @@ -1,5 +1,5 @@ # Build the binaries in larger image -FROM docker.io/fortio/fortio.build:v54@sha256:4775038c3ace753978c8dfd99ebbd23607b61eeb0bf6c2bf2901d0485cc1870c as build +FROM docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680 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.53.0/Makefile new/fortio-1.53.1/Makefile --- old/fortio-1.53.0/Makefile 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/Makefile 2023-03-09 02:35:02.000000000 +0100 @@ -7,8 +7,7 @@ IMAGES=echosrv fcurl # plus the combo image / Dockerfile without ext. DOCKER_PREFIX := docker.io/fortio/fortio -# Note to self: skip 55 (was built and push with unecessarily changing git config), so 56 is next -BUILD_IMAGE_TAG := v54@sha256:4775038c3ace753978c8dfd99ebbd23607b61eeb0bf6c2bf2901d0485cc1870c +BUILD_IMAGE_TAG := v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680 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.53.0/README.md new/fortio-1.53.1/README.md --- old/fortio-1.53.0/README.md 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/README.md 2023-03-09 02:35:02.000000000 +0100 @@ -1,4 +1,4 @@ -<!-- 1.53.0 --> +<!-- 1.53.1 --> # Fortio [](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.53.0/fortio-linux_amd64-1.53.0.tgz \ +curl -L https://github.com/fortio/fortio/releases/download/v1.53.1/fortio-linux_amd64-1.53.1.tgz \ | sudo tar -C / -xvzpf - # or the debian package -wget https://github.com/fortio/fortio/releases/download/v1.53.0/fortio_1.53.0_amd64.deb -dpkg -i fortio_1.53.0_amd64.deb +wget https://github.com/fortio/fortio/releases/download/v1.53.1/fortio_1.53.1_amd64.deb +dpkg -i fortio_1.53.1_amd64.deb # or the rpm -rpm -i https://github.com/fortio/fortio/releases/download/v1.53.0/fortio-1.53.0-1.x86_64.rpm +rpm -i https://github.com/fortio/fortio/releases/download/v1.53.1/fortio-1.53.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.53.0/fortio_win_1.53.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.53.1/fortio_win_1.53.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.53.0 usage: +ΦοÏÏίο 1.53.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.53.0/Webtest.sh new/fortio-1.53.1/Webtest.sh --- old/fortio-1.53.0/Webtest.sh 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/Webtest.sh 2023-03-09 02:35:02.000000000 +0100 @@ -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:v54@sha256:4775038c3ace753978c8dfd99ebbd23607b61eeb0bf6c2bf2901d0485cc1870c sleep 120) +DOCKERCURLID=$(docker run -d -v $TEST_CERT_VOL --net host --name $DOCKERSECVOLNAME docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680 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.53.0/fhttp/httprunner.go new/fortio-1.53.1/fhttp/httprunner.go --- old/fortio-1.53.0/fhttp/httprunner.go 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/fhttp/httprunner.go 2023-03-09 02:35:02.000000000 +0100 @@ -17,11 +17,11 @@ import ( "context" "fmt" - "net/http" "os" "runtime" "runtime/pprof" "sort" + "strconv" "sync" "fortio.org/fortio/periodic" @@ -59,20 +59,16 @@ // To be set as the Function in RunnerOptions. func (httpstate *HTTPRunnerResults) Run(ctx context.Context, t periodic.ThreadID) (bool, string) { log.Debugf("Calling in %d", t) - code, body, headerSize := httpstate.client.Fetch(ctx) - size := len(body) + code, size, headerSize := httpstate.client.StreamFetch(ctx) log.Debugf("Got in %3d hsz %d sz %d - will abort on %d", code, headerSize, size, httpstate.AbortOn) httpstate.RetCodes[code]++ httpstate.sizes.Record(float64(size)) httpstate.headerSizes.Record(float64(headerSize)) if httpstate.AbortOn == code { httpstate.aborter.Abort(false) - log.Infof("Aborted run because of code %d - data %s", code, DebugSummary(body, 1024)) + log.Infof("Aborted run because of code %d - data len %d", code, size) } - if code == http.StatusOK { - return true, "200" - } - return false, fmt.Sprint(code) + return codeIsOK(code), strconv.Itoa(code) } // HTTPRunnerOptions includes the base RunnerOptions plus http specific @@ -158,12 +154,12 @@ for i := 0; i < numThreads; i++ { i := i warmup.Go(func() error { - code, data, headerSize := httpstate[i].client.Fetch(ctx) + code, dataLen, headerSize := httpstate[i].client.StreamFetch(ctx) if !o.AllowInitialErrors && !codeIsOK(code) { - return fmt.Errorf("error %d for %s: %q", code, o.URL, string(data)) + return fmt.Errorf("error %d for %s (%d bytes)", code, o.URL, dataLen) } if i == 0 && log.LogVerbose() { - log.LogVf("first hit of url %s: status %03d, headers %d, total %d\n%s\n", o.URL, code, headerSize, len(data), data) + log.LogVf("first hit of url %s: status %03d, headers %d, total %d", o.URL, code, headerSize, dataLen) } return nil }) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fortio-1.53.0/go.mod new/fortio-1.53.1/go.mod --- old/fortio-1.53.0/go.mod 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/go.mod 2023-03-09 02:35:02.000000000 +0100 @@ -11,7 +11,7 @@ fortio.org/version v1.0.2 github.com/golang/protobuf v1.5.2 github.com/google/uuid v1.3.0 - golang.org/x/net v0.7.0 + golang.org/x/net v0.8.0 google.golang.org/grpc v1.53.0 ) @@ -28,8 +28,8 @@ fortio.org/sets v1.0.2 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect golang.org/x/exp v0.0.0-20230303215020-44a13b063f3e // indirect - golang.org/x/sys v0.5.0 // indirect - golang.org/x/text v0.7.0 // indirect + golang.org/x/sys v0.6.0 // indirect + golang.org/x/text v0.8.0 // indirect google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 // indirect google.golang.org/protobuf v1.28.1 // indirect ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fortio-1.53.0/go.sum new/fortio-1.53.1/go.sum --- old/fortio-1.53.0/go.sum 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/go.sum 2023-03-09 02:35:02.000000000 +0100 @@ -23,13 +23,13 @@ github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= golang.org/x/exp v0.0.0-20230303215020-44a13b063f3e h1:S8xf0d0OEmWrClvbMiUSp+7cGD00txONylwExlf9wR0= golang.org/x/exp v0.0.0-20230303215020-44a13b063f3e/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= -golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68= +golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= 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= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fortio-1.53.0/release/Dockerfile.in new/fortio-1.53.1/release/Dockerfile.in --- old/fortio-1.53.0/release/Dockerfile.in 2023-03-05 03:52:09.000000000 +0100 +++ new/fortio-1.53.1/release/Dockerfile.in 2023-03-09 02:35:02.000000000 +0100 @@ -1,5 +1,5 @@ # Concatenated after ../Dockerfile to create the tgz -FROM docker.io/fortio/fortio.build:v54@sha256:4775038c3ace753978c8dfd99ebbd23607b61eeb0bf6c2bf2901d0485cc1870c as stage +FROM docker.io/fortio/fortio.build:v56@sha256:07d916612d89c95abf15f519d2d1afc91af6e58ca36bd6c67f584379f8ef0680 as stage ARG archs="amd64 arm64 ppc64le s390x" ENV archs=${archs} # Build image defaults to build user, switch back to root for ++++++ vendor.tar.gz ++++++ ++++ 2237 lines of diff (skipped)