Diff of the two buildlogs: -- --- b1/build.log 2024-12-02 20:56:14.470971668 +0000 +++ b2/build.log 2024-12-02 20:57:33.247416663 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Dec 2 08:54:29 -12 2024 -I: pbuilder-time-stamp: 1733172869 +I: Current time: Mon Jan 5 17:19:16 +14 2026 +I: pbuilder-time-stamp: 1767583156 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,54 +29,86 @@ 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/41170/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/115313/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 Jan 5 03:19 /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/115313/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/115313/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='e16af8281a0e4cfea9917064bccd4fd6' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='41170' - PS1='# ' - PS2='> ' + INVOCATION_ID=12a5446428fc45f5a845deebf55a397a + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=115313 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.Hk62sN1S/pbuilderrc_M8Xu --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.Hk62sN1S/b1 --logfile b1/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.Hk62sN1S/pbuilderrc_1Ayb --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.Hk62sN1S/b2 --logfile b2/build.log golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/41170/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/115313/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -207,7 +239,7 @@ Get: 73 http://deb.debian.org/debian trixie/main i386 golang-google-genproto-dev all 0.0~git20210726.e7812ac-4 [5301 kB] Get: 74 http://deb.debian.org/debian trixie/main i386 golang-github-google-cel-go-dev all 0.18.2+ds-5 [400 kB] Get: 75 http://deb.debian.org/debian trixie/main i386 golang-github-rogpeppe-fastuuid-dev all 0.0~git20150106.0.6724a57-2.1 [4292 B] -Fetched 87.8 MB in 1s (67.9 MB/s) +Fetched 87.8 MB in 3s (28.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19950 files and directories currently installed.) @@ -522,7 +554,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/115313/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/115313/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 @@ -540,129 +576,129 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-i686-linux-gnu && go install -trimpath -v -p 11 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-i686-linux-gnu && go install -trimpath -v -p 21 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/msan internal/goarch +internal/unsafeheader internal/byteorder -internal/coverage/rtcov +internal/itoa internal/godebugs +internal/asan +internal/coverage/rtcov +unicode/utf8 +math/bits +internal/goversion +internal/race +cmp +internal/runtime/syscall internal/goos internal/profilerecord internal/goexperiment -internal/unsafeheader -internal/runtime/syscall internal/cpu +sync/atomic internal/runtime/atomic -internal/race +google.golang.org/protobuf/internal/flags +unicode +unicode/utf16 +encoding runtime/internal/math internal/abi runtime/internal/sys -sync/atomic -unicode/utf8 -cmp -internal/chacha8rand -math/bits -internal/asan -internal/itoa -internal/msan -unicode internal/gover -internal/goversion -google.golang.org/protobuf/internal/flags -unicode/utf16 -encoding +log/internal internal/nettrace google.golang.org/grpc/serviceconfig -internal/bytealg -log/internal -container/list crypto/internal/alias +container/list crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/runtime/exithook +internal/chacha8rand vendor/golang.org/x/crypto/internal/alias google.golang.org/protobuf/internal/set math +internal/runtime/exithook +internal/bytealg internal/stringslite runtime +iter internal/weak -internal/reflectlite crypto/subtle -iter +internal/reflectlite sync maps slices +google.golang.org/protobuf/internal/pragma +internal/singleflight internal/testlog internal/bisect -internal/singleflight -google.golang.org/protobuf/internal/pragma runtime/cgo +internal/godebug errors sort internal/oserror -io -internal/godebug -vendor/golang.org/x/net/dns/dnsmessage path -crypto/internal/edwards25519/field +io math/rand/v2 +vendor/golang.org/x/net/dns/dnsmessage +math/rand strconv -crypto/internal/nistec/fiat +google.golang.org/grpc/internal/buffer +crypto/internal/edwards25519/field syscall -strings -container/heap +crypto/internal/nistec/fiat +internal/concurrent +crypto/internal/randutil hash bytes -math/rand +strings +container/heap golang.org/x/text/internal/tag +crypto/internal/edwards25519 hash/fnv hash/crc32 -internal/concurrent -unique -crypto/internal/randutil -crypto/internal/edwards25519 -google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/grpcrand +unique +crypto +crypto/rc4 +net/netip +internal/types/errors +reflect golang.org/x/text/transform -crypto/cipher vendor/golang.org/x/text/transform -reflect -internal/types/errors -bufio -go/build/constraint +crypto/cipher +crypto/md5 go/version +go/build/constraint +bufio +net/http/internal/ascii regexp/syntax -net/netip html -crypto crypto/des -crypto/rc4 crypto/internal/boring -crypto/md5 -net/http/internal/ascii -crypto/aes -crypto/sha512 crypto/hmac +crypto/sha512 +crypto/aes +crypto/sha256 crypto/sha1 vendor/golang.org/x/crypto/hkdf -crypto/sha256 -internal/syscall/unix internal/syscall/execenv +internal/syscall/unix time regexp crypto/internal/nistec -context -io/fs google.golang.org/grpc/backoff google.golang.org/grpc/keepalive +context +io/fs internal/poll google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/grpcsync +crypto/ecdh internal/filepathlite embed -crypto/ecdh -google.golang.org/protobuf/internal/editiondefaults internal/fmtsort encoding/binary +google.golang.org/protobuf/internal/editiondefaults os encoding/base64 vendor/golang.org/x/crypto/chacha20 @@ -671,95 +707,95 @@ vendor/golang.org/x/crypto/chacha20poly1305 encoding/pem google.golang.org/protobuf/internal/detrand -fmt io/ioutil -path/filepath -vendor/golang.org/x/sys/cpu google.golang.org/grpc/internal/envconfig +vendor/golang.org/x/sys/cpu +path/filepath +fmt net vendor/golang.org/x/crypto/sha3 github.com/grpc-ecosystem/grpc-gateway/internal/casing go/token -go/doc/comment -google.golang.org/protobuf/internal/version -compress/flate text/tabwriter +google.golang.org/grpc/internal/grpclog internal/buildcfg +log +google.golang.org/protobuf/internal/version +encoding/hex +flag google.golang.org/protobuf/internal/errors +text/template/parse +net/url +go/doc/comment +compress/flate encoding/json +golang.org/x/text/internal/language math/big -flag +gopkg.in/yaml.v3 +golang.org/x/text/unicode/norm +vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/net/http2/hpack +mime google.golang.org/protobuf/encoding/protowire -golang.org/x/text/internal/language +mime/quotedprintable +net/http/internal go/scanner google.golang.org/protobuf/reflect/protoreflect -golang.org/x/text/unicode/norm +google.golang.org/grpc/attributes +google.golang.org/grpc/internal/idle +golang.org/x/net/http2/hpack +golang.org/x/net/internal/timeseries +vendor/golang.org/x/text/unicode/bidi +golang.org/x/text/unicode/bidi go/ast -compress/gzip -google.golang.org/grpc/internal/grpclog -log github.com/grpc-ecosystem/grpc-gateway/utilities -gopkg.in/yaml.v3 +compress/gzip github.com/grpc-ecosystem/grpc-gateway/internal/httprule +text/template +golang.org/x/text/internal/language/compact google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/strs -google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order -google.golang.org/protobuf/reflect/protoregistry -google.golang.org/protobuf/internal/encoding/text +google.golang.org/protobuf/internal/genid google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts +golang.org/x/text/secure/bidirule +google.golang.org/protobuf/reflect/protoregistry +vendor/golang.org/x/text/secure/bidirule +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/language google.golang.org/grpc/grpclog +vendor/golang.org/x/net/idna +golang.org/x/net/idna google.golang.org/protobuf/proto -net/url -text/template/parse google.golang.org/protobuf/internal/encoding/defval -golang.org/x/text/language -golang.org/x/net/internal/timeseries google.golang.org/grpc/connectivity -encoding/hex -vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/text/unicode/norm -mime go/internal/typeparams go/printer -go/parser go/constant -golang.org/x/text/internal -golang.org/x/text/cases crypto/rand -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/filedesc -text/template +go/parser crypto/elliptic -crypto/internal/bigmod crypto/internal/boring/bbig +crypto/internal/bigmod +crypto/dsa encoding/asn1 +golang.org/x/text/internal +golang.org/x/text/cases crypto/ed25519 crypto/internal/hpke crypto/internal/mlkem768 +html/template +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc crypto/rsa -crypto/dsa -vendor/golang.org/x/text/secure/bidirule -mime/quotedprintable +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix go/format go/types -vendor/golang.org/x/net/idna -net/http/internal -google.golang.org/grpc/attributes -google.golang.org/grpc/internal/idle -golang.org/x/text/unicode/bidi -golang.org/x/net/http2/hpack -crypto/x509/pkix -vendor/golang.org/x/crypto/cryptobyte -html/template -golang.org/x/text/secure/bidirule crypto/ecdsa -golang.org/x/net/idna google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/internal/impl @@ -769,37 +805,37 @@ google.golang.org/grpc/internal/syscall google.golang.org/grpc/internal/resolver/dns/internal crypto/x509 -google.golang.org/grpc/codes google.golang.org/grpc/metadata +google.golang.org/grpc/codes vendor/golang.org/x/net/http/httpguts mime/multipart golang.org/x/net/http/httpguts google.golang.org/grpc/internal/balancerload -google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/tap google.golang.org/grpc/stats +google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/encoding crypto/tls google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/protoadapt -google.golang.org/protobuf/types/dynamicpb google.golang.org/protobuf/types/known/structpb google.golang.org/protobuf/types/known/anypb +google.golang.org/protobuf/protoadapt +google.golang.org/protobuf/types/known/fieldmaskpb google.golang.org/protobuf/types/known/durationpb +google.golang.org/protobuf/types/dynamicpb +google.golang.org/protobuf/types/known/emptypb +google.golang.org/protobuf/types/descriptorpb google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/wrapperspb -google.golang.org/protobuf/types/known/fieldmaskpb -google.golang.org/protobuf/types/descriptorpb -google.golang.org/protobuf/types/known/emptypb google.golang.org/grpc/encoding/proto -google.golang.org/genproto/googleapis/rpc/status -google.golang.org/genproto/googleapis/api/httpbody +google.golang.org/grpc/internal/pretty github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp -google.golang.org/grpc/internal/pretty -google.golang.org/grpc/internal/status +google.golang.org/genproto/googleapis/rpc/status +google.golang.org/genproto/googleapis/api/httpbody google.golang.org/grpc/binarylog/grpc_binarylog_v1 +google.golang.org/grpc/internal/status google.golang.org/grpc/status google.golang.org/grpc/internal/binarylog google.golang.org/protobuf/types/gofeaturespb @@ -810,32 +846,32 @@ 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 net/http/httptrace google.golang.org/grpc/internal/credentials +github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator google.golang.org/grpc/credentials -google.golang.org/protobuf/compiler/protogen net/http -google.golang.org/grpc/resolver -google.golang.org/grpc/internal/channelz +github.com/grpc-ecosystem/grpc-gateway/internal/descriptor google.golang.org/grpc/credentials/insecure +google.golang.org/grpc/internal/channelz +google.golang.org/grpc/resolver google.golang.org/grpc/peer +google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal/resolver/passthrough -google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/balancer/grpclb/state -google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/internal/resolver/dns -github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator +google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/resolver/dns -github.com/grpc-ecosystem/grpc-gateway/internal/descriptor google.golang.org/grpc/channelz google.golang.org/grpc/balancer -google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/serviceconfig +google.golang.org/grpc/balancer/base +github.com/grpc-ecosystem/grpc-gateway/internal/generator 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 @@ -849,7 +885,7 @@ github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb github.com/grpc-ecosystem/grpc-gateway/runtime dh_auto_test -O--buildsystem=golang - cd obj-i686-linux-gnu && go test -vet=off -v -p 11 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-i686-linux-gnu && go test -vet=off -v -p 21 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 @@ -863,7 +899,7 @@ --- PASS: TestCamelIdentifier/snake_case_identifier_with_digit_and_package (0.00s) --- PASS: TestCamelIdentifier/snake_case_identifier_with_digit_and_multiple_dots (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/casing 0.011s +ok github.com/grpc-ecosystem/grpc-gateway/internal/casing 0.002s === RUN TestParseRequest === RUN TestParseRequest/Empty_input_should_produce_empty_output === RUN TestParseRequest/Invalid_reader_should_produce_error @@ -873,7 +909,7 @@ --- 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.008s +ok github.com/grpc-ecosystem/grpc-gateway/internal/codegenerator 0.005s ? 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] @@ -982,7 +1018,7 @@ === RUN TestGoType --- PASS: TestGoType (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.020s +ok github.com/grpc-ecosystem/grpc-gateway/internal/descriptor 0.010s === RUN TestCompile --- PASS: TestCompile (0.00s) === RUN TestTokenize @@ -998,7 +1034,7 @@ === RUN TestTemplateStringer --- PASS: TestTemplateStringer (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.005s +ok github.com/grpc-ecosystem/grpc-gateway/internal/httprule 0.003s === RUN TestGenerator_Generate --- PASS: TestGenerator_Generate (0.00s) === RUN TestApplyTemplateHeader @@ -1018,7 +1054,7 @@ === RUN TestDuplicatePathsInDifferentService --- PASS: TestDuplicatePathsInDifferentService (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.027s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/internal/gengateway 0.012s === RUN TestParseReqParam === RUN TestParseReqParam/Test_0 === RUN TestParseReqParam/Test_1 @@ -1048,7 +1084,7 @@ --- PASS: TestParseReqParam/Test_11 (0.00s) --- PASS: TestParseReqParam/Test_12 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.016s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2 0.005s ? github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/options [no test files] ? github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb [no test files] === RUN TestCycle @@ -1088,7 +1124,7 @@ === RUN TestMessageToQueryParametersNoRecursive --- PASS: TestMessageToQueryParametersNoRecursive (0.00s) === RUN TestMessageToQueryParametersRecursive ---- PASS: TestMessageToQueryParametersRecursive (0.09s) +--- PASS: TestMessageToQueryParametersRecursive (0.05s) === RUN TestMessageToQueryParametersWithJsonName --- PASS: TestMessageToQueryParametersWithJsonName (0.00s) === RUN TestMessageToQueryParametersWellKnownTypes @@ -1125,7 +1161,7 @@ --- PASS: TestValidateDefaultValueType (0.00s) === RUN TestApplyTemplateRequestWithoutClientStreaming fd name:"example.proto" package:"example" message_type:{name:"ExampleMessage" field:{name:"nested" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE type_name:"NestedMessage"}} message_type:{name:"NestedMessage" field:{name:"int32" number:1 label:LABEL_OPTIONAL type:TYPE_INT32} field:{name:"bool" number:2 label:LABEL_OPTIONAL type:TYPE_BOOL}} service:{name:"ExampleService" method:{name:"Echo" input_type:"ExampleMessage" output_type:"ExampleMessage" client_streaming:false server_streaming:false}} options:{go_package:"github.com/grpc-ecosystem/grpc-gateway/runtime/internal/examplepb;example"} source_code_info:{} -AllFQMNs [.google.rpc.Status .example.ExampleMessage .example.NestedMessage .google.protobuf.Any] +AllFQMNs [.google.protobuf.Any .google.rpc.Status .example.ExampleMessage .example.NestedMessage] --- PASS: TestApplyTemplateRequestWithoutClientStreaming (0.00s) === RUN TestApplyTemplateRequestWithClientStreaming --- PASS: TestApplyTemplateRequestWithClientStreaming (0.00s) @@ -1164,7 +1200,7 @@ === RUN TestFQMNtoOpenAPIName --- PASS: TestFQMNtoOpenAPIName (0.00s) === RUN TestSchemaOfField ---- PASS: TestSchemaOfField (0.02s) +--- PASS: TestSchemaOfField (0.01s) === RUN TestRenderMessagesAsDefinition === RUN TestRenderMessagesAsDefinition/no_OpenAPI_options === RUN TestRenderMessagesAsDefinition/example_option @@ -1240,28 +1276,28 @@ --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption (0.00s) --- PASS: TestMessageOptionsWithGoTemplate/registered_OpenAPIOption_with_go_template_args (0.00s) === RUN TestTagsWithGoTemplate -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestTagsWithGoTemplate (0.00s) === RUN TestTemplateWithoutErrorDefinition -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestTemplateWithoutErrorDefinition (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1Operations -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations -2024/12/02 20:55:51 ERROR: no message found: Status -2024/12/02 20:55:51 ERROR: no message found: Status -2024/12/02 20:55:51 ERROR: no message found: Status -2024/12/02 20:55:51 ERROR: no message found: Status -2024/12/02 20:55:51 ERROR: no message found: Status -2024/12/02 20:55:51 ERROR: no message found: Status -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateInAllSupportedHttp1Operations (0.00s) === RUN TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestSingleServiceTemplateWithDuplicateHttp1UnsupportedOperations (0.00s) === RUN TestTemplateWithDuplicateHttp1Operations -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestTemplateWithDuplicateHttp1Operations (0.00s) === RUN Test_getReservedJsonName === RUN Test_getReservedJsonName/test_case_1:_single_dot_use_case @@ -1274,59 +1310,59 @@ --- PASS: Test_getReservedJsonName/test_case_3:_double_dot_use_case (0.00s) --- PASS: Test_getReservedJsonName/test_case_4:_double_dot_use_case_with_a_not_existed_field (0.00s) === RUN TestParseIncompleteSecurityRequirement -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestParseIncompleteSecurityRequirement (0.00s) === RUN TestSubPathParams --- PASS: TestSubPathParams (0.00s) === RUN TestRenderServicesParameterDescriptionNoFieldBody -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServicesParameterDescriptionNoFieldBody (0.00s) === RUN TestRenderServicesWithBodyFieldNameInCamelCase -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldNameInCamelCase (0.00s) === RUN TestRenderServicesWithBodyFieldHasFieldMask -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServicesWithBodyFieldHasFieldMask (0.00s) === RUN TestRenderServicesWithColonInPath -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInPath (0.00s) === RUN TestRenderServicesWithDoubleColonInPath -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServicesWithDoubleColonInPath (0.00s) === RUN TestRenderServicesWithColonLastInPath -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonLastInPath (0.00s) === RUN TestRenderServicesWithColonInSegment -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServicesWithColonInSegment (0.00s) === RUN TestRenderServiceWithHeaderParameters -=== RUN TestRenderServiceWithHeaderParameters/type_string -2024/12/02 20:55:51 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_string_with_format -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_integer -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_number -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/type_boolean -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status === RUN TestRenderServiceWithHeaderParameters/header_required -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status +=== RUN TestRenderServiceWithHeaderParameters/type_string +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServiceWithHeaderParameters (0.00s) - --- PASS: TestRenderServiceWithHeaderParameters/type_string (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_string_with_format (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_integer (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_number (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/type_boolean (0.00s) --- PASS: TestRenderServiceWithHeaderParameters/header_required (0.00s) + --- PASS: TestRenderServiceWithHeaderParameters/type_string (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreserved -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreserved (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedMultipleServices -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedMultipleServices (0.00s) === RUN TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestRenderServicesOpenapiPathsOrderPreservedAdditionalBindings (0.00s) === RUN TestArrayMessageItemsType --- PASS: TestArrayMessageItemsType (0.00s) @@ -1379,7 +1415,7 @@ --- PASS: TestMergeTags/Merge_external_docs (0.00s) --- PASS: TestMergeTags/Merge_extensions (0.00s) === RUN TestApiVisibilityOption -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestApiVisibilityOption (0.00s) === RUN TestRawExample === PAUSE TestRawExample @@ -1396,7 +1432,7 @@ === RUN TestGenerateYAML === PAUSE TestGenerateYAML === RUN TestGeneratedYAMLIndent -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status --- PASS: TestGeneratedYAMLIndent (0.00s) === RUN TestGenerateRPCOrderPreserved === PAUSE TestGenerateRPCOrderPreserved @@ -1422,182 +1458,576 @@ === PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices === RUN TestFindExpectedPaths === PAUSE TestFindExpectedPaths -=== CONT TestRawExample -=== RUN TestRawExample/1 -=== PAUSE TestRawExample/1 -=== RUN TestRawExample/"1" === CONT TestFindExpectedPaths +=== CONT TestGenerateRPCOrderNotPreserved === RUN TestFindExpectedPaths/One_potential_path_present -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings -=== PAUSE TestRawExample/"1" -=== RUN TestRawExample/{"hello":"worldr"} +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices +=== RUN TestGenerateRPCOrderNotPreserved/json +=== PAUSE TestGenerateRPCOrderNotPreserved/json +=== RUN TestGenerateRPCOrderNotPreserved/yaml +=== CONT TestGenerateRPCOrderPreservedMultipleServices +=== PAUSE TestFindExpectedPaths/One_potential_path_present +=== CONT TestRawExample +=== CONT TestGenerateRPCOrderPreservedMergeFiles +=== RUN TestGenerateRPCOrderPreservedMultipleServices/json +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/json +=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreservedMultipleServices/json +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles +=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== RUN TestFindExpectedPaths/No_potential_Paths_present +=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json +=== PAUSE TestFindExpectedPaths/No_potential_Paths_present +=== RUN TestGenerateRPCOrderPreservedMergeFiles/json +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices +=== CONT TestGenerate_YAML +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 ERROR: no message found: Status +file.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreserved +exampleproto/v1/example.proto descriptor.File should not contain 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 TestGenerateRPCOrderNotPreservedMultipleServices/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml === CONT TestGenerateYAML +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerate_YAML (0.00s) === RUN TestGenerateYAML/path_item_object -=== CONT TestGenerateExtension -=== CONT TestGenerate_YAML -=== CONT TestFormatEncode -=== RUN TestFormatEncode/json -=== PAUSE TestFormatEncode/json -=== RUN TestFormatEncode/yaml -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status +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 === CONT TestFormatValidate -=== PAUSE TestFormatEncode/yaml -file.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateExtension/json -=== CONT TestGenerateRPCOrderPreservedMergeFiles === RUN TestFormatValidate/json -=== PAUSE TestGenerateExtension/json === PAUSE TestFormatValidate/json -=== RUN TestGenerateExtension/yaml -=== RUN TestFormatValidate/yaml -=== PAUSE TestGenerateExtension/yaml -=== CONT TestOpenapiSchemaObjectProperties -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings -=== CONT TestGenerateRPCOrderPreserved -=== PAUSE TestFindExpectedPaths/One_potential_path_present -=== PAUSE TestRawExample/{"hello":"worldr"} -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json ---- PASS: TestGenerate_YAML (0.00s) -=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json -=== CONT TestGenerateRPCOrderNotPreserved -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json === RUN TestGenerateRPCOrderPreserved/json +=== RUN TestFormatValidate/yaml +=== PAUSE TestFormatValidate/yaml === PAUSE TestGenerateRPCOrderPreserved/json +=== RUN TestFormatValidate/unknown +=== PAUSE TestFormatValidate/unknown === RUN TestGenerateRPCOrderPreserved/yaml +=== RUN TestFormatValidate/#00 +=== PAUSE TestFormatValidate/#00 +=== CONT TestOpenapiSchemaObjectProperties === PAUSE TestGenerateRPCOrderPreserved/yaml -=== PAUSE TestFormatValidate/yaml -=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices -=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings -=== RUN TestOpenapiSchemaObjectProperties/yaml -=== RUN TestGenerateRPCOrderPreservedMergeFiles/json -=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== PAUSE TestGenerateYAML/path_item_object -=== RUN TestFormatValidate/unknown -=== CONT TestGenerateRPCOrderPreservedMultipleServices +=== CONT TestFormatEncode +=== CONT TestFormatValidate/unknown +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings +=== PAUSE TestGenerateRPCOrderNotPreserved/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreserved/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestRawExample/1 +your/service/v1/your_service.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreserved/yaml +exampleproto/v1/example.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 +your/service/v1/your_service.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 === RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== RUN TestGenerateRPCOrderNotPreserved/json -=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml === PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestRawExample/1 +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === RUN TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== PAUSE TestGenerateRPCOrderNotPreserved/json -=== CONT TestFormatEncode/yaml -=== PAUSE TestOpenapiSchemaObjectProperties/yaml -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/json -=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -=== PAUSE TestFormatValidate/unknown -=== CONT TestGenerateExtension/json -=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/json -=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/json -=== RUN TestGenerateRPCOrderNotPreservedMultipleServices/yaml -=== RUN TestFindExpectedPaths/No_potential_Paths_present -=== RUN TestGenerateRPCOrderNotPreserved/yaml -=== PAUSE TestGenerateRPCOrderNotPreserved/yaml -=== CONT TestRawExample/1 -=== RUN TestOpenapiSchemaObjectProperties/json -=== CONT TestGenerateExtension/yaml -=== PAUSE 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 +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/json +=== RUN TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +=== RUN TestFindExpectedPaths/Multiple_potential_paths_present === RUN TestGenerateRPCOrderPreservedMergeFiles/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml -=== CONT TestFormatEncode/json -=== RUN TestFormatValidate/#00 -=== PAUSE TestFormatValidate/#00 -=== CONT TestRawExample/{"hello":"worldr"} -2024/12/02 20:55:51 ERROR: no message found: Status === RUN TestGenerateRPCOrderNotPreservedMergeFiles/json -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json +=== CONT TestGenerateExtension +=== PAUSE TestGenerateRPCOrderNotPreservedMultipleServices/yaml +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json +=== NAME TestGenerateRPCOrderPreservedMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestGenerateRPCOrderPreservedMultipleServices/json -=== CONT TestRawExample/"1" -=== PAUSE TestFindExpectedPaths/No_potential_Paths_present -=== PAUSE 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" + } + } + } + } + } + exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestFormatEncode (0.00s) - --- PASS: TestFormatEncode/yaml (0.00s) - --- PASS: TestFormatEncode/json (0.00s) +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== RUN TestFindExpectedPaths/Multiple_potential_paths_present -=== RUN TestGenerateRPCOrderPreservedMultipleServices/yaml -=== PAUSE TestOpenapiSchemaObjectProperties/json -=== PAUSE TestGenerateRPCOrderPreservedMultipleServices/yaml -=== CONT TestGenerateRPCOrderPreserved/json -=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml === PAUSE TestFindExpectedPaths/Multiple_potential_paths_present -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -=== CONT TestGenerateRPCOrderPreserved/yaml +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 +=== CONT TestFindExpectedPaths/One_potential_path_present +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateYAML (0.00s) + --- PASS: TestGenerateYAML/path_item_object (0.00s) +=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFindExpectedPaths/Multiple_potential_paths_present +=== PAUSE TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreservedMergeFiles/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatValidate/#00 +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreserved/json +2026/01/05 03:20:17 ERROR: no message found: Status +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestOpenapiSchemaObjectProperties/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json -=== RUN TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -=== CONT TestGenerateYAML/path_item_object -2024/12/02 20:55:51 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/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateExtension/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateExtension/json +=== RUN TestGenerateExtension/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateExtension/yaml +=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings +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 +=== PAUSE TestOpenapiSchemaObjectProperties/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings +=== RUN TestOpenapiSchemaObjectProperties/json +=== CONT TestGenerateRPCOrderPreserved/yaml +=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestFormatValidate/json +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestGenerateRPCOrderNotPreservedMergeFiles/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === RUN TestGenerateRPCOrderPreservedAdditionalBindings/json +=== CONT TestFindExpectedPaths/No_potential_Paths_present +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateExtension/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === RUN TestGenerateRPCOrderPreservedAdditionalBindings/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === PAUSE TestGenerateRPCOrderPreservedAdditionalBindings/yaml -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/json +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +--- 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) +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderPreservedMergeFiles/json +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/01/05 03:20:17 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestFormatValidate/yaml +=== RUN TestRawExample/"1" +=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 ERROR: no message found: Status +=== PAUSE TestRawExample/"1" +--- PASS: TestFormatValidate (0.00s) + --- PASS: TestFormatValidate/unknown (0.00s) + --- PASS: TestFormatValidate/#00 (0.00s) + --- PASS: TestFormatValidate/json (0.00s) + --- PASS: TestFormatValidate/yaml (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 ERROR: no message found: Status +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +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 +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateExtension/yaml -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 -2024/12/02 20:55:51 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 +=== RUN TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestFormatEncode/json +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestFormatEncode/json +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== RUN TestRawExample/{"hello":"worldr"} +=== RUN TestFormatEncode/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml +=== PAUSE TestFormatEncode/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json +=== PAUSE TestOpenapiSchemaObjectProperties/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateExtension/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +=== CONT TestFormatEncode/yaml +=== CONT TestOpenapiSchemaObjectProperties/yaml +=== 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" + } + } + } + } + } + +=== CONT TestFormatEncode/json +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== PAUSE TestRawExample/{"hello":"worldr"} +=== CONT TestRawExample/1 exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestFormatEncode (0.00s) + --- PASS: TestFormatEncode/json (0.00s) + --- PASS: TestFormatEncode/yaml (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestOpenapiSchemaObjectProperties/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestRawExample/{"hello":"worldr"} exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestRawExample/"1" exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 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 +--- PASS: TestOpenapiSchemaObjectProperties (0.00s) + --- PASS: TestOpenapiSchemaObjectProperties/yaml (0.00s) + --- PASS: TestOpenapiSchemaObjectProperties/json (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:116: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: {} - definitions: - v1Foo: - type: object - properties: - bar: - type: string - description: This is bar - x-go-default: 0.5s - -=== 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 +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestRawExample (0.00s) + --- PASS: TestRawExample/1 (0.00s) + --- PASS: TestRawExample/"1" (0.00s) + --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo === NAME TestGenerateExtension/json +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 ERROR: no message found: Status generator_test.go:116: { "swagger": "2.0", "info": { @@ -1630,9 +2060,7 @@ } } -=== CONT TestGenerateRPCOrderNotPreserved/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedAdditionalBindings/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -1643,8 +2071,6 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 ERROR: no message found: Status -=== CONT TestGenerateRPCOneOfFieldBodyAdditionalBindings/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 @@ -1653,33 +2079,49 @@ exampleproto/v1/example.proto descriptor.File should not contain 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/01/05 03:20:17 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateExtension/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo + generator_test.go:116: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: {} + definitions: + v1Foo: + type: object + properties: + bar: + type: string + description: This is bar + x-go-default: 0.5s + +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +--- PASS: TestGenerateExtension (0.00s) + --- PASS: TestGenerateExtension/json (0.00s) + --- PASS: TestGenerateExtension/yaml (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 ERROR: no message found: Status ---- PASS: TestRawExample (0.00s) - --- PASS: TestRawExample/"1" (0.00s) - --- PASS: TestRawExample/{"hello":"worldr"} (0.00s) - --- PASS: TestRawExample/1 (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== PAUSE TestGenerateRPCOrderNotPreservedMergeFiles/yaml +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateExtension (0.00s) - --- PASS: TestGenerateExtension/yaml (0.00s) - --- PASS: TestGenerateExtension/json (0.00s) -=== PAUSE TestGenerateRPCOrderPreservedMergeFiles/yaml -=== CONT TestFormatValidate/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatValidate/unknown exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatValidate/yaml +2026/01/05 03:20:17 ERROR: no message found: Status +2026/01/05 03:20:17 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 @@ -1687,19 +2129,115 @@ exampleproto/v1/example.proto descriptor.File should not contain 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 TestOpenapiSchemaObjectProperties/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestFormatValidate/#00 ---- PASS: TestFormatValidate (0.00s) - --- PASS: TestFormatValidate/json (0.00s) - --- PASS: TestFormatValidate/unknown (0.00s) - --- PASS: TestFormatValidate/yaml (0.00s) - --- PASS: TestFormatValidate/#00 (0.00s) -=== CONT TestGenerateRPCOrderPreservedMultipleServices/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreserved/json + generator_test.go:394: { + "swagger": "2.0", + "info": { + "title": "exampleproto/v1/example.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "TestService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/b/first": { + "get": { + "operationId": "TestService_Test1", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestService" + ] + } + }, + "/a/second": { + "get": { + "operationId": "TestService_Test2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestService" + ] + } + }, + "/c/third": { + "get": { + "operationId": "TestService_Test3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestService" + ] + } + } + }, + "definitions": { + "v1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + } + } + } + exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo @@ -1707,19 +2245,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/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 ---- PASS: TestGenerateYAML (0.00s) - --- PASS: TestGenerateYAML/path_item_object (0.01s) -=== CONT TestOpenapiSchemaObjectProperties/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain 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 -2024/12/02 20:55:51 ERROR: no message found: Status +2026/01/05 03:20:17 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 @@ -1727,21 +2266,42 @@ exampleproto/v1/example.proto descriptor.File should not contain 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/01/05 03:20:17 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/01/05 03:20:17 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/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 exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreserved/json - generator_test.go:491: { +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 TestGenerateRPCOrderNotPreservedMultipleServices/json + generator_test.go:749: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -1749,7 +2309,10 @@ }, "tags": [ { - "name": "TestService" + "name": "TestServiceOne" + }, + { + "name": "TestServiceTwo" } ], "consumes": [ @@ -1761,7 +2324,7 @@ "paths": { "/a/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", @@ -1779,13 +2342,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, "/b/first": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestServiceTwo_Test1", "responses": { "200": { "description": "A successful response.", @@ -1803,13 +2366,13 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } }, "/c/third": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", @@ -1827,7 +2390,79 @@ } ], "tags": [ - "TestService" + "TestServiceOne" + ] + } + }, + "/d/first": { + "get": { + "operationId": "TestServiceOne_Test1", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceOne" + ] + } + }, + "/e/second": { + "get": { + "operationId": "TestServiceOne_Test2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceOne" + ] + } + }, + "/g/third": { + "get": { + "operationId": "TestServiceTwo_Test3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1Foo" + } + } + }, + "parameters": [ + { + "name": "bar", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "TestServiceTwo" ] } } @@ -1844,9 +2479,17 @@ } } -=== NAME TestGenerateRPCOrderPreserved/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:394: 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/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 +=== 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 @@ -1857,9 +2500,9 @@ produces: - application/json paths: - /b/first: + /a/second: get: - operationId: TestService_Test1 + operationId: TestService_Test2 responses: "200": description: A successful response. @@ -1872,9 +2515,9 @@ type: string tags: - TestService - /a/second: + /b/first: get: - operationId: TestService_Test2 + operationId: TestService_Test1 responses: "200": description: A successful response. @@ -1910,40 +2553,55 @@ 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 -=== NAME TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:1265: swagger: "2.0" +--- PASS: TestGenerateRPCOrderNotPreserved (0.00s) + --- PASS: TestGenerateRPCOrderNotPreserved/json (0.00s) + --- PASS: TestGenerateRPCOrderNotPreserved/yaml (0.00s) +=== 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. @@ -1951,176 +2609,170 @@ $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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreserved/json exampleproto/v1/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" - } - } - } - } - } +--- PASS: TestGenerateRPCOrderPreservedMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMultipleServices/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 +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreserved/yaml + generator_test.go:394: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /b/first: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/second: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /c/third: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + v1Foo: + type: object + properties: + bar: + type: string -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/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 TestFindExpectedPaths/No_potential_Paths_present -=== CONT TestFindExpectedPaths/One_potential_path_present -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 +2026/01/05 03:20:17 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 +--- PASS: TestGenerateRPCOrderPreserved (0.00s) + --- PASS: TestGenerateRPCOrderPreserved/json (0.00s) + --- PASS: TestGenerateRPCOrderPreserved/yaml (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/yaml exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreserved/yaml -2024/12/02 20:55:51 ERROR: no message found: Status exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:491: swagger: "2.0" + generator_test.go:749: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set tags: - - name: TestService + - name: TestServiceOne + - name: TestServiceTwo consumes: - application/json produces: @@ -2128,7 +2780,7 @@ paths: /a/second: get: - operationId: TestService_Test2 + operationId: TestServiceTwo_Test2 responses: "200": description: A successful response. @@ -2140,10 +2792,10 @@ required: false type: string tags: - - TestService + - TestServiceTwo /b/first: get: - operationId: TestService_Test1 + operationId: TestServiceTwo_Test1 responses: "200": description: A successful response. @@ -2155,10 +2807,10 @@ required: false type: string tags: - - TestService + - TestServiceTwo /c/third: get: - operationId: TestService_Test3 + operationId: TestServiceOne_Test3 responses: "200": description: A successful response. @@ -2170,7 +2822,52 @@ required: false type: string tags: - - TestService + - TestServiceOne + /d/first: + get: + operationId: TestServiceOne_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /e/second: + get: + operationId: TestServiceOne_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceOne + /g/third: + get: + operationId: TestServiceTwo_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/v1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestServiceTwo definitions: v1Foo: type: object @@ -2180,50 +2877,81 @@ exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 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 -2024/12/02 20:55:51 ERROR: no message found: Status -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/yaml +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 ERROR: no message found: Status +2026/01/05 03:20:17 ERROR: no message found: Status exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +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 +--- PASS: TestGenerateRPCOrderNotPreservedMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== 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/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 +2026/01/05 03:20:17 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 +2026/01/05 03:20:17 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/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 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/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 +2026/01/05 03:20:17 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 TestGenerateRPCOrderPreservedAdditionalBindings/json +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 ERROR: no message found: Status ---- PASS: TestGenerateRPCOrderPreserved (0.00s) - --- PASS: TestGenerateRPCOrderPreserved/yaml (0.01s) - --- PASS: TestGenerateRPCOrderPreserved/json (0.01s) ---- PASS: TestFindExpectedPaths (0.00s) - --- PASS: TestFindExpectedPaths/Multiple_potential_paths_present (0.00s) - --- PASS: TestFindExpectedPaths/No_potential_Paths_present (0.00s) - --- PASS: TestFindExpectedPaths/One_potential_path_present (0.00s) -=== CONT TestGenerateRPCOrderPreservedAdditionalBindings/yaml +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 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/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 TestGenerateRPCOneOfFieldBodyAdditionalBindings/json generator_test.go:1265: { "swagger": "2.0", @@ -2337,32 +3065,11 @@ } } -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 ERROR: no message found: Status ---- PASS: TestOpenapiSchemaObjectProperties (0.00s) - --- PASS: TestOpenapiSchemaObjectProperties/json (0.00s) - --- PASS: TestOpenapiSchemaObjectProperties/yaml (0.00s) exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderNotPreserved (0.00s) - --- PASS: TestGenerateRPCOrderNotPreserved/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreserved/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/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMultipleServices/json ---- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.01s) - --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.01s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:1375: { +=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/json + generator_test.go:1168: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2380,9 +3087,9 @@ "application/json" ], "paths": { - "/a/additional": { + "/b/first": { "get": { - "operationId": "TestService_Test12", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -2404,9 +3111,9 @@ ] } }, - "/a/second": { + "/a/additional": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", @@ -2428,9 +3135,9 @@ ] } }, - "/b/bAdditional": { + "/a/second": { "get": { - "operationId": "TestService_Test32", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", @@ -2452,9 +3159,9 @@ ] } }, - "/b/first": { + "/z/zAdditional": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", @@ -2500,9 +3207,9 @@ ] } }, - "/z/zAdditional": { + "/b/bAdditional": { "get": { - "operationId": "TestService_Test22", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", @@ -2537,152 +3244,23 @@ } } -exampleproto/v1/example.proto descriptor.File should not contain 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 -exampleproto/v1/example.proto descriptor.File should not contain 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/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/v1/example.proto descriptor.File should not contain 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 -=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - 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 -=== NAME TestGenerateRPCOrderPreservedMultipleServices/json -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo - generator_test.go:620: { +=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/json + generator_test.go:1375: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -2690,10 +3268,7 @@ }, "tags": [ { - "name": "TestServiceOne" - }, - { - "name": "TestServiceTwo" + "name": "TestService" } ], "consumes": [ @@ -2703,9 +3278,9 @@ "application/json" ], "paths": { - "/d/first": { + "/a/additional": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestService_Test12", "responses": { "200": { "description": "A successful response.", @@ -2723,13 +3298,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/e/second": { + "/a/second": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestService_Test2", "responses": { "200": { "description": "A successful response.", @@ -2747,13 +3322,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, - "/c/third": { + "/b/bAdditional": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestService_Test32", "responses": { "200": { "description": "A successful response.", @@ -2771,13 +3346,13 @@ } ], "tags": [ - "TestServiceOne" + "TestService" ] } }, "/b/first": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -2795,13 +3370,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/a/second": { + "/c/third": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -2819,13 +3394,13 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/g/third": { + "/z/zAdditional": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", @@ -2843,7 +3418,7 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } } @@ -2860,48 +3435,33 @@ } } -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo ---- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.01s) -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== CONT TestGenerateRPCOrderNotPreservedMergeFiles/yaml -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 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/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/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 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 TestGenerateRPCOrderPreservedMergeFiles/yaml +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 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/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo +exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo === NAME 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 -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +2026/01/05 03:20:17 ERROR: no message found: Status generator_test.go:1574: { "swagger": "2.0", "info": { @@ -3236,256 +3796,10 @@ } exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml -2024/12/02 20:55:51 ERROR: no message found: Status - generator_test.go:1574: swagger: "2.0" - info: - title: exampleproto/v1/example.proto - version: version not set - tags: - - name: TestServiceOne - - name: TestServiceTwo - - name: TestService - consumes: - - application/json - produces: - - application/json - paths: - /d/first: - get: - operationId: TestServiceOne_Test1 - responses: - "200": - description: A successful response. - schema: - $ref: '#/definitions/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 - /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 - /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 - /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 - /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 - /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 - /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 - /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 - /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 - /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 - 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 -exampleproto/v1/example.proto descriptor.File should not contain 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 -2024/12/02 20:55:51 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo +=== NAME TestGenerateRPCOrderPreservedMergeFiles/json exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json -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:1062: { + generator_test.go:906: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3503,9 +3817,9 @@ "application/json" ], "paths": { - "/a/apath": { + "/c/cpath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -3551,9 +3865,9 @@ ] } }, - "/c/cpath": { + "/a/apath": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -3575,9 +3889,9 @@ ] } }, - "/d/dpath": { + "/f/fpath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -3623,9 +3937,9 @@ ] } }, - "/f/fpath": { + "/d/dpath": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -3668,174 +3982,10 @@ } } -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: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.01s) - --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 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 -=== 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 - -exampleproto/v1/example.proto descriptor.File should not contain 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: TestGenerateRPCOrderPreservedMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMultipleServices/json (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMultipleServices/yaml (0.01s) -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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 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 -2024/12/02 20:55:51 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/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 -2024/12/02 20:55:51 ERROR: no message found: Status -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -=== NAME TestGenerateRPCOrderPreservedAdditionalBindings/json - generator_test.go:1168: { +=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json + generator_test.go:1774: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -3843,6 +3993,12 @@ }, "tags": [ { + "name": "TestServiceOne" + }, + { + "name": "TestServiceTwo" + }, + { "name": "TestService" } ], @@ -3853,14 +4009,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" } } }, @@ -3877,14 +4033,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" } } }, @@ -3903,12 +4059,12 @@ }, "/a/second": { "get": { - "operationId": "TestService_Test2", + "operationId": "TestServiceTwo_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -3921,18 +4077,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" } } }, @@ -3949,14 +4105,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" } } }, @@ -3973,14 +4129,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" } } }, @@ -3993,83 +4149,18 @@ } ], "tags": [ - "TestService" + "TestServiceTwo" ] } - } - }, - "definitions": { - "v1Foo": { - "type": "object", - "properties": { - "bar": { - "type": "string" - } - } - } - } - } - -2024/12/02 20:55:51 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/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v1/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -exampleproto/v2/example.proto descriptor.File should not contain nil SourceCodeInfo -2024/12/02 20:55:51 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/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": { - "title": "exampleproto/v1/example.proto", - "version": "version not set" - }, - "tags": [ - { - "name": "TestServiceOne" }, - { - "name": "TestServiceTwo" - } - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/a/second": { + "/c/cpath": { "get": { - "operationId": "TestServiceTwo_Test2", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4082,18 +4173,18 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } }, - "/b/first": { + "/c/third": { "get": { - "operationId": "TestServiceTwo_Test1", + "operationId": "TestServiceOne_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4106,18 +4197,18 @@ } ], "tags": [ - "TestServiceTwo" + "TestServiceOne" ] } }, - "/c/third": { + "/d/first": { "get": { - "operationId": "TestServiceOne_Test3", + "operationId": "TestServiceOne_Test1", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4134,14 +4225,14 @@ ] } }, - "/d/first": { + "/e/second": { "get": { - "operationId": "TestServiceOne_Test1", + "operationId": "TestServiceOne_Test2", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4158,14 +4249,14 @@ ] } }, - "/e/second": { + "/g/third": { "get": { - "operationId": "TestServiceOne_Test2", + "operationId": "TestServiceTwo_Test3", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev1Foo" } } }, @@ -4178,18 +4269,18 @@ } ], "tags": [ - "TestServiceOne" + "TestServiceTwo" ] } }, - "/g/third": { + "/z/zAdditional": { "get": { - "operationId": "TestServiceTwo_Test3", + "operationId": "TestService_Test22", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1Foo" + "$ref": "#/definitions/examplev2Foo" } } }, @@ -4202,13 +4293,21 @@ } ], "tags": [ - "TestServiceTwo" + "TestService" ] } } }, "definitions": { - "v1Foo": { + "examplev1Foo": { + "type": "object", + "properties": { + "bar": { + "type": "string" + } + } + }, + "examplev2Foo": { "type": "object", "properties": { "bar": { @@ -4219,17 +4318,122 @@ } } -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 -2024/12/02 20:55:51 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 TestGenerateRPCOrderPreservedMergeFiles/json - generator_test.go:906: { +=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml + generator_test.go:906: swagger: "2.0" + info: + title: exampleproto/v1/example.proto + version: version not set + tags: + - name: TestService + consumes: + - application/json + produces: + - application/json + paths: + /c/cpath: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /b/bpath: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /a/apath: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev1Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /f/fpath: + get: + operationId: TestService_Test1 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /e/epath: + get: + operationId: TestService_Test2 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + /d/dpath: + get: + operationId: TestService_Test3 + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/examplev2Foo' + parameters: + - name: bar + in: query + required: false + type: string + tags: + - TestService + definitions: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: + type: object + properties: + bar: + type: string + +=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/json + generator_test.go:1062: { "swagger": "2.0", "info": { "title": "exampleproto/v1/example.proto", @@ -4247,9 +4451,9 @@ "application/json" ], "paths": { - "/c/cpath": { + "/a/apath": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -4295,9 +4499,9 @@ ] } }, - "/a/apath": { + "/c/cpath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -4319,9 +4523,9 @@ ] } }, - "/f/fpath": { + "/d/dpath": { "get": { - "operationId": "TestService_Test1", + "operationId": "TestService_Test3", "responses": { "200": { "description": "A successful response.", @@ -4367,9 +4571,9 @@ ] } }, - "/d/dpath": { + "/f/fpath": { "get": { - "operationId": "TestService_Test3", + "operationId": "TestService_Test1", "responses": { "200": { "description": "A successful response.", @@ -4521,458 +4725,203 @@ bar: type: string +--- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.01s) +=== 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: TestGenerateRPCOrderPreservedAdditionalBindings (0.00s) --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/json (0.00s) --- PASS: TestGenerateRPCOrderPreservedAdditionalBindings/yaml (0.01s) -=== NAME TestGenerateRPCOrderNotPreservedMultipleServices/yaml - generator_test.go:749: swagger: "2.0" +--- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/json (0.00s) + --- PASS: TestGenerateRPCOneOfFieldBodyAdditionalBindings/yaml (0.00s) +=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/yaml + generator_test.go:1062: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set tags: - - name: TestServiceOne - - name: TestServiceTwo + - name: TestService consumes: - application/json produces: - application/json paths: - /a/second: + /a/apath: get: - operationId: TestServiceTwo_Test2 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo - /b/first: + - TestService + /b/bpath: get: - operationId: TestServiceTwo_Test1 + operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo - /c/third: + - TestService + /c/cpath: get: - operationId: TestServiceOne_Test3 + operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev1Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceOne - /d/first: + - TestService + /d/dpath: get: - operationId: TestServiceOne_Test1 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceOne - /e/second: + - TestService + /e/epath: get: - operationId: TestServiceOne_Test2 + operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceOne - /g/third: + - TestService + /f/fpath: get: - operationId: TestServiceTwo_Test3 + operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/v1Foo' + $ref: '#/definitions/examplev2Foo' parameters: - name: bar in: query required: false type: string tags: - - TestServiceTwo + - TestService definitions: - v1Foo: + examplev1Foo: + type: object + properties: + bar: + type: string + examplev2Foo: type: object properties: bar: type: string -=== NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/json - 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: TestGenerateRPCOrderNotPreservedMultipleServices (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/json (0.01s) - --- PASS: TestGenerateRPCOrderNotPreservedMultipleServices/yaml (0.01s) -=== NAME TestGenerateRPCOrderNotPreservedMergeFiles/yaml - generator_test.go:1062: swagger: "2.0" +--- PASS: TestGenerateRPCOrderNotPreservedMergeFiles (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/json (0.01s) + --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/yaml (0.01s) +=== NAME TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml + generator_test.go:1375: swagger: "2.0" info: title: exampleproto/v1/example.proto version: version not set @@ -4983,14 +4932,14 @@ produces: - application/json paths: - /a/apath: + /a/additional: get: - operationId: TestService_Test3 + operationId: TestService_Test12 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -4998,14 +4947,14 @@ type: string tags: - TestService - /b/bpath: + /a/second: get: operationId: TestService_Test2 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5013,14 +4962,14 @@ type: string tags: - TestService - /c/cpath: + /b/bAdditional: get: - operationId: TestService_Test1 + operationId: TestService_Test32 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev1Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5028,14 +4977,14 @@ type: string tags: - TestService - /d/dpath: + /b/first: get: - operationId: TestService_Test3 + operationId: TestService_Test1 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5043,14 +4992,14 @@ type: string tags: - TestService - /e/epath: + /c/third: get: - operationId: TestService_Test2 + operationId: TestService_Test3 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5058,14 +5007,14 @@ type: string tags: - TestService - /f/fpath: + /z/zAdditional: get: - operationId: TestService_Test1 + operationId: TestService_Test22 responses: "200": description: A successful response. schema: - $ref: '#/definitions/examplev2Foo' + $ref: '#/definitions/v1Foo' parameters: - name: bar in: query @@ -5074,35 +5023,29 @@ tags: - TestService definitions: - examplev1Foo: - type: object - properties: - bar: - type: string - examplev2Foo: + v1Foo: type: object properties: bar: type: string ---- PASS: TestGenerateRPCOrderNotPreservedMergeFiles (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/json (0.00s) - --- PASS: TestGenerateRPCOrderNotPreservedMergeFiles/yaml (0.01s) -=== NAME TestGenerateRPCOrderPreservedMergeFiles/yaml - generator_test.go:906: swagger: "2.0" +=== NAME TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml + generator_test.go:1574: 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: - /c/cpath: + /d/first: get: - operationId: TestService_Test1 + operationId: TestServiceOne_Test1 responses: "200": description: A successful response. @@ -5114,10 +5057,10 @@ required: false type: string tags: - - TestService - /b/bpath: + - TestServiceOne + /e/second: get: - operationId: TestService_Test2 + operationId: TestServiceOne_Test2 responses: "200": description: A successful response. @@ -5129,10 +5072,10 @@ required: false type: string tags: - - TestService - /a/apath: + - TestServiceOne + /c/third: get: - operationId: TestService_Test3 + operationId: TestServiceOne_Test3 responses: "200": description: A successful response. @@ -5144,8 +5087,53 @@ required: false type: string tags: - - TestService - /f/fpath: + - TestServiceOne + /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 + /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 + /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 + /b/bpath: get: operationId: TestService_Test1 responses: @@ -5160,7 +5148,22 @@ type: string tags: - TestService - /e/epath: + /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: @@ -5175,7 +5178,22 @@ type: string tags: - TestService - /d/dpath: + /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 + /c/cpath: get: operationId: TestService_Test3 responses: @@ -5190,6 +5208,21 @@ type: string tags: - TestService + /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 definitions: examplev1Foo: type: object @@ -5202,9 +5235,12 @@ bar: type: string ---- PASS: TestGenerateRPCOrderPreservedMergeFiles (0.00s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/json (0.01s) - --- PASS: TestGenerateRPCOrderPreservedMergeFiles/yaml (0.01s) +--- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/json (0.00s) + --- PASS: TestGenerateRPCOrderNotPreservedAdditionalBindings/yaml (0.01s) +--- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices (0.00s) + --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/json (0.01s) + --- PASS: TestGenerateRPCOrderPreservedMergeFilesAdditionalBindingsMultipleServices/yaml (0.01s) === NAME TestGenerateRPCOrderNotPreservedMergeFilesAdditionalBindingsMultipleServices/yaml generator_test.go:1774: swagger: "2.0" info: @@ -5427,7 +5463,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.181s +ok github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2/internal/genopenapi 0.107s === RUN TestFieldMaskFromRequestBody === RUN TestFieldMaskFromRequestBody/empty === RUN TestFieldMaskFromRequestBody/EmptyMessage @@ -5443,7 +5479,7 @@ === RUN TestFieldMaskFromRequestBody/complex === RUN TestFieldMaskFromRequestBody/protobuf-any === RUN TestFieldMaskFromRequestBody/repeated-protobuf-any ---- PASS: TestFieldMaskFromRequestBody (0.01s) +--- PASS: TestFieldMaskFromRequestBody (0.00s) --- PASS: TestFieldMaskFromRequestBody/empty (0.00s) --- PASS: TestFieldMaskFromRequestBody/EmptyMessage (0.00s) --- PASS: TestFieldMaskFromRequestBody/simple (0.00s) @@ -5473,19 +5509,19 @@ === RUN TestNewPattern --- PASS: TestNewPattern (0.00s) === RUN TestNewPatternWithWrongOp -2024/12/02 20:55:51 ERROR: invalid opcode: -1 -2024/12/02 20:55:51 ERROR: invalid opcode: 6 -2024/12/02 20:55:51 ERROR: odd number of ops codes: 1 -2024/12/02 20:55:51 ERROR: negative literal index: -1 -2024/12/02 20:55:51 ERROR: negative literal index: 1 -2024/12/02 20:55:51 ERROR: negative concat size: -1 -2024/12/02 20:55:51 ERROR: variable name index out of bound: -1 -2024/12/02 20:55:51 ERROR: variable name index out of bound: 1 -2024/12/02 20:55:51 ERROR: pushM appears twice +2026/01/05 03:20:17 ERROR: invalid opcode: -1 +2026/01/05 03:20:17 ERROR: invalid opcode: 6 +2026/01/05 03:20:17 ERROR: odd number of ops codes: 1 +2026/01/05 03:20:17 ERROR: negative literal index: -1 +2026/01/05 03:20:17 ERROR: negative literal index: 1 +2026/01/05 03:20:17 ERROR: negative concat size: -1 +2026/01/05 03:20:17 ERROR: variable name index out of bound: -1 +2026/01/05 03:20:17 ERROR: variable name index out of bound: 1 +2026/01/05 03:20:17 ERROR: pushM appears twice --- PASS: TestNewPatternWithWrongOp (0.00s) === RUN TestNewPatternWithStackUnderflow -2024/12/02 20:55:51 ERROR: stack underflow -2024/12/02 20:55:51 ERROR: stack underflow +2026/01/05 03:20:17 ERROR: stack underflow +2026/01/05 03:20:17 ERROR: stack underflow --- PASS: TestNewPatternWithStackUnderflow (0.00s) === RUN TestMatch --- PASS: TestMatch (0.00s) @@ -5547,15 +5583,15 @@ --- PASS: TestConvertDuration/JSON_bool (0.00s) === RUN TestDefaultHTTPError === RUN TestDefaultHTTPError/0 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/1 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/2 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/3 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestDefaultHTTPError/4 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context --- PASS: TestDefaultHTTPError (0.00s) --- PASS: TestDefaultHTTPError/0 (0.00s) --- PASS: TestDefaultHTTPError/1 (0.00s) @@ -5691,41 +5727,41 @@ --- PASS: TestMarshalerForRequest (0.00s) === RUN TestMuxServeHTTP === RUN TestMuxServeHTTP/0 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/1 === RUN TestMuxServeHTTP/2 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/3 === RUN TestMuxServeHTTP/4 === RUN TestMuxServeHTTP/5 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/6 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/7 === RUN TestMuxServeHTTP/8 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/9 === RUN TestMuxServeHTTP/10 === RUN TestMuxServeHTTP/11 === RUN TestMuxServeHTTP/12 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/13 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 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 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/20 === RUN TestMuxServeHTTP/21 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/22 === RUN TestMuxServeHTTP/23 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/24 -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestMuxServeHTTP/25 === RUN TestMuxServeHTTP/26 === RUN TestMuxServeHTTP/27 @@ -5759,7 +5795,7 @@ --- PASS: TestMuxServeHTTP/26 (0.00s) --- PASS: TestMuxServeHTTP/27 (0.00s) === RUN TestServeHTTP_WithMethodOverrideAndFormParsing -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context --- PASS: TestServeHTTP_WithMethodOverrideAndFormParsing (0.00s) === RUN TestDefaultHeaderMatcher === RUN TestDefaultHeaderMatcher/permanent_HTTP_header_should_return_prefixed @@ -5783,14 +5819,14 @@ --- PASS: TestServeMux_HandlePath/Invalid_Endpoint (0.00s) === RUN TestWithHealthzEndpoint_codes === RUN TestWithHealthzEndpoint_codes/Test_grpc_error_code -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_NOT_SERVING -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_UNKNOWN -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 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) @@ -5799,18 +5835,18 @@ --- PASS: TestWithHealthzEndpoint_codes/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthEndpointAt_consistentWithHealthz === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_NOT_SERVING -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthEndpointAt_consistentWithHealthz (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_grpc_error_code (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVING (0.00s) @@ -5818,18 +5854,18 @@ --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_UNKNOWN (0.00s) --- PASS: TestWithHealthEndpointAt_consistentWithHealthz/Test_HealthCheckResponse_SERVICE_UNKNOWN (0.00s) === RUN TestWithHealthzEndpoint_serviceParam -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context --- PASS: TestWithHealthzEndpoint_serviceParam (0.00s) === RUN TestWithHealthzEndpoint_header === RUN TestWithHealthzEndpoint_header/Test_grpc_error_code -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVING === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_NOT_SERVING -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_UNKNOWN -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 ERROR: Failed to extract ServerMetadata from context === RUN TestWithHealthzEndpoint_header/Test_HealthCheckResponse_SERVICE_UNKNOWN -2024/12/02 20:55:51 ERROR: Failed to extract ServerMetadata from context +2026/01/05 03:20:17 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) @@ -5856,7 +5892,7 @@ === RUN TestPopulateParameters/16 === RUN TestPopulateParameters/17 --- PASS: TestPopulateParameters (0.01s) - --- PASS: TestPopulateParameters/0 (0.01s) + --- PASS: TestPopulateParameters/0 (0.00s) --- PASS: TestPopulateParameters/1 (0.00s) --- PASS: TestPopulateParameters/2 (0.00s) --- PASS: TestPopulateParameters/3 (0.00s) @@ -5879,29 +5915,29 @@ === RUN TestPopulateQueryParametersWithInvalidNestedParameters --- PASS: TestPopulateQueryParametersWithInvalidNestedParameters (0.00s) === CONT TestOutgoingHeaderMatcher -=== RUN TestOutgoingHeaderMatcher/default_matcher === CONT TestOutgoingTrailerMatcher +=== RUN TestOutgoingHeaderMatcher/default_matcher +=== RUN TestOutgoingTrailerMatcher/default_matcher,_caller_accepts === PAUSE TestOutgoingHeaderMatcher/default_matcher === RUN TestOutgoingHeaderMatcher/custom_matcher -=== PAUSE TestOutgoingHeaderMatcher/custom_matcher -=== RUN TestOutgoingTrailerMatcher/default_matcher,_caller_accepts -=== CONT TestOutgoingHeaderMatcher/default_matcher === PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_accepts === RUN TestOutgoingTrailerMatcher/default_matcher,_caller_rejects -=== CONT TestOutgoingHeaderMatcher/custom_matcher === PAUSE TestOutgoingTrailerMatcher/default_matcher,_caller_rejects === RUN TestOutgoingTrailerMatcher/custom_matcher === PAUSE TestOutgoingTrailerMatcher/custom_matcher === CONT TestOutgoingTrailerMatcher/default_matcher,_caller_accepts === CONT TestOutgoingTrailerMatcher/custom_matcher === CONT TestOutgoingTrailerMatcher/default_matcher,_caller_rejects ---- PASS: TestOutgoingHeaderMatcher (0.00s) - --- PASS: TestOutgoingHeaderMatcher/default_matcher (0.00s) - --- PASS: TestOutgoingHeaderMatcher/custom_matcher (0.00s) +=== PAUSE TestOutgoingHeaderMatcher/custom_matcher +=== CONT TestOutgoingHeaderMatcher/default_matcher +=== CONT TestOutgoingHeaderMatcher/custom_matcher --- PASS: TestOutgoingTrailerMatcher (0.00s) + --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_rejects (0.00s) --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_accepts (0.00s) --- PASS: TestOutgoingTrailerMatcher/custom_matcher (0.00s) - --- PASS: TestOutgoingTrailerMatcher/default_matcher,_caller_rejects (0.00s) +--- PASS: TestOutgoingHeaderMatcher (0.00s) + --- PASS: TestOutgoingHeaderMatcher/default_matcher (0.00s) + --- PASS: TestOutgoingHeaderMatcher/custom_matcher (0.00s) === RUN FuzzPopulateQueryParameters === RUN FuzzPopulateQueryParameters/seed#0 === RUN FuzzPopulateQueryParameters/seed#1 @@ -5923,7 +5959,7 @@ --- PASS: FuzzPopulateQueryParameters/seed#7 (0.00s) --- PASS: FuzzPopulateQueryParameters/seed#8 (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.065s +ok github.com/grpc-ecosystem/grpc-gateway/runtime 0.040s === RUN TestStringArrayFlag === RUN TestStringArrayFlag/No_Value === RUN TestStringArrayFlag/Single_Value @@ -5939,7 +5975,7 @@ === RUN TestAdd --- PASS: TestAdd (0.00s) PASS -ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.004s +ok github.com/grpc-ecosystem/grpc-gateway/utilities 0.003s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -5972,8 +6008,8 @@ 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-grpc-gateway' in '../golang-grpc-gateway_2.20.0-2_i386.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' in '../golang-grpc-gateway_2.20.0-2_i386.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_i386.buildinfo dpkg-genchanges --build=binary -O../golang-github-grpc-ecosystem-grpc-gateway_2.20.0-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5981,12 +6017,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/115313/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/115313/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/41170 and its subdirectories -I: Current time: Mon Dec 2 08:56:13 -12 2024 -I: pbuilder-time-stamp: 1733172973 +I: removing directory /srv/workspace/pbuilder/115313 and its subdirectories +I: Current time: Mon Jan 5 17:20:32 +14 2026 +I: pbuilder-time-stamp: 1767583232