Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/golang-github-getkin-kin-openapi/golang-github-getkin-kin-openapi_0.32.0-2_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/golang-github-getkin-kin-openapi-0.32.0-2zv0b4sxi/golang-github-getkin-kin-openapi_0.32.0-2_all.buildinfo Get source package info: golang-github-getkin-kin-openapi=0.32.0-2 Source URL: http://snapshot.notset.fr/mr/package/golang-github-getkin-kin-openapi/0.32.0-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11.1 base-passwd=3.5.49 bash=5.1-3 binutils=2.35.2-2 binutils-common=2.35.2-2 binutils-x86-64-linux-gnu=2.35.2-2 bsdextrautils=2.36.1-7 bsdutils=1:2.36.1-7 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.76 debhelper=13.3.4 debianutils=4.11.2 dh-autoreconf=20 dh-golang=1.51 dh-strip-nondeterminism=1.12.0-1 diffutils=1:3.7-5 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 golang-1.15-go=1.15.9-3 golang-1.15-src=1.15.9-3 golang-any=2:1.15~1 golang-github-davecgh-go-spew-dev=1.1.1-2 golang-github-ghodss-yaml-dev=1.0.0-1.1 golang-github-pmezard-go-difflib-dev=1.0.0-3 golang-github-stretchr-objx-dev=0.3.0-1 golang-github-stretchr-testify-dev=1.6.1-2 golang-go=2:1.15~1 golang-gopkg-yaml.v2-dev=2.4.0-1 golang-gopkg-yaml.v3-dev=3.0.0~git20200121.a6ecf24-3 golang-src=2:1.15~1 golang-yaml.v2-dev=2.2.2-1 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.2-2 libblkid1=2.36.1-7 libbz2-1.0=1.0.8-4 libc-bin=2.31-12 libc-dev-bin=2.31-12 libc6=2.31-12 libc6-dev=2.31-12 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.46.2-1 libcrypt-dev=1:4.4.18-4 libcrypt1=1:4.4.18-4 libctf-nobfd0=2.35.2-2 libctf0=2.35.2-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.257 libdebhelper-perl=13.3.4 libdpkg-perl=1.20.9 libelf1=0.183-3 libfile-stripnondeterminism-perl=1.12.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-5 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-5 libicu67=67.1-6 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-5 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-5 libkrb5support0=1.18.3-5 liblsan0=10.2.1-6 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-7 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-7 libpam-modules-bin=1.4.0-7 libpam-runtime=1.4.0-7 libpam0g=1.4.0-7 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-4 libpipeline1=1.5.3-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsigsegv2=2.13-1 libsmartcols1=2.36.1-7 libssl1.1=1.1.1k-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-5 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-5 libunistring2=0.9.10-4 libuuid1=2.36.1-7 libxml2=2.9.10+dfsg-6.6 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.28-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.1-4 perl-base=5.32.1-4 perl-modules-5.32=5.32.1-4 po-debconf=1.0.21+nmu1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-7 tar=1.34+dfsg-1 util-linux=2.36.1-7 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210516T082836Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d golang-github-getkin-kin-openapi=0.32.0-2 && mkdir -p /build/golang-github-getkin-kin-openapi-ehG3Cl && dpkg-source --no-check -x /*.dsc /build/golang-github-getkin-kin-openapi-ehG3Cl/golang-github-getkin-kin-openapi-0.32.0 && chown -R builduser:builduser /build/golang-github-getkin-kin-openapi-ehG3Cl" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-getkin-kin-openapi-ehG3Cl/golang-github-getkin-kin-openapi-0.32.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1621161523" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/golang-github-getkin-kin-openapi-ehG3Cl /tmp/golang-github-getkin-kin-openapi-0.32.0-2zv0b4sxi bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210516T082836Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.z7u6GyK1Z0 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.z7u6GyK1Z0 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-7). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210516T082836Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210516T082836Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (503 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4667 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-12) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210516T082836Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.z7u6GyK1Z0 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210516T082836Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 25s (904 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.z7u6GyK1Z0 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d golang-github-getkin-kin-openapi=0.32.0-2 && mkdir -p /build/golang-github-getkin-kin-openapi-ehG3Cl && dpkg-source --no-check -x /*.dsc /build/golang-github-getkin-kin-openapi-ehG3Cl/golang-github-getkin-kin-openapi-0.32.0 && chown -R builduser:builduser /build/golang-github-getkin-kin-openapi-ehG3Cl"' exec /tmp/mmdebstrap.z7u6GyK1Z0 Reading package lists... NOTICE: 'golang-github-getkin-kin-openapi' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-github-getkin-kin-openapi.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-github-getkin-kin-openapi.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 117 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-getkin-kin-openapi 0.32.0-2 (dsc) [1832 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-getkin-kin-openapi 0.32.0-2 (tar) [108 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-getkin-kin-openapi 0.32.0-2 (diff) [6560 B] Fetched 117 kB in 0s (666 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'golang-github-getkin-kin-openapi_0.32.0-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting golang-github-getkin-kin-openapi in /build/golang-github-getkin-kin-openapi-ehG3Cl/golang-github-getkin-kin-openapi-0.32.0 dpkg-source: info: unpacking golang-github-getkin-kin-openapi_0.32.0.orig.tar.gz dpkg-source: info: unpacking golang-github-getkin-kin-openapi_0.32.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-make-2to3-more-deterministic.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-getkin-kin-openapi-ehG3Cl/golang-github-getkin-kin-openapi-0.32.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1621161523" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.z7u6GyK1Z0 dpkg-buildpackage: info: source package golang-github-getkin-kin-openapi dpkg-buildpackage: info: source version 0.32.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Shengjing Zhu dpkg-source --before-build . debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules binary-indep dh binary-indep --buildsystem=golang --with=golang dh_update_autotools_config -i -O--buildsystem=golang dh_autoreconf -i -O--buildsystem=golang dh_auto_configure -i -O--buildsystem=golang dh_auto_build -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/getkin/kin-openapi/jsoninfo github.com/getkin/kin-openapi/openapi2 github.com/getkin/kin-openapi/openapi2conv github.com/getkin/kin-openapi/openapi3 github.com/getkin/kin-openapi/openapi3filter github.com/getkin/kin-openapi/openapi3gen github.com/getkin/kin-openapi/pathpattern internal/unsafeheader runtime/internal/sys internal/race runtime/internal/atomic internal/cpu sync/atomic runtime/internal/math unicode unicode/utf8 encoding internal/bytealg math/bits internal/testlog math unicode/utf16 internal/nettrace container/list runtime/cgo runtime crypto/internal/subtle crypto/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle sync internal/reflectlite internal/singleflight math/rand errors sort strconv internal/oserror io syscall vendor/golang.org/x/net/dns/dnsmessage bytes reflect strings hash hash/crc32 internal/syscall/unix time internal/syscall/execenv regexp/syntax bufio crypto crypto/internal/randutil crypto/hmac internal/poll context regexp crypto/rc4 encoding/binary internal/fmtsort os vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/text/transform encoding/base64 crypto/cipher crypto/sha512 crypto/ed25519/internal/edwards25519 fmt path/filepath net crypto/aes io/ioutil encoding/json gopkg.in/yaml.v2 math/big github.com/getkin/kin-openapi/jsoninfo compress/flate compress/gzip crypto/rand github.com/ghodss/yaml crypto/des crypto/elliptic encoding/asn1 crypto/ed25519 crypto/md5 crypto/rsa vendor/golang.org/x/crypto/cryptobyte crypto/sha1 crypto/sha256 crypto/ecdsa crypto/dsa encoding/hex encoding/pem net/url crypto/x509/pkix vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/poly1305 vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/curve25519 log vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/secure/bidirule mime mime/quotedprintable vendor/golang.org/x/net/idna net/http/internal crypto/x509 net/textproto path github.com/getkin/kin-openapi/pathpattern vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http github.com/getkin/kin-openapi/openapi3 github.com/getkin/kin-openapi/openapi2 github.com/getkin/kin-openapi/openapi3gen github.com/getkin/kin-openapi/openapi3filter github.com/getkin/kin-openapi/openapi2conv dh_auto_test -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/getkin/kin-openapi/jsoninfo github.com/getkin/kin-openapi/openapi2 github.com/getkin/kin-openapi/openapi2conv github.com/getkin/kin-openapi/openapi3 github.com/getkin/kin-openapi/openapi3filter github.com/getkin/kin-openapi/openapi3gen github.com/getkin/kin-openapi/pathpattern === RUN TestNewObjectDecoder === RUN TestNewObjectDecoder/test_new_object_decoder --- PASS: TestNewObjectDecoder (0.00s) --- PASS: TestNewObjectDecoder/test_new_object_decoder (0.00s) === RUN TestUnmarshalStrictStruct === RUN TestUnmarshalStrictStruct/test_unmarshal_with_StrictStruct_without_err === RUN TestUnmarshalStrictStruct/test_unmarshal_with_StrictStruct_with_err --- PASS: TestUnmarshalStrictStruct (0.00s) --- PASS: TestUnmarshalStrictStruct/test_unmarshal_with_StrictStruct_without_err (0.00s) --- PASS: TestUnmarshalStrictStruct/test_unmarshal_with_StrictStruct_with_err (0.00s) === RUN TestDecodeStructFieldsAndExtensions === RUN TestDecodeStructFieldsAndExtensions/value_is_not_pointer === RUN TestDecodeStructFieldsAndExtensions/value_is_nil === RUN TestDecodeStructFieldsAndExtensions/value_is_not_struct === RUN TestDecodeStructFieldsAndExtensions/successfully_decoded_with_all_fields === RUN TestDecodeStructFieldsAndExtensions/successfully_decoded_with_renaming_field === RUN TestDecodeStructFieldsAndExtensions/un-successfully_decoded_due_to_data_mismatch --- PASS: TestDecodeStructFieldsAndExtensions (0.00s) --- PASS: TestDecodeStructFieldsAndExtensions/value_is_not_pointer (0.00s) --- PASS: TestDecodeStructFieldsAndExtensions/value_is_nil (0.00s) --- PASS: TestDecodeStructFieldsAndExtensions/value_is_not_struct (0.00s) --- PASS: TestDecodeStructFieldsAndExtensions/successfully_decoded_with_all_fields (0.00s) --- PASS: TestDecodeStructFieldsAndExtensions/successfully_decoded_with_renaming_field (0.00s) --- PASS: TestDecodeStructFieldsAndExtensions/un-successfully_decoded_due_to_data_mismatch (0.00s) === RUN TestExtensions marshal_test.go:169: Unmarshalling *jsoninfo_test.SimpleOmitEmpty marshal_test.go:173: Marshalling *jsoninfo_test.SimpleOmitEmpty marshal_test.go:169: Unmarshalling *jsoninfo_test.SimpleOmitEmpty marshal_test.go:173: Marshalling *jsoninfo_test.SimpleOmitEmpty marshal_test.go:169: Unmarshalling *jsoninfo_test.SimplePtrOmitEmpty marshal_test.go:173: Marshalling *jsoninfo_test.SimplePtrOmitEmpty marshal_test.go:169: Unmarshalling *jsoninfo_test.SimplePtrOmitEmpty marshal_test.go:173: Marshalling *jsoninfo_test.SimplePtrOmitEmpty marshal_test.go:169: Unmarshalling *jsoninfo_test.Simple marshal_test.go:173: Marshalling *jsoninfo_test.Simple marshal_test.go:169: Unmarshalling *jsoninfo_test.OriginalNameType marshal_test.go:173: Marshalling *jsoninfo_test.OriginalNameType marshal_test.go:169: Unmarshalling *jsoninfo_test.RootType marshal_test.go:173: Marshalling *jsoninfo_test.RootType marshal_test.go:169: Unmarshalling *jsoninfo_test.RootType marshal_test.go:173: Marshalling *jsoninfo_test.RootType --- PASS: TestExtensions (0.00s) PASS ok github.com/getkin/kin-openapi/jsoninfo 0.588s === RUN TestReadingSwagger --- PASS: TestReadingSwagger (0.02s) PASS ok github.com/getkin/kin-openapi/openapi2 0.202s === RUN TestIssue187 --- PASS: TestIssue187 (0.00s) === RUN TestIssue237 --- PASS: TestIssue237 (0.00s) === RUN TestConvOpenAPIV3ToV2 --- PASS: TestConvOpenAPIV3ToV2 (0.02s) === RUN TestConvOpenAPIV2ToV3 --- PASS: TestConvOpenAPIV2ToV3 (0.08s) PASS ok github.com/getkin/kin-openapi/openapi2conv 0.506s === RUN TestContent_Get === RUN TestContent_Get/missing === RUN TestContent_Get/full_match === RUN TestContent_Get/stripped_match === RUN TestContent_Get/wildcard_match === RUN TestContent_Get/fallback_match === RUN TestContent_Get/invalid_mime_type === RUN TestContent_Get/missing_no_encoding === RUN TestContent_Get/stripped_match_no_encoding === RUN TestContent_Get/wildcard_match_no_encoding === RUN TestContent_Get/fallback_match_no_encoding === RUN TestContent_Get/invalid_mime_type_no_encoding === RUN TestContent_Get/missing_mime_type --- PASS: TestContent_Get (0.00s) --- PASS: TestContent_Get/missing (0.00s) --- PASS: TestContent_Get/full_match (0.00s) --- PASS: TestContent_Get/stripped_match (0.00s) --- PASS: TestContent_Get/wildcard_match (0.00s) --- PASS: TestContent_Get/fallback_match (0.00s) --- PASS: TestContent_Get/invalid_mime_type (0.00s) --- PASS: TestContent_Get/missing_no_encoding (0.00s) --- PASS: TestContent_Get/stripped_match_no_encoding (0.00s) --- PASS: TestContent_Get/wildcard_match_no_encoding (0.00s) --- PASS: TestContent_Get/fallback_match_no_encoding (0.00s) --- PASS: TestContent_Get/invalid_mime_type_no_encoding (0.00s) --- PASS: TestContent_Get/missing_mime_type (0.00s) === RUN TestParsingDiscriminator --- PASS: TestParsingDiscriminator (0.00s) === RUN TestEncodingJSON encoding_test.go:13: Marshal *openapi3.Encoding to JSON encoding_test.go:18: Unmarshal *openapi3.Encoding from JSON encoding_test.go:24: Validate *openapi3.Encoding encoding_test.go:28: Ensure representations match --- PASS: TestEncodingJSON (0.00s) === RUN TestEncodingSerializationMethod === RUN TestEncodingSerializationMethod/default === RUN TestEncodingSerializationMethod/encoding_with_style === RUN TestEncodingSerializationMethod/encoding_with_explode === RUN TestEncodingSerializationMethod/encoding_with_no_explode === RUN TestEncodingSerializationMethod/encoding_with_style_and_explode_ --- PASS: TestEncodingSerializationMethod (0.00s) --- PASS: TestEncodingSerializationMethod/default (0.00s) --- PASS: TestEncodingSerializationMethod/encoding_with_style (0.00s) --- PASS: TestEncodingSerializationMethod/encoding_with_explode (0.00s) --- PASS: TestEncodingSerializationMethod/encoding_with_no_explode (0.00s) --- PASS: TestEncodingSerializationMethod/encoding_with_style_and_explode_ (0.00s) === RUN TestExampleJSON example_test.go:11: Marshal *openapi3.Example to JSON example_test.go:16: Unmarshal *openapi3.Example from JSON example_test.go:22: Ensure representations match --- PASS: TestExampleJSON (0.00s) === RUN TestExtensionProps_EncodeWith === RUN TestExtensionProps_EncodeWith/successfully_encoded --- PASS: TestExtensionProps_EncodeWith (0.00s) --- PASS: TestExtensionProps_EncodeWith/successfully_encoded (0.00s) === RUN TestExtensionProps_DecodeWith === RUN TestExtensionProps_DecodeWith/successfully_decode_all_the_fields === RUN TestExtensionProps_DecodeWith/successfully_decode_some_of_the_fields === RUN TestExtensionProps_DecodeWith/successfully_decode_none_of_the_fields --- PASS: TestExtensionProps_DecodeWith (0.00s) --- PASS: TestExtensionProps_DecodeWith/successfully_decode_all_the_fields (0.00s) --- PASS: TestExtensionProps_DecodeWith/successfully_decode_some_of_the_fields (0.00s) --- PASS: TestExtensionProps_DecodeWith/successfully_decode_none_of_the_fields (0.00s) === RUN TestMediaTypeJSON media_type_test.go:12: Marshal *openapi3.MediaType to JSON media_type_test.go:17: Unmarshal *openapi3.MediaType from JSON media_type_test.go:23: Validate *openapi3.MediaType media_type_test.go:27: Ensure representations match --- PASS: TestMediaTypeJSON (0.00s) === RUN TestAddParameter --- PASS: TestAddParameter (0.00s) === RUN TestAddResponse --- PASS: TestAddResponse (0.00s) === RUN TestOperationValidation === RUN TestOperationValidation/when_no_Responses_object_is_provided === RUN TestOperationValidation/when_a_Responses_object_is_provided --- PASS: TestOperationValidation (0.00s) --- PASS: TestOperationValidation/when_no_Responses_object_is_provided (0.00s) --- PASS: TestOperationValidation/when_a_Responses_object_is_provided (0.00s) === RUN TestPathParametersMatchPath --- PASS: TestPathParametersMatchPath (0.00s) === RUN TestPathValidate --- PASS: TestPathValidate (0.00s) === RUN TestIssue222 --- PASS: TestIssue222 (0.00s) === RUN TestEmptyResponsesAreInvalid --- PASS: TestEmptyResponsesAreInvalid (0.01s) === RUN TestSchemas === RUN TestSchemas/EMPTY_SCHEMA === RUN TestSchemas/JUST_NULLABLE === RUN TestSchemas/NULLABLE_BOOLEAN === RUN TestSchemas/NULLABLE_ANYOF === RUN TestSchemas/BOOLEAN === RUN TestSchemas/NUMBER === RUN TestSchemas/INTEGER === RUN TestSchemas/STRING === RUN TestSchemas/STRING:_optional_format_'uuid' === RUN TestSchemas/STRING:_format_'date-time' === RUN TestSchemas/STRING:_format_'date-time'#01 === RUN TestSchemas/ARRAY === RUN TestSchemas/ARRAY_:_items_format_'object' === RUN TestSchemas/ARRAY_:_items_format_'object'_and_object_with_a_property_of_array_type_ === RUN TestSchemas/ARRAY_:_items_format_'array' === RUN TestSchemas/ARRAY_:_items_format_'array'_and_array_with_object_type_items === RUN TestSchemas/OBJECT === RUN TestSchemas/#00 === RUN TestSchemas/#01 === RUN TestSchemas/NOT === RUN TestSchemas/ANY_OF === RUN TestSchemas/ALL_OF === RUN TestSchemas/ONE_OF --- PASS: TestSchemas (0.01s) --- PASS: TestSchemas/EMPTY_SCHEMA (0.00s) --- PASS: TestSchemas/JUST_NULLABLE (0.00s) --- PASS: TestSchemas/NULLABLE_BOOLEAN (0.00s) --- PASS: TestSchemas/NULLABLE_ANYOF (0.00s) --- PASS: TestSchemas/BOOLEAN (0.00s) --- PASS: TestSchemas/NUMBER (0.00s) --- PASS: TestSchemas/INTEGER (0.00s) --- PASS: TestSchemas/STRING (0.00s) --- 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_:_items_format_'object' (0.00s) --- PASS: TestSchemas/ARRAY_:_items_format_'object'_and_object_with_a_property_of_array_type_ (0.00s) --- PASS: TestSchemas/ARRAY_:_items_format_'array' (0.00s) --- PASS: TestSchemas/ARRAY_:_items_format_'array'_and_array_with_object_type_items (0.00s) --- PASS: TestSchemas/OBJECT (0.00s) --- PASS: TestSchemas/#00 (0.00s) --- PASS: TestSchemas/#01 (0.00s) --- PASS: TestSchemas/NOT (0.00s) --- PASS: TestSchemas/ANY_OF (0.00s) --- PASS: TestSchemas/ALL_OF (0.00s) --- PASS: TestSchemas/ONE_OF (0.00s) === RUN TestTypes === RUN TestTypes/STRING === RUN TestTypes/NUMBER === RUN TestTypes/INTEGER --- PASS: TestTypes (0.00s) --- PASS: TestTypes/STRING (0.00s) --- PASS: TestTypes/NUMBER (0.00s) --- PASS: TestTypes/INTEGER (0.00s) === RUN TestSchemaErrors === RUN TestSchemaErrors/SIMPLE === RUN TestSchemaErrors/NEST --- PASS: TestSchemaErrors (0.00s) --- PASS: TestSchemaErrors/SIMPLE (0.00s) --- PASS: TestSchemaErrors/NEST (0.00s) === RUN TestSchemasMultiError === RUN TestSchemasMultiError/STRING === RUN TestSchemasMultiError/NUMBER === RUN TestSchemasMultiError/ARRAY:_simple === RUN TestSchemasMultiError/ARRAY:_object === RUN TestSchemasMultiError/OBJECT --- PASS: TestSchemasMultiError (0.00s) --- PASS: TestSchemasMultiError/STRING (0.00s) --- PASS: TestSchemasMultiError/NUMBER (0.00s) --- PASS: TestSchemasMultiError/ARRAY:_simple (0.00s) --- PASS: TestSchemasMultiError/ARRAY:_object (0.00s) --- PASS: TestSchemasMultiError/OBJECT (0.00s) === RUN TestSecurityRequirementsEncoding --- PASS: TestSecurityRequirementsEncoding (0.00s) === RUN TestSecurityRequirementEncoding --- PASS: TestSecurityRequirementEncoding (0.00s) === RUN TestSecuritySchemaExample === RUN TestSecuritySchemaExample/Basic_Authentication_Sample === RUN TestSecuritySchemaExample/API_Key_Sample === RUN TestSecuritySchemaExample/apiKey_with_bearerFormat === RUN TestSecuritySchemaExample/Bearer_Sample_with_arbitrary_format === RUN TestSecuritySchemaExample/Implicit_OAuth2_Sample === RUN TestSecuritySchemaExample/OAuth_Flow_Object_Sample === RUN TestSecuritySchemaExample/OAuth_Flow_Object_clientCredentials/password === RUN TestSecuritySchemaExample/Invalid_Basic === RUN TestSecuritySchemaExample/Apikey_Cookie === RUN TestSecuritySchemaExample/OAuth_Flow_Object_with_no_scopes === RUN TestSecuritySchemaExample/OAuth_Flow_Object_with_empty_scopes --- PASS: TestSecuritySchemaExample (0.00s) --- PASS: TestSecuritySchemaExample/Basic_Authentication_Sample (0.00s) --- PASS: TestSecuritySchemaExample/API_Key_Sample (0.00s) --- PASS: TestSecuritySchemaExample/apiKey_with_bearerFormat (0.00s) --- PASS: TestSecuritySchemaExample/Bearer_Sample_with_arbitrary_format (0.00s) --- PASS: TestSecuritySchemaExample/Implicit_OAuth2_Sample (0.00s) --- PASS: TestSecuritySchemaExample/OAuth_Flow_Object_Sample (0.00s) --- PASS: TestSecuritySchemaExample/OAuth_Flow_Object_clientCredentials/password (0.00s) --- PASS: TestSecuritySchemaExample/Invalid_Basic (0.00s) --- PASS: TestSecuritySchemaExample/Apikey_Cookie (0.00s) --- PASS: TestSecuritySchemaExample/OAuth_Flow_Object_with_no_scopes (0.00s) --- PASS: TestSecuritySchemaExample/OAuth_Flow_Object_with_empty_scopes (0.00s) === RUN TestServerParamNames --- PASS: TestServerParamNames (0.00s) === RUN TestServerParamValuesWithPath === 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/2/2.0.0-version/c === RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/prefixedc === RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/ === RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/d === RUN TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/1.0.0-version/c/d === RUN TestServerParamValuesWithPath/http://x.y.example.com/ === RUN TestServerParamValuesWithPath/http://x.y.example.com/a/ === RUN TestServerParamValuesWithPath/http://baddomain.com/.example.com/a/1.0.0-version/c/d === RUN TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c === RUN TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/b-version/c/d --- PASS: TestServerParamValuesWithPath (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.example.com/a/b (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/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/prefixedc (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/ (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c/d (0.00s) --- PASS: TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/1.0.0-version/c/d (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/ (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/ (0.00s) --- PASS: TestServerParamValuesWithPath/http://baddomain.com/.example.com/a/1.0.0-version/c/d (0.00s) --- PASS: TestServerParamValuesWithPath/http://x.y.example.com/a/b-version/c (0.00s) --- PASS: TestServerParamValuesWithPath/http://domain0.domain1.example.com/a/b-version/c/d (0.00s) === RUN TestServerParamValuesNoPath === RUN TestServerParamValuesNoPath/https://domain0.domain1.example.com/ --- PASS: TestServerParamValuesNoPath (0.00s) --- PASS: TestServerParamValuesNoPath/https://domain0.domain1.example.com/ (0.00s) === RUN TestServerValidation === RUN TestServerValidation/when_no_URL_is_provided === RUN TestServerValidation/when_a_URL_is_provided --- PASS: TestServerValidation (0.00s) --- PASS: TestServerValidation/when_no_URL_is_provided (0.00s) --- PASS: TestServerValidation/when_a_URL_is_provided (0.00s) === RUN TestJSONSpecResponseDescriptionEmptiness swagger_loader_empty_response_description_test.go:42: Empty description provided: valid spec swagger_loader_empty_response_description_test.go:55: Non-empty description provided: valid spec swagger_loader_empty_response_description_test.go:66: No description provided: invalid spec swagger_loader_empty_response_description_test.go:81: Reserialization does not set description swagger_loader_empty_response_description_test.go:66: No description provided: invalid spec --- PASS: TestJSONSpecResponseDescriptionEmptiness (0.00s) === RUN TestIssue212 --- PASS: TestIssue212 (0.00s) === RUN TestIssue235OK --- PASS: TestIssue235OK (0.25s) === RUN TestIssue235CircularDep swagger_loader_issue235_test.go:19: TODO: return an error on circular dependencies between external files of a spec --- SKIP: TestIssue235CircularDep (0.00s) === RUN TestPathsMustStartWithSlash --- PASS: TestPathsMustStartWithSlash (0.00s) === RUN TestReferencedDocumentPath --- PASS: TestReferencedDocumentPath (0.00s) === RUN TestLoadFromDataWithExternalRef swagger_loader_relative_refs_test.go:199: testcase 'SchemaRef' swagger_loader_relative_refs_test.go:199: testcase 'ResponseRef' swagger_loader_relative_refs_test.go:199: testcase 'ParameterRef' swagger_loader_relative_refs_test.go:199: testcase 'ExampleRef' swagger_loader_relative_refs_test.go:199: testcase 'RequestBodyRef' swagger_loader_relative_refs_test.go:199: testcase 'SecuritySchemeRef' swagger_loader_relative_refs_test.go:199: testcase 'ExternalHeaderRef' swagger_loader_relative_refs_test.go:199: testcase 'PathParameterRef' swagger_loader_relative_refs_test.go:199: testcase 'PathOperationParameterRef' swagger_loader_relative_refs_test.go:199: testcase 'PathOperationRequestBodyRef' swagger_loader_relative_refs_test.go:199: testcase 'PathOperationResponseRef' swagger_loader_relative_refs_test.go:199: testcase 'PathOperationParameterSchemaRef' swagger_loader_relative_refs_test.go:199: testcase 'PathOperationParameterRefWithContentInQuery' swagger_loader_relative_refs_test.go:199: testcase 'PathOperationRequestBodyExampleRef' swagger_loader_relative_refs_test.go:199: testcase 'PathOperationReqestBodyContentSchemaRef' swagger_loader_relative_refs_test.go:199: testcase 'PathOperationResponseExampleRef' swagger_loader_relative_refs_test.go:199: testcase 'PathOperationResponseSchemaRef' swagger_loader_relative_refs_test.go:199: testcase 'ComponentHeaderSchemaRef' swagger_loader_relative_refs_test.go:199: testcase 'RequestResponseHeaderRef' --- PASS: TestLoadFromDataWithExternalRef (0.10s) === RUN TestLoadFromDataWithExternalRefResponseError swagger_loader_relative_refs_test.go:212: testcase 'CannotContainBothSchemaAndContentInAParameter' --- PASS: TestLoadFromDataWithExternalRefResponseError (0.00s) === RUN TestLoadFromDataWithExternalNestedRef swagger_loader_relative_refs_test.go:225: testcase 'SchemaRef' swagger_loader_relative_refs_test.go:225: testcase 'ResponseRef' swagger_loader_relative_refs_test.go:225: testcase 'ParameterRef' swagger_loader_relative_refs_test.go:225: testcase 'ExampleRef' swagger_loader_relative_refs_test.go:225: testcase 'RequestBodyRef' swagger_loader_relative_refs_test.go:225: testcase 'SecuritySchemeRef' swagger_loader_relative_refs_test.go:225: testcase 'ExternalHeaderRef' swagger_loader_relative_refs_test.go:225: testcase 'PathParameterRef' swagger_loader_relative_refs_test.go:225: testcase 'PathOperationParameterRef' swagger_loader_relative_refs_test.go:225: testcase 'PathOperationRequestBodyRef' swagger_loader_relative_refs_test.go:225: testcase 'PathOperationResponseRef' swagger_loader_relative_refs_test.go:225: testcase 'PathOperationParameterSchemaRef' swagger_loader_relative_refs_test.go:225: testcase 'PathOperationParameterRefWithContentInQuery' swagger_loader_relative_refs_test.go:225: testcase 'PathOperationRequestBodyExampleRef' swagger_loader_relative_refs_test.go:225: testcase 'PathOperationReqestBodyContentSchemaRef' swagger_loader_relative_refs_test.go:225: testcase 'PathOperationResponseExampleRef' swagger_loader_relative_refs_test.go:225: testcase 'PathOperationResponseSchemaRef' swagger_loader_relative_refs_test.go:225: testcase 'ComponentHeaderSchemaRef' swagger_loader_relative_refs_test.go:225: testcase 'RequestResponseHeaderRef' --- PASS: TestLoadFromDataWithExternalNestedRef (0.52s) === RUN TestLoadSpecWithRelativeDocumentRefs swagger_loader_relative_refs_test.go:804: testcase 'SchemaRef' swagger_loader_relative_refs_test.go:804: testcase 'ResponseRef' swagger_loader_relative_refs_test.go:804: testcase 'ParameterRef' swagger_loader_relative_refs_test.go:804: testcase 'ExampleRef' swagger_loader_relative_refs_test.go:804: testcase 'RequestRef' swagger_loader_relative_refs_test.go:804: testcase 'HeaderRef' swagger_loader_relative_refs_test.go:804: testcase 'HeaderRef' swagger_loader_relative_refs_test.go:804: testcase 'SecuritySchemeRef' swagger_loader_relative_refs_test.go:804: testcase 'PathRef' --- PASS: TestLoadSpecWithRelativeDocumentRefs (0.00s) === RUN TestLoadSpecWithRelativeDocumentRefs2 --- PASS: TestLoadSpecWithRelativeDocumentRefs2 (0.00s) === RUN TestLoadYAML --- PASS: TestLoadYAML (0.00s) === RUN TestResolveSchemaRef --- PASS: TestResolveSchemaRef (0.00s) === RUN TestResolveSchemaRefWithNullSchemaRef --- PASS: TestResolveSchemaRefWithNullSchemaRef (0.00s) === RUN TestResolveResponseExampleRef --- PASS: TestResolveResponseExampleRef (0.06s) === RUN TestResolveSchemaExternalRef --- PASS: TestResolveSchemaExternalRef (0.01s) === RUN TestLoadErrorOnRefMisuse --- PASS: TestLoadErrorOnRefMisuse (0.00s) === RUN TestLoadPathParamRef --- PASS: TestLoadPathParamRef (0.00s) === RUN TestLoadRequestExampleRef --- PASS: TestLoadRequestExampleRef (0.00s) === RUN TestLoadFromRemoteURL --- PASS: TestLoadFromRemoteURL (0.01s) === RUN TestLoadFileWithExternalSchemaRef --- PASS: TestLoadFileWithExternalSchemaRef (0.00s) === RUN TestLoadFileWithExternalSchemaRefSingleComponent --- PASS: TestLoadFileWithExternalSchemaRefSingleComponent (0.00s) === RUN TestLoadRequestResponseHeaderRef --- PASS: TestLoadRequestResponseHeaderRef (0.00s) === RUN TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef --- PASS: TestLoadFromDataWithExternalRequestResponseHeaderRemoteRef (0.08s) === RUN TestLoadYamlFile --- PASS: TestLoadYamlFile (0.00s) === RUN TestLoadYamlFileWithExternalSchemaRef --- PASS: TestLoadYamlFileWithExternalSchemaRef (0.00s) === RUN TestLoadYamlFileWithExternalPathRef --- PASS: TestLoadYamlFileWithExternalPathRef (0.00s) === RUN TestResolveResponseLinkRef --- PASS: TestResolveResponseLinkRef (0.00s) === RUN TestResolveNonComponentsRef --- PASS: TestResolveNonComponentsRef (0.00s) === RUN TestRefsJSON swagger_test.go:16: Marshal *Swagger to JSON swagger_test.go:21: Unmarshal *Swagger from JSON swagger_test.go:27: Resolve refs in unmarshalled *Swagger swagger_test.go:30: Resolve refs in marshalled *Swagger swagger_test.go:35: Validate *Swagger swagger_test.go:41: Ensure representations match --- PASS: TestRefsJSON (0.01s) === RUN TestRefsYAML swagger_test.go:54: Marshal *Swagger to YAML swagger_test.go:59: Unmarshal *Swagger from YAML swagger_test.go:65: Resolve refs in unmarshalled *Swagger swagger_test.go:68: Resolve refs in marshalled *Swagger swagger_test.go:73: Validate *Swagger swagger_test.go:79: Ensure representations match --- PASS: TestRefsYAML (0.08s) === RUN TestValidation === RUN TestValidation/#00 === RUN TestValidation/value_of_openapi_must_be_a_non-empty_JSON_string === RUN TestValidation/value_of_openapi_must_be_a_non-empty_JSON_string#01 === RUN TestValidation/invalid_info:_must_be_a_JSON_object === RUN TestValidation/invalid_paths:_must_be_a_JSON_object --- PASS: TestValidation (0.01s) --- PASS: TestValidation/#00 (0.00s) --- PASS: TestValidation/value_of_openapi_must_be_a_non-empty_JSON_string (0.00s) --- PASS: TestValidation/value_of_openapi_must_be_a_non-empty_JSON_string#01 (0.00s) --- PASS: TestValidation/invalid_info:_must_be_a_JSON_object (0.00s) --- PASS: TestValidation/invalid_paths:_must_be_a_JSON_object (0.00s) === RUN TestRegisterArrayUniqueItemsChecker --- PASS: TestRegisterArrayUniqueItemsChecker (0.00s) === RUN ExampleSwaggerLoader --- PASS: ExampleSwaggerLoader (0.00s) PASS ok github.com/getkin/kin-openapi/openapi3 1.882s === RUN TestDecodeParameter === RUN TestDecodeParameter/path_primitive === RUN TestDecodeParameter/path_primitive/simple === RUN TestDecodeParameter/path_primitive/simple_explode === RUN TestDecodeParameter/path_primitive/label === RUN TestDecodeParameter/path_primitive/label_invalid === RUN TestDecodeParameter/path_primitive/label_explode === RUN TestDecodeParameter/path_primitive/label_explode_invalid === RUN TestDecodeParameter/path_primitive/matrix === RUN TestDecodeParameter/path_primitive/matrix_invalid === RUN TestDecodeParameter/path_primitive/matrix_explode === RUN TestDecodeParameter/path_primitive/matrix_explode_invalid === RUN TestDecodeParameter/path_primitive/default === RUN TestDecodeParameter/path_primitive/string === RUN TestDecodeParameter/path_primitive/integer === RUN TestDecodeParameter/path_primitive/integer_invalid === RUN TestDecodeParameter/path_primitive/number === RUN TestDecodeParameter/path_primitive/number_invalid === RUN TestDecodeParameter/path_primitive/boolean === RUN TestDecodeParameter/path_primitive/boolean_invalid === RUN TestDecodeParameter/path_array === RUN TestDecodeParameter/path_array/simple === RUN TestDecodeParameter/path_array/simple_explode === RUN TestDecodeParameter/path_array/label === RUN TestDecodeParameter/path_array/label_invalid === RUN TestDecodeParameter/path_array/label_explode === RUN TestDecodeParameter/path_array/label_explode_invalid === RUN TestDecodeParameter/path_array/matrix === RUN TestDecodeParameter/path_array/matrix_invalid === RUN TestDecodeParameter/path_array/matrix_explode === RUN TestDecodeParameter/path_array/matrix_explode_invalid === RUN TestDecodeParameter/path_array/default === RUN TestDecodeParameter/path_array/invalid_integer_items === RUN TestDecodeParameter/path_array/invalid_number_items === RUN TestDecodeParameter/path_array/invalid_boolean_items === RUN TestDecodeParameter/path_object === RUN TestDecodeParameter/path_object/simple === RUN TestDecodeParameter/path_object/simple_explode === RUN TestDecodeParameter/path_object/label === RUN TestDecodeParameter/path_object/label_invalid === RUN TestDecodeParameter/path_object/label_explode === RUN TestDecodeParameter/path_object/label_explode_invalid === RUN TestDecodeParameter/path_object/matrix === RUN TestDecodeParameter/path_object/matrix_invalid === RUN TestDecodeParameter/path_object/matrix_explode === RUN TestDecodeParameter/path_object/matrix_explode_invalid === RUN TestDecodeParameter/path_object/default === RUN TestDecodeParameter/path_object/invalid_integer_prop === RUN TestDecodeParameter/path_object/invalid_number_prop === RUN TestDecodeParameter/path_object/invalid_boolean_prop === RUN TestDecodeParameter/query_primitive === RUN TestDecodeParameter/query_primitive/form === RUN TestDecodeParameter/query_primitive/form_explode === RUN TestDecodeParameter/query_primitive/default === RUN TestDecodeParameter/query_primitive/string === RUN TestDecodeParameter/query_primitive/integer === RUN TestDecodeParameter/query_primitive/integer_invalid === RUN TestDecodeParameter/query_primitive/number === RUN TestDecodeParameter/query_primitive/number_invalid === RUN TestDecodeParameter/query_primitive/boolean === RUN TestDecodeParameter/query_primitive/boolean_invalid === RUN TestDecodeParameter/query_Allof === RUN TestDecodeParameter/query_Allof/allofSchema_integer_and_number === RUN TestDecodeParameter/query_Allof/allofSchema_string === RUN TestDecodeParameter/query_Anyof === RUN TestDecodeParameter/query_Anyof/anyofSchema_integer === RUN TestDecodeParameter/query_Anyof/anyofSchema_string === RUN TestDecodeParameter/query_Oneof === RUN TestDecodeParameter/query_Oneof/oneofSchema_boolean === RUN TestDecodeParameter/query_Oneof/oneofSchema_int === RUN TestDecodeParameter/query_Oneof/oneofSchema_string === RUN TestDecodeParameter/query_array === RUN TestDecodeParameter/query_array/form === RUN TestDecodeParameter/query_array/form_explode === RUN TestDecodeParameter/query_array/spaceDelimited === RUN TestDecodeParameter/query_array/spaceDelimited_explode === RUN TestDecodeParameter/query_array/pipeDelimited === RUN TestDecodeParameter/query_array/pipeDelimited_explode === RUN TestDecodeParameter/query_array/default === RUN TestDecodeParameter/query_array/invalid_integer_items === RUN TestDecodeParameter/query_array/invalid_number_items === RUN TestDecodeParameter/query_array/invalid_boolean_items === RUN TestDecodeParameter/query_object === RUN TestDecodeParameter/query_object/form === RUN TestDecodeParameter/query_object/form_explode === RUN TestDecodeParameter/query_object/deepObject_explode === RUN TestDecodeParameter/query_object/default === RUN TestDecodeParameter/query_object/invalid_integer_prop === RUN TestDecodeParameter/query_object/invalid_number_prop === RUN TestDecodeParameter/query_object/invalid_boolean_prop === RUN TestDecodeParameter/header_primitive === RUN TestDecodeParameter/header_primitive/simple === RUN TestDecodeParameter/header_primitive/simple_explode === RUN TestDecodeParameter/header_primitive/default === RUN TestDecodeParameter/header_primitive/string === RUN TestDecodeParameter/header_primitive/integer === RUN TestDecodeParameter/header_primitive/integer_invalid === RUN TestDecodeParameter/header_primitive/number === RUN TestDecodeParameter/header_primitive/number_invalid === RUN TestDecodeParameter/header_primitive/boolean === RUN TestDecodeParameter/header_primitive/boolean_invalid === RUN TestDecodeParameter/header_array === RUN TestDecodeParameter/header_array/simple === RUN TestDecodeParameter/header_array/simple_explode === RUN TestDecodeParameter/header_array/default === RUN TestDecodeParameter/header_array/invalid_integer_items === RUN TestDecodeParameter/header_array/invalid_number_items === RUN TestDecodeParameter/header_array/invalid_boolean_items === RUN TestDecodeParameter/header_object === RUN TestDecodeParameter/header_object/simple === RUN TestDecodeParameter/header_object/simple_explode === RUN TestDecodeParameter/header_object/default === RUN TestDecodeParameter/header_object/invalid_integer_prop === RUN TestDecodeParameter/header_object/invalid_number_prop === RUN TestDecodeParameter/header_object/invalid_boolean_prop === RUN TestDecodeParameter/cookie_primitive === RUN TestDecodeParameter/cookie_primitive/form === RUN TestDecodeParameter/cookie_primitive/form_explode === RUN TestDecodeParameter/cookie_primitive/default === RUN TestDecodeParameter/cookie_primitive/string === RUN TestDecodeParameter/cookie_primitive/integer === RUN TestDecodeParameter/cookie_primitive/integer_invalid === RUN TestDecodeParameter/cookie_primitive/number === RUN TestDecodeParameter/cookie_primitive/number_invalid === RUN TestDecodeParameter/cookie_primitive/boolean === RUN TestDecodeParameter/cookie_primitive/boolean_invalid === RUN TestDecodeParameter/cookie_array === RUN TestDecodeParameter/cookie_array/form === RUN TestDecodeParameter/cookie_array/invalid_integer_items === RUN TestDecodeParameter/cookie_array/invalid_number_items === RUN TestDecodeParameter/cookie_array/invalid_boolean_items === RUN TestDecodeParameter/cookie_object === RUN TestDecodeParameter/cookie_object/form === RUN TestDecodeParameter/cookie_object/invalid_integer_prop === RUN TestDecodeParameter/cookie_object/invalid_number_prop === RUN TestDecodeParameter/cookie_object/invalid_boolean_prop --- PASS: TestDecodeParameter (0.03s) --- PASS: TestDecodeParameter/path_primitive (0.00s) --- PASS: TestDecodeParameter/path_primitive/simple (0.00s) --- PASS: TestDecodeParameter/path_primitive/simple_explode (0.00s) --- PASS: TestDecodeParameter/path_primitive/label (0.00s) --- PASS: TestDecodeParameter/path_primitive/label_invalid (0.00s) --- PASS: TestDecodeParameter/path_primitive/label_explode (0.00s) --- PASS: TestDecodeParameter/path_primitive/label_explode_invalid (0.00s) --- PASS: TestDecodeParameter/path_primitive/matrix (0.00s) --- PASS: TestDecodeParameter/path_primitive/matrix_invalid (0.00s) --- PASS: TestDecodeParameter/path_primitive/matrix_explode (0.00s) --- PASS: TestDecodeParameter/path_primitive/matrix_explode_invalid (0.00s) --- PASS: TestDecodeParameter/path_primitive/default (0.00s) --- PASS: TestDecodeParameter/path_primitive/string (0.00s) --- PASS: TestDecodeParameter/path_primitive/integer (0.00s) --- PASS: TestDecodeParameter/path_primitive/integer_invalid (0.00s) --- PASS: TestDecodeParameter/path_primitive/number (0.00s) --- PASS: TestDecodeParameter/path_primitive/number_invalid (0.00s) --- PASS: TestDecodeParameter/path_primitive/boolean (0.00s) --- PASS: TestDecodeParameter/path_primitive/boolean_invalid (0.00s) --- PASS: TestDecodeParameter/path_array (0.00s) --- PASS: TestDecodeParameter/path_array/simple (0.00s) --- PASS: TestDecodeParameter/path_array/simple_explode (0.00s) --- PASS: TestDecodeParameter/path_array/label (0.00s) --- PASS: TestDecodeParameter/path_array/label_invalid (0.00s) --- PASS: TestDecodeParameter/path_array/label_explode (0.00s) --- PASS: TestDecodeParameter/path_array/label_explode_invalid (0.00s) --- PASS: TestDecodeParameter/path_array/matrix (0.00s) --- PASS: TestDecodeParameter/path_array/matrix_invalid (0.00s) --- PASS: TestDecodeParameter/path_array/matrix_explode (0.00s) --- PASS: TestDecodeParameter/path_array/matrix_explode_invalid (0.00s) --- PASS: TestDecodeParameter/path_array/default (0.00s) --- PASS: TestDecodeParameter/path_array/invalid_integer_items (0.00s) --- PASS: TestDecodeParameter/path_array/invalid_number_items (0.00s) --- PASS: TestDecodeParameter/path_array/invalid_boolean_items (0.00s) --- PASS: TestDecodeParameter/path_object (0.01s) --- PASS: TestDecodeParameter/path_object/simple (0.00s) --- PASS: TestDecodeParameter/path_object/simple_explode (0.00s) --- PASS: TestDecodeParameter/path_object/label (0.00s) --- PASS: TestDecodeParameter/path_object/label_invalid (0.00s) --- PASS: TestDecodeParameter/path_object/label_explode (0.00s) --- PASS: TestDecodeParameter/path_object/label_explode_invalid (0.00s) --- PASS: TestDecodeParameter/path_object/matrix (0.00s) --- PASS: TestDecodeParameter/path_object/matrix_invalid (0.00s) --- PASS: TestDecodeParameter/path_object/matrix_explode (0.00s) --- PASS: TestDecodeParameter/path_object/matrix_explode_invalid (0.00s) --- PASS: TestDecodeParameter/path_object/default (0.00s) --- PASS: TestDecodeParameter/path_object/invalid_integer_prop (0.00s) --- PASS: TestDecodeParameter/path_object/invalid_number_prop (0.00s) --- PASS: TestDecodeParameter/path_object/invalid_boolean_prop (0.00s) --- PASS: TestDecodeParameter/query_primitive (0.00s) --- PASS: TestDecodeParameter/query_primitive/form (0.00s) --- PASS: TestDecodeParameter/query_primitive/form_explode (0.00s) --- PASS: TestDecodeParameter/query_primitive/default (0.00s) --- PASS: TestDecodeParameter/query_primitive/string (0.00s) --- PASS: TestDecodeParameter/query_primitive/integer (0.00s) --- PASS: TestDecodeParameter/query_primitive/integer_invalid (0.00s) --- PASS: TestDecodeParameter/query_primitive/number (0.00s) --- PASS: TestDecodeParameter/query_primitive/number_invalid (0.00s) --- PASS: TestDecodeParameter/query_primitive/boolean (0.00s) --- PASS: TestDecodeParameter/query_primitive/boolean_invalid (0.00s) --- PASS: TestDecodeParameter/query_Allof (0.00s) --- PASS: TestDecodeParameter/query_Allof/allofSchema_integer_and_number (0.00s) --- PASS: TestDecodeParameter/query_Allof/allofSchema_string (0.00s) --- PASS: TestDecodeParameter/query_Anyof (0.00s) --- PASS: TestDecodeParameter/query_Anyof/anyofSchema_integer (0.00s) --- PASS: TestDecodeParameter/query_Anyof/anyofSchema_string (0.00s) --- PASS: TestDecodeParameter/query_Oneof (0.00s) --- PASS: TestDecodeParameter/query_Oneof/oneofSchema_boolean (0.00s) --- PASS: TestDecodeParameter/query_Oneof/oneofSchema_int (0.00s) --- PASS: TestDecodeParameter/query_Oneof/oneofSchema_string (0.00s) --- PASS: TestDecodeParameter/query_array (0.00s) --- PASS: TestDecodeParameter/query_array/form (0.00s) --- PASS: TestDecodeParameter/query_array/form_explode (0.00s) --- PASS: TestDecodeParameter/query_array/spaceDelimited (0.00s) --- PASS: TestDecodeParameter/query_array/spaceDelimited_explode (0.00s) --- PASS: TestDecodeParameter/query_array/pipeDelimited (0.00s) --- PASS: TestDecodeParameter/query_array/pipeDelimited_explode (0.00s) --- PASS: TestDecodeParameter/query_array/default (0.00s) --- PASS: TestDecodeParameter/query_array/invalid_integer_items (0.00s) --- PASS: TestDecodeParameter/query_array/invalid_number_items (0.00s) --- PASS: TestDecodeParameter/query_array/invalid_boolean_items (0.00s) --- PASS: TestDecodeParameter/query_object (0.00s) --- PASS: TestDecodeParameter/query_object/form (0.00s) --- PASS: TestDecodeParameter/query_object/form_explode (0.00s) --- PASS: TestDecodeParameter/query_object/deepObject_explode (0.00s) --- PASS: TestDecodeParameter/query_object/default (0.00s) --- PASS: TestDecodeParameter/query_object/invalid_integer_prop (0.00s) --- PASS: TestDecodeParameter/query_object/invalid_number_prop (0.00s) --- PASS: TestDecodeParameter/query_object/invalid_boolean_prop (0.00s) --- PASS: TestDecodeParameter/header_primitive (0.00s) --- PASS: TestDecodeParameter/header_primitive/simple (0.00s) --- PASS: TestDecodeParameter/header_primitive/simple_explode (0.00s) --- PASS: TestDecodeParameter/header_primitive/default (0.00s) --- PASS: TestDecodeParameter/header_primitive/string (0.00s) --- PASS: TestDecodeParameter/header_primitive/integer (0.00s) --- PASS: TestDecodeParameter/header_primitive/integer_invalid (0.00s) --- PASS: TestDecodeParameter/header_primitive/number (0.00s) --- PASS: TestDecodeParameter/header_primitive/number_invalid (0.00s) --- PASS: TestDecodeParameter/header_primitive/boolean (0.00s) --- PASS: TestDecodeParameter/header_primitive/boolean_invalid (0.00s) --- PASS: TestDecodeParameter/header_array (0.00s) --- PASS: TestDecodeParameter/header_array/simple (0.00s) --- PASS: TestDecodeParameter/header_array/simple_explode (0.00s) --- PASS: TestDecodeParameter/header_array/default (0.00s) --- PASS: TestDecodeParameter/header_array/invalid_integer_items (0.00s) --- PASS: TestDecodeParameter/header_array/invalid_number_items (0.00s) --- PASS: TestDecodeParameter/header_array/invalid_boolean_items (0.00s) --- PASS: TestDecodeParameter/header_object (0.00s) --- PASS: TestDecodeParameter/header_object/simple (0.00s) --- PASS: TestDecodeParameter/header_object/simple_explode (0.00s) --- PASS: TestDecodeParameter/header_object/default (0.00s) --- PASS: TestDecodeParameter/header_object/invalid_integer_prop (0.00s) --- PASS: TestDecodeParameter/header_object/invalid_number_prop (0.00s) --- PASS: TestDecodeParameter/header_object/invalid_boolean_prop (0.00s) --- PASS: TestDecodeParameter/cookie_primitive (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/form (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/form_explode (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/default (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/string (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/integer (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/integer_invalid (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/number (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/number_invalid (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/boolean (0.00s) --- PASS: TestDecodeParameter/cookie_primitive/boolean_invalid (0.00s) --- PASS: TestDecodeParameter/cookie_array (0.00s) --- PASS: TestDecodeParameter/cookie_array/form (0.00s) --- PASS: TestDecodeParameter/cookie_array/invalid_integer_items (0.00s) --- PASS: TestDecodeParameter/cookie_array/invalid_number_items (0.00s) --- PASS: TestDecodeParameter/cookie_array/invalid_boolean_items (0.00s) --- PASS: TestDecodeParameter/cookie_object (0.00s) --- PASS: TestDecodeParameter/cookie_object/form (0.00s) --- PASS: TestDecodeParameter/cookie_object/invalid_integer_prop (0.00s) --- PASS: TestDecodeParameter/cookie_object/invalid_number_prop (0.00s) --- PASS: TestDecodeParameter/cookie_object/invalid_boolean_prop (0.00s) === RUN TestDecodeBody === RUN TestDecodeBody/unsupported_content_type === RUN TestDecodeBody/invalid_body_data === RUN TestDecodeBody/plain_text === RUN TestDecodeBody/json === RUN TestDecodeBody/urlencoded_form === RUN TestDecodeBody/urlencoded_space_delimited === RUN TestDecodeBody/urlencoded_pipe_delimited === RUN TestDecodeBody/multipart === RUN TestDecodeBody/multipartExtraPart === RUN TestDecodeBody/multipartAnyAdditionalProperties === RUN TestDecodeBody/multipartWithAdditionalProperties === RUN TestDecodeBody/multipartWithAdditionalPropertiesError === RUN TestDecodeBody/file --- PASS: TestDecodeBody (0.00s) --- PASS: TestDecodeBody/unsupported_content_type (0.00s) --- PASS: TestDecodeBody/invalid_body_data (0.00s) --- PASS: TestDecodeBody/plain_text (0.00s) --- PASS: TestDecodeBody/json (0.00s) --- PASS: TestDecodeBody/urlencoded_form (0.00s) --- PASS: TestDecodeBody/urlencoded_space_delimited (0.00s) --- PASS: TestDecodeBody/urlencoded_pipe_delimited (0.00s) --- PASS: TestDecodeBody/multipart (0.00s) --- PASS: TestDecodeBody/multipartExtraPart (0.00s) --- PASS: TestDecodeBody/multipartAnyAdditionalProperties (0.00s) --- PASS: TestDecodeBody/multipartWithAdditionalProperties (0.00s) --- PASS: TestDecodeBody/multipartWithAdditionalPropertiesError (0.00s) --- PASS: TestDecodeBody/file (0.00s) === RUN TestRegisterAndUnregisterBodyDecoder --- PASS: TestRegisterAndUnregisterBodyDecoder (0.00s) === RUN TestValidatingRequestBodyWithReadOnlyProperty --- PASS: TestValidatingRequestBodyWithReadOnlyProperty (0.00s) === RUN TestValidationHandler_validateRequest === RUN TestValidationHandler_validateRequest/error_-_unknown_host === RUN TestValidationHandler_validateRequest/error_-_unknown_path === RUN TestValidationHandler_validateRequest/error_-_unknown_method === RUN TestValidationHandler_validateRequest/error_-_missing_body_on_POST === RUN TestValidationHandler_validateRequest/error_-_empty_body_on_POST === RUN TestValidationHandler_validateRequest/error_-_missing_content-type_on_POST === RUN TestValidationHandler_validateRequest/error_-_unknown_content-type_on_POST === RUN TestValidationHandler_validateRequest/error_-_unsupported_content-type_on_POST === RUN TestValidationHandler_validateRequest/success_-_no_content-type_header_required_on_GET === RUN TestValidationHandler_validateRequest/error_-_missing_required_query_string_parameter === RUN TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type === RUN TestValidationHandler_validateRequest/success_-_ignores_unknown_query_string_parameter === RUN TestValidationHandler_validateRequest/success_-_normal_case,_query_strings === RUN TestValidationHandler_validateRequest/success_-_normal_case,_query_strings,_array === RUN TestValidationHandler_validateRequest/error_-_invalid_query_string_array_serialization === RUN TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_query_string_parameter === RUN TestValidationHandler_validateRequest/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) === RUN TestValidationHandler_validateRequest/success_-_valid_enum_value,_allowing_commas === RUN TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_string_parameter === RUN TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_object_attribute === RUN TestValidationHandler_validateRequest/error_-_missing_required_object_attribute === RUN TestValidationHandler_validateRequest/error_-_missing_required_nested_object_attribute === RUN TestValidationHandler_validateRequest/error_-_missing_required_deeply_nested_object_attribute === RUN TestValidationHandler_validateRequest/error_-_readonly_object_attribute === RUN TestValidationHandler_validateRequest/error_-_wrong_attribute_type === RUN TestValidationHandler_validateRequest/error_-_missing_required_object_attribute_from_allOf_required_overlay === RUN TestValidationHandler_validateRequest/success_-_ignores_unknown_object_attribute === RUN TestValidationHandler_validateRequest/success_-_normal_case,_POST === RUN TestValidationHandler_validateRequest/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere === RUN TestValidationHandler_validateRequest/error_-_missing_path_param === RUN TestValidationHandler_validateRequest/error_-_wrong_path_param_type === RUN TestValidationHandler_validateRequest/success_-_normal_case,_with_path_params --- PASS: TestValidationHandler_validateRequest (0.91s) --- PASS: TestValidationHandler_validateRequest/error_-_unknown_host (0.09s) --- PASS: TestValidationHandler_validateRequest/error_-_unknown_path (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_unknown_method (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_body_on_POST (0.06s) --- PASS: TestValidationHandler_validateRequest/error_-_empty_body_on_POST (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_content-type_on_POST (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_unknown_content-type_on_POST (0.05s) --- PASS: TestValidationHandler_validateRequest/error_-_unsupported_content-type_on_POST (0.02s) --- PASS: TestValidationHandler_validateRequest/success_-_no_content-type_header_required_on_GET (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_query_string_parameter (0.06s) --- PASS: TestValidationHandler_validateRequest/error_-_wrong_query_string_parameter_type (0.02s) --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_query_string_parameter (0.02s) --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings (0.02s) --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_query_strings,_array (0.06s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_query_string_array_serialization (0.03s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_query_string_parameter (0.06s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) (0.01s) --- PASS: TestValidationHandler_validateRequest/success_-_valid_enum_value,_allowing_commas (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_string_parameter (0.01s) --- PASS: TestValidationHandler_validateRequest/error_-_invalid_enum_value_for_header_object_attribute (0.05s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute (0.01s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_nested_object_attribute (0.01s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_deeply_nested_object_attribute (0.01s) --- PASS: TestValidationHandler_validateRequest/error_-_readonly_object_attribute (0.05s) --- PASS: TestValidationHandler_validateRequest/error_-_wrong_attribute_type (0.02s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.02s) --- PASS: TestValidationHandler_validateRequest/success_-_ignores_unknown_object_attribute (0.01s) --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_POST (0.01s) --- PASS: TestValidationHandler_validateRequest/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.06s) --- PASS: TestValidationHandler_validateRequest/error_-_missing_path_param (0.01s) --- PASS: TestValidationHandler_validateRequest/error_-_wrong_path_param_type (0.01s) --- PASS: TestValidationHandler_validateRequest/success_-_normal_case,_with_path_params (0.01s) === RUN TestValidationErrorEncoder === RUN TestValidationErrorEncoder/error_-_unknown_host === RUN TestValidationErrorEncoder/error_-_unknown_path === RUN TestValidationErrorEncoder/error_-_unknown_method === RUN TestValidationErrorEncoder/error_-_missing_body_on_POST === RUN TestValidationErrorEncoder/error_-_empty_body_on_POST === RUN TestValidationErrorEncoder/error_-_missing_content-type_on_POST === RUN TestValidationErrorEncoder/error_-_unknown_content-type_on_POST === RUN TestValidationErrorEncoder/error_-_unsupported_content-type_on_POST === RUN TestValidationErrorEncoder/success_-_no_content-type_header_required_on_GET === RUN TestValidationErrorEncoder/error_-_missing_required_query_string_parameter === RUN TestValidationErrorEncoder/error_-_wrong_query_string_parameter_type === RUN TestValidationErrorEncoder/success_-_ignores_unknown_query_string_parameter === RUN TestValidationErrorEncoder/success_-_normal_case,_query_strings === RUN TestValidationErrorEncoder/success_-_normal_case,_query_strings,_array === RUN TestValidationErrorEncoder/error_-_invalid_query_string_array_serialization === RUN TestValidationErrorEncoder/error_-_invalid_enum_value_for_query_string_parameter === RUN TestValidationErrorEncoder/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) === RUN TestValidationErrorEncoder/success_-_valid_enum_value,_allowing_commas === RUN TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_string_parameter === RUN TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_object_attribute === RUN TestValidationErrorEncoder/error_-_missing_required_object_attribute === RUN TestValidationErrorEncoder/error_-_missing_required_nested_object_attribute === RUN TestValidationErrorEncoder/error_-_missing_required_deeply_nested_object_attribute === RUN TestValidationErrorEncoder/error_-_readonly_object_attribute === RUN TestValidationErrorEncoder/error_-_wrong_attribute_type === RUN TestValidationErrorEncoder/error_-_missing_required_object_attribute_from_allOf_required_overlay === RUN TestValidationErrorEncoder/success_-_ignores_unknown_object_attribute === RUN TestValidationErrorEncoder/success_-_normal_case,_POST === RUN TestValidationErrorEncoder/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere === RUN TestValidationErrorEncoder/error_-_missing_path_param === RUN TestValidationErrorEncoder/error_-_wrong_path_param_type === RUN TestValidationErrorEncoder/success_-_normal_case,_with_path_params --- PASS: TestValidationErrorEncoder (0.81s) --- PASS: TestValidationErrorEncoder/error_-_unknown_host (0.01s) --- PASS: TestValidationErrorEncoder/error_-_unknown_path (0.05s) --- PASS: TestValidationErrorEncoder/error_-_unknown_method (0.02s) --- PASS: TestValidationErrorEncoder/error_-_missing_body_on_POST (0.01s) --- PASS: TestValidationErrorEncoder/error_-_empty_body_on_POST (0.01s) --- PASS: TestValidationErrorEncoder/error_-_missing_content-type_on_POST (0.05s) --- PASS: TestValidationErrorEncoder/error_-_unknown_content-type_on_POST (0.01s) --- PASS: TestValidationErrorEncoder/error_-_unsupported_content-type_on_POST (0.03s) --- PASS: TestValidationErrorEncoder/success_-_no_content-type_header_required_on_GET (0.06s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_query_string_parameter (0.01s) --- PASS: TestValidationErrorEncoder/error_-_wrong_query_string_parameter_type (0.01s) --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_query_string_parameter (0.01s) --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings (0.05s) --- PASS: TestValidationErrorEncoder/success_-_normal_case,_query_strings,_array (0.02s) --- PASS: TestValidationErrorEncoder/error_-_invalid_query_string_array_serialization (0.01s) --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_query_string_parameter (0.02s) --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value,_allowing_commas_(without_'perhaps_you_intended'_recommendation) (0.05s) --- PASS: TestValidationErrorEncoder/success_-_valid_enum_value,_allowing_commas (0.02s) --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_string_parameter (0.02s) --- PASS: TestValidationErrorEncoder/error_-_invalid_enum_value_for_header_object_attribute (0.01s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute (0.05s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_nested_object_attribute (0.02s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_deeply_nested_object_attribute (0.02s) --- PASS: TestValidationErrorEncoder/error_-_readonly_object_attribute (0.02s) --- PASS: TestValidationErrorEncoder/error_-_wrong_attribute_type (0.05s) --- PASS: TestValidationErrorEncoder/error_-_missing_required_object_attribute_from_allOf_required_overlay (0.02s) --- PASS: TestValidationErrorEncoder/success_-_ignores_unknown_object_attribute (0.01s) --- PASS: TestValidationErrorEncoder/success_-_normal_case,_POST (0.02s) --- PASS: TestValidationErrorEncoder/success_-_required_properties_are_not_required_on_PATCH_if_required_overlaid_using_allOf_elsewhere (0.05s) --- PASS: TestValidationErrorEncoder/error_-_missing_path_param (0.01s) --- PASS: TestValidationErrorEncoder/error_-_wrong_path_param_type (0.02s) --- PASS: TestValidationErrorEncoder/success_-_normal_case,_with_path_params (0.01s) === 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.09s) --- PASS: TestValidationHandler_ServeHTTP/errors_on_invalid_requests (0.06s) --- PASS: TestValidationHandler_ServeHTTP/passes_valid_requests_through (0.01s) --- PASS: TestValidationHandler_ServeHTTP/uses_error_encoder (0.01s) === 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.02s) --- PASS: TestValidationHandler_Middleware/passes_valid_requests_through (0.05s) --- PASS: TestValidationHandler_Middleware/uses_error_encoder (0.02s) === RUN TestFilter validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix validation_test.go:177: Response: 200 validation_test.go:159: Request: POST http://example.com/api/prefix/EXCEEDS_MAX_LENGTH/suffix validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?queryArg=a validation_test.go:177: Response: 200 validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?queryArg=EXCEEDS_MAX_LENGTH validation_test.go:159: Request: GET http://example.com/api/issue151?par2=par1_is_missing validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?queryArgAnyOf=ae&queryArgOneOf=ac&queryArgAllOf=2017-12-31T11:59:59 validation_test.go:177: Response: 200 validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?queryArgAnyOf=2017-12-31T11:59:59 validation_test.go:177: Response: 200 validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?queryArgAnyOf=123 validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?queryArgOneOf=567 validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?queryArgOneOf=2017-12-31T11:59:59 validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?queryArgAllOf=abdfg validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?queryArg=EXCEEDS_MAX_LENGTH validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix validation_test.go:177: Response: 200 validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?contentArg={"name":"bob", "id":"a"} validation_test.go:177: Response: 200 validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?contentArg={"name":"bob", "id":"EXCEEDS_MAX_LENGTH"} validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?contentArg2={"name":"bob", "id":"a"} validation_test.go:177: Response: 200 validation_test.go:159: Request: POST http://example.com/api/prefix/v/suffix?contentArg2={"name":"bob", "id":"EXCEEDS_MAX_LENGTH"} --- PASS: TestFilter (0.00s) === RUN TestValidateRequestBody === RUN TestValidateRequestBody/non_required_empty === RUN TestValidateRequestBody/non_required_not_empty === RUN TestValidateRequestBody/required_empty === RUN TestValidateRequestBody/required_not_empty === RUN TestValidateRequestBody/not_JSON_data === RUN TestValidateRequestBody/not_declared_content === RUN TestValidateRequestBody/not_declared_schema --- PASS: TestValidateRequestBody (0.00s) --- PASS: TestValidateRequestBody/non_required_empty (0.00s) --- PASS: TestValidateRequestBody/non_required_not_empty (0.00s) --- PASS: TestValidateRequestBody/required_empty (0.00s) --- PASS: TestValidateRequestBody/required_not_empty (0.00s) --- PASS: TestValidateRequestBody/not_JSON_data (0.00s) --- PASS: TestValidateRequestBody/not_declared_content (0.00s) --- PASS: TestValidateRequestBody/not_declared_schema (0.00s) === RUN TestOperationOrSwaggerSecurity --- PASS: TestOperationOrSwaggerSecurity (0.00s) === RUN TestAnySecurityRequirementMet --- PASS: TestAnySecurityRequirementMet (0.00s) === RUN TestAllSchemesMet --- PASS: TestAllSchemesMet (0.00s) === RUN TestRouter --- PASS: TestRouter (0.00s) PASS ok github.com/getkin/kin-openapi/openapi3filter 2.066s === RUN TestCyclic --- PASS: TestCyclic (0.00s) === RUN TestSimple --- PASS: TestSimple (0.00s) PASS ok github.com/getkin/kin-openapi/openapi3gen 1.983s === RUN TestPatterns --- PASS: TestPatterns (0.00s) PASS ok github.com/getkin/kin-openapi/pathpattern 0.174s create-stamp debian/debhelper-build-stamp dh_testroot -i -O--buildsystem=golang dh_prep -i -O--buildsystem=golang dh_auto_install -i -O--buildsystem=golang dh_installdocs -i -O--buildsystem=golang dh_installchangelogs -i -O--buildsystem=golang dh_installsystemduser -i -O--buildsystem=golang dh_perl -i -O--buildsystem=golang dh_link -i -O--buildsystem=golang dh_strip_nondeterminism -i -O--buildsystem=golang dh_compress -i -O--buildsystem=golang dh_fixperms -i -O--buildsystem=golang dh_missing -i -O--buildsystem=golang dh_installdeb -i -O--buildsystem=golang dh_golang -i -O--buildsystem=golang dh_gencontrol -i -O--buildsystem=golang dh_md5sums -i -O--buildsystem=golang dh_builddeb -i -O--buildsystem=golang dpkg-deb: building package 'golang-github-getkin-kin-openapi-dev' in '../golang-github-getkin-kin-openapi-dev_0.32.0-2_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../golang-github-getkin-kin-openapi_0.32.0-2_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/golang-github-getkin-kin-openapi-ehG3Cl /tmp/golang-github-getkin-kin-openapi-0.32.0-2zv0b4sxi I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.z7u6GyK1Z0... I: success in 750.9788 seconds md5: golang-github-getkin-kin-openapi-dev_0.32.0-2_all.deb: OK sha1: golang-github-getkin-kin-openapi-dev_0.32.0-2_all.deb: OK sha256: golang-github-getkin-kin-openapi-dev_0.32.0-2_all.deb: OK Checksums: OK