Diff of the two buildlogs: -- --- b1/build.log 2025-03-12 03:58:38.161453992 +0000 +++ b2/build.log 2025-03-12 04:00:12.509205681 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 11 15:56:59 -12 2025 -I: pbuilder-time-stamp: 1741751819 +I: Current time: Wed Apr 15 00:21:38 +14 2026 +I: pbuilder-time-stamp: 1776162098 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying 000-fix-32bit-ftbfs.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3381841/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4026826/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 14 10:21 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/4026826/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4026826/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='a474f6d011db4a6f8d023125407ff4c6' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3381841' - PS1='# ' - PS2='> ' + INVOCATION_ID=409de883815e44f9a38b224607d816cf + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=4026826 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.dvmAK40C/pbuilderrc_ioVU --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dvmAK40C/b1 --logfile b1/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.dvmAK40C/pbuilderrc_JsdK --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dvmAK40C/b2 --logfile b2/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3381841/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4026826/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -203,7 +235,7 @@ Get: 76 http://deb.debian.org/debian trixie/main arm64 golang-google-genproto-dev all 0.0~git20210726.e7812ac-4 [5301 kB] Get: 77 http://deb.debian.org/debian trixie/main arm64 golang-github-google-cel-go-dev all 0.18.2+ds-5 [400 kB] Get: 78 http://deb.debian.org/debian trixie/main arm64 golang-github-rogpeppe-fastuuid-dev all 0.0~git20150106.0.6724a57-2.1 [4292 B] -Fetched 91.5 MB in 0s (184 MB/s) +Fetched 91.5 MB in 1s (169 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19914 files and directories currently installed.) @@ -530,7 +562,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-grpc-ecosystem-grpc-gateway-2.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_source.changes +I: user script /srv/workspace/pbuilder/4026826/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/4026826/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-grpc-ecosystem-grpc-gateway-2.20.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_source.changes dpkg-buildpackage: info: source package golang-github-grpc-ecosystem-grpc-gateway dpkg-buildpackage: info: source version 2.20.0-2 dpkg-buildpackage: info: source distribution unstable @@ -549,72 +585,72 @@ dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang cd obj-aarch64-linux-gnu && go install -trimpath -v -p 12 github.com/grpc-ecosystem/grpc-gateway/internal/casing github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator github.com/grpc-ecosystem/grpc-gateway/internal/descriptor github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig github.com/grpc-ecosystem/grpc-gateway/internal/generator github.com/grpc-ecosystem/grpc-gateway/internal/httprule github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options github.com/grpc-ecosystem/grpc-gateway/runtime github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb github.com/grpc-ecosystem/grpc-gateway/utilities -internal/goos -internal/godebugs +internal/asan +internal/coverage/rtcov internal/byteorder internal/unsafeheader -internal/asan +internal/godebugs internal/goarch -internal/msan -cmp -unicode/utf8 -internal/runtime/syscall -internal/goexperiment +internal/goos internal/profilerecord -internal/coverage/rtcov +internal/goexperiment +internal/msan internal/cpu -internal/runtime/math -internal/itoa +internal/runtime/syscall sync/atomic +unicode/utf8 +cmp math/bits -internal/chacha8rand -unicode -internal/gover +internal/itoa +internal/runtime/math internal/abi +unicode internal/goversion +internal/chacha8rand google.golang.org/protobuf/internal/flags +internal/gover unicode/utf16 encoding log/internal internal/nettrace google.golang.org/grpc/serviceconfig +math +google.golang.org/protobuf/internal/set container/list crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder crypto/internal/boring/sig -math -google.golang.org/protobuf/internal/set -vendor/golang.org/x/crypto/cryptobyte/asn1 crypto/internal/fips140/subtle +vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias -internal/bytealg crypto/internal/fips140deps/cpu internal/runtime/atomic internal/runtime/sys +internal/bytealg internal/runtime/exithook internal/stringslite internal/race -internal/runtime/maps internal/sync +internal/runtime/maps runtime internal/reflectlite -weak iter -sync crypto/subtle -slices +weak +sync maps +slices errors sort -internal/bisect google.golang.org/protobuf/internal/pragma internal/testlog +internal/bisect internal/singleflight unique internal/oserror +runtime/cgo io path -runtime/cgo strconv vendor/golang.org/x/net/dns/dnsmessage math/rand/v2 @@ -623,20 +659,20 @@ internal/godebug strings bytes -hash +reflect container/heap +hash crypto/internal/randutil -reflect +bufio math/rand -golang.org/x/text/internal/tag internal/types/errors -bufio -golang.org/x/text/transform -go/version +golang.org/x/text/internal/tag go/build/constraint +go/version hash/fnv hash/crc32 regexp/syntax +golang.org/x/text/transform net/netip html crypto @@ -644,163 +680,163 @@ crypto/internal/impl vendor/golang.org/x/text/transform net/http/internal/ascii -crypto/internal/fips140 google.golang.org/grpc/internal/grpcrand +crypto/internal/fips140 crypto/internal/fips140/sha256 +crypto/tls/internal/fips140tls crypto/internal/fips140/sha512 crypto/internal/fips140/sha3 -crypto/tls/internal/fips140tls -time +crypto/sha3 internal/syscall/execenv +time internal/syscall/unix -crypto/sha3 crypto/internal/fips140/hmac crypto/internal/fips140hash crypto/internal/fips140/check -regexp crypto/internal/fips140/aes -crypto/internal/fips140/nistec/fiat -crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/bigmod crypto/internal/fips140/hkdf +crypto/internal/fips140/bigmod crypto/internal/fips140/tls12 +crypto/internal/fips140/edwards25519/field +crypto/internal/fips140/nistec/fiat +regexp crypto/internal/fips140/tls13 crypto/internal/fips140/edwards25519 -io/fs -internal/poll context +internal/poll google.golang.org/grpc/backoff +io/fs google.golang.org/grpc/keepalive -internal/filepathlite -embed +crypto/internal/fips140/nistec google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/grpcsync +internal/filepathlite +embed google.golang.org/protobuf/internal/editiondefaults os -crypto/internal/fips140/nistec internal/fmtsort encoding/binary encoding/base64 -golang.org/x/sys/unix vendor/golang.org/x/crypto/internal/poly1305 +golang.org/x/sys/unix encoding/pem -path/filepath -crypto/internal/sysrand google.golang.org/protobuf/internal/detrand fmt google.golang.org/grpc/internal/envconfig +crypto/internal/sysrand +path/filepath crypto/internal/entropy -crypto/internal/fips140/drbg net -github.com/grpc-ecosystem/grpc-gateway/internal/casing +crypto/internal/fips140/drbg crypto/internal/fips140/aes/gcm crypto/internal/fips140only +crypto/internal/fips140/ecdh crypto/internal/fips140/ed25519 crypto/internal/fips140/mlkem crypto/internal/fips140/rsa +crypto/internal/fips140/ecdsa crypto/md5 crypto/rc4 -crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa +github.com/grpc-ecosystem/grpc-gateway/internal/casing crypto/cipher go/token -go/doc/comment -encoding/json text/tabwriter -math/big +go/doc/comment internal/buildcfg -google.golang.org/protobuf/internal/errors compress/flate +math/big google.golang.org/protobuf/internal/version -google.golang.org/protobuf/encoding/protowire +encoding/json +google.golang.org/protobuf/internal/errors flag golang.org/x/text/internal/language golang.org/x/text/unicode/norm +google.golang.org/protobuf/encoding/protowire go/scanner google.golang.org/protobuf/reflect/protoreflect google.golang.org/grpc/internal/grpclog log -github.com/grpc-ecosystem/grpc-gateway/utilities compress/gzip +github.com/grpc-ecosystem/grpc-gateway/utilities go/ast -github.com/grpc-ecosystem/grpc-gateway/internal/httprule gopkg.in/yaml.v3 +github.com/grpc-ecosystem/grpc-gateway/internal/httprule net/url text/template/parse -golang.org/x/net/internal/timeseries golang.org/x/text/internal/language/compact +golang.org/x/net/internal/timeseries crypto/internal/boring -crypto/des -golang.org/x/text/language -google.golang.org/grpc/grpclog crypto/aes +golang.org/x/text/language +crypto/des +crypto/ecdh google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order -google.golang.org/protobuf/runtime/protoiface +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/reflect/protoregistry +google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt -google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/descopts -google.golang.org/protobuf/internal/protolazy google.golang.org/protobuf/internal/encoding/json +google.golang.org/grpc/grpclog text/template -google.golang.org/grpc/connectivity +google.golang.org/protobuf/internal/protolazy golang.org/x/text/internal -crypto/ecdh -crypto/sha512 golang.org/x/text/cases -crypto/hmac +crypto/sha512 google.golang.org/protobuf/proto -vendor/golang.org/x/crypto/chacha20 +go/parser +go/printer +google.golang.org/grpc/connectivity +crypto/hmac go/constant +google.golang.org/protobuf/internal/encoding/defval crypto/rand crypto/elliptic crypto/internal/boring/bbig -go/parser -go/printer -google.golang.org/protobuf/internal/encoding/defval encoding/asn1 +vendor/golang.org/x/crypto/chacha20 crypto/ed25519 -vendor/golang.org/x/crypto/chacha20poly1305 crypto/rsa crypto/sha1 +vendor/golang.org/x/crypto/chacha20poly1305 google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc -crypto/internal/hpke crypto/sha256 crypto/dsa encoding/hex +crypto/internal/hpke +html/template vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack mime -mime/quotedprintable -html/template vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix +mime/quotedprintable net/http/internal -go/types google.golang.org/grpc/attributes -google.golang.org/grpc/internal/idle +go/types go/format +google.golang.org/grpc/internal/idle golang.org/x/text/unicode/bidi golang.org/x/net/http2/hpack vendor/golang.org/x/text/secure/bidirule crypto/ecdsa -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/protobuf/encoding/protojson golang.org/x/text/secure/bidirule -vendor/golang.org/x/net/idna golang.org/x/net/idna +vendor/golang.org/x/net/idna +google.golang.org/protobuf/internal/encoding/tag +google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/internal/impl net/textproto -google.golang.org/grpc/internal/syscall -vendor/golang.org/x/net/http/httpproxy +crypto/x509 google.golang.org/grpc/internal +vendor/golang.org/x/net/http/httpproxy +google.golang.org/grpc/internal/syscall google.golang.org/grpc/internal/resolver/dns/internal -crypto/x509 google.golang.org/grpc/codes google.golang.org/grpc/metadata vendor/golang.org/x/net/http/httpguts @@ -811,71 +847,71 @@ google.golang.org/grpc/stats google.golang.org/grpc/tap google.golang.org/grpc/encoding +crypto/tls google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl -crypto/tls -google.golang.org/protobuf/types/descriptorpb -google.golang.org/protobuf/types/dynamicpb google.golang.org/protobuf/types/known/structpb -google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/protoadapt +google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/durationpb +google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/fieldmaskpb +google.golang.org/protobuf/types/dynamicpb google.golang.org/protobuf/types/known/wrapperspb google.golang.org/protobuf/types/known/emptypb google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/pretty -github.com/golang/protobuf/ptypes/timestamp github.com/golang/protobuf/ptypes/duration google.golang.org/genproto/googleapis/rpc/status +github.com/golang/protobuf/ptypes/timestamp google.golang.org/genproto/googleapis/api/httpbody -google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/internal/status +google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/status google.golang.org/grpc/internal/binarylog google.golang.org/protobuf/internal/editionssupport google.golang.org/protobuf/types/gofeaturespb google.golang.org/protobuf/types/pluginpb -google.golang.org/genproto/googleapis/api/annotations github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options google.golang.org/genproto/googleapis/api/visibility +google.golang.org/genproto/googleapis/api/annotations google.golang.org/protobuf/reflect/protodesc github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig google.golang.org/protobuf/compiler/protogen github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator -github.com/grpc-ecosystem/grpc-gateway/internal/descriptor net/http/httptrace google.golang.org/grpc/internal/credentials +github.com/grpc-ecosystem/grpc-gateway/internal/descriptor google.golang.org/grpc/credentials net/http -github.com/grpc-ecosystem/grpc-gateway/internal/generator -google.golang.org/grpc/internal/channelz -google.golang.org/grpc/resolver google.golang.org/grpc/credentials/insecure +google.golang.org/grpc/resolver google.golang.org/grpc/peer -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi +google.golang.org/grpc/internal/channelz google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal/resolver/passthrough -google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/balancer/grpclb/state +google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/resolver/dns -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway +github.com/grpc-ecosystem/grpc-gateway/internal/generator google.golang.org/grpc/channelz google.golang.org/grpc/balancer +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/serviceconfig -google.golang.org/grpc/internal/resolver google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/balancer/gracefulswitch +google.golang.org/grpc/internal/resolver +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 +golang.org/x/net/trace net/http/httputil golang.org/x/net/http2 -golang.org/x/net/trace google.golang.org/grpc/internal/transport google.golang.org/grpc google.golang.org/grpc/health/grpc_health_v1 @@ -896,7 +932,7 @@ --- PASS: TestCamelIdentifier/snake_case_identifier_with_digit_and_package (0.00s) --- PASS: TestCamelIdentifier/snake_case_identifier_with_digit_and_multiple_dots (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/casing 0.011s +ok github.com/grpc-ecosystem/grpc-gateway/internal/casing 0.008s === RUN TestParseRequest === RUN TestParseRequest/Empty_input_should_produce_empty_output === RUN TestParseRequest/Invalid_reader_should_produce_error @@ -906,11 +942,11 @@ --- PASS: TestParseRequest/Invalid_reader_should_produce_error (0.00s) --- PASS: TestParseRequest/Invalid_proto_message_should_produce_error (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator 0.016s +ok github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator 0.015s === RUN TestLoadGrpcAPIServiceFromYAMLInvalidType --- PASS: TestLoadGrpcAPIServiceFromYAMLInvalidType (0.00s) === RUN TestLoadGrpcAPIServiceFromYAMLSingleRule ---- PASS: TestLoadGrpcAPIServiceFromYAMLSingleRule (0.01s) +--- PASS: TestLoadGrpcAPIServiceFromYAMLSingleRule (0.00s) === RUN TestLoadGrpcAPIServiceFromYAMLRejectInvalidYAML --- PASS: TestLoadGrpcAPIServiceFromYAMLRejectInvalidYAML (0.00s) === RUN TestLoadGrpcAPIServiceFromYAMLMultipleWithAdditionalBindings @@ -1011,7 +1047,7 @@ === RUN TestGoType --- PASS: TestGoType (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.030s +ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.018s ? github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/apiconfig [no test files] ? github.com/grpc-ecosystem/grpc-gateway/internal/descriptor/openapiconfig [no test files] ? github.com/grpc-ecosystem/grpc-gateway/internal/generator [no test files] @@ -1030,7 +1066,7 @@ === RUN TestTemplateStringer --- PASS: TestTemplateStringer (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.012s +ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.010s ? github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway [no test files] === RUN TestGenerator_Generate --- PASS: TestGenerator_Generate (0.00s) @@ -1051,7 +1087,7 @@ === RUN TestDuplicatePathsInDifferentService --- PASS: TestDuplicatePathsInDifferentService (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.037s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.020s === RUN TestParseReqParam === RUN TestParseReqParam/Test_0 === RUN TestParseReqParam/Test_1 @@ -1081,7 +1117,7 @@ --- PASS: TestParseReqParam/Test_11 (0.00s) --- PASS: TestParseReqParam/Test_12 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.014s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.012s === RUN TestCycle --- PASS: TestCycle (0.00s) === RUN Test_getUniqueFields @@ -1105,11 +1141,11 @@ --- PASS: TestNaming/legacy (0.00s) --- PASS: TestNaming/simple (0.00s) === RUN TestOpenapiExamplesFromProtoExamples -=== RUN TestOpenapiExamplesFromProtoExamples/yaml === RUN TestOpenapiExamplesFromProtoExamples/json +=== RUN TestOpenapiExamplesFromProtoExamples/yaml --- PASS: TestOpenapiExamplesFromProtoExamples (0.00s) - --- PASS: TestOpenapiExamplesFromProtoExamples/yaml (0.00s) --- PASS: TestOpenapiExamplesFromProtoExamples/json (0.00s) + --- PASS: TestOpenapiExamplesFromProtoExamples/yaml (0.00s) === RUN TestMessageToQueryParametersWithEnumAsInt --- PASS: TestMessageToQueryParametersWithEnumAsInt (0.00s) === RUN TestMessageToQueryParametersWithOmitEnumDefaultValue @@ -1119,7 +1155,7 @@ === RUN TestMessageToQueryParametersNoRecursive --- PASS: TestMessageToQueryParametersNoRecursive (0.00s) === RUN TestMessageToQueryParametersRecursive ---- PASS: TestMessageToQueryParametersRecursive (0.06s) +--- PASS: TestMessageToQueryParametersRecursive (0.05s) === RUN TestMessageToQueryParametersWithJsonName --- PASS: TestMessageToQueryParametersWithJsonName (0.00s) === RUN TestMessageToQueryParametersWellKnownTypes @@ -1156,7 +1192,7 @@ --- PASS: TestValidateDefaultValueType (0.00s) === RUN TestApplyTemplateRequestWithoutClientStreaming fd name:"example.proto" package:"example" message_type:{name:"ExampleMessage" field:{name:"nested" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE type_name:"NestedMessage"}} message_type:{name:"NestedMessage" field:{name:"int32" number:1 label:LABEL_OPTIONAL type:TYPE_INT32} field:{name:"bool" number:2 label:LABEL_OPTIONAL type:TYPE_BOOL}} service:{name:"ExampleService" method:{name:"Echo" input_type:"ExampleMessage" output_type:"ExampleMessage" client_streaming:false server_streaming:false}} options:{go_package:"github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb;example"} source_code_info:{} -AllFQMNs [.google.rpc.Status .example.ExampleMessage .example.NestedMessage .google.protobuf.Any] +AllFQMNs [.google.protobuf.Any .google.rpc.Status .example.ExampleMessage .example.NestedMessage] --- PASS: TestApplyTemplateRequestWithoutClientStreaming (0.00s) === RUN TestApplyTemplateRequestWithClientStreaming --- PASS: TestApplyTemplateRequestWithClientStreaming (0.00s) @@ -1195,7 +1231,7 @@ === RUN TestFQMNtoOpenAPIName --- PASS: TestFQMNtoOpenAPIName (0.00s) === RUN TestSchemaOfField ---- PASS: TestSchemaOfField (0.01s) +--- PASS: TestSchemaOfField (0.02s) === RUN TestRenderMessagesAsDefinition === RUN TestRenderMessagesAsDefinition/no_OpenAPI_options === RUN TestRenderMessagesAsDefinition/example_option @@ -1271,28 +1307,28 @@ --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption (0.00s) --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption_with_go_template_args (0.00s) === RUN TestTagsWithGoTemplate -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestTagsWithGoTemplate (0.00s) === RUN TestTemplateWithoutErrorDefinition -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestTemplateWithoutErrorDefinition (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1Operations -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations -2025/03/12 03:58:15 ERROR: no message found: Status -2025/03/12 03:58:15 ERROR: no message found: Status -2025/03/12 03:58:15 ERROR: no message found: Status -2025/03/12 03:58:15 ERROR: no message found: Status -2025/03/12 03:58:15 ERROR: no message found: Status -2025/03/12 03:58:15 ERROR: no message found: Status -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations (0.00s) === RUN TestTemplateWithDuplicateHttp1Operations -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestTemplateWithDuplicateHttp1Operations (0.00s) === RUN Test_getReservedJsonName === RUN Test_getReservedJsonName/test_case_1:_single_dot_use_case @@ -1305,59 +1341,59 @@ --- PASS: Test_getReservedJsonName/test_case_3:_double_dot_use_case (0.00s) --- PASS: Test_getReservedJsonName/test_case_4:_double_dot_use_case_with_a_not_existed_field (0.00s) === RUN TestParseIncompleteSecurityRequirement -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestParseIncompleteSecurityRequirement (0.00s) === RUN TestSubPathParams --- PASS: TestSubPathParams (0.00s) === RUN TestRenderServicesParameterDescriptionNoFieldBody -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServicesParameterDescriptionNoFieldBody (0.00s) === RUN TestRenderServicesWithBodyFieldNameInCamelCase -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldNameInCamelCase (0.00s) === RUN TestRenderServicesWithBodyFieldHasFieldMask -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldHasFieldMask (0.00s) === RUN TestRenderServicesWithColonInPath -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInPath (0.00s) === RUN TestRenderServicesWithDoubleColonInPath -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServicesWithDoubleColonInPath (0.00s) === RUN TestRenderServicesWithColonLastInPath -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonLastInPath (0.00s) === RUN TestRenderServicesWithColonInSegment -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInSegment (0.00s) === RUN TestRenderServiceWithHeaderParameters +=== RUN TestRenderServiceWithHeaderParameters/type_string +2026/04/14 10:22:45 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_string_with_format -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_integer -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_number -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_boolean -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/header_required -2025/03/12 03:58:15 ERROR: no message found: Status -=== RUN TestRenderServiceWithHeaderParameters/type_string -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServiceWithHeaderParameters (0.00s) + --- PASS: TestRenderServiceWithHeaderParameters/type_string (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_string_with_format (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_integer (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_number (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_boolean (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/header_required (0.00s) - --- PASS: TestRenderServiceWithHeaderParameters/type_string (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreserved -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreserved (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedMultipleServices -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedMultipleServices (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings (0.00s) === RUN TestArrayMessageItemsType --- PASS: TestArrayMessageItemsType (0.00s) @@ -1410,7 +1446,7 @@ --- PASS: TestMergeTags/Merge_external_docs (0.00s) --- PASS: TestMergeTags/Merge_extensions (0.00s) === RUN TestApiVisibilityOption -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestApiVisibilityOption (0.00s) === RUN TestRawExample === PAUSE TestRawExample @@ -1427,7 +1463,7 @@ === RUN TestGenerateYAML === PAUSE TestGenerateYAML === RUN TestGeneratedYAMLIndent -2025/03/12 03:58:15 ERROR: no message found: Status +2026/04/14 10:22:45 ERROR: no message found: Status --- PASS: TestGeneratedYAMLIndent (0.00s) === RUN TestGenerateRPCOrderPreserved === PAUSE TestGenerateRPCOrderPreserved @@ -1456,175 +1492,128 @@ === CONT TestRawExample === RUN TestRawExample/1 === PAUSE TestRawExample/1 +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices === RUN TestRawExample/"1" === PAUSE TestRawExample/"1" === RUN TestRawExample/{"hello":"worldr"} -=== PAUSE TestRawExample/{"hello":"worldr"} -=== CONT TestRawExample/1 === CONT TestGenerateRPCOrderPreservedMultipleServices +=== PAUSE TestRawExample/{"hello":"worldr"} +=== CONT TestFindExpectedPaths +=== RUN TestFindExpectedPaths/One_potential_path_present +=== PAUSE TestFindExpectedPaths/One_potential_path_present +=== RUN TestFindExpectedPaths/No_potential_Paths_present === CONT TestGenerateRPCOrderNotPreserved +=== CONT TestGenerateRPCOrderPreserved === RUN TestGenerateRPCOrderPreservedMultipleServices/json -=== CONT TestFormatValidate +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings === RUN TestGenerateRPCOrderNotPreserved/json -=== RUN TestFormatValidate/json +=== RUN TestGenerateRPCOrderPreserved/json === PAUSE TestGenerateRPCOrderNotPreserved/json -=== RUN TestGenerateRPCOrderNotPreserved/yaml -=== PAUSE TestGenerateRPCOrderNotPreserved/yaml -=== PAUSE TestFormatValidate/json -=== RUN TestFormatValidate/yaml -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings -=== CONT TestRawExample/"1" -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings === CONT TestGenerateYAML +=== PAUSE TestGenerateRPCOrderPreserved/json +=== RUN TestGenerateYAML/path_item_object +=== CONT TestGenerateExtension +=== PAUSE TestGenerateYAML/path_item_object +=== RUN TestGenerateRPCOrderPreserved/yaml === RUN TestGenerateRPCOrderPreservedAdditionalBindings/json === PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/json === RUN TestGenerateRPCOrderPreservedAdditionalBindings/yaml === PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/yaml -=== RUN TestGenerateYAML/path_item_object -=== PAUSE TestGenerateYAML/path_item_object -=== CONT TestGenerateRPCOrderPreserved -=== CONT TestFindExpectedPaths -=== RUN TestFindExpectedPaths/One_potential_path_present -=== RUN TestGenerateRPCOrderPreserved/json +=== PAUSE TestGenerateRPCOrderPreserved/yaml +=== CONT TestFormatValidate +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings +=== RUN TestGenerateExtension/json +=== CONT TestOpenapiSchemaObjectProperties +=== CONT TestGenerate_YAML +=== RUN TestOpenapiSchemaObjectProperties/yaml +=== PAUSE TestOpenapiSchemaObjectProperties/yaml +=== RUN TestOpenapiSchemaObjectProperties/json === CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices -=== CONT TestGenerateExtension === RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== PAUSE TestGenerateRPCOrderPreserved/json === PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== RUN TestGenerateRPCOrderPreserved/yaml -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings -=== PAUSE TestFindExpectedPaths/One_potential_path_present -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== RUN TestFindExpectedPaths/No_potential_Paths_present -=== RUN TestGenerateExtension/json -=== CONT TestRawExample/{"hello":"worldr"} -=== PAUSE TestGenerateExtension/json -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices -=== RUN TestGenerateExtension/yaml -=== PAUSE TestGenerateExtension/yaml -=== PAUSE TestGenerateRPCOrderPreserved/yaml === PAUSE TestFindExpectedPaths/No_potential_Paths_present +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== RUN TestFormatValidate/json +=== PAUSE TestFormatValidate/json +=== RUN TestFormatValidate/yaml === RUN TestFindExpectedPaths/Multiple_potential_paths_present +2026/04/14 10:22:45 ERROR: no message found: Status +=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/json +file.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json +=== CONT TestFormatEncode === PAUSE TestFindExpectedPaths/Multiple_potential_paths_present -=== CONT TestGenerate_YAML ---- PASS: TestRawExample (0.00s) - --- PASS: TestRawExample/1 (0.00s) - --- PASS: TestRawExample/"1" (0.00s) - --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) +=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles +=== PAUSE TestGenerateExtension/json +=== PAUSE TestOpenapiSchemaObjectProperties/json +=== RUN TestGenerateRPCOrderNotPreserved/yaml +=== PAUSE TestGenerateRPCOrderNotPreserved/yaml +=== CONT TestGenerateRPCOrderPreservedMergeFiles +=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml === PAUSE TestFormatValidate/yaml === RUN TestFormatValidate/unknown === PAUSE TestFormatValidate/unknown -=== RUN TestFormatValidate/#00 -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== CONT TestOpenapiSchemaObjectProperties -=== RUN TestOpenapiSchemaObjectProperties/yaml -2025/03/12 03:58:15 ERROR: no message found: Status -file.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestOpenapiSchemaObjectProperties/yaml -=== RUN TestOpenapiSchemaObjectProperties/json -=== PAUSE TestOpenapiSchemaObjectProperties/json -=== CONT TestGenerateRPCOrderNotPreserved/yaml -=== CONT TestFormatEncode -=== RUN TestFormatEncode/json -=== PAUSE TestFormatValidate/#00 -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml -=== PAUSE TestFormatEncode/json ---- PASS: TestGenerate_YAML (0.00s) -=== CONT TestGenerateYAML/path_item_object -=== RUN TestFormatEncode/yaml -=== PAUSE TestFormatEncode/yaml -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +=== CONT TestRawExample/{"hello":"worldr"} === RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== CONT TestRawExample/"1" +=== RUN TestFormatEncode/json === PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestFormatEncode/json === RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreservedMultipleServices/json === PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== RUN TestFormatValidate/#00 exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/json -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateExtension/json -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status +=== RUN TestFormatEncode/yaml +=== PAUSE TestFormatEncode/yaml +--- PASS: TestGenerate_YAML (0.00s) +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml +=== PAUSE TestFormatValidate/#00 +=== CONT TestGenerateRPCOrderPreserved/json +=== CONT TestGenerateRPCOrderPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings +=== CONT TestGenerateYAML/path_item_object exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateExtension/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreserved/json +=== PAUSE TestGenerateExtension/yaml +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json === RUN TestGenerateRPCOrderNotPreservedMergeFiles/json +=== NAME TestGenerateRPCOrderPreservedMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFindExpectedPaths/One_potential_path_present -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreserved/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateYAML (0.00s) - --- PASS: TestGenerateYAML/path_item_object (0.00s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedMergeFiles -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateExtension/json - generator_test.go:116: { +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:620: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -1632,172 +1621,10 @@ }, "tags": [ { - "name": "TestService" - } - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "v1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string", - "description": "This is bar", - "x-go-default": "0.5s" - } - } - } - } - } - -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatEncode/json -=== CONT TestFormatValidate/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== CONT TestOpenapiSchemaObjectProperties/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderPreservedMergeFiles/json -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json -=== RUN TestGenerateRPCOrderPreservedMergeFiles/yaml -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatValidate/#00 -=== CONT TestFormatValidate/unknown -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatValidate/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestFormatValidate (0.00s) - --- PASS: TestFormatValidate/json (0.00s) - --- PASS: TestFormatValidate/#00 (0.00s) - --- PASS: TestFormatValidate/unknown (0.00s) - --- PASS: TestFormatValidate/yaml (0.00s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatEncode/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestFormatEncode (0.00s) - --- PASS: TestFormatEncode/json (0.00s) - --- PASS: TestFormatEncode/yaml (0.00s) -2025/03/12 03:58:15 ERROR: no message found: Status -=== CONT TestOpenapiSchemaObjectProperties/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestOpenapiSchemaObjectProperties (0.00s) - --- PASS: TestOpenapiSchemaObjectProperties/yaml (0.00s) - --- PASS: TestOpenapiSchemaObjectProperties/json (0.00s) -=== CONT TestGenerateRPCOrderPreserved/yaml -=== NAME TestGenerateRPCOrderNotPreserved/yaml - generator_test.go:491: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /a/second: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/first: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/third: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateExtension/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== NAME TestGenerateRPCOrderPreserved/json - generator_test.go:394: { - "swagger": "2.0", - "info": { - "title": "exampleproto/v1/example.proto", - "version": "version not set" - }, - "tags": [ + "name": "TestServiceOne" + }, { - "name": "TestService" + "name": "TestServiceTwo" } ], "consumes": [ @@ -1807,9 +1634,81 @@ "application/json" ], "paths": { + "/d/first": { + "get": { + "operationId": "TestServiceOne_Test1", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceOne" + ] + } + }, + "/e/second": { + "get": { + "operationId": "TestServiceOne_Test2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceOne" + ] + } + }, + "/c/third": { + "get": { + "operationId": "TestServiceOne_Test3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceOne" + ] + } + }, "/b/first": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", @@ -1827,13 +1726,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, "/a/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", @@ -1851,13 +1750,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/c/third": { + "/g/third": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceTwo_Test3", "responses": { "200": { "description": "A successful response.", @@ -1875,7 +1774,7 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } } @@ -1892,17 +1791,40 @@ } } +=== CONT TestGenerateRPCOrderPreserved/yaml +=== CONT TestRawExample/1 +=== RUN TestGenerateRPCOrderPreservedMergeFiles/json +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreserved/json - generator_test.go:491: { +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFindExpectedPaths/One_potential_path_present +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFindExpectedPaths/No_potential_Paths_present +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestOpenapiSchemaObjectProperties/yaml +=== NAME TestGenerateRPCOrderPreserved/json + generator_test.go:394: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -1920,9 +1842,9 @@ "application/json" ], "paths": { - "/a/second": { + "/b/first": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -1944,9 +1866,9 @@ ] } }, - "/b/first": { + "/a/second": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", @@ -2005,251 +1927,52 @@ } } +=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== RUN TestGenerateRPCOrderPreservedMergeFiles/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFindExpectedPaths/Multiple_potential_paths_present exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml +=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreserved/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +--- PASS: TestRawExample (0.00s) + --- PASS: TestRawExample/"1" (0.00s) + --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) + --- PASS: TestRawExample/1 (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderNotPreserved (0.00s) - --- PASS: TestGenerateRPCOrderNotPreserved/yaml (0.00s) - --- PASS: TestGenerateRPCOrderNotPreserved/json (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedMultipleServices/json +--- PASS: TestFindExpectedPaths (0.00s) + --- PASS: TestFindExpectedPaths/One_potential_path_present (0.00s) + --- PASS: TestFindExpectedPaths/No_potential_Paths_present (0.00s) + --- PASS: TestFindExpectedPaths/Multiple_potential_paths_present (0.00s) +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml - generator_test.go:1375: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /a/additional: - get: - operationId: TestService_Test12 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/second: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/bAdditional: - get: - operationId: TestService_Test32 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/first: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/third: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /z/zAdditional: - get: - operationId: TestService_Test22 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -2025/03/12 03:58:15 ERROR: no message found: Status -2025/03/12 03:58:15 ERROR: no message found: Status +=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestOpenapiSchemaObjectProperties/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/yaml - generator_test.go:1168: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /b/first: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/additional: - get: - operationId: TestService_Test12 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/second: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /z/zAdditional: - get: - operationId: TestService_Test22 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/third: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/bAdditional: - get: - operationId: TestService_Test32 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestOpenapiSchemaObjectProperties (0.00s) + --- PASS: TestOpenapiSchemaObjectProperties/yaml (0.00s) + --- PASS: TestOpenapiSchemaObjectProperties/json (0.00s) +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +=== CONT TestGenerateRPCOrderNotPreserved/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -2260,82 +1983,28 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreserved/yaml - generator_test.go:394: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /b/first: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/second: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /c/third: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderPreserved (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/json (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/yaml (0.00s) -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === NAME TestGenerateRPCOrderPreservedAdditionalBindings/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo generator_test.go:1168: { "swagger": "2.0", "info": { @@ -2513,59 +2182,50 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateYAML (0.00s) + --- PASS: TestGenerateYAML/path_item_object (0.01s) +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatEncode/json +=== CONT TestFormatEncode/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderPreservedAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/yaml (0.00s) - --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/json (0.00s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestFormatEncode (0.00s) + --- PASS: TestFormatEncode/json (0.00s) + --- PASS: TestFormatEncode/yaml (0.00s) +=== CONT TestFormatValidate/json +=== CONT TestFormatValidate/unknown exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatValidate/#00 exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatValidate/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestFormatValidate (0.00s) + --- PASS: TestFormatValidate/json (0.00s) + --- PASS: TestFormatValidate/unknown (0.00s) + --- PASS: TestFormatValidate/#00 (0.00s) + --- PASS: TestFormatValidate/yaml (0.00s) +=== CONT TestGenerateExtension/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/json - generator_test.go:1265: { +=== NAME TestGenerateRPCOrderNotPreserved/json + generator_test.go:491: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2583,9 +2243,9 @@ "application/json" ], "paths": { - "/b/foo": { - "post": { - "operationId": "TestService_Test1", + "/a/second": { + "get": { + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", @@ -2596,12 +2256,10 @@ }, "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1Foo" - } + "name": "bar", + "in": "query", + "required": false, + "type": "string" } ], "tags": [ @@ -2609,9 +2267,9 @@ ] } }, - "/b/foo/bar": { - "post": { - "operationId": "TestService_Test12", + "/b/first": { + "get": { + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -2623,11 +2281,9 @@ "parameters": [ { "name": "bar", - "in": "body", - "required": true, - "schema": { - "type": "string" - } + "in": "query", + "required": false, + "type": "string" } ], "tags": [ @@ -2635,9 +2291,9 @@ ] } }, - "/b/foo/baz": { - "post": { - "operationId": "TestService_Test13", + "/c/third": { + "get": { + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -2648,12 +2304,10 @@ }, "parameters": [ { - "name": "baz", - "in": "body", - "required": true, - "schema": { - "type": "string" - } + "name": "bar", + "in": "query", + "required": false, + "type": "string" } ], "tags": [ @@ -2668,9 +2322,6 @@ "properties": { "bar": { "type": "string" - }, - "baz": { - "type": "string" } } } @@ -2678,16 +2329,153 @@ } exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFindExpectedPaths/Multiple_potential_paths_present -=== CONT TestFindExpectedPaths/No_potential_Paths_present -2025/03/12 03:58:15 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +=== CONT TestGenerateExtension/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:116: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: {} + definitions: + v1Foo: + type: object + properties: + bar: + type: string + description: This is bar + x-go-default: 0.5s + +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateExtension/json + generator_test.go:116: { + "swagger": "2.0", + "info": { + "title": "exampleproto/v1/example.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "TestService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "v1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string", + "description": "This is bar", + "x-go-default": "0.5s" + } + } + } + } + } + +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateExtension (0.00s) + --- PASS: TestGenerateExtension/yaml (0.00s) + --- PASS: TestGenerateExtension/json (0.00s) === CONT TestGenerateRPCOrderPreservedMergeFiles/json ---- PASS: TestFindExpectedPaths (0.00s) - --- PASS: TestFindExpectedPaths/One_potential_path_present (0.00s) - --- PASS: TestFindExpectedPaths/Multiple_potential_paths_present (0.00s) - --- PASS: TestFindExpectedPaths/No_potential_Paths_present (0.00s) -=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/json - generator_test.go:1375: { +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/json + generator_test.go:1265: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2705,9 +2493,9 @@ "application/json" ], "paths": { - "/a/additional": { - "get": { - "operationId": "TestService_Test12", + "/b/foo": { + "post": { + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -2718,44 +2506,22 @@ }, "parameters": [ { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestService" - ] - } - }, - "/a/second": { - "get": { - "operationId": "TestService_Test2", - "responses": { - "200": { - "description": "A successful response.", + "name": "body", + "in": "body", + "required": true, "schema": { "$ref": "#/definitions/v1Foo" } } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } ], "tags": [ "TestService" ] } }, - "/b/bAdditional": { - "get": { - "operationId": "TestService_Test32", + "/b/foo/bar": { + "post": { + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", @@ -2767,43 +2533,21 @@ "parameters": [ { "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestService" - ] - } - }, - "/b/first": { - "get": { - "operationId": "TestService_Test1", - "responses": { - "200": { - "description": "A successful response.", + "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/v1Foo" + "type": "string" } } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } ], "tags": [ "TestService" ] } }, - "/c/third": { - "get": { - "operationId": "TestService_Test3", + "/b/foo/baz": { + "post": { + "operationId": "TestService_Test13", "responses": { "200": { "description": "A successful response.", @@ -2814,35 +2558,13 @@ }, "parameters": [ { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "TestService" - ] - } - }, - "/z/zAdditional": { - "get": { - "operationId": "TestService_Test22", - "responses": { - "200": { - "description": "A successful response.", + "name": "baz", + "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/v1Foo" + "type": "string" } } - }, - "parameters": [ - { - "name": "bar", - "in": "query", - "required": false, - "type": "string" - } ], "tags": [ "TestService" @@ -2856,55 +2578,76 @@ "properties": { "bar": { "type": "string" + }, + "baz": { + "type": "string" } } } } } +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.00s) -=== CONT TestGenerateRPCOrderPreservedMultipleServices/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml - generator_test.go:1265: swagger: "2.0" +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreservedMultipleServices/yaml + generator_test.go:620: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set tags: - - name: TestService + - name: TestServiceOne + - name: TestServiceTwo consumes: - application/json produces: - application/json paths: - /b/foo: - post: - operationId: TestService_Test1 + /d/first: + get: + operationId: TestServiceOne_Test1 responses: "200": description: A successful response. schema: $ref: '#/definitions/v1Foo' parameters: - - name: body - in: body - required: true + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /e/second: + get: + operationId: TestServiceOne_Test2 + responses: + "200": + description: A successful response. schema: $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string tags: - - TestService - /b/foo/bar: - post: - operationId: TestService_Test12 + - TestServiceOne + /c/third: + get: + operationId: TestServiceOne_Test3 responses: "200": description: A successful response. @@ -2912,131 +2655,68 @@ $ref: '#/definitions/v1Foo' parameters: - name: bar - in: body - required: true + in: query + required: false + type: string + tags: + - TestServiceOne + /b/first: + get: + operationId: TestServiceTwo_Test1 + responses: + "200": + description: A successful response. schema: - type: string + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string tags: - - TestService - /b/foo/baz: - post: - operationId: TestService_Test13 + - TestServiceTwo + /a/second: + get: + operationId: TestServiceTwo_Test2 responses: "200": description: A successful response. schema: $ref: '#/definitions/v1Foo' parameters: - - name: baz - in: body - required: true + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /g/third: + get: + operationId: TestServiceTwo_Test3 + responses: + "200": + description: A successful response. schema: - type: string + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string tags: - - TestService - definitions: - v1Foo: - type: object - properties: - bar: - type: string - baz: - type: string - -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.00s) - --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.00s) -=== CONT TestGenerateRPCOrderPreservedMergeFiles/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateExtension/yaml - generator_test.go:116: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: {} + - TestServiceTwo definitions: v1Foo: type: object properties: bar: type: string - description: This is bar - x-go-default: 0.5s -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateExtension (0.00s) - --- PASS: TestGenerateExtension/json (0.00s) - --- PASS: TestGenerateExtension/yaml (0.00s) -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status === NAME TestGenerateRPCOrderNotPreservedMultipleServices/json exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo generator_test.go:749: { @@ -3217,6 +2897,32 @@ } } +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedMergeFiles/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -3225,33 +2931,394 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderPreservedMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMultipleServices/yaml (0.01s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/yaml + generator_test.go:1168: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /b/first: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/additional: + get: + operationId: TestService_Test12 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/second: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /z/zAdditional: + get: + operationId: TestService_Test22 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /c/third: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /b/bAdditional: + get: + operationId: TestService_Test32 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string + exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:1265: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /b/foo: + post: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: body + in: body + required: true + schema: + $ref: '#/definitions/v1Foo' + tags: + - TestService + /b/foo/bar: + post: + operationId: TestService_Test12 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: body + required: true + schema: + type: string + tags: + - TestService + /b/foo/baz: + post: + operationId: TestService_Test13 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: baz + in: body + required: true + schema: + type: string + tags: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string + baz: + type: string + exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/yaml + generator_test.go:749: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestServiceOne + - name: TestServiceTwo + consumes: + - application/json + produces: + - application/json + paths: + /a/second: + get: + operationId: TestServiceTwo_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /b/first: + get: + operationId: TestServiceTwo_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /c/third: + get: + operationId: TestServiceOne_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /d/first: + get: + operationId: TestServiceOne_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /e/second: + get: + operationId: TestServiceOne_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /g/third: + get: + operationId: TestServiceTwo_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + definitions: + v1Foo: + type: object + properties: + bar: + type: string + +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreserved/yaml + generator_test.go:394: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /b/first: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/second: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /c/third: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string + +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -3259,20 +3326,114 @@ exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderNotPreservedMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.02s) exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderPreservedAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/yaml (0.02s) +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderPreserved (0.00s) + --- PASS: TestGenerateRPCOrderPreserved/json (0.01s) + --- PASS: TestGenerateRPCOrderPreserved/yaml (0.02s) exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json -2025/03/12 03:58:15 ERROR: no message found: Status - generator_test.go:1062: { +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreserved/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:491: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /a/second: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /b/first: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /c/third: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string + +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderNotPreserved (0.00s) + --- PASS: TestGenerateRPCOrderNotPreserved/json (0.00s) + --- PASS: TestGenerateRPCOrderNotPreserved/yaml (0.02s) +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.01s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.01s) +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:1774: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3280,6 +3441,12 @@ }, "tags": [ { + "name": "TestServiceOne" + }, + { + "name": "TestServiceTwo" + }, + { "name": "TestService" } ], @@ -3290,14 +3457,14 @@ "application/json" ], "paths": { - "/a/apath": { + "/a/additional": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3314,14 +3481,14 @@ ] } }, - "/b/bpath": { + "/a/apath": { "get": { "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3338,9 +3505,9 @@ ] } }, - "/c/cpath": { + "/a/second": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", @@ -3358,13 +3525,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/d/dpath": { + "/b/bAdditional": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", @@ -3386,9 +3553,9 @@ ] } }, - "/e/epath": { + "/b/bpath": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -3410,14 +3577,14 @@ ] } }, - "/f/fpath": { + "/b/first": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3430,93 +3597,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } - } - }, - "definitions": { - "examplev1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } }, - "examplev2Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - } - } - } - -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:620: { - "swagger": "2.0", - "info": { - "title": "exampleproto/v1/example.proto", - "version": "version not set" - }, - "tags": [ - { - "name": "TestServiceOne" - }, - { - "name": "TestServiceTwo" - } - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/d/first": { + "/c/cpath": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3529,18 +3621,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/e/second": { + "/c/third": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3557,14 +3649,14 @@ ] } }, - "/c/third": { + "/d/first": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3581,14 +3673,14 @@ ] } }, - "/b/first": { + "/e/second": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3601,18 +3693,18 @@ } ], "tags": [ - "TestServiceTwo" + "TestServiceOne" ] } }, - "/a/second": { + "/g/third": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestServiceTwo_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3629,14 +3721,14 @@ ] } }, - "/g/third": { + "/z/zAdditional": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -3649,13 +3741,21 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } } }, "definitions": { - "v1Foo": { + "examplev1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + }, + "examplev2Foo": { "type": "object", "properties": { "bar": { @@ -3666,34 +3766,16 @@ } } -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === NAME TestGenerateRPCOrderPreservedMergeFiles/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo generator_test.go:906: { "swagger": "2.0", "info": { @@ -3877,132 +3959,16 @@ } } +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml - generator_test.go:906: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /c/cpath: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /b/bpath: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/apath: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /f/fpath: - get: - operationId: TestService_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /e/epath: - get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /d/dpath: - get: - operationId: TestService_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - definitions: - examplev1Foo: - type: object - properties: - bar: - type: string - examplev2Foo: - type: object - properties: - bar: - type: string - === NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json generator_test.go:1574: { "swagger": "2.0", @@ -4337,21 +4303,12 @@ } } -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.00s) -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2025/03/12 03:58:15 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json - generator_test.go:1774: { +=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/json + generator_test.go:1375: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -4359,12 +4316,6 @@ }, "tags": [ { - "name": "TestServiceOne" - }, - { - "name": "TestServiceTwo" - }, - { "name": "TestService" } ], @@ -4382,7 +4333,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4399,14 +4350,14 @@ ] } }, - "/a/apath": { + "/a/second": { "get": { "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4423,14 +4374,14 @@ ] } }, - "/a/second": { + "/b/bAdditional": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4443,18 +4394,18 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/b/bAdditional": { + "/b/first": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4471,14 +4422,14 @@ ] } }, - "/b/bpath": { + "/c/third": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4495,14 +4446,14 @@ ] } }, - "/b/first": { + "/z/zAdditional": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/v1Foo" } } }, @@ -4515,18 +4466,216 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } - }, - "/c/cpath": { + } + }, + "definitions": { + "v1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + } + } + } + +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml + generator_test.go:906: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /c/cpath: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /b/bpath: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/apath: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /f/fpath: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /e/epath: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /d/dpath: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: + type: object + properties: + bar: + type: string + +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.01s) +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/04/14 10:22:45 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json + generator_test.go:1062: { + "swagger": "2.0", + "info": { + "title": "exampleproto/v1/example.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "TestService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/a/apath": { "get": { "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev2Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4543,9 +4692,9 @@ ] } }, - "/c/third": { + "/b/bpath": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", @@ -4563,13 +4712,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/d/first": { + "/c/cpath": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -4587,18 +4736,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/e/second": { + "/d/dpath": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4611,18 +4760,18 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/g/third": { + "/e/epath": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/examplev1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4635,13 +4784,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/z/zAdditional": { + "/f/fpath": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -4684,72 +4833,58 @@ } } -=== NAME TestGenerateRPCOrderPreservedMultipleServices/yaml - generator_test.go:620: swagger: "2.0" +=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml + generator_test.go:1774: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set tags: - name: TestServiceOne - name: TestServiceTwo + - name: TestService consumes: - application/json produces: - application/json paths: - /d/first: - get: - operationId: TestServiceOne_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceOne - /e/second: + /a/additional: get: - operationId: TestServiceOne_Test2 + operationId: TestService_Test12 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceOne - /c/third: + - TestService + /a/apath: get: - operationId: TestServiceOne_Test3 + operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceOne - /b/first: + - TestService + /a/second: get: - operationId: TestServiceTwo_Test1 + operationId: TestServiceTwo_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -4757,64 +4892,44 @@ type: string tags: - TestServiceTwo - /a/second: + /b/bAdditional: get: - operationId: TestServiceTwo_Test2 + operationId: TestService_Test32 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo - /g/third: + - TestService + /b/bpath: get: - operationId: TestServiceTwo_Test3 + operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo - definitions: - v1Foo: - type: object - properties: - bar: - type: string - -=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/yaml - generator_test.go:749: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestServiceOne - - name: TestServiceTwo - consumes: - - application/json - produces: - - application/json - paths: - /a/second: + - TestService + /b/first: get: - operationId: TestServiceTwo_Test2 + operationId: TestServiceTwo_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -4822,21 +4937,21 @@ type: string tags: - TestServiceTwo - /b/first: + /c/cpath: get: - operationId: TestServiceTwo_Test1 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo + - TestService /c/third: get: operationId: TestServiceOne_Test3 @@ -4844,7 +4959,7 @@ "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -4859,7 +4974,7 @@ "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -4874,7 +4989,7 @@ "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -4889,7 +5004,7 @@ "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -4897,21 +5012,35 @@ type: string tags: - TestServiceTwo + /z/zAdditional: + get: + operationId: TestService_Test22 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService definitions: - v1Foo: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: type: object properties: bar: type: string ---- PASS: TestGenerateRPCOrderPreservedMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.01s) - --- PASS: TestGenerateRPCOrderPreservedMultipleServices/yaml (0.00s) ---- PASS: TestGenerateRPCOrderNotPreservedMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.00s) -=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/yaml - generator_test.go:1062: swagger: "2.0" +=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml + generator_test.go:1375: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -4922,14 +5051,14 @@ produces: - application/json paths: - /a/apath: + /a/additional: get: - operationId: TestService_Test3 + operationId: TestService_Test12 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -4937,14 +5066,14 @@ type: string tags: - TestService - /b/bpath: + /a/second: get: operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -4952,14 +5081,14 @@ type: string tags: - TestService - /c/cpath: + /b/bAdditional: get: - operationId: TestService_Test1 + operationId: TestService_Test32 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -4967,14 +5096,14 @@ type: string tags: - TestService - /d/dpath: + /b/first: get: - operationId: TestService_Test3 + operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -4982,14 +5111,14 @@ type: string tags: - TestService - /e/epath: + /c/third: get: - operationId: TestService_Test2 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -4997,14 +5126,14 @@ type: string tags: - TestService - /f/fpath: + /z/zAdditional: get: - operationId: TestService_Test1 + operationId: TestService_Test22 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5013,67 +5142,30 @@ tags: - TestService definitions: - examplev1Foo: - type: object - properties: - bar: - type: string - examplev2Foo: + v1Foo: type: object properties: bar: type: string ---- PASS: TestGenerateRPCOrderNotPreservedMergeFiles (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/yaml (0.01s) -=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml - generator_test.go:1774: swagger: "2.0" +--- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.01s) +=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/yaml + generator_test.go:1062: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set tags: - - name: TestServiceOne - - name: TestServiceTwo - name: TestService consumes: - application/json produces: - application/json paths: - /a/additional: - get: - operationId: TestService_Test12 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService /a/apath: get: - operationId: TestService_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestService - /a/second: - get: - operationId: TestServiceTwo_Test2 + operationId: TestService_Test3 responses: "200": description: A successful response. @@ -5085,30 +5177,15 @@ required: false type: string tags: - - TestServiceTwo - /b/bAdditional: - get: - operationId: TestService_Test32 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev2Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - TestService /b/bpath: get: - operationId: TestService_Test1 + operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query @@ -5116,9 +5193,9 @@ type: string tags: - TestService - /b/first: + /c/cpath: get: - operationId: TestServiceTwo_Test1 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -5130,8 +5207,8 @@ required: false type: string tags: - - TestServiceTwo - /c/cpath: + - TestService + /d/dpath: get: operationId: TestService_Test3 responses: @@ -5146,69 +5223,24 @@ type: string tags: - TestService - /c/third: - get: - operationId: TestServiceOne_Test3 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceOne - /d/first: - get: - operationId: TestServiceOne_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceOne - /e/second: - get: - operationId: TestServiceOne_Test2 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/examplev1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceOne - /g/third: + /e/epath: get: - operationId: TestServiceTwo_Test3 + operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo - /z/zAdditional: + - TestService + /f/fpath: get: - operationId: TestService_Test22 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -5233,6 +5265,12 @@ bar: type: string +--- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.02s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.02s) +--- PASS: TestGenerateRPCOrderNotPreservedMergeFiles (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/json (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/yaml (0.01s) === NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml generator_test.go:1574: swagger: "2.0" info: @@ -5439,10 +5477,7 @@ bar: type: string ---- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.01s) ---- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) +--- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices (0.01s) --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.01s) --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.01s) === RUN FuzzRemoveInternalComments @@ -5458,7 +5493,7 @@ --- PASS: FuzzRemoveInternalComments/seed#3 (0.00s) --- PASS: FuzzRemoveInternalComments/seed#4 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi 0.142s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi 0.176s ? github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options [no test files] === RUN TestFieldMaskFromRequestBody === RUN TestFieldMaskFromRequestBody/empty @@ -5505,19 +5540,19 @@ === RUN TestNewPattern --- PASS: TestNewPattern (0.00s) === RUN TestNewPatternWithWrongOp -2025/03/12 03:58:15 ERROR: invalid opcode: -1 -2025/03/12 03:58:15 ERROR: invalid opcode: 6 -2025/03/12 03:58:15 ERROR: odd number of ops codes: 1 -2025/03/12 03:58:15 ERROR: negative literal index: -1 -2025/03/12 03:58:15 ERROR: negative literal index: 1 -2025/03/12 03:58:15 ERROR: negative concat size: -1 -2025/03/12 03:58:15 ERROR: variable name index out of bound: -1 -2025/03/12 03:58:15 ERROR: variable name index out of bound: 1 -2025/03/12 03:58:15 ERROR: pushM appears twice +2026/04/14 10:22:45 ERROR: invalid opcode: -1 +2026/04/14 10:22:45 ERROR: invalid opcode: 6 +2026/04/14 10:22:45 ERROR: odd number of ops codes: 1 +2026/04/14 10:22:45 ERROR: negative literal index: -1 +2026/04/14 10:22:45 ERROR: negative literal index: 1 +2026/04/14 10:22:45 ERROR: negative concat size: -1 +2026/04/14 10:22:45 ERROR: variable name index out of bound: -1 +2026/04/14 10:22:45 ERROR: variable name index out of bound: 1 +2026/04/14 10:22:45 ERROR: pushM appears twice --- PASS: TestNewPatternWithWrongOp (0.00s) === RUN TestNewPatternWithStackUnderflow -2025/03/12 03:58:15 ERROR: stack underflow -2025/03/12 03:58:15 ERROR: stack underflow +2026/04/14 10:22:45 ERROR: stack underflow +2026/04/14 10:22:45 ERROR: stack underflow --- PASS: TestNewPatternWithStackUnderflow (0.00s) === RUN TestMatch --- PASS: TestMatch (0.00s) @@ -5579,15 +5614,15 @@ --- PASS: TestConvertDuration/JSON_bool (0.00s) === RUN TestDefaultHTTPError === RUN TestDefaultHTTPError/0 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/1 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/2 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/3 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/4 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context --- PASS: TestDefaultHTTPError (0.00s) --- PASS: TestDefaultHTTPError/0 (0.00s) --- PASS: TestDefaultHTTPError/1 (0.00s) @@ -5723,41 +5758,41 @@ --- PASS: TestMarshalerForRequest (0.00s) === RUN TestMuxServeHTTP === RUN TestMuxServeHTTP/0 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/1 === RUN TestMuxServeHTTP/2 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/3 === RUN TestMuxServeHTTP/4 === RUN TestMuxServeHTTP/5 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/6 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/7 === RUN TestMuxServeHTTP/8 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/9 === RUN TestMuxServeHTTP/10 === RUN TestMuxServeHTTP/11 === RUN TestMuxServeHTTP/12 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/13 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/14 === RUN TestMuxServeHTTP/15 === RUN TestMuxServeHTTP/16 === RUN TestMuxServeHTTP/17 === RUN TestMuxServeHTTP/18 === RUN TestMuxServeHTTP/19 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/20 === RUN TestMuxServeHTTP/21 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/22 === RUN TestMuxServeHTTP/23 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/24 -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/25 === RUN TestMuxServeHTTP/26 === RUN TestMuxServeHTTP/27 @@ -5791,7 +5826,7 @@ --- PASS: TestMuxServeHTTP/26 (0.00s) --- PASS: TestMuxServeHTTP/27 (0.00s) === RUN TestServeHTTP_WithMethodOverrideAndFormParsing -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context --- PASS: TestServeHTTP_WithMethodOverrideAndFormParsing (0.00s) === RUN TestDefaultHeaderMatcher === RUN TestDefaultHeaderMatcher/permanent_HTTP_header_should_return_prefixed @@ -5815,14 +5850,14 @@ --- PASS: TestServeMux_HandlePath/Invalid_Endpoint (0.00s) === RUN TestWithHealthzEndpoint_codes === RUN TestWithHealthzEndpoint_codes/Test_grpc_error_code -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_NOT_SERVING -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_UNKNOWN -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_codes (0.00s) --- PASS: TestWithHealthzEndpoint_codes/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVING (0.00s) @@ -5831,18 +5866,18 @@ --- PASS: TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthEndpointAt_consistentWithHealthz === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_NOT_SERVING -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthEndpointAt_consistentWithHealthz (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING (0.00s) @@ -5850,18 +5885,18 @@ --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthzEndpoint_serviceParam -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_serviceParam (0.00s) === RUN TestWithHealthzEndpoint_header === RUN TestWithHealthzEndpoint_header/Test_grpc_error_code -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_NOT_SERVING -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_UNKNOWN -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVICE_UNKNOWN -2025/03/12 03:58:15 ERROR: Failed to extract ServerMetadata from context +2026/04/14 10:22:45 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_header (0.00s) --- PASS: TestWithHealthzEndpoint_header/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVING (0.00s) @@ -5911,29 +5946,29 @@ === RUN TestPopulateQueryParametersWithInvalidNestedParameters --- PASS: TestPopulateQueryParametersWithInvalidNestedParameters (0.00s) === CONT TestOutgoingHeaderMatcher -=== CONT TestOutgoingTrailerMatcher === RUN TestOutgoingHeaderMatcher/default_matcher === PAUSE TestOutgoingHeaderMatcher/default_matcher +=== CONT TestOutgoingTrailerMatcher +=== RUN TestOutgoingTrailerMatcher/default_matcher,_caller_accepts === RUN TestOutgoingHeaderMatcher/custom_matcher === PAUSE TestOutgoingHeaderMatcher/custom_matcher === CONT TestOutgoingHeaderMatcher/default_matcher -=== RUN TestOutgoingTrailerMatcher/default_matcher,_caller_accepts === PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_accepts -=== RUN TestOutgoingTrailerMatcher/default_matcher,_caller_rejects -=== PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_rejects === CONT TestOutgoingHeaderMatcher/custom_matcher --- PASS: TestOutgoingHeaderMatcher (0.00s) --- PASS: TestOutgoingHeaderMatcher/default_matcher (0.00s) --- PASS: TestOutgoingHeaderMatcher/custom_matcher (0.00s) +=== RUN TestOutgoingTrailerMatcher/default_matcher,_caller_rejects +=== PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_rejects === RUN TestOutgoingTrailerMatcher/custom_matcher === PAUSE TestOutgoingTrailerMatcher/custom_matcher === CONT TestOutgoingTrailerMatcher/default_matcher,_caller_accepts -=== CONT TestOutgoingTrailerMatcher/default_matcher,_caller_rejects === CONT TestOutgoingTrailerMatcher/custom_matcher +=== CONT TestOutgoingTrailerMatcher/default_matcher,_caller_rejects --- PASS: TestOutgoingTrailerMatcher (0.00s) + --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_accepts (0.00s) --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_rejects (0.00s) --- PASS: TestOutgoingTrailerMatcher/custom_matcher (0.00s) - --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_accepts (0.00s) === RUN FuzzPopulateQueryParameters === RUN FuzzPopulateQueryParameters/seed#0 === RUN FuzzPopulateQueryParameters/seed#1 @@ -5955,7 +5990,7 @@ --- PASS: FuzzPopulateQueryParameters/seed#7 (0.00s) --- PASS: FuzzPopulateQueryParameters/seed#8 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.085s +ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.088s ? github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb [no test files] === RUN TestStringArrayFlag === RUN TestStringArrayFlag/No_Value @@ -5972,7 +6007,7 @@ === RUN TestAdd --- PASS: TestAdd (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.007s +ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.006s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -5999,9 +6034,9 @@ dh_installdeb -O--buildsystem=golang dh_golang -O--buildsystem=golang dh_gencontrol -O--buildsystem=golang -dpkg-gencontrol: warning: package golang-grpc-gateway: substitution variable ${misc:Static-Built-Using} unused, but is defined dpkg-gencontrol: warning: Depends field of package golang-github-grpc-ecosystem-grpc-gateway-dev: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package golang-grpc-gateway: substitution variable ${misc:Static-Built-Using} unused, but is defined +dpkg-gencontrol: warning: package golang-grpc-gateway: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--buildsystem=golang dh_builddeb -O--buildsystem=golang dpkg-deb: building package 'golang-github-grpc-ecosystem-grpc-gateway-dev' in '../golang-github-grpc-ecosystem-grpc-gateway-dev_2.20.0-2_all.deb'. @@ -6014,12 +6049,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/4026826/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4026826/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3381841 and its subdirectories -I: Current time: Tue Mar 11 15:58:37 -12 2025 -I: pbuilder-time-stamp: 1741751917 +I: removing directory /srv/workspace/pbuilder/4026826 and its subdirectories +I: Current time: Wed Apr 15 00:23:07 +14 2026 +I: pbuilder-time-stamp: 1776162187