Diff of the two buildlogs: -- --- b1/build.log 2023-04-18 04:24:11.959481262 +0000 +++ b2/build.log 2023-04-18 04:29:21.941722754 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 17 16:21:11 -12 2023 -I: pbuilder-time-stamp: 1681791671 +I: Current time: Tue May 21 00:48:29 +14 2024 +I: pbuilder-time-stamp: 1716202109 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-getkin-kin-openapi_0.110.0.orig.tar.gz] I: copying [./golang-github-getkin-kin-openapi_0.110.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Jan 25 07:19:12 2023 -12 +gpgv: Signature made Thu Jan 26 09:19:12 2023 +14 gpgv: using RSA key 142421B19AD4A95996F95072EA2500B412C59ACF gpgv: issuer "foka@debian.org" gpgv: Can't check signature: No public key @@ -26,52 +26,84 @@ dpkg-source: info: unpacking golang-github-getkin-kin-openapi_0.110.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/30730/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/32543/tmp/hooks/D01_modify_environment starting +debug: Running on codethink15-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 21 00:48 /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/32543/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/32543/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='30730' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=32543 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.PLq3Z5TS/pbuilderrc_F5f1 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PLq3Z5TS/b1 --logfile b1/build.log golang-github-getkin-kin-openapi_0.110.0-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.PLq3Z5TS/pbuilderrc_mNT3 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PLq3Z5TS/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-getkin-kin-openapi_0.110.0-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink12-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 14 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/30730/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 19 06:47 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/32543/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -176,7 +208,7 @@ Get: 47 http://deb.debian.org/debian bookworm/main arm64 golang-github-gorilla-mux-dev all 1.8.0-1 [46.1 kB] Get: 48 http://deb.debian.org/debian bookworm/main arm64 golang-github-invopop-yaml-dev all 0.2.0-2 [14.4 kB] Get: 49 http://deb.debian.org/debian bookworm/main arm64 golang-github-mohae-deepcopy-dev all 0.0~git20170929.c48cc78-4 [9888 B] -Fetched 93.8 MB in 2s (54.6 MB/s) +Fetched 93.8 MB in 2s (50.8 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 ... 19616 files and directories currently installed.) @@ -386,8 +418,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-getkin-kin-openapi-0.110.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.110.0-1_source.changes +I: user script /srv/workspace/pbuilder/32543/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/32543/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/golang-github-getkin-kin-openapi-0.110.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.110.0-1_source.changes dpkg-buildpackage: info: source package golang-github-getkin-kin-openapi dpkg-buildpackage: info: source version 0.110.0-1 dpkg-buildpackage: info: source distribution unstable @@ -411,15 +452,15 @@ internal/goexperiment internal/goos internal/race +unicode/utf8 +unicode internal/cpu -sync/atomic +encoding runtime/internal/syscall +sync/atomic internal/abi runtime/internal/math runtime/internal/sys -unicode -unicode/utf8 -encoding math/bits internal/itoa unicode/utf16 @@ -443,90 +484,90 @@ runtime/cgo errors sort -internal/oserror +strconv io +internal/oserror internal/safefilepath path vendor/golang.org/x/net/dns/dnsmessage -strconv -syscall crypto/internal/nistec/fiat +syscall +hash bytes strings -hash crypto/internal/randutil hash/crc32 +vendor/golang.org/x/text/transform crypto +regexp/syntax reflect +bufio crypto/rc4 -vendor/golang.org/x/text/transform -regexp/syntax net/http/internal/ascii -bufio -time -internal/syscall/execenv internal/syscall/unix +internal/syscall/execenv +time regexp -context io/fs +context internal/poll embed os -github.com/mohae/deepcopy -internal/fmtsort encoding/binary +internal/fmtsort +github.com/mohae/deepcopy +fmt +internal/godebug +io/ioutil +path/filepath +internal/intern +net/netip encoding/base64 crypto/cipher -crypto/md5 crypto/internal/edwards25519/field -vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/curve25519/internal/field +crypto/md5 crypto/internal/nistec encoding/pem -internal/godebug -fmt -io/ioutil -internal/intern -path/filepath +vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/crypto/curve25519/internal/field crypto/internal/edwards25519 crypto/internal/boring -vendor/golang.org/x/crypto/chacha20 crypto/des -net/netip +vendor/golang.org/x/crypto/chacha20 crypto/aes crypto/sha512 crypto/hmac +net crypto/sha1 crypto/sha256 -vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/crypto/chacha20poly1305 +log mime/quotedprintable mime -log +gopkg.in/yaml.v2 +math/big encoding/json compress/flate -math/big -gopkg.in/yaml.v2 -net encoding/hex net/url vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -compress/gzip vendor/golang.org/x/net/http2/hpack +compress/gzip net/http/internal gopkg.in/yaml.v3 github.com/getkin/kin-openapi/routers/legacy/pathpattern -vendor/golang.org/x/text/secure/bidirule github.com/mailru/easyjson/jlexer github.com/getkin/kin-openapi/jsoninfo -crypto/internal/boring/bbig +vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/net/idna crypto/rand crypto/elliptic -crypto/dsa +crypto/internal/boring/bbig encoding/asn1 -vendor/golang.org/x/net/idna +crypto/dsa crypto/ed25519 crypto/rsa vendor/golang.org/x/crypto/cryptobyte @@ -534,25 +575,25 @@ github.com/invopop/yaml crypto/ecdsa github.com/mailru/easyjson/buffer +net/textproto vendor/golang.org/x/net/http/httpproxy crypto/x509 -net/textproto github.com/mailru/easyjson/jwriter vendor/golang.org/x/net/http/httpguts mime/multipart 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/openapi2 github.com/getkin/kin-openapi/openapi3gen github.com/getkin/kin-openapi/routers -github.com/getkin/kin-openapi/openapi2conv -github.com/getkin/kin-openapi/routers/legacy github.com/getkin/kin-openapi/routers/gorillamux +github.com/getkin/kin-openapi/routers/legacy +github.com/getkin/kin-openapi/openapi2conv github.com/getkin/kin-openapi/openapi3filter dh_auto_test -O--builddirectory=_build cd _build && go test -vet=off -v -p 8 github.com/getkin/kin-openapi/jsoninfo 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/routers github.com/getkin/kin-openapi/routers/gorillamux github.com/getkin/kin-openapi/routers/legacy github.com/getkin/kin-openapi/routers/legacy/pathpattern @@ -563,7 +604,7 @@ === RUN TestUnmarshalStrictStruct === RUN TestUnmarshalStrictStruct/test_unmarshal_with_StrictStruct_without_err === RUN TestUnmarshalStrictStruct/test_unmarshal_with_StrictStruct_with_err ---- PASS: TestUnmarshalStrictStruct (0.00s) +--- PASS: TestUnmarshalStrictStruct (0.01s) --- PASS: TestUnmarshalStrictStruct/test_unmarshal_with_StrictStruct_without_err (0.00s) --- PASS: TestUnmarshalStrictStruct/test_unmarshal_with_StrictStruct_with_err (0.00s) === RUN TestDecodeStructFieldsAndExtensions @@ -599,31 +640,31 @@ marshal_test.go:174: Marshalling *jsoninfo_test.RootType --- PASS: TestExtensions (0.00s) PASS -ok github.com/getkin/kin-openapi/jsoninfo 0.040s +ok github.com/getkin/kin-openapi/jsoninfo 0.101s === RUN Example --- PASS: Example (0.33s) PASS -ok github.com/getkin/kin-openapi/openapi2 0.433s +ok github.com/getkin/kin-openapi/openapi2 0.394s === RUN TestIssue187 ---- PASS: TestIssue187 (0.01s) +--- PASS: TestIssue187 (0.02s) === RUN TestIssue237 ---- PASS: TestIssue237 (0.00s) +--- PASS: TestIssue237 (0.01s) === RUN TestPR449 --- PASS: TestPR449 (0.00s) === RUN TestIssue440 ---- PASS: TestIssue440 (0.02s) +--- PASS: TestIssue440 (0.03s) === RUN TestPR558 ---- PASS: TestPR558 (0.00s) +--- PASS: TestPR558 (0.01s) === RUN TestIssue573 ---- PASS: TestIssue573 (0.02s) +--- PASS: TestIssue573 (0.00s) === RUN TestConvOpenAPIV3ToV2 ---- PASS: TestConvOpenAPIV3ToV2 (0.01s) +--- PASS: TestConvOpenAPIV3ToV2 (0.03s) === RUN TestConvOpenAPIV3ToV2WithReqBody --- PASS: TestConvOpenAPIV3ToV2WithReqBody (0.00s) === RUN TestConvOpenAPIV2ToV3 ---- PASS: TestConvOpenAPIV2ToV3 (0.01s) +--- PASS: TestConvOpenAPIV2ToV3 (0.04s) PASS -ok github.com/getkin/kin-openapi/openapi2conv 0.117s +ok github.com/getkin/kin-openapi/openapi2conv 0.228s === RUN TestContent_Get === RUN TestContent_Get/missing === RUN TestContent_Get/full_match @@ -708,7 +749,7 @@ --- PASS: TestInternalizeRefs/testdata/testref.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.02s) + --- PASS: TestInternalizeRefs/testdata/callbacks.yml (0.01s) === RUN TestIssue136 === RUN TestIssue136/"foo" === RUN TestIssue136/1 @@ -716,9 +757,9 @@ --- 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.01s) +--- PASS: TestIssue341 (0.00s) === RUN TestIssue344 --- PASS: TestIssue344 (0.00s) === RUN TestIssue376 @@ -730,11 +771,11 @@ === RUN TestIssue542 --- PASS: TestIssue542 (0.00s) === RUN TestIssue570 ---- PASS: TestIssue570 (0.13s) +--- PASS: TestIssue570 (0.08s) === RUN TestIssue601 --- PASS: TestIssue601 (0.05s) === RUN TestIssue618 ---- PASS: TestIssue618 (0.01s) +--- PASS: TestIssue618 (0.00s) === RUN TestJSONSpecResponseDescriptionEmptiness loader_empty_response_description_test.go:42: Empty description provided: valid spec loader_empty_response_description_test.go:55: Non-empty description provided: valid spec @@ -747,26 +788,26 @@ === RUN TestLoadFromRemoteURLFailsWithHttpError --- PASS: TestLoadFromRemoteURLFailsWithHttpError (0.01s) === RUN TestIssue212 ---- PASS: TestIssue212 (0.00s) +--- PASS: TestIssue212 (0.01s) === RUN TestIssue220 loader_issue220_test.go:15: specPath: "testdata/my-openapi.json" loader_issue220_test.go:15: specPath: "testdata/my-openapi.json" ---- PASS: TestIssue220 (0.02s) +--- PASS: TestIssue220 (0.00s) === RUN TestIssue235OK --- PASS: TestIssue235OK (0.00s) === RUN TestIssue235CircularDep loader_issue235_test.go:19: TODO: return an error on circular dependencies between external files of a spec --- SKIP: TestIssue235CircularDep (0.00s) === RUN TestLoadOutsideRefs ---- PASS: TestLoadOutsideRefs (0.00s) +--- PASS: TestLoadOutsideRefs (0.01s) === RUN TestPathsMustStartWithSlash --- PASS: TestPathsMustStartWithSlash (0.00s) === RUN TestLoaderReadFromURIFunc ---- PASS: TestLoaderReadFromURIFunc (0.01s) +--- PASS: TestLoaderReadFromURIFunc (0.00s) === RUN TestResolveSchemaExternalRef --- PASS: TestResolveSchemaExternalRef (0.01s) === RUN TestLoaderSupportsRecursiveReference ---- PASS: TestLoaderSupportsRecursiveReference (0.01s) +--- PASS: TestLoaderSupportsRecursiveReference (0.00s) === RUN TestIssue447 --- PASS: TestIssue447 (0.00s) === RUN TestLoadFromDataWithExternalRef @@ -813,7 +854,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.10s) +--- PASS: TestLoadFromDataWithExternalNestedRef (0.06s) === RUN TestLoadSpecWithRelativeDocumentRefs loader_relative_refs_test.go:804: testcase "SchemaRef" loader_relative_refs_test.go:804: testcase "ResponseRef" @@ -826,9 +867,9 @@ loader_relative_refs_test.go:804: testcase "PathRef" --- PASS: TestLoadSpecWithRelativeDocumentRefs (0.01s) === RUN TestLoadSpecWithRelativeDocumentRefs2 ---- PASS: TestLoadSpecWithRelativeDocumentRefs2 (0.01s) +--- PASS: TestLoadSpecWithRelativeDocumentRefs2 (0.02s) === RUN TestLoadYAML ---- PASS: TestLoadYAML (0.01s) +--- PASS: TestLoadYAML (0.00s) === RUN TestResolveSchemaRef --- PASS: TestResolveSchemaRef (0.00s) === RUN TestResolveSchemaRefWithNullSchemaRef @@ -846,11 +887,11 @@ === RUN TestLoadWithReferenceInReference --- PASS: TestLoadWithReferenceInReference (0.00s) === RUN TestLoadWithRecursiveReferenceInLocalReferenceInParentSubdir ---- PASS: TestLoadWithRecursiveReferenceInLocalReferenceInParentSubdir (0.01s) +--- PASS: TestLoadWithRecursiveReferenceInLocalReferenceInParentSubdir (0.00s) === RUN TestLoadWithRecursiveReferenceInRefrerenceInLocalReference --- PASS: TestLoadWithRecursiveReferenceInRefrerenceInLocalReference (0.00s) === RUN TestLoadWithReferenceInReferenceInProperty ---- PASS: TestLoadWithReferenceInReferenceInProperty (0.00s) +--- PASS: TestLoadWithReferenceInReferenceInProperty (0.01s) === RUN TestLoadFileWithExternalSchemaRef --- PASS: TestLoadFileWithExternalSchemaRef (0.00s) === RUN TestLoadFileWithExternalSchemaRefSingleComponent @@ -864,7 +905,7 @@ === RUN TestLoadYamlFileWithExternalSchemaRef --- PASS: TestLoadYamlFileWithExternalSchemaRef (0.00s) === RUN TestLoadYamlFileWithExternalPathRef ---- PASS: TestLoadYamlFileWithExternalPathRef (0.01s) +--- PASS: TestLoadYamlFileWithExternalPathRef (0.00s) === RUN TestResolveResponseLinkRef --- PASS: TestResolveResponseLinkRef (0.00s) === RUN TestLinksFromOAISpec @@ -872,25 +913,25 @@ === RUN TestResolveNonComponentsRef --- PASS: TestResolveNonComponentsRef (0.00s) === RUN TestServersVariables -=== RUN TestServersVariables/{url:_/} +=== RUN TestServersVariables/{url:_"http://{x}.{y}.example.com"} === RUN TestServersVariables/{url:_"http://{x}.y}.example.com"} -=== RUN TestServersVariables/{url:_"http://{x.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",_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:_"http://www.example.com",_variables:_{x:_{enum:_["www"]}}} ---- PASS: TestServersVariables (0.00s) - --- PASS: TestServersVariables/{url:_/} (0.00s) +=== RUN TestServersVariables/{url:_/} +=== 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"]}}} +--- PASS: TestServersVariables (0.01s) + --- PASS: TestServersVariables/{url:_"http://{x}.{y}.example.com"} (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://{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://{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:_"http://www.example.com",_variables:_{x:_{enum:_["www"]}}} (0.00s) + --- PASS: TestServersVariables/{url:_/} (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) === RUN TestMediaTypeJSON media_type_test.go:12: Marshal *openapi3.MediaType to JSON media_type_test.go:17: Unmarshal *openapi3.MediaType from JSON @@ -904,7 +945,7 @@ openapi3_test.go:30: Resolve refs in marshalled *T openapi3_test.go:35: Validate *T openapi3_test.go:41: Ensure representations match ---- PASS: TestRefsJSON (0.02s) +--- PASS: TestRefsJSON (0.01s) === RUN TestRefsYAML openapi3_test.go:54: Marshal *T to YAML openapi3_test.go:59: Unmarshal *T from YAML @@ -928,7 +969,7 @@ --- PASS: TestValidation/info_section_is_missing (0.00s) --- PASS: TestValidation/paths_section_is_missing (0.00s) --- PASS: TestValidation/externalDocs_section_is_invalid (0.00s) - --- PASS: TestValidation/tags_section_is_invalid (0.00s) + --- PASS: TestValidation/tags_section_is_invalid (0.01s) === RUN TestAddParameter --- PASS: TestAddParameter (0.00s) === RUN TestAddResponse @@ -940,7 +981,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 TestPathsValidate === RUN TestPathsValidate/ok,_empty_paths === RUN TestPathsValidate/operation_ids_are_not_unique,_same_path @@ -954,7 +995,7 @@ === RUN TestIssue247 --- PASS: TestIssue247 (0.01s) === RUN TestEmptyResponsesAreInvalid ---- PASS: TestEmptyResponsesAreInvalid (0.03s) +--- PASS: TestEmptyResponsesAreInvalid (0.01s) === RUN TestIssue430 --- PASS: TestIssue430 (0.00s) === RUN TestFormatCallback_WrapError @@ -962,17 +1003,17 @@ === RUN TestReversePathInMessageSchemaError --- PASS: TestReversePathInMessageSchemaError (0.00s) === RUN TestIssue289 ---- PASS: TestIssue289 (0.01s) +--- PASS: TestIssue289 (0.00s) === RUN TestIssue492 --- PASS: TestIssue492 (0.00s) === RUN TestVisitJSON_OneOf_MissingDiscriptorProperty ---- PASS: TestVisitJSON_OneOf_MissingDiscriptorProperty (0.00s) +--- PASS: TestVisitJSON_OneOf_MissingDiscriptorProperty (0.01s) === RUN TestVisitJSON_OneOf_MissingDiscriptorValue ---- PASS: TestVisitJSON_OneOf_MissingDiscriptorValue (0.01s) +--- PASS: TestVisitJSON_OneOf_MissingDiscriptorValue (0.00s) === RUN TestVisitJSON_OneOf_MissingField --- PASS: TestVisitJSON_OneOf_MissingField (0.00s) === RUN TestVisitJSON_OneOf_NoDiscriptor_MissingField ---- PASS: TestVisitJSON_OneOf_NoDiscriptor_MissingField (0.00s) +--- PASS: TestVisitJSON_OneOf_NoDiscriptor_MissingField (0.01s) === RUN TestVisitJSON_OneOf_BadDescriminatorType --- PASS: TestVisitJSON_OneOf_BadDescriminatorType (0.00s) === RUN TestVisitJSON_OneOf_Path @@ -1003,23 +1044,23 @@ === RUN TestSchemas/ANY_OF === RUN TestSchemas/ALL_OF === RUN TestSchemas/ONE_OF ---- PASS: TestSchemas (0.08s) +--- PASS: TestSchemas (0.06s) --- PASS: TestSchemas/EMPTY_SCHEMA (0.00s) --- PASS: TestSchemas/JUST_NULLABLE (0.00s) --- PASS: TestSchemas/NULLABLE_BOOLEAN (0.00s) - --- PASS: TestSchemas/NULLABLE_ANYOF (0.01s) + --- PASS: TestSchemas/NULLABLE_ANYOF (0.00s) --- 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_INT32_FORMAT (0.00s) + --- PASS: TestSchemas/INTEGER_OPTIONAL_INT64_FORMAT (0.00s) + --- PASS: TestSchemas/INTEGER_OPTIONAL_INT32_FORMAT (0.01s) --- PASS: TestSchemas/STRING (0.00s) --- PASS: TestSchemas/STRING:_optional_format_'uuid' (0.00s) --- PASS: TestSchemas/STRING:_format_'date-time' (0.02s) - --- PASS: TestSchemas/STRING:_format_'date-time'#01 (0.00s) + --- PASS: TestSchemas/STRING:_format_'date-time'#01 (0.01s) --- PASS: TestSchemas/ARRAY (0.00s) --- PASS: TestSchemas/ARRAY_:_items_format_'object' (0.00s) - --- PASS: TestSchemas/ARRAY_:_items_format_'object'_and_object_with_a_property_of_array_type_ (0.01s) + --- 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.00s) --- PASS: TestSchemas/OBJECT (0.00s) @@ -1027,7 +1068,7 @@ --- PASS: TestSchemas/#01 (0.00s) --- PASS: TestSchemas/NOT (0.00s) --- PASS: TestSchemas/ANY_OF (0.00s) - --- PASS: TestSchemas/ALL_OF (0.00s) + --- PASS: TestSchemas/ALL_OF (0.01s) --- PASS: TestSchemas/ONE_OF (0.00s) === RUN TestTypes === RUN TestTypes/STRING @@ -1081,7 +1122,7 @@ === RUN TestSecuritySchemaExample/OAuth_Flow_Object_with_empty_scopes === RUN TestSecuritySchemaExample/OIDC_Type_With_URL === RUN TestSecuritySchemaExample/OIDC_Type_Without_URL ---- PASS: TestSecuritySchemaExample (0.01s) +--- PASS: TestSecuritySchemaExample (0.00s) --- PASS: TestSecuritySchemaExample/Basic_Authentication_Sample (0.00s) --- PASS: TestSecuritySchemaExample/Negotiate_Authentication_Sample (0.00s) --- PASS: TestSecuritySchemaExample/Unknown_http_Authentication_Sample (0.00s) @@ -1100,31 +1141,31 @@ === RUN TestServerParamNames --- PASS: TestServerParamNames (0.00s) === RUN TestServerParamValuesWithPath -=== 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/c -=== RUN TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/1.0.0-version/c/d -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/ -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/ -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/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/b-version/c/d -=== RUN TestServerParamValuesWithPath/http://x.example.com/a/b +=== RUN TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/1.0.0-version/c/d === 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/c +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c +=== RUN TestServerParamValuesWithPath/http://x.example.com/a/b +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/ +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/ --- PASS: TestServerParamValuesWithPath (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/c (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) - --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/ (0.00s) - --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/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/b-version/c/d (0.00s) - --- PASS: TestServerParamValuesWithPath/http://x.example.com/a/b (0.00s) + --- PASS: TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/1.0.0-version/c/d (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/c (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.example.com/a/b (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/ (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/ (0.00s) === RUN TestServerParamValuesNoPath === RUN TestServerParamValuesNoPath/https://domain0.domain1.example.com/ --- PASS: TestServerParamValuesNoPath (0.00s) @@ -1156,7 +1197,7 @@ === RUN TestIssue615 --- PASS: TestIssue615 (0.01s) === RUN TestIssue652 ---- PASS: TestIssue652 (0.00s) +--- PASS: TestIssue652 (0.01s) === RUN TestOneOf_Warning_Errors === PAUSE TestOneOf_Warning_Errors === RUN TestLoadCircularRefFromFile @@ -1166,7 +1207,7 @@ === RUN TestRegisterArrayUniqueItemsChecker --- PASS: TestRegisterArrayUniqueItemsChecker (0.00s) === RUN TestIssue409PatternIgnored ---- PASS: TestIssue409PatternIgnored (0.01s) +--- PASS: TestIssue409PatternIgnored (0.00s) === RUN TestIssue409PatternNotIgnored --- PASS: TestIssue409PatternNotIgnored (0.00s) === RUN TestIssue409HygienicUseOfCtx @@ -1174,9 +1215,20 @@ === CONT TestExamplesSchemaValidation === RUN TestExamplesSchemaValidation/examples_validation_disabled === 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 === CONT TestExampleObjectValidation -=== CONT TestVisitJSON_OneOf_Path ---- PASS: TestVisitJSON_OneOf_Path (0.00s) +=== 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 +=== CONT TestExampleObjectValidation/examples_validation_enabled +=== RUN TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive +=== RUN TestExampleObjectValidation/examples_validation_disabled/example_without_value === CONT TestOneOf_Warning_Errors === RUN TestOneOf_Warning_Errors/valid_value === PAUSE TestOneOf_Warning_Errors/valid_value @@ -1185,110 +1237,99 @@ === RUN TestOneOf_Warning_Errors/no_valid_value === PAUSE TestOneOf_Warning_Errors/no_valid_value === CONT TestOneOf_Warning_Errors/valid_value -=== RUN TestExamplesSchemaValidation/examples_validation_enabled -=== PAUSE TestExamplesSchemaValidation/examples_validation_enabled -=== CONT TestExamplesSchemaValidation/examples_validation_disabled -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples -=== CONT TestOneOf_Warning_Errors/valid_value#01 -=== RUN TestExampleObjectValidation/examples_validation_disabled -=== CONT TestExamplesSchemaValidation/examples_validation_enabled -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples +=== CONT TestVisitJSON_OneOf_Path +--- PASS: TestVisitJSON_OneOf_Path (0.00s) === 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/valid_value#01 (0.00s) --- PASS: TestOneOf_Warning_Errors/no_valid_value (0.00s) -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example -=== 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 TestExampleObjectValidation/examples_validation_disabled/example_without_value + --- PASS: TestOneOf_Warning_Errors/valid_value#01 (0.00s) === RUN TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples -=== CONT TestExampleObjectValidation/examples_validation_enabled -=== RUN TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_component_examples === RUN TestExampleObjectValidation/examples_validation_enabled/example_without_value +=== CONT TestExamplesSchemaValidation/examples_validation_enabled +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples === RUN TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples ---- PASS: TestExampleObjectValidation (0.04s) - --- PASS: TestExampleObjectValidation/examples_validation_disabled (0.01s) +--- PASS: TestExampleObjectValidation (0.00s) + --- 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.00s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_without_value (0.01s) --- PASS: TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion (0.00s) - --- PASS: TestExampleObjectValidation/examples_validation_enabled (0.05s) - --- PASS: TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive (0.03s) + --- PASS: TestExampleObjectValidation/examples_validation_enabled (0.03s) + --- PASS: TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive (0.01s) --- 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/invalid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_component_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_mediatype_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_request_example === RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_request_example +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_request_example === RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_response_example +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_request_example === RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_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_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_example +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_readonly_writeonly_examples === RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_readonly_request_examples === RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples ---- PASS: TestExamplesSchemaValidation (0.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled (0.15s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples (0.00s) +--- PASS: TestExamplesSchemaValidation (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled (0.11s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples (0.01s) --- 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.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples (0.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example (0.02s) + --- 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.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example (0.03s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example (0.01s) - --- 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/invalid_schema_request_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example (0.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_response_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled (0.16s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled (0.15s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples (0.03s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example (0.02s) - --- 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_component_examples (0.01s) + --- 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.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_request_example (0.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_response_example (0.01s) + --- 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.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_readonly_request_examples (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_readonly_writeonly_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_readonly_request_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples (0.01s) === RUN ExampleExtensionProps_DecodeWith --- PASS: ExampleExtensionProps_DecodeWith (0.00s) === RUN ExampleLoader --- PASS: ExampleLoader (0.00s) === RUN Example ---- PASS: Example (0.00s) +--- PASS: Example (0.01s) === RUN ExampleSetSchemaErrorMessageCustomizer --- PASS: ExampleSetSchemaErrorMessageCustomizer (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi3 1.048s +ok github.com/getkin/kin-openapi/openapi3 0.850s === RUN TestIssue201 === RUN TestIssue201/invalid_required_header === RUN TestIssue201/no_error @@ -1302,7 +1343,7 @@ === RUN TestIssue624 === RUN TestIssue624/test1 === RUN TestIssue624/test[1 ---- PASS: TestIssue624 (0.01s) +--- PASS: TestIssue624 (0.00s) --- PASS: TestIssue624/test1 (0.00s) --- PASS: TestIssue624/test[1 (0.00s) === RUN TestIssue639 @@ -1447,8 +1488,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.05s) - --- PASS: TestDecodeParameter/path_primitive (0.01s) +--- PASS: TestDecodeParameter (0.04s) + --- PASS: TestDecodeParameter/path_primitive (0.00s) --- PASS: TestDecodeParameter/path_primitive/simple (0.00s) --- PASS: TestDecodeParameter/path_primitive/simple_explode (0.00s) --- PASS: TestDecodeParameter/path_primitive/label (0.00s) @@ -1482,7 +1523,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) @@ -1514,11 +1555,11 @@ --- PASS: TestDecodeParameter/query_Anyof (0.00s) --- PASS: TestDecodeParameter/query_Anyof/anyofSchema_integer (0.00s) --- PASS: TestDecodeParameter/query_Anyof/anyofSchema_string (0.00s) - --- PASS: TestDecodeParameter/query_Oneof (0.00s) + --- PASS: TestDecodeParameter/query_Oneof (0.01s) --- PASS: TestDecodeParameter/query_Oneof/oneofSchema_boolean (0.00s) --- PASS: TestDecodeParameter/query_Oneof/oneofSchema_int (0.00s) --- PASS: TestDecodeParameter/query_Oneof/oneofSchema_string (0.00s) - --- PASS: TestDecodeParameter/query_array (0.01s) + --- PASS: TestDecodeParameter/query_array (0.00s) --- PASS: TestDecodeParameter/query_array/form (0.00s) --- PASS: TestDecodeParameter/query_array/form_explode (0.00s) --- PASS: TestDecodeParameter/query_array/spaceDelimited (0.00s) @@ -1537,7 +1578,7 @@ --- PASS: TestDecodeParameter/query_object/invalid_integer_prop (0.00s) --- PASS: TestDecodeParameter/query_object/invalid_number_prop (0.00s) --- PASS: TestDecodeParameter/query_object/invalid_boolean_prop (0.00s) - --- PASS: TestDecodeParameter/header_primitive (0.01s) + --- PASS: TestDecodeParameter/header_primitive (0.00s) --- PASS: TestDecodeParameter/header_primitive/simple (0.00s) --- PASS: TestDecodeParameter/header_primitive/simple_explode (0.00s) --- PASS: TestDecodeParameter/header_primitive/default (0.00s) @@ -1562,7 +1603,7 @@ --- PASS: TestDecodeParameter/header_object/invalid_integer_prop (0.00s) --- PASS: TestDecodeParameter/header_object/invalid_number_prop (0.00s) --- PASS: TestDecodeParameter/header_object/invalid_boolean_prop (0.00s) - --- PASS: TestDecodeParameter/cookie_primitive (0.01s) + --- PASS: TestDecodeParameter/cookie_primitive (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/form (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/form_explode (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/default (0.00s) @@ -1578,7 +1619,7 @@ --- PASS: TestDecodeParameter/cookie_array/invalid_integer_items (0.00s) --- PASS: TestDecodeParameter/cookie_array/invalid_number_items (0.00s) --- PASS: TestDecodeParameter/cookie_array/invalid_boolean_items (0.00s) - --- PASS: TestDecodeParameter/cookie_object (0.00s) + --- PASS: TestDecodeParameter/cookie_object (0.01s) --- PASS: TestDecodeParameter/cookie_object/form (0.00s) --- PASS: TestDecodeParameter/cookie_object/invalid_integer_prop (0.00s) --- PASS: TestDecodeParameter/cookie_object/invalid_number_prop (0.00s) @@ -1599,7 +1640,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) @@ -1636,7 +1677,7 @@ === RUN TestValidateRequest/Invalid_request_body === RUN TestValidateRequest/Invalid_security === RUN TestValidateRequest/Invalid_request_body_and_security ---- PASS: TestValidateRequest (0.00s) +--- PASS: TestValidateRequest (0.01s) --- PASS: TestValidateRequest/Valid_request_with_all_fields_set (0.00s) --- PASS: TestValidateRequest/Valid_request_without_certain_fields (0.00s) --- PASS: TestValidateRequest/Invalid_operation_params (0.00s) @@ -1705,40 +1746,40 @@ === 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.47s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_host (0.06s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_path (0.04s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_method (0.04s) +--- PASS: TestValidationHandler_validateRequest (1.38s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_host (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_path (0.06s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_method (0.03s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_body_on_POST (0.04s) - --- PASS: TestValidationHandler_validateRequest/error_-_empty_body_on_POST (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_empty_body_on_POST (0.03s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_content-type_on_POST (0.05s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_content-type_on_POST (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_unsupported_content-type_on_POST (0.07s) + --- 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/success_-_no_content-type_header_required_on_GET (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_query_string_parameter (0.05s) - --- PASS: TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type_as_integer (0.04s) - --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_query_string_parameter (0.05s) - --- PASS: TestValidationHandler_validateRequest/error_-_non_required_query_string_has_empty_value (0.04s) - --- PASS: TestValidationHandler_validateRequest/success_-_non_required_query_string_has_empty_value,_but_has_AllowEmptyValue (0.06s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_query_string_parameter (0.07s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type_as_integer (0.05s) + --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_query_string_parameter (0.03s) + --- 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.04s) - --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings,_array (0.05s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_query_string_array_serialization (0.06s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_query_string_parameter (0.05s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) (0.07s) - --- PASS: TestValidationHandler_validateRequest/success_-_valid_enum_value,_allowing_commas (0.03s) + --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings,_array (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_invalid_query_string_array_serialization (0.04s) + --- 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.05s) + --- PASS: TestValidationHandler_validateRequest/success_-_valid_enum_value,_allowing_commas (0.04s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_string_parameter (0.04s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_object_attribute (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute (0.04s) - --- 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_-_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.06s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_deeply_nested_object_attribute (0.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_attribute_type (0.05s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.04s) - --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_object_attribute (0.04s) + --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_object_attribute (0.06s) --- 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.04s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_path_param (0.04s) - --- PASS: TestValidationHandler_validateRequest/error_-_wrong_path_param_type (0.06s) - --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_with_path_params (0.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_path_param (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_path_param_type (0.03s) + --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_with_path_params (0.06s) === RUN TestValidationErrorEncoder === RUN TestValidationErrorEncoder/error_-_unknown_host === RUN TestValidationErrorEncoder/error_-_unknown_path @@ -1773,53 +1814,53 @@ === RUN TestValidationErrorEncoder/error_-_missing_path_param === RUN TestValidationErrorEncoder/error_-_wrong_path_param_type === RUN TestValidationErrorEncoder/success_-_normal_case,_with_path_params ---- PASS: TestValidationErrorEncoder (1.27s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_host (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_method (0.05s) +--- PASS: TestValidationErrorEncoder (1.29s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_host (0.07s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.06s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_method (0.06s) --- PASS: TestValidationErrorEncoder/error_-_missing_body_on_POST (0.03s) --- PASS: TestValidationErrorEncoder/error_-_empty_body_on_POST (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_missing_content-type_on_POST (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_content-type_on_POST (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_missing_content-type_on_POST (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_content-type_on_POST (0.04s) --- PASS: TestValidationErrorEncoder/error_-_unsupported_content-type_on_POST (0.04s) - --- PASS: TestValidationErrorEncoder/success_-_no_content-type_header_required_on_GET (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_missing_required_query_string_parameter (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_wrong_query_string_parameter_type_as_integer (0.04s) - --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_query_string_parameter (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_non_required_query_string_has_empty_value (0.04s) - --- PASS: TestValidationErrorEncoder/success_-_non_required_query_string_has_empty_value,_but_has_AllowEmptyValue (0.03s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings (0.05s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings,_array (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_invalid_query_string_array_serialization (0.06s) - --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_query_string_parameter (0.05s) - --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) (0.06s) - --- PASS: TestValidationErrorEncoder/success_-_valid_enum_value,_allowing_commas (0.04s) + --- PASS: TestValidationErrorEncoder/success_-_no_content-type_header_required_on_GET (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_query_string_parameter (0.04s) + --- 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.04s) + --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings,_array (0.03s) + --- 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_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.03s) - --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_object_attribute (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_missing_required_nested_object_attribute (0.04s) - --- PASS: TestValidationErrorEncoder/error_-_missing_required_deeply_nested_object_attribute (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_wrong_attribute_type (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_object_attribute (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_nested_object_attribute (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_deeply_nested_object_attribute (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_wrong_attribute_type (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.05s) --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_object_attribute (0.03s) --- PASS: TestValidationErrorEncoder/success_-_normal_case,_POST (0.04s) - --- 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.03s) + --- PASS: TestValidationErrorEncoder/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_missing_path_param (0.05s) --- 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.03s) === 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.12s) - --- PASS: TestValidationHandler_ServeHTTP/errors_on_invalid_requests (0.04s) +--- PASS: TestValidationHandler_ServeHTTP (0.10s) + --- PASS: TestValidationHandler_ServeHTTP/errors_on_invalid_requests (0.03s) --- PASS: TestValidationHandler_ServeHTTP/passes_valid_requests_through (0.04s) --- PASS: TestValidationHandler_ServeHTTP/uses_error_encoder (0.04s) === 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.09s) +--- PASS: TestValidationHandler_Middleware (0.11s) --- PASS: TestValidationHandler_Middleware/errors_on_invalid_requests (0.03s) --- PASS: TestValidationHandler_Middleware/passes_valid_requests_through (0.04s) --- PASS: TestValidationHandler_Middleware/uses_error_encoder (0.03s) @@ -1848,7 +1889,7 @@ validation_test.go:165: Request: POST http://example.com/api/prefix/v/suffix?contentArg2={"name":"bob", "id":"a"} validation_test.go:184: Response: 200 validation_test.go:165: Request: POST http://example.com/api/prefix/v/suffix?contentArg2={"name":"bob", "id":"EXCEEDS_MAX_LENGTH"} ---- PASS: TestFilter (0.01s) +--- PASS: TestFilter (0.00s) === RUN TestValidateRequestBody === RUN TestValidateRequestBody/non_required_empty === RUN TestValidateRequestBody/non_required_not_empty @@ -1878,13 +1919,13 @@ === RUN TestIssue625/failed_allof_object_array === RUN TestIssue625/success_oneof_object_array === RUN TestIssue625/faled_oneof_object_array ---- PASS: TestIssue625 (0.01s) +--- PASS: TestIssue625 (0.02s) --- PASS: TestIssue625/success_anyof_object_array (0.00s) --- PASS: TestIssue625/failed_anyof_object_array (0.00s) --- PASS: TestIssue625/success_allof_object_array (0.00s) --- PASS: TestIssue625/failed_allof_object_array (0.00s) --- PASS: TestIssue625/success_oneof_object_array (0.00s) - --- PASS: TestIssue625/faled_oneof_object_array (0.00s) + --- PASS: TestIssue625/faled_oneof_object_array (0.01s) === RUN TestIssue641 === RUN TestIssue641/success_anyof_pattern === RUN TestIssue641/failed_anyof_pattern @@ -1904,19 +1945,19 @@ === CONT TestValidator middleware_test.go:354: test#2: not found; no GET operation for /test === RUN TestValidator/not_found;_no_GET_operation_for_/test -2023/04/17 16:23:28 validation error: failed to find route for /test?version=1: method not allowed +2024/05/21 00:51:36 validation error: failed to find route for /test?version=1: method not allowed === CONT TestValidator middleware_test.go:354: test#3: not found; no POST operation for /test/42 === RUN TestValidator/not_found;_no_POST_operation_for_/test/42 -2023/04/17 16:23:28 validation error: failed to find route for /test/42?version=1: method not allowed +2024/05/21 00:51:36 validation error: failed to find route for /test/42?version=1: method not allowed === CONT TestValidator middleware_test.go:354: test#4: invalid request; missing version === RUN TestValidator/invalid_request;_missing_version -2023/04/17 16:23:28 invalid request: parameter "version" in query has an error: value is required but missing +2024/05/21 00:51:36 invalid request: parameter "version" in query has an error: value is required but missing === CONT TestValidator middleware_test.go:354: test#5: invalid POST request; wrong property type === RUN TestValidator/invalid_POST_request;_wrong_property_type -2023/04/17 16:23:28 invalid request: request body has an error: doesn't match the schema: Error at "/actual": field must be set to number or not be present +2024/05/21 00:51:36 invalid request: request body has an error: doesn't match the schema: Error at "/actual": field must be set to number or not be present Schema: { "type": "number" @@ -1927,7 +1968,7 @@ === CONT TestValidator middleware_test.go:354: test#6: invalid POST request; missing property === RUN TestValidator/invalid_POST_request;_missing_property -2023/04/17 16:23:28 invalid request: request body has an error: doesn't match the schema: Error at "/actual": property "actual" is missing +2024/05/21 00:51:36 invalid request: request body has an error: doesn't match the schema: Error at "/actual": property "actual" is missing Schema: { "additionalProperties": false, @@ -1958,7 +1999,7 @@ === CONT TestValidator middleware_test.go:354: test#7: invalid POST request; extra property === RUN TestValidator/invalid_POST_request;_extra_property -2023/04/17 16:23:28 invalid request: request body has an error: doesn't match the schema: property "ideal" is unsupported +2024/05/21 00:51:36 invalid request: request body has an error: doesn't match the schema: property "ideal" is unsupported Schema: { "additionalProperties": false, @@ -1994,7 +2035,7 @@ === CONT TestValidator middleware_test.go:354: test#9: invalid response; invalid error === RUN TestValidator/invalid_response;_invalid_error -2023/04/17 16:23:28 invalid response: response body doesn't match the schema: field must be set to object or not be present +2024/05/21 00:51:36 invalid response: response body doesn't match the schema: field must be set to object or not be present Schema: { "additionalProperties": false, @@ -2018,7 +2059,7 @@ === CONT TestValidator middleware_test.go:354: test#10: invalid POST response; not strict === RUN TestValidator/invalid_POST_response;_not_strict -2023/04/17 16:23:28 invalid response: response body doesn't match the schema: property "extra" is unsupported +2024/05/21 00:51:36 invalid response: response body doesn't match the schema: property "extra" is unsupported Schema: { "additionalProperties": false, @@ -2050,14 +2091,14 @@ === CONT TestValidator middleware_test.go:354: 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) -2023/04/17 16:23:28 invalid response: status is not supported +2024/05/21 00:51:36 invalid response: status is not supported --- PASS: TestValidator (0.04s) --- 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.01s) + --- PASS: TestValidator/invalid_POST_request;_wrong_property_type (0.00s) --- 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) @@ -2067,12 +2108,12 @@ === RUN Example_validateMultipartFormData --- PASS: Example_validateMultipartFormData (0.00s) === RUN ExampleValidator -2023/04/17 16:23:28 validation error: failed to find route for /square/2: method not allowed -2023/04/17 16:23:28 validation error: failed to find route for /sum/2: no matching operation was found -2023/04/17 16:23:28 validation error: failed to find route for /square/circle/4: no matching operation was found -2023/04/17 16:23:28 validation error: failed to find route for /square: no matching operation was found -2023/04/17 16:23:28 invalid request: parameter "x" in path has an error: value five: an invalid integer: invalid syntax -2023/04/17 16:23:28 invalid response: response body doesn't match the schema: property "comment" is unsupported +2024/05/21 00:51:36 validation error: failed to find route for /square/2: method not allowed +2024/05/21 00:51:36 validation error: failed to find route for /sum/2: no matching operation was found +2024/05/21 00:51:36 validation error: failed to find route for /square/circle/4: no matching operation was found +2024/05/21 00:51:36 validation error: failed to find route for /square: no matching operation was found +2024/05/21 00:51:36 invalid request: parameter "x" in path has an error: value five: an invalid integer: invalid syntax +2024/05/21 00:51:36 invalid response: response body doesn't match the schema: property "comment" is unsupported Schema: { "additionalProperties": false, @@ -2094,7 +2135,7 @@ "comment": "the answer to the ulitimate question of life, the universe, and everything", "result": 1764 } -2023/04/17 16:23:28 invalid response: response body doesn't match the schema: Error at "/result": number must be at most 1e+06 +2024/05/21 00:51:36 invalid response: response body doesn't match the schema: Error at "/result": number must be at most 1e+06 Schema: { "maximum": 1000000, @@ -2104,13 +2145,13 @@ Value: 4294967296 ---- PASS: ExampleValidator (0.01s) +--- PASS: ExampleValidator (0.02s) === RUN ExampleOptions_WithCustomSchemaErrorFunc --- PASS: ExampleOptions_WithCustomSchemaErrorFunc (0.00s) === RUN Example --- PASS: Example (0.01s) PASS -ok github.com/getkin/kin-openapi/openapi3filter 3.173s +ok github.com/getkin/kin-openapi/openapi3filter 3.146s === RUN TestExportedNonTagged --- PASS: TestExportedNonTagged (0.00s) === RUN TestEmbeddedPointerStructs @@ -2124,7 +2165,7 @@ === RUN TestSchemaCustomizerExcludeSchema --- PASS: TestSchemaCustomizerExcludeSchema (0.00s) === RUN ExampleGenerator_SchemaRefs ---- PASS: ExampleGenerator_SchemaRefs (0.00s) +--- PASS: ExampleGenerator_SchemaRefs (0.01s) === RUN ExampleThrowErrorOnCycle --- PASS: ExampleThrowErrorOnCycle (0.00s) === RUN ExampleUseAllExportedFields @@ -2132,20 +2173,27 @@ === RUN ExampleGenerator_GenerateSchemaRef --- PASS: ExampleGenerator_GenerateSchemaRef (0.00s) === RUN ExampleSchemaCustomizer ---- PASS: ExampleSchemaCustomizer (0.02s) +--- PASS: ExampleSchemaCustomizer (0.00s) === RUN ExampleNewSchemaRefForValue_recursive --- PASS: ExampleNewSchemaRefForValue_recursive (0.00s) === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi3gen 0.104s +ok github.com/getkin/kin-openapi/openapi3gen 0.092s === RUN TestIssue356 + 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.01s) PASS -ok github.com/getkin/kin-openapi/routers 0.047s +ok github.com/getkin/kin-openapi/routers 0.076s === RUN TestRouter --- PASS: TestRouter (0.01s) === RUN TestPermuteScheme @@ -2159,19 +2207,19 @@ === RUN Example --- PASS: Example (0.01s) PASS -ok github.com/getkin/kin-openapi/routers/gorillamux 0.085s +ok github.com/getkin/kin-openapi/routers/gorillamux 0.072s === RUN TestRouter ---- PASS: TestRouter (0.01s) +--- PASS: TestRouter (0.00s) === RUN TestIssue444 --- PASS: TestIssue444 (0.00s) === RUN Example ---- PASS: Example (0.01s) +--- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/legacy 0.053s +ok github.com/getkin/kin-openapi/routers/legacy 0.028s === RUN TestPatterns --- PASS: TestPatterns (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/legacy/pathpattern 0.028s +ok github.com/getkin/kin-openapi/routers/legacy/pathpattern 0.050s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build dh_prep -O--builddirectory=_build @@ -2198,12 +2246,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/32543/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/32543/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/30730 and its subdirectories -I: Current time: Mon Apr 17 16:23:45 -12 2023 -I: pbuilder-time-stamp: 1681791825 +I: removing directory /srv/workspace/pbuilder/32543 and its subdirectories +I: Current time: Tue May 21 00:51:54 +14 2024 +I: pbuilder-time-stamp: 1716202314