Diff of the two buildlogs: -- --- b1/build.log 2024-04-28 06:25:49.741431706 +0000 +++ b2/build.log 2024-04-28 06:28:44.805970058 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 27 18:22:09 -12 2024 -I: pbuilder-time-stamp: 1714285329 +I: Current time: Sun Jun 1 02:48:51 +14 2025 +I: pbuilder-time-stamp: 1748695731 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying 0002-skip-TestIssue495WithDraft04.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3075481/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2055375/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 31 12:49 /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/2055375/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2055375/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d26d8315b85a4734b36c5afc82d6bf25' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3075481' - PS1='# ' - PS2='> ' + INVOCATION_ID=068270f3fecd4f4ba5d054c006c65ba9 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2055375 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.lajl3nWZ/pbuilderrc_eoSd --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.lajl3nWZ/b1 --logfile b1/build.log golang-github-getkin-kin-openapi_0.124.0-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://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.lajl3nWZ/pbuilderrc_HxmT --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.lajl3nWZ/b2 --logfile b2/build.log golang-github-getkin-kin-openapi_0.124.0-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + 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 ionos11-amd64 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 22 12:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3075481/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 25 19:07 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2055375/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -209,7 +241,7 @@ Get: 51 http://deb.debian.org/debian trixie/main amd64 golang-github-pmezard-go-difflib-dev all 1.0.0-3 [12.3 kB] Get: 52 http://deb.debian.org/debian trixie/main amd64 golang-github-stretchr-objx-dev all 0.5.2-1 [25.5 kB] Get: 53 http://deb.debian.org/debian trixie/main amd64 golang-github-stretchr-testify-dev all 1.8.4-1 [71.8 kB] -Fetched 67.1 MB in 7s (9286 kB/s) +Fetched 67.1 MB in 9s (7569 kB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libssl3:amd64: dependency problems, but removing anyway as you requested: libkrb5-3:amd64 depends on libssl3 (>= 3.0.0). @@ -450,7 +482,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-getkin-kin-openapi-0.124.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-getkin-kin-openapi_0.124.0-1_source.changes +I: user script /srv/workspace/pbuilder/2055375/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2055375/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-getkin-kin-openapi-0.124.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-getkin-kin-openapi_0.124.0-1_source.changes dpkg-buildpackage: info: source package golang-github-getkin-kin-openapi dpkg-buildpackage: info: source version 0.124.0-1 dpkg-buildpackage: info: source distribution unstable @@ -468,142 +504,142 @@ dh_autoreconf -O--builddirectory=_build dh_auto_configure -O--builddirectory=_build dh_auto_build -O--builddirectory=_build - cd _build && go install -trimpath -v -p 20 github.com/getkin/kin-openapi/openapi2 github.com/getkin/kin-openapi/openapi2conv github.com/getkin/kin-openapi/openapi3 github.com/getkin/kin-openapi/openapi3filter github.com/getkin/kin-openapi/openapi3gen github.com/getkin/kin-openapi/openapi3gen/internal/subpkg github.com/getkin/kin-openapi/routers github.com/getkin/kin-openapi/routers/gorillamux github.com/getkin/kin-openapi/routers/legacy github.com/getkin/kin-openapi/routers/legacy/pathpattern -math/bits + cd _build && go install -trimpath -v -p 42 github.com/getkin/kin-openapi/openapi2 github.com/getkin/kin-openapi/openapi2conv github.com/getkin/kin-openapi/openapi3 github.com/getkin/kin-openapi/openapi3filter github.com/getkin/kin-openapi/openapi3gen github.com/getkin/kin-openapi/openapi3gen/internal/subpkg github.com/getkin/kin-openapi/routers github.com/getkin/kin-openapi/routers/gorillamux github.com/getkin/kin-openapi/routers/legacy github.com/getkin/kin-openapi/routers/legacy/pathpattern +internal/godebugs internal/itoa cmp +math/bits unicode/utf16 internal/nettrace -internal/coverage/rtcov -internal/godebugs -log/internal +crypto/internal/alias internal/goos -internal/goarch +log/internal +internal/unsafeheader encoding -crypto/internal/alias +unicode +internal/coverage/rtcov internal/goexperiment container/list +vendor/golang.org/x/crypto/cryptobyte/asn1 +vendor/golang.org/x/crypto/internal/alias runtime/internal/atomic +github.com/getkin/kin-openapi/openapi3gen/internal/subpkg +crypto/subtle internal/race +unicode/utf8 +internal/cpu +crypto/internal/boring/sig runtime/internal/syscall -crypto/subtle sync/atomic +internal/goarch +internal/chacha8rand internal/abi runtime/internal/math -internal/chacha8rand -unicode -vendor/golang.org/x/crypto/cryptobyte/asn1 -vendor/golang.org/x/crypto/internal/alias -github.com/getkin/kin-openapi/openapi3gen/internal/subpkg -internal/unsafeheader runtime/internal/sys -unicode/utf8 -internal/cpu -crypto/internal/boring/sig slices -internal/bytealg math +internal/bytealg runtime internal/reflectlite sync internal/testlog -github.com/josharian/intern -internal/singleflight internal/bisect +internal/singleflight +github.com/josharian/intern runtime/cgo errors sort io -strconv -internal/godebug +path internal/oserror internal/safefilepath -path +strconv +internal/godebug vendor/golang.org/x/net/dns/dnsmessage +syscall crypto/internal/nistec/fiat -internal/intern bytes -hash strings -math/rand -syscall +internal/intern +hash crypto/internal/randutil +math/rand hash/crc32 -net/netip +reflect crypto crypto/rc4 -reflect +net/netip vendor/golang.org/x/text/transform -regexp/syntax net/http/internal/ascii bufio -regexp -internal/syscall/unix -internal/syscall/execenv +regexp/syntax time -internal/fmtsort +internal/syscall/execenv +internal/syscall/unix +regexp +io/fs +context +internal/poll +embed encoding/binary +internal/fmtsort +github.com/mohae/deepcopy +os encoding/base64 -crypto/cipher crypto/internal/edwards25519/field +crypto/cipher crypto/md5 vendor/golang.org/x/crypto/internal/poly1305 -internal/poll -io/fs -github.com/mohae/deepcopy -context +crypto/internal/nistec encoding/pem +vendor/golang.org/x/crypto/chacha20 crypto/internal/boring crypto/des -vendor/golang.org/x/crypto/chacha20 crypto/internal/edwards25519 -crypto/aes crypto/sha512 crypto/hmac +crypto/aes crypto/sha1 crypto/sha256 -embed vendor/golang.org/x/crypto/hkdf -crypto/internal/nistec -os -crypto/ecdh fmt path/filepath vendor/golang.org/x/sys/cpu net +crypto/ecdh vendor/golang.org/x/crypto/chacha20poly1305 -encoding/json log -mime mime/quotedprintable +mime +compress/flate +encoding/hex +net/http/internal github.com/getkin/kin-openapi/routers/legacy/pathpattern net/url -net/http/internal -vendor/golang.org/x/net/http2/hpack -encoding/hex encoding/csv +vendor/golang.org/x/net/http2/hpack +math/big gopkg.in/yaml.v3 -compress/flate vendor/golang.org/x/text/unicode/norm -math/big +encoding/json vendor/golang.org/x/text/unicode/bidi compress/gzip archive/zip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna github.com/mailru/easyjson/jlexer -github.com/perimeterx/marshmallow crypto/rand +crypto/elliptic crypto/internal/boring/bbig crypto/internal/bigmod -crypto/elliptic -encoding/asn1 crypto/dsa -github.com/invopop/yaml +encoding/asn1 +github.com/perimeterx/marshmallow crypto/ed25519 crypto/rsa vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix +github.com/invopop/yaml crypto/ecdsa github.com/mailru/easyjson/buffer net/textproto @@ -615,27 +651,27 @@ crypto/tls net/http/httptrace net/http -github.com/go-openapi/swag github.com/gorilla/mux +github.com/go-openapi/swag github.com/go-openapi/jsonpointer github.com/getkin/kin-openapi/openapi3 -github.com/getkin/kin-openapi/routers -github.com/getkin/kin-openapi/openapi2 github.com/getkin/kin-openapi/openapi3gen +github.com/getkin/kin-openapi/openapi2 +github.com/getkin/kin-openapi/routers github.com/getkin/kin-openapi/routers/legacy github.com/getkin/kin-openapi/routers/gorillamux -github.com/getkin/kin-openapi/openapi2conv github.com/getkin/kin-openapi/openapi3filter +github.com/getkin/kin-openapi/openapi2conv dh_auto_test -O--builddirectory=_build - cd _build && go test -vet=off -v -p 20 github.com/getkin/kin-openapi/openapi2 github.com/getkin/kin-openapi/openapi2conv github.com/getkin/kin-openapi/openapi3 github.com/getkin/kin-openapi/openapi3filter github.com/getkin/kin-openapi/openapi3gen github.com/getkin/kin-openapi/openapi3gen/internal/subpkg github.com/getkin/kin-openapi/routers github.com/getkin/kin-openapi/routers/gorillamux github.com/getkin/kin-openapi/routers/legacy github.com/getkin/kin-openapi/routers/legacy/pathpattern + cd _build && go test -vet=off -v -p 42 github.com/getkin/kin-openapi/openapi2 github.com/getkin/kin-openapi/openapi2conv github.com/getkin/kin-openapi/openapi3 github.com/getkin/kin-openapi/openapi3filter github.com/getkin/kin-openapi/openapi3gen github.com/getkin/kin-openapi/openapi3gen/internal/subpkg github.com/getkin/kin-openapi/routers github.com/getkin/kin-openapi/routers/gorillamux github.com/getkin/kin-openapi/routers/legacy github.com/getkin/kin-openapi/routers/legacy/pathpattern === RUN TestUnmarshalError --- PASS: TestUnmarshalError (0.00s) === RUN Example ---- PASS: Example (0.11s) +--- PASS: Example (0.06s) PASS -ok github.com/getkin/kin-openapi/openapi2 0.152s +ok github.com/getkin/kin-openapi/openapi2 0.089s === RUN TestIssue187 ---- PASS: TestIssue187 (0.01s) +--- PASS: TestIssue187 (0.00s) === RUN TestIssue237 --- PASS: TestIssue237 (0.00s) === RUN TestPR449 @@ -649,13 +685,13 @@ === RUN TestIssue847 --- PASS: TestIssue847 (0.00s) === RUN TestConvOpenAPIV3ToV2 ---- PASS: TestConvOpenAPIV3ToV2 (0.01s) +--- PASS: TestConvOpenAPIV3ToV2 (0.02s) === RUN TestConvOpenAPIV3ToV2WithReqBody --- PASS: TestConvOpenAPIV3ToV2WithReqBody (0.00s) === RUN TestConvOpenAPIV2ToV3 ---- PASS: TestConvOpenAPIV2ToV3 (0.11s) +--- PASS: TestConvOpenAPIV2ToV3 (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi2conv 0.207s +ok github.com/getkin/kin-openapi/openapi2conv 0.066s ? github.com/getkin/kin-openapi/openapi3gen/internal/subpkg [no test files] === RUN TestContent_Get === RUN TestContent_Get/missing @@ -726,11 +762,11 @@ === RUN TestInternalizeRefs/testdata/spec.yaml === RUN TestInternalizeRefs/testdata/callbacks.yml === RUN TestInternalizeRefs/testdata/issue831/testref.internalizepath.openapi.yml ---- PASS: TestInternalizeRefs (0.01s) +--- PASS: TestInternalizeRefs (0.02s) --- PASS: TestInternalizeRefs/testdata/testref.openapi.yml (0.00s) - --- PASS: TestInternalizeRefs/testdata/recursiveRef/openapi.yml (0.00s) + --- PASS: TestInternalizeRefs/testdata/recursiveRef/openapi.yml (0.01s) --- PASS: TestInternalizeRefs/testdata/spec.yaml (0.00s) - --- PASS: TestInternalizeRefs/testdata/callbacks.yml (0.00s) + --- PASS: TestInternalizeRefs/testdata/callbacks.yml (0.01s) --- PASS: TestInternalizeRefs/testdata/issue831/testref.internalizepath.openapi.yml (0.00s) === RUN TestIssue136 === RUN TestIssue136/"foo" @@ -739,7 +775,7 @@ --- PASS: TestIssue136/"foo" (0.00s) --- PASS: TestIssue136/1 (0.00s) === RUN TestIssue301 ---- PASS: TestIssue301 (0.00s) +--- PASS: TestIssue301 (0.01s) === RUN TestIssue341 --- PASS: TestIssue341 (0.00s) === RUN TestIssue344 @@ -750,26 +786,26 @@ --- PASS: TestExclusiveValuesOfValuesAdditionalProperties (0.00s) === RUN TestMultijsonTagSerialization === RUN TestMultijsonTagSerialization/spec00 +=== RUN TestMultijsonTagSerialization/spec00/unset === RUN TestMultijsonTagSerialization/spec00/empty-object === RUN TestMultijsonTagSerialization/spec00/object === RUN TestMultijsonTagSerialization/spec00/boolean -=== RUN TestMultijsonTagSerialization/spec00/unset === RUN TestMultijsonTagSerialization/spec01 -=== RUN TestMultijsonTagSerialization/spec01/object -=== RUN TestMultijsonTagSerialization/spec01/unset === RUN TestMultijsonTagSerialization/spec01/boolean === RUN TestMultijsonTagSerialization/spec01/empty-object ---- PASS: TestMultijsonTagSerialization (0.01s) +=== RUN TestMultijsonTagSerialization/spec01/object +=== RUN TestMultijsonTagSerialization/spec01/unset +--- PASS: TestMultijsonTagSerialization (0.00s) --- PASS: TestMultijsonTagSerialization/spec00 (0.00s) + --- PASS: TestMultijsonTagSerialization/spec00/unset (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/empty-object (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/object (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/boolean (0.00s) - --- PASS: TestMultijsonTagSerialization/spec00/unset (0.00s) --- PASS: TestMultijsonTagSerialization/spec01 (0.00s) - --- PASS: TestMultijsonTagSerialization/spec01/object (0.00s) - --- PASS: TestMultijsonTagSerialization/spec01/unset (0.00s) --- PASS: TestMultijsonTagSerialization/spec01/boolean (0.00s) --- PASS: TestMultijsonTagSerialization/spec01/empty-object (0.00s) + --- PASS: TestMultijsonTagSerialization/spec01/object (0.00s) + --- PASS: TestMultijsonTagSerialization/spec01/unset (0.00s) === RUN TestOverridingGlobalParametersValidation --- PASS: TestOverridingGlobalParametersValidation (0.00s) === RUN TestIssue495 @@ -778,30 +814,30 @@ issue495_test.go:88: fails with "lookup json-schema.org on 127.0.0.53:53: no such host" on Launchpad build farm, skipping --- SKIP: TestIssue495WithDraft04 (0.00s) === RUN TestIssue495WithDraft04Bis ---- PASS: TestIssue495WithDraft04Bis (0.05s) +--- PASS: TestIssue495WithDraft04Bis (0.07s) === RUN TestExtraSiblingsInRemoteRef issue513_test.go:11: skipping Internet test during Debian build ---- SKIP: TestExtraSiblingsInRemoteRef (0.01s) +--- SKIP: TestExtraSiblingsInRemoteRef (0.00s) === RUN TestIssue513OKWithExtension --- PASS: TestIssue513OKWithExtension (0.00s) === RUN TestIssue513KOHasExtraFieldSchema --- PASS: TestIssue513KOHasExtraFieldSchema (0.00s) === RUN TestIssue513KOMixesRefAlongWithOtherFieldsDisallowed ---- PASS: TestIssue513KOMixesRefAlongWithOtherFieldsDisallowed (0.00s) +--- PASS: TestIssue513KOMixesRefAlongWithOtherFieldsDisallowed (0.01s) === RUN TestIssue513KOMixesRefAlongWithOtherFieldsAllowed --- PASS: TestIssue513KOMixesRefAlongWithOtherFieldsAllowed (0.00s) === RUN TestIssue542 --- PASS: TestIssue542 (0.00s) === RUN TestIssue570 ---- PASS: TestIssue570 (0.03s) +--- PASS: TestIssue570 (0.04s) === RUN TestIssue601 ---- PASS: TestIssue601 (0.04s) +--- PASS: TestIssue601 (0.03s) === RUN TestIssue618 --- PASS: TestIssue618 (0.00s) === RUN TestIssue638 ---- PASS: TestIssue638 (0.06s) +--- PASS: TestIssue638 (0.05s) === RUN TestIssue697 ---- PASS: TestIssue697 (0.01s) +--- PASS: TestIssue697 (0.00s) === RUN TestIssue735 === RUN TestIssue735/type_string === RUN TestIssue735/type_boolean @@ -840,7 +876,7 @@ === RUN TestIssue735/ipv6_format === RUN TestIssue735/email_format === RUN TestIssue735/byte_format ---- PASS: TestIssue735 (0.00s) +--- PASS: TestIssue735 (0.02s) --- PASS: TestIssue735/type_string (0.00s) --- PASS: TestIssue735/type_boolean (0.00s) --- PASS: TestIssue735/type_integer (0.00s) @@ -879,17 +915,17 @@ --- PASS: TestIssue735/email_format (0.00s) --- PASS: TestIssue735/byte_format (0.00s) === RUN TestIssue741 ---- PASS: TestIssue741 (0.03s) +--- PASS: TestIssue741 (0.01s) === RUN TestIssue746 --- PASS: TestIssue746 (0.00s) === RUN TestIssue753 ---- PASS: TestIssue753 (0.02s) +--- PASS: TestIssue753 (0.01s) === RUN TestIssue759 --- PASS: TestIssue759 (0.00s) === RUN TestCrashOnLoad --- PASS: TestCrashOnLoad (0.00s) === RUN TestIssue796 ---- PASS: TestIssue796 (0.40s) +--- PASS: TestIssue796 (0.42s) === RUN TestIssue819ResponsesGetPatternedFields --- PASS: TestIssue819ResponsesGetPatternedFields (0.00s) === RUN TestJSONSpecResponseDescriptionEmptiness @@ -904,7 +940,7 @@ === RUN TestLoadFromRemoteURLFailsWithHttpError --- PASS: TestLoadFromRemoteURLFailsWithHttpError (0.00s) === RUN TestIssue212 ---- PASS: TestIssue212 (0.01s) +--- PASS: TestIssue212 (0.00s) === RUN TestIssue220 loader_issue220_test.go:15: specPath: "testdata/my-openapi.json" loader_issue220_test.go:15: specPath: "testdata/my-openapi.json" @@ -917,7 +953,7 @@ === RUN TestLoadOutsideRefs --- PASS: TestLoadOutsideRefs (0.00s) === RUN TestIssue423 ---- PASS: TestIssue423 (0.00s) +--- PASS: TestIssue423 (0.01s) === RUN TestPathsMustStartWithSlash --- PASS: TestPathsMustStartWithSlash (0.00s) === RUN TestLoaderReadFromURIFunc @@ -972,7 +1008,7 @@ loader_relative_refs_test.go:225: testcase "PathOperationResponseSchemaRef" loader_relative_refs_test.go:225: testcase "ComponentHeaderSchemaRef" loader_relative_refs_test.go:225: testcase "RequestResponseHeaderRef" ---- PASS: TestLoadFromDataWithExternalNestedRef (0.03s) +--- PASS: TestLoadFromDataWithExternalNestedRef (0.04s) === RUN TestLoadSpecWithRelativeDocumentRefs === RUN TestLoadSpecWithRelativeDocumentRefs/SchemaRef === RUN TestLoadSpecWithRelativeDocumentRefs/ResponseRef @@ -983,9 +1019,9 @@ === RUN TestLoadSpecWithRelativeDocumentRefs/HeaderRef#01 === RUN TestLoadSpecWithRelativeDocumentRefs/SecuritySchemeRef === RUN TestLoadSpecWithRelativeDocumentRefs/PathRef ---- PASS: TestLoadSpecWithRelativeDocumentRefs (0.02s) +--- PASS: TestLoadSpecWithRelativeDocumentRefs (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/SchemaRef (0.00s) - --- PASS: TestLoadSpecWithRelativeDocumentRefs/ResponseRef (0.02s) + --- PASS: TestLoadSpecWithRelativeDocumentRefs/ResponseRef (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/ParameterRef (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/ExampleRef (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/RequestRef (0.00s) @@ -994,7 +1030,7 @@ --- PASS: TestLoadSpecWithRelativeDocumentRefs/SecuritySchemeRef (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/PathRef (0.00s) === RUN TestLoadSpecWithRelativeDocumentRefs2 ---- PASS: TestLoadSpecWithRelativeDocumentRefs2 (0.00s) +--- PASS: TestLoadSpecWithRelativeDocumentRefs2 (0.01s) === RUN TestLoadYAML --- PASS: TestLoadYAML (0.00s) === RUN TestIssue731 @@ -1010,7 +1046,7 @@ === RUN TestLoadRequestExampleRef --- PASS: TestLoadRequestExampleRef (0.00s) === RUN TestLoadFromRemoteURL ---- PASS: TestLoadFromRemoteURL (0.00s) +--- PASS: TestLoadFromRemoteURL (0.01s) === RUN TestLoadWithReferenceInReference --- PASS: TestLoadWithReferenceInReference (0.00s) === RUN TestLoadWithRecursiveReferenceInLocalReferenceInParentSubdir @@ -1020,13 +1056,13 @@ === RUN TestLoadWithReferenceInReferenceInProperty --- PASS: TestLoadWithReferenceInReferenceInProperty (0.00s) === RUN TestLoadFileWithExternalSchemaRef ---- PASS: TestLoadFileWithExternalSchemaRef (0.01s) +--- PASS: TestLoadFileWithExternalSchemaRef (0.00s) === RUN TestLoadFileWithExternalSchemaRefSingleComponent --- PASS: TestLoadFileWithExternalSchemaRefSingleComponent (0.00s) === RUN TestLoadRequestResponseHeaderRef --- PASS: TestLoadRequestResponseHeaderRef (0.00s) === RUN TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef ---- PASS: TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef (0.00s) +--- PASS: TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef (0.01s) === RUN TestLoadYamlFile --- PASS: TestLoadYamlFile (0.00s) === RUN TestLoadYamlFileWithExternalSchemaRef @@ -1040,25 +1076,25 @@ === RUN TestResolveNonComponentsRef --- PASS: TestResolveNonComponentsRef (0.00s) === RUN TestServersVariables -=== RUN TestServersVariables/{url:_"http://www.example.com",_variables:_{x:_{enum:_["www"]}}} -=== RUN TestServersVariables/{url:_"http://{x}.y}.example.com"} +=== RUN TestServersVariables/{url:_"http://{y}.example.com",_variables:_{x:_{enum:_["www"]}}} +=== RUN TestServersVariables/{url:_"http://{x}.{y}.example.com"} === RUN TestServersVariables/{url:_"http://{x.example.com"} -=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} +=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www",_enum:_["www"]}}} === RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{enum:_["www"]}}} === RUN TestServersVariables/{url:_/} -=== RUN TestServersVariables/{url:_"http://{x}.{y}.example.com"} -=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www",_enum:_["www"]}}} -=== RUN TestServersVariables/{url:_"http://{y}.example.com",_variables:_{x:_{enum:_["www"]}}} +=== RUN TestServersVariables/{url:_"http://{x}.y}.example.com"} +=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} +=== RUN TestServersVariables/{url:_"http://www.example.com",_variables:_{x:_{enum:_["www"]}}} --- PASS: TestServersVariables (0.00s) - --- PASS: TestServersVariables/{url:_"http://www.example.com",_variables:_{x:_{enum:_["www"]}}} (0.00s) - --- PASS: TestServersVariables/{url:_"http://{x}.y}.example.com"} (0.00s) + --- PASS: TestServersVariables/{url:_"http://{y}.example.com",_variables:_{x:_{enum:_["www"]}}} (0.00s) + --- PASS: TestServersVariables/{url:_"http://{x}.{y}.example.com"} (0.00s) --- PASS: TestServersVariables/{url:_"http://{x.example.com"} (0.00s) - --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} (0.00s) + --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www",_enum:_["www"]}}} (0.00s) --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{enum:_["www"]}}} (0.00s) --- PASS: TestServersVariables/{url:_/} (0.00s) - --- PASS: TestServersVariables/{url:_"http://{x}.{y}.example.com"} (0.00s) - --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www",_enum:_["www"]}}} (0.00s) - --- PASS: TestServersVariables/{url:_"http://{y}.example.com",_variables:_{x:_{enum:_["www"]}}} (0.00s) + --- PASS: TestServersVariables/{url:_"http://{x}.y}.example.com"} (0.00s) + --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} (0.00s) + --- PASS: TestServersVariables/{url:_"http://www.example.com",_variables:_{x:_{enum:_["www"]}}} (0.00s) === RUN TestReadFromIoReader --- PASS: TestReadFromIoReader (0.00s) === RUN TestReadFromIoReader_Nil @@ -1066,7 +1102,7 @@ === RUN TestMaplikeMethods === PAUSE TestMaplikeMethods === RUN TestUnmarshalError ---- PASS: TestUnmarshalError (0.01s) +--- PASS: TestUnmarshalError (0.00s) === RUN TestMediaTypeJSON media_type_test.go:12: Marshal *openapi3.MediaType to JSON media_type_test.go:17: Unmarshal *openapi3.MediaType from JSON @@ -1088,7 +1124,7 @@ openapi3_test.go:69: Resolve refs in marshaled *T openapi3_test.go:74: Validate *T openapi3_test.go:80: Ensure representations match ---- PASS: TestRefsYAML (0.02s) +--- PASS: TestRefsYAML (0.01s) === RUN TestValidation === RUN TestValidation/no_errors === RUN TestValidation/version_is_missing @@ -1097,9 +1133,9 @@ === RUN TestValidation/paths_section_is_missing === RUN TestValidation/externalDocs_section_is_invalid === RUN TestValidation/tags_section_is_invalid ---- PASS: TestValidation (0.02s) +--- PASS: TestValidation (0.01s) --- PASS: TestValidation/no_errors (0.00s) - --- PASS: TestValidation/version_is_missing (0.01s) + --- PASS: TestValidation/version_is_missing (0.00s) --- PASS: TestValidation/version_is_empty_string (0.00s) --- PASS: TestValidation/info_section_is_missing (0.00s) --- PASS: TestValidation/paths_section_is_missing (0.00s) @@ -1118,7 +1154,7 @@ --- PASS: TestOperationValidation/when_no_Responses_object_is_provided (0.00s) --- PASS: TestOperationValidation/when_a_Responses_object_is_provided (0.00s) === RUN TestPathParametersMatchPath ---- PASS: TestPathParametersMatchPath (0.01s) +--- PASS: TestPathParametersMatchPath (0.00s) === RUN TestPathItemParametersAreValidated --- PASS: TestPathItemParametersAreValidated (0.00s) === RUN TestParameterMultipleContentEntries @@ -1134,11 +1170,11 @@ --- PASS: TestPathsValidate/operation_ids_are_not_unique,_same_path (0.00s) --- PASS: TestPathsValidate/operation_ids_are_not_unique,_different_paths (0.00s) === RUN TestIssue222 ---- PASS: TestIssue222 (0.00s) +--- PASS: TestIssue222 (0.01s) === RUN TestIssue247 --- PASS: TestIssue247 (0.00s) === RUN TestEmptyResponsesAreInvalid ---- PASS: TestEmptyResponsesAreInvalid (0.00s) +--- PASS: TestEmptyResponsesAreInvalid (0.01s) === RUN TestIssue430 --- PASS: TestIssue430 (0.00s) === RUN TestFormatCallback_WrapError @@ -1156,9 +1192,9 @@ --- PASS: TestUuidFormat/uuid_v4 (0.00s) --- PASS: TestUuidFormat/uuid_nil (0.00s) === RUN TestIssue289 ---- PASS: TestIssue289 (0.00s) +--- PASS: TestIssue289 (0.01s) === RUN TestIssue492 ---- PASS: TestIssue492 (0.01s) +--- PASS: TestIssue492 (0.00s) === RUN TestVisitJSON_OneOf_MissingDescriptorProperty --- PASS: TestVisitJSON_OneOf_MissingDescriptorProperty (0.00s) === RUN TestVisitJSON_OneOf_MissingDescriptorValue @@ -1204,7 +1240,7 @@ === RUN TestSchemas/ANY_OF === RUN TestSchemas/ALL_OF === RUN TestSchemas/ONE_OF ---- PASS: TestSchemas (0.06s) +--- PASS: TestSchemas (0.03s) --- PASS: TestSchemas/EMPTY_SCHEMA (0.00s) --- PASS: TestSchemas/JUST_NULLABLE (0.00s) --- PASS: TestSchemas/NULLABLE_BOOLEAN (0.00s) @@ -1213,11 +1249,11 @@ --- PASS: TestSchemas/NULLABLE_ANYOF (0.00s) --- PASS: TestSchemas/ANYOF_NULLABLE_CHILD (0.00s) --- PASS: TestSchemas/NULLABLE_ALLOF (0.00s) - --- PASS: TestSchemas/ANYOF_WITH_PARENT_CONSTRAINTS (0.00s) + --- PASS: TestSchemas/ANYOF_WITH_PARENT_CONSTRAINTS (0.01s) --- PASS: TestSchemas/BOOLEAN (0.00s) --- PASS: TestSchemas/NUMBER (0.00s) --- PASS: TestSchemas/INTEGER (0.00s) - --- PASS: TestSchemas/INTEGER_OPTIONAL_INT64_FORMAT (0.01s) + --- PASS: TestSchemas/INTEGER_OPTIONAL_INT64_FORMAT (0.00s) --- PASS: TestSchemas/INTEGER_OPTIONAL_INT32_FORMAT (0.00s) --- PASS: TestSchemas/STRING (0.00s) --- PASS: TestSchemas/STRING:_optional_format_'uuid' (0.00s) @@ -1227,12 +1263,12 @@ --- PASS: TestSchemas/ARRAY_:_items_format_'object' (0.00s) --- PASS: TestSchemas/ARRAY_:_items_format_'object'_and_object_with_a_property_of_array_type_ (0.00s) --- PASS: TestSchemas/ARRAY_:_items_format_'array' (0.00s) - --- PASS: TestSchemas/ARRAY_:_items_format_'array'_and_array_with_object_type_items (0.01s) + --- PASS: TestSchemas/ARRAY_:_items_format_'array'_and_array_with_object_type_items (0.00s) --- PASS: TestSchemas/OBJECT (0.00s) --- PASS: TestSchemas/#00 (0.00s) --- PASS: TestSchemas/#01 (0.00s) --- PASS: TestSchemas/NOT (0.00s) - --- PASS: TestSchemas/ANY_OF (0.01s) + --- PASS: TestSchemas/ANY_OF (0.00s) --- PASS: TestSchemas/ALL_OF (0.00s) --- PASS: TestSchemas/ONE_OF (0.00s) === RUN TestTypes @@ -1308,31 +1344,31 @@ === RUN TestServerParamNames --- PASS: TestServerParamNames (0.00s) === RUN TestServerParamValuesWithPath -=== RUN TestServerParamValuesWithPath/http://baddomain.com/.example.com/a/1.0.0-version/c/d -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/ +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/prefixedc === RUN TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/b-version/c/d +=== RUN TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/1.0.0-version/c/d +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/d === RUN TestServerParamValuesWithPath/http://x.example.com/a/b -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/ +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/ === RUN TestServerParamValuesWithPath/http://x.y.example.com/a/c +=== RUN TestServerParamValuesWithPath/http://baddomain.com/.example.com/a/1.0.0-version/c/d === RUN TestServerParamValuesWithPath/http://baddomain.com/.example.com/a/1.0.0/2/2.0.0-version/c -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/prefixedc +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c === RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/ -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/d -=== RUN TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/1.0.0-version/c/d -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/ --- PASS: TestServerParamValuesWithPath (0.00s) - --- PASS: TestServerParamValuesWithPath/http://baddomain.com/.example.com/a/1.0.0-version/c/d (0.00s) - --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/ (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/prefixedc (0.00s) --- PASS: TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/b-version/c/d (0.00s) + --- PASS: TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/1.0.0-version/c/d (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/d (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.example.com/a/b (0.00s) - --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/ (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/ (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/c (0.00s) + --- PASS: TestServerParamValuesWithPath/http://baddomain.com/.example.com/a/1.0.0-version/c/d (0.00s) --- PASS: TestServerParamValuesWithPath/http://baddomain.com/.example.com/a/1.0.0/2/2.0.0-version/c (0.00s) - --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/prefixedc (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/ (0.00s) - --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/d (0.00s) - --- PASS: TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/1.0.0-version/c/d (0.00s) - --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/ (0.00s) === RUN TestServerParamValuesNoPath === RUN TestServerParamValuesNoPath/https://domain0.domain1.example.com/ --- PASS: TestServerParamValuesNoPath (0.00s) @@ -1364,7 +1400,7 @@ === RUN TestIssue241 --- PASS: TestIssue241 (0.00s) === RUN TestIssue594 ---- PASS: TestIssue594 (1.00s) +--- PASS: TestIssue594 (0.99s) === RUN TestIssue615 --- PASS: TestIssue615 (0.01s) === RUN TestIssue652 @@ -1379,7 +1415,7 @@ === RUN TestIssue883/Roundtrip_invopop/yaml === RUN TestIssue883/Roundtrip_yaml.v3 issue883_test.go:96: TODO: impl https://pkg.go.dev/gopkg.in/yaml.v3#Unmarshaler on maplike types ---- PASS: TestIssue883 (0.01s) +--- PASS: TestIssue883 (0.00s) --- PASS: TestIssue883/Roundtrip_invopop/yaml (0.00s) --- SKIP: TestIssue883/Roundtrip_yaml.v3 (0.00s) === RUN TestLoadCircularRefFromFile @@ -1395,69 +1431,51 @@ === RUN TestIssue409PatternNotIgnored --- PASS: TestIssue409PatternNotIgnored (0.00s) === RUN TestIssue409HygienicUseOfCtx ---- PASS: TestIssue409HygienicUseOfCtx (0.01s) +--- PASS: TestIssue409HygienicUseOfCtx (0.00s) === CONT TestExamplesSchemaValidation === RUN TestExamplesSchemaValidation/examples_validation_disabled +=== CONT TestOneOf_Warning_Errors +=== CONT TestIssue767 === PAUSE TestExamplesSchemaValidation/examples_validation_disabled === RUN TestExamplesSchemaValidation/examples_validation_enabled === PAUSE TestExamplesSchemaValidation/examples_validation_enabled === CONT TestExamplesSchemaValidation/examples_validation_disabled === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples -=== CONT TestExampleObjectValidation +=== RUN TestOneOf_Warning_Errors/valid_value +=== PAUSE TestOneOf_Warning_Errors/valid_value +=== RUN TestOneOf_Warning_Errors/valid_value#01 +=== PAUSE TestOneOf_Warning_Errors/valid_value#01 +=== RUN TestOneOf_Warning_Errors/no_valid_value +=== PAUSE TestOneOf_Warning_Errors/no_valid_value +=== CONT TestOneOf_Warning_Errors/valid_value +=== CONT TestOneOf_Warning_Errors/no_valid_value +=== CONT TestOneOf_Warning_Errors/valid_value#01 +--- PASS: TestOneOf_Warning_Errors (0.00s) + --- PASS: TestOneOf_Warning_Errors/valid_value (0.00s) + --- PASS: TestOneOf_Warning_Errors/no_valid_value (0.00s) + --- PASS: TestOneOf_Warning_Errors/valid_value#01 (0.00s) === CONT TestMaplikeMethods === RUN TestMaplikeMethods/*Responses -=== RUN TestExampleObjectValidation/examples_validation_disabled === PAUSE TestMaplikeMethods/*Responses -=== PAUSE TestExampleObjectValidation/examples_validation_disabled === RUN TestMaplikeMethods/*Callback -=== RUN TestExampleObjectValidation/examples_validation_enabled === PAUSE TestMaplikeMethods/*Callback -=== PAUSE TestExampleObjectValidation/examples_validation_enabled -=== CONT TestExamplesSchemaValidation/examples_validation_enabled -=== CONT TestExampleObjectValidation/examples_validation_disabled === RUN TestMaplikeMethods/*Paths === PAUSE TestMaplikeMethods/*Paths === CONT TestMaplikeMethods/*Responses -=== RUN TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive === RUN TestMaplikeMethods/*Responses/nil -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples === RUN TestMaplikeMethods/*Responses/nonnil -=== CONT TestMaplikeMethods/*Paths -=== RUN TestMaplikeMethods/*Paths/nil -=== RUN TestMaplikeMethods/*Paths/nonnil -=== CONT TestMaplikeMethods/*Callback -=== RUN TestMaplikeMethods/*Callback/nil -=== RUN TestMaplikeMethods/*Callback/nonnil ---- PASS: TestMaplikeMethods (0.00s) - --- PASS: TestMaplikeMethods/*Responses (0.00s) - --- PASS: TestMaplikeMethods/*Responses/nil (0.00s) - --- PASS: TestMaplikeMethods/*Responses/nonnil (0.00s) - --- PASS: TestMaplikeMethods/*Paths (0.01s) - --- PASS: TestMaplikeMethods/*Paths/nil (0.00s) - --- PASS: TestMaplikeMethods/*Paths/nonnil (0.00s) - --- PASS: TestMaplikeMethods/*Callback (0.00s) - --- PASS: TestMaplikeMethods/*Callback/nil (0.00s) - --- PASS: TestMaplikeMethods/*Callback/nonnil (0.00s) +=== CONT TestExampleObjectValidation +=== RUN TestExampleObjectValidation/examples_validation_disabled +=== PAUSE TestExampleObjectValidation/examples_validation_disabled +=== RUN TestExampleObjectValidation/examples_validation_enabled +=== PAUSE TestExampleObjectValidation/examples_validation_enabled +=== CONT TestExampleObjectValidation/examples_validation_disabled +=== RUN TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples === RUN TestExampleObjectValidation/examples_validation_disabled/example_without_value -=== CONT TestExampleObjectValidation/examples_validation_enabled -=== RUN TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive +=== CONT TestExamplesSchemaValidation/examples_validation_enabled === CONT TestIssue689 -=== CONT TestOneOf_Warning_Errors -=== CONT TestIssue767 -=== RUN TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion -=== RUN TestExampleObjectValidation/examples_validation_enabled/example_without_value -=== RUN TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion ---- PASS: TestExampleObjectValidation (0.00s) - --- PASS: TestExampleObjectValidation/examples_validation_disabled (0.03s) - --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive (0.01s) - --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_without_value (0.02s) - --- PASS: TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion (0.00s) - --- PASS: TestExampleObjectValidation/examples_validation_enabled (0.02s) - --- PASS: TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive (0.00s) - --- PASS: TestExampleObjectValidation/examples_validation_enabled/example_without_value (0.00s) - --- PASS: TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion (0.00s) -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples === RUN TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled === PAUSE TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled === RUN TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_disabled @@ -1475,6 +1493,9 @@ === RUN TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_enabled === PAUSE TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_enabled === CONT TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled +=== CONT TestMaplikeMethods/*Paths +=== RUN TestMaplikeMethods/*Paths/nil +=== RUN TestMaplikeMethods/*Paths/nonnil === CONT TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_enabled === CONT TestIssue689/write-only_property_fails_when_write-only_validation_is_enabled === CONT TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_disabled @@ -1491,13 +1512,25 @@ --- PASS: TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_enabled (0.00s) --- PASS: TestIssue689/read-only_property_fails_when_read-only_validation_is_enabled (0.00s) --- PASS: TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_disabled (0.00s) -=== RUN TestOneOf_Warning_Errors/valid_value -=== PAUSE TestOneOf_Warning_Errors/valid_value -=== RUN TestOneOf_Warning_Errors/valid_value#01 -=== PAUSE TestOneOf_Warning_Errors/valid_value#01 -=== RUN TestOneOf_Warning_Errors/no_valid_value -=== PAUSE TestOneOf_Warning_Errors/no_valid_value -=== CONT TestOneOf_Warning_Errors/valid_value +=== CONT TestExampleObjectValidation/examples_validation_enabled +=== RUN TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples +=== RUN TestExampleObjectValidation/examples_validation_enabled/example_without_value +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example +=== RUN TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion +=== CONT TestMaplikeMethods/*Callback +=== RUN TestMaplikeMethods/*Callback/nil +=== RUN TestMaplikeMethods/*Callback/nonnil +--- PASS: TestMaplikeMethods (0.00s) + --- PASS: TestMaplikeMethods/*Responses (0.00s) + --- PASS: TestMaplikeMethods/*Responses/nil (0.00s) + --- PASS: TestMaplikeMethods/*Responses/nonnil (0.00s) + --- PASS: TestMaplikeMethods/*Paths (0.00s) + --- PASS: TestMaplikeMethods/*Paths/nil (0.00s) + --- PASS: TestMaplikeMethods/*Paths/nonnil (0.00s) + --- PASS: TestMaplikeMethods/*Callback (0.01s) + --- PASS: TestMaplikeMethods/*Callback/nil (0.00s) + --- PASS: TestMaplikeMethods/*Callback/nonnil (0.00s) === RUN TestIssue767/default_values_disabled_should_fail_with_minProps_1 === PAUSE TestIssue767/default_values_disabled_should_fail_with_minProps_1 === RUN TestIssue767/default_values_enabled_should_pass_with_minProps_1 @@ -1505,85 +1538,88 @@ === RUN TestIssue767/default_values_enabled_should_pass_with_minProps_2 === PAUSE TestIssue767/default_values_enabled_should_pass_with_minProps_2 === RUN TestIssue767/default_values_enabled_should_fail_with_maxProps_1 +=== RUN TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example === PAUSE TestIssue767/default_values_enabled_should_fail_with_maxProps_1 === RUN TestIssue767/default_values_disabled_should_pass_with_maxProps_1 === PAUSE TestIssue767/default_values_disabled_should_pass_with_maxProps_1 === CONT TestIssue767/default_values_disabled_should_fail_with_minProps_1 -=== CONT TestOneOf_Warning_Errors/no_valid_value -=== CONT TestOneOf_Warning_Errors/valid_value#01 ---- PASS: TestOneOf_Warning_Errors (0.00s) - --- PASS: TestOneOf_Warning_Errors/valid_value (0.00s) - --- PASS: TestOneOf_Warning_Errors/no_valid_value (0.00s) - --- PASS: TestOneOf_Warning_Errors/valid_value#01 (0.00s) === CONT TestIssue767/default_values_enabled_should_fail_with_maxProps_1 === CONT TestIssue767/default_values_disabled_should_pass_with_maxProps_1 -=== CONT TestIssue767/default_values_enabled_should_pass_with_minProps_1 === CONT TestIssue767/default_values_enabled_should_pass_with_minProps_2 ---- PASS: TestIssue767 (0.00s) +=== CONT TestIssue767/default_values_enabled_should_pass_with_minProps_1 +--- PASS: TestIssue767 (0.01s) --- PASS: TestIssue767/default_values_disabled_should_fail_with_minProps_1 (0.00s) --- PASS: TestIssue767/default_values_enabled_should_fail_with_maxProps_1 (0.00s) --- PASS: TestIssue767/default_values_disabled_should_pass_with_maxProps_1 (0.00s) - --- PASS: TestIssue767/default_values_enabled_should_pass_with_minProps_1 (0.00s) --- PASS: TestIssue767/default_values_enabled_should_pass_with_minProps_2 (0.00s) -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example + --- PASS: TestIssue767/default_values_enabled_should_pass_with_minProps_1 (0.00s) +--- PASS: TestExampleObjectValidation (0.00s) + --- PASS: TestExampleObjectValidation/examples_validation_enabled (0.01s) + --- PASS: TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive (0.00s) + --- PASS: TestExampleObjectValidation/examples_validation_enabled/example_without_value (0.00s) + --- PASS: TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion (0.01s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled (0.02s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive (0.00s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_without_value (0.01s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion (0.00s) +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_component_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_mediatype_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_request_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_request_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_response_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_readonly_writeonly_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_readonly_request_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples --- PASS: TestExamplesSchemaValidation (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled (0.18s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled (0.07s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_response_example (0.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled (0.10s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples (0.05s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_component_examples (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_mediatype_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_mediatype_examples (0.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_request_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_request_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_response_example (0.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_example (0.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples (0.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples (0.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_component_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_mediatype_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_mediatype_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_request_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_request_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_response_example (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_example (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_readonly_writeonly_examples (0.01s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_readonly_request_examples (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled (0.18s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples (0.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples (0.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples (0.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples (0.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_response_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples (0.01s) === RUN ExampleLoader --- PASS: ExampleLoader (0.00s) === RUN Example @@ -1591,17 +1627,17 @@ === RUN ExampleSetSchemaErrorMessageCustomizer --- PASS: ExampleSetSchemaErrorMessageCustomizer (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi3 2.322s +ok github.com/getkin/kin-openapi/openapi3 2.115s === RUN TestIssue201 +=== RUN TestIssue201/no_error === RUN TestIssue201/missing_non-required_header === RUN TestIssue201/missing_required_header === RUN TestIssue201/invalid_required_header -=== RUN TestIssue201/no_error ---- PASS: TestIssue201 (0.02s) +--- PASS: TestIssue201 (0.01s) + --- PASS: TestIssue201/no_error (0.00s) --- PASS: TestIssue201/missing_non-required_header (0.00s) --- PASS: TestIssue201/missing_required_header (0.00s) --- PASS: TestIssue201/invalid_required_header (0.00s) - --- PASS: TestIssue201/no_error (0.00s) === RUN TestIssue267 === RUN TestIssue267/application/json === RUN TestIssue267/application/json#01 @@ -1620,11 +1656,11 @@ === RUN TestIssue267/application/x-www-form-urlencoded#06 === RUN TestIssue267/application/x-www-form-urlencoded#07 === RUN TestIssue267/application/x-www-form-urlencoded#08 ---- PASS: TestIssue267 (0.01s) +--- PASS: TestIssue267 (0.00s) --- PASS: TestIssue267/application/json (0.00s) --- PASS: TestIssue267/application/json#01 (0.00s) --- PASS: TestIssue267/application/json#02 (0.00s) - --- PASS: TestIssue267/application/json#03 (0.01s) + --- PASS: TestIssue267/application/json#03 (0.00s) --- PASS: TestIssue267/application/json#04 (0.00s) --- PASS: TestIssue267/application/json#05 (0.00s) --- PASS: TestIssue267/application/json#06 (0.00s) @@ -1647,8 +1683,8 @@ === RUN TestIssue639 === RUN TestIssue639/no_defaults_are_added_to_requests === RUN TestIssue639/defaults_are_added_to_requests ---- PASS: TestIssue639 (0.01s) - --- PASS: TestIssue639/no_defaults_are_added_to_requests (0.01s) +--- PASS: TestIssue639 (0.00s) + --- PASS: TestIssue639/no_defaults_are_added_to_requests (0.00s) --- PASS: TestIssue639/defaults_are_added_to_requests (0.00s) === RUN TestIssue689 === RUN TestIssue689/non_read-only_property_is_added_to_request_when_validation_enabled @@ -1864,8 +1900,8 @@ === RUN TestDecodeParameter/cookie_object/invalid_integer_prop === RUN TestDecodeParameter/cookie_object/invalid_number_prop === RUN TestDecodeParameter/cookie_object/invalid_boolean_prop ---- PASS: TestDecodeParameter (0.06s) - --- PASS: TestDecodeParameter/path_primitive (0.00s) +--- PASS: TestDecodeParameter (0.03s) + --- PASS: TestDecodeParameter/path_primitive (0.01s) --- PASS: TestDecodeParameter/path_primitive/simple (0.00s) --- PASS: TestDecodeParameter/path_primitive/simple_explode (0.00s) --- PASS: TestDecodeParameter/path_primitive/label (0.00s) @@ -1899,7 +1935,7 @@ --- PASS: TestDecodeParameter/path_array/invalid_integer_items (0.00s) --- PASS: TestDecodeParameter/path_array/invalid_number_items (0.00s) --- PASS: TestDecodeParameter/path_array/invalid_boolean_items (0.00s) - --- PASS: TestDecodeParameter/path_object (0.01s) + --- PASS: TestDecodeParameter/path_object (0.00s) --- PASS: TestDecodeParameter/path_object/simple (0.00s) --- PASS: TestDecodeParameter/path_object/simple_explode (0.00s) --- PASS: TestDecodeParameter/path_object/label (0.00s) @@ -1946,7 +1982,7 @@ --- PASS: TestDecodeParameter/query_array/invalid_integer_items (0.00s) --- PASS: TestDecodeParameter/query_array/invalid_number_items (0.00s) --- PASS: TestDecodeParameter/query_array/invalid_boolean_items (0.00s) - --- PASS: TestDecodeParameter/query_object (0.04s) + --- PASS: TestDecodeParameter/query_object (0.01s) --- PASS: TestDecodeParameter/query_object/form (0.00s) --- PASS: TestDecodeParameter/query_object/form_explode (0.00s) --- PASS: TestDecodeParameter/query_object/deepObject_explode (0.00s) @@ -1965,7 +2001,7 @@ --- PASS: TestDecodeParameter/query_object/deepObject_explode_nested_object_with_array (0.00s) --- PASS: TestDecodeParameter/query_object/deepObject_explode_nested_object_with_array_-_bad_value (0.00s) --- PASS: TestDecodeParameter/query_object/deepObject_explode_nested_object_with_nested_array (0.00s) - --- PASS: TestDecodeParameter/query_object/deepObject_explode_nested_object_with_nested_array_on_different_levels (0.02s) + --- PASS: TestDecodeParameter/query_object/deepObject_explode_nested_object_with_nested_array_on_different_levels (0.00s) --- PASS: TestDecodeParameter/query_object/deepObject_explode_array_of_arrays (0.00s) --- PASS: TestDecodeParameter/query_object/deepObject_explode_nested_array_of_objects_-_missing_intermediate_array_index (0.00s) --- PASS: TestDecodeParameter/query_object/deepObject_explode_nested_array_of_objects (0.00s) @@ -2036,7 +2072,7 @@ === RUN TestDecodeBody/multipartWithAdditionalProperties === RUN TestDecodeBody/multipartWithAdditionalPropertiesError === RUN TestDecodeBody/file ---- PASS: TestDecodeBody (0.01s) +--- PASS: TestDecodeBody (0.00s) --- PASS: TestDecodeBody/unsupported_content_type (0.00s) --- PASS: TestDecodeBody/invalid_body_data (0.00s) --- PASS: TestDecodeBody/plain_text (0.00s) @@ -2061,7 +2097,7 @@ === RUN TestReadOnlyWriteOnlyPropertiesValidation/valid_readonly_in_response_and_invalid_readonly_in_request === RUN TestReadOnlyWriteOnlyPropertiesValidation/invalid_writeonly_in_response_and_valid_writeonly_in_request === RUN TestReadOnlyWriteOnlyPropertiesValidation/invalid_writeonly_in_response_and_invalid_readonly_in_request ---- PASS: TestReadOnlyWriteOnlyPropertiesValidation (0.00s) +--- PASS: TestReadOnlyWriteOnlyPropertiesValidation (0.01s) --- PASS: TestReadOnlyWriteOnlyPropertiesValidation/valid_readonly_in_response_and_valid_writeonly_in_request (0.00s) --- PASS: TestReadOnlyWriteOnlyPropertiesValidation/valid_readonly_in_response_and_invalid_readonly_in_request (0.00s) --- PASS: TestReadOnlyWriteOnlyPropertiesValidation/invalid_writeonly_in_response_and_valid_writeonly_in_request (0.00s) @@ -2093,7 +2129,7 @@ === RUN TestValidateQueryParams/deepObject_explode_nested_object_oneOf_-_object === RUN TestValidateQueryParams/deepObject_explode_nested_object_oneOf_-_object_-_more_than_one_match === RUN TestValidateQueryParams/deepObject_explode_nested_object_oneOf_-_array ---- PASS: TestValidateQueryParams (0.00s) +--- PASS: TestValidateQueryParams (0.01s) --- PASS: TestValidateQueryParams/deepObject_explode_additionalProperties_with_object_properties_-_missing_required_property (0.00s) --- PASS: TestValidateQueryParams/deepObject_explode_additionalProperties_with_object_properties_-_extraneous_nested_param_property_ignored (0.00s) --- PASS: TestValidateQueryParams/deepObject_explode_additionalProperties_with_object_properties (0.00s) @@ -2139,7 +2175,7 @@ --- PASS: Test_validateResponseHeader/test_required_non-typed,_nullable_header_not_present (0.00s) --- PASS: Test_validateResponseHeader/test_non-typed,_non-nullable_header_with_single_string_value (0.00s) === RUN TestValidatingRequestParameterAndSetDefault ---- PASS: TestValidatingRequestParameterAndSetDefault (0.01s) +--- PASS: TestValidatingRequestParameterAndSetDefault (0.00s) === RUN TestValidateRequestBodyAndSetDefault === RUN TestValidateRequestBodyAndSetDefault/only_id === RUN TestValidateRequestBodyAndSetDefault/id_&_name @@ -2173,11 +2209,11 @@ === RUN TestValidationWithIntegerEnum === RUN TestValidationWithIntegerEnum/PUT_Request === RUN TestValidationWithIntegerEnum/GET_Request ---- PASS: TestValidationWithIntegerEnum (0.02s) - --- PASS: TestValidationWithIntegerEnum/PUT_Request (0.01s) +--- PASS: TestValidationWithIntegerEnum (0.00s) + --- PASS: TestValidationWithIntegerEnum/PUT_Request (0.00s) --- PASS: TestValidationWithIntegerEnum/GET_Request (0.00s) === RUN TestValidationWithStringEnum ---- PASS: TestValidationWithStringEnum (0.01s) +--- PASS: TestValidationWithStringEnum (0.00s) === RUN TestValidationHandler_validateRequest === RUN TestValidationHandler_validateRequest/error_-_unknown_host === RUN TestValidationHandler_validateRequest/error_-_unknown_path @@ -2217,44 +2253,44 @@ === RUN TestValidationHandler_validateRequest/error_-_missing_path_param === RUN TestValidationHandler_validateRequest/error_-_wrong_path_param_type === RUN TestValidationHandler_validateRequest/success_-_normal_case,_with_path_params ---- PASS: TestValidationHandler_validateRequest (1.22s) +--- PASS: TestValidationHandler_validateRequest (1.07s) --- PASS: TestValidationHandler_validateRequest/error_-_unknown_host (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_path (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_method (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_path (0.02s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_method (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_body_on_POST (0.03s) --- PASS: TestValidationHandler_validateRequest/error_-_empty_body_on_POST (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_content-type_on_POST (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_content-type_on_POST (0.04s) - --- PASS: TestValidationHandler_validateRequest/error_-_unsupported_content-type_on_POST (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_content-type_on_POST (0.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_unsupported_content-type_on_POST (0.03s) --- PASS: TestValidationHandler_validateRequest/success_-_no_content-type_header_required_on_GET (0.03s) - --- PASS: TestValidationHandler_validateRequest/empty_deepobject_query_parameter (0.03s) - --- PASS: TestValidationHandler_validateRequest/deepobject_query_parameter_type (0.03s) + --- PASS: TestValidationHandler_validateRequest/empty_deepobject_query_parameter (0.02s) + --- PASS: TestValidationHandler_validateRequest/deepobject_query_parameter_type (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_bool (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_integer (0.04s) - --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_number (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_integer (0.02s) + --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_number (0.03s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_query_string_parameter (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type_as_integer (0.03s) - --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_query_string_parameter (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_non_required_query_string_has_empty_value (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type_as_integer (0.04s) + --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_query_string_parameter (0.02s) + --- PASS: TestValidationHandler_validateRequest/error_-_non_required_query_string_has_empty_value (0.03s) --- PASS: TestValidationHandler_validateRequest/success_-_non_required_query_string_has_empty_value,_but_has_AllowEmptyValue (0.03s) - --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings (0.03s) + --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings (0.02s) --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings,_array (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_query_string_array_serialization (0.02s) + --- PASS: TestValidationHandler_validateRequest/error_-_invalid_query_string_array_serialization (0.03s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_query_string_parameter (0.03s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) (0.03s) --- PASS: TestValidationHandler_validateRequest/success_-_valid_enum_value,_allowing_commas (0.04s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_string_parameter (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_string_parameter (0.03s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_object_attribute (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_nested_object_attribute (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_deeply_nested_object_attribute (0.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute (0.02s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_nested_object_attribute (0.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_deeply_nested_object_attribute (0.04s) --- PASS: TestValidationHandler_validateRequest/error_-_wrong_attribute_type (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.03s) --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_object_attribute (0.03s) - --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_POST (0.03s) + --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_POST (0.04s) --- PASS: TestValidationHandler_validateRequest/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_path_param (0.05s) - --- PASS: TestValidationHandler_validateRequest/error_-_wrong_path_param_type (0.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_path_param (0.02s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_path_param_type (0.02s) --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_with_path_params (0.02s) === RUN TestValidationErrorEncoder === RUN TestValidationErrorEncoder/error_-_unknown_host @@ -2295,61 +2331,61 @@ === RUN TestValidationErrorEncoder/error_-_missing_path_param === RUN TestValidationErrorEncoder/error_-_wrong_path_param_type === RUN TestValidationErrorEncoder/success_-_normal_case,_with_path_params ---- PASS: TestValidationErrorEncoder (1.21s) +--- PASS: TestValidationErrorEncoder (1.02s) --- PASS: TestValidationErrorEncoder/error_-_unknown_host (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_method (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_missing_body_on_POST (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_empty_body_on_POST (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_missing_content-type_on_POST (0.02s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_method (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_missing_body_on_POST (0.02s) + --- PASS: TestValidationErrorEncoder/error_-_empty_body_on_POST (0.01s) + --- PASS: TestValidationErrorEncoder/error_-_missing_content-type_on_POST (0.03s) --- PASS: TestValidationErrorEncoder/error_-_unknown_content-type_on_POST (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_unsupported_content-type_on_POST (0.02s) - --- PASS: TestValidationErrorEncoder/success_-_no_content-type_header_required_on_GET (0.04s) - --- PASS: TestValidationErrorEncoder/empty_deepobject_query_parameter (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_unsupported_content-type_on_POST (0.03s) + --- PASS: TestValidationErrorEncoder/success_-_no_content-type_header_required_on_GET (0.02s) + --- PASS: TestValidationErrorEncoder/empty_deepobject_query_parameter (0.02s) --- PASS: TestValidationErrorEncoder/deepobject_query_parameter_type (0.03s) --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_bool (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_integer (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_integer (0.02s) --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_number (0.03s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_query_string_parameter (0.03s) --- PASS: TestValidationErrorEncoder/error_-_wrong_query_string_parameter_type_as_integer (0.03s) - --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_query_string_parameter (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_non_required_query_string_has_empty_value (0.03s) - --- PASS: TestValidationErrorEncoder/success_-_non_required_query_string_has_empty_value,_but_has_AllowEmptyValue (0.04s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings (0.03s) + --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_query_string_parameter (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_non_required_query_string_has_empty_value (0.02s) + --- PASS: TestValidationErrorEncoder/success_-_non_required_query_string_has_empty_value,_but_has_AllowEmptyValue (0.03s) + --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings (0.02s) --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings,_array (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_invalid_query_string_array_serialization (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_query_string_parameter (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_query_string_array_serialization (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_query_string_parameter (0.03s) --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) (0.04s) - --- PASS: TestValidationErrorEncoder/success_-_valid_enum_value,_allowing_commas (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_string_parameter (0.04s) + --- PASS: TestValidationErrorEncoder/success_-_valid_enum_value,_allowing_commas (0.02s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_string_parameter (0.02s) --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_object_attribute (0.03s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute (0.03s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_nested_object_attribute (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_missing_required_deeply_nested_object_attribute (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_wrong_attribute_type (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_deeply_nested_object_attribute (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_wrong_attribute_type (0.02s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.02s) --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_object_attribute (0.03s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_POST (0.03s) - --- PASS: TestValidationErrorEncoder/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.02s) + --- PASS: TestValidationErrorEncoder/success_-_normal_case,_POST (0.05s) + --- PASS: TestValidationErrorEncoder/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.03s) --- PASS: TestValidationErrorEncoder/error_-_missing_path_param (0.02s) --- PASS: TestValidationErrorEncoder/error_-_wrong_path_param_type (0.03s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_with_path_params (0.04s) + --- PASS: TestValidationErrorEncoder/success_-_normal_case,_with_path_params (0.02s) === RUN TestValidationHandler_ServeHTTP === RUN TestValidationHandler_ServeHTTP/errors_on_invalid_requests === RUN TestValidationHandler_ServeHTTP/passes_valid_requests_through === RUN TestValidationHandler_ServeHTTP/uses_error_encoder ---- PASS: TestValidationHandler_ServeHTTP (0.10s) - --- PASS: TestValidationHandler_ServeHTTP/errors_on_invalid_requests (0.04s) - --- PASS: TestValidationHandler_ServeHTTP/passes_valid_requests_through (0.03s) - --- PASS: TestValidationHandler_ServeHTTP/uses_error_encoder (0.03s) +--- PASS: TestValidationHandler_ServeHTTP (0.07s) + --- PASS: TestValidationHandler_ServeHTTP/errors_on_invalid_requests (0.02s) + --- PASS: TestValidationHandler_ServeHTTP/passes_valid_requests_through (0.02s) + --- PASS: TestValidationHandler_ServeHTTP/uses_error_encoder (0.02s) === RUN TestValidationHandler_Middleware === RUN TestValidationHandler_Middleware/errors_on_invalid_requests === RUN TestValidationHandler_Middleware/passes_valid_requests_through === RUN TestValidationHandler_Middleware/uses_error_encoder ---- PASS: TestValidationHandler_Middleware (0.07s) +--- PASS: TestValidationHandler_Middleware (0.09s) --- PASS: TestValidationHandler_Middleware/errors_on_invalid_requests (0.03s) - --- PASS: TestValidationHandler_Middleware/passes_valid_requests_through (0.02s) - --- PASS: TestValidationHandler_Middleware/uses_error_encoder (0.02s) + --- PASS: TestValidationHandler_Middleware/passes_valid_requests_through (0.03s) + --- PASS: TestValidationHandler_Middleware/uses_error_encoder (0.03s) === RUN TestFilter validation_test.go:164: Request: POST http://example.com/api/prefix/v/suffix validation_test.go:183: Response: 200 @@ -2406,7 +2442,7 @@ === RUN TestIssue625/failed_allof_object_array === RUN TestIssue625/success_oneof_object_array === RUN TestIssue625/failed_oneof_object_array ---- PASS: TestIssue625 (0.00s) +--- PASS: TestIssue625 (0.01s) --- PASS: TestIssue625/success_anyof_object_array (0.00s) --- PASS: TestIssue625/failed_anyof_object_array (0.00s) --- PASS: TestIssue625/success_allof_object_array (0.00s) @@ -2418,9 +2454,9 @@ === RUN TestIssue641/failed_anyof_pattern === RUN TestIssue641/success_allof_pattern === RUN TestIssue641/failed_allof_pattern ---- PASS: TestIssue641 (0.02s) - --- PASS: TestIssue641/success_anyof_pattern (0.01s) - --- PASS: TestIssue641/failed_anyof_pattern (0.01s) +--- PASS: TestIssue641 (0.00s) + --- PASS: TestIssue641/success_anyof_pattern (0.00s) + --- PASS: TestIssue641/failed_anyof_pattern (0.00s) --- PASS: TestIssue641/success_allof_pattern (0.00s) --- PASS: TestIssue641/failed_allof_pattern (0.00s) === RUN TestValidateMultipartFormDataContainingAllOf @@ -2452,19 +2488,19 @@ === NAME TestValidator middleware_test.go:352: test#2: not found; no GET operation for /test === RUN TestValidator/not_found;_no_GET_operation_for_/test -2024/04/28 06:25:33 validation error: failed to find route for /test?version=1: method not allowed +2025/05/31 12:51:24 validation error: failed to find route for /test?version=1: method not allowed === NAME TestValidator middleware_test.go:352: test#3: not found; no POST operation for /test/42 === RUN TestValidator/not_found;_no_POST_operation_for_/test/42 -2024/04/28 06:25:33 validation error: failed to find route for /test/42?version=1: method not allowed +2025/05/31 12:51:24 validation error: failed to find route for /test/42?version=1: method not allowed === NAME TestValidator middleware_test.go:352: test#4: invalid request; missing version === RUN TestValidator/invalid_request;_missing_version -2024/04/28 06:25:33 invalid request: parameter "version" in query has an error: value is required but missing +2025/05/31 12:51:24 invalid request: parameter "version" in query has an error: value is required but missing === NAME TestValidator middleware_test.go:352: test#5: invalid POST request; wrong property type === RUN TestValidator/invalid_POST_request;_wrong_property_type -2024/04/28 06:25:33 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": value must be a number +2025/05/31 12:51:24 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": value must be a number Schema: { "type": "number" @@ -2475,7 +2511,7 @@ === NAME TestValidator middleware_test.go:352: test#6: invalid POST request; missing property === RUN TestValidator/invalid_POST_request;_missing_property -2024/04/28 06:25:33 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": property "actual" is missing +2025/05/31 12:51:24 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": property "actual" is missing Schema: { "additionalProperties": false, @@ -2506,7 +2542,7 @@ === NAME TestValidator middleware_test.go:352: test#7: invalid POST request; extra property === RUN TestValidator/invalid_POST_request;_extra_property -2024/04/28 06:25:33 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: property "ideal" is unsupported +2025/05/31 12:51:24 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: property "ideal" is unsupported Schema: { "additionalProperties": false, @@ -2542,7 +2578,7 @@ === NAME TestValidator middleware_test.go:352: test#9: invalid response; invalid error === RUN TestValidator/invalid_response;_invalid_error -2024/04/28 06:25:33 invalid response: response body doesn't match schema #/components/schemas/Error: value must be an object +2025/05/31 12:51:24 invalid response: response body doesn't match schema #/components/schemas/Error: value must be an object Schema: { "additionalProperties": false, @@ -2566,7 +2602,7 @@ === NAME TestValidator middleware_test.go:352: test#10: invalid POST response; not strict === RUN TestValidator/invalid_POST_response;_not_strict -2024/04/28 06:25:33 invalid response: response body doesn't match schema #/components/schemas/TestResource: property "extra" is unsupported +2025/05/31 12:51:24 invalid response: response body doesn't match schema #/components/schemas/TestResource: property "extra" is unsupported Schema: { "additionalProperties": false, @@ -2598,14 +2634,14 @@ === NAME TestValidator middleware_test.go:352: test#11: POST response status code not in spec (return 200, spec only has 201) === RUN TestValidator/POST_response_status_code_not_in_spec_(return_200,_spec_only_has_201) -2024/04/28 06:25:33 invalid response: status is not supported ---- PASS: TestValidator (0.05s) +2025/05/31 12:51:24 invalid response: status is not supported +--- PASS: TestValidator (0.02s) --- PASS: TestValidator/valid_GET (0.00s) --- PASS: TestValidator/valid_POST (0.00s) --- PASS: TestValidator/not_found;_no_GET_operation_for_/test (0.00s) --- PASS: TestValidator/not_found;_no_POST_operation_for_/test/42 (0.00s) --- PASS: TestValidator/invalid_request;_missing_version (0.00s) - --- PASS: TestValidator/invalid_POST_request;_wrong_property_type (0.00s) + --- PASS: TestValidator/invalid_POST_request;_wrong_property_type (0.01s) --- PASS: TestValidator/invalid_POST_request;_missing_property (0.00s) --- PASS: TestValidator/invalid_POST_request;_extra_property (0.00s) --- PASS: TestValidator/valid_response;_404_error (0.00s) @@ -2619,12 +2655,12 @@ === RUN Example_validateMultipartFormData --- PASS: Example_validateMultipartFormData (0.00s) === RUN ExampleValidator -2024/04/28 06:25:33 validation error: failed to find route for /square/2: method not allowed -2024/04/28 06:25:33 validation error: failed to find route for /sum/2: no matching operation was found -2024/04/28 06:25:33 validation error: failed to find route for /square/circle/4: no matching operation was found -2024/04/28 06:25:33 validation error: failed to find route for /square: no matching operation was found -2024/04/28 06:25:33 invalid request: parameter "x" in path has an error: value five: an invalid integer: invalid syntax -2024/04/28 06:25:33 invalid response: response body doesn't match schema: property "comment" is unsupported +2025/05/31 12:51:24 validation error: failed to find route for /square/2: method not allowed +2025/05/31 12:51:24 validation error: failed to find route for /sum/2: no matching operation was found +2025/05/31 12:51:24 validation error: failed to find route for /square/circle/4: no matching operation was found +2025/05/31 12:51:24 validation error: failed to find route for /square: no matching operation was found +2025/05/31 12:51:24 invalid request: parameter "x" in path has an error: value five: an invalid integer: invalid syntax +2025/05/31 12:51:24 invalid response: response body doesn't match schema: property "comment" is unsupported Schema: { "additionalProperties": false, @@ -2646,7 +2682,7 @@ "comment": "the answer to the ultimate question of life, the universe, and everything", "result": 1764 } -2024/04/28 06:25:33 invalid response: response body doesn't match schema: Error at "/result": number must be at most 1e+06 +2025/05/31 12:51:24 invalid response: response body doesn't match schema: Error at "/result": number must be at most 1e+06 Schema: { "maximum": 1000000, @@ -2656,13 +2692,13 @@ Value: 4294967296 ---- PASS: ExampleValidator (0.02s) +--- PASS: ExampleValidator (0.00s) === RUN ExampleOptions_WithCustomSchemaErrorFunc --- PASS: ExampleOptions_WithCustomSchemaErrorFunc (0.00s) === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi3filter 2.907s +ok github.com/getkin/kin-openapi/openapi3filter 2.432s === RUN TestExportedNonTagged --- PASS: TestExportedNonTagged (0.00s) === RUN TestEmbeddedPointerStructs @@ -2702,16 +2738,37 @@ === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi3gen 0.019s +ok github.com/getkin/kin-openapi/openapi3gen 0.026s === RUN TestIssue356 - issue356_test.go:66: using servers: "" (true) + issue356_test.go:66: using servers: "\n- url: http://localhost:3000/base\n- url: /base\n" (false) issue356_test.go:76: using NewRouter from gorillamux issue356_test.go:81: using naked newRouter ---- PASS: TestIssue356 (0.00s) + issue356_test.go:103: using httptest.NewServer + issue356_test.go:76: using NewRouter from legacy + issue356_test.go:81: using naked newRouter + issue356_test.go:103: using httptest.NewServer + issue356_test.go:66: using servers: "\n- url: /base\n- url: http://localhost:3000/base\n" (false) + issue356_test.go:76: using NewRouter from gorillamux + issue356_test.go:81: using naked newRouter + issue356_test.go:103: using httptest.NewServer + issue356_test.go:76: using NewRouter from legacy + issue356_test.go:81: using naked newRouter + issue356_test.go:103: using httptest.NewServer + issue356_test.go:66: using servers: "- url: /base" (false) + issue356_test.go:76: using NewRouter from gorillamux + issue356_test.go:81: using naked newRouter + issue356_test.go:103: using httptest.NewServer + issue356_test.go:76: using NewRouter from legacy + issue356_test.go:81: using naked newRouter + issue356_test.go:103: using httptest.NewServer + issue356_test.go:66: using servers: "- url: http://localhost:3000/base" (true) + issue356_test.go:76: using NewRouter from gorillamux + issue356_test.go:81: using naked newRouter +--- PASS: TestIssue356 (0.02s) PASS -ok github.com/getkin/kin-openapi/routers 0.019s +ok github.com/getkin/kin-openapi/routers 0.043s === RUN TestRouter ---- PASS: TestRouter (0.00s) +--- PASS: TestRouter (0.01s) === RUN TestPermuteScheme --- PASS: TestPermuteScheme (0.00s) === RUN TestServerPath @@ -2739,19 +2796,19 @@ === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/gorillamux 0.030s +ok github.com/getkin/kin-openapi/routers/gorillamux 0.026s === RUN TestRouter --- PASS: TestRouter (0.00s) === RUN TestIssue444 ---- PASS: TestIssue444 (0.00s) +--- PASS: TestIssue444 (0.01s) === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/legacy 0.025s +ok github.com/getkin/kin-openapi/routers/legacy 0.026s === RUN TestPatterns --- PASS: TestPatterns (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/legacy/pathpattern 0.016s +ok github.com/getkin/kin-openapi/routers/legacy/pathpattern 0.015s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build dh_prep -O--builddirectory=_build @@ -2778,12 +2835,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2055375/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2055375/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/3075481 and its subdirectories -I: Current time: Sat Apr 27 18:25:49 -12 2024 -I: pbuilder-time-stamp: 1714285549 +I: removing directory /srv/workspace/pbuilder/2055375 and its subdirectories +I: Current time: Sun Jun 1 02:51:41 +14 2025 +I: pbuilder-time-stamp: 1748695901