Diff of the two buildlogs: -- --- b1/build.log 2025-02-27 10:08:11.860621498 +0000 +++ b2/build.log 2025-02-27 10:15:48.532143252 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Apr 1 04:29:01 -12 2026 -I: pbuilder-time-stamp: 1775060941 +I: Current time: Fri Feb 28 00:08:14 +14 2025 +I: pbuilder-time-stamp: 1740650894 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/339460/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2440007/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +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 Feb 27 10:08 /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/2440007/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2440007/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='bbf5296aad844141a989a37dd84e437c' - 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='339460' - PS1='# ' - PS2='> ' + INVOCATION_ID=81a991d52f7142d784a10934b83a6273 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=2440007 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.jqJUDLLj/pbuilderrc_W8ix --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.jqJUDLLj/b1 --logfile b1/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.jqJUDLLj/pbuilderrc_QFOY --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.jqJUDLLj/b2 --logfile b2/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/339460/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2440007/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -201,7 +233,7 @@ Get: 74 http://deb.debian.org/debian trixie/main amd64 golang-google-genproto-dev all 0.0~git20210726.e7812ac-4 [5301 kB] Get: 75 http://deb.debian.org/debian trixie/main amd64 golang-github-google-cel-go-dev all 0.18.2+ds-5 [400 kB] Get: 76 http://deb.debian.org/debian trixie/main amd64 golang-github-rogpeppe-fastuuid-dev all 0.0~git20150106.0.6724a57-2.1 [4292 B] -Fetched 93.1 MB in 13s (7130 kB/s) +Fetched 93.1 MB in 6s (16.0 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 ... 19802 files and directories currently installed.) @@ -520,7 +552,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/2440007/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2440007/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 @@ -538,136 +574,136 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go install -trimpath -v -p 42 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/asan -internal/profilerecord -internal/nettrace -vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/coverage/rtcov -cmp + cd obj-x86_64-linux-gnu && go install -trimpath -v -p 20 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/godebugs -encoding -internal/goversion -internal/itoa -container/list -internal/byteorder -google.golang.org/grpc/serviceconfig internal/goarch -unicode/utf16 -log/internal -internal/cpu -vendor/golang.org/x/crypto/internal/alias +cmp +math/bits +internal/profilerecord unicode +internal/cpu internal/goexperiment -google.golang.org/protobuf/internal/flags -crypto/internal/fips140/alias +unicode/utf8 +internal/runtime/atomic internal/goos -math/bits +internal/byteorder internal/unsafeheader -crypto/internal/boring/sig -unicode/utf8 +internal/coverage/rtcov +internal/itoa +internal/msan +internal/asan sync/atomic +internal/goversion internal/runtime/syscall -internal/msan -internal/runtime/atomic internal/gover +internal/abi internal/runtime/math +google.golang.org/protobuf/internal/flags +unicode/utf16 internal/runtime/sys -internal/abi -crypto/internal/fips140/subtle -crypto/internal/fips140deps/byteorder +encoding +log/internal +internal/nettrace +google.golang.org/grpc/serviceconfig +container/list +crypto/internal/fips140/alias +crypto/internal/boring/sig internal/chacha8rand +crypto/internal/fips140deps/byteorder +vendor/golang.org/x/crypto/cryptobyte/asn1 +vendor/golang.org/x/crypto/internal/alias google.golang.org/protobuf/internal/set -crypto/internal/fips140deps/cpu -internal/runtime/exithook +crypto/internal/fips140/subtle internal/bytealg +crypto/internal/fips140deps/cpu math +internal/runtime/exithook internal/stringslite internal/race -internal/sync internal/runtime/maps +internal/sync runtime -iter internal/reflectlite +iter +sync weak crypto/subtle -sync -maps slices +maps errors sort -internal/bisect -google.golang.org/protobuf/internal/pragma -internal/singleflight -unique -internal/testlog internal/oserror path +strconv +math/rand/v2 +vendor/golang.org/x/net/dns/dnsmessage io +internal/bisect +google.golang.org/protobuf/internal/pragma +internal/testlog +unique +internal/singleflight google.golang.org/grpc/internal/buffer -vendor/golang.org/x/net/dns/dnsmessage -math/rand/v2 -strconv -runtime/cgo syscall +runtime/cgo +golang.org/x/text/internal/tag +container/heap internal/godebug +bytes +reflect strings -container/heap +internal/types/errors hash -golang.org/x/text/internal/tag -bytes crypto/internal/randutil -hash/fnv -hash/crc32 -crypto/internal/fips140deps/godebug -math/rand -crypto net/netip -internal/types/errors -reflect -go/version +bufio go/build/constraint -crypto/internal/fips140 +go/version regexp/syntax -crypto/internal/impl -html -net/http/internal/ascii -google.golang.org/grpc/internal/grpcrand +hash/crc32 +crypto +hash/fnv golang.org/x/text/transform +html +crypto/internal/impl vendor/golang.org/x/text/transform -bufio -crypto/tls/internal/fips140tls +net/http/internal/ascii +math/rand +crypto/internal/fips140deps/godebug +crypto/internal/fips140 crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 +google.golang.org/grpc/internal/grpcrand +crypto/tls/internal/fips140tls +crypto/internal/fips140/hmac +crypto/sha3 internal/syscall/execenv -time internal/syscall/unix -crypto/sha3 -crypto/internal/fips140/hmac +time +regexp crypto/internal/fips140/check crypto/internal/fips140hash -crypto/internal/fips140/hkdf -crypto/internal/fips140/tls12 +crypto/internal/fips140/aes crypto/internal/fips140/edwards25519/field crypto/internal/fips140/bigmod -crypto/internal/fips140/aes +crypto/internal/fips140/hkdf +crypto/internal/fips140/tls12 crypto/internal/fips140/nistec/fiat crypto/internal/fips140/tls13 -regexp crypto/internal/fips140/edwards25519 -google.golang.org/grpc/backoff -context -google.golang.org/grpc/keepalive io/fs +context internal/poll +google.golang.org/grpc/backoff +google.golang.org/grpc/keepalive +internal/filepathlite +embed google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/grpcsync -embed -internal/filepathlite -crypto/internal/fips140/nistec google.golang.org/protobuf/internal/editiondefaults os +crypto/internal/fips140/nistec internal/fmtsort encoding/binary encoding/base64 @@ -675,204 +711,204 @@ golang.org/x/sys/unix encoding/pem google.golang.org/protobuf/internal/detrand +path/filepath +fmt +net io/ioutil crypto/internal/sysrand google.golang.org/grpc/internal/envconfig -fmt -path/filepath vendor/golang.org/x/sys/cpu -net crypto/internal/entropy crypto/internal/fips140/drbg -github.com/grpc-ecosystem/grpc-gateway/internal/casing crypto/internal/fips140only -crypto/internal/fips140/ecdh crypto/internal/fips140/ed25519 -crypto/internal/fips140/ecdsa -crypto/internal/fips140/aes/gcm crypto/internal/fips140/mlkem +crypto/internal/fips140/aes/gcm crypto/internal/fips140/rsa -crypto/rc4 crypto/md5 +crypto/rc4 +crypto/internal/fips140/ecdh +crypto/internal/fips140/ecdsa +github.com/grpc-ecosystem/grpc-gateway/internal/casing crypto/cipher -text/tabwriter +vendor/golang.org/x/crypto/chacha20 +crypto/des +crypto/internal/boring +crypto/aes +crypto/ecdh +crypto/sha512 +crypto/hmac +crypto/sha1 +crypto/sha256 +go/token google.golang.org/protobuf/internal/errors internal/buildcfg go/doc/comment -compress/flate +text/tabwriter +gopkg.in/yaml.v3 +math/big +net/url +golang.org/x/text/internal/language +encoding/json google.golang.org/protobuf/internal/version flag +google.golang.org/grpc/internal/grpclog +golang.org/x/text/unicode/norm +google.golang.org/protobuf/encoding/protowire +compress/flate log text/template/parse -mime/quotedprintable -net/http/internal -net/url -go/token -google.golang.org/grpc/internal/grpclog +vendor/golang.org/x/crypto/chacha20poly1305 encoding/hex -vendor/golang.org/x/net/http2/hpack -google.golang.org/grpc/attributes -golang.org/x/text/internal/language -google.golang.org/grpc/internal/idle -golang.org/x/net/http2/hpack -gopkg.in/yaml.v3 -mime vendor/golang.org/x/text/unicode/norm -encoding/json -vendor/golang.org/x/crypto/chacha20 -crypto/internal/boring -crypto/des -golang.org/x/text/unicode/norm -math/big -google.golang.org/protobuf/encoding/protowire -crypto/aes -crypto/sha512 -crypto/ecdh -crypto/hmac -crypto/sha1 -crypto/sha256 google.golang.org/protobuf/reflect/protoreflect -vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/net/http2/hpack +mime +go/scanner +mime/quotedprintable golang.org/x/net/internal/timeseries vendor/golang.org/x/text/unicode/bidi +net/http/internal +google.golang.org/grpc/attributes +google.golang.org/grpc/internal/idle golang.org/x/text/unicode/bidi -go/scanner -github.com/grpc-ecosystem/grpc-gateway/utilities +go/ast +golang.org/x/net/http2/hpack compress/gzip +github.com/grpc-ecosystem/grpc-gateway/utilities github.com/grpc-ecosystem/grpc-gateway/internal/httprule -go/ast -golang.org/x/text/internal/language/compact -text/template -golang.org/x/text/secure/bidirule -vendor/golang.org/x/text/secure/bidirule -golang.org/x/text/language -golang.org/x/net/idna google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/descfmt +google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/order google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/internal/strs -google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/genid -vendor/golang.org/x/net/idna +google.golang.org/protobuf/internal/descfmt +google.golang.org/protobuf/internal/descopts +text/template google.golang.org/protobuf/reflect/protoregistry -google.golang.org/protobuf/internal/encoding/json google.golang.org/protobuf/internal/encoding/text +google.golang.org/protobuf/internal/encoding/json +golang.org/x/text/internal/language/compact +golang.org/x/text/secure/bidirule +vendor/golang.org/x/text/secure/bidirule +golang.org/x/net/idna +vendor/golang.org/x/net/idna +golang.org/x/text/language google.golang.org/protobuf/proto +google.golang.org/protobuf/internal/encoding/defval +google.golang.org/grpc/grpclog +html/template +go/parser +go/printer golang.org/x/text/internal golang.org/x/text/cases -google.golang.org/grpc/grpclog -crypto/internal/boring/bbig +google.golang.org/grpc/connectivity +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc go/constant crypto/rand -crypto/dsa +crypto/internal/boring/bbig crypto/elliptic +crypto/dsa encoding/asn1 -google.golang.org/protobuf/internal/encoding/defval crypto/ed25519 crypto/internal/hpke crypto/rsa -go/parser -go/printer -google.golang.org/grpc/connectivity -html/template -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/filedesc -crypto/x509/pkix +go/types vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix go/format -go/types -crypto/ecdsa google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/internal/impl -google.golang.org/grpc/internal/syscall -google.golang.org/grpc/internal/resolver/dns/internal -net/textproto +crypto/ecdsa google.golang.org/grpc/internal -vendor/golang.org/x/net/http/httpproxy crypto/x509 +vendor/golang.org/x/net/http/httpproxy +google.golang.org/grpc/internal/resolver/dns/internal +google.golang.org/grpc/internal/syscall +net/textproto google.golang.org/grpc/codes google.golang.org/grpc/metadata -golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpguts -mime/multipart -google.golang.org/grpc/internal/balancerload google.golang.org/grpc/internal/grpcutil -google.golang.org/grpc/tap +google.golang.org/grpc/internal/balancerload google.golang.org/grpc/stats +google.golang.org/grpc/tap google.golang.org/grpc/encoding +vendor/golang.org/x/net/http/httpguts +mime/multipart +golang.org/x/net/http/httpguts crypto/tls google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl +google.golang.org/protobuf/types/dynamicpb google.golang.org/protobuf/protoadapt -google.golang.org/protobuf/types/known/structpb +google.golang.org/protobuf/types/known/durationpb +google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/fieldmaskpb -google.golang.org/protobuf/types/known/emptypb google.golang.org/protobuf/types/known/wrapperspb -google.golang.org/protobuf/types/known/anypb -google.golang.org/protobuf/types/known/durationpb +google.golang.org/protobuf/types/known/emptypb +google.golang.org/protobuf/types/known/structpb google.golang.org/protobuf/types/descriptorpb -google.golang.org/protobuf/types/known/timestamppb -google.golang.org/protobuf/types/dynamicpb -google.golang.org/grpc/internal/pretty +google.golang.org/protobuf/types/known/anypb google.golang.org/grpc/encoding/proto +google.golang.org/grpc/internal/pretty github.com/golang/protobuf/ptypes/duration -github.com/golang/protobuf/ptypes/timestamp google.golang.org/genproto/googleapis/rpc/status google.golang.org/genproto/googleapis/api/httpbody +github.com/golang/protobuf/ptypes/timestamp google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/internal/status google.golang.org/grpc/status google.golang.org/grpc/internal/binarylog -google.golang.org/protobuf/types/gofeaturespb -google.golang.org/genproto/googleapis/api/visibility google.golang.org/protobuf/types/pluginpb google.golang.org/genproto/googleapis/api/annotations +google.golang.org/genproto/googleapis/api/visibility github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options +google.golang.org/protobuf/types/gofeaturespb 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/codegenerator google.golang.org/grpc/credentials net/http +github.com/grpc-ecosystem/grpc-gateway/internal/descriptor +google.golang.org/grpc/internal/channelz google.golang.org/grpc/resolver google.golang.org/grpc/peer google.golang.org/grpc/credentials/insecure -google.golang.org/grpc/internal/channelz -github.com/grpc-ecosystem/grpc-gateway/internal/generator google.golang.org/grpc/internal/metadata -google.golang.org/grpc/internal/transport/networktype 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/resolver/unix google.golang.org/grpc/internal/resolver/dns -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/resolver/dns google.golang.org/grpc/channelz google.golang.org/grpc/balancer google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/serviceconfig -github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway google.golang.org/grpc/internal/resolver google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/balancer/gracefulswitch +github.com/grpc-ecosystem/grpc-gateway/internal/generator +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway +github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi +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 google.golang.org/grpc/internal/transport google.golang.org/grpc -google.golang.org/grpc/health/grpc_health_v1 github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb +google.golang.org/grpc/health/grpc_health_v1 github.com/grpc-ecosystem/grpc-gateway/runtime dh_auto_test -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go test -vet=off -v -p 42 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 + cd obj-x86_64-linux-gnu && go test -vet=off -v -p 20 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 === RUN TestCamelIdentifier === RUN TestCamelIdentifier/regular_snake_case_identifier === RUN TestCamelIdentifier/snake_case_identifier_with_digit @@ -886,7 +922,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.003s +ok github.com/grpc-ecosystem/grpc-gateway/internal/casing 0.068s === RUN TestParseRequest === RUN TestParseRequest/Empty_input_should_produce_empty_output === RUN TestParseRequest/Invalid_reader_should_produce_error @@ -896,11 +932,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.006s +ok github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator 0.092s === RUN TestLoadGrpcAPIServiceFromYAMLInvalidType --- PASS: TestLoadGrpcAPIServiceFromYAMLInvalidType (0.00s) === RUN TestLoadGrpcAPIServiceFromYAMLSingleRule ---- PASS: TestLoadGrpcAPIServiceFromYAMLSingleRule (0.00s) +--- PASS: TestLoadGrpcAPIServiceFromYAMLSingleRule (0.01s) === RUN TestLoadGrpcAPIServiceFromYAMLRejectInvalidYAML --- PASS: TestLoadGrpcAPIServiceFromYAMLRejectInvalidYAML (0.00s) === RUN TestLoadGrpcAPIServiceFromYAMLMultipleWithAdditionalBindings @@ -922,7 +958,7 @@ === RUN TestLoadFileWithoutPackage --- PASS: TestLoadFileWithoutPackage (0.00s) === RUN TestLoadFileWithMapping ---- PASS: TestLoadFileWithMapping (0.00s) +--- PASS: TestLoadFileWithMapping (0.02s) === RUN TestLoadFileWithPackageNameCollision --- PASS: TestLoadFileWithPackageNameCollision (0.00s) === RUN TestLoadFileWithIdenticalGoPkg @@ -948,7 +984,7 @@ === RUN TestRegisterOpenAPIOptions/error_if_message_does_not_exist === RUN TestRegisterOpenAPIOptions/error_if_service_does_not_exist === RUN TestRegisterOpenAPIOptions/error_if_field_does_not_exist ---- PASS: TestRegisterOpenAPIOptions (0.00s) +--- PASS: TestRegisterOpenAPIOptions (0.01s) --- PASS: TestRegisterOpenAPIOptions/handle_nil_options (0.00s) --- PASS: TestRegisterOpenAPIOptions/successfully_add_options_if_referenced_entity_exists (0.00s) --- PASS: TestRegisterOpenAPIOptions/reject_fully_qualified_names_with_leading_"." (0.00s) @@ -983,7 +1019,7 @@ services_test.go:1059: ExampleService.Echo: string is a protobuf message type. Protobuf message types cannot be used as path parameters, use a scalar value type (such as string) instead --- PASS: TestExtractServicesWithError (0.00s) === RUN TestResolveFieldPath ---- PASS: TestResolveFieldPath (0.00s) +--- PASS: TestResolveFieldPath (0.01s) === RUN TestExtractServicesWithDeleteBody services_test.go:1348: services_test.go:1348: must not set request body when http method is DELETE except allow_delete_body option is true: RemoveResource @@ -1001,7 +1037,7 @@ === RUN TestGoType --- PASS: TestGoType (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.015s +ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.098s ? 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] @@ -1020,20 +1056,20 @@ === RUN TestTemplateStringer --- PASS: TestTemplateStringer (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.004s +ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.040s ? github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway [no test files] === RUN TestGenerator_Generate --- PASS: TestGenerator_Generate (0.00s) === RUN TestApplyTemplateHeader ---- PASS: TestApplyTemplateHeader (0.00s) +--- PASS: TestApplyTemplateHeader (0.02s) === RUN TestApplyTemplateRequestWithoutClientStreaming --- PASS: TestApplyTemplateRequestWithoutClientStreaming (0.00s) === RUN TestApplyTemplateRequestWithClientStreaming --- PASS: TestApplyTemplateRequestWithClientStreaming (0.00s) === RUN TestApplyTemplateInProcess ---- PASS: TestApplyTemplateInProcess (0.00s) +--- PASS: TestApplyTemplateInProcess (0.01s) === RUN TestAllowPatchFeature ---- PASS: TestAllowPatchFeature (0.00s) +--- PASS: TestAllowPatchFeature (0.01s) === RUN TestIdentifierCapitalization --- PASS: TestIdentifierCapitalization (0.00s) === RUN TestDuplicatePathsInSameService @@ -1041,7 +1077,7 @@ === RUN TestDuplicatePathsInDifferentService --- PASS: TestDuplicatePathsInDifferentService (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.012s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.100s === RUN TestParseReqParam === RUN TestParseReqParam/Test_0 === RUN TestParseReqParam/Test_1 @@ -1056,7 +1092,7 @@ === RUN TestParseReqParam/Test_10 === RUN TestParseReqParam/Test_11 === RUN TestParseReqParam/Test_12 ---- PASS: TestParseReqParam (0.00s) +--- PASS: TestParseReqParam (0.01s) --- PASS: TestParseReqParam/Test_0 (0.00s) --- PASS: TestParseReqParam/Test_1 (0.00s) --- PASS: TestParseReqParam/Test_2 (0.00s) @@ -1067,11 +1103,11 @@ --- PASS: TestParseReqParam/Test_7 (0.00s) --- PASS: TestParseReqParam/Test_8 (0.00s) --- PASS: TestParseReqParam/Test_9 (0.00s) - --- PASS: TestParseReqParam/Test_10 (0.00s) + --- PASS: TestParseReqParam/Test_10 (0.01s) --- PASS: TestParseReqParam/Test_11 (0.00s) --- PASS: TestParseReqParam/Test_12 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.007s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.068s === RUN TestCycle --- PASS: TestCycle (0.00s) === RUN Test_getUniqueFields @@ -1109,7 +1145,7 @@ === RUN TestMessageToQueryParametersNoRecursive --- PASS: TestMessageToQueryParametersNoRecursive (0.00s) === RUN TestMessageToQueryParametersRecursive ---- PASS: TestMessageToQueryParametersRecursive (0.04s) +--- PASS: TestMessageToQueryParametersRecursive (0.32s) === RUN TestMessageToQueryParametersWithJsonName --- PASS: TestMessageToQueryParametersWithJsonName (0.00s) === RUN TestMessageToQueryParametersWellKnownTypes @@ -1119,7 +1155,7 @@ === RUN TestMessageToQueryParametersWithEnumFieldOption --- PASS: TestMessageToQueryParametersWithEnumFieldOption (0.00s) === RUN TestApplyTemplateSimple ---- PASS: TestApplyTemplateSimple (0.00s) +--- PASS: TestApplyTemplateSimple (0.01s) === RUN TestApplyTemplateMultiService --- PASS: TestApplyTemplateMultiService (0.00s) === RUN TestApplyTemplateOpenAPIConfigFromYAML @@ -1146,12 +1182,12 @@ --- 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.protobuf.Any .google.rpc.Status .example.ExampleMessage .example.NestedMessage] +AllFQMNs [.example.NestedMessage .google.protobuf.Any .google.rpc.Status .example.ExampleMessage] --- PASS: TestApplyTemplateRequestWithoutClientStreaming (0.00s) === RUN TestApplyTemplateRequestWithClientStreaming --- PASS: TestApplyTemplateRequestWithClientStreaming (0.00s) === RUN TestApplyTemplateRequestWithServerStreamingAndNoStandardErrors ---- PASS: TestApplyTemplateRequestWithServerStreamingAndNoStandardErrors (0.00s) +--- PASS: TestApplyTemplateRequestWithServerStreamingAndNoStandardErrors (0.01s) === RUN TestApplyTemplateRequestWithUnusedReferences --- PASS: TestApplyTemplateRequestWithUnusedReferences (0.00s) === RUN TestApplyTemplateRequestWithBodyQueryParameters @@ -1185,7 +1221,7 @@ === RUN TestFQMNtoOpenAPIName --- PASS: TestFQMNtoOpenAPIName (0.00s) === RUN TestSchemaOfField ---- PASS: TestSchemaOfField (0.01s) +--- PASS: TestSchemaOfField (0.07s) === RUN TestRenderMessagesAsDefinition === RUN TestRenderMessagesAsDefinition/no_OpenAPI_options === RUN TestRenderMessagesAsDefinition/example_option @@ -1201,7 +1237,7 @@ === RUN TestRenderMessagesAsDefinition/JSONSchema_with_required_properties_via_field_behavior === RUN TestRenderMessagesAsDefinition/JSONSchema_with_required_properties_and_fields_with_json_name === RUN TestRenderMessagesAsDefinition/JSONSchema_with_a_read_only_nested_field ---- PASS: TestRenderMessagesAsDefinition (0.00s) +--- PASS: TestRenderMessagesAsDefinition (0.01s) --- PASS: TestRenderMessagesAsDefinition/no_OpenAPI_options (0.00s) --- PASS: TestRenderMessagesAsDefinition/example_option (0.00s) --- PASS: TestRenderMessagesAsDefinition/example_option_with_something_non-json (0.00s) @@ -1261,29 +1297,29 @@ --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption (0.00s) --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption_with_go_template_args (0.00s) === RUN TestTagsWithGoTemplate -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestTagsWithGoTemplate (0.00s) === RUN TestTemplateWithoutErrorDefinition -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestTemplateWithoutErrorDefinition (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1Operations -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations -2026/04/01 16:30:52 ERROR: no message found: Status -2026/04/01 16:30:52 ERROR: no message found: Status -2026/04/01 16:30:52 ERROR: no message found: Status -2026/04/01 16:30:52 ERROR: no message found: Status -2026/04/01 16:30:52 ERROR: no message found: Status -2026/04/01 16:30:52 ERROR: no message found: Status -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations (0.00s) === RUN TestTemplateWithDuplicateHttp1Operations -2026/04/01 16:30:52 ERROR: no message found: Status ---- PASS: TestTemplateWithDuplicateHttp1Operations (0.00s) +2025/02/27 10:14:13 ERROR: no message found: Status +--- PASS: TestTemplateWithDuplicateHttp1Operations (0.01s) === RUN Test_getReservedJsonName === RUN Test_getReservedJsonName/test_case_1:_single_dot_use_case === RUN Test_getReservedJsonName/test_case_2:_single_dot_use_case_with_no_existing_field @@ -1295,62 +1331,62 @@ --- 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 -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestParseIncompleteSecurityRequirement (0.00s) === RUN TestSubPathParams --- PASS: TestSubPathParams (0.00s) === RUN TestRenderServicesParameterDescriptionNoFieldBody -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestRenderServicesParameterDescriptionNoFieldBody (0.00s) === RUN TestRenderServicesWithBodyFieldNameInCamelCase -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldNameInCamelCase (0.00s) === RUN TestRenderServicesWithBodyFieldHasFieldMask -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldHasFieldMask (0.00s) === RUN TestRenderServicesWithColonInPath -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInPath (0.00s) === RUN TestRenderServicesWithDoubleColonInPath -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestRenderServicesWithDoubleColonInPath (0.00s) === RUN TestRenderServicesWithColonLastInPath -2026/04/01 16:30:52 ERROR: no message found: Status ---- PASS: TestRenderServicesWithColonLastInPath (0.00s) +2025/02/27 10:14:13 ERROR: no message found: Status +--- PASS: TestRenderServicesWithColonLastInPath (0.01s) === RUN TestRenderServicesWithColonInSegment -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInSegment (0.00s) === RUN TestRenderServiceWithHeaderParameters +=== RUN TestRenderServiceWithHeaderParameters/type_boolean +2025/02/27 10:14:13 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/header_required -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_string -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_string_with_format -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_integer -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_number -2026/04/01 16:30:52 ERROR: no message found: Status -=== RUN TestRenderServiceWithHeaderParameters/type_boolean -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestRenderServiceWithHeaderParameters (0.00s) + --- PASS: TestRenderServiceWithHeaderParameters/type_boolean (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/header_required (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) === RUN TestRenderServicesOpenapiPathsOrderPreserved -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreserved (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedMultipleServices -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedMultipleServices (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings (0.00s) === RUN TestArrayMessageItemsType ---- PASS: TestArrayMessageItemsType (0.00s) +--- PASS: TestArrayMessageItemsType (0.01s) === RUN TestQueryParameterType --- PASS: TestQueryParameterType (0.00s) === RUN TestApplyTemplateRequestWithServerStreamingHttpBody @@ -1400,7 +1436,7 @@ --- PASS: TestMergeTags/Merge_external_docs (0.00s) --- PASS: TestMergeTags/Merge_extensions (0.00s) === RUN TestApiVisibilityOption -2026/04/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 ERROR: no message found: Status --- PASS: TestApiVisibilityOption (0.00s) === RUN TestRawExample === PAUSE TestRawExample @@ -1417,8 +1453,8 @@ === RUN TestGenerateYAML === PAUSE TestGenerateYAML === RUN TestGeneratedYAMLIndent -2026/04/01 16:30:52 ERROR: no message found: Status ---- PASS: TestGeneratedYAMLIndent (0.00s) +2025/02/27 10:14:13 ERROR: no message found: Status +--- PASS: TestGeneratedYAMLIndent (0.01s) === RUN TestGenerateRPCOrderPreserved === PAUSE TestGenerateRPCOrderPreserved === RUN TestGenerateRPCOrderNotPreserved @@ -1446,60 +1482,25 @@ === CONT TestRawExample === RUN TestRawExample/1 === PAUSE TestRawExample/1 -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings -=== CONT TestFormatValidate -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/json -=== RUN TestFormatValidate/json -=== PAUSE TestFormatValidate/json -=== RUN TestFormatValidate/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestFormatValidate/yaml -=== CONT TestGenerateYAML -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateYAML/path_item_object -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateYAML/path_item_object -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== 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 -=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/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 -=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/04/01 16:30:52 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 -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/json -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -2026/04/01 16:30:52 ERROR: no message found: Status -=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/json -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/yaml -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/yaml -your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/json +=== RUN TestRawExample/"1" +=== PAUSE TestRawExample/"1" +=== RUN TestRawExample/{"hello":"worldr"} +=== PAUSE TestRawExample/{"hello":"worldr"} +=== CONT TestRawExample/1 +=== CONT TestFindExpectedPaths +=== RUN TestFindExpectedPaths/One_potential_path_present +=== PAUSE TestFindExpectedPaths/One_potential_path_present +=== RUN TestFindExpectedPaths/No_potential_Paths_present +=== PAUSE TestFindExpectedPaths/No_potential_Paths_present +=== RUN TestFindExpectedPaths/Multiple_potential_paths_present +=== PAUSE TestFindExpectedPaths/Multiple_potential_paths_present +=== CONT TestFindExpectedPaths/One_potential_path_present +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices +=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/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 @@ -1512,14 +1513,47 @@ 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/01 16:30:52 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/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/02/27 10:14:13 ERROR: no message found: Status +=== CONT TestGenerateYAML 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 -=== RUN TestRawExample/"1" -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/json - generator_test.go:1168: { +=== RUN TestGenerateYAML/path_item_object +=== CONT TestOpenapiSchemaObjectProperties +=== PAUSE TestGenerateYAML/path_item_object +=== RUN TestOpenapiSchemaObjectProperties/yaml +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices +=== PAUSE TestOpenapiSchemaObjectProperties/yaml +=== RUN TestOpenapiSchemaObjectProperties/json +=== PAUSE TestOpenapiSchemaObjectProperties/json +=== CONT TestOpenapiSchemaObjectProperties/yaml +=== CONT TestGenerateExtension +=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== RUN TestGenerateExtension/json +=== PAUSE TestGenerateExtension/json +=== RUN TestGenerateExtension/yaml +=== PAUSE TestGenerateExtension/yaml +=== CONT TestGenerateExtension/json +=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json + generator_test.go:1774: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -1527,6 +1561,12 @@ }, "tags": [ { + "name": "TestServiceOne" + }, + { + "name": "TestServiceTwo" + }, + { "name": "TestService" } ], @@ -1537,14 +1577,14 @@ "application/json" ], "paths": { - "/b/first": { + "/a/additional": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -1561,14 +1601,14 @@ ] } }, - "/a/additional": { + "/a/apath": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -1587,12 +1627,12 @@ }, "/a/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -1605,18 +1645,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, - "/z/zAdditional": { + "/b/bAdditional": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -1633,14 +1673,14 @@ ] } }, - "/c/third": { + "/b/bpath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -1657,14 +1697,14 @@ ] } }, - "/b/bAdditional": { + "/b/first": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -1677,76 +1717,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } - } - }, - "definitions": { - "v1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - } - } - } - -=== CONT TestGenerateRPCOrderPreservedMultipleServices -=== CONT TestGenerate_YAML -=== PAUSE TestRawExample/"1" -=== CONT TestGenerateRPCOrderNotPreserved -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/04/01 16:30:52 ERROR: no message found: Status -=== CONT TestGenerateRPCOrderPreserved -file.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateExtension -=== CONT TestFindExpectedPaths -=== RUN TestFindExpectedPaths/One_potential_path_present -=== CONT TestOpenapiSchemaObjectProperties -=== RUN TestOpenapiSchemaObjectProperties/yaml -=== PAUSE TestOpenapiSchemaObjectProperties/yaml -=== RUN TestOpenapiSchemaObjectProperties/json -=== PAUSE TestOpenapiSchemaObjectProperties/json -=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== RUN TestFormatValidate/unknown -=== RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== CONT TestGenerateRPCOrderPreservedMergeFiles -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml -=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/json -=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/json - 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": { + }, + "/c/cpath": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -1763,14 +1745,14 @@ ] } }, - "/a/second": { + "/c/third": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -1783,18 +1765,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/b/bAdditional": { + "/d/first": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -1807,18 +1789,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/b/first": { + "/e/second": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -1831,18 +1813,18 @@ } ], "tags": [ - "TestService" + "TestServiceOne" ] } }, - "/c/third": { + "/g/third": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceTwo_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -1855,7 +1837,7 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, @@ -1866,7 +1848,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -1885,7 +1867,15 @@ } }, "definitions": { - "v1Foo": { + "examplev1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + }, + "examplev2Foo": { "type": "object", "properties": { "bar": { @@ -1896,19 +1886,133 @@ } } ---- PASS: TestGenerateYAML (0.00s) - --- PASS: TestGenerateYAML/path_item_object (0.00s) +2025/02/27 10:14:13 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 +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings +=== CONT TestRawExample/{"hello":"worldr"} +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings +=== CONT TestGenerate_YAML +=== CONT TestFormatEncode +=== RUN TestFormatEncode/json +=== PAUSE TestFormatEncode/json +2025/02/27 10:14:13 ERROR: no message found: Status +=== RUN TestFormatEncode/yaml +file.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestFormatEncode/yaml +=== CONT TestFormatEncode/json +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +=== CONT TestFormatEncode/yaml +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +--- PASS: TestFormatEncode (0.00s) + --- PASS: TestFormatEncode/json (0.00s) + --- PASS: TestFormatEncode/yaml (0.00s) +=== CONT TestFormatValidate +=== RUN TestFormatValidate/json +=== PAUSE TestFormatValidate/json +=== CONT TestGenerateYAML/path_item_object +=== CONT TestOpenapiSchemaObjectProperties/json +=== 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 +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings +2025/02/27 10:14:13 ERROR: no message found: Status +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/json +=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/json +=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== CONT TestGenerateRPCOrderPreservedMergeFiles +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== 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" + } + } + } + } + } + +=== CONT TestRawExample/"1" +=== RUN TestGenerateRPCOrderPreservedMergeFiles/json +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json +=== RUN TestGenerateRPCOrderPreservedMergeFiles/yaml +=== CONT TestFindExpectedPaths/Multiple_potential_paths_present +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml +=== CONT TestFindExpectedPaths/No_potential_Paths_present +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices +=== CONT TestGenerateRPCOrderPreservedMergeFiles/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestFormatValidate/yaml +=== RUN TestGenerateRPCOrderPreservedAdditionalBindings/yaml +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles +=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/json +=== 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 +=== CONT TestGenerateRPCOrderPreservedMergeFiles/yaml +--- PASS: TestGenerate_YAML (0.00s) +--- PASS: TestOpenapiSchemaObjectProperties (0.00s) + --- PASS: TestOpenapiSchemaObjectProperties/yaml (0.00s) + --- PASS: TestOpenapiSchemaObjectProperties/json (0.00s) +--- PASS: TestRawExample (0.00s) + --- PASS: TestRawExample/1 (0.00s) + --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) + --- PASS: TestRawExample/"1" (0.00s) +--- 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) +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/json +=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml +=== PAUSE TestFormatValidate/yaml +=== RUN TestFormatValidate/unknown 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 +2025/02/27 10:14:13 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 @@ -1916,57 +2020,71 @@ 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 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/01 16:30:52 ERROR: no message found: Status -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json -=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml -=== RUN TestRawExample/{"hello":"worldr"} 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 -=== RUN TestGenerateExtension/json -2026/04/01 16:30:52 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 -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices -2026/04/01 16:30:52 ERROR: no message found: Status 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 -=== PAUSE TestRawExample/{"hello":"worldr"} +2025/02/27 10:14:13 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE 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 +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +2025/02/27 10:14:13 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 +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/yaml +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/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 === RUN TestGenerateRPCOrderPreserved/json -=== RUN TestGenerateExtension/yaml +=== PAUSE TestGenerateRPCOrderPreserved/json +=== RUN TestGenerateRPCOrderPreserved/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json +=== PAUSE TestGenerateRPCOrderPreserved/yaml +=== CONT TestGenerateRPCOrderPreserved/json +=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreserved === RUN TestGenerateRPCOrderNotPreserved/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === PAUSE TestGenerateRPCOrderNotPreserved/json +=== RUN TestGenerateRPCOrderNotPreserved/yaml +=== PAUSE TestGenerateRPCOrderNotPreserved/yaml +=== CONT TestGenerateRPCOrderNotPreserved/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === PAUSE TestFormatValidate/unknown -=== CONT TestOpenapiSchemaObjectProperties/yaml -=== CONT TestOpenapiSchemaObjectProperties/json -=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml -=== RUN TestGenerateRPCOrderPreservedMergeFiles/json ---- PASS: TestGenerate_YAML (0.00s) -=== PAUSE TestFindExpectedPaths/One_potential_path_present -=== RUN TestFindExpectedPaths/No_potential_Paths_present exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestFindExpectedPaths/No_potential_Paths_present +=== CONT TestGenerateRPCOrderPreservedMultipleServices exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestFindExpectedPaths/Multiple_potential_paths_present -=== PAUSE TestFindExpectedPaths/Multiple_potential_paths_present -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json -=== CONT TestFindExpectedPaths/One_potential_path_present -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml +=== RUN TestGenerateRPCOrderPreservedMultipleServices/json +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml +=== RUN TestFormatValidate/#00 +=== PAUSE TestFormatValidate/#00 +=== CONT TestGenerateRPCOrderPreserved/yaml === NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/json generator_test.go:1265: { "swagger": "2.0", @@ -2080,74 +2198,113 @@ } } -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json -=== RUN TestFormatEncode/json -=== RUN TestGenerateRPCOrderPreservedMultipleServices/json -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json 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 -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== 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: {} + definitions: + v1Foo: + type: object + properties: + bar: + type: string + description: This is bar + x-go-default: 0.5s + +--- PASS: TestGenerateExtension (0.00s) + --- PASS: TestGenerateExtension/json (0.02s) + --- PASS: TestGenerateExtension/yaml (0.04s) === CONT TestGenerateRPCOrderPreservedMultipleServices/json -=== PAUSE TestGenerateExtension/yaml -=== PAUSE TestGenerateRPCOrderPreserved/json -=== CONT TestGenerateExtension/json -=== RUN TestGenerateRPCOrderPreservedMergeFiles/yaml -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml -=== CONT TestGenerateExtension/yaml -=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/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 -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 -=== RUN TestGenerateRPCOrderNotPreserved/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderPreserved/yaml -2026/04/01 16:30:52 ERROR: no message found: Status -=== PAUSE TestGenerateRPCOrderPreserved/yaml -=== CONT TestGenerateRPCOrderPreserved/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 -2026/04/01 16:30:52 ERROR: no message found: Status -=== CONT TestGenerateRPCOrderPreserved/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 -=== CONT TestGenerateRPCOrderPreservedMergeFiles/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 -=== CONT TestRawExample/{"hello":"worldr"} -=== CONT TestRawExample/1 -=== PAUSE TestFormatEncode/json -=== CONT TestRawExample/"1" -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 TestFormatValidate/#00 exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestFormatValidate/#00 -=== CONT TestFormatValidate/json +=== CONT TestGenerateRPCOrderNotPreserved/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateYAML (0.00s) + --- PASS: TestGenerateYAML/path_item_object (0.05s) +=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml + 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 + +--- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.04s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.04s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== 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 exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -2156,40 +2313,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 -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/04/01 16:30:52 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/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 +2025/02/27 10:14:13 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/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/04/01 16:30:52 ERROR: no message found: Status -2026/04/01 16:30:52 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 -=== PAUSE TestGenerateRPCOrderNotPreserved/yaml -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreserved/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreserved/yaml -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 @@ -2200,12 +2333,12 @@ 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/01 16:30:52 ERROR: no message found: Status +2025/02/27 10:14:13 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 TestGenerateExtension/yaml - generator_test.go:116: swagger: "2.0" +=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml + generator_test.go:906: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -2215,61 +2348,139 @@ - application/json produces: - application/json - paths: {} + 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: - v1Foo: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: type: object properties: bar: type: string - description: This is bar - x-go-default: 0.5s +=== CONT TestFormatValidate/#00 +=== CONT TestFormatValidate/unknown +=== CONT TestFormatValidate/json +=== CONT TestFormatValidate/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestFormatValidate (0.04s) + --- PASS: TestFormatValidate/#00 (0.00s) + --- PASS: TestFormatValidate/unknown (0.00s) + --- PASS: TestFormatValidate/yaml (0.00s) + --- PASS: TestFormatValidate/json (0.00s) exampleproto/v1/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/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/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/02/27 10:14:13 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 TestFindExpectedPaths/No_potential_Paths_present -=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json - generator_test.go:1062: { +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 TestGenerateRPCOrderPreservedMergeFiles/json + generator_test.go:906: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2287,9 +2498,9 @@ "application/json" ], "paths": { - "/a/apath": { + "/c/cpath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -2335,9 +2546,9 @@ ] } }, - "/c/cpath": { + "/a/apath": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -2359,9 +2570,9 @@ ] } }, - "/d/dpath": { + "/f/fpath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -2407,9 +2618,9 @@ ] } }, - "/f/fpath": { + "/d/dpath": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -2452,83 +2663,70 @@ } } -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedMergeFiles/yaml -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/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/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/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/04/01 16:30:52 ERROR: no message found: Status -2026/04/01 16:30:52 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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.06s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.07s) 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 TestGenerateRPCOrderPreservedMultipleServices/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 +2025/02/27 10:14:13 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 -=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -2026/04/01 16:30:52 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 - generator_test.go:1265: swagger: "2.0" +=== 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. @@ -2536,43 +2734,64 @@ $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 + - TestServiceTwo 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 -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === NAME TestGenerateRPCOrderNotPreservedMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo generator_test.go:749: { "swagger": "2.0", "info": { @@ -2752,283 +2971,260 @@ } 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 -=== CONT TestFormatValidate/#00 -=== CONT TestFormatValidate/unknown exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatValidate/yaml -=== RUN TestFormatEncode/yaml ---- PASS: TestRawExample (0.00s) - --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) - --- PASS: TestRawExample/1 (0.00s) - --- PASS: TestRawExample/"1" (0.00s) 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) ---- PASS: TestFormatValidate (0.01s) - --- PASS: TestFormatValidate/json (0.00s) - --- PASS: TestFormatValidate/unknown (0.00s) - --- PASS: TestFormatValidate/#00 (0.00s) - --- PASS: TestFormatValidate/yaml (0.00s) ---- PASS: TestOpenapiSchemaObjectProperties (0.00s) - --- PASS: TestOpenapiSchemaObjectProperties/json (0.00s) - --- PASS: TestOpenapiSchemaObjectProperties/yaml (0.00s) ---- 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) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestFormatEncode/yaml -=== CONT TestFormatEncode/json -=== CONT TestFormatEncode/yaml 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": { - "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/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateExtension (0.00s) - --- PASS: TestGenerateExtension/yaml (0.00s) - --- PASS: TestGenerateExtension/json (0.00s) ---- PASS: TestFormatEncode (0.00s) - --- PASS: TestFormatEncode/json (0.00s) - --- PASS: TestFormatEncode/yaml (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 -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/01 16:30:52 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/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/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/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/02/27 10:14:13 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/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: + /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 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + 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 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /b/first: + get: + operationId: TestServiceTwo_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo + /c/cpath: + 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 + /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: + get: + operationId: TestServiceTwo_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + 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: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: + type: object + properties: + bar: + type: string + +--- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.02s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.06s) +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/01 16:30:52 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 +2025/02/27 10:14:13 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 TestGenerateRPCOrderPreservedMultipleServices/json -2026/04/01 16:30:52 ERROR: no message found: Status - generator_test.go:620: { +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/json + generator_test.go:1168: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3036,10 +3232,7 @@ }, "tags": [ { - "name": "TestServiceOne" - }, - { - "name": "TestServiceTwo" + "name": "TestService" } ], "consumes": [ @@ -3049,9 +3242,9 @@ "application/json" ], "paths": { - "/d/first": { + "/b/first": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -3069,13 +3262,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/e/second": { + "/a/additional": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", @@ -3093,13 +3286,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/c/third": { + "/a/second": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", @@ -3117,13 +3310,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/b/first": { + "/z/zAdditional": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", @@ -3141,13 +3334,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/a/second": { + "/c/third": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -3165,13 +3358,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/g/third": { + "/b/bAdditional": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", @@ -3189,7 +3382,7 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } } @@ -3212,22 +3405,140 @@ 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/01 16:30:52 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 +2025/02/27 10:14:13 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 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 + +--- PASS: TestGenerateRPCOrderPreservedAdditionalBindings (0.04s) + --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/json (0.06s) + --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/yaml (0.06s) +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 +2025/02/27 10:14:13 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 -2026/04/01 16:30:52 ERROR: no message found: Status === NAME TestGenerateRPCOrderPreserved/json generator_test.go:394: { "swagger": "2.0", @@ -3337,14 +3648,20 @@ 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 -=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:1774: { +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/02/27 10:14:13 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/v1/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", @@ -3352,12 +3669,6 @@ }, "tags": [ { - "name": "TestServiceOne" - }, - { - "name": "TestServiceTwo" - }, - { "name": "TestService" } ], @@ -3368,57 +3679,9 @@ "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.", @@ -3436,42 +3699,18 @@ } ], "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" } } }, @@ -3488,9 +3727,9 @@ ] } }, - "/b/first": { + "/c/cpath": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -3508,11 +3747,11 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/c/cpath": { + "/d/dpath": { "get": { "operationId": "TestService_Test3", "responses": { @@ -3536,86 +3775,14 @@ ] } }, - "/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" } } }, @@ -3628,13 +3795,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/z/zAdditional": { + "/f/fpath": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -3679,421 +3846,16 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreserved/json 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 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 TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -2026/04/01 16:30:52 ERROR: no message found: Status - 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 - -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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.01s) -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/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/v2/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 - -=== NAME TestGenerateRPCOrderPreserved/yaml -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo - 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/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: TestGenerateRPCOrderNotPreserved (0.00s) - --- PASS: TestGenerateRPCOrderNotPreserved/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreserved/yaml (0.00s) -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderPreserved (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/json (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/yaml (0.01s) -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/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 -2026/04/01 16:30:52 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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2026/04/01 16:30:52 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 -2026/04/01 16:30:52 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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2025/02/27 10:14:13 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 @@ -4207,245 +3969,37 @@ bar: type: string +--- PASS: TestGenerateRPCOrderNotPreservedMultipleServices (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.06s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.11s) +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/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: TestGenerateRPCOrderNotPreservedMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.01s) 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/01 16:30:52 ERROR: no message found: Status -=== 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/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/02/27 10:14:13 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: TestGenerateRPCOrderPreservedAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/json (0.00s) - --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/yaml (0.01s) -=== NAME TestGenerateRPCOrderPreservedMultipleServices/yaml - 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: - 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: TestServiceTwo_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/v1Foo' - parameters: - - name: bar - in: query - required: false - type: string - tags: - - TestServiceTwo - /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 - /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 - === NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json generator_test.go:1574: { "swagger": "2.0", @@ -4780,11 +4334,35 @@ } } ---- PASS: TestGenerateRPCOrderPreservedMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMultipleServices/yaml (0.00s) -=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml - generator_test.go:906: swagger: "2.0" +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/02/27 10:14:13 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/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/02/27 10:14:13 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 TestGenerateRPCOrderPreserved/yaml + generator_test.go:394: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -4795,59 +4373,14 @@ 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: + /b/first: get: operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -4855,14 +4388,14 @@ type: string tags: - TestService - /e/epath: + /a/second: get: operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -4870,14 +4403,14 @@ type: string tags: - TestService - /d/dpath: + /c/third: get: operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -4886,20 +4419,15 @@ tags: - TestService definitions: - examplev1Foo: - type: object - properties: - bar: - type: string - examplev2Foo: + v1Foo: type: object properties: bar: type: string ---- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.01s) +--- PASS: TestGenerateRPCOrderPreserved (0.00s) + --- PASS: TestGenerateRPCOrderPreserved/json (0.06s) + --- PASS: TestGenerateRPCOrderPreserved/yaml (0.10s) === NAME TestGenerateRPCOrderNotPreservedMergeFiles/yaml generator_test.go:1062: swagger: "2.0" info: @@ -5014,31 +4542,242 @@ 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: TestGenerateRPCOrderNotPreservedMergeFiles (0.04s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/json (0.07s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/yaml (0.10s) +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/02/27 10:14:13 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 +2025/02/27 10:14:13 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 TestGenerateRPCOrderPreservedMultipleServices/json + 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": { + "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": "TestServiceTwo_Test1", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceTwo" + ] + } + }, + "/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" + ] + } + }, + "/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" + } + } + } + } + } + +--- PASS: TestGenerateRPCOrderPreservedMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMultipleServices/yaml (0.03s) + --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.11s) +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/02/27 10:14:13 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 TestGenerateRPCOrderNotPreserved/yaml + generator_test.go:491: 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: + /a/second: get: - operationId: TestService_Test12 + operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5046,14 +4785,14 @@ type: string tags: - TestService - /a/apath: + /b/first: get: - operationId: TestService_Test2 + operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5061,29 +4800,62 @@ type: string tags: - TestService - /a/second: + /c/third: get: - operationId: TestServiceTwo_Test2 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo - /b/bAdditional: + - 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/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/02/27 10:14:13 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 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_Test32 + operationId: TestService_Test12 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5091,14 +4863,14 @@ type: string tags: - TestService - /b/bpath: + /a/second: get: - operationId: TestService_Test1 + operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5106,29 +4878,29 @@ type: string tags: - TestService - /b/first: + /b/bAdditional: get: - operationId: TestServiceTwo_Test1 + operationId: TestService_Test32 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo - /c/cpath: + - TestService + /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 @@ -5138,64 +4910,19 @@ - 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: - get: - operationId: TestServiceTwo_Test3 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo + - TestService /z/zAdditional: get: operationId: TestService_Test22 @@ -5203,7 +4930,7 @@ "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5212,20 +4939,329 @@ tags: - TestService definitions: - examplev1Foo: - type: object - properties: - bar: - type: string - examplev2Foo: + v1Foo: type: object properties: bar: type: string ---- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.01s) +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/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 +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2025/02/27 10:14:13 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 TestGenerateRPCOrderNotPreservedAdditionalBindings/json + 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" + } + } + } + } + } + +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/02/27 10:14:13 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 TestGenerateRPCOrderNotPreserved/json + 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" + } + } + } + } + } + +--- PASS: TestGenerateRPCOrderNotPreserved (0.00s) + --- PASS: TestGenerateRPCOrderNotPreserved/yaml (0.11s) + --- PASS: TestGenerateRPCOrderNotPreserved/json (0.13s) +--- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.16s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.17s) === NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml generator_test.go:1574: swagger: "2.0" info: @@ -5433,8 +5469,8 @@ type: string --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.01s) - --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.15s) + --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.15s) === RUN FuzzRemoveInternalComments === RUN FuzzRemoveInternalComments/seed#0 === RUN FuzzRemoveInternalComments/seed#1 @@ -5448,7 +5484,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.096s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi 0.820s ? github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options [no test files] === RUN TestFieldMaskFromRequestBody === RUN TestFieldMaskFromRequestBody/empty @@ -5465,18 +5501,18 @@ === RUN TestFieldMaskFromRequestBody/complex === RUN TestFieldMaskFromRequestBody/protobuf-any === RUN TestFieldMaskFromRequestBody/repeated-protobuf-any ---- PASS: TestFieldMaskFromRequestBody (0.01s) +--- PASS: TestFieldMaskFromRequestBody (0.02s) --- PASS: TestFieldMaskFromRequestBody/empty (0.00s) --- PASS: TestFieldMaskFromRequestBody/EmptyMessage (0.00s) --- PASS: TestFieldMaskFromRequestBody/simple (0.00s) - --- PASS: TestFieldMaskFromRequestBody/NonStandardMessage (0.00s) + --- PASS: TestFieldMaskFromRequestBody/NonStandardMessage (0.01s) --- PASS: TestFieldMaskFromRequestBody/NonStandardMessageWithJSONNames (0.00s) --- PASS: TestFieldMaskFromRequestBody/nested (0.00s) --- PASS: TestFieldMaskFromRequestBody/struct (0.00s) --- PASS: TestFieldMaskFromRequestBody/NonStandardMessageWithJSONNamesForStruct (0.00s) --- PASS: TestFieldMaskFromRequestBody/value (0.00s) --- PASS: TestFieldMaskFromRequestBody/map (0.00s) - --- PASS: TestFieldMaskFromRequestBody/deeply-nested (0.00s) + --- PASS: TestFieldMaskFromRequestBody/deeply-nested (0.01s) --- PASS: TestFieldMaskFromRequestBody/complex (0.00s) --- PASS: TestFieldMaskFromRequestBody/protobuf-any (0.00s) --- PASS: TestFieldMaskFromRequestBody/repeated-protobuf-any (0.00s) @@ -5495,19 +5531,19 @@ === RUN TestNewPattern --- PASS: TestNewPattern (0.00s) === RUN TestNewPatternWithWrongOp -2026/04/01 16:30:52 ERROR: invalid opcode: -1 -2026/04/01 16:30:52 ERROR: invalid opcode: 6 -2026/04/01 16:30:52 ERROR: odd number of ops codes: 1 -2026/04/01 16:30:52 ERROR: negative literal index: -1 -2026/04/01 16:30:52 ERROR: negative literal index: 1 -2026/04/01 16:30:52 ERROR: negative concat size: -1 -2026/04/01 16:30:52 ERROR: variable name index out of bound: -1 -2026/04/01 16:30:52 ERROR: variable name index out of bound: 1 -2026/04/01 16:30:52 ERROR: pushM appears twice +2025/02/27 10:14:12 ERROR: invalid opcode: -1 +2025/02/27 10:14:12 ERROR: invalid opcode: 6 +2025/02/27 10:14:12 ERROR: odd number of ops codes: 1 +2025/02/27 10:14:12 ERROR: negative literal index: -1 +2025/02/27 10:14:12 ERROR: negative literal index: 1 +2025/02/27 10:14:12 ERROR: negative concat size: -1 +2025/02/27 10:14:12 ERROR: variable name index out of bound: -1 +2025/02/27 10:14:12 ERROR: variable name index out of bound: 1 +2025/02/27 10:14:12 ERROR: pushM appears twice --- PASS: TestNewPatternWithWrongOp (0.00s) === RUN TestNewPatternWithStackUnderflow -2026/04/01 16:30:52 ERROR: stack underflow -2026/04/01 16:30:52 ERROR: stack underflow +2025/02/27 10:14:12 ERROR: stack underflow +2025/02/27 10:14:12 ERROR: stack underflow --- PASS: TestNewPatternWithStackUnderflow (0.00s) === RUN TestMatch --- PASS: TestMatch (0.00s) @@ -5549,7 +5585,7 @@ === RUN TestConvertTimestamp/invalid_timestamp === RUN TestConvertTimestamp/JSON_number === RUN TestConvertTimestamp/JSON_bool ---- PASS: TestConvertTimestamp (0.00s) +--- PASS: TestConvertTimestamp (0.01s) --- PASS: TestConvertTimestamp/a_valid_RFC3339_timestamp (0.00s) --- PASS: TestConvertTimestamp/a_valid_RFC3339_timestamp_without_double_quotation (0.00s) --- PASS: TestConvertTimestamp/invalid_timestamp (0.00s) @@ -5569,15 +5605,15 @@ --- PASS: TestConvertDuration/JSON_bool (0.00s) === RUN TestDefaultHTTPError === RUN TestDefaultHTTPError/0 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/1 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/2 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/3 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/4 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context --- PASS: TestDefaultHTTPError (0.00s) --- PASS: TestDefaultHTTPError/0 (0.00s) --- PASS: TestDefaultHTTPError/1 (0.00s) @@ -5653,8 +5689,8 @@ === RUN TestJSONPbMarshal/2 === RUN TestJSONPbMarshal/3 === RUN TestJSONPbMarshal/4 ---- PASS: TestJSONPbMarshal (0.00s) - --- PASS: TestJSONPbMarshal/0 (0.00s) +--- PASS: TestJSONPbMarshal (0.02s) + --- PASS: TestJSONPbMarshal/0 (0.01s) --- PASS: TestJSONPbMarshal/1 (0.00s) --- PASS: TestJSONPbMarshal/2 (0.00s) --- PASS: TestJSONPbMarshal/3 (0.00s) @@ -5664,13 +5700,13 @@ === RUN TestJSONPbUnmarshal --- PASS: TestJSONPbUnmarshal (0.00s) === RUN TestJSONPbUnmarshalFields ---- PASS: TestJSONPbUnmarshalFields (0.00s) +--- PASS: TestJSONPbUnmarshalFields (0.01s) === RUN TestJSONPbEncoder ---- PASS: TestJSONPbEncoder (0.00s) +--- PASS: TestJSONPbEncoder (0.03s) === RUN TestJSONPbEncoderFields --- PASS: TestJSONPbEncoderFields (0.00s) === RUN TestJSONPbDecoder ---- PASS: TestJSONPbDecoder (0.00s) +--- PASS: TestJSONPbDecoder (0.01s) === RUN TestJSONPbDecoderFields --- PASS: TestJSONPbDecoderFields (0.00s) === RUN TestJSONPbDecoderUnknownField @@ -5713,45 +5749,45 @@ --- PASS: TestMarshalerForRequest (0.00s) === RUN TestMuxServeHTTP === RUN TestMuxServeHTTP/0 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/1 === RUN TestMuxServeHTTP/2 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/3 === RUN TestMuxServeHTTP/4 === RUN TestMuxServeHTTP/5 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/6 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/7 === RUN TestMuxServeHTTP/8 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/9 === RUN TestMuxServeHTTP/10 === RUN TestMuxServeHTTP/11 === RUN TestMuxServeHTTP/12 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/13 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 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 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/20 === RUN TestMuxServeHTTP/21 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/22 === RUN TestMuxServeHTTP/23 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/24 -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/25 === RUN TestMuxServeHTTP/26 === RUN TestMuxServeHTTP/27 ---- PASS: TestMuxServeHTTP (0.00s) +--- PASS: TestMuxServeHTTP (0.01s) --- PASS: TestMuxServeHTTP/0 (0.00s) --- PASS: TestMuxServeHTTP/1 (0.00s) --- PASS: TestMuxServeHTTP/2 (0.00s) @@ -5781,7 +5817,7 @@ --- PASS: TestMuxServeHTTP/26 (0.00s) --- PASS: TestMuxServeHTTP/27 (0.00s) === RUN TestServeHTTP_WithMethodOverrideAndFormParsing -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context --- PASS: TestServeHTTP_WithMethodOverrideAndFormParsing (0.00s) === RUN TestDefaultHeaderMatcher === RUN TestDefaultHeaderMatcher/permanent_HTTP_header_should_return_prefixed @@ -5805,14 +5841,14 @@ --- PASS: TestServeMux_HandlePath/Invalid_Endpoint (0.00s) === RUN TestWithHealthzEndpoint_codes === RUN TestWithHealthzEndpoint_codes/Test_grpc_error_code -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_NOT_SERVING -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_UNKNOWN -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 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) @@ -5821,37 +5857,37 @@ --- PASS: TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthEndpointAt_consistentWithHealthz === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_NOT_SERVING -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context ---- PASS: TestWithHealthEndpointAt_consistentWithHealthz (0.00s) +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context +--- PASS: TestWithHealthEndpointAt_consistentWithHealthz (0.01s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_NOT_SERVING (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthzEndpoint_serviceParam -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_serviceParam (0.00s) === RUN TestWithHealthzEndpoint_header === RUN TestWithHealthzEndpoint_header/Test_grpc_error_code -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_NOT_SERVING -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_UNKNOWN -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVICE_UNKNOWN -2026/04/01 16:30:52 ERROR: Failed to extract ServerMetadata from context +2025/02/27 10:14:12 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) @@ -5877,7 +5913,7 @@ === RUN TestPopulateParameters/15 === RUN TestPopulateParameters/16 === RUN TestPopulateParameters/17 ---- PASS: TestPopulateParameters (0.01s) +--- PASS: TestPopulateParameters (0.02s) --- PASS: TestPopulateParameters/0 (0.00s) --- PASS: TestPopulateParameters/1 (0.00s) --- PASS: TestPopulateParameters/2 (0.00s) @@ -5887,7 +5923,7 @@ --- PASS: TestPopulateParameters/6 (0.00s) --- PASS: TestPopulateParameters/7 (0.00s) --- PASS: TestPopulateParameters/8 (0.00s) - --- PASS: TestPopulateParameters/9 (0.00s) + --- PASS: TestPopulateParameters/9 (0.01s) --- PASS: TestPopulateParameters/10 (0.00s) --- PASS: TestPopulateParameters/11 (0.00s) --- PASS: TestPopulateParameters/12 (0.00s) @@ -5901,16 +5937,12 @@ === RUN TestPopulateQueryParametersWithInvalidNestedParameters --- PASS: TestPopulateQueryParametersWithInvalidNestedParameters (0.00s) === CONT TestOutgoingHeaderMatcher -=== CONT TestOutgoingTrailerMatcher === RUN TestOutgoingHeaderMatcher/default_matcher === PAUSE TestOutgoingHeaderMatcher/default_matcher === RUN TestOutgoingHeaderMatcher/custom_matcher === PAUSE TestOutgoingHeaderMatcher/custom_matcher === CONT TestOutgoingHeaderMatcher/default_matcher -=== CONT TestOutgoingHeaderMatcher/custom_matcher ---- PASS: TestOutgoingHeaderMatcher (0.00s) - --- PASS: TestOutgoingHeaderMatcher/default_matcher (0.00s) - --- PASS: TestOutgoingHeaderMatcher/custom_matcher (0.00s) +=== CONT TestOutgoingTrailerMatcher === RUN TestOutgoingTrailerMatcher/default_matcher,_caller_accepts === PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_accepts === RUN TestOutgoingTrailerMatcher/default_matcher,_caller_rejects @@ -5918,12 +5950,16 @@ === RUN TestOutgoingTrailerMatcher/custom_matcher === PAUSE TestOutgoingTrailerMatcher/custom_matcher === CONT TestOutgoingTrailerMatcher/default_matcher,_caller_accepts +=== CONT TestOutgoingHeaderMatcher/custom_matcher +--- PASS: TestOutgoingHeaderMatcher (0.00s) + --- PASS: TestOutgoingHeaderMatcher/default_matcher (0.00s) + --- PASS: TestOutgoingHeaderMatcher/custom_matcher (0.00s) === 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_rejects (0.00s) === RUN FuzzPopulateQueryParameters === RUN FuzzPopulateQueryParameters/seed#0 === RUN FuzzPopulateQueryParameters/seed#1 @@ -5945,7 +5981,7 @@ --- PASS: FuzzPopulateQueryParameters/seed#7 (0.00s) --- PASS: FuzzPopulateQueryParameters/seed#8 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.046s +ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.240s ? github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb [no test files] === RUN TestStringArrayFlag === RUN TestStringArrayFlag/No_Value @@ -5962,7 +5998,7 @@ === RUN TestAdd --- PASS: TestAdd (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.003s +ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.035s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -5989,13 +6025,13 @@ dh_installdeb -O--buildsystem=golang dh_golang -O--buildsystem=golang dh_gencontrol -O--buildsystem=golang -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: 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 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'. dpkg-deb: building package 'golang-grpc-gateway' in '../golang-grpc-gateway_2.20.0-2_amd64.deb'. +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'. dpkg-deb: building package 'golang-grpc-gateway-dbgsym' in '../golang-grpc-gateway-dbgsym_2.20.0-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_amd64.buildinfo dpkg-genchanges --build=binary -O../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_amd64.changes @@ -6004,12 +6040,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/2440007/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2440007/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/339460 and its subdirectories -I: Current time: Wed Apr 1 04:31:10 -12 2026 -I: pbuilder-time-stamp: 1775061070 +I: removing directory /srv/workspace/pbuilder/2440007 and its subdirectories +I: Current time: Fri Feb 28 00:15:47 +14 2025 +I: pbuilder-time-stamp: 1740651347