Diff of the two buildlogs: -- --- b1/build.log 2024-05-07 14:38:06.362235326 +0000 +++ b2/build.log 2024-05-07 14:42:46.166328692 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 7 02:34:43 -12 2024 -I: pbuilder-time-stamp: 1715092483 +I: Current time: Wed May 8 04:38:21 +14 2024 +I: pbuilder-time-stamp: 1715092701 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/26408/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/714/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +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 7 14:38 /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/714/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/714/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='7aeb61fa05fd4b00a3e4d9a772a187ed' - 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='26408' - PS1='# ' - PS2='> ' + INVOCATION_ID=c1676ec85824434f96035ccdad263c81 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=714 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.yvAlPjco/pbuilderrc_K7Y9 --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.yvAlPjco/b1 --logfile b1/build.log golang-github-getkin-kin-openapi_0.124.0-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.yvAlPjco/pbuilderrc_Mb9x --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.yvAlPjco/b2 --logfile b2/build.log golang-github-getkin-kin-openapi_0.124.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 7 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/26408/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 5 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/714/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -186,7 +218,7 @@ Get: 50 http://deb.debian.org/debian trixie/main armhf golang-github-pmezard-go-difflib-dev all 1.0.0-3 [12.3 kB] Get: 51 http://deb.debian.org/debian trixie/main armhf golang-github-stretchr-objx-dev all 0.5.2-1 [25.5 kB] Get: 52 http://deb.debian.org/debian trixie/main armhf golang-github-stretchr-testify-dev all 1.8.4-1 [71.8 kB] -Fetched 60.9 MB in 2s (32.6 MB/s) +Fetched 60.9 MB in 3s (17.7 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 ... 19444 files and directories currently installed.) @@ -416,7 +448,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/714/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/714/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 @@ -434,17 +470,17 @@ dh_autoreconf -O--builddirectory=_build dh_auto_configure -O--builddirectory=_build dh_auto_build -O--builddirectory=_build - cd _build && go install -trimpath -v -p 3 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/unsafeheader + cd _build && go install -trimpath -v -p 4 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/coverage/rtcov internal/goarch internal/cpu -internal/coverage/rtcov +internal/unsafeheader +internal/godebugs internal/abi internal/chacha8rand -internal/bytealg -internal/godebugs internal/goexperiment internal/goos +internal/bytealg runtime/internal/atomic runtime/internal/math runtime/internal/sys @@ -455,16 +491,16 @@ unicode/utf8 encoding math/bits -runtime -math internal/itoa cmp -slices unicode/utf16 +slices +math internal/nettrace log/internal crypto/internal/alias crypto/internal/boring/sig +runtime container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias @@ -478,105 +514,105 @@ internal/singleflight runtime/cgo errors -io sort -bytes +internal/godebug +io strconv internal/oserror syscall -reflect -internal/syscall/unix -time +bytes internal/safefilepath -internal/syscall/execenv +reflect path strings -encoding/binary -internal/fmtsort -internal/poll -io/fs -context -encoding/base64 vendor/golang.org/x/net/dns/dnsmessage -os -internal/godebug +internal/syscall/unix +time +internal/syscall/execenv internal/intern net/netip regexp/syntax bufio -fmt -net -regexp -encoding/json -gopkg.in/yaml.v3 -github.com/mailru/easyjson/jlexer -log hash crypto -crypto/cipher -crypto/internal/boring crypto/internal/randutil math/rand -mime -math/big -mime/quotedprintable -path/filepath -compress/flate +encoding/binary +internal/fmtsort +internal/poll +io/fs +encoding/base64 +context +regexp +crypto/cipher hash/crc32 -compress/gzip -crypto/aes +os +crypto/internal/boring crypto/des -crypto/rand +crypto/aes crypto/internal/edwards25519/field crypto/internal/nistec/fiat -crypto/internal/bigmod -crypto/internal/boring/bbig crypto/sha512 -encoding/asn1 -vendor/golang.org/x/crypto/cryptobyte crypto/internal/edwards25519 -crypto/ed25519 crypto/hmac crypto/md5 crypto/rc4 -crypto/internal/nistec -crypto/rsa crypto/sha1 -github.com/mailru/easyjson/buffer -github.com/mailru/easyjson/jwriter -net/textproto crypto/sha256 -crypto/ecdh -crypto/elliptic -mime/multipart -crypto/dsa -encoding/hex -crypto/x509/pkix -crypto/ecdsa +fmt +path/filepath +net encoding/pem -net/url vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/crypto/chacha20poly1305 -crypto/x509 +vendor/golang.org/x/crypto/hkdf +encoding/json +gopkg.in/yaml.v3 +log +github.com/mailru/easyjson/jlexer +math/big +mime +mime/quotedprintable +compress/flate +crypto/internal/nistec +compress/gzip +encoding/hex +crypto/ecdh +net/url vendor/golang.org/x/text/transform +crypto/rand +crypto/elliptic +crypto/internal/bigmod +crypto/internal/boring/bbig +encoding/asn1 +crypto/ed25519 +crypto/rsa +crypto/dsa vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix +crypto/ecdsa vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack net/http/internal net/http/internal/ascii github.com/invopop/yaml -vendor/golang.org/x/net/idna github.com/mohae/deepcopy -crypto/tls +vendor/golang.org/x/net/idna github.com/perimeterx/marshmallow archive/zip -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy encoding/csv github.com/getkin/kin-openapi/routers/legacy/pathpattern +github.com/mailru/easyjson/buffer +vendor/golang.org/x/net/http/httpproxy +net/textproto +crypto/x509 +github.com/mailru/easyjson/jwriter +vendor/golang.org/x/net/http/httpguts +mime/multipart +crypto/tls net/http/httptrace net/http github.com/gorilla/mux @@ -584,42 +620,42 @@ github.com/go-openapi/jsonpointer github.com/getkin/kin-openapi/openapi3 github.com/getkin/kin-openapi/routers -github.com/getkin/kin-openapi/openapi3gen github.com/getkin/kin-openapi/openapi2 +github.com/getkin/kin-openapi/openapi3gen 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/routers/gorillamux dh_auto_test -O--builddirectory=_build - cd _build && go test -vet=off -v -p 3 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 4 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.05s) +--- PASS: Example (0.10s) PASS -ok github.com/getkin/kin-openapi/openapi2 0.063s +ok github.com/getkin/kin-openapi/openapi2 0.142s === RUN TestIssue187 ---- PASS: TestIssue187 (0.00s) +--- PASS: TestIssue187 (0.01s) === RUN TestIssue237 ---- PASS: TestIssue237 (0.00s) +--- PASS: TestIssue237 (0.01s) === RUN TestPR449 --- PASS: TestPR449 (0.00s) === RUN TestIssue440 ---- PASS: TestIssue440 (0.01s) +--- PASS: TestIssue440 (0.04s) === RUN TestPR558 --- PASS: TestPR558 (0.00s) === RUN TestIssue573 --- PASS: TestIssue573 (0.00s) === RUN TestIssue847 ---- PASS: TestIssue847 (0.00s) +--- PASS: TestIssue847 (0.01s) === RUN TestConvOpenAPIV3ToV2 ---- PASS: TestConvOpenAPIV3ToV2 (0.01s) +--- PASS: TestConvOpenAPIV3ToV2 (0.02s) === RUN TestConvOpenAPIV3ToV2WithReqBody ---- PASS: TestConvOpenAPIV3ToV2WithReqBody (0.00s) +--- PASS: TestConvOpenAPIV3ToV2WithReqBody (0.01s) === RUN TestConvOpenAPIV2ToV3 ---- PASS: TestConvOpenAPIV2ToV3 (0.01s) +--- PASS: TestConvOpenAPIV2ToV3 (0.02s) PASS -ok github.com/getkin/kin-openapi/openapi2conv 0.045s +ok github.com/getkin/kin-openapi/openapi2conv 0.166s === RUN TestContent_Get === RUN TestContent_Get/missing === RUN TestContent_Get/full_match @@ -653,7 +689,7 @@ encoding_test.go:17: Unmarshal *openapi3.Encoding from JSON encoding_test.go:23: Validate *openapi3.Encoding encoding_test.go:27: Ensure representations match ---- PASS: TestEncodingJSON (0.00s) +--- PASS: TestEncodingJSON (0.01s) === RUN TestEncodingSerializationMethod === RUN TestEncodingSerializationMethod/default === RUN TestEncodingSerializationMethod/encoding_with_style @@ -689,10 +725,10 @@ === RUN TestInternalizeRefs/testdata/spec.yaml === RUN TestInternalizeRefs/testdata/callbacks.yml === RUN TestInternalizeRefs/testdata/issue831/testref.internalizepath.openapi.yml ---- PASS: TestInternalizeRefs (0.02s) - --- 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 (0.06s) + --- PASS: TestInternalizeRefs/testdata/testref.openapi.yml (0.01s) + --- PASS: TestInternalizeRefs/testdata/recursiveRef/openapi.yml (0.02s) + --- PASS: TestInternalizeRefs/testdata/spec.yaml (0.01s) --- PASS: TestInternalizeRefs/testdata/callbacks.yml (0.01s) --- PASS: TestInternalizeRefs/testdata/issue831/testref.internalizepath.openapi.yml (0.00s) === RUN TestIssue136 @@ -702,7 +738,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 @@ -713,26 +749,26 @@ --- PASS: TestExclusiveValuesOfValuesAdditionalProperties (0.00s) === RUN TestMultijsonTagSerialization === RUN TestMultijsonTagSerialization/spec00 -=== RUN TestMultijsonTagSerialization/spec00/object === RUN TestMultijsonTagSerialization/spec00/boolean === RUN TestMultijsonTagSerialization/spec00/unset === RUN TestMultijsonTagSerialization/spec00/empty-object +=== RUN TestMultijsonTagSerialization/spec00/object === RUN TestMultijsonTagSerialization/spec01 +=== RUN TestMultijsonTagSerialization/spec01/boolean === RUN TestMultijsonTagSerialization/spec01/empty-object === RUN TestMultijsonTagSerialization/spec01/object === RUN TestMultijsonTagSerialization/spec01/unset -=== RUN TestMultijsonTagSerialization/spec01/boolean --- PASS: TestMultijsonTagSerialization (0.00s) --- PASS: TestMultijsonTagSerialization/spec00 (0.00s) - --- PASS: TestMultijsonTagSerialization/spec00/object (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/boolean (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/unset (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/empty-object (0.00s) + --- PASS: TestMultijsonTagSerialization/spec00/object (0.00s) --- PASS: TestMultijsonTagSerialization/spec01 (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) - --- PASS: TestMultijsonTagSerialization/spec01/boolean (0.00s) === RUN TestOverridingGlobalParametersValidation --- PASS: TestOverridingGlobalParametersValidation (0.00s) === RUN TestIssue495 @@ -741,7 +777,7 @@ 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.04s) +--- PASS: TestIssue495WithDraft04Bis (0.10s) === RUN TestExtraSiblingsInRemoteRef issue513_test.go:11: skipping Internet test during Debian build --- SKIP: TestExtraSiblingsInRemoteRef (0.00s) @@ -756,13 +792,13 @@ === RUN TestIssue542 --- PASS: TestIssue542 (0.00s) === RUN TestIssue570 ---- PASS: TestIssue570 (0.02s) +--- PASS: TestIssue570 (0.03s) === RUN TestIssue601 ---- PASS: TestIssue601 (0.03s) +--- PASS: TestIssue601 (0.05s) === RUN TestIssue618 --- PASS: TestIssue618 (0.00s) === RUN TestIssue638 ---- PASS: TestIssue638 (0.06s) +--- PASS: TestIssue638 (0.11s) === RUN TestIssue697 --- PASS: TestIssue697 (0.00s) === RUN TestIssue735 @@ -842,7 +878,7 @@ --- PASS: TestIssue735/email_format (0.00s) --- PASS: TestIssue735/byte_format (0.00s) === RUN TestIssue741 ---- PASS: TestIssue741 (0.00s) +--- PASS: TestIssue741 (0.01s) === RUN TestIssue746 --- PASS: TestIssue746 (0.00s) === RUN TestIssue753 @@ -852,7 +888,7 @@ === RUN TestCrashOnLoad --- PASS: TestCrashOnLoad (0.00s) === RUN TestIssue796 ---- PASS: TestIssue796 (0.36s) +--- PASS: TestIssue796 (0.65s) === RUN TestIssue819ResponsesGetPatternedFields --- PASS: TestIssue819ResponsesGetPatternedFields (0.00s) === RUN TestJSONSpecResponseDescriptionEmptiness @@ -867,7 +903,7 @@ === RUN TestLoadFromRemoteURLFailsWithHttpError --- PASS: TestLoadFromRemoteURLFailsWithHttpError (0.00s) === 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" @@ -880,15 +916,15 @@ === RUN TestLoadOutsideRefs --- PASS: TestLoadOutsideRefs (0.00s) === RUN TestIssue423 ---- PASS: TestIssue423 (0.00s) +--- PASS: TestIssue423 (0.01s) === RUN TestPathsMustStartWithSlash --- PASS: TestPathsMustStartWithSlash (0.00s) === RUN TestLoaderReadFromURIFunc ---- PASS: TestLoaderReadFromURIFunc (0.00s) +--- PASS: TestLoaderReadFromURIFunc (0.01s) === RUN TestResolveSchemaExternalRef --- PASS: TestResolveSchemaExternalRef (0.00s) === RUN TestLoaderSupportsRecursiveReference ---- PASS: TestLoaderSupportsRecursiveReference (0.00s) +--- PASS: TestLoaderSupportsRecursiveReference (0.01s) === RUN TestIssue447 --- PASS: TestIssue447 (0.00s) === RUN TestLoadFromDataWithExternalRef @@ -911,7 +947,7 @@ loader_relative_refs_test.go:199: testcase "PathOperationResponseSchemaRef" loader_relative_refs_test.go:199: testcase "ComponentHeaderSchemaRef" loader_relative_refs_test.go:199: testcase "RequestResponseHeaderRef" ---- PASS: TestLoadFromDataWithExternalRef (0.02s) +--- PASS: TestLoadFromDataWithExternalRef (0.04s) === RUN TestLoadFromDataWithExternalRefResponseError loader_relative_refs_test.go:212: testcase "CannotContainBothSchemaAndContentInAParameter" --- PASS: TestLoadFromDataWithExternalRefResponseError (0.00s) @@ -935,7 +971,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.06s) === RUN TestLoadSpecWithRelativeDocumentRefs === RUN TestLoadSpecWithRelativeDocumentRefs/SchemaRef === RUN TestLoadSpecWithRelativeDocumentRefs/ResponseRef @@ -957,7 +993,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 @@ -981,7 +1017,7 @@ === RUN TestLoadWithRecursiveReferenceInReferenceInLocalReference --- PASS: TestLoadWithRecursiveReferenceInReferenceInLocalReference (0.00s) === RUN TestLoadWithReferenceInReferenceInProperty ---- PASS: TestLoadWithReferenceInReferenceInProperty (0.00s) +--- PASS: TestLoadWithReferenceInReferenceInProperty (0.01s) === RUN TestLoadFileWithExternalSchemaRef --- PASS: TestLoadFileWithExternalSchemaRef (0.00s) === RUN TestLoadFileWithExternalSchemaRefSingleComponent @@ -989,7 +1025,7 @@ === RUN TestLoadRequestResponseHeaderRef --- PASS: TestLoadRequestResponseHeaderRef (0.00s) === RUN TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef ---- PASS: TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef (0.00s) +--- PASS: TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef (0.01s) === RUN TestLoadYamlFile --- PASS: TestLoadYamlFile (0.00s) === RUN TestLoadYamlFileWithExternalSchemaRef @@ -1003,25 +1039,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}.example.com",_variables:_{x:_{enum:_["www"]}}} +=== RUN TestServersVariables/{url:_"http://www.example.com",_variables:_{x:_{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"} -=== 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:_/} === RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} -=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{enum:_["www"]}}} -=== RUN TestServersVariables/{url:_"http://www.example.com",_variables:_{x:_{enum:_["www"]}}} +=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www",_enum:_["www"]}}} --- PASS: TestServersVariables (0.01s) + --- PASS: TestServersVariables/{url:_/} (0.00s) --- PASS: TestServersVariables/{url:_"http://{x}.{y}.example.com"} (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:_"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",_enum:_["www"]}}} (0.00s) - --- PASS: TestServersVariables/{url:_"http://{y}.example.com",_variables:_{x:_{enum:_["www"]}}} (0.00s) - --- PASS: TestServersVariables/{url:_/} (0.00s) --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"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:_"http://{x}.example.com",_variables:_{x:_{default:_"www",_enum:_["www"]}}} (0.00s) === RUN TestReadFromIoReader --- PASS: TestReadFromIoReader (0.00s) === RUN TestReadFromIoReader_Nil @@ -1043,7 +1079,7 @@ openapi3_test.go:31: Resolve refs in marshaled *T openapi3_test.go:36: Validate *T openapi3_test.go:42: Ensure representations match ---- PASS: TestRefsJSON (0.00s) +--- PASS: TestRefsJSON (0.01s) === RUN TestRefsYAML openapi3_test.go:55: Marshal *T to YAML openapi3_test.go:60: Unmarshal *T from YAML @@ -1051,7 +1087,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.01s) +--- PASS: TestRefsYAML (0.02s) === RUN TestValidation === RUN TestValidation/no_errors === RUN TestValidation/version_is_missing @@ -1060,7 +1096,7 @@ === RUN TestValidation/paths_section_is_missing === RUN TestValidation/externalDocs_section_is_invalid === RUN TestValidation/tags_section_is_invalid ---- PASS: TestValidation (0.01s) +--- PASS: TestValidation (0.02s) --- PASS: TestValidation/no_errors (0.00s) --- PASS: TestValidation/version_is_missing (0.00s) --- PASS: TestValidation/version_is_empty_string (0.00s) @@ -1081,7 +1117,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.00s) +--- PASS: TestPathParametersMatchPath (0.01s) === RUN TestPathItemParametersAreValidated --- PASS: TestPathItemParametersAreValidated (0.00s) === RUN TestParameterMultipleContentEntries @@ -1097,9 +1133,9 @@ --- 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) +--- PASS: TestIssue247 (0.01s) === RUN TestEmptyResponsesAreInvalid --- PASS: TestEmptyResponsesAreInvalid (0.01s) === RUN TestIssue430 @@ -1167,7 +1203,7 @@ === RUN TestSchemas/ANY_OF === RUN TestSchemas/ALL_OF === RUN TestSchemas/ONE_OF ---- PASS: TestSchemas (0.04s) +--- PASS: TestSchemas (0.06s) --- PASS: TestSchemas/EMPTY_SCHEMA (0.00s) --- PASS: TestSchemas/JUST_NULLABLE (0.00s) --- PASS: TestSchemas/NULLABLE_BOOLEAN (0.00s) @@ -1218,7 +1254,7 @@ === RUN TestSchemasMultiError/ARRAY:_simple === RUN TestSchemasMultiError/ARRAY:_object === RUN TestSchemasMultiError/OBJECT ---- PASS: TestSchemasMultiError (0.00s) +--- PASS: TestSchemasMultiError (0.01s) --- PASS: TestSchemasMultiError/STRING (0.00s) --- PASS: TestSchemasMultiError/NUMBER (0.00s) --- PASS: TestSchemasMultiError/ARRAY:_simple (0.00s) @@ -1271,31 +1307,31 @@ === RUN TestServerParamNames --- PASS: TestServerParamNames (0.00s) === RUN TestServerParamValuesWithPath -=== RUN TestServerParamValuesWithPath/http://x.example.com/a/b === 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/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/ === RUN TestServerParamValuesWithPath/http://x.y.example.com/a/ === 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://domain0.domain1.example.com/a/1.0.0-version/c/d +=== RUN TestServerParamValuesWithPath/http://x.example.com/a/b +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/ +=== RUN TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/b-version/c/d --- PASS: TestServerParamValuesWithPath (0.00s) - --- PASS: TestServerParamValuesWithPath/http://x.example.com/a/b (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/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) --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/ (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://domain0.domain1.example.com/a/1.0.0-version/c/d (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.example.com/a/b (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/ (0.00s) + --- PASS: TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/b-version/c/d (0.00s) === RUN TestServerParamValuesNoPath === RUN TestServerParamValuesNoPath/https://domain0.domain1.example.com/ --- PASS: TestServerParamValuesNoPath (0.00s) @@ -1323,11 +1359,11 @@ --- PASS: TestServersBasePath/URL_set_with_variables_in_path (0.00s) --- PASS: TestServersBasePath/URLs_set_with_variables_in_path (0.00s) === RUN TestMarshalAdditionalProperties ---- PASS: TestMarshalAdditionalProperties (0.00s) +--- PASS: TestMarshalAdditionalProperties (0.01s) === RUN TestIssue241 --- PASS: TestIssue241 (0.00s) === RUN TestIssue594 ---- PASS: TestIssue594 (0.90s) +--- PASS: TestIssue594 (1.70s) === RUN TestIssue615 --- PASS: TestIssue615 (0.01s) === RUN TestIssue652 @@ -1342,7 +1378,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.00s) +--- PASS: TestIssue883 (0.01s) --- PASS: TestIssue883/Roundtrip_invopop/yaml (0.00s) --- SKIP: TestIssue883/Roundtrip_yaml.v3 (0.00s) === RUN TestLoadCircularRefFromFile @@ -1360,116 +1396,118 @@ === RUN TestIssue409HygienicUseOfCtx --- PASS: TestIssue409HygienicUseOfCtx (0.00s) === CONT TestExamplesSchemaValidation -=== RUN TestExamplesSchemaValidation/examples_validation_disabled === CONT TestOneOf_Warning_Errors +=== RUN TestExamplesSchemaValidation/examples_validation_disabled === PAUSE TestExamplesSchemaValidation/examples_validation_disabled -=== RUN TestExamplesSchemaValidation/examples_validation_enabled === CONT TestMaplikeMethods === RUN TestMaplikeMethods/*Responses +=== RUN TestExamplesSchemaValidation/examples_validation_enabled +=== PAUSE TestMaplikeMethods/*Responses === PAUSE TestExamplesSchemaValidation/examples_validation_enabled +=== RUN TestMaplikeMethods/*Callback +=== CONT TestIssue689 +=== PAUSE TestMaplikeMethods/*Callback +=== RUN TestMaplikeMethods/*Paths +=== PAUSE TestMaplikeMethods/*Paths === CONT TestExampleObjectValidation +=== 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 === RUN TestExampleObjectValidation/examples_validation_disabled === PAUSE TestExampleObjectValidation/examples_validation_disabled === RUN TestExampleObjectValidation/examples_validation_enabled -=== PAUSE TestMaplikeMethods/*Responses === PAUSE TestExampleObjectValidation/examples_validation_enabled === CONT TestIssue767 -=== RUN TestMaplikeMethods/*Callback -=== PAUSE TestMaplikeMethods/*Callback -=== RUN TestMaplikeMethods/*Paths -=== RUN TestIssue767/default_values_disabled_should_fail_with_minProps_1 -=== PAUSE TestIssue767/default_values_disabled_should_fail_with_minProps_1 -=== PAUSE TestMaplikeMethods/*Paths -=== CONT TestIssue689 === CONT TestExamplesSchemaValidation/examples_validation_disabled -=== RUN TestOneOf_Warning_Errors/valid_value -=== RUN TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples -=== PAUSE TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled -=== PAUSE TestOneOf_Warning_Errors/valid_value +=== 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 === PAUSE TestIssue767/default_values_enabled_should_pass_with_minProps_1 -=== RUN TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_disabled === RUN TestIssue767/default_values_enabled_should_pass_with_minProps_2 -=== PAUSE TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_disabled === PAUSE TestIssue767/default_values_enabled_should_pass_with_minProps_2 -=== RUN TestIssue689/read-only_property_fails_when_read-only_validation_is_enabled === RUN TestIssue767/default_values_enabled_should_fail_with_maxProps_1 -=== RUN TestOneOf_Warning_Errors/valid_value#01 === 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 +=== PAUSE TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_disabled +=== RUN TestIssue689/read-only_property_fails_when_read-only_validation_is_enabled === PAUSE TestIssue689/read-only_property_fails_when_read-only_validation_is_enabled === RUN TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_enabled -=== PAUSE TestOneOf_Warning_Errors/valid_value#01 === PAUSE TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_enabled -=== RUN TestIssue767/default_values_disabled_should_pass_with_maxProps_1 -=== RUN TestOneOf_Warning_Errors/no_valid_value +=== RUN TestOneOf_Warning_Errors/valid_value +=== CONT TestMaplikeMethods/*Responses +=== PAUSE TestOneOf_Warning_Errors/valid_value === RUN TestIssue689/write-only_property_succeeds_when_write-only_validation_is_disabled +=== RUN TestOneOf_Warning_Errors/valid_value#01 === PAUSE TestIssue689/write-only_property_succeeds_when_write-only_validation_is_disabled -=== PAUSE TestOneOf_Warning_Errors/no_valid_value -=== PAUSE TestIssue767/default_values_disabled_should_pass_with_maxProps_1 -=== CONT TestExamplesSchemaValidation/examples_validation_enabled -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples -=== CONT TestExampleObjectValidation/examples_validation_disabled +=== PAUSE TestOneOf_Warning_Errors/valid_value#01 === RUN TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_disabled -=== RUN TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive +=== RUN TestOneOf_Warning_Errors/no_valid_value === PAUSE TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_disabled +=== PAUSE TestOneOf_Warning_Errors/no_valid_value +=== RUN TestMaplikeMethods/*Responses/nil +=== CONT TestMaplikeMethods/*Paths +=== RUN TestMaplikeMethods/*Paths/nil === RUN TestIssue689/write-only_property_fails_when_write-only_validation_is_enabled === PAUSE TestIssue689/write-only_property_fails_when_write-only_validation_is_enabled === 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 TestExampleObjectValidation/examples_validation_enabled -=== RUN TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive -=== RUN TestExampleObjectValidation/examples_validation_disabled/example_without_value -=== RUN TestExampleObjectValidation/examples_validation_enabled/example_without_value +=== CONT TestMaplikeMethods/*Callback +=== RUN TestMaplikeMethods/*Callback/nil +=== RUN TestMaplikeMethods/*Responses/nonnil +=== CONT TestExamplesSchemaValidation/examples_validation_enabled +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples +=== RUN TestMaplikeMethods/*Callback/nonnil +=== CONT TestExampleObjectValidation/examples_validation_disabled +=== RUN TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples === RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples -=== RUN TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion -=== RUN TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion +=== RUN TestExampleObjectValidation/examples_validation_disabled/example_without_value === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example -=== CONT TestMaplikeMethods/*Responses -=== RUN TestMaplikeMethods/*Responses/nil ---- 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.00s) - --- PASS: TestExampleObjectValidation/examples_validation_disabled (0.01s) - --- 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/value_externalValue_mutual_exclusion (0.00s) -=== CONT TestMaplikeMethods/*Paths -=== RUN TestMaplikeMethods/*Paths/nil -=== RUN TestMaplikeMethods/*Responses/nonnil -=== CONT TestMaplikeMethods/*Callback -=== RUN TestMaplikeMethods/*Callback/nil === RUN TestMaplikeMethods/*Paths/nonnil -=== CONT TestOneOf_Warning_Errors/valid_value -=== CONT TestIssue767/default_values_disabled_should_fail_with_minProps_1 -=== RUN TestMaplikeMethods/*Callback/nonnil -=== CONT TestIssue767/default_values_enabled_should_fail_with_maxProps_1 -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example -=== CONT TestIssue767/default_values_disabled_should_pass_with_maxProps_1 -=== CONT TestOneOf_Warning_Errors/valid_value#01 --- 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.00s) --- PASS: TestMaplikeMethods/*Callback/nil (0.00s) --- PASS: TestMaplikeMethods/*Callback/nonnil (0.00s) -=== CONT TestOneOf_Warning_Errors/no_valid_value + --- PASS: TestMaplikeMethods/*Paths (0.01s) + --- PASS: TestMaplikeMethods/*Paths/nil (0.01s) + --- PASS: TestMaplikeMethods/*Paths/nonnil (0.00s) +=== CONT TestIssue767/default_values_disabled_should_fail_with_minProps_1 +=== CONT TestIssue767/default_values_disabled_should_pass_with_maxProps_1 +=== CONT TestIssue767/default_values_enabled_should_fail_with_maxProps_1 === CONT TestIssue767/default_values_enabled_should_pass_with_minProps_2 -=== CONT TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled === CONT TestIssue767/default_values_enabled_should_pass_with_minProps_1 --- PASS: TestIssue767 (0.00s) --- 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_fail_with_maxProps_1 (0.00s) --- PASS: TestIssue767/default_values_enabled_should_pass_with_minProps_2 (0.00s) --- PASS: TestIssue767/default_values_enabled_should_pass_with_minProps_1 (0.00s) +=== CONT TestOneOf_Warning_Errors/valid_value +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example +=== CONT TestOneOf_Warning_Errors/no_valid_value +=== CONT TestExampleObjectValidation/examples_validation_enabled +=== RUN TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples +=== RUN TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion +=== RUN TestExampleObjectValidation/examples_validation_enabled/example_without_value +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_component_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_mediatype_examples +=== 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 TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples === 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 @@ -1477,10 +1515,6 @@ === CONT TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_enabled === CONT TestIssue689/read-only_property_fails_when_read-only_validation_is_enabled === CONT TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_disabled ---- 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) --- PASS: TestIssue689 (0.00s) --- PASS: TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled (0.00s) --- PASS: TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_enabled (0.00s) @@ -1490,81 +1524,84 @@ --- 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 TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples -=== 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/invalid_mediatype_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_mediatype_examples +=== RUN TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion === RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_request_example +--- PASS: TestExampleObjectValidation (0.00s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled (0.04s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive (0.01s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_without_value (0.01s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion (0.02s) + --- 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.01s) + --- PASS: TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion (0.01s) === RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_request_example +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_mediatype_examples === RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_response_example +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_request_example === RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_response_example -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_example +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_request_example === RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_readonly_writeonly_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_readonly_request_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples === RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_readonly_writeonly_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_readonly_request_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples --- PASS: TestExamplesSchemaValidation (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled (0.06s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled (0.11s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples (0.01s) + --- 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.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_response_example (0.01s) + --- 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.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled (0.13s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples (0.01s) --- 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/invalid_parameter_example (0.01s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples (0.01s) --- 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.00s) - --- 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.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_readonly_writeonly_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_mediatype_examples (0.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_mediatype_examples (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.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_readonly_writeonly_examples (0.01s) --- 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_enabled (0.06s) - --- 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.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples (0.01s) - --- 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.00s) - --- 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.00s) - --- 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.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples (0.01s) === 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.846s +ok github.com/getkin/kin-openapi/openapi3 3.476s +? github.com/getkin/kin-openapi/openapi3gen/internal/subpkg [no test files] === RUN TestIssue201 -=== RUN TestIssue201/missing_required_header -=== RUN TestIssue201/invalid_required_header === RUN TestIssue201/no_error === RUN TestIssue201/missing_non-required_header ---- PASS: TestIssue201 (0.00s) - --- PASS: TestIssue201/missing_required_header (0.00s) - --- PASS: TestIssue201/invalid_required_header (0.00s) +=== RUN TestIssue201/missing_required_header +=== RUN TestIssue201/invalid_required_header +--- 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) === RUN TestIssue267 === RUN TestIssue267/application/json === RUN TestIssue267/application/json#01 @@ -1827,7 +1864,7 @@ === RUN TestDecodeParameter/cookie_object/invalid_integer_prop === RUN TestDecodeParameter/cookie_object/invalid_number_prop === RUN TestDecodeParameter/cookie_object/invalid_boolean_prop ---- PASS: TestDecodeParameter (0.03s) +--- PASS: TestDecodeParameter (0.06s) --- PASS: TestDecodeParameter/path_primitive (0.00s) --- PASS: TestDecodeParameter/path_primitive/simple (0.00s) --- PASS: TestDecodeParameter/path_primitive/simple_explode (0.00s) @@ -1847,7 +1884,7 @@ --- PASS: TestDecodeParameter/path_primitive/number_invalid (0.00s) --- PASS: TestDecodeParameter/path_primitive/boolean (0.00s) --- PASS: TestDecodeParameter/path_primitive/boolean_invalid (0.00s) - --- PASS: TestDecodeParameter/path_array (0.00s) + --- PASS: TestDecodeParameter/path_array (0.01s) --- PASS: TestDecodeParameter/path_array/simple (0.00s) --- PASS: TestDecodeParameter/path_array/simple_explode (0.00s) --- PASS: TestDecodeParameter/path_array/label (0.00s) @@ -1936,7 +1973,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.00s) + --- PASS: TestDecodeParameter/header_primitive (0.01s) --- PASS: TestDecodeParameter/header_primitive/simple (0.00s) --- PASS: TestDecodeParameter/header_primitive/simple_explode (0.00s) --- PASS: TestDecodeParameter/header_primitive/default (0.00s) @@ -2117,7 +2154,7 @@ === RUN TestValidateRequestBodyAndSetDefault/social_network_2(anyOf) === RUN TestValidateRequestBodyAndSetDefault/contact(oneOf) === RUN TestValidateRequestBodyAndSetDefault/contact(anyOf) ---- PASS: TestValidateRequestBodyAndSetDefault (0.01s) +--- PASS: TestValidateRequestBodyAndSetDefault (0.02s) --- PASS: TestValidateRequestBodyAndSetDefault/only_id (0.00s) --- PASS: TestValidateRequestBodyAndSetDefault/id_&_name (0.00s) --- PASS: TestValidateRequestBodyAndSetDefault/id_&_name_&_code (0.00s) @@ -2180,45 +2217,45 @@ === 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 (0.94s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_host (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_path (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_method (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_body_on_POST (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_empty_body_on_POST (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_content-type_on_POST (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_content-type_on_POST (0.02s) - --- 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.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_bool (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_integer (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_number (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_query_string_parameter (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type_as_integer (0.02s) - --- 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.02s) - --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings (0.02s) - --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings,_array (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_query_string_array_serialization (0.02s) - --- 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.02s) - --- PASS: TestValidationHandler_validateRequest/success_-_valid_enum_value,_allowing_commas (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_string_parameter (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_object_attribute (0.02s) - --- 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.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_wrong_attribute_type (0.03s) - --- 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.02s) - --- PASS: TestValidationHandler_validateRequest/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_path_param (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_wrong_path_param_type (0.02s) - --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_with_path_params (0.02s) +--- PASS: TestValidationHandler_validateRequest (1.86s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_host (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_path (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_method (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_body_on_POST (0.07s) + --- PASS: TestValidationHandler_validateRequest/error_-_empty_body_on_POST (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_content-type_on_POST (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_content-type_on_POST (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_unsupported_content-type_on_POST (0.06s) + --- PASS: TestValidationHandler_validateRequest/success_-_no_content-type_header_required_on_GET (0.04s) + --- PASS: TestValidationHandler_validateRequest/empty_deepobject_query_parameter (0.05s) + --- PASS: TestValidationHandler_validateRequest/deepobject_query_parameter_type (0.06s) + --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_bool (0.08s) + --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_integer (0.06s) + --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_number (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_query_string_parameter (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type_as_integer (0.05s) + --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_query_string_parameter (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_non_required_query_string_has_empty_value (0.05s) + --- PASS: TestValidationHandler_validateRequest/success_-_non_required_query_string_has_empty_value,_but_has_AllowEmptyValue (0.05s) + --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings (0.04s) + --- 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.04s) + --- 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.05s) + --- 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.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_nested_object_attribute (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_deeply_nested_object_attribute (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_attribute_type (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.04s) + --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_object_attribute (0.05s) + --- 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.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_path_param (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_path_param_type (0.04s) + --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_with_path_params (0.08s) === RUN TestValidationErrorEncoder === RUN TestValidationErrorEncoder/error_-_unknown_host === RUN TestValidationErrorEncoder/error_-_unknown_path @@ -2258,61 +2295,61 @@ === RUN TestValidationErrorEncoder/error_-_missing_path_param === RUN TestValidationErrorEncoder/error_-_wrong_path_param_type === RUN TestValidationErrorEncoder/success_-_normal_case,_with_path_params ---- PASS: TestValidationErrorEncoder (0.96s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_host (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_method (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_missing_body_on_POST (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_empty_body_on_POST (0.02s) - --- 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.03s) - --- PASS: TestValidationErrorEncoder/empty_deepobject_query_parameter (0.03s) - --- PASS: TestValidationErrorEncoder/deepobject_query_parameter_type (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_bool (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.02s) - --- PASS: TestValidationErrorEncoder/error_-_wrong_query_string_parameter_type_as_integer (0.03s) - --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_query_string_parameter (0.03s) - --- 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.03s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings (0.02s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings,_array (0.02s) - --- 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.02s) - --- 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.02s) - --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_missing_required_nested_object_attribute (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.02s) - --- PASS: TestValidationErrorEncoder/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_missing_path_param (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_wrong_path_param_type (0.02s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_with_path_params (0.02s) +--- PASS: TestValidationErrorEncoder (2.02s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_host (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_method (0.04s) + --- 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.05s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_content-type_on_POST (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_unsupported_content-type_on_POST (0.05s) + --- PASS: TestValidationErrorEncoder/success_-_no_content-type_header_required_on_GET (0.05s) + --- PASS: TestValidationErrorEncoder/empty_deepobject_query_parameter (0.04s) + --- PASS: TestValidationErrorEncoder/deepobject_query_parameter_type (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_bool (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_integer (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_number (0.06s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_query_string_parameter (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_wrong_query_string_parameter_type_as_integer (0.05s) + --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_query_string_parameter (0.07s) + --- PASS: TestValidationErrorEncoder/error_-_non_required_query_string_has_empty_value (0.05s) + --- PASS: TestValidationErrorEncoder/success_-_non_required_query_string_has_empty_value,_but_has_AllowEmptyValue (0.06s) + --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings (0.05s) + --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings,_array (0.05s) + --- 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.05s) + --- PASS: TestValidationErrorEncoder/success_-_valid_enum_value,_allowing_commas (0.08s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_string_parameter (0.08s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_object_attribute (0.10s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute (0.08s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_nested_object_attribute (0.07s) + --- 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.06s) + --- 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.04s) + --- PASS: TestValidationErrorEncoder/error_-_missing_path_param (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_wrong_path_param_type (0.05s) + --- PASS: TestValidationErrorEncoder/success_-_normal_case,_with_path_params (0.05s) === 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.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) +--- PASS: TestValidationHandler_ServeHTTP (0.14s) + --- PASS: TestValidationHandler_ServeHTTP/errors_on_invalid_requests (0.05s) + --- PASS: TestValidationHandler_ServeHTTP/passes_valid_requests_through (0.05s) + --- 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.07s) - --- PASS: TestValidationHandler_Middleware/errors_on_invalid_requests (0.02s) - --- PASS: TestValidationHandler_Middleware/passes_valid_requests_through (0.02s) - --- PASS: TestValidationHandler_Middleware/uses_error_encoder (0.02s) +--- PASS: TestValidationHandler_Middleware (0.17s) + --- PASS: TestValidationHandler_Middleware/errors_on_invalid_requests (0.07s) + --- PASS: TestValidationHandler_Middleware/passes_valid_requests_through (0.05s) + --- PASS: TestValidationHandler_Middleware/uses_error_encoder (0.05s) === RUN TestFilter validation_test.go:164: Request: POST http://example.com/api/prefix/v/suffix validation_test.go:183: Response: 200 @@ -2361,7 +2398,7 @@ === RUN TestAllSchemesMet --- PASS: TestAllSchemesMet (0.00s) === RUN TestValidateCsvFileUpload ---- PASS: TestValidateCsvFileUpload (0.00s) +--- PASS: TestValidateCsvFileUpload (0.01s) === RUN TestIssue625 === RUN TestIssue625/success_anyof_object_array === RUN TestIssue625/failed_anyof_object_array @@ -2369,27 +2406,27 @@ === RUN TestIssue625/failed_allof_object_array === RUN TestIssue625/success_oneof_object_array === RUN TestIssue625/failed_oneof_object_array ---- PASS: TestIssue625 (0.01s) - --- PASS: TestIssue625/success_anyof_object_array (0.00s) +--- PASS: TestIssue625 (0.03s) + --- PASS: TestIssue625/success_anyof_object_array (0.01s) --- 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/failed_oneof_object_array (0.00s) + --- PASS: TestIssue625/failed_oneof_object_array (0.01s) === RUN TestIssue641 === RUN TestIssue641/success_anyof_pattern === RUN TestIssue641/failed_anyof_pattern === RUN TestIssue641/success_allof_pattern === RUN TestIssue641/failed_allof_pattern ---- PASS: TestIssue641 (0.01s) - --- 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) +--- PASS: TestIssue641 (0.03s) + --- PASS: TestIssue641/success_anyof_pattern (0.01s) + --- PASS: TestIssue641/failed_anyof_pattern (0.01s) + --- PASS: TestIssue641/success_allof_pattern (0.01s) + --- PASS: TestIssue641/failed_allof_pattern (0.01s) === RUN TestValidateMultipartFormDataContainingAllOf ---- PASS: TestValidateMultipartFormDataContainingAllOf (0.00s) +--- PASS: TestValidateMultipartFormDataContainingAllOf (0.01s) === RUN TestIntMax ---- PASS: TestIntMax (0.00s) +--- PASS: TestIntMax (0.01s) === RUN TestIssue789 === RUN TestIssue789/success_anyof_string_pattern_match === RUN TestIssue789/failed_anyof_string_pattern_match @@ -2398,12 +2435,12 @@ === RUN TestIssue789/success_oneof_string_pattern_match === RUN TestIssue789/failed_oneof_string_pattern_match === RUN TestIssue789/failed_oneof_string_pattern_match#01 ---- PASS: TestIssue789 (0.01s) - --- PASS: TestIssue789/success_anyof_string_pattern_match (0.00s) +--- PASS: TestIssue789 (0.04s) + --- PASS: TestIssue789/success_anyof_string_pattern_match (0.01s) --- PASS: TestIssue789/failed_anyof_string_pattern_match (0.00s) - --- PASS: TestIssue789/success_allof_object_array (0.00s) + --- PASS: TestIssue789/success_allof_object_array (0.01s) --- PASS: TestIssue789/failed_allof_object_array (0.00s) - --- PASS: TestIssue789/success_oneof_string_pattern_match (0.00s) + --- PASS: TestIssue789/success_oneof_string_pattern_match (0.01s) --- PASS: TestIssue789/failed_oneof_string_pattern_match (0.00s) --- PASS: TestIssue789/failed_oneof_string_pattern_match#01 (0.00s) === RUN TestValidator @@ -2415,19 +2452,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/05/07 14:37:37 validation error: failed to find route for /test?version=1: method not allowed +2024/05/07 14:42:11 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/05/07 14:37:37 validation error: failed to find route for /test/42?version=1: method not allowed +2024/05/07 14:42:11 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/05/07 14:37:37 invalid request: parameter "version" in query has an error: value is required but missing +2024/05/07 14:42:11 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/05/07 14:37:37 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": value must be a number +2024/05/07 14:42:11 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" @@ -2438,7 +2475,7 @@ === NAME TestValidator middleware_test.go:352: test#6: invalid POST request; missing property === RUN TestValidator/invalid_POST_request;_missing_property -2024/05/07 14:37:37 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": property "actual" is missing +2024/05/07 14:42:11 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": property "actual" is missing Schema: { "additionalProperties": false, @@ -2469,7 +2506,7 @@ === NAME TestValidator middleware_test.go:352: test#7: invalid POST request; extra property === RUN TestValidator/invalid_POST_request;_extra_property -2024/05/07 14:37:37 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: property "ideal" is unsupported +2024/05/07 14:42:11 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: property "ideal" is unsupported Schema: { "additionalProperties": false, @@ -2505,7 +2542,7 @@ === NAME TestValidator middleware_test.go:352: test#9: invalid response; invalid error === RUN TestValidator/invalid_response;_invalid_error -2024/05/07 14:37:37 invalid response: response body doesn't match schema #/components/schemas/Error: value must be an object +2024/05/07 14:42:11 invalid response: response body doesn't match schema #/components/schemas/Error: value must be an object Schema: { "additionalProperties": false, @@ -2529,7 +2566,7 @@ === NAME TestValidator middleware_test.go:352: test#10: invalid POST response; not strict === RUN TestValidator/invalid_POST_response;_not_strict -2024/05/07 14:37:37 invalid response: response body doesn't match schema #/components/schemas/TestResource: property "extra" is unsupported +2024/05/07 14:42:11 invalid response: response body doesn't match schema #/components/schemas/TestResource: property "extra" is unsupported Schema: { "additionalProperties": false, @@ -2561,18 +2598,18 @@ === 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/05/07 14:37:37 invalid response: status is not supported ---- PASS: TestValidator (0.03s) - --- PASS: TestValidator/valid_GET (0.00s) +2024/05/07 14:42:11 invalid response: status is not supported +--- PASS: TestValidator (0.12s) + --- PASS: TestValidator/valid_GET (0.01s) --- PASS: TestValidator/valid_POST (0.00s) - --- PASS: TestValidator/not_found;_no_GET_operation_for_/test (0.00s) + --- PASS: TestValidator/not_found;_no_GET_operation_for_/test (0.03s) --- PASS: TestValidator/not_found;_no_POST_operation_for_/test/42 (0.00s) - --- PASS: TestValidator/invalid_request;_missing_version (0.00s) + --- PASS: TestValidator/invalid_request;_missing_version (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) - --- PASS: TestValidator/invalid_response;_invalid_error (0.00s) + --- PASS: TestValidator/invalid_POST_request;_missing_property (0.01s) + --- PASS: TestValidator/invalid_POST_request;_extra_property (0.02s) + --- PASS: TestValidator/valid_response;_404_error (0.01s) + --- PASS: TestValidator/invalid_response;_invalid_error (0.01s) --- PASS: TestValidator/invalid_POST_response;_not_strict (0.00s) --- PASS: TestValidator/POST_response_status_code_not_in_spec_(return_200,_spec_only_has_201) (0.00s) === RUN TestValidateZipFileUpload @@ -2582,12 +2619,12 @@ === RUN Example_validateMultipartFormData --- PASS: Example_validateMultipartFormData (0.00s) === RUN ExampleValidator -2024/05/07 14:37:37 validation error: failed to find route for /square/2: method not allowed -2024/05/07 14:37:37 validation error: failed to find route for /sum/2: no matching operation was found -2024/05/07 14:37:37 validation error: failed to find route for /square/circle/4: no matching operation was found -2024/05/07 14:37:37 validation error: failed to find route for /square: no matching operation was found -2024/05/07 14:37:37 invalid request: parameter "x" in path has an error: value five: an invalid integer: invalid syntax -2024/05/07 14:37:37 invalid response: response body doesn't match schema: property "comment" is unsupported +2024/05/07 14:42:12 validation error: failed to find route for /square/2: method not allowed +2024/05/07 14:42:12 validation error: failed to find route for /sum/2: no matching operation was found +2024/05/07 14:42:12 validation error: failed to find route for /square/circle/4: no matching operation was found +2024/05/07 14:42:12 validation error: failed to find route for /square: no matching operation was found +2024/05/07 14:42:12 invalid request: parameter "x" in path has an error: value five: an invalid integer: invalid syntax +2024/05/07 14:42:12 invalid response: response body doesn't match schema: property "comment" is unsupported Schema: { "additionalProperties": false, @@ -2609,7 +2646,7 @@ "comment": "the answer to the ultimate question of life, the universe, and everything", "result": 1764 } -2024/05/07 14:37:37 invalid response: response body doesn't match schema: Error at "/result": number must be at most 1e+06 +2024/05/07 14:42:12 invalid response: response body doesn't match schema: Error at "/result": number must be at most 1e+06 Schema: { "maximum": 1000000, @@ -2619,14 +2656,13 @@ Value: 4294967296 ---- PASS: ExampleValidator (0.01s) +--- PASS: ExampleValidator (0.02s) === RUN ExampleOptions_WithCustomSchemaErrorFunc --- PASS: ExampleOptions_WithCustomSchemaErrorFunc (0.00s) === RUN Example ---- PASS: Example (0.00s) +--- PASS: Example (0.01s) PASS -ok github.com/getkin/kin-openapi/openapi3filter 2.240s -? github.com/getkin/kin-openapi/openapi3gen/internal/subpkg [no test files] +ok github.com/getkin/kin-openapi/openapi3filter 4.712s === RUN TestExportedNonTagged --- PASS: TestExportedNonTagged (0.00s) === RUN TestEmbeddedPointerStructs @@ -2666,37 +2702,16 @@ === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi3gen 0.016s +ok github.com/getkin/kin-openapi/openapi3gen 0.051s === RUN TestIssue356 - issue356_test.go:66: using servers: "\n- url: http://localhost:3000/base\n- url: /base\n" (false) + issue356_test.go:66: using servers: "" (true) 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: "\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.01s) +--- PASS: TestIssue356 (0.00s) PASS -ok github.com/getkin/kin-openapi/routers 0.024s +ok github.com/getkin/kin-openapi/routers 0.032s === RUN TestRouter ---- PASS: TestRouter (0.00s) +--- PASS: TestRouter (0.01s) === RUN TestPermuteScheme --- PASS: TestPermuteScheme (0.00s) === RUN TestServerPath @@ -2724,7 +2739,7 @@ === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/gorillamux 0.018s +ok github.com/getkin/kin-openapi/routers/gorillamux 0.031s === RUN TestRouter --- PASS: TestRouter (0.00s) === RUN TestIssue444 @@ -2732,11 +2747,11 @@ === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/legacy 0.016s +ok github.com/getkin/kin-openapi/routers/legacy 0.024s === RUN TestPatterns --- PASS: TestPatterns (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/legacy/pathpattern 0.005s +ok github.com/getkin/kin-openapi/routers/legacy/pathpattern 0.008s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build dh_prep -O--builddirectory=_build @@ -2763,12 +2778,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/714/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/714/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/26408 and its subdirectories -I: Current time: Tue May 7 02:38:00 -12 2024 -I: pbuilder-time-stamp: 1715092680 +I: removing directory /srv/workspace/pbuilder/714 and its subdirectories +I: Current time: Wed May 8 04:42:41 +14 2024 +I: pbuilder-time-stamp: 1715092961