Diff of the two buildlogs: -- --- b1/build.log 2024-08-01 17:38:41.059565083 +0000 +++ b2/build.log 2024-08-01 17:41:23.564677054 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Aug 1 05:35:28 -12 2024 -I: pbuilder-time-stamp: 1722533728 +I: Current time: Fri Aug 2 07:38:54 +14 2024 +I: pbuilder-time-stamp: 1722533934 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/17754/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/28665/tmp/hooks/D01_modify_environment starting +debug: Running on virt32z. +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 Aug 1 17:39 /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/28665/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/28665/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='unstable' - 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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='58fe5891904a4738bb5d8a21f9caf46d' - 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='17754' - PS1='# ' - PS2='> ' + INVOCATION_ID=fafb5695b31e408aa0fa6b3facb4fb6f + 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=28665 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.tCWlEe5j/pbuilderrc_cKph --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.tCWlEe5j/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.tCWlEe5j/pbuilderrc_LfRe --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.tCWlEe5j/b2 --logfile b2/build.log golang-github-getkin-kin-openapi_0.124.0-1.dsc' + SUDO_GID=110 + SUDO_UID=103 + 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 virt64b 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-armmp-lpae #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/17754/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/28665/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -185,7 +217,7 @@ Get: 49 http://deb.debian.org/debian unstable/main armhf golang-github-pmezard-go-difflib-dev all 1.0.0-3 [12.3 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf golang-github-stretchr-objx-dev all 0.5.2-1 [25.5 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf golang-github-stretchr-testify-dev all 1.9.0-1 [74.7 kB] -Fetched 61.4 MB in 1s (41.9 MB/s) +Fetched 61.4 MB in 1s (46.9 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 ... 19507 files and directories currently installed.) @@ -411,7 +443,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/28665/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/28665/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 @@ -429,19 +465,19 @@ 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 + 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/unsafeheader internal/cpu -internal/coverage/rtcov +internal/unsafeheader internal/abi internal/chacha8rand -internal/bytealg internal/godebugs internal/goexperiment internal/goos -runtime/internal/atomic runtime/internal/math +internal/bytealg +runtime/internal/atomic runtime/internal/sys runtime/internal/syscall internal/race @@ -450,22 +486,22 @@ unicode/utf8 encoding math/bits -runtime -math internal/itoa cmp slices +math unicode/utf16 internal/nettrace log/internal +runtime crypto/internal/alias crypto/internal/boring/sig container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias github.com/getkin/kin-openapi/openapi3gen/internal/subpkg -crypto/subtle internal/reflectlite +crypto/subtle sync internal/testlog github.com/josharian/intern @@ -473,109 +509,109 @@ internal/singleflight runtime/cgo errors -io +internal/godebug sort -bytes +io strconv internal/oserror +bytes syscall -reflect -internal/syscall/unix -time internal/safefilepath -internal/syscall/execenv path +reflect strings -encoding/binary -internal/fmtsort -internal/poll -io/fs -encoding/base64 -context vendor/golang.org/x/net/dns/dnsmessage -internal/godebug -os +internal/syscall/unix +time +internal/syscall/execenv internal/intern -net/netip regexp/syntax +net/netip bufio -fmt -net regexp -encoding/json -gopkg.in/yaml.v3 -github.com/mailru/easyjson/jlexer -log +internal/poll +io/fs +encoding/binary +internal/fmtsort +os +context hash crypto +encoding/base64 crypto/cipher -crypto/internal/boring crypto/internal/randutil math/rand -mime -math/big -mime/quotedprintable -path/filepath -compress/flate hash/crc32 -compress/gzip -crypto/rand -crypto/aes +crypto/internal/boring crypto/des +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 -github.com/mailru/easyjson/buffer -github.com/mailru/easyjson/jwriter -net/textproto crypto/internal/edwards25519 -mime/multipart -crypto/ed25519 -crypto/internal/nistec crypto/hmac +fmt +net +path/filepath crypto/md5 +encoding/json +gopkg.in/yaml.v3 +github.com/mailru/easyjson/jlexer +log +math/big +mime +mime/quotedprintable +compress/flate +crypto/internal/nistec +compress/gzip crypto/rc4 -crypto/rsa crypto/sha1 crypto/sha256 -crypto/dsa +crypto/ecdh encoding/hex encoding/pem -crypto/x509/pkix -crypto/ecdh -crypto/elliptic net/url +crypto/rand +crypto/elliptic +crypto/internal/bigmod +crypto/internal/boring/bbig +encoding/asn1 +crypto/ed25519 +crypto/rsa +crypto/dsa vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 -crypto/ecdsa +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix +vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/text/transform -vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -crypto/x509 +crypto/ecdsa vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack net/http/internal net/http/internal/ascii -vendor/golang.org/x/net/idna github.com/invopop/yaml github.com/mohae/deepcopy github.com/perimeterx/marshmallow -crypto/tls archive/zip -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy +vendor/golang.org/x/net/idna encoding/csv +github.com/mailru/easyjson/buffer +github.com/mailru/easyjson/jwriter +net/textproto +crypto/x509 +mime/multipart github.com/getkin/kin-openapi/routers/legacy/pathpattern +vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy +crypto/tls net/http/httptrace net/http -github.com/gorilla/mux github.com/go-openapi/swag +github.com/gorilla/mux github.com/go-openapi/jsonpointer github.com/getkin/kin-openapi/openapi3 github.com/getkin/kin-openapi/routers @@ -586,13 +622,13 @@ 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 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.06s) +--- PASS: Example (0.05s) PASS -ok github.com/getkin/kin-openapi/openapi2 0.066s +ok github.com/getkin/kin-openapi/openapi2 0.072s === RUN TestIssue187 --- PASS: TestIssue187 (0.00s) === RUN TestIssue237 @@ -614,7 +650,7 @@ === RUN TestConvOpenAPIV2ToV3 --- PASS: TestConvOpenAPIV2ToV3 (0.01s) PASS -ok github.com/getkin/kin-openapi/openapi2conv 0.046s +ok github.com/getkin/kin-openapi/openapi2conv 0.056s === RUN TestContent_Get === RUN TestContent_Get/missing === RUN TestContent_Get/full_match @@ -684,8 +720,8 @@ === 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 (0.03s) + --- PASS: TestInternalizeRefs/testdata/testref.openapi.yml (0.01s) --- PASS: TestInternalizeRefs/testdata/recursiveRef/openapi.yml (0.01s) --- PASS: TestInternalizeRefs/testdata/spec.yaml (0.00s) --- PASS: TestInternalizeRefs/testdata/callbacks.yml (0.01s) @@ -713,10 +749,10 @@ === RUN TestMultijsonTagSerialization/spec00/object === RUN TestMultijsonTagSerialization/spec00/boolean === RUN TestMultijsonTagSerialization/spec01 +=== RUN TestMultijsonTagSerialization/spec01/unset === RUN TestMultijsonTagSerialization/spec01/boolean === RUN TestMultijsonTagSerialization/spec01/empty-object === RUN TestMultijsonTagSerialization/spec01/object -=== RUN TestMultijsonTagSerialization/spec01/unset --- PASS: TestMultijsonTagSerialization (0.00s) --- PASS: TestMultijsonTagSerialization/spec00 (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/unset (0.00s) @@ -724,10 +760,10 @@ --- PASS: TestMultijsonTagSerialization/spec00/object (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/boolean (0.00s) --- PASS: TestMultijsonTagSerialization/spec01 (0.00s) + --- PASS: TestMultijsonTagSerialization/spec01/unset (0.00s) --- PASS: TestMultijsonTagSerialization/spec01/boolean (0.00s) --- PASS: TestMultijsonTagSerialization/spec01/empty-object (0.00s) --- PASS: TestMultijsonTagSerialization/spec01/object (0.00s) - --- PASS: TestMultijsonTagSerialization/spec01/unset (0.00s) === RUN TestOverridingGlobalParametersValidation --- PASS: TestOverridingGlobalParametersValidation (0.00s) === RUN TestIssue495 @@ -736,7 +772,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.05s) === RUN TestExtraSiblingsInRemoteRef issue513_test.go:11: skipping Internet test during Debian build --- SKIP: TestExtraSiblingsInRemoteRef (0.00s) @@ -757,7 +793,7 @@ === RUN TestIssue618 --- PASS: TestIssue618 (0.00s) === RUN TestIssue638 ---- PASS: TestIssue638 (0.06s) +--- PASS: TestIssue638 (0.05s) === RUN TestIssue697 --- PASS: TestIssue697 (0.00s) === RUN TestIssue735 @@ -847,7 +883,7 @@ === RUN TestCrashOnLoad --- PASS: TestCrashOnLoad (0.00s) === RUN TestIssue796 ---- PASS: TestIssue796 (0.36s) +--- PASS: TestIssue796 (0.34s) === RUN TestIssue819ResponsesGetPatternedFields --- PASS: TestIssue819ResponsesGetPatternedFields (0.00s) === RUN TestJSONSpecResponseDescriptionEmptiness @@ -858,7 +894,7 @@ loader_empty_response_description_test.go:61: No description provided: invalid spec --- PASS: TestJSONSpecResponseDescriptionEmptiness (0.00s) === RUN TestLoadReferenceFromRemoteURLFailsWithHttpError ---- PASS: TestLoadReferenceFromRemoteURLFailsWithHttpError (0.00s) +--- PASS: TestLoadReferenceFromRemoteURLFailsWithHttpError (0.01s) === RUN TestLoadFromRemoteURLFailsWithHttpError --- PASS: TestLoadFromRemoteURLFailsWithHttpError (0.00s) === RUN TestIssue212 @@ -941,7 +977,7 @@ === RUN TestLoadSpecWithRelativeDocumentRefs/HeaderRef#01 === RUN TestLoadSpecWithRelativeDocumentRefs/SecuritySchemeRef === RUN TestLoadSpecWithRelativeDocumentRefs/PathRef ---- PASS: TestLoadSpecWithRelativeDocumentRefs (0.01s) +--- PASS: TestLoadSpecWithRelativeDocumentRefs (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/SchemaRef (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/ResponseRef (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/ParameterRef (0.00s) @@ -952,7 +988,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 @@ -976,7 +1012,7 @@ === RUN TestLoadWithRecursiveReferenceInReferenceInLocalReference --- PASS: TestLoadWithRecursiveReferenceInReferenceInLocalReference (0.00s) === RUN TestLoadWithReferenceInReferenceInProperty ---- PASS: TestLoadWithReferenceInReferenceInProperty (0.01s) +--- PASS: TestLoadWithReferenceInReferenceInProperty (0.00s) === RUN TestLoadFileWithExternalSchemaRef --- PASS: TestLoadFileWithExternalSchemaRef (0.00s) === RUN TestLoadFileWithExternalSchemaRefSingleComponent @@ -998,25 +1034,25 @@ === RUN TestResolveNonComponentsRef --- PASS: TestResolveNonComponentsRef (0.00s) === RUN TestServersVariables -=== RUN TestServersVariables/{url:_"http://{x}.{y}.example.com"} -=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{enum:_["www"]}}} -=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"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://{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:_/} -=== RUN TestServersVariables/{url:_"http://{x}.y}.example.com"} -=== RUN TestServersVariables/{url:_"http://{x.example.com"} +=== RUN TestServersVariables/{url:_"http://{x}.{y}.example.com"} +=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} --- PASS: TestServersVariables (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://{x}.example.com",_variables:_{x:_{default:_"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://{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:_/} (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}.{y}.example.com"} (0.00s) + --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} (0.00s) === RUN TestReadFromIoReader --- PASS: TestReadFromIoReader (0.00s) === RUN TestReadFromIoReader_Nil @@ -1162,7 +1198,7 @@ === RUN TestSchemas/ANY_OF === RUN TestSchemas/ALL_OF === RUN TestSchemas/ONE_OF ---- PASS: TestSchemas (0.04s) +--- PASS: TestSchemas (0.03s) --- PASS: TestSchemas/EMPTY_SCHEMA (0.00s) --- PASS: TestSchemas/JUST_NULLABLE (0.00s) --- PASS: TestSchemas/NULLABLE_BOOLEAN (0.00s) @@ -1266,31 +1302,31 @@ === RUN TestServerParamNames --- PASS: TestServerParamNames (0.00s) === RUN TestServerParamValuesWithPath +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/d +=== RUN TestServerParamValuesWithPath/http://x.example.com/a/b +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/ +=== 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://domain0.domain1.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/b-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/1.0.0-version/c/d -=== RUN TestServerParamValuesWithPath/http://x.example.com/a/b +=== RUN TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/b-version/c/d --- PASS: TestServerParamValuesWithPath (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/d (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.example.com/a/b (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/ (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://domain0.domain1.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/b-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/1.0.0-version/c/d (0.00s) - --- PASS: TestServerParamValuesWithPath/http://x.example.com/a/b (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) @@ -1355,18 +1391,30 @@ === RUN TestIssue409HygienicUseOfCtx --- PASS: TestIssue409HygienicUseOfCtx (0.00s) === CONT TestExamplesSchemaValidation -=== CONT TestOneOf_Warning_Errors === RUN TestExamplesSchemaValidation/examples_validation_disabled +=== CONT TestOneOf_Warning_Errors === PAUSE TestExamplesSchemaValidation/examples_validation_disabled -=== RUN TestExamplesSchemaValidation/examples_validation_enabled -=== PAUSE TestExamplesSchemaValidation/examples_validation_enabled === CONT TestMaplikeMethods +=== CONT TestExampleObjectValidation +=== RUN TestExamplesSchemaValidation/examples_validation_enabled === RUN TestMaplikeMethods/*Responses -=== PAUSE TestMaplikeMethods/*Responses -=== RUN TestMaplikeMethods/*Callback -=== PAUSE TestMaplikeMethods/*Callback -=== RUN TestMaplikeMethods/*Paths -=== PAUSE TestMaplikeMethods/*Paths +=== RUN TestOneOf_Warning_Errors/valid_value +=== PAUSE TestOneOf_Warning_Errors/valid_value +=== RUN TestOneOf_Warning_Errors/valid_value#01 +=== PAUSE TestOneOf_Warning_Errors/valid_value#01 +=== RUN TestOneOf_Warning_Errors/no_valid_value +=== PAUSE TestOneOf_Warning_Errors/no_valid_value +=== CONT TestIssue767 +=== 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 TestIssue767/default_values_enabled_should_pass_with_minProps_2 +=== PAUSE TestIssue767/default_values_enabled_should_pass_with_minProps_2 +=== RUN TestIssue767/default_values_enabled_should_fail_with_maxProps_1 +=== PAUSE TestIssue767/default_values_enabled_should_fail_with_maxProps_1 +=== RUN TestIssue767/default_values_disabled_should_pass_with_maxProps_1 +=== PAUSE TestIssue767/default_values_disabled_should_pass_with_maxProps_1 === CONT TestIssue689 === RUN TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled === PAUSE TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled @@ -1380,49 +1428,68 @@ === PAUSE TestIssue689/write-only_property_succeeds_when_write-only_validation_is_disabled === RUN TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_disabled === PAUSE TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_disabled -=== RUN TestOneOf_Warning_Errors/valid_value -=== CONT TestExampleObjectValidation -=== PAUSE TestOneOf_Warning_Errors/valid_value -=== RUN TestExampleObjectValidation/examples_validation_disabled -=== PAUSE TestExampleObjectValidation/examples_validation_disabled -=== CONT TestIssue767 -=== RUN TestExampleObjectValidation/examples_validation_enabled -=== PAUSE TestExampleObjectValidation/examples_validation_enabled -=== RUN TestIssue767/default_values_disabled_should_fail_with_minProps_1 -=== PAUSE TestIssue767/default_values_disabled_should_fail_with_minProps_1 === 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 -=== RUN TestOneOf_Warning_Errors/valid_value#01 === PAUSE TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_enabled +=== CONT TestOneOf_Warning_Errors/valid_value +=== CONT TestIssue767/default_values_disabled_should_fail_with_minProps_1 +=== CONT TestOneOf_Warning_Errors/no_valid_value +=== RUN TestExampleObjectValidation/examples_validation_disabled +=== PAUSE TestExampleObjectValidation/examples_validation_disabled +=== RUN TestExampleObjectValidation/examples_validation_enabled +=== PAUSE TestExampleObjectValidation/examples_validation_enabled +=== CONT TestOneOf_Warning_Errors/valid_value#01 +=== CONT TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled +=== CONT TestIssue767/default_values_disabled_should_pass_with_maxProps_1 +=== PAUSE TestMaplikeMethods/*Responses +--- PASS: TestOneOf_Warning_Errors (0.00s) + --- PASS: TestOneOf_Warning_Errors/valid_value (0.00s) + --- PASS: TestOneOf_Warning_Errors/no_valid_value (0.00s) + --- PASS: TestOneOf_Warning_Errors/valid_value#01 (0.00s) +=== CONT TestIssue767/default_values_enabled_should_pass_with_minProps_2 +=== RUN TestMaplikeMethods/*Callback +=== CONT TestIssue767/default_values_enabled_should_fail_with_maxProps_1 +=== PAUSE TestMaplikeMethods/*Callback +=== CONT TestIssue767/default_values_enabled_should_pass_with_minProps_1 +=== RUN TestMaplikeMethods/*Paths +=== CONT TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_enabled +=== PAUSE TestMaplikeMethods/*Paths +=== CONT TestIssue689/write-only_property_fails_when_write-only_validation_is_enabled +=== PAUSE TestExamplesSchemaValidation/examples_validation_enabled +=== 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 +=== CONT TestExampleObjectValidation/examples_validation_disabled +=== CONT TestExampleObjectValidation/examples_validation_enabled +=== RUN TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive +=== CONT TestIssue689/write-only_property_succeeds_when_write-only_validation_is_disabled === CONT TestMaplikeMethods/*Responses === RUN TestMaplikeMethods/*Responses/nil -=== PAUSE TestOneOf_Warning_Errors/valid_value#01 -=== RUN TestOneOf_Warning_Errors/no_valid_value -=== RUN TestIssue767/default_values_enabled_should_pass_with_minProps_1 -=== PAUSE TestOneOf_Warning_Errors/no_valid_value +=== CONT TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_disabled === CONT TestExamplesSchemaValidation/examples_validation_disabled === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples -=== PAUSE TestIssue767/default_values_enabled_should_pass_with_minProps_1 -=== RUN TestIssue767/default_values_enabled_should_pass_with_minProps_2 -=== PAUSE TestIssue767/default_values_enabled_should_pass_with_minProps_2 -=== RUN TestIssue767/default_values_enabled_should_fail_with_maxProps_1 -=== PAUSE TestIssue767/default_values_enabled_should_fail_with_maxProps_1 -=== RUN TestIssue767/default_values_disabled_should_pass_with_maxProps_1 -=== PAUSE TestIssue767/default_values_disabled_should_pass_with_maxProps_1 -=== CONT TestExamplesSchemaValidation/examples_validation_enabled -=== CONT TestMaplikeMethods/*Paths -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples +--- PASS: TestIssue767 (0.00s) + --- PASS: TestIssue767/default_values_disabled_should_fail_with_minProps_1 (0.00s) + --- PASS: TestIssue767/default_values_disabled_should_pass_with_maxProps_1 (0.00s) + --- PASS: TestIssue767/default_values_enabled_should_pass_with_minProps_2 (0.00s) + --- PASS: TestIssue767/default_values_enabled_should_fail_with_maxProps_1 (0.00s) + --- PASS: TestIssue767/default_values_enabled_should_pass_with_minProps_1 (0.00s) === RUN TestMaplikeMethods/*Responses/nonnil +--- 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) + --- PASS: TestIssue689/write-only_property_fails_when_write-only_validation_is_enabled (0.00s) + --- 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) + --- PASS: TestIssue689/write-only_property_succeeds_when_write-only_validation_is_disabled (0.00s) + --- PASS: TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_disabled (0.00s) +=== CONT TestMaplikeMethods/*Paths === RUN TestMaplikeMethods/*Paths/nil === RUN TestMaplikeMethods/*Paths/nonnil === CONT TestMaplikeMethods/*Callback === RUN TestMaplikeMethods/*Callback/nil -=== 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_disabled/example_without_value === RUN TestMaplikeMethods/*Callback/nonnil --- PASS: TestMaplikeMethods (0.00s) --- PASS: TestMaplikeMethods/*Responses (0.00s) @@ -1434,80 +1501,49 @@ --- PASS: TestMaplikeMethods/*Callback (0.00s) --- PASS: TestMaplikeMethods/*Callback/nil (0.00s) --- PASS: TestMaplikeMethods/*Callback/nonnil (0.00s) -=== CONT TestExampleObjectValidation/examples_validation_enabled +=== RUN TestExampleObjectValidation/examples_validation_disabled/example_without_value +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples +=== CONT TestExamplesSchemaValidation/examples_validation_enabled +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples === RUN TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example === RUN TestExampleObjectValidation/examples_validation_enabled/example_without_value +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples +=== RUN TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example === RUN TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion -=== RUN TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples -=== CONT TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled -=== CONT TestIssue689/write-only_property_succeeds_when_write-only_validation_is_disabled -=== 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 -=== CONT TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_enabled --- 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.01s) + --- 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.02s) --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive (0.00s) --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_without_value (0.01s) - --- PASS: TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion (0.01s) -=== CONT TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_disabled -=== CONT TestIssue767/default_values_disabled_should_fail_with_minProps_1 -=== CONT TestIssue689/read-only_property_fails_when_read-only_validation_is_enabled -=== CONT TestIssue767/default_values_enabled_should_pass_with_minProps_1 ---- PASS: TestIssue689 (0.00s) - --- PASS: TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled (0.00s) - --- PASS: TestIssue689/write-only_property_succeeds_when_write-only_validation_is_disabled (0.00s) - --- PASS: TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_enabled (0.00s) - --- PASS: TestIssue689/write-only_property_fails_when_write-only_validation_is_enabled (0.00s) - --- PASS: TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_disabled (0.00s) - --- PASS: TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_enabled (0.00s) - --- PASS: TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_disabled (0.00s) - --- PASS: TestIssue689/read-only_property_fails_when_read-only_validation_is_enabled (0.00s) -=== CONT TestOneOf_Warning_Errors/valid_value -=== CONT TestIssue767/default_values_disabled_should_pass_with_maxProps_1 -=== CONT TestIssue767/default_values_enabled_should_pass_with_minProps_2 -=== CONT TestIssue767/default_values_enabled_should_fail_with_maxProps_1 -=== CONT TestOneOf_Warning_Errors/valid_value#01 ---- PASS: TestIssue767 (0.00s) - --- PASS: TestIssue767/default_values_disabled_should_fail_with_minProps_1 (0.00s) - --- PASS: TestIssue767/default_values_enabled_should_pass_with_minProps_1 (0.00s) - --- PASS: TestIssue767/default_values_disabled_should_pass_with_maxProps_1 (0.00s) - --- PASS: TestIssue767/default_values_enabled_should_pass_with_minProps_2 (0.00s) - --- PASS: TestIssue767/default_values_enabled_should_fail_with_maxProps_1 (0.00s) -=== CONT TestOneOf_Warning_Errors/no_valid_value ---- 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_enabled/valid_component_examples + --- PASS: TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion (0.00s) +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_component_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_mediatype_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_request_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/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_enabled/valid_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_enabled/invalid_schema_response_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/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_readonly_writeonly_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_readonly_request_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples === RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples --- PASS: TestExamplesSchemaValidation (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled (0.06s) @@ -1515,41 +1551,42 @@ --- 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.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_component_examples (0.00s) --- 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/invalid_schema_request_example (0.01s) --- 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.01s) + --- 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_readonly_request_examples (0.00s) --- 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.00s) --- 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/invalid_parameter_example (0.01s) --- 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/invalid_component_examples (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples (0.00s) + --- 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.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.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) === 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.875s +ok github.com/getkin/kin-openapi/openapi3 1.885s +? github.com/getkin/kin-openapi/openapi3gen/internal/subpkg [no test files] === RUN TestIssue201 === RUN TestIssue201/no_error === RUN TestIssue201/missing_non-required_header @@ -1822,7 +1859,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.02s) --- PASS: TestDecodeParameter/path_primitive (0.00s) --- PASS: TestDecodeParameter/path_primitive/simple (0.00s) --- PASS: TestDecodeParameter/path_primitive/simple_explode (0.00s) @@ -2051,7 +2088,7 @@ === RUN TestValidateQueryParams/deepObject_explode_nested_object_oneOf_-_object === RUN TestValidateQueryParams/deepObject_explode_nested_object_oneOf_-_object_-_more_than_one_match === RUN TestValidateQueryParams/deepObject_explode_nested_object_oneOf_-_array ---- PASS: TestValidateQueryParams (0.01s) +--- PASS: TestValidateQueryParams (0.00s) --- PASS: TestValidateQueryParams/deepObject_explode_additionalProperties_with_object_properties_-_missing_required_property (0.00s) --- PASS: TestValidateQueryParams/deepObject_explode_additionalProperties_with_object_properties_-_extraneous_nested_param_property_ignored (0.00s) --- PASS: TestValidateQueryParams/deepObject_explode_additionalProperties_with_object_properties (0.00s) @@ -2112,7 +2149,7 @@ === RUN TestValidateRequestBodyAndSetDefault/social_network_2(anyOf) === RUN TestValidateRequestBodyAndSetDefault/contact(oneOf) === RUN TestValidateRequestBodyAndSetDefault/contact(anyOf) ---- PASS: TestValidateRequestBodyAndSetDefault (0.01s) +--- PASS: TestValidateRequestBodyAndSetDefault (0.03s) --- PASS: TestValidateRequestBodyAndSetDefault/only_id (0.00s) --- PASS: TestValidateRequestBodyAndSetDefault/id_&_name (0.00s) --- PASS: TestValidateRequestBodyAndSetDefault/id_&_name_&_code (0.00s) @@ -2175,43 +2212,43 @@ === 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 (0.93s) --- 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.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_path (0.02s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_method (0.03s) + --- 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.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_content-type_on_POST (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_unsupported_content-type_on_POST (0.02s) --- PASS: TestValidationHandler_validateRequest/success_-_no_content-type_header_required_on_GET (0.02s) --- PASS: TestValidationHandler_validateRequest/empty_deepobject_query_parameter (0.02s) - --- PASS: TestValidationHandler_validateRequest/deepobject_query_parameter_type (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_bool (0.03s) + --- PASS: TestValidationHandler_validateRequest/deepobject_query_parameter_type (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_bool (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_integer (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_number (0.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_number (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_query_string_parameter (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type_as_integer (0.03s) + --- PASS: TestValidationHandler_validateRequest/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.02s) - --- PASS: TestValidationHandler_validateRequest/success_-_non_required_query_string_has_empty_value,_but_has_AllowEmptyValue (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.02s) --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings (0.02s) --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings,_array (0.03s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_query_string_array_serialization (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_query_string_parameter (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) (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_string_parameter (0.03s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_object_attribute (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_nested_object_attribute (0.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_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.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_attribute_type (0.03s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.02s) --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_object_attribute (0.02s) - --- 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.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_path_param (0.02s) + --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_POST (0.03s) + --- 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) === RUN TestValidationErrorEncoder @@ -2253,61 +2290,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.94s) +--- PASS: TestValidationErrorEncoder (1.04s) --- PASS: TestValidationErrorEncoder/error_-_unknown_host (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.02s) --- PASS: TestValidationErrorEncoder/error_-_unknown_method (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_missing_body_on_POST (0.03s) + --- 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.02s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_content-type_on_POST (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_content-type_on_POST (0.02s) --- 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.02s) + --- PASS: TestValidationErrorEncoder/success_-_no_content-type_header_required_on_GET (0.02s) + --- PASS: TestValidationErrorEncoder/empty_deepobject_query_parameter (0.03s) --- PASS: TestValidationErrorEncoder/deepobject_query_parameter_type (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_bool (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_bool (0.02s) --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_integer (0.02s) --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_number (0.02s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_query_string_parameter (0.02s) --- PASS: TestValidationErrorEncoder/error_-_wrong_query_string_parameter_type_as_integer (0.02s) - --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_query_string_parameter (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_non_required_query_string_has_empty_value (0.02s) + --- 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.02s) --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings (0.03s) --- 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.02s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_query_string_array_serialization (0.02s) + --- 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.02s) + --- PASS: TestValidationErrorEncoder/success_-_valid_enum_value,_allowing_commas (0.02s) + --- 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_object_attribute (0.02s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_nested_object_attribute (0.02s) - --- 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.03s) - --- PASS: TestValidationErrorEncoder/error_-_missing_path_param (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_wrong_path_param_type (0.03s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_with_path_params (0.02s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_deeply_nested_object_attribute (0.02s) + --- PASS: TestValidationErrorEncoder/error_-_wrong_attribute_type (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.03s) + --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_object_attribute (0.02s) + --- PASS: TestValidationErrorEncoder/success_-_normal_case,_POST (0.05s) + --- PASS: TestValidationErrorEncoder/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_missing_path_param (0.07s) + --- PASS: TestValidationErrorEncoder/error_-_wrong_path_param_type (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.07s) - --- PASS: TestValidationHandler_ServeHTTP/errors_on_invalid_requests (0.02s) - --- PASS: TestValidationHandler_ServeHTTP/passes_valid_requests_through (0.03s) - --- PASS: TestValidationHandler_ServeHTTP/uses_error_encoder (0.02s) +--- PASS: TestValidationHandler_ServeHTTP (0.09s) + --- PASS: TestValidationHandler_ServeHTTP/errors_on_invalid_requests (0.03s) + --- PASS: TestValidationHandler_ServeHTTP/passes_valid_requests_through (0.02s) + --- PASS: TestValidationHandler_ServeHTTP/uses_error_encoder (0.03s) === 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.03s) + --- 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/uses_error_encoder (0.03s) === RUN TestFilter validation_test.go:164: Request: POST http://example.com/api/prefix/v/suffix validation_test.go:183: Response: 200 @@ -2376,7 +2413,7 @@ === RUN TestIssue641/failed_anyof_pattern === RUN TestIssue641/success_allof_pattern === RUN TestIssue641/failed_allof_pattern ---- PASS: TestIssue641 (0.01s) +--- PASS: TestIssue641 (0.00s) --- PASS: TestIssue641/success_anyof_pattern (0.00s) --- PASS: TestIssue641/failed_anyof_pattern (0.00s) --- PASS: TestIssue641/success_allof_pattern (0.00s) @@ -2410,19 +2447,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/08/01 17:38:14 validation error: failed to find route for /test?version=1: method not allowed +2024/08/01 17:41:01 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/08/01 17:38:14 validation error: failed to find route for /test/42?version=1: method not allowed +2024/08/01 17:41:01 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/08/01 17:38:14 invalid request: parameter "version" in query has an error: value is required but missing +2024/08/01 17:41:01 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/08/01 17:38:14 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": value must be a number +2024/08/01 17:41:01 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" @@ -2433,7 +2470,7 @@ === NAME TestValidator middleware_test.go:352: test#6: invalid POST request; missing property === RUN TestValidator/invalid_POST_request;_missing_property -2024/08/01 17:38:14 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": property "actual" is missing +2024/08/01 17:41:01 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": property "actual" is missing Schema: { "additionalProperties": false, @@ -2464,7 +2501,7 @@ === NAME TestValidator middleware_test.go:352: test#7: invalid POST request; extra property === RUN TestValidator/invalid_POST_request;_extra_property -2024/08/01 17:38:14 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: property "ideal" is unsupported +2024/08/01 17:41:01 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: property "ideal" is unsupported Schema: { "additionalProperties": false, @@ -2500,7 +2537,7 @@ === NAME TestValidator middleware_test.go:352: test#9: invalid response; invalid error === RUN TestValidator/invalid_response;_invalid_error -2024/08/01 17:38:14 invalid response: response body doesn't match schema #/components/schemas/Error: value must be an object +2024/08/01 17:41:01 invalid response: response body doesn't match schema #/components/schemas/Error: value must be an object Schema: { "additionalProperties": false, @@ -2524,7 +2561,7 @@ === NAME TestValidator middleware_test.go:352: test#10: invalid POST response; not strict === RUN TestValidator/invalid_POST_response;_not_strict -2024/08/01 17:38:14 invalid response: response body doesn't match schema #/components/schemas/TestResource: property "extra" is unsupported +2024/08/01 17:41:01 invalid response: response body doesn't match schema #/components/schemas/TestResource: property "extra" is unsupported Schema: { "additionalProperties": false, @@ -2556,9 +2593,9 @@ === 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/08/01 17:38:14 invalid response: status is not supported ---- PASS: TestValidator (0.03s) - --- PASS: TestValidator/valid_GET (0.00s) +2024/08/01 17:41:01 invalid response: status is not supported +--- PASS: TestValidator (0.04s) + --- PASS: TestValidator/valid_GET (0.02s) --- 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) @@ -2577,12 +2614,12 @@ === RUN Example_validateMultipartFormData --- PASS: Example_validateMultipartFormData (0.00s) === RUN ExampleValidator -2024/08/01 17:38:14 validation error: failed to find route for /square/2: method not allowed -2024/08/01 17:38:14 validation error: failed to find route for /sum/2: no matching operation was found -2024/08/01 17:38:14 validation error: failed to find route for /square/circle/4: no matching operation was found -2024/08/01 17:38:14 validation error: failed to find route for /square: no matching operation was found -2024/08/01 17:38:14 invalid request: parameter "x" in path has an error: value five: an invalid integer: invalid syntax -2024/08/01 17:38:14 invalid response: response body doesn't match schema: property "comment" is unsupported +2024/08/01 17:41:01 validation error: failed to find route for /square/2: method not allowed +2024/08/01 17:41:01 validation error: failed to find route for /sum/2: no matching operation was found +2024/08/01 17:41:01 validation error: failed to find route for /square/circle/4: no matching operation was found +2024/08/01 17:41:01 validation error: failed to find route for /square: no matching operation was found +2024/08/01 17:41:01 invalid request: parameter "x" in path has an error: value five: an invalid integer: invalid syntax +2024/08/01 17:41:01 invalid response: response body doesn't match schema: property "comment" is unsupported Schema: { "additionalProperties": false, @@ -2604,7 +2641,7 @@ "comment": "the answer to the ultimate question of life, the universe, and everything", "result": 1764 } -2024/08/01 17:38:14 invalid response: response body doesn't match schema: Error at "/result": number must be at most 1e+06 +2024/08/01 17:41:01 invalid response: response body doesn't match schema: Error at "/result": number must be at most 1e+06 Schema: { "maximum": 1000000, @@ -2620,8 +2657,7 @@ === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi3filter 2.221s -? github.com/getkin/kin-openapi/openapi3gen/internal/subpkg [no test files] +ok github.com/getkin/kin-openapi/openapi3filter 2.332s === RUN TestExportedNonTagged --- PASS: TestExportedNonTagged (0.00s) === RUN TestEmbeddedPointerStructs @@ -2661,14 +2697,35 @@ === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi3gen 0.015s +ok github.com/getkin/kin-openapi/openapi3gen 0.041s === RUN TestIssue356 + issue356_test.go:66: using servers: "\n- url: http://localhost:3000/base\n- url: /base\n" (false) + issue356_test.go:76: using NewRouter from gorillamux + issue356_test.go:81: using naked newRouter + 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.00s) +--- PASS: TestIssue356 (0.01s) PASS -ok github.com/getkin/kin-openapi/routers 0.012s +ok github.com/getkin/kin-openapi/routers 0.035s === RUN TestRouter --- PASS: TestRouter (0.00s) === RUN TestPermuteScheme @@ -2698,7 +2755,7 @@ === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/gorillamux 0.019s +ok github.com/getkin/kin-openapi/routers/gorillamux 0.027s === RUN TestRouter --- PASS: TestRouter (0.00s) === RUN TestIssue444 @@ -2706,11 +2763,11 @@ === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/legacy 0.014s +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.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 @@ -2737,12 +2794,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/28665/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/28665/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/17754 and its subdirectories -I: Current time: Thu Aug 1 05:38:36 -12 2024 -I: pbuilder-time-stamp: 1722533916 +I: removing directory /srv/workspace/pbuilder/28665 and its subdirectories +I: Current time: Fri Aug 2 07:41:19 +14 2024 +I: pbuilder-time-stamp: 1722534079