*: [iurt] This is iurt version 0.9.4 D: [iurt] [iurt] load config: /home/iurt/.iurt.cauldron.conf D: [iurt] [iurt] load config: /etc/iurt/build/cauldron.conf D: [iurt] [iurt] Setting PERL_EXTUTILS_AUTOINSTALL to --skipdeps D: [iurt] [iurt] Setting PERL_AUTOINSTALL to --skipdeps I: [iurt] [iurt] local spool: /home/iurt/iurt/cauldron/core/release/20250704203300.umeabot.duvel.1574332-aarch64 I: [iurt] [iurt] Packages to build: 1 D: [iurt] [iurt] using 0.20250704203833 as chroot extension D: [iurt] [iurt] using local user iurt, id 1000 I: [iurt] [iurt] Remove existing chroot D: [iurt] [iurt] ... dir /home/iurt/chroot_tmp all prefix chroot_cauldron.aarch64 D: [iurt] [iurt] running with pid 3531481 N: [iurt] [iurt] Build package @2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm [1/1] D: [iurt] [iurt] Not reusing old chroot I: [iurt] [iurt] Install new chroot D: [iurt] [iurt] ... in /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt] [iurt] clean chroot N: [iurt] [iurt] creating chroot D: [iurt_root_command] Running iurt_root_command --mkdir -p /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833.tmp.4_txoR D: [iurt_root_command] Creating the path D: [iurt_root_command] Success! D: [iurt] [iurt] decompressing /var/log/qa from /home/iurt/chroot_cauldron.aarch64.tar in /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833.tmp.4_txoR D: [iurt_root_command] Running iurt_root_command --untar /home/iurt/chroot_cauldron.aarch64.tar /home/iurt/chroot_tmp/iurt/chroot_cauldron.a... D: [iurt_root_command] Uncompress tarball D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --mkdir -m 1023 /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833.tmp.4_t... D: [iurt_root_command] Creating the path D: [iurt_root_command] Success! /bin/cp: cannot create special file '/home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833.tmp.4_txoR/tmp/tmp.oArffl/dev/null': Operation not permitted --2025-07-04 22:38:34-- http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/media_info/20250704-200417-synthesis.hdlist.cz Resolving repository.mageia.org (repository.mageia.org)... 212.85.158.153, 2a02:2178:2:7::9 Connecting to repository.mageia.org (repository.mageia.org)|212.85.158.153|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2862036 (2.7M) Saving to: '/home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833.tmp.4_txoR/tmp/tmp.oArffl/tmp/.urpmi-1000/partial/20250704-200417-synthesis.hdlist.cz' 0K .......... .......... .......... .......... .......... 1% 983K 3s 50K .......... .......... .......... .......... .......... 3% 1.90M 2s 100K .......... .......... .......... .......... .......... 5% 108M 1s 150K .......... .......... .......... .......... .......... 7% 102M 1s 200K .......... .......... .......... .......... .......... 8% 1.97M 1s 250K .......... .......... .......... .......... .......... 10% 91.9M 1s 300K .......... .......... .......... .......... .......... 12% 151M 1s 350K .......... .......... .......... .......... .......... 14% 103M 1s 400K .......... .......... .......... .......... .......... 16% 2.03M 1s 450K .......... .......... .......... .......... .......... 17% 162M 1s 500K .......... .......... .......... .......... .......... 19% 92.7M 1s 550K .......... .......... .......... .......... .......... 21% 110M 0s 600K .......... .......... .......... .......... .......... 23% 104M 0s 650K .......... .......... .......... .......... .......... 25% 108M 0s 700K .......... .......... .......... .......... .......... 26% 106M 0s 750K .......... .......... .......... .......... .......... 28% 128M 0s 800K .......... .......... .......... .......... .......... 30% 91.4M 0s 850K .......... .......... .......... .......... .......... 32% 2.17M 0s 900K .......... .......... .......... .......... .......... 33% 93.1T 0s 950K .......... .......... .......... .......... .......... 35% 94.0M 0s 1000K .......... .......... .......... .......... .......... 37% 122M 0s 1050K .......... .......... .......... .......... .......... 39% 145M 0s 1100K .......... .......... .......... .......... .......... 41% 127M 0s 1150K .......... .......... .......... .......... .......... 42% 95.8M 0s 1200K .......... .......... .......... .......... .......... 44% 120M 0s 1250K .......... .......... .......... .......... .......... 46% 107M 0s 1300K .......... .......... .......... .......... .......... 48% 112M 0s 1350K .......... .......... .......... .......... .......... 50% 112M 0s 1400K .......... .......... .......... .......... .......... 51% 112M 0s 1450K .......... .......... .......... .......... .......... 53% 102M 0s 1500K .......... .......... .......... .......... .......... 55% 121M 0s 1550K .......... .......... .......... .......... .......... 57% 109M 0s 1600K .......... .......... .......... .......... .......... 59% 96.8M 0s 1650K .......... .......... .......... .......... .......... 60% 94.6M 0s 1700K .......... .......... .......... .......... .......... 62% 122M 0s 1750K .......... .......... .......... .......... .......... 64% 2.67M 0s 1800K .......... .......... .......... .......... .......... 66% 102M 0s 1850K .......... .......... .......... .......... .......... 67% 210M 0s 1900K .......... .......... .......... .......... .......... 69% 90.8M 0s 1950K .......... .......... .......... .......... .......... 71% 116M 0s 2000K .......... .......... .......... .......... .......... 73% 81.2M 0s 2050K .......... .......... .......... .......... .......... 75% 113M 0s 2100K .......... .......... .......... .......... .......... 76% 115M 0s 2150K .......... .......... .......... .......... .......... 78% 111M 0s 2200K .......... .......... .......... .......... .......... 80% 71.6M 0s 2250K .......... .......... .......... .......... .......... 82% 113M 0s 2300K .......... .......... .......... .......... .......... 84% 165M 0s 2350K .......... .......... .......... .......... .......... 85% 103M 0s 2400K .......... .......... .......... .......... .......... 87% 166M 0s 2450K .......... .......... .......... .......... .......... 89% 47.8M 0s 2500K .......... .......... .......... .......... .......... 91% 93.1T 0s 2550K .......... .......... .......... .......... .......... 93% 116M 0s 2600K .......... .......... .......... .......... .......... 94% 86.0M 0s 2650K .......... .......... .......... .......... .......... 96% 189M 0s 2700K .......... .......... .......... .......... .......... 98% 130M 0s 2750K .......... .......... .......... .......... .... 100% 105M=0.2s 2025-07-04 22:38:35 (14.5 MB/s) - '/home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833.tmp.4_txoR/tmp/tmp.oArffl/tmp/.urpmi-1000/partial/20250704-200417-synthesis.hdlist.cz' saved [2862036/2862036] --2025-07-04 22:38:35-- http://repository.mageia.org/distrib/cauldron/aarch64/media/core/updates/media_info/20230811-204956-synthesis.hdlist.cz Resolving repository.mageia.org (repository.mageia.org)... 212.85.158.153, 2a02:2178:2:7::9 Connecting to repository.mageia.org (repository.mageia.org)|212.85.158.153|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 32 Saving to: '/home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833.tmp.4_txoR/tmp/tmp.oArffl/tmp/.urpmi-1000/partial/20230811-204956-synthesis.hdlist.cz' 0K 100% 3.50M=0s 2025-07-04 22:38:35 (3.50 MB/s) - '/home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833.tmp.4_txoR/tmp/tmp.oArffl/tmp/.urpmi-1000/partial/20230811-204956-synthesis.hdlist.cz' saved [32/32] N: [iurt] [iurt] chroot tarball is already up-to-date D: [iurt_root_command] Running iurt_root_command --rm -r /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833.tmp.4_txoR D: [iurt_root_command] Removing files D: [iurt_root_command] removing /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833.tmp.4_txoR D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --rm -r /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt_root_command] Removing files D: [iurt_root_command] removing /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --mkdir -p /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt_root_command] Creating the path D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --untar /home/iurt/chroot_cauldron.aarch64.tar /home/iurt/chroot_tmp/iurt/chroot_cauldron.a... D: [iurt_root_command] Uncompress tarball D: [iurt_root_command] Success! N: [iurt] [iurt] chroot recreated in /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 (from /home/iurt/chroot_cauldron.aarch64.tar) D: [iurt_root_command] Running iurt_root_command --netns_create /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt_root_command] Create network namespace for given chroot exec of "ifconfig" failed: No such file or directory RTNETLINK answers: Network is down D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --cp /tmp/rpmmacros.91oHWP /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203... D: [iurt_root_command] Copying files D: [iurt_root_command] copying /tmp/rpmmacros.91oHWP -> /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/etc/rpm/macros D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --bindmount /proc /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/proc D: [iurt_root_command] Bind mounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --bindmount /dev/pts /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/de... D: [iurt_root_command] Bind mounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --tmpfs /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/dev/shm D: [iurt_root_command] Mount tmpfs D: [iurt_root_command] Success! I: [iurt] [iurt] add chroot media: http://repository.mageia.org/distrib//cauldron/aarch64 D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --urpmi-addmedia -v --urpmi-root /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 core_release http://repository.mageia.org/distrib//cauldron/aarch64/media/core/release D: [iurt] [iurt] Command exited with 0. MEDIA core_release (core_release) sh: line 1: GET: command not found D: [iurt] [iurt] creating user iurt in chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt_root_command] Running iurt_root_command --useradd /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 iurt 1000 D: [iurt_root_command] Useradd D: [iurt_root_command] Success! N: [iurt] [iurt] recreate srpm: @2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] perl command D: [iurt_root_command] Running iurt_root_command --cp /home/iurt/iurt/cauldron/core/release/20250704203300.umeabot.duvel.1574332-aarch64//@2... D: [iurt_root_command] Copying files D: [iurt_root_command] copying /home/iurt/iurt/cauldron/core/release/20250704203300.umeabot.duvel.1574332-aarch64//@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm -> /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/home/iurt/rpmbuild/SRPMS/ D: [iurt_root_command] Success! D: [iurt] [iurt] Command exited with 0. D: [iurt] [iurt] recreating src.rpm... D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 su iurt -c "rpm -i /home/iurt/rpmbuild/SRPMS/@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm" D: [iurt] [iurt] Command exited with 0. D: [iurt] [iurt] calling callback for install_@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 su iurt -c "rpmspec -q --qf %{NVR}.src.rpm --srpm /home/iurt/rpmbuild/SPECS/golang-github-openapi-spec.spec | tail -n1 > /home/iurt/rpmbuild/SPECS/golang-github-openapi-spec.spec.srpm_name" D: [iurt] [iurt] Forking to monitor log size D: [iurt] [iurt] Command exited with 0. D: [iurt_root_command] Running iurt_root_command --rm /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/home/iurt/rpmbuild... D: [iurt_root_command] Removing files D: [iurt_root_command] removing /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/home/iurt/rpmbuild/SRPMS/@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm D: [iurt_root_command] Success! D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] Forking to monitor log size D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 su iurt -c "rpmbuild --target aarch64 --nodeps -bs /home/iurt/rpmbuild/SPECS/golang-github-openapi-spec.spec" D: [iurt] [iurt] Command exited with 0. D: [iurt_root_command] Running iurt_root_command --ln /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/home/iurt/rpmbuild... D: [iurt_root_command] Linking files D: [iurt_root_command] Success! N: [iurt] [iurt] new srpm: @2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm I: [iurt] [iurt] updating packages in /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt] [iurt] Using timeout of 600 seconds. D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --urpmi --urpmi-root /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 --auto-update --auto D: [iurt] [iurt] Command exited with 0. I: [iurt] [iurt] Install build dependencies for @2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm D: [iurt] [iurt] installing /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/home/iurt/rpmbuild/SRPMS//@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm I: [iurt] [iurt] install dependencies using urpmi D: [iurt] [iurt] Using timeout of 3600 seconds. D: [iurt] [iurt] Forking to monitor log size D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --urpmi -v --no-verify-rpm --tune-rpm=all --nolock --auto --no-recommends --ignoresize --urpmi-root /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 --buildrequires /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/home/iurt/rpmbuild/SRPMS//@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm D: [iurt] [iurt] Command exited with 0. D: [iurt] [iurt] calling callback for install_deps_@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm D: [iurt] [iurt] missing_deps is empty, aborting. D: [iurt] [iurt] output had: __ D: [iurt_root_command] urpmi error: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. examining synthesis file [/home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/var/lib/urpmi/synthesis.hdlist.core_release.cz] would install instead of upgrade package kernel-desktop-6.12.34-1.mga10-1-1.mga10.aarch64 would install instead of upgrade package kernel-desktop-devel-6.12.34-1.mga10-1-1.mga10.aarch64 would install instead of upgrade package kernel-server-6.12.34-1.mga10-1-1.mga10.aarch64 would install instead of upgrade package kernel-server-devel-6.12.34-1.mga10-1-1.mga10.aarch64 retrieving rpm files from medium "core_release"... not using metalink since no downloaders handling metalink are available http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-cloud-google-compute-metadata-devel-0.3.0-3.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-protobuf-devel-1.5.3-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-hashicorp-uuid-devel-1.0.2-3.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-google-genproto-devel-0-5.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-openapi-swag-devel-0.21.1-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-eapache-xerial-snappy-devel-0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-josharian-intern-devel-1.0.0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-cespare-xxhash-devel-2.1.2-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-alecthomas-units-devel-0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-xhit-str2duration-devel-2.1.0-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-kylelemons-godebug-devel-1.1.0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-stretchr-testify-devel-1.8.0-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-streadway-amqp-devel-1.0.0-4.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/compat-golang-github-xhit-str2duration-2-devel-2.1.0-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-masterminds-semver-devel-3.1.1-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-davecgh-spew-devel-1.1.1-5.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-groupcache-devel-0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-glog-devel-1.0.0-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-gopkg-yaml-3-devel-3.0.1-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-yuin-goldmark-devel-1.7.8-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-gopkg-jcmturner-goidentity-3-devel-3.0.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-oauth2-devel-0.25.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-mod-devel-0.23.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-eapache-queue-devel-1.1.0-4.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-stretchr-objx-devel-0.5.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/compat-golang-github-cespare-xxhash-2-devel-2.1.2-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-yuin-goldmark-meta-devel-1.1.0-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-julienschmidt-httprouter-devel-1.3.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-jpillora-backoff-devel-1.0.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-google-cmp-devel-0.5.8-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-gopkg-alecthomas-kingpin-2-devel-2.3.2-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-mailru-easyjson-devel-0.7.6-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-gopkg-yaml-2-devel-2.4.0-4.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-jmespath-devel-0.4.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/compat-golang-github-alecthomas-kingpin-2-devel-2.3.2-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-uber-goleak-devel-1.2.0-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/go-filesystem-3.6.0-4.mga10.aarch64.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-evanw-esbuild-devel-0.24.2-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-google-uuid-devel-1.3.0-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-prometheus-client-model-devel-0.6.1-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-efficientgo-core-devel-0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-snappy-devel-0.0.2-7.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-sigs-k8s-yaml-devel-1.4.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-klauspost-compress-devel-1.18.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-google-protobuf-devel-1.31.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-opentracing-devel-1.2.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-openapi-jsonpointer-devel-0.19.5-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-sys-devel-0.30.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-pmezard-difflib-devel-1.0.0-4.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-term-devel-0.30.0-1.mga10.noarch.rpm retrieved http://repository.mageia.org/distrib//cauldron/aarch64/media/core/release golang-cloud-google-compute-metadata-devel-0.3.0-3.mga10.noarch.rpm golang-github-protobuf-devel-1.5.3-2.mga10.noarch.rpm golang-github-hashicorp-uuid-devel-1.0.2-3.mga10.noarch.rpm golang-google-genproto-devel-0-5.mga10.noarch.rpm golang-github-openapi-swag-devel-0.21.1-2.mga9.noarch.rpm golang-github-eapache-xerial-snappy-devel-0-2.mga9.noarch.rpm golang-github-josharian-intern-devel-1.0.0-2.mga9.noarch.rpm golang-github-cespare-xxhash-devel-2.1.2-2.mga9.noarch.rpm golang-github-alecthomas-units-devel-0-2.mga9.noarch.rpm golang-github-xhit-str2duration-devel-2.1.0-2.mga10.noarch.rpm golang-github-kylelemons-godebug-devel-1.1.0-2.mga9.noarch.rpm golang-github-stretchr-testify-devel-1.8.0-1.mga9.noarch.rpm golang-github-streadway-amqp-devel-1.0.0-4.mga9.noarch.rpm compat-golang-github-xhit-str2duration-2-devel-2.1.0-2.mga10.noarch.rpm golang-github-masterminds-semver-devel-3.1.1-2.mga9.noarch.rpm golang-github-davecgh-spew-devel-1.1.1-5.mga10.noarch.rpm golang-github-groupcache-devel-0-2.mga9.noarch.rpm golang-github-glog-devel-1.0.0-1.mga9.noarch.rpm golang-gopkg-yaml-3-devel-3.0.1-2.mga9.noarch.rpm golang-github-yuin-goldmark-devel-1.7.8-1.mga10.noarch.rpm golang-gopkg-jcmturner-goidentity-3-devel-3.0.0-3.mga9.noarch.rpm golang-x-oauth2-devel-0.25.0-1.mga10.noarch.rpm golang-x-mod-devel-0.23.0-1.mga10.noarch.rpm golang-github-eapache-queue-devel-1.1.0-4.mga9.noarch.rpm golang-github-stretchr-objx-devel-0.5.0-1.mga10.noarch.rpm compat-golang-github-cespare-xxhash-2-devel-2.1.2-2.mga9.noarch.rpm golang-github-yuin-goldmark-meta-devel-1.1.0-2.mga10.noarch.rpm golang-github-julienschmidt-httprouter-devel-1.3.0-3.mga9.noarch.rpm golang-github-jpillora-backoff-devel-1.0.0-3.mga9.noarch.rpm golang-github-google-cmp-devel-0.5.8-1.mga9.noarch.rpm golang-gopkg-alecthomas-kingpin-2-devel-2.3.2-1.mga10.noarch.rpm golang-github-mailru-easyjson-devel-0.7.6-2.mga9.noarch.rpm golang-gopkg-yaml-2-devel-2.4.0-4.mga9.noarch.rpm golang-github-jmespath-devel-0.4.0-3.mga9.noarch.rpm compat-golang-github-alecthomas-kingpin-2-devel-2.3.2-1.mga10.noarch.rpm golang-uber-goleak-devel-1.2.0-1.mga9.noarch.rpm go-filesystem-3.6.0-4.mga10.aarch64.rpm golang-github-evanw-esbuild-devel-0.24.2-1.mga10.noarch.rpm golang-github-google-uuid-devel-1.3.0-2.mga10.noarch.rpm golang-github-prometheus-client-model-devel-0.6.1-1.mga10.noarch.rpm golang-github-efficientgo-core-devel-0-1.mga10.noarch.rpm golang-github-snappy-devel-0.0.2-7.mga10.noarch.rpm golang-sigs-k8s-yaml-devel-1.4.0-1.mga10.noarch.rpm golang-github-klauspost-compress-devel-1.18.0-1.mga10.noarch.rpm golang-google-protobuf-devel-1.31.0-1.mga10.noarch.rpm golang-github-opentracing-devel-1.2.0-3.mga9.noarch.rpm golang-github-openapi-jsonpointer-devel-0.19.5-2.mga9.noarch.rpm golang-x-sys-devel-0.30.0-1.mga10.noarch.rpm golang-github-pmezard-difflib-devel-1.0.0-4.mga9.noarch.rpm golang-x-term-devel-0.30.0-1.mga10.noarch.rpm ...retrieving done installing golang-github-masterminds-semver-devel-3.1.1-2.mga9.noarch.rpm golang-github-davecgh-spew-devel-1.1.1-5.mga10.noarch.rpm golang-github-stretchr-testify-devel-1.8.0-1.mga9.noarch.rpm golang-github-streadway-amqp-devel-1.0.0-4.mga9.noarch.rpm compat-golang-github-xhit-str2duration-2-devel-2.1.0-2.mga10.noarch.rpm golang-github-kylelemons-godebug-devel-1.1.0-2.mga9.noarch.rpm golang-github-alecthomas-units-devel-0-2.mga9.noarch.rpm golang-github-cespare-xxhash-devel-2.1.2-2.mga9.noarch.rpm golang-github-xhit-str2duration-devel-2.1.0-2.mga10.noarch.rpm golang-github-eapache-xerial-snappy-devel-0-2.mga9.noarch.rpm golang-github-openapi-swag-devel-0.21.1-2.mga9.noarch.rpm golang-github-josharian-intern-devel-1.0.0-2.mga9.noarch.rpm golang-github-hashicorp-uuid-devel-1.0.2-3.mga10.noarch.rpm golang-google-genproto-devel-0-5.mga10.noarch.rpm golang-cloud-google-compute-metadata-devel-0.3.0-3.mga10.noarch.rpm golang-github-protobuf-devel-1.5.3-2.mga10.noarch.rpm golang-x-oauth2-devel-0.25.0-1.mga10.noarch.rpm golang-gopkg-jcmturner-goidentity-3-devel-3.0.0-3.mga9.noarch.rpm golang-github-glog-devel-1.0.0-1.mga9.noarch.rpm golang-github-yuin-goldmark-devel-1.7.8-1.mga10.noarch.rpm golang-gopkg-yaml-3-devel-3.0.1-2.mga9.noarch.rpm golang-github-groupcache-devel-0-2.mga9.noarch.rpm golang-github-jmespath-devel-0.4.0-3.mga9.noarch.rpm compat-golang-github-alecthomas-kingpin-2-devel-2.3.2-1.mga10.noarch.rpm golang-github-mailru-easyjson-devel-0.7.6-2.mga9.noarch.rpm golang-gopkg-yaml-2-devel-2.4.0-4.mga9.noarch.rpm golang-gopkg-alecthomas-kingpin-2-devel-2.3.2-1.mga10.noarch.rpm golang-github-google-cmp-devel-0.5.8-1.mga9.noarch.rpm golang-github-jpillora-backoff-devel-1.0.0-3.mga9.noarch.rpm golang-github-julienschmidt-httprouter-devel-1.3.0-3.mga9.noarch.rpm golang-github-yuin-goldmark-meta-devel-1.1.0-2.mga10.noarch.rpm golang-github-stretchr-objx-devel-0.5.0-1.mga10.noarch.rpm compat-golang-github-cespare-xxhash-2-devel-2.1.2-2.mga9.noarch.rpm golang-github-eapache-queue-devel-1.1.0-4.mga9.noarch.rpm golang-x-mod-devel-0.23.0-1.mga10.noarch.rpm golang-github-pmezard-difflib-devel-1.0.0-4.mga9.noarch.rpm golang-x-term-devel-0.30.0-1.mga10.noarch.rpm golang-github-openapi-jsonpointer-devel-0.19.5-2.mga9.noarch.rpm golang-github-opentracing-devel-1.2.0-3.mga9.noarch.rpm golang-x-sys-devel-0.30.0-1.mga10.noarch.rpm golang-sigs-k8s-yaml-devel-1.4.0-1.mga10.noarch.rpm golang-google-protobuf-devel-1.31.0-1.mga10.noarch.rpm golang-github-klauspost-compress-devel-1.18.0-1.mga10.noarch.rpm golang-github-snappy-devel-0.0.2-7.mga10.noarch.rpm golang-github-prometheus-client-model-devel-0.6.1-1.mga10.noarch.rpm golang-github-efficientgo-core-devel-0-1.mga10.noarch.rpm golang-github-google-uuid-devel-1.3.0-2.mga10.noarch.rpm go-filesystem-3.6.0-4.mga10.aarch64.rpm golang-github-evanw-esbuild-devel-0.24.2-1.mga10.noarch.rpm golang-uber-goleak-devel-1.2.0-1.mga9.noarch.rpm from /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/var/cache/urpmi/rpms starting installing packages created transaction for installing on /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 (remove=0, install=0, upgrade=50) Preparing... ############################################# 1/147: go-filesystem ############################################# 2/147: golang-github-davecgh-spew-devel ############################################# 3/147: golang-gopkg-yaml-2-devel ############################################# 4/147: golang-github-google-cmp-devel ############################################# 5/147: golang-google-protobuf-devel ############################################# 6/147: golang-github-stretchr-objx-devel ############################################# 7/147: golang-github-pmezard-difflib-devel ############################################# 8/147: golang-x-sys-devel ############################################# 9/147: golang-github-protobuf-devel ############################################# 10/147: golang-github-alecthomas-units-devel ############################################# 11/147: golang-github-cespare-xxhash-devel ############################################# 12/147: golang-github-xhit-str2duration-devel ############################################# 13/147: compat-golang-github-xhit-str2duration-2-devel ############################################# 14/147: golang-gopkg-alecthomas-kingpin-2-devel ############################################# 15/147: golang-github-josharian-intern-devel ############################################# 16/147: golang-github-mailru-easyjson-devel ############################################# 17/147: golang-github-openapi-swag-devel ############################################# 18/147: golang-github-hashicorp-uuid-devel ############################################# 19/147: golang-cloud-google-compute-metadata-devel ############################################# 20/147: golang-github-yuin-goldmark-devel ############################################# 21/147: golang-gopkg-yaml-3-devel ############################################# 22/147: golang-github-stretchr-testify-devel ############################################# 23/147: golang-github-snappy-devel ############################################# 24/147: golang-github-eapache-xerial-snappy-devel ############################################# 25/147: golang-github-opentracing-devel ############################################# 26/147: golang-github-yuin-goldmark-meta-devel ############################################# 27/147: golang-x-oauth2-devel ############################################# 28/147: golang-gopkg-jcmturner-goidentity-3-devel ############################################# 29/147: golang-github-openapi-jsonpointer-devel ############################################# 30/147: compat-golang-github-alecthomas-kingpin-2-devel ############################################# 31/147: compat-golang-github-cespare-xxhash-2-devel ############################################# 32/147: golang-github-groupcache-devel ############################################# 33/147: golang-x-term-devel ############################################# 34/147: golang-github-evanw-esbuild-devel ############################################# 35/147: golang-github-jmespath-devel ############################################# 36/147: golang-github-prometheus-client-model-devel ############################################# 37/147: golang-github-efficientgo-core-devel ############################################# 38/147: golang-github-masterminds-semver-devel ############################################# 39/147: golang-github-streadway-amqp-devel ############################################# 40/147: golang-github-kylelemons-godebug-devel ############################################# 41/147: golang-google-genproto-devel ############################################# 42/147: golang-github-glog-devel ############################################# 43/147: golang-github-jpillora-backoff-devel ############################################# 44/147: golang-github-julienschmidt-httprouter-devel ############################################# 45/147: golang-github-eapache-queue-devel ############################################# 46/147: golang-x-mod-devel ############################################# 47/147: golang-sigs-k8s-yaml-devel ############################################# 48/147: golang-github-klauspost-compress-devel ############################################# 49/147: golang-github-google-uuid-devel ############################################# 50/147: golang-uber-goleak-devel ############################################# removing installed rpms (golang-github-masterminds-semver-devel-3.1.1-2.mga9.noarch.rpm golang-github-davecgh-spew-devel-1.1.1-5.mga10.noarch.rpm golang-github-stretchr-testify-devel-1.8.0-1.mga9.noarch.rpm golang-github-streadway-amqp-devel-1.0.0-4.mga9.noarch.rpm compat-golang-github-xhit-str2duration-2-devel-2.1.0-2.mga10.noarch.rpm golang-github-kylelemons-godebug-devel-1.1.0-2.mga9.noarch.rpm golang-github-alecthomas-units-devel-0-2.mga9.noarch.rpm golang-github-cespare-xxhash-devel-2.1.2-2.mga9.noarch.rpm golang-github-xhit-str2duration-devel-2.1.0-2.mga10.noarch.rpm golang-github-eapache-xerial-snappy-devel-0-2.mga9.noarch.rpm golang-github-openapi-swag-devel-0.21.1-2.mga9.noarch.rpm golang-github-josharian-intern-devel-1.0.0-2.mga9.noarch.rpm golang-github-hashicorp-uuid-devel-1.0.2-3.mga10.noarch.rpm golang-google-genproto-devel-0-5.mga10.noarch.rpm golang-cloud-google-compute-metadata-devel-0.3.0-3.mga10.noarch.rpm golang-github-protobuf-devel-1.5.3-2.mga10.noarch.rpm golang-x-oauth2-devel-0.25.0-1.mga10.noarch.rpm golang-gopkg-jcmturner-goidentity-3-devel-3.0.0-3.mga9.noarch.rpm golang-github-glog-devel-1.0.0-1.mga9.noarch.rpm golang-github-yuin-goldmark-devel-1.7.8-1.mga10.noarch.rpm golang-gopkg-yaml-3-devel-3.0.1-2.mga9.noarch.rpm golang-github-groupcache-devel-0-2.mga9.noarch.rpm golang-github-jmespath-devel-0.4.0-3.mga9.noarch.rpm compat-golang-github-alecthomas-kingpin-2-devel-2.3.2-1.mga10.noarch.rpm golang-github-mailru-easyjson-devel-0.7.6-2.mga9.noarch.rpm golang-gopkg-yaml-2-devel-2.4.0-4.mga9.noarch.rpm golang-gopkg-alecthomas-kingpin-2-devel-2.3.2-1.mga10.noarch.rpm golang-github-google-cmp-devel-0.5.8-1.mga9.noarch.rpm golang-github-jpillora-backoff-devel-1.0.0-3.mga9.noarch.rpm golang-github-julienschmidt-httprouter-devel-1.3.0-3.mga9.noarch.rpm golang-github-yuin-goldmark-meta-devel-1.1.0-2.mga10.noarch.rpm golang-github-stretchr-objx-devel-0.5.0-1.mga10.noarch.rpm compat-golang-github-cespare-xxhash-2-devel-2.1.2-2.mga9.noarch.rpm golang-github-eapache-queue-devel-1.1.0-4.mga9.noarch.rpm golang-x-mod-devel-0.23.0-1.mga10.noarch.rpm golang-github-pmezard-difflib-devel-1.0.0-4.mga9.noarch.rpm golang-x-term-devel-0.30.0-1.mga10.noarch.rpm golang-github-openapi-jsonpointer-devel-0.19.5-2.mga9.noarch.rpm golang-github-opentracing-devel-1.2.0-3.mga9.noarch.rpm golang-x-sys-devel-0.30.0-1.mga10.noarch.rpm golang-sigs-k8s-yaml-devel-1.4.0-1.mga10.noarch.rpm golang-google-protobuf-devel-1.31.0-1.mga10.noarch.rpm golang-github-klauspost-compress-devel-1.18.0-1.mga10.noarch.rpm golang-github-snappy-devel-0.0.2-7.mga10.noarch.rpm golang-github-prometheus-client-model-devel-0.6.1-1.mga10.noarch.rpm golang-github-efficientgo-core-devel-0-1.mga10.noarch.rpm golang-github-google-uuid-devel-1.3.0-2.mga10.noarch.rpm go-filesystem-3.6.0-4.mga10.aarch64.rpm golang-github-evanw-esbuild-devel-0.24.2-1.mga10.noarch.rpm golang-uber-goleak-devel-1.2.0-1.mga9.noarch.rpm) from /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/var/cache/urpmi/rpms retrieving rpm files from medium "core_release"... http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-cncf-xds-devel-0-4.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-uber-multierr-devel-1.8.0-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-opencensus-devel-0.24.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-logr-stdr-devel-1.2.2-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-felixge-fgprof-devel-0.9.5-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-google-grpc-devel-1.64.0-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-google-api-devel-0.185.0-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-googleapis-gax-devel-2.14.1-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-google-s2a-devel-0.1.9-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-schollz-progressbar-3-devel-3.8.3-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-ghodss-yaml-devel-1.0.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-gopkg-jcmturner-rpc-1-devel-1.1.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-cloud-google-longrunning-devel-0.5.7-3.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-aws-sdk-devel-1.44.307-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-logfmt-devel-0.6.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-gopkg-jcmturner-gokrb5-7-devel-7.5.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-google-appengine-devel-1.6.7-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-sync-devel-0.8.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-census-instrumentation-opencensus-proto-devel-0.3.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-googleapis-enterprise-certificate-proxy-devel-0.3.2-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-openzipkin-zipkin-devel-0.2.5-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-prometheus-client-devel-1.20.5-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-lyft-protoc-gen-star-devel-0.5.2-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-cloud-google-storage-devel-1.42.0-3.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-crypto-devel-0.33.0-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-gopkg-jcmturner-dnsutils-1-devel-1.0.1-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-cloud-google-cloudtasks-devel-1.12.8-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-kr-fs-devel-0.1.0-4.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-spf13-afero-devel-1.5.1-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-iancoleman-strcase-devel-0.1.3-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-tools-devel-0.29.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-google-pprof-devel-0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-cloud-google-devel-0.115.0-3.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-stoewer-strcase-devel-1.2.0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-uber-zap-devel-1.23.0-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-grpc-ecosystem-gateway-2-devel-2.7.3-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-pkg-sftp-devel-1.13.5-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-cloud-google-iam-devel-1.1.8-3.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-prometheus-common-devel-0.61.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-pierrec-cmdflag-devel-0.0.2-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-pierrec-lz4-devel-4.1.16-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-modern-reflect2-devel-1.0.2-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-uber-atomic-devel-1.10.0-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-telemetry-devel-0-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-benbjohnson-clock-devel-1.3.0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-beorn7-perks-devel-1.0.1-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-envoyproxy-protoc-gen-validate-devel-0.4.1-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-opentelemetry-otel-devel-1.28.0-3.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-bwplotka-tracing-devel-0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-rivo-uniseg-devel-0.4.3-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-json-iterator-devel-1.1.12-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-time-devel-0.9.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/compat-golang-github-cenkalti-backoff-4-devel-4.1.2-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-kit-log-devel-0.1.0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-stathat-devel-1.0.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-envoyproxy-control-plane-devel-0.11.1-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-cenkalti-backoff-devel-4.1.2-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-mattn-runewidth-devel-0.0.16-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/compat-golang-github-chzyer-readline-devel-1.4-7.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/compat-golang-github-masterminds-semver-3-devel-3.1.1-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-efficientgo-tools-devel-0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-code-cloudfoundry-bytefmt-devel-0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-exp-devel-0-7.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-ianlancetaylor-demangle-devel-0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-oklog-run-devel-1.1.0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-mwitkow-conntrack-devel-0-5.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-cloud-google-translate-devel-1.12.4-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-prometheus-procfs-devel-0.15.1-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-felixge-httpsnoop-devel-1.0.1-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-opentelemetry-contrib-devel-1.28.0-3.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-cloud-google-auth-devel-0.5.1-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-munnerz-goautoneg-devel-0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-google-cel-devel-0.20.1-3.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-opentelemetry-proto-devel-1.3.1-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-grpc-ecosystem-gateway-devel-1.16.0-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-shopify-sarama-devel-1.27.2-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-antlr4-antlr-devel-4.13.2-3.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-pkg-errors-devel-0.9.1-4.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-net-devel-0.34.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-google-cel-spec-devel-0.7.0-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-x-text-devel-0.23.0-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-eapache-resiliency-devel-1.2.0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-jcmturner-gofork-devel-1.7.6-2.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-modern-concurrent-devel-1.0.3-3.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-gopkg-readline-1-devel-1.4-7.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-logr-devel-1.2.3-1.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-gopkg-jcmturner-aescts-1-devel-1.0.1-4.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-rcrowley-metrics-devel-0-4.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-mitchellh-colorstring-devel-0-2.mga9.noarch.rpm retrieved http://repository.mageia.org/distrib//cauldron/aarch64/media/core/release golang-github-cncf-xds-devel-0-4.mga10.noarch.rpm golang-uber-multierr-devel-1.8.0-1.mga9.noarch.rpm golang-opencensus-devel-0.24.0-1.mga10.noarch.rpm golang-github-logr-stdr-devel-1.2.2-1.mga9.noarch.rpm golang-github-felixge-fgprof-devel-0.9.5-1.mga10.noarch.rpm golang-google-grpc-devel-1.64.0-2.mga10.noarch.rpm golang-google-api-devel-0.185.0-2.mga10.noarch.rpm golang-github-googleapis-gax-devel-2.14.1-1.mga10.noarch.rpm golang-github-google-s2a-devel-0.1.9-1.mga10.noarch.rpm golang-github-schollz-progressbar-3-devel-3.8.3-2.mga9.noarch.rpm golang-github-ghodss-yaml-devel-1.0.0-3.mga9.noarch.rpm golang-gopkg-jcmturner-rpc-1-devel-1.1.0-3.mga9.noarch.rpm golang-cloud-google-longrunning-devel-0.5.7-3.mga10.noarch.rpm golang-github-aws-sdk-devel-1.44.307-1.mga10.noarch.rpm golang-github-logfmt-devel-0.6.0-1.mga10.noarch.rpm golang-gopkg-jcmturner-gokrb5-7-devel-7.5.0-3.mga9.noarch.rpm golang-google-appengine-devel-1.6.7-3.mga9.noarch.rpm golang-x-sync-devel-0.8.0-1.mga10.noarch.rpm golang-github-census-instrumentation-opencensus-proto-devel-0.3.0-3.mga9.noarch.rpm golang-github-googleapis-enterprise-certificate-proxy-devel-0.3.2-1.mga10.noarch.rpm golang-github-openzipkin-zipkin-devel-0.2.5-3.mga9.noarch.rpm golang-github-prometheus-client-devel-1.20.5-1.mga10.noarch.rpm golang-github-lyft-protoc-gen-star-devel-0.5.2-2.mga9.noarch.rpm golang-cloud-google-storage-devel-1.42.0-3.mga10.noarch.rpm golang-x-crypto-devel-0.33.0-2.mga10.noarch.rpm golang-gopkg-jcmturner-dnsutils-1-devel-1.0.1-3.mga9.noarch.rpm golang-cloud-google-cloudtasks-devel-1.12.8-1.mga10.noarch.rpm golang-github-kr-fs-devel-0.1.0-4.mga10.noarch.rpm golang-github-spf13-afero-devel-1.5.1-3.mga9.noarch.rpm golang-github-iancoleman-strcase-devel-0.1.3-2.mga9.noarch.rpm golang-x-tools-devel-0.29.0-1.mga10.noarch.rpm golang-github-google-pprof-devel-0-2.mga9.noarch.rpm golang-cloud-google-devel-0.115.0-3.mga10.noarch.rpm golang-github-stoewer-strcase-devel-1.2.0-2.mga9.noarch.rpm golang-uber-zap-devel-1.23.0-1.mga9.noarch.rpm golang-github-grpc-ecosystem-gateway-2-devel-2.7.3-1.mga9.noarch.rpm golang-github-pkg-sftp-devel-1.13.5-2.mga9.noarch.rpm golang-cloud-google-iam-devel-1.1.8-3.mga10.noarch.rpm golang-github-prometheus-common-devel-0.61.0-1.mga10.noarch.rpm golang-github-pierrec-cmdflag-devel-0.0.2-3.mga9.noarch.rpm golang-github-pierrec-lz4-devel-4.1.16-1.mga9.noarch.rpm golang-github-modern-reflect2-devel-1.0.2-2.mga9.noarch.rpm golang-uber-atomic-devel-1.10.0-1.mga9.noarch.rpm golang-x-telemetry-devel-0-2.mga10.noarch.rpm golang-github-benbjohnson-clock-devel-1.3.0-2.mga9.noarch.rpm golang-github-beorn7-perks-devel-1.0.1-3.mga9.noarch.rpm golang-github-envoyproxy-protoc-gen-validate-devel-0.4.1-3.mga9.noarch.rpm golang-opentelemetry-otel-devel-1.28.0-3.mga10.noarch.rpm golang-github-bwplotka-tracing-devel-0-1.mga10.noarch.rpm golang-github-rivo-uniseg-devel-0.4.3-1.mga9.noarch.rpm golang-github-json-iterator-devel-1.1.12-2.mga9.noarch.rpm golang-x-time-devel-0.9.0-1.mga10.noarch.rpm compat-golang-github-cenkalti-backoff-4-devel-4.1.2-2.mga9.noarch.rpm golang-github-kit-log-devel-0.1.0-2.mga9.noarch.rpm golang-github-stathat-devel-1.0.0-3.mga9.noarch.rpm golang-github-envoyproxy-control-plane-devel-0.11.1-1.mga10.noarch.rpm golang-github-cenkalti-backoff-devel-4.1.2-2.mga9.noarch.rpm golang-github-mattn-runewidth-devel-0.0.16-1.mga10.noarch.rpm compat-golang-github-chzyer-readline-devel-1.4-7.mga9.noarch.rpm compat-golang-github-masterminds-semver-3-devel-3.1.1-2.mga9.noarch.rpm golang-github-efficientgo-tools-devel-0-1.mga10.noarch.rpm golang-code-cloudfoundry-bytefmt-devel-0-3.mga9.noarch.rpm golang-x-exp-devel-0-7.mga10.noarch.rpm golang-github-ianlancetaylor-demangle-devel-0-2.mga9.noarch.rpm golang-github-oklog-run-devel-1.1.0-2.mga9.noarch.rpm golang-github-mwitkow-conntrack-devel-0-5.mga10.noarch.rpm golang-cloud-google-translate-devel-1.12.4-1.mga10.noarch.rpm golang-github-prometheus-procfs-devel-0.15.1-1.mga10.noarch.rpm golang-github-felixge-httpsnoop-devel-1.0.1-2.mga9.noarch.rpm golang-opentelemetry-contrib-devel-1.28.0-3.mga10.noarch.rpm golang-cloud-google-auth-devel-0.5.1-2.mga10.noarch.rpm golang-github-munnerz-goautoneg-devel-0-1.mga10.noarch.rpm golang-github-google-cel-devel-0.20.1-3.mga10.noarch.rpm golang-opentelemetry-proto-devel-1.3.1-2.mga10.noarch.rpm golang-github-grpc-ecosystem-gateway-devel-1.16.0-3.mga9.noarch.rpm golang-github-shopify-sarama-devel-1.27.2-3.mga9.noarch.rpm golang-github-antlr4-antlr-devel-4.13.2-3.mga10.noarch.rpm golang-github-pkg-errors-devel-0.9.1-4.mga10.noarch.rpm golang-x-net-devel-0.34.0-1.mga10.noarch.rpm golang-github-google-cel-spec-devel-0.7.0-1.mga9.noarch.rpm golang-x-text-devel-0.23.0-1.mga10.noarch.rpm golang-github-eapache-resiliency-devel-1.2.0-2.mga9.noarch.rpm golang-github-jcmturner-gofork-devel-1.7.6-2.mga10.noarch.rpm golang-github-modern-concurrent-devel-1.0.3-3.mga9.noarch.rpm golang-gopkg-readline-1-devel-1.4-7.mga9.noarch.rpm golang-github-logr-devel-1.2.3-1.mga9.noarch.rpm golang-gopkg-jcmturner-aescts-1-devel-1.0.1-4.mga9.noarch.rpm golang-github-rcrowley-metrics-devel-0-4.mga9.noarch.rpm golang-github-mitchellh-colorstring-devel-0-2.mga9.noarch.rpm ...retrieving done installing golang-github-aws-sdk-devel-1.44.307-1.mga10.noarch.rpm golang-github-logfmt-devel-0.6.0-1.mga10.noarch.rpm golang-cloud-google-longrunning-devel-0.5.7-3.mga10.noarch.rpm golang-gopkg-jcmturner-rpc-1-devel-1.1.0-3.mga9.noarch.rpm golang-github-ghodss-yaml-devel-1.0.0-3.mga9.noarch.rpm golang-github-schollz-progressbar-3-devel-3.8.3-2.mga9.noarch.rpm golang-github-google-s2a-devel-0.1.9-1.mga10.noarch.rpm golang-github-googleapis-gax-devel-2.14.1-1.mga10.noarch.rpm golang-google-api-devel-0.185.0-2.mga10.noarch.rpm golang-github-felixge-fgprof-devel-0.9.5-1.mga10.noarch.rpm golang-google-grpc-devel-1.64.0-2.mga10.noarch.rpm golang-opencensus-devel-0.24.0-1.mga10.noarch.rpm golang-github-logr-stdr-devel-1.2.2-1.mga9.noarch.rpm golang-uber-multierr-devel-1.8.0-1.mga9.noarch.rpm golang-github-cncf-xds-devel-0-4.mga10.noarch.rpm golang-cloud-google-cloudtasks-devel-1.12.8-1.mga10.noarch.rpm golang-gopkg-jcmturner-dnsutils-1-devel-1.0.1-3.mga9.noarch.rpm golang-x-crypto-devel-0.33.0-2.mga10.noarch.rpm golang-cloud-google-storage-devel-1.42.0-3.mga10.noarch.rpm golang-github-prometheus-client-devel-1.20.5-1.mga10.noarch.rpm golang-github-lyft-protoc-gen-star-devel-0.5.2-2.mga9.noarch.rpm golang-github-openzipkin-zipkin-devel-0.2.5-3.mga9.noarch.rpm golang-github-googleapis-enterprise-certificate-proxy-devel-0.3.2-1.mga10.noarch.rpm golang-github-census-instrumentation-opencensus-proto-devel-0.3.0-3.mga9.noarch.rpm golang-x-sync-devel-0.8.0-1.mga10.noarch.rpm golang-google-appengine-devel-1.6.7-3.mga9.noarch.rpm golang-gopkg-jcmturner-gokrb5-7-devel-7.5.0-3.mga9.noarch.rpm golang-github-pierrec-lz4-devel-4.1.16-1.mga9.noarch.rpm golang-github-pierrec-cmdflag-devel-0.0.2-3.mga9.noarch.rpm golang-github-prometheus-common-devel-0.61.0-1.mga10.noarch.rpm golang-cloud-google-iam-devel-1.1.8-3.mga10.noarch.rpm golang-github-pkg-sftp-devel-1.13.5-2.mga9.noarch.rpm golang-github-grpc-ecosystem-gateway-2-devel-2.7.3-1.mga9.noarch.rpm golang-uber-zap-devel-1.23.0-1.mga9.noarch.rpm golang-github-stoewer-strcase-devel-1.2.0-2.mga9.noarch.rpm golang-cloud-google-devel-0.115.0-3.mga10.noarch.rpm golang-github-google-pprof-devel-0-2.mga9.noarch.rpm golang-x-tools-devel-0.29.0-1.mga10.noarch.rpm golang-github-iancoleman-strcase-devel-0.1.3-2.mga9.noarch.rpm golang-github-spf13-afero-devel-1.5.1-3.mga9.noarch.rpm golang-github-kr-fs-devel-0.1.0-4.mga10.noarch.rpm golang-github-benbjohnson-clock-devel-1.3.0-2.mga9.noarch.rpm golang-x-telemetry-devel-0-2.mga10.noarch.rpm golang-uber-atomic-devel-1.10.0-1.mga9.noarch.rpm golang-github-modern-reflect2-devel-1.0.2-2.mga9.noarch.rpm golang-github-envoyproxy-control-plane-devel-0.11.1-1.mga10.noarch.rpm golang-github-stathat-devel-1.0.0-3.mga9.noarch.rpm golang-github-kit-log-devel-0.1.0-2.mga9.noarch.rpm golang-x-time-devel-0.9.0-1.mga10.noarch.rpm compat-golang-github-cenkalti-backoff-4-devel-4.1.2-2.mga9.noarch.rpm golang-github-json-iterator-devel-1.1.12-2.mga9.noarch.rpm golang-github-rivo-uniseg-devel-0.4.3-1.mga9.noarch.rpm golang-github-bwplotka-tracing-devel-0-1.mga10.noarch.rpm golang-opentelemetry-otel-devel-1.28.0-3.mga10.noarch.rpm golang-github-envoyproxy-protoc-gen-validate-devel-0.4.1-3.mga9.noarch.rpm golang-github-beorn7-perks-devel-1.0.1-3.mga9.noarch.rpm golang-opentelemetry-proto-devel-1.3.1-2.mga10.noarch.rpm golang-github-google-cel-devel-0.20.1-3.mga10.noarch.rpm golang-github-munnerz-goautoneg-devel-0-1.mga10.noarch.rpm golang-cloud-google-auth-devel-0.5.1-2.mga10.noarch.rpm golang-opentelemetry-contrib-devel-1.28.0-3.mga10.noarch.rpm golang-github-felixge-httpsnoop-devel-1.0.1-2.mga9.noarch.rpm golang-github-prometheus-procfs-devel-0.15.1-1.mga10.noarch.rpm golang-github-mwitkow-conntrack-devel-0-5.mga10.noarch.rpm golang-cloud-google-translate-devel-1.12.4-1.mga10.noarch.rpm golang-github-oklog-run-devel-1.1.0-2.mga9.noarch.rpm golang-github-ianlancetaylor-demangle-devel-0-2.mga9.noarch.rpm golang-x-exp-devel-0-7.mga10.noarch.rpm golang-code-cloudfoundry-bytefmt-devel-0-3.mga9.noarch.rpm golang-github-efficientgo-tools-devel-0-1.mga10.noarch.rpm compat-golang-github-masterminds-semver-3-devel-3.1.1-2.mga9.noarch.rpm compat-golang-github-chzyer-readline-devel-1.4-7.mga9.noarch.rpm golang-github-mattn-runewidth-devel-0.0.16-1.mga10.noarch.rpm golang-github-cenkalti-backoff-devel-4.1.2-2.mga9.noarch.rpm golang-gopkg-readline-1-devel-1.4-7.mga9.noarch.rpm golang-github-modern-concurrent-devel-1.0.3-3.mga9.noarch.rpm golang-github-jcmturner-gofork-devel-1.7.6-2.mga10.noarch.rpm golang-github-eapache-resiliency-devel-1.2.0-2.mga9.noarch.rpm golang-x-text-devel-0.23.0-1.mga10.noarch.rpm golang-github-google-cel-spec-devel-0.7.0-1.mga9.noarch.rpm golang-x-net-devel-0.34.0-1.mga10.noarch.rpm golang-github-pkg-errors-devel-0.9.1-4.mga10.noarch.rpm golang-github-antlr4-antlr-devel-4.13.2-3.mga10.noarch.rpm golang-github-grpc-ecosystem-gateway-devel-1.16.0-3.mga9.noarch.rpm golang-github-shopify-sarama-devel-1.27.2-3.mga9.noarch.rpm golang-github-mitchellh-colorstring-devel-0-2.mga9.noarch.rpm golang-github-rcrowley-metrics-devel-0-4.mga9.noarch.rpm golang-gopkg-jcmturner-aescts-1-devel-1.0.1-4.mga9.noarch.rpm golang-github-logr-devel-1.2.3-1.mga9.noarch.rpm from /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/var/cache/urpmi/rpms starting installing packages created transaction for installing on /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 (remove=0, install=0, upgrade=89) Preparing... ############################################# 51/147: golang-x-sync-devel ############################################# 52/147: golang-github-logr-devel ############################################# 53/147: golang-github-pkg-errors-devel ############################################# 54/147: golang-github-jcmturner-gofork-devel ############################################# 55/147: golang-opentelemetry-contrib-devel ############################################# 56/147: golang-uber-atomic-devel ############################################# 57/147: golang-github-googleapis-enterprise-certificate-proxy-devel ############################################# 58/147: golang-uber-multierr-devel ############################################# 59/147: golang-github-logr-stdr-devel ############################################# 60/147: golang-github-prometheus-procfs-devel ############################################# 61/147: golang-gopkg-jcmturner-aescts-1-devel ############################################# 62/147: golang-github-mitchellh-colorstring-devel ############################################# 63/147: golang-github-eapache-resiliency-devel ############################################# 64/147: golang-github-modern-concurrent-devel ############################################# 65/147: golang-gopkg-readline-1-devel ############################################# 66/147: compat-golang-github-chzyer-readline-devel ############################################# 67/147: golang-github-cenkalti-backoff-devel ############################################# 68/147: compat-golang-github-cenkalti-backoff-4-devel ############################################# 69/147: compat-golang-github-masterminds-semver-3-devel ############################################# 70/147: golang-code-cloudfoundry-bytefmt-devel ############################################# 71/147: golang-github-ianlancetaylor-demangle-devel ############################################# 72/147: golang-github-google-pprof-devel ############################################# 73/147: golang-github-felixge-fgprof-devel ############################################# 74/147: golang-github-efficientgo-tools-devel ############################################# 75/147: golang-github-oklog-run-devel ############################################# 76/147: golang-github-felixge-httpsnoop-devel ############################################# 77/147: golang-github-munnerz-goautoneg-devel ############################################# 78/147: golang-github-beorn7-perks-devel ############################################# 79/147: golang-github-rivo-uniseg-devel ############################################# 80/147: golang-github-mattn-runewidth-devel ############################################# 81/147: golang-x-time-devel ############################################# 82/147: golang-github-stathat-devel ############################################# 83/147: golang-github-rcrowley-metrics-devel ############################################# 84/147: golang-github-modern-reflect2-devel ############################################# 85/147: golang-github-json-iterator-devel ############################################# 86/147: golang-github-benbjohnson-clock-devel ############################################# 87/147: golang-uber-zap-devel ############################################# 88/147: golang-github-kr-fs-devel ############################################# 89/147: golang-github-iancoleman-strcase-devel ############################################# 90/147: golang-github-stoewer-strcase-devel ############################################# 91/147: golang-github-pierrec-cmdflag-devel ############################################# 92/147: golang-gopkg-jcmturner-dnsutils-1-devel ############################################# 93/147: golang-github-ghodss-yaml-devel ############################################# 94/147: golang-gopkg-jcmturner-rpc-1-devel ############################################# 95/147: golang-github-logfmt-devel ############################################# 96/147: golang-github-kit-log-devel ############################################# 97/147: golang-github-pierrec-lz4-devel ############################################# 98/147: golang-github-schollz-progressbar-3-devel ############################################# 99/147: golang-gopkg-jcmturner-gokrb5-7-devel ############################################# 100/147: golang-github-lyft-protoc-gen-star-devel ############################################# 101/147: golang-github-spf13-afero-devel ############################################# 102/147: golang-github-pkg-sftp-devel ############################################# 103/147: golang-github-antlr4-antlr-devel ############################################# 104/147: golang-x-exp-devel ############################################# 105/147: golang-x-crypto-devel ############################################# 106/147: golang-google-appengine-devel ############################################# 107/147: golang-cloud-google-longrunning-devel ############################################# 108/147: golang-github-googleapis-gax-devel ############################################# 109/147: golang-opencensus-devel ############################################# 110/147: golang-github-cncf-xds-devel ############################################# 111/147: golang-cloud-google-cloudtasks-devel ############################################# 112/147: golang-cloud-google-storage-devel ############################################# 113/147: golang-cloud-google-iam-devel ############################################# 114/147: golang-github-grpc-ecosystem-gateway-2-devel ############################################# 115/147: golang-opentelemetry-proto-devel ############################################# 116/147: golang-github-google-cel-devel ############################################# 117/147: golang-github-google-cel-spec-devel ############################################# 118/147: golang-github-census-instrumentation-opencensus-proto-devel ############################################# 119/147: golang-github-grpc-ecosystem-gateway-devel ############################################# 120/147: golang-google-grpc-devel ############################################# 121/147: golang-github-envoyproxy-control-plane-devel ############################################# 122/147: golang-github-envoyproxy-protoc-gen-validate-devel ############################################# 123/147: golang-github-openzipkin-zipkin-devel ############################################# 124/147: golang-github-shopify-sarama-devel ############################################# 125/147: golang-x-net-devel ############################################# 126/147: golang-github-aws-sdk-devel ############################################# 127/147: golang-x-text-devel ############################################# 128/147: golang-x-tools-devel ############################################# 129/147: golang-x-telemetry-devel ############################################# 130/147: golang-google-api-devel ############################################# 131/147: golang-cloud-google-auth-devel ############################################# 132/147: golang-github-google-s2a-devel ############################################# 133/147: golang-cloud-google-translate-devel ############################################# 134/147: golang-cloud-google-devel ############################################# 135/147: golang-github-bwplotka-tracing-devel ############################################# 136/147: golang-opentelemetry-otel-devel ############################################# 137/147: golang-github-mwitkow-conntrack-devel ############################################# 138/147: golang-github-prometheus-common-devel ############################################# 139/147: golang-github-prometheus-client-devel ############################################# removing installed rpms (golang-github-aws-sdk-devel-1.44.307-1.mga10.noarch.rpm golang-github-logfmt-devel-0.6.0-1.mga10.noarch.rpm golang-cloud-google-longrunning-devel-0.5.7-3.mga10.noarch.rpm golang-gopkg-jcmturner-rpc-1-devel-1.1.0-3.mga9.noarch.rpm golang-github-ghodss-yaml-devel-1.0.0-3.mga9.noarch.rpm golang-github-schollz-progressbar-3-devel-3.8.3-2.mga9.noarch.rpm golang-github-google-s2a-devel-0.1.9-1.mga10.noarch.rpm golang-github-googleapis-gax-devel-2.14.1-1.mga10.noarch.rpm golang-google-api-devel-0.185.0-2.mga10.noarch.rpm golang-github-felixge-fgprof-devel-0.9.5-1.mga10.noarch.rpm golang-google-grpc-devel-1.64.0-2.mga10.noarch.rpm golang-opencensus-devel-0.24.0-1.mga10.noarch.rpm golang-github-logr-stdr-devel-1.2.2-1.mga9.noarch.rpm golang-uber-multierr-devel-1.8.0-1.mga9.noarch.rpm golang-github-cncf-xds-devel-0-4.mga10.noarch.rpm golang-cloud-google-cloudtasks-devel-1.12.8-1.mga10.noarch.rpm golang-gopkg-jcmturner-dnsutils-1-devel-1.0.1-3.mga9.noarch.rpm golang-x-crypto-devel-0.33.0-2.mga10.noarch.rpm golang-cloud-google-storage-devel-1.42.0-3.mga10.noarch.rpm golang-github-prometheus-client-devel-1.20.5-1.mga10.noarch.rpm golang-github-lyft-protoc-gen-star-devel-0.5.2-2.mga9.noarch.rpm golang-github-openzipkin-zipkin-devel-0.2.5-3.mga9.noarch.rpm golang-github-googleapis-enterprise-certificate-proxy-devel-0.3.2-1.mga10.noarch.rpm golang-github-census-instrumentation-opencensus-proto-devel-0.3.0-3.mga9.noarch.rpm golang-x-sync-devel-0.8.0-1.mga10.noarch.rpm golang-google-appengine-devel-1.6.7-3.mga9.noarch.rpm golang-gopkg-jcmturner-gokrb5-7-devel-7.5.0-3.mga9.noarch.rpm golang-github-pierrec-lz4-devel-4.1.16-1.mga9.noarch.rpm golang-github-pierrec-cmdflag-devel-0.0.2-3.mga9.noarch.rpm golang-github-prometheus-common-devel-0.61.0-1.mga10.noarch.rpm golang-cloud-google-iam-devel-1.1.8-3.mga10.noarch.rpm golang-github-pkg-sftp-devel-1.13.5-2.mga9.noarch.rpm golang-github-grpc-ecosystem-gateway-2-devel-2.7.3-1.mga9.noarch.rpm golang-uber-zap-devel-1.23.0-1.mga9.noarch.rpm golang-github-stoewer-strcase-devel-1.2.0-2.mga9.noarch.rpm golang-cloud-google-devel-0.115.0-3.mga10.noarch.rpm golang-github-google-pprof-devel-0-2.mga9.noarch.rpm golang-x-tools-devel-0.29.0-1.mga10.noarch.rpm golang-github-iancoleman-strcase-devel-0.1.3-2.mga9.noarch.rpm golang-github-spf13-afero-devel-1.5.1-3.mga9.noarch.rpm golang-github-kr-fs-devel-0.1.0-4.mga10.noarch.rpm golang-github-benbjohnson-clock-devel-1.3.0-2.mga9.noarch.rpm golang-x-telemetry-devel-0-2.mga10.noarch.rpm golang-uber-atomic-devel-1.10.0-1.mga9.noarch.rpm golang-github-modern-reflect2-devel-1.0.2-2.mga9.noarch.rpm golang-github-envoyproxy-control-plane-devel-0.11.1-1.mga10.noarch.rpm golang-github-stathat-devel-1.0.0-3.mga9.noarch.rpm golang-github-kit-log-devel-0.1.0-2.mga9.noarch.rpm golang-x-time-devel-0.9.0-1.mga10.noarch.rpm compat-golang-github-cenkalti-backoff-4-devel-4.1.2-2.mga9.noarch.rpm golang-github-json-iterator-devel-1.1.12-2.mga9.noarch.rpm golang-github-rivo-uniseg-devel-0.4.3-1.mga9.noarch.rpm golang-github-bwplotka-tracing-devel-0-1.mga10.noarch.rpm golang-opentelemetry-otel-devel-1.28.0-3.mga10.noarch.rpm golang-github-envoyproxy-protoc-gen-validate-devel-0.4.1-3.mga9.noarch.rpm golang-github-beorn7-perks-devel-1.0.1-3.mga9.noarch.rpm golang-opentelemetry-proto-devel-1.3.1-2.mga10.noarch.rpm golang-github-google-cel-devel-0.20.1-3.mga10.noarch.rpm golang-github-munnerz-goautoneg-devel-0-1.mga10.noarch.rpm golang-cloud-google-auth-devel-0.5.1-2.mga10.noarch.rpm golang-opentelemetry-contrib-devel-1.28.0-3.mga10.noarch.rpm golang-github-felixge-httpsnoop-devel-1.0.1-2.mga9.noarch.rpm golang-github-prometheus-procfs-devel-0.15.1-1.mga10.noarch.rpm golang-github-mwitkow-conntrack-devel-0-5.mga10.noarch.rpm golang-cloud-google-translate-devel-1.12.4-1.mga10.noarch.rpm golang-github-oklog-run-devel-1.1.0-2.mga9.noarch.rpm golang-github-ianlancetaylor-demangle-devel-0-2.mga9.noarch.rpm golang-x-exp-devel-0-7.mga10.noarch.rpm golang-code-cloudfoundry-bytefmt-devel-0-3.mga9.noarch.rpm golang-github-efficientgo-tools-devel-0-1.mga10.noarch.rpm compat-golang-github-masterminds-semver-3-devel-3.1.1-2.mga9.noarch.rpm compat-golang-github-chzyer-readline-devel-1.4-7.mga9.noarch.rpm golang-github-mattn-runewidth-devel-0.0.16-1.mga10.noarch.rpm golang-github-cenkalti-backoff-devel-4.1.2-2.mga9.noarch.rpm golang-gopkg-readline-1-devel-1.4-7.mga9.noarch.rpm golang-github-modern-concurrent-devel-1.0.3-3.mga9.noarch.rpm golang-github-jcmturner-gofork-devel-1.7.6-2.mga10.noarch.rpm golang-github-eapache-resiliency-devel-1.2.0-2.mga9.noarch.rpm golang-x-text-devel-0.23.0-1.mga10.noarch.rpm golang-github-google-cel-spec-devel-0.7.0-1.mga9.noarch.rpm golang-x-net-devel-0.34.0-1.mga10.noarch.rpm golang-github-pkg-errors-devel-0.9.1-4.mga10.noarch.rpm golang-github-antlr4-antlr-devel-4.13.2-3.mga10.noarch.rpm golang-github-grpc-ecosystem-gateway-devel-1.16.0-3.mga9.noarch.rpm golang-github-shopify-sarama-devel-1.27.2-3.mga9.noarch.rpm golang-github-mitchellh-colorstring-devel-0-2.mga9.noarch.rpm golang-github-rcrowley-metrics-devel-0-4.mga9.noarch.rpm golang-gopkg-jcmturner-aescts-1-devel-1.0.1-4.mga9.noarch.rpm golang-github-logr-devel-1.2.3-1.mga9.noarch.rpm) from /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/var/cache/urpmi/rpms retrieving rpm files from medium "core_release"... http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-puerkitobio-purell-devel-1.1.1-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/go-rpm-macros-3.6.0-4.mga10.aarch64.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-src-1.24.4-1.mga10.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-puerkitobio-urlesc-devel-0-2.mga9.noarch.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-bin-1.24.4-1.mga10.aarch64.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golist-0.10.3-2.mga10.aarch64.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-1.24.4-1.mga10.aarch64.rpm http://repository.mageia.org/distrib/cauldron/aarch64/media/core/release/golang-github-openapi-jsonreference-devel-0.19.5-2.mga9.noarch.rpm retrieved http://repository.mageia.org/distrib//cauldron/aarch64/media/core/release golang-github-puerkitobio-purell-devel-1.1.1-2.mga9.noarch.rpm go-rpm-macros-3.6.0-4.mga10.aarch64.rpm golang-src-1.24.4-1.mga10.noarch.rpm golang-github-puerkitobio-urlesc-devel-0-2.mga9.noarch.rpm golang-bin-1.24.4-1.mga10.aarch64.rpm golist-0.10.3-2.mga10.aarch64.rpm golang-1.24.4-1.mga10.aarch64.rpm golang-github-openapi-jsonreference-devel-0.19.5-2.mga9.noarch.rpm ...retrieving done installing golang-1.24.4-1.mga10.aarch64.rpm go-rpm-macros-3.6.0-4.mga10.aarch64.rpm golang-github-openapi-jsonreference-devel-0.19.5-2.mga9.noarch.rpm golist-0.10.3-2.mga10.aarch64.rpm golang-src-1.24.4-1.mga10.noarch.rpm golang-github-puerkitobio-urlesc-devel-0-2.mga9.noarch.rpm golang-bin-1.24.4-1.mga10.aarch64.rpm golang-github-puerkitobio-purell-devel-1.1.1-2.mga9.noarch.rpm from /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/var/cache/urpmi/rpms starting installing packages created transaction for installing on /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 (remove=0, install=0, upgrade=8) Preparing... ############################################# 140/147: golang-github-puerkitobio-urlesc-devel ############################################# 141/147: golang-github-puerkitobio-purell-devel ############################################# 142/147: golang-src ############################################# 143/147: golang-bin ############################################# shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory 144/147: golang ############################################# 145/147: golist ############################################# 146/147: go-rpm-macros ############################################# 147/147: golang-github-openapi-jsonreference-devel ############################################# shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory removing installed rpms (golang-1.24.4-1.mga10.aarch64.rpm go-rpm-macros-3.6.0-4.mga10.aarch64.rpm golang-github-openapi-jsonreference-devel-0.19.5-2.mga9.noarch.rpm golist-0.10.3-2.mga10.aarch64.rpm golang-src-1.24.4-1.mga10.noarch.rpm golang-github-puerkitobio-urlesc-devel-0-2.mga9.noarch.rpm golang-bin-1.24.4-1.mga10.aarch64.rpm golang-github-puerkitobio-purell-devel-1.1.1-2.mga9.noarch.rpm) from /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/var/cache/urpmi/rpms D: [iurt_root_command] Success! __ I: [iurt] [iurt] installation successful I: [iurt] [iurt] handling dynamic buildrequires D: [iurt] [iurt] DynamicBuildRequires not required for @2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm D: [iurt] [iurt] Using timeout of 60 seconds. D: [iurt] [iurt] Forking to monitor log size D: [iurt] [iurt] rpm --root /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 -qa | sort D: [iurt] [iurt] Command exited with 0. N: [iurt] [iurt] Building @2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm D: [iurt] [iurt] Using timeout of 72000 seconds. D: [iurt] [iurt] Forking to monitor log size D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 /bin/su - iurt -c "TMP=/home/iurt/tmp/ rpmbuild --target noarch --rebuild /home/iurt/rpmbuild/SRPMS/@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm" D: [iurt] [iurt] Command exited with 256. D: [iurt] [iurt] calling callback for build_@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm E: [iurt] [iurt] ERROR: call_ret=1 kill= err=256 () F: [iurt] [iurt] See https://pkgsubmit.mageia.org/queue/build//cauldron/aarch64//log/@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm/ Command failed: /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 /bin/su - iurt -c "TMP=/home/iurt/tmp/ rpmbuild --target noarch --rebuild /home/iurt/rpmbuild/SRPMS/@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm" I: [iurt] [iurt] --------------- Command failed, full output follows --------------- I: [iurt] [iurt] D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/iurt/rpmbuild/SRPMS/@2245911:golang-github-openapi-spec-0.20.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.DN5WKI Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BMeiGp + umask 022 + cd /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build + rm -rf spec-0.20.0 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/spec-0.20.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd spec-0.20.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/vendor + [[ ! -e /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/bin ]] + install -m 0755 -vd /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/bin install: creating directory '/home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build' install: creating directory '/home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/bin' + export GOPATH=/home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build:/usr/share/gocode + GOPATH=/home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build:/usr/share/gocode + [[ ! -e /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec ]] ++ dirname /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec + install -m 0755 -vd /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi install: creating directory '/home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src' install: creating directory '/home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com' install: creating directory '/home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi' + ln -fs /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0 /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec + cd /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Miav41 + umask 022 + cd /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/BUILDROOT '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/BUILDROOT ++ dirname /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/BUILDROOT + mkdir -p /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build + mkdir /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/BUILDROOT + cd spec-0.20.0 + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/go-openapi/spec -b /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/bin -s /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build -o golang-github-openapi-spec-devel.file-list -O /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0 -V 0.20.0-3.mga10 -p /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/go-openapi/spec + IFS= +++ realpath -e --relative-base=. CODE_OF_CONDUCT.md README.md +++ sort -u ++ listfiles_include=$'CODE_OF_CONDUCT.md\nREADME.md' ++ echo $'CODE_OF_CONDUCT.md\nREADME.md' + godocs=$'CODE_OF_CONDUCT.md\nREADME.md' + [[ -n CODE_OF_CONDUCT.md README.md ]] + IFS= + read -r f + echo %doc '"CODE_OF_CONDUCT.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.wmixgM + umask 022 + cd /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build + cd spec-0.20.0 + '[' 1 -eq 1 ']' + GO_LDFLAGS=' -X github.com/go-openapi/spec/version=0.20.0' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i github.com/go-openapi/spec -b /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/bin -s /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build -V 0.20.0-3.mga10 -p /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src PATH: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/home/iurt/.local/bin:/home/iurt/bin GOPATH: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/go-openapi/spec/version=0.20.0 -extldflags '-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/go-openapi/spec github.com/go-openapi/spec --- FAIL: TestRelativeBaseURI (0.02s) expander_test.go:1136: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1136 Error: Received unexpected error: Get "http://127.0.0.1:43481/pet/pet.json": dial tcp 127.0.0.1:43481: connect: network is unreachable Test: TestRelativeBaseURI expander_test.go:1142: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1142 Error: Received unexpected error: Get "http://127.0.0.1:43481/pet/pet.json": dial tcp 127.0.0.1:43481: connect: network is unreachable Test: TestRelativeBaseURI expander_test.go:1146: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1146 Error: Received unexpected error: Get "http://127.0.0.1:43481/pet/pet.json": dial tcp 127.0.0.1:43481: connect: network is unreachable Test: TestRelativeBaseURI expander_test.go:1148: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1148 Error: Not equal: expected: spec.Parameter{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}}, CommonValidations:spec.CommonValidations{Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil)}, SimpleSchema:spec.SimpleSchema{Type:"string", Nullable:false, Format:"", Items:(*spec.Items)(nil), CollectionFormat:"", Default:interface {}(nil), Example:interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, ParamProps:spec.ParamProps{Description:"", Name:"", In:"query", Required:false, Schema:(*spec.Schema)(nil), AllowEmptyValue:false}} actual : spec.Parameter{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x40001db710), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"parameters", "tag"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}}, CommonValidations:spec.CommonValidations{Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil)}, SimpleSchema:spec.SimpleSchema{Type:"", Nullable:false, Format:"", Items:(*spec.Items)(nil), CollectionFormat:"", Default:interface {}(nil), Example:interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, ParamProps:spec.ParamProps{Description:"", Name:"", In:"", Required:false, Schema:(*spec.Schema)(nil), AllowEmptyValue:false}} Diff: --- Expected +++ Actual @@ -4,5 +4,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=15) "/parameters/tag", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=10) "parameters", + (string) (len=3) "tag" + } }, @@ -10,3 +25,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -31,3 +46,3 @@ SimpleSchema: (spec.SimpleSchema) { - Type: (string) (len=6) "string", + Type: (string) "", Nullable: (bool) false, @@ -45,3 +60,3 @@ Name: (string) "", - In: (string) (len=5) "query", + In: (string) "", Required: (bool) false, Test: TestRelativeBaseURI expander_test.go:1149: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1149 Error: Not equal: expected: spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"pet response", Schema:(*spec.Schema)(0x4000178b48), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} actual : spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"pet response", Schema:(*spec.Schema)(0x400014c6c8), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} Diff: --- Expected +++ Actual @@ -26,8 +26,23 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) (len=12) "pet/pet.json", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=16) "/definitions/pet", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=11) "definitions", + (string) (len=3) "pet" + } }, HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, + HasURLPathOnly: (bool) true, HasFragmentOnly: (bool) false, @@ -58,6 +73,3 @@ MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=2) "id", - (string) (len=4) "name" - }, + Required: ([]string) , Items: (*spec.SchemaOrArray)(), @@ -67,196 +79,3 @@ Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=3) { - (string) (len=2) "id": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int64", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=4) "name": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=3) "tag": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, + Properties: (spec.SchemaProperties) , AdditionalProperties: (*spec.SchemaOrBool)(), Test: TestRelativeBaseURI expander_test.go:1151: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1151 Error: Not equal: expected: spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"pet response", Schema:(*spec.Schema)(0x4000178b48), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} actual : spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x4000322000), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"responses", "anotherPet"}}, HasFullURL:true, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:true}}}, ResponseProps:spec.ResponseProps{Description:"", Schema:(*spec.Schema)(nil), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} Diff: --- Expected +++ Actual @@ -4,7 +4,22 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) (len=4) "http", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) (len=15) "127.0.0.1:43481", + Path: (string) (len=13) "/pet/pet.json", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=21) "/responses/anotherPet", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=9) "responses", + (string) (len=10) "anotherPet" + } }, - HasFullURL: (bool) false, + HasFullURL: (bool) true, HasURLPathOnly: (bool) false, @@ -12,3 +27,3 @@ HasFileScheme: (bool) false, - HasFullFilePath: (bool) false + HasFullFilePath: (bool) true } @@ -17,261 +32,4 @@ ResponseProps: (spec.ResponseProps) { - Description: (string) (len=12) "pet response", - Schema: (*spec.Schema)({ - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) , - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=2) "id", - (string) (len=4) "name" - }, - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=3) { - (string) (len=2) "id": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int64", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=4) "name": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=3) "tag": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }), + Description: (string) "", + Schema: (*spec.Schema)(), Headers: (map[string]spec.Header) , Test: TestRelativeBaseURI expander_test.go:1153: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1153 Error: Not equal: expected: spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string{"id", "name"}, Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties{"id":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"integer"}, Nullable:false, Format:"int64", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, "name":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"string"}, Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, "tag":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"string"}, Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}}, AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} actual : spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x40001dbe60), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"definitions", "pet"}}, HasFullURL:false, HasURLPathOnly:true, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} Diff: --- Expected +++ Actual @@ -8,8 +8,23 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) (len=12) "pet/pet.json", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=16) "/definitions/pet", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=11) "definitions", + (string) (len=3) "pet" + } }, HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, + HasURLPathOnly: (bool) true, HasFragmentOnly: (bool) false, @@ -40,6 +55,3 @@ MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=2) "id", - (string) (len=4) "name" - }, + Required: ([]string) , Items: (*spec.SchemaOrArray)(), @@ -49,196 +61,3 @@ Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=3) { - (string) (len=2) "id": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int64", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=4) "name": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=3) "tag": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, + Properties: (spec.SchemaProperties) , AdditionalProperties: (*spec.SchemaOrBool)(), Test: TestRelativeBaseURI expander_test.go:1154: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1154 Error: Not equal: expected: spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"", Schema:(*spec.Schema)(0x400014cb48), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} actual : spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x40007794d0), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"responses", "stringResponse"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"", Schema:(*spec.Schema)(nil), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} Diff: --- Expected +++ Actual @@ -4,5 +4,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=25) "/responses/stringResponse", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=9) "responses", + (string) (len=14) "stringResponse" + } }, @@ -10,3 +25,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -18,66 +33,3 @@ Description: (string) "", - Schema: (*spec.Schema)({ - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }), + Schema: (*spec.Schema)(), Headers: (map[string]spec.Header) , Test: TestRelativeBaseURI expander_test.go:1155: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1155 Error: Not equal: expected: spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"pet response", Schema:(*spec.Schema)(0x4000178b48), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} actual : spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x4000779c20), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"responses", "anotherPet"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"", Schema:(*spec.Schema)(nil), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} Diff: --- Expected +++ Actual @@ -4,5 +4,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=21) "/responses/anotherPet", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=9) "responses", + (string) (len=10) "anotherPet" + } }, @@ -10,3 +25,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -17,261 +32,4 @@ ResponseProps: (spec.ResponseProps) { - Description: (string) (len=12) "pet response", - Schema: (*spec.Schema)({ - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) , - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=2) "id", - (string) (len=4) "name" - }, - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=3) { - (string) (len=2) "id": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int64", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=4) "name": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=3) "tag": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }), + Description: (string) "", + Schema: (*spec.Schema)(), Headers: (map[string]spec.Header) , Test: TestRelativeBaseURI expander_test.go:1156: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1156 Error: Not equal: expected: spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string{"id", "name"}, Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties{"id":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"integer"}, Nullable:false, Format:"int64", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, "name":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"string"}, Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, "tag":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"string"}, Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}}, AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} actual : spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x4000284ab0), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"definitions", "pet"}}, HasFullURL:false, HasURLPathOnly:true, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} Diff: --- Expected +++ Actual @@ -8,8 +8,23 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) (len=12) "pet/pet.json", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=16) "/definitions/pet", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=11) "definitions", + (string) (len=3) "pet" + } }, HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, + HasURLPathOnly: (bool) true, HasFragmentOnly: (bool) false, @@ -40,6 +55,3 @@ MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=2) "id", - (string) (len=4) "name" - }, + Required: ([]string) , Items: (*spec.SchemaOrArray)(), @@ -49,196 +61,3 @@ Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=3) { - (string) (len=2) "id": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int64", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=4) "name": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=3) "tag": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, + Properties: (spec.SchemaProperties) , AdditionalProperties: (*spec.SchemaOrBool)(), Test: TestRelativeBaseURI expander_test.go:1157: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1157 Error: Not equal: expected: spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string{"code", "message"}, Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties{"code":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"integer"}, Nullable:false, Format:"int32", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, "message":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"string"}, Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}}, AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} actual : spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x40002853b0), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"definitions", "errorModel"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} Diff: --- Expected +++ Actual @@ -8,5 +8,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=23) "/definitions/errorModel", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=11) "definitions", + (string) (len=10) "errorModel" + } }, @@ -14,3 +29,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -40,6 +55,3 @@ MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=4) "code", - (string) (len=7) "message" - }, + Required: ([]string) , Items: (*spec.SchemaOrArray)(), @@ -49,132 +61,3 @@ Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=2) { - (string) (len=4) "code": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int32", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=7) "message": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, + Properties: (spec.SchemaProperties) , AdditionalProperties: (*spec.SchemaOrBool)(), Test: TestRelativeBaseURI expander_test.go:1158: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1158 Error: Not equal: expected: spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string{"id", "name"}, Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties{"id":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"integer"}, Nullable:false, Format:"int64", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, "name":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"string"}, Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, "tag":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"string"}, Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}}, AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} actual : spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x4000269050), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"definitions", "pet"}}, HasFullURL:false, HasURLPathOnly:true, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} Diff: --- Expected +++ Actual @@ -8,8 +8,23 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) (len=12) "pet/pet.json", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=16) "/definitions/pet", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=11) "definitions", + (string) (len=3) "pet" + } }, HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, + HasURLPathOnly: (bool) true, HasFragmentOnly: (bool) false, @@ -40,6 +55,3 @@ MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=2) "id", - (string) (len=4) "name" - }, + Required: ([]string) , Items: (*spec.SchemaOrArray)(), @@ -49,196 +61,3 @@ Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=3) { - (string) (len=2) "id": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int64", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=4) "name": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=3) "tag": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, + Properties: (spec.SchemaProperties) , AdditionalProperties: (*spec.SchemaOrBool)(), Test: TestRelativeBaseURI expander_test.go:1159: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1159 Error: Not equal: expected: spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema{spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x4000269050), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"definitions", "pet"}}, HasFullURL:false, HasURLPathOnly:true, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string{"name"}, Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties{"id":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"integer"}, Nullable:false, Format:"int64", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}}, AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}}, OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} actual : spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x400042c990), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"definitions", "petInput"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} Diff: --- Expected +++ Actual @@ -8,5 +8,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=21) "/definitions/petInput", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=11) "definitions", + (string) (len=8) "petInput" + } }, @@ -14,3 +29,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -42,210 +57,3 @@ Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) (len=2) { - (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)({ - Scheme: (string) "", - Opaque: (string) "", - User: (*url.Userinfo)(), - Host: (string) "", - Path: (string) (len=12) "pet/pet.json", - RawPath: (string) "", - OmitHost: (bool) false, - ForceQuery: (bool) false, - RawQuery: (string) "", - Fragment: (string) (len=16) "/definitions/pet", - RawFragment: (string) "" - }), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) (len=2) { - (string) (len=11) "definitions", - (string) (len=3) "pet" - } - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) true, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) , - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) , - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) (len=1) { - (string) (len=4) "name" - }, - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=1) { - (string) (len=2) "id": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int64", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, + AllOf: ([]spec.Schema) , OneOf: ([]spec.Schema) , Test: TestRelativeBaseURI expander_test.go:1160: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1160 Error: Not equal: expected: spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"pet response", Schema:(*spec.Schema)(0x4000178b48), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} actual : spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x400042d050), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"responses", "petResponse"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"", Schema:(*spec.Schema)(nil), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} Diff: --- Expected +++ Actual @@ -4,5 +4,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=22) "/responses/petResponse", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=9) "responses", + (string) (len=11) "petResponse" + } }, @@ -10,3 +25,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -17,261 +32,4 @@ ResponseProps: (spec.ResponseProps) { - Description: (string) (len=12) "pet response", - Schema: (*spec.Schema)({ - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) , - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=2) "id", - (string) (len=4) "name" - }, - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=3) { - (string) (len=2) "id": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int64", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=4) "name": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=3) "tag": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }), + Description: (string) "", + Schema: (*spec.Schema)(), Headers: (map[string]spec.Header) , Test: TestRelativeBaseURI expander_test.go:1161: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1161 Error: Not equal: expected: spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string{"code", "message"}, Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties{"code":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"integer"}, Nullable:false, Format:"int32", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, "message":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"string"}, Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}}, AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} actual : spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x400042d7a0), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"definitions", "errorModel"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} Diff: --- Expected +++ Actual @@ -8,5 +8,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=23) "/definitions/errorModel", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=11) "definitions", + (string) (len=10) "errorModel" + } }, @@ -14,3 +29,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -40,6 +55,3 @@ MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=4) "code", - (string) (len=7) "message" - }, + Required: ([]string) , Items: (*spec.SchemaOrArray)(), @@ -49,132 +61,3 @@ Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=2) { - (string) (len=4) "code": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int32", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=7) "message": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, + Properties: (spec.SchemaProperties) , AdditionalProperties: (*spec.SchemaOrBool)(), Test: TestRelativeBaseURI expander_test.go:1163: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1163 Error: Not equal: expected: spec.Parameter{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}}, CommonValidations:spec.CommonValidations{Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil)}, SimpleSchema:spec.SimpleSchema{Type:"integer", Nullable:false, Format:"int64", Items:(*spec.Items)(nil), CollectionFormat:"", Default:interface {}(nil), Example:interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, ParamProps:spec.ParamProps{Description:"ID of pet to fetch", Name:"id", In:"path", Required:true, Schema:(*spec.Schema)(nil), AllowEmptyValue:false}} actual : spec.Parameter{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x4000487dd0), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"parameters", "idParam"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}}, CommonValidations:spec.CommonValidations{Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil)}, SimpleSchema:spec.SimpleSchema{Type:"", Nullable:false, Format:"", Items:(*spec.Items)(nil), CollectionFormat:"", Default:interface {}(nil), Example:interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, ParamProps:spec.ParamProps{Description:"", Name:"", In:"", Required:false, Schema:(*spec.Schema)(nil), AllowEmptyValue:false}} Diff: --- Expected +++ Actual @@ -4,5 +4,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=19) "/parameters/idParam", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=10) "parameters", + (string) (len=7) "idParam" + } }, @@ -10,3 +25,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -31,5 +46,5 @@ SimpleSchema: (spec.SimpleSchema) { - Type: (string) (len=7) "integer", + Type: (string) "", Nullable: (bool) false, - Format: (string) (len=5) "int64", + Format: (string) "", Items: (*spec.Items)(), @@ -43,6 +58,6 @@ ParamProps: (spec.ParamProps) { - Description: (string) (len=18) "ID of pet to fetch", - Name: (string) (len=2) "id", - In: (string) (len=4) "path", - Required: (bool) true, + Description: (string) "", + Name: (string) "", + In: (string) "", + Required: (bool) false, Schema: (*spec.Schema)(), Test: TestRelativeBaseURI expander_test.go:1164: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1164 Error: Not equal: expected: spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"pet response", Schema:(*spec.Schema)(0x4000178b48), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} actual : spec.Response{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x40004066c0), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"responses", "petResponse"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}}, ResponseProps:spec.ResponseProps{Description:"", Schema:(*spec.Schema)(nil), Headers:map[string]spec.Header(nil), Examples:map[string]interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}} Diff: --- Expected +++ Actual @@ -4,5 +4,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=22) "/responses/petResponse", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=9) "responses", + (string) (len=11) "petResponse" + } }, @@ -10,3 +25,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -17,261 +32,4 @@ ResponseProps: (spec.ResponseProps) { - Description: (string) (len=12) "pet response", - Schema: (*spec.Schema)({ - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) , - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=2) "id", - (string) (len=4) "name" - }, - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=3) { - (string) (len=2) "id": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int64", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=4) "name": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=3) "tag": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }), + Description: (string) "", + Schema: (*spec.Schema)(), Headers: (map[string]spec.Header) , Test: TestRelativeBaseURI expander_test.go:1165: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1165 Error: Not equal: expected: spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string{"code", "message"}, Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties{"code":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"integer"}, Nullable:false, Format:"int32", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, "message":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"string"}, Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}}, AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} actual : spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x4000406ab0), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"definitions", "errorModel"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} Diff: --- Expected +++ Actual @@ -8,5 +8,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=23) "/definitions/errorModel", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=11) "definitions", + (string) (len=10) "errorModel" + } }, @@ -14,3 +29,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -40,6 +55,3 @@ MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=4) "code", - (string) (len=7) "message" - }, + Required: ([]string) , Items: (*spec.SchemaOrArray)(), @@ -49,132 +61,3 @@ Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=2) { - (string) (len=4) "code": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int32", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=7) "message": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, + Properties: (spec.SchemaProperties) , AdditionalProperties: (*spec.SchemaOrBool)(), Test: TestRelativeBaseURI expander_test.go:1166: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1166 Error: Not equal: expected: spec.Parameter{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}}, CommonValidations:spec.CommonValidations{Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil)}, SimpleSchema:spec.SimpleSchema{Type:"integer", Nullable:false, Format:"int64", Items:(*spec.Items)(nil), CollectionFormat:"", Default:interface {}(nil), Example:interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, ParamProps:spec.ParamProps{Description:"ID of pet to fetch", Name:"id", In:"path", Required:true, Schema:(*spec.Schema)(nil), AllowEmptyValue:false}} actual : spec.Parameter{Refable:spec.Refable{Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x40004075f0), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"parameters", "idParam"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}}, CommonValidations:spec.CommonValidations{Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil)}, SimpleSchema:spec.SimpleSchema{Type:"", Nullable:false, Format:"", Items:(*spec.Items)(nil), CollectionFormat:"", Default:interface {}(nil), Example:interface {}(nil)}, VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, ParamProps:spec.ParamProps{Description:"", Name:"", In:"", Required:false, Schema:(*spec.Schema)(nil), AllowEmptyValue:false}} Diff: --- Expected +++ Actual @@ -4,5 +4,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=19) "/parameters/idParam", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=10) "parameters", + (string) (len=7) "idParam" + } }, @@ -10,3 +25,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -31,5 +46,5 @@ SimpleSchema: (spec.SimpleSchema) { - Type: (string) (len=7) "integer", + Type: (string) "", Nullable: (bool) false, - Format: (string) (len=5) "int64", + Format: (string) "", Items: (*spec.Items)(), @@ -43,6 +58,6 @@ ParamProps: (spec.ParamProps) { - Description: (string) (len=18) "ID of pet to fetch", - Name: (string) (len=2) "id", - In: (string) (len=4) "path", - Required: (bool) true, + Description: (string) "", + Name: (string) "", + In: (string) "", + Required: (bool) false, Schema: (*spec.Schema)(), Test: TestRelativeBaseURI expander_test.go:1167: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1167 Error: Not equal: expected: spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string{"code", "message"}, Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties{"code":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"integer"}, Nullable:false, Format:"int32", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}, "message":spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(nil), referencePointer:jsonpointer.Pointer{referenceTokens:[]string(nil)}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:false, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray{"string"}, Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)}}, AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} actual : spec.Schema{VendorExtensible:spec.VendorExtensible{Extensions:spec.Extensions(nil)}, SchemaProps:spec.SchemaProps{ID:"", Ref:spec.Ref{Ref:jsonreference.Ref{referenceURL:(*url.URL)(0x4000778090), referencePointer:jsonpointer.Pointer{referenceTokens:[]string{"definitions", "errorModel"}}, HasFullURL:false, HasURLPathOnly:false, HasFragmentOnly:true, HasFileScheme:false, HasFullFilePath:false}}, Schema:"", Description:"", Type:spec.StringOrArray(nil), Nullable:false, Format:"", Title:"", Default:interface {}(nil), Maximum:(*float64)(nil), ExclusiveMaximum:false, Minimum:(*float64)(nil), ExclusiveMinimum:false, MaxLength:(*int64)(nil), MinLength:(*int64)(nil), Pattern:"", MaxItems:(*int64)(nil), MinItems:(*int64)(nil), UniqueItems:false, MultipleOf:(*float64)(nil), Enum:[]interface {}(nil), MaxProperties:(*int64)(nil), MinProperties:(*int64)(nil), Required:[]string(nil), Items:(*spec.SchemaOrArray)(nil), AllOf:[]spec.Schema(nil), OneOf:[]spec.Schema(nil), AnyOf:[]spec.Schema(nil), Not:(*spec.Schema)(nil), Properties:spec.SchemaProperties(nil), AdditionalProperties:(*spec.SchemaOrBool)(nil), PatternProperties:spec.SchemaProperties(nil), Dependencies:spec.Dependencies(nil), AdditionalItems:(*spec.SchemaOrBool)(nil), Definitions:spec.Definitions(nil)}, SwaggerSchemaProps:spec.SwaggerSchemaProps{Discriminator:"", ReadOnly:false, XML:(*spec.XMLObject)(nil), ExternalDocs:(*spec.ExternalDocumentation)(nil), Example:interface {}(nil)}, ExtraProps:map[string]interface {}(nil)} Diff: --- Expected +++ Actual @@ -8,5 +8,20 @@ Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), + referenceURL: (*url.URL)({ + Scheme: (string) "", + Opaque: (string) "", + User: (*url.Userinfo)(), + Host: (string) "", + Path: (string) "", + RawPath: (string) "", + OmitHost: (bool) false, + ForceQuery: (bool) false, + RawQuery: (string) "", + Fragment: (string) (len=23) "/definitions/errorModel", + RawFragment: (string) "" + }), referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) + referenceTokens: ([]string) (len=2) { + (string) (len=11) "definitions", + (string) (len=10) "errorModel" + } }, @@ -14,3 +29,3 @@ HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, + HasFragmentOnly: (bool) true, HasFileScheme: (bool) false, @@ -40,6 +55,3 @@ MinProperties: (*int64)(), - Required: ([]string) (len=2) { - (string) (len=4) "code", - (string) (len=7) "message" - }, + Required: ([]string) , Items: (*spec.SchemaOrArray)(), @@ -49,132 +61,3 @@ Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) (len=2) { - (string) (len=4) "code": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=7) "integer" - }, - Nullable: (bool) false, - Format: (string) (len=5) "int32", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - }, - (string) (len=7) "message": (spec.Schema) { - VendorExtensible: (spec.VendorExtensible) { - Extensions: (spec.Extensions) - }, - SchemaProps: (spec.SchemaProps) { - ID: (string) "", - Ref: (spec.Ref) { - Ref: (jsonreference.Ref) { - referenceURL: (*url.URL)(), - referencePointer: (jsonpointer.Pointer) { - referenceTokens: ([]string) - }, - HasFullURL: (bool) false, - HasURLPathOnly: (bool) false, - HasFragmentOnly: (bool) false, - HasFileScheme: (bool) false, - HasFullFilePath: (bool) false - } - }, - Schema: (spec.SchemaURL) "", - Description: (string) "", - Type: (spec.StringOrArray) (len=1) { - (string) (len=6) "string" - }, - Nullable: (bool) false, - Format: (string) "", - Title: (string) "", - Default: (interface {}) , - Maximum: (*float64)(), - ExclusiveMaximum: (bool) false, - Minimum: (*float64)(), - ExclusiveMinimum: (bool) false, - MaxLength: (*int64)(), - MinLength: (*int64)(), - Pattern: (string) "", - MaxItems: (*int64)(), - MinItems: (*int64)(), - UniqueItems: (bool) false, - MultipleOf: (*float64)(), - Enum: ([]interface {}) , - MaxProperties: (*int64)(), - MinProperties: (*int64)(), - Required: ([]string) , - Items: (*spec.SchemaOrArray)(), - AllOf: ([]spec.Schema) , - OneOf: ([]spec.Schema) , - AnyOf: ([]spec.Schema) , - Not: (*spec.Schema)(), - Properties: (spec.SchemaProperties) , - AdditionalProperties: (*spec.SchemaOrBool)(), - PatternProperties: (spec.SchemaProperties) , - Dependencies: (spec.Dependencies) , - AdditionalItems: (*spec.SchemaOrBool)(), - Definitions: (spec.Definitions) - }, - SwaggerSchemaProps: (spec.SwaggerSchemaProps) { - Discriminator: (string) "", - ReadOnly: (bool) false, - XML: (*spec.XMLObject)(), - ExternalDocs: (*spec.ExternalDocumentation)(), - Example: (interface {}) - }, - ExtraProps: (map[string]interface {}) - } - }, + Properties: (spec.SchemaProperties) , AdditionalProperties: (*spec.SchemaOrBool)(), Test: TestRelativeBaseURI --- FAIL: TestResolveRemoteRef_RootSame (0.00s) expander_test.go:1252: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1252 Error: Received unexpected error: Get "http://127.0.0.1:45827/refed.json": dial tcp 127.0.0.1:45827: connect: network is unreachable Test: TestResolveRemoteRef_RootSame --- FAIL: TestResolveRemoteRef_FromFragment (0.02s) expander_test.go:1280: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1280 Error: Received unexpected error: Get "http://127.0.0.1:46815/refed.json": dial tcp 127.0.0.1:46815: connect: network is unreachable Test: TestResolveRemoteRef_FromFragment --- FAIL: TestResolveRemoteRef_WithResolutionContext (0.00s) expander_test.go:1313: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1313 Error: Received unexpected error: Get "http://127.0.0.1:39089/resolution.json": dial tcp 127.0.0.1:39089: connect: network is unreachable Test: TestResolveRemoteRef_WithResolutionContext expander_test.go:1314: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1314 Error: Not equal: expected: spec.StringOrArray{"boolean"} actual : spec.StringOrArray(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -(spec.StringOrArray) (len=1) { - (string) (len=7) "boolean" -} +(spec.StringOrArray) Test: TestResolveRemoteRef_WithResolutionContext --- FAIL: TestResolveRemoteRef_WithNestedResolutionContext (0.00s) expander_test.go:1328: Error Trace: /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1328 Error: Received unexpected error: Get "http://127.0.0.1:41263/resolution.json": dial tcp 127.0.0.1:41263: connect: network is unreachable Test: TestResolveRemoteRef_WithNestedResolutionContext panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xaaaadc0d6d50] goroutine 88 [running]: testing.tRunner.func1.2({0xaaaadc30ce00, 0xaaaadc633b00}) /usr/lib/golang/src/testing/testing.go:1734 +0x1ac testing.tRunner.func1() /usr/lib/golang/src/testing/testing.go:1737 +0x334 panic({0xaaaadc30ce00?, 0xaaaadc633b00?}) /usr/lib/golang/src/runtime/panic.go:792 +0x124 github.com/go-openapi/spec.TestResolveRemoteRef_WithNestedResolutionContext(0x4000583880) /home/iurt/rpmbuild/BUILD/golang-github-openapi-spec-0.20.0-build/spec-0.20.0/_build/src/github.com/go-openapi/spec/expander_test.go:1329 +0x190 testing.tRunner(0x4000583880, 0xaaaadc3878e0) /usr/lib/golang/src/testing/testing.go:1792 +0xe4 created by testing.(*T).Run in goroutine 1 /usr/lib/golang/src/testing/testing.go:1851 +0x374 exit status 2 FAIL github.com/go-openapi/spec 1.647s error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.wmixgM (%check) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.wmixgM (%check) I: [iurt_root_command] ERROR: chroot I: [iurt] [iurt] --------------- end of command output --------------- D: [iurt] [iurt] clean chroot D: [iurt_root_command] Running iurt_root_command --netns_delete /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt_root_command] Delete network namespace for given chroot, killing all processes D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --umount /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/proc D: [iurt_root_command] Unmounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --umount /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/dev/pts D: [iurt_root_command] Unmounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --umount /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833/dev/shm D: [iurt_root_command] Unmounting D: [iurt_root_command] Success! [iurt] [iurt] cleaning /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 [iurt] [iurt] removing /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt_root_command] Running iurt_root_command --rm -r /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt_root_command] Removing files D: [iurt_root_command] removing /home/iurt/chroot_tmp/iurt/chroot_cauldron.aarch64.0.20250704203833 D: [iurt_root_command] Success!