Diff of the two buildlogs: -- --- b1/build.log 2024-12-01 20:06:57.791742841 +0000 +++ b2/build.log 2024-12-01 20:10:16.538811184 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Dec 1 08:03:04 -12 2024 -I: pbuilder-time-stamp: 1733083384 +I: Current time: Mon Dec 2 10:07:12 +14 2024 +I: pbuilder-time-stamp: 1733083632 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/10886/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/32614/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 Dec 1 20:07 /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/32614/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/32614/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]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=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='866e61f5484547db94e39a72d87e801c' - 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='10886' - PS1='# ' - PS2='> ' + INVOCATION_ID=ace9c076cf074641ba7012d3c1d85f7e + 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=32614 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.qfWA9iHA/pbuilderrc_PQja --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.qfWA9iHA/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.qfWA9iHA/pbuilderrc_euRB --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.qfWA9iHA/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-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10886/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/32614/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 trixie/main armhf golang-github-pmezard-go-difflib-dev all 1.0.0-3 [12.3 kB] Get: 50 http://deb.debian.org/debian trixie/main armhf golang-github-stretchr-objx-dev all 0.5.2-1 [25.5 kB] Get: 51 http://deb.debian.org/debian trixie/main armhf golang-github-stretchr-testify-dev all 1.9.0-1 [74.7 kB] -Fetched 64.1 MB in 1s (52.0 MB/s) +Fetched 64.1 MB in 1s (78.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19683 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/32614/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/32614/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,39 +465,39 @@ 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/goarch + 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/unsafeheader -internal/cpu +internal/goarch internal/byteorder +internal/cpu internal/abi -internal/chacha8rand -internal/bytealg internal/coverage/rtcov +internal/chacha8rand internal/godebugs internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic internal/runtime/syscall -internal/stringslite runtime/internal/math +internal/stringslite runtime/internal/sys -internal/runtime/exithook internal/race sync/atomic +internal/runtime/exithook unicode unicode/utf8 cmp -runtime encoding math/bits -math internal/itoa internal/asan internal/msan +math unicode/utf16 internal/nettrace +runtime log/internal crypto/internal/alias crypto/internal/boring/sig @@ -472,121 +508,121 @@ internal/reflectlite sync iter -slices internal/weak crypto/subtle +slices maps internal/bisect internal/testlog github.com/josharian/intern internal/singleflight -internal/godebug errors +sort runtime/cgo io -bytes strconv +bytes internal/oserror reflect path +internal/godebug syscall -time -encoding/binary -encoding/base64 -internal/fmtsort -internal/syscall/unix -io/fs -internal/poll -internal/filepathlite -internal/syscall/execenv strings -os -context vendor/golang.org/x/net/dns/dnsmessage -fmt math/rand/v2 -sort internal/concurrent unique +time +internal/syscall/unix +internal/syscall/execenv net/netip regexp/syntax -encoding/json +encoding/binary +internal/fmtsort +io/fs +internal/poll +context +encoding/base64 regexp -net -github.com/mailru/easyjson/jlexer -log -gopkg.in/yaml.v3 +internal/filepathlite bufio hash crypto crypto/cipher -crypto/internal/boring crypto/internal/randutil +os math/rand -math/big -mime -mime/quotedprintable -crypto/rand -path/filepath -compress/flate +crypto/internal/boring hash/crc32 crypto/aes -compress/gzip crypto/des 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/internal/nistec -crypto/ed25519 crypto/hmac vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/chacha20poly1305 -crypto/ecdh -crypto/elliptic vendor/golang.org/x/crypto/hkdf -crypto/internal/hpke +fmt +path/filepath +net vendor/golang.org/x/sys/cpu -crypto/ecdsa vendor/golang.org/x/crypto/sha3 +encoding/json +gopkg.in/yaml.v3 +log +math/big +github.com/mailru/easyjson/jlexer +mime +mime/quotedprintable +compress/flate +crypto/internal/nistec +crypto/rand +compress/gzip +crypto/internal/bigmod +crypto/internal/boring/bbig +crypto/ecdh +crypto/elliptic +encoding/asn1 +crypto/ed25519 +crypto/internal/hpke crypto/internal/mlkem768 crypto/md5 +vendor/golang.org/x/crypto/cryptobyte crypto/rc4 crypto/rsa crypto/sha1 crypto/sha256 crypto/dsa encoding/hex +crypto/ecdsa encoding/pem crypto/x509/pkix net/url vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi -github.com/mailru/easyjson/buffer -github.com/mailru/easyjson/jwriter -net/textproto -crypto/x509 -mime/multipart -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/net/idna -crypto/tls net/http/internal +vendor/golang.org/x/text/secure/bidirule net/http/internal/ascii github.com/invopop/yaml -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy github.com/mohae/deepcopy github.com/perimeterx/marshmallow archive/zip +vendor/golang.org/x/net/idna encoding/csv +github.com/mailru/easyjson/buffer +github.com/mailru/easyjson/jwriter +net/textproto +crypto/x509 +mime/multipart +vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy github.com/getkin/kin-openapi/routers/legacy/pathpattern +crypto/tls net/http/httptrace net/http github.com/gorilla/mux @@ -594,24 +630,24 @@ 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/gorillamux github.com/getkin/kin-openapi/routers/legacy 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.01s) === RUN Example ---- PASS: Example (0.11s) +--- PASS: Example (0.10s) PASS -ok github.com/getkin/kin-openapi/openapi2 0.137s +ok github.com/getkin/kin-openapi/openapi2 0.139s === RUN TestIssue187 --- PASS: TestIssue187 (0.00s) === RUN TestIssue237 ---- PASS: TestIssue237 (0.01s) +--- PASS: TestIssue237 (0.00s) === RUN TestPR449 --- PASS: TestPR449 (0.00s) === RUN TestIssue440 @@ -619,17 +655,17 @@ === RUN TestPR558 --- PASS: TestPR558 (0.00s) === RUN TestIssue573 ---- PASS: TestIssue573 (0.00s) +--- PASS: TestIssue573 (0.01s) === RUN TestIssue847 --- PASS: TestIssue847 (0.00s) === RUN TestConvOpenAPIV3ToV2 ---- PASS: TestConvOpenAPIV3ToV2 (0.01s) +--- PASS: TestConvOpenAPIV3ToV2 (0.02s) === RUN TestConvOpenAPIV3ToV2WithReqBody --- PASS: TestConvOpenAPIV3ToV2WithReqBody (0.00s) === RUN TestConvOpenAPIV2ToV3 ---- PASS: TestConvOpenAPIV2ToV3 (0.01s) +--- PASS: TestConvOpenAPIV2ToV3 (0.02s) PASS -ok github.com/getkin/kin-openapi/openapi2conv 0.089s +ok github.com/getkin/kin-openapi/openapi2conv 0.106s === RUN TestContent_Get === RUN TestContent_Get/missing === RUN TestContent_Get/full_match @@ -657,13 +693,13 @@ --- PASS: TestContent_Get/invalid_mime_type_no_encoding (0.00s) --- PASS: TestContent_Get/missing_mime_type (0.00s) === RUN TestParsingDiscriminator ---- PASS: TestParsingDiscriminator (0.00s) +--- PASS: TestParsingDiscriminator (0.01s) === RUN TestEncodingJSON encoding_test.go:12: Marshal *openapi3.Encoding to JSON 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 @@ -699,11 +735,11 @@ === RUN TestInternalizeRefs/testdata/spec.yaml === RUN TestInternalizeRefs/testdata/callbacks.yml === RUN TestInternalizeRefs/testdata/issue831/testref.internalizepath.openapi.yml ---- PASS: TestInternalizeRefs (0.03s) - --- PASS: TestInternalizeRefs/testdata/testref.openapi.yml (0.00s) +--- PASS: TestInternalizeRefs (0.06s) + --- 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) + --- PASS: TestInternalizeRefs/testdata/spec.yaml (0.01s) + --- PASS: TestInternalizeRefs/testdata/callbacks.yml (0.02s) --- PASS: TestInternalizeRefs/testdata/issue831/testref.internalizepath.openapi.yml (0.00s) === RUN TestIssue136 === RUN TestIssue136/"foo" @@ -714,7 +750,7 @@ === RUN TestIssue301 --- PASS: TestIssue301 (0.00s) === RUN TestIssue341 ---- PASS: TestIssue341 (0.00s) +--- PASS: TestIssue341 (0.01s) === RUN TestIssue344 --- PASS: TestIssue344 (0.00s) === RUN TestIssue376 @@ -723,26 +759,26 @@ --- PASS: TestExclusiveValuesOfValuesAdditionalProperties (0.00s) === RUN TestMultijsonTagSerialization === RUN TestMultijsonTagSerialization/spec00 -=== RUN TestMultijsonTagSerialization/spec00/empty-object === RUN TestMultijsonTagSerialization/spec00/object === RUN TestMultijsonTagSerialization/spec00/boolean === RUN TestMultijsonTagSerialization/spec00/unset +=== RUN TestMultijsonTagSerialization/spec00/empty-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 (0.01s) --- PASS: TestMultijsonTagSerialization/spec00 (0.00s) - --- PASS: TestMultijsonTagSerialization/spec00/empty-object (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/object (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/boolean (0.00s) --- PASS: TestMultijsonTagSerialization/spec00/unset (0.00s) - --- PASS: TestMultijsonTagSerialization/spec01 (0.00s) + --- PASS: TestMultijsonTagSerialization/spec00/empty-object (0.00s) + --- PASS: TestMultijsonTagSerialization/spec01 (0.01s) + --- 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 @@ -751,7 +787,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.09s) +--- PASS: TestIssue495WithDraft04Bis (0.13s) === RUN TestExtraSiblingsInRemoteRef issue513_test.go:11: skipping Internet test during Debian build --- SKIP: TestExtraSiblingsInRemoteRef (0.00s) @@ -760,21 +796,21 @@ === RUN TestIssue513KOHasExtraFieldSchema --- PASS: TestIssue513KOHasExtraFieldSchema (0.00s) === RUN TestIssue513KOMixesRefAlongWithOtherFieldsDisallowed ---- PASS: TestIssue513KOMixesRefAlongWithOtherFieldsDisallowed (0.00s) +--- PASS: TestIssue513KOMixesRefAlongWithOtherFieldsDisallowed (0.01s) === RUN TestIssue513KOMixesRefAlongWithOtherFieldsAllowed --- PASS: TestIssue513KOMixesRefAlongWithOtherFieldsAllowed (0.00s) === RUN TestIssue542 --- PASS: TestIssue542 (0.00s) === RUN TestIssue570 ---- PASS: TestIssue570 (0.03s) +--- PASS: TestIssue570 (0.06s) === RUN TestIssue601 ---- PASS: TestIssue601 (0.05s) +--- PASS: TestIssue601 (0.10s) === RUN TestIssue618 ---- PASS: TestIssue618 (0.00s) +--- PASS: TestIssue618 (0.01s) === RUN TestIssue638 ---- PASS: TestIssue638 (0.07s) +--- PASS: TestIssue638 (0.13s) === RUN TestIssue697 ---- PASS: TestIssue697 (0.00s) +--- PASS: TestIssue697 (0.01s) === RUN TestIssue735 === RUN TestIssue735/type_string === RUN TestIssue735/type_boolean @@ -840,7 +876,7 @@ --- PASS: TestIssue735/invalid_properties_schema (0.00s) --- PASS: TestIssue735/required_properties (0.00s) --- PASS: TestIssue735/one_of_(matches_more_then_one) (0.00s) - --- PASS: TestIssue735/one_of_(no_matches) (0.00s) + --- PASS: TestIssue735/one_of_(no_matches) (0.01s) --- PASS: TestIssue735/any_of (0.00s) --- PASS: TestIssue735/all_of_(match_some) (0.00s) --- PASS: TestIssue735/all_of_(no_match) (0.00s) @@ -862,7 +898,7 @@ === RUN TestCrashOnLoad --- PASS: TestCrashOnLoad (0.00s) === RUN TestIssue796 ---- PASS: TestIssue796 (0.53s) +--- PASS: TestIssue796 (0.50s) === RUN TestIssue819ResponsesGetPatternedFields --- PASS: TestIssue819ResponsesGetPatternedFields (0.00s) === RUN TestJSONSpecResponseDescriptionEmptiness @@ -873,7 +909,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 @@ -881,9 +917,9 @@ === RUN TestIssue220 loader_issue220_test.go:15: specPath: "testdata/my-openapi.json" loader_issue220_test.go:15: specPath: "testdata/my-openapi.json" ---- PASS: TestIssue220 (0.00s) +--- PASS: TestIssue220 (0.01s) === RUN TestIssue235OK ---- PASS: TestIssue235OK (0.00s) +--- PASS: TestIssue235OK (0.01s) === RUN TestIssue235CircularDep loader_issue235_test.go:19: TODO: return an error on circular dependencies between external files of a spec --- SKIP: TestIssue235CircularDep (0.00s) @@ -894,7 +930,7 @@ === RUN TestPathsMustStartWithSlash --- PASS: TestPathsMustStartWithSlash (0.00s) === RUN TestLoaderReadFromURIFunc ---- PASS: TestLoaderReadFromURIFunc (0.00s) +--- PASS: TestLoaderReadFromURIFunc (0.01s) === RUN TestResolveSchemaExternalRef --- PASS: TestResolveSchemaExternalRef (0.00s) === RUN TestLoaderSupportsRecursiveReference @@ -921,7 +957,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.06s) === RUN TestLoadFromDataWithExternalRefResponseError loader_relative_refs_test.go:212: testcase "CannotContainBothSchemaAndContentInAParameter" --- PASS: TestLoadFromDataWithExternalRefResponseError (0.00s) @@ -945,7 +981,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.04s) +--- PASS: TestLoadFromDataWithExternalNestedRef (0.06s) === RUN TestLoadSpecWithRelativeDocumentRefs === RUN TestLoadSpecWithRelativeDocumentRefs/SchemaRef === RUN TestLoadSpecWithRelativeDocumentRefs/ResponseRef @@ -956,7 +992,7 @@ === RUN TestLoadSpecWithRelativeDocumentRefs/HeaderRef#01 === RUN TestLoadSpecWithRelativeDocumentRefs/SecuritySchemeRef === RUN TestLoadSpecWithRelativeDocumentRefs/PathRef ---- PASS: TestLoadSpecWithRelativeDocumentRefs (0.01s) +--- PASS: TestLoadSpecWithRelativeDocumentRefs (0.02s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/SchemaRef (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/ResponseRef (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/ParameterRef (0.00s) @@ -965,17 +1001,17 @@ --- PASS: TestLoadSpecWithRelativeDocumentRefs/HeaderRef (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/HeaderRef#01 (0.00s) --- PASS: TestLoadSpecWithRelativeDocumentRefs/SecuritySchemeRef (0.00s) - --- PASS: TestLoadSpecWithRelativeDocumentRefs/PathRef (0.00s) + --- PASS: TestLoadSpecWithRelativeDocumentRefs/PathRef (0.01s) === RUN TestLoadSpecWithRelativeDocumentRefs2 ---- PASS: TestLoadSpecWithRelativeDocumentRefs2 (0.01s) +--- PASS: TestLoadSpecWithRelativeDocumentRefs2 (0.00s) === RUN TestLoadYAML ---- PASS: TestLoadYAML (0.01s) +--- PASS: TestLoadYAML (0.00s) === RUN TestIssue731 --- PASS: TestIssue731 (0.00s) === RUN TestResolveSchemaRef --- PASS: TestResolveSchemaRef (0.00s) === RUN TestResolveResponseExampleRef ---- PASS: TestResolveResponseExampleRef (0.00s) +--- PASS: TestResolveResponseExampleRef (0.01s) === RUN TestLoadErrorOnRefMisuse --- PASS: TestLoadErrorOnRefMisuse (0.00s) === RUN TestLoadPathParamRef @@ -989,49 +1025,49 @@ === RUN TestLoadWithRecursiveReferenceInLocalReferenceInParentSubdir --- PASS: TestLoadWithRecursiveReferenceInLocalReferenceInParentSubdir (0.00s) === RUN TestLoadWithRecursiveReferenceInReferenceInLocalReference ---- PASS: TestLoadWithRecursiveReferenceInReferenceInLocalReference (0.00s) +--- PASS: TestLoadWithRecursiveReferenceInReferenceInLocalReference (0.01s) === RUN TestLoadWithReferenceInReferenceInProperty --- PASS: TestLoadWithReferenceInReferenceInProperty (0.01s) === RUN TestLoadFileWithExternalSchemaRef ---- PASS: TestLoadFileWithExternalSchemaRef (0.00s) +--- PASS: TestLoadFileWithExternalSchemaRef (0.01s) === RUN TestLoadFileWithExternalSchemaRefSingleComponent ---- PASS: TestLoadFileWithExternalSchemaRefSingleComponent (0.00s) +--- PASS: TestLoadFileWithExternalSchemaRefSingleComponent (0.01s) === RUN TestLoadRequestResponseHeaderRef --- PASS: TestLoadRequestResponseHeaderRef (0.00s) === RUN TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef ---- PASS: TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef (0.01s) +--- PASS: TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef (0.02s) === RUN TestLoadYamlFile --- PASS: TestLoadYamlFile (0.00s) === RUN TestLoadYamlFileWithExternalSchemaRef --- PASS: TestLoadYamlFileWithExternalSchemaRef (0.00s) === RUN TestLoadYamlFileWithExternalPathRef ---- PASS: TestLoadYamlFileWithExternalPathRef (0.00s) +--- PASS: TestLoadYamlFileWithExternalPathRef (0.01s) === RUN TestResolveResponseLinkRef --- PASS: TestResolveResponseLinkRef (0.00s) === RUN TestLinksFromOAISpec ---- PASS: TestLinksFromOAISpec (0.02s) +--- PASS: TestLinksFromOAISpec (0.01s) === RUN TestResolveNonComponentsRef ---- PASS: TestResolveNonComponentsRef (0.00s) +--- PASS: TestResolveNonComponentsRef (0.01s) === RUN TestServersVariables +=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} === RUN TestServersVariables/{url:_/} -=== RUN TestServersVariables/{url:_"http://{x.example.com"} -=== RUN TestServersVariables/{url:_"http://{x}.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}.y}.example.com"} -=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} -=== RUN TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www",_enum:_["www"]}}} === RUN TestServersVariables/{url:_"http://www.example.com",_variables:_{x:_{enum:_["www"]}}} +=== RUN TestServersVariables/{url:_"http://{y}.example.com",_variables:_{x:_{enum:_["www"]}}} +=== 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"]}}} --- PASS: TestServersVariables (0.01s) + --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} (0.00s) --- PASS: TestServersVariables/{url:_/} (0.00s) - --- PASS: TestServersVariables/{url:_"http://{x.example.com"} (0.00s) - --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{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}.y}.example.com"} (0.00s) - --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www"}}} (0.01s) - --- PASS: TestServersVariables/{url:_"http://{x}.example.com",_variables:_{x:_{default:_"www",_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.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) === RUN TestReadFromIoReader --- PASS: TestReadFromIoReader (0.00s) === RUN TestReadFromIoReader_Nil @@ -1039,7 +1075,7 @@ === RUN TestMaplikeMethods === PAUSE TestMaplikeMethods === RUN TestUnmarshalError ---- PASS: TestUnmarshalError (0.00s) +--- PASS: TestUnmarshalError (0.01s) === RUN TestMediaTypeJSON media_type_test.go:12: Marshal *openapi3.MediaType to JSON media_type_test.go:17: Unmarshal *openapi3.MediaType from JSON @@ -1053,7 +1089,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 @@ -1061,7 +1097,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.05s) +--- PASS: TestRefsYAML (0.02s) === RUN TestValidation === RUN TestValidation/no_errors === RUN TestValidation/version_is_missing @@ -1070,7 +1106,7 @@ === RUN TestValidation/paths_section_is_missing === RUN TestValidation/externalDocs_section_is_invalid === RUN TestValidation/tags_section_is_invalid ---- PASS: TestValidation (0.02s) +--- PASS: TestValidation (0.03s) --- PASS: TestValidation/no_errors (0.01s) --- PASS: TestValidation/version_is_missing (0.00s) --- PASS: TestValidation/version_is_empty_string (0.00s) @@ -1102,16 +1138,16 @@ === RUN TestPathsValidate/ok,_empty_paths === RUN TestPathsValidate/operation_ids_are_not_unique,_same_path === RUN TestPathsValidate/operation_ids_are_not_unique,_different_paths ---- PASS: TestPathsValidate (0.00s) - --- PASS: TestPathsValidate/ok,_empty_paths (0.00s) +--- PASS: TestPathsValidate (0.01s) + --- PASS: TestPathsValidate/ok,_empty_paths (0.01s) --- 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.01s) +--- PASS: TestIssue222 (0.00s) === RUN TestIssue247 --- PASS: TestIssue247 (0.01s) === RUN TestEmptyResponsesAreInvalid ---- PASS: TestEmptyResponsesAreInvalid (0.01s) +--- PASS: TestEmptyResponsesAreInvalid (0.03s) === RUN TestIssue430 --- PASS: TestIssue430 (0.00s) === RUN TestFormatCallback_WrapError @@ -1129,21 +1165,21 @@ --- PASS: TestUuidFormat/uuid_v4 (0.00s) --- PASS: TestUuidFormat/uuid_nil (0.00s) === RUN TestIssue289 ---- PASS: TestIssue289 (0.00s) +--- PASS: TestIssue289 (0.01s) === RUN TestIssue492 --- PASS: TestIssue492 (0.00s) === RUN TestVisitJSON_OneOf_MissingDescriptorProperty --- PASS: TestVisitJSON_OneOf_MissingDescriptorProperty (0.00s) === RUN TestVisitJSON_OneOf_MissingDescriptorValue ---- PASS: TestVisitJSON_OneOf_MissingDescriptorValue (0.00s) +--- PASS: TestVisitJSON_OneOf_MissingDescriptorValue (0.01s) === RUN TestVisitJSON_OneOf_MissingField ---- PASS: TestVisitJSON_OneOf_MissingField (0.00s) +--- PASS: TestVisitJSON_OneOf_MissingField (0.01s) === RUN TestVisitJSON_OneOf_NoDescriptor_MissingField --- PASS: TestVisitJSON_OneOf_NoDescriptor_MissingField (0.00s) === RUN TestVisitJSON_OneOf_BadDiscriminatorType --- PASS: TestVisitJSON_OneOf_BadDiscriminatorType (0.00s) === RUN TestVisitJSON_OneOf_Path ---- PASS: TestVisitJSON_OneOf_Path (0.00s) +--- PASS: TestVisitJSON_OneOf_Path (0.01s) === RUN TestPattern --- PASS: TestPattern (0.00s) === RUN TestSchemas @@ -1177,7 +1213,7 @@ === RUN TestSchemas/ANY_OF === RUN TestSchemas/ALL_OF === RUN TestSchemas/ONE_OF ---- PASS: TestSchemas (0.04s) +--- PASS: TestSchemas (0.08s) --- PASS: TestSchemas/EMPTY_SCHEMA (0.00s) --- PASS: TestSchemas/JUST_NULLABLE (0.00s) --- PASS: TestSchemas/NULLABLE_BOOLEAN (0.00s) @@ -1185,18 +1221,18 @@ --- PASS: TestSchemas/PRIMITIVES_WITH_NULL (0.00s) --- PASS: TestSchemas/NULLABLE_ANYOF (0.00s) --- PASS: TestSchemas/ANYOF_NULLABLE_CHILD (0.00s) - --- PASS: TestSchemas/NULLABLE_ALLOF (0.00s) + --- PASS: TestSchemas/NULLABLE_ALLOF (0.02s) --- PASS: TestSchemas/ANYOF_WITH_PARENT_CONSTRAINTS (0.00s) --- PASS: TestSchemas/BOOLEAN (0.00s) - --- PASS: TestSchemas/NUMBER (0.00s) + --- PASS: TestSchemas/NUMBER (0.01s) --- PASS: TestSchemas/INTEGER (0.00s) --- PASS: TestSchemas/INTEGER_OPTIONAL_INT64_FORMAT (0.00s) --- PASS: TestSchemas/INTEGER_OPTIONAL_INT32_FORMAT (0.00s) - --- PASS: TestSchemas/STRING (0.00s) + --- PASS: TestSchemas/STRING (0.01s) --- PASS: TestSchemas/STRING:_optional_format_'uuid' (0.00s) --- PASS: TestSchemas/STRING:_format_'date-time' (0.00s) --- PASS: TestSchemas/STRING:_format_'date-time'#01 (0.00s) - --- PASS: TestSchemas/ARRAY (0.00s) + --- PASS: TestSchemas/ARRAY (0.01s) --- PASS: TestSchemas/ARRAY_:_items_format_'object' (0.00s) --- PASS: TestSchemas/ARRAY_:_items_format_'object'_and_object_with_a_property_of_array_type_ (0.00s) --- PASS: TestSchemas/ARRAY_:_items_format_'array' (0.00s) @@ -1228,8 +1264,8 @@ === RUN TestSchemasMultiError/ARRAY:_simple === RUN TestSchemasMultiError/ARRAY:_object === RUN TestSchemasMultiError/OBJECT ---- PASS: TestSchemasMultiError (0.00s) - --- PASS: TestSchemasMultiError/STRING (0.00s) +--- PASS: TestSchemasMultiError (0.01s) + --- PASS: TestSchemasMultiError/STRING (0.01s) --- PASS: TestSchemasMultiError/NUMBER (0.00s) --- PASS: TestSchemasMultiError/ARRAY:_simple (0.00s) --- PASS: TestSchemasMultiError/ARRAY:_object (0.00s) @@ -1281,31 +1317,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/ -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/c +=== RUN TestServerParamValuesWithPath/http://baddomain.com/.example.com/a/1.0.0/2/2.0.0-version/c === RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/ === RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/d -=== RUN TestServerParamValuesWithPath/http://x.y.example.com/ +=== RUN TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/b-version/c/d +=== RUN TestServerParamValuesWithPath/http://x.example.com/a/b +=== 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://domain0.domain1.example.com/a/b-version/c/d +=== 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 ---- PASS: TestServerParamValuesWithPath (0.01s) - --- PASS: TestServerParamValuesWithPath/http://x.example.com/a/b (0.00s) +=== RUN TestServerParamValuesWithPath/http://x.y.example.com/ +--- PASS: TestServerParamValuesWithPath (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/2/2.0.0-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/ (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/d (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) + --- PASS: TestServerParamValuesWithPath/http://x.example.com/a/b (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://domain0.domain1.example.com/a/b-version/c/d (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/ (0.00s) --- PASS: TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/1.0.0-version/c/d (0.00s) + --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/ (0.00s) === RUN TestServerParamValuesNoPath === RUN TestServerParamValuesNoPath/https://domain0.domain1.example.com/ --- PASS: TestServerParamValuesNoPath (0.00s) @@ -1333,11 +1369,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 (1.04s) +--- PASS: TestIssue594 (1.63s) === RUN TestIssue615 --- PASS: TestIssue615 (0.01s) === RUN TestIssue652 @@ -1370,81 +1406,49 @@ === RUN TestIssue409HygienicUseOfCtx --- PASS: TestIssue409HygienicUseOfCtx (0.00s) === CONT TestExamplesSchemaValidation -=== CONT TestOneOf_Warning_Errors === RUN TestExamplesSchemaValidation/examples_validation_disabled === PAUSE TestExamplesSchemaValidation/examples_validation_disabled === RUN TestExamplesSchemaValidation/examples_validation_enabled === PAUSE TestExamplesSchemaValidation/examples_validation_enabled -=== CONT TestMaplikeMethods -=== CONT TestIssue689 -=== RUN TestMaplikeMethods/*Responses -=== PAUSE TestMaplikeMethods/*Responses -=== RUN TestMaplikeMethods/*Callback +=== CONT TestExamplesSchemaValidation/examples_validation_disabled +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples === CONT TestExampleObjectValidation -=== PAUSE TestMaplikeMethods/*Callback === RUN TestExampleObjectValidation/examples_validation_disabled === PAUSE TestExampleObjectValidation/examples_validation_disabled === RUN TestExampleObjectValidation/examples_validation_enabled === PAUSE TestExampleObjectValidation/examples_validation_enabled +=== CONT TestExampleObjectValidation/examples_validation_disabled +=== RUN TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive +=== RUN TestExampleObjectValidation/examples_validation_disabled/example_without_value === CONT TestIssue767 -=== RUN TestMaplikeMethods/*Paths -=== PAUSE TestMaplikeMethods/*Paths -=== RUN TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled === RUN TestIssue767/default_values_disabled_should_fail_with_minProps_1 -=== PAUSE TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled === PAUSE TestIssue767/default_values_disabled_should_fail_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_1 -=== PAUSE TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_disabled === PAUSE TestIssue767/default_values_enabled_should_pass_with_minProps_1 -=== 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 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_disabled -=== CONT TestExamplesSchemaValidation/examples_validation_enabled -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples -=== 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 TestExampleObjectValidation/examples_validation_disabled -=== RUN TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples -=== RUN TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_enabled -=== PAUSE TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_enabled -=== RUN TestIssue689/write-only_property_succeeds_when_write-only_validation_is_disabled -=== 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 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 TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples -=== RUN TestExampleObjectValidation/examples_validation_enabled/example_without_value -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples -=== RUN TestExampleObjectValidation/examples_validation_disabled/example_without_value -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example -=== RUN TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example -=== RUN TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example -=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples +=== 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 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_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 TestMaplikeMethods +=== RUN TestMaplikeMethods/*Responses +=== PAUSE TestMaplikeMethods/*Responses +=== RUN TestMaplikeMethods/*Callback +=== PAUSE TestMaplikeMethods/*Callback +=== RUN TestMaplikeMethods/*Paths +=== PAUSE TestMaplikeMethods/*Paths === CONT TestMaplikeMethods/*Responses === RUN TestMaplikeMethods/*Responses/nil === RUN TestMaplikeMethods/*Responses/nonnil @@ -1464,99 +1468,131 @@ --- PASS: TestMaplikeMethods/*Callback (0.00s) --- PASS: TestMaplikeMethods/*Callback/nil (0.00s) --- PASS: TestMaplikeMethods/*Callback/nonnil (0.00s) -=== CONT TestIssue767/default_values_disabled_should_fail_with_minProps_1 -=== CONT TestIssue767/default_values_enabled_should_fail_with_maxProps_1 -=== CONT TestIssue767/default_values_enabled_should_pass_with_minProps_2 -=== CONT TestIssue767/default_values_enabled_should_pass_with_minProps_1 -=== CONT TestIssue767/default_values_disabled_should_pass_with_maxProps_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_enabled_should_pass_with_minProps_2 (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) +=== CONT TestExamplesSchemaValidation/examples_validation_enabled +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples +=== CONT TestOneOf_Warning_Errors +=== RUN TestOneOf_Warning_Errors/valid_value +=== PAUSE TestOneOf_Warning_Errors/valid_value +=== RUN TestOneOf_Warning_Errors/valid_value#01 +=== PAUSE TestOneOf_Warning_Errors/valid_value#01 +=== RUN TestOneOf_Warning_Errors/no_valid_value +=== PAUSE TestOneOf_Warning_Errors/no_valid_value === CONT TestOneOf_Warning_Errors/valid_value +=== CONT 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 +=== RUN TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_disabled +=== 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 TestIssue689/non_read-only_property_succeeds_when_read-only_validation_is_enabled +=== RUN TestIssue689/write-only_property_succeeds_when_write-only_validation_is_disabled +=== 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 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 TestIssue689/read-only_property_succeeds_when_read-only_validation_is_disabled === CONT TestOneOf_Warning_Errors/no_valid_value === CONT TestOneOf_Warning_Errors/valid_value#01 --- PASS: TestOneOf_Warning_Errors (0.00s) --- PASS: TestOneOf_Warning_Errors/valid_value (0.00s) --- PASS: TestOneOf_Warning_Errors/no_valid_value (0.00s) --- PASS: TestOneOf_Warning_Errors/valid_value#01 (0.00s) -=== CONT TestIssue689/read-only_property_succeeds_when_read-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/write-only_property_succeeds_when_write-only_validation_is_disabled === 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 TestIssue689/write-only_property_fails_when_write-only_validation_is_enabled -=== CONT TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_enabled -=== CONT TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_disabled ---- PASS: TestIssue689 (0.02s) +--- 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_write-only_property_succeeds_when_write-only_validation_is_disabled (0.00s) --- PASS: TestIssue689/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/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_fails_when_write-only_validation_is_enabled (0.00s) - --- PASS: TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_enabled (0.00s) - --- PASS: TestIssue689/non_write-only_property_succeeds_when_write-only_validation_is_disabled (0.00s) +=== CONT TestExampleObjectValidation/examples_validation_enabled +=== RUN TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example +=== RUN TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion +=== RUN TestExampleObjectValidation/examples_validation_enabled/example_without_value +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_example +=== RUN TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion --- PASS: TestExampleObjectValidation (0.00s) - --- PASS: TestExampleObjectValidation/examples_validation_disabled (0.05s) - --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive (0.03s) - --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_without_value (0.02s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled (0.03s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_examples_mutually_exclusive (0.00s) + --- PASS: TestExampleObjectValidation/examples_validation_disabled/example_without_value (0.03s) --- PASS: TestExampleObjectValidation/examples_validation_disabled/value_externalValue_mutual_exclusion (0.00s) - --- PASS: TestExampleObjectValidation/examples_validation_enabled (0.05s) - --- PASS: TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive (0.00s) - --- PASS: TestExampleObjectValidation/examples_validation_enabled/example_without_value (0.02s) - --- PASS: TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion (0.02s) -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example + --- PASS: TestExampleObjectValidation/examples_validation_enabled (0.04s) + --- PASS: TestExampleObjectValidation/examples_validation_enabled/example_examples_mutually_exclusive (0.02s) + --- PASS: TestExampleObjectValidation/examples_validation_enabled/example_without_value (0.01s) + --- PASS: TestExampleObjectValidation/examples_validation_enabled/value_externalValue_mutual_exclusion (0.00s) +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples +=== RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_component_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_mediatype_examples -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_request_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_request_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_response_example -=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/valid_readonly_writeonly_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_response_example +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_readonly_request_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples === RUN TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples +=== RUN TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples --- PASS: TestExamplesSchemaValidation (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled (0.12s) - --- 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/valid_parameter_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_component_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_component_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_mediatype_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_mediatype_examples (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_request_example (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_request_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_schema_response_example (0.01s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples (0.03s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled (0.14s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_examples (0.02s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples (0.02s) - --- 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.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_parameter_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_parameter_example (0.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_component_examples (0.00s) --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/valid_component_examples (0.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_mediatype_examples (0.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_mediatype_examples (0.00s) --- 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.00s) - --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_schema_response_example (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_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.01s) - --- 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_disabled/invalid_readonly_request_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_disabled/invalid_writeonly_response_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled (0.14s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_examples (0.02s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_parameter_examples (0.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_parameter_example (0.02s) + --- 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.00s) + --- 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.00s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_schema_response_example (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/valid_readonly_writeonly_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_readonly_request_examples (0.01s) + --- PASS: TestExamplesSchemaValidation/examples_validation_enabled/invalid_writeonly_response_examples (0.01s) === RUN ExampleLoader --- PASS: ExampleLoader (0.00s) === RUN Example @@ -1564,17 +1600,18 @@ === RUN ExampleSetSchemaErrorMessageCustomizer --- PASS: ExampleSetSchemaErrorMessageCustomizer (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi3 2.513s +ok github.com/getkin/kin-openapi/openapi3 3.600s +? 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 +=== RUN TestIssue201/missing_required_header +=== RUN TestIssue201/invalid_required_header --- PASS: TestIssue201 (0.00s) - --- PASS: TestIssue201/missing_required_header (0.00s) - --- PASS: TestIssue201/invalid_required_header (0.00s) --- 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 @@ -1837,7 +1874,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.04s) +--- 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) @@ -2080,7 +2117,7 @@ --- PASS: TestValidateQueryParams/deepObject_explode_nested_object_oneOf_-_object_-_more_than_one_match (0.00s) --- PASS: TestValidateQueryParams/deepObject_explode_nested_object_oneOf_-_array (0.00s) === RUN TestValidateRequestExcludeQueryParams ---- PASS: TestValidateRequestExcludeQueryParams (0.00s) +--- PASS: TestValidateRequestExcludeQueryParams (0.01s) === RUN Test_validateResponseHeader === RUN Test_validateResponseHeader/test_required_string_header_with_single_string_value === RUN Test_validateResponseHeader/test_required_string_header_with_single,_empty_string_value @@ -2127,7 +2164,7 @@ === RUN TestValidateRequestBodyAndSetDefault/social_network_2(anyOf) === RUN TestValidateRequestBodyAndSetDefault/contact(oneOf) === RUN TestValidateRequestBodyAndSetDefault/contact(anyOf) ---- PASS: TestValidateRequestBodyAndSetDefault (0.02s) +--- PASS: TestValidateRequestBodyAndSetDefault (0.01s) --- PASS: TestValidateRequestBodyAndSetDefault/only_id (0.00s) --- PASS: TestValidateRequestBodyAndSetDefault/id_&_name (0.00s) --- PASS: TestValidateRequestBodyAndSetDefault/id_&_name_&_code (0.00s) @@ -2190,45 +2227,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 (1.01s) +--- PASS: TestValidationHandler_validateRequest (1.70s) --- PASS: TestValidationHandler_validateRequest/error_-_unknown_host (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_path (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_unknown_method (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_body_on_POST (0.03s) - --- 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_path (0.02s) + --- PASS: TestValidationHandler_validateRequest/error_-_unknown_method (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_body_on_POST (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_empty_body_on_POST (0.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_content-type_on_POST (0.04s) + --- 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.03s) + --- 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.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_-_missing_required_query_string_parameter (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type_as_integer (0.03s) - --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_query_string_parameter (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_non_required_query_string_has_empty_value (0.02s) + --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_integer (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_incorrect_deepobject_query_parameter_type_number (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_query_string_parameter (0.07s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type_as_integer (0.05s) + --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_query_string_parameter (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_non_required_query_string_has_empty_value (0.04s) --- PASS: TestValidationHandler_validateRequest/success_-_non_required_query_string_has_empty_value,_but_has_AllowEmptyValue (0.03s) - --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings (0.03s) - --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings,_array (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_query_string_array_serialization (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_query_string_parameter (0.02s) - --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) (0.03s) - --- PASS: TestValidationHandler_validateRequest/success_-_valid_enum_value,_allowing_commas (0.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.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_nested_object_attribute (0.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_deeply_nested_object_attribute (0.03s) - --- 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.03s) - --- 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.03s) - --- PASS: TestValidationHandler_validateRequest/error_-_wrong_path_param_type (0.03s) - --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_with_path_params (0.03s) + --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings (0.04s) + --- 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.04s) + --- 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.04s) + --- 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.04s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute (0.06s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_nested_object_attribute (0.05s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_deeply_nested_object_attribute (0.07s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_attribute_type (0.06s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.07s) + --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_object_attribute (0.04s) + --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_POST (0.05s) + --- PASS: TestValidationHandler_validateRequest/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.08s) + --- PASS: TestValidationHandler_validateRequest/error_-_missing_path_param (0.06s) + --- PASS: TestValidationHandler_validateRequest/error_-_wrong_path_param_type (0.08s) + --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_with_path_params (0.05s) === RUN TestValidationErrorEncoder === RUN TestValidationErrorEncoder/error_-_unknown_host === RUN TestValidationErrorEncoder/error_-_unknown_path @@ -2268,61 +2305,61 @@ === RUN TestValidationErrorEncoder/error_-_missing_path_param === RUN TestValidationErrorEncoder/error_-_wrong_path_param_type === RUN TestValidationErrorEncoder/success_-_normal_case,_with_path_params ---- PASS: TestValidationErrorEncoder (1.00s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_host (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_unknown_method (0.03s) +--- PASS: TestValidationErrorEncoder (1.93s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_host (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.06s) + --- PASS: TestValidationErrorEncoder/error_-_unknown_method (0.04s) --- PASS: TestValidationErrorEncoder/error_-_missing_body_on_POST (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_empty_body_on_POST (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_missing_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.03s) - --- 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.03s) - --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_bool (0.02s) - --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_integer (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_number (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_missing_required_query_string_parameter (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_wrong_query_string_parameter_type_as_integer (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.03s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings (0.03s) - --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings,_array (0.03s) - --- 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.02s) - --- PASS: TestValidationErrorEncoder/error_-_wrong_attribute_type (0.03s) - --- 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.03s) - --- PASS: TestValidationErrorEncoder/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_missing_path_param (0.03s) - --- PASS: TestValidationErrorEncoder/error_-_wrong_path_param_type (0.03s) + --- PASS: TestValidationErrorEncoder/error_-_empty_body_on_POST (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_missing_content-type_on_POST (0.02s) + --- 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.02s) + --- PASS: TestValidationErrorEncoder/deepobject_query_parameter_type (0.02s) + --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_bool (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_integer (0.02s) + --- PASS: TestValidationErrorEncoder/error_-_incorrect_deepobject_query_parameter_type_number (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_query_string_parameter (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_wrong_query_string_parameter_type_as_integer (0.07s) + --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_query_string_parameter (0.07s) + --- PASS: TestValidationErrorEncoder/error_-_non_required_query_string_has_empty_value (0.10s) + --- PASS: TestValidationErrorEncoder/success_-_non_required_query_string_has_empty_value,_but_has_AllowEmptyValue (0.05s) + --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings (0.07s) + --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings,_array (0.07s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_query_string_array_serialization (0.08s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_query_string_parameter (0.07s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) (0.03s) + --- PASS: TestValidationErrorEncoder/success_-_valid_enum_value,_allowing_commas (0.06s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_string_parameter (0.07s) + --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_object_attribute (0.08s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_nested_object_attribute (0.05s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_deeply_nested_object_attribute (0.04s) + --- PASS: TestValidationErrorEncoder/error_-_wrong_attribute_type (0.02s) + --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.04s) + --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_object_attribute (0.05s) + --- 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.07s) + --- PASS: TestValidationErrorEncoder/error_-_missing_path_param (0.08s) + --- PASS: TestValidationErrorEncoder/error_-_wrong_path_param_type (0.06s) --- 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 (0.12s) --- 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.02s) + --- PASS: TestValidationHandler_ServeHTTP/passes_valid_requests_through (0.05s) + --- PASS: TestValidationHandler_ServeHTTP/uses_error_encoder (0.05s) === 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.08s) - --- 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.03s) - --- PASS: TestValidationHandler_Middleware/uses_error_encoder (0.03s) + --- PASS: TestValidationHandler_Middleware/uses_error_encoder (0.02s) === RUN TestFilter validation_test.go:164: Request: POST http://example.com/api/prefix/v/suffix validation_test.go:183: Response: 200 @@ -2391,7 +2428,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) @@ -2408,7 +2445,7 @@ === 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 (0.02s) --- PASS: TestIssue789/success_anyof_string_pattern_match (0.00s) --- PASS: TestIssue789/failed_anyof_string_pattern_match (0.00s) --- PASS: TestIssue789/success_allof_object_array (0.00s) @@ -2425,19 +2462,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/12/01 20:06:27 validation error: failed to find route for /test?version=1: method not allowed +2024/12/01 20:09:49 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/12/01 20:06:27 validation error: failed to find route for /test/42?version=1: method not allowed +2024/12/01 20:09:49 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/12/01 20:06:27 invalid request: parameter "version" in query has an error: value is required but missing +2024/12/01 20:09:49 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/12/01 20:06:27 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": value must be a number +2024/12/01 20:09:49 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" @@ -2448,7 +2485,7 @@ === NAME TestValidator middleware_test.go:352: test#6: invalid POST request; missing property === RUN TestValidator/invalid_POST_request;_missing_property -2024/12/01 20:06:27 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": property "actual" is missing +2024/12/01 20:09:49 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: Error at "/actual": property "actual" is missing Schema: { "additionalProperties": false, @@ -2479,7 +2516,7 @@ === NAME TestValidator middleware_test.go:352: test#7: invalid POST request; extra property === RUN TestValidator/invalid_POST_request;_extra_property -2024/12/01 20:06:27 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: property "ideal" is unsupported +2024/12/01 20:09:49 invalid request: request body has an error: doesn't match schema #/components/schemas/TestContents: property "ideal" is unsupported Schema: { "additionalProperties": false, @@ -2515,7 +2552,7 @@ === NAME TestValidator middleware_test.go:352: test#9: invalid response; invalid error === RUN TestValidator/invalid_response;_invalid_error -2024/12/01 20:06:27 invalid response: response body doesn't match schema #/components/schemas/Error: value must be an object +2024/12/01 20:09:49 invalid response: response body doesn't match schema #/components/schemas/Error: value must be an object Schema: { "additionalProperties": false, @@ -2539,7 +2576,7 @@ === NAME TestValidator middleware_test.go:352: test#10: invalid POST response; not strict === RUN TestValidator/invalid_POST_response;_not_strict -2024/12/01 20:06:27 invalid response: response body doesn't match schema #/components/schemas/TestResource: property "extra" is unsupported +2024/12/01 20:09:49 invalid response: response body doesn't match schema #/components/schemas/TestResource: property "extra" is unsupported Schema: { "additionalProperties": false, @@ -2571,20 +2608,20 @@ === 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/12/01 20:06:27 invalid response: status is not supported ---- PASS: TestValidator (0.03s) - --- PASS: TestValidator/valid_GET (0.00s) +2024/12/01 20:09:49 invalid response: status is not supported +--- PASS: TestValidator (0.06s) + --- 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_POST_operation_for_/test/42 (0.00s) + --- PASS: TestValidator/not_found;_no_POST_operation_for_/test/42 (0.01s) --- PASS: TestValidator/invalid_request;_missing_version (0.00s) --- PASS: TestValidator/invalid_POST_request;_wrong_property_type (0.00s) - --- PASS: TestValidator/invalid_POST_request;_missing_property (0.00s) + --- PASS: TestValidator/invalid_POST_request;_missing_property (0.01s) --- 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_response;_not_strict (0.00s) - --- PASS: TestValidator/POST_response_status_code_not_in_spec_(return_200,_spec_only_has_201) (0.00s) + --- PASS: TestValidator/POST_response_status_code_not_in_spec_(return_200,_spec_only_has_201) (0.01s) === RUN TestValidateZipFileUpload --- PASS: TestValidateZipFileUpload (0.00s) === RUN ExampleAuthenticationFunc @@ -2592,12 +2629,12 @@ === RUN Example_validateMultipartFormData --- PASS: Example_validateMultipartFormData (0.00s) === RUN ExampleValidator -2024/12/01 20:06:27 validation error: failed to find route for /square/2: method not allowed -2024/12/01 20:06:27 validation error: failed to find route for /sum/2: no matching operation was found -2024/12/01 20:06:27 validation error: failed to find route for /square/circle/4: no matching operation was found -2024/12/01 20:06:27 validation error: failed to find route for /square: no matching operation was found -2024/12/01 20:06:27 invalid request: parameter "x" in path has an error: value five: an invalid integer: invalid syntax -2024/12/01 20:06:27 invalid response: response body doesn't match schema: property "comment" is unsupported +2024/12/01 20:09:49 validation error: failed to find route for /square/2: method not allowed +2024/12/01 20:09:49 validation error: failed to find route for /sum/2: no matching operation was found +2024/12/01 20:09:49 validation error: failed to find route for /square/circle/4: no matching operation was found +2024/12/01 20:09:49 validation error: failed to find route for /square: no matching operation was found +2024/12/01 20:09:49 invalid request: parameter "x" in path has an error: value five: an invalid integer: invalid syntax +2024/12/01 20:09:49 invalid response: response body doesn't match schema: property "comment" is unsupported Schema: { "additionalProperties": false, @@ -2619,7 +2656,7 @@ "comment": "the answer to the ultimate question of life, the universe, and everything", "result": 1764 } -2024/12/01 20:06:27 invalid response: response body doesn't match schema: Error at "/result": number must be at most 1e+06 +2024/12/01 20:09:49 invalid response: response body doesn't match schema: Error at "/result": number must be at most 1e+06 Schema: { "maximum": 1000000, @@ -2631,12 +2668,11 @@ 4294967296 --- PASS: ExampleValidator (0.01s) === RUN ExampleOptions_WithCustomSchemaErrorFunc ---- PASS: ExampleOptions_WithCustomSchemaErrorFunc (0.00s) +--- PASS: ExampleOptions_WithCustomSchemaErrorFunc (0.01s) === RUN Example ---- PASS: Example (0.00s) +--- PASS: Example (0.01s) PASS -ok github.com/getkin/kin-openapi/openapi3filter 2.362s -? github.com/getkin/kin-openapi/openapi3gen/internal/subpkg [no test files] +ok github.com/getkin/kin-openapi/openapi3filter 4.106s === RUN TestExportedNonTagged --- PASS: TestExportedNonTagged (0.00s) === RUN TestEmbeddedPointerStructs @@ -2676,8 +2712,22 @@ === RUN Example --- PASS: Example (0.00s) PASS -ok github.com/getkin/kin-openapi/openapi3gen 0.042s +ok github.com/getkin/kin-openapi/openapi3gen 0.043s === 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 @@ -2688,11 +2738,11 @@ 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.04s) PASS -ok github.com/getkin/kin-openapi/routers 0.018s +ok github.com/getkin/kin-openapi/routers 0.107s === RUN TestRouter ---- PASS: TestRouter (0.00s) +--- PASS: TestRouter (0.01s) === RUN TestPermuteScheme --- PASS: TestPermuteScheme (0.00s) === RUN TestServerPath @@ -2718,21 +2768,21 @@ --- PASS: Test_makeServers/server_with_unparsable_URL_fails (0.00s) --- PASS: Test_makeServers/server_with_single_variable_that_evaluates_to_unparsable_URL_fails (0.00s) === RUN Example ---- PASS: Example (0.00s) +--- PASS: Example (0.01s) PASS -ok github.com/getkin/kin-openapi/routers/gorillamux 0.019s +ok github.com/getkin/kin-openapi/routers/gorillamux 0.055s === RUN TestRouter --- PASS: TestRouter (0.00s) === RUN TestIssue444 ---- PASS: TestIssue444 (0.00s) +--- PASS: TestIssue444 (0.01s) === RUN Example ---- PASS: Example (0.00s) +--- PASS: Example (0.01s) PASS -ok github.com/getkin/kin-openapi/routers/legacy 0.018s +ok github.com/getkin/kin-openapi/routers/legacy 0.041s === RUN TestPatterns --- PASS: TestPatterns (0.00s) PASS -ok github.com/getkin/kin-openapi/routers/legacy/pathpattern 0.006s +ok github.com/getkin/kin-openapi/routers/legacy/pathpattern 0.010s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build dh_prep -O--builddirectory=_build @@ -2759,12 +2809,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/32614/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/32614/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/10886 and its subdirectories -I: Current time: Sun Dec 1 08:06:52 -12 2024 -I: pbuilder-time-stamp: 1733083612 +I: removing directory /srv/workspace/pbuilder/32614 and its subdirectories +I: Current time: Mon Dec 2 10:10:12 +14 2024 +I: pbuilder-time-stamp: 1733083812