Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c115' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/8054722-amazonlinux-2023-x86_64 --chroot amazonlinux-2023-x86_64 Version: 0.73 PID: 6761 Logging PID: 6762 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 8054722, 'buildroot_pkgs': [], 'chroot': 'amazonlinux-2023-x86_64', 'enable_net': True, 'fedora_review': False, 'git_hash': '7cbd9d5e8f8450ad087d7914be64b4d490c64305', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/yxwang5db2/c3/golang-github-clbanning-mxj', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'golang-github-clbanning-mxj', 'package_version': '2.5.5-7', 'project_dirname': 'c3', 'project_name': 'c3', 'project_owner': 'yxwang5db2', 'repo_priority': 1, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/yxwang5db2/c3/amazonlinux-2023-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': 1}, {'baseurl': 'http://o6.walkerever.com/al23x', 'id': 'http_o6_walkerever_com_al23x', 'name': 'Additional repo http_o6_walkerever_com_al23x'}, {'baseurl': 'https://download.copr.fedorainfracloud.org/results/yxwang5db2/c2/amazonlinux-2023-x86_64/', 'id': 'copr_yxwang5db2_c2', 'name': 'Additional repo copr_yxwang5db2_c2'}, {'baseurl': 'https://download.copr.fedorainfracloud.org/results/yxwang5db2/c4/amazonlinux-2023-x86_64/', 'id': 'copr_yxwang5db2_c4', 'name': 'Additional repo copr_yxwang5db2_c4'}, {'baseurl': 'https://download.copr.fedorainfracloud.org/results/yxwang5db2/c5/amazonlinux-2023-x86_64/', 'id': 'copr_yxwang5db2_c5', 'name': 'Additional repo copr_yxwang5db2_c5'}, {'baseurl': 'https://download.copr.fedorainfracloud.org/results/yxwang5db2/c6/amazonlinux-2023-x86_64/', 'id': 'copr_yxwang5db2_c6', 'name': 'Additional repo copr_yxwang5db2_c6'}], 'sandbox': 'yxwang5db2/c3--yxwang5db2', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'submitter': 'yxwang5db2', 'tags': [], 'task_id': '8054722-amazonlinux-2023-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/yxwang5db2/c3/golang-github-clbanning-mxj /var/lib/copr-rpmbuild/workspace/workdir-ild27z6q/golang-github-clbanning-mxj --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/yxwang5db2/c3/golang-github-clbanning-mxj', '/var/lib/copr-rpmbuild/workspace/workdir-ild27z6q/golang-github-clbanning-mxj', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-ild27z6q/golang-github-clbanning-mxj'... Running: git checkout 7cbd9d5e8f8450ad087d7914be64b4d490c64305 -- cmd: ['git', 'checkout', '7cbd9d5e8f8450ad087d7914be64b4d490c64305', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-ild27z6q/golang-github-clbanning-mxj rc: 0 stdout: stderr: Note: switching to '7cbd9d5e8f8450ad087d7914be64b4d490c64305'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 7cbd9d5 automatic import of golang-github-clbanning-mxj Running: copr-distgit-client sources INFO: Calling: curl -H Pragma: -o mxj-2.5.5.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/yxwang5db2/c3/golang-github-clbanning-mxj/mxj-2.5.5.tar.gz/md5/503c39afdd34260b313e27dd97380ae0/mxj-2.5.5.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1069k 100 1069k 0 0 12.0M 0 --:--:-- --:--:-- --:--:-- 12.1M INFO: Reading stdout from command: md5sum mxj-2.5.5.tar.gz /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-ild27z6q/golang-github-clbanning-mxj/golang-github-clbanning-mxj.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-ild27z6q/golang-github-clbanning-mxj --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1727021641.039368 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.6 starting (python version = 3.12.1, NVR = mock-5.6-1.fc39), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-ild27z6q/golang-github-clbanning-mxj/golang-github-clbanning-mxj.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-ild27z6q/golang-github-clbanning-mxj --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1727021641.039368 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-ild27z6q/golang-github-clbanning-mxj/golang-github-clbanning-mxj.spec) Config(amazonlinux-2023-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/amazonlinux-2023-x86_64-bootstrap-1727021641.039368/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: public.ecr.aws/amazonlinux/amazonlinux:2023 INFO: Pulling image: public.ecr.aws/amazonlinux/amazonlinux:2023 INFO: Copy content of container public.ecr.aws/amazonlinux/amazonlinux:2023 to /var/lib/mock/amazonlinux-2023-x86_64-bootstrap-1727021641.039368/root INFO: Checking that public.ecr.aws/amazonlinux/amazonlinux:2023 image matches host's architecture INFO: mounting public.ecr.aws/amazonlinux/amazonlinux:2023 with podman image mount INFO: image public.ecr.aws/amazonlinux/amazonlinux:2023 as /var/lib/containers/storage/overlay/c7e5c6d6328d49c187936300d79d2500d7ca36275f32f2035be6dad9b21f7a87/merged INFO: umounting image public.ecr.aws/amazonlinux/amazonlinux:2023 (/var/lib/containers/storage/overlay/c7e5c6d6328d49c187936300d79d2500d7ca36275f32f2035be6dad9b21f7a87/merged) with podman image umount INFO: Package manager dnf detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf tooling No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 34 MB/s | 19 MB 00:00 Additional repo http_o6_walkerever_com_al23x 39 MB/s | 17 MB 00:00 Additional repo copr_yxwang5db2_c2 2.4 kB/s | 257 B 00:00 Additional repo copr_yxwang5db2_c4 2.5 kB/s | 257 B 00:00 Additional repo copr_yxwang5db2_c5 2.5 kB/s | 257 B 00:00 Additional repo copr_yxwang5db2_c6 1.6 kB/s | 257 B 00:00 Amazon Linux 2023 repository - x86_64 36 MB/s | 28 MB 00:00 Package python3-dnf-4.14.0-1.amzn2023.0.5.noarch is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: python3-dnf-plugins-core noarch 4.3.0-13.amzn2023.0.4 amazonlinux 233 k Installing dependencies: dbus-libs x86_64 1:1.14.10-3.amzn2023xwalker copr_base 158 k python3-dateutil noarch 1:2.8.2-13.amzn2023xwalker copr_base 310 k python3-dbus x86_64 1.2.18-1.amzn2023.0.2 amazonlinux 134 k python3-distro noarch 1.5.0-5.amzn2023.0.2 amazonlinux 36 k python3-setuptools noarch 69.0.3-4.amzn2023xwalker copr_base 1.2 M python3-six noarch 1.15.0-5.amzn2023.0.2 amazonlinux 36 k python3-systemd x86_64 235-9.amzn2023xwalker copr_base 91 k systemd-libs x86_64 252.23-2.amzn2023 amazonlinux 620 k Transaction Summary ================================================================================ Install 9 Packages Total download size: 2.7 M Installed size: 13 M Downloading Packages: (1/9): dbus-libs-1.14.10-3.amzn2023xwalker.x86_ 2.3 MB/s | 158 kB 00:00 (2/9): python3-systemd-235-9.amzn2023xwalker.x8 8.6 MB/s | 91 kB 00:00 (3/9): python3-dateutil-2.8.2-13.amzn2023xwalke 3.6 MB/s | 310 kB 00:00 (4/9): python3-setuptools-69.0.3-4.amzn2023xwal 11 MB/s | 1.2 MB 00:00 (5/9): python3-distro-1.5.0-5.amzn2023.0.2.noar 870 kB/s | 36 kB 00:00 (6/9): python3-dbus-1.2.18-1.amzn2023.0.2.x86_6 2.4 MB/s | 134 kB 00:00 (7/9): python3-dnf-plugins-core-4.3.0-13.amzn20 5.8 MB/s | 233 kB 00:00 (8/9): python3-six-1.15.0-5.amzn2023.0.2.noarch 1.8 MB/s | 36 kB 00:00 (9/9): systemd-libs-252.23-2.amzn2023.x86_64.rp 24 MB/s | 620 kB 00:00 -------------------------------------------------------------------------------- Total 9.8 MB/s | 2.7 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : systemd-libs-252.23-2.amzn2023.x86_64 1/9 Installing : dbus-libs-1:1.14.10-3.amzn2023xwalker.x86_64 2/9 Installing : python3-dbus-1.2.18-1.amzn2023.0.2.x86_64 3/9 Installing : python3-systemd-235-9.amzn2023xwalker.x86_64 4/9 Installing : python3-six-1.15.0-5.amzn2023.0.2.noarch 5/9 Installing : python3-dateutil-1:2.8.2-13.amzn2023xwalker.noarch 6/9 Installing : python3-setuptools-69.0.3-4.amzn2023xwalker.noarch 7/9 Installing : python3-distro-1.5.0-5.amzn2023.0.2.noarch 8/9 Installing : python3-dnf-plugins-core-4.3.0-13.amzn2023.0.4.noarc 9/9 Running scriptlet: python3-dnf-plugins-core-4.3.0-13.amzn2023.0.4.noarc 9/9 Verifying : dbus-libs-1:1.14.10-3.amzn2023xwalker.x86_64 1/9 Verifying : python3-dateutil-1:2.8.2-13.amzn2023xwalker.noarch 2/9 Verifying : python3-setuptools-69.0.3-4.amzn2023xwalker.noarch 3/9 Verifying : python3-systemd-235-9.amzn2023xwalker.x86_64 4/9 Verifying : python3-dbus-1.2.18-1.amzn2023.0.2.x86_64 5/9 Verifying : python3-distro-1.5.0-5.amzn2023.0.2.noarch 6/9 Verifying : python3-dnf-plugins-core-4.3.0-13.amzn2023.0.4.noarc 7/9 Verifying : python3-six-1.15.0-5.amzn2023.0.2.noarch 8/9 Verifying : systemd-libs-252.23-2.amzn2023.x86_64 9/9 Installed: dbus-libs-1:1.14.10-3.amzn2023xwalker.x86_64 python3-dateutil-1:2.8.2-13.amzn2023xwalker.noarch python3-dbus-1.2.18-1.amzn2023.0.2.x86_64 python3-distro-1.5.0-5.amzn2023.0.2.noarch python3-dnf-plugins-core-4.3.0-13.amzn2023.0.4.noarch python3-setuptools-69.0.3-4.amzn2023xwalker.noarch python3-six-1.15.0-5.amzn2023.0.2.noarch python3-systemd-235-9.amzn2023xwalker.x86_64 systemd-libs-252.23-2.amzn2023.x86_64 Complete! Finish(bootstrap): installing dnf tooling Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/amazonlinux-2023-x86_64-1727021641.039368/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.16.1.3-29.amzn2023.0.6.x86_64 python3-dnf-4.14.0-1.amzn2023.0.5.noarch python3-dnf-plugins-core-4.3.0-13.amzn2023.0.4.noarch yum-4.14.0-1.amzn2023.0.5.noarch Start: installing minimal buildroot with dnf No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 50 MB/s | 19 MB 00:00 Additional repo http_o6_walkerever_com_al23x 13 MB/s | 17 MB 00:01 Additional repo copr_yxwang5db2_c2 2.4 kB/s | 257 B 00:00 Additional repo copr_yxwang5db2_c4 2.5 kB/s | 257 B 00:00 Additional repo copr_yxwang5db2_c5 2.5 kB/s | 257 B 00:00 Additional repo copr_yxwang5db2_c6 2.3 kB/s | 257 B 00:00 Amazon Linux 2023 repository - x86_64 37 MB/s | 28 MB 00:00 Dependencies resolved. ============================================================================================ Package Arch Version Repository Size ============================================================================================ Installing: amazon-rpm-config noarch 228-3.amzn2023.0.2 amazonlinux 74 k bash x86_64 5.2.15-1.amzn2023.0.2 amazonlinux 1.8 M bzip2 x86_64 1.0.8-6.amzn2023.0.2 amazonlinux 53 k coreutils x86_64 8.32-30.amzn2023.0.3 amazonlinux 1.1 M cpio x86_64 2.13-13.amzn2023.0.3 amazonlinux 272 k diffutils x86_64 3.8-1.amzn2023.0.2 amazonlinux 370 k findutils x86_64 1:4.8.0-2.amzn2023.0.2 amazonlinux 539 k gawk x86_64 5.1.0-3.amzn2023.0.3 amazonlinux 1.0 M glibc-minimal-langpack x86_64 2.34-52.amzn2023.0.11 amazonlinux 14 k grep x86_64 3.8-1.amzn2023.0.4 amazonlinux 283 k gzip x86_64 1.12-1.amzn2023.0.1 amazonlinux 160 k info x86_64 6.7-10.amzn2023.0.2 amazonlinux 227 k patch x86_64 2.7.6-14.amzn2023.0.2 amazonlinux 129 k rpm-build x86_64 4.16.1.3-29.amzn2023.0.6 amazonlinux 61 k sed x86_64 4.8-7.amzn2023.0.2 amazonlinux 297 k system-release noarch 2023.99.20990101-0.amzn2023xwalker copr_base 27 k tar x86_64 2:1.34-1.amzn2023.0.4 amazonlinux 879 k unzip x86_64 6.0-57.amzn2023.0.2 amazonlinux 182 k util-linux x86_64 2.37.4-1.amzn2023.0.4 amazonlinux 2.2 M which x86_64 2.21-26.amzn2023.0.2 amazonlinux 42 k xz x86_64 1:5.4.6-3.amzn2023xwalker copr_base 533 k Installing dependencies: alternatives x86_64 1.15-2.amzn2023.0.2 amazonlinux 36 k amazon-linux-repo-cdn noarch 2023.99.20990101-0.amzn2023xwalker copr_base 16 k audit-libs x86_64 3.0.6-1.amzn2023.0.2 amazonlinux 116 k authselect x86_64 1.5.0-5.amzn2023xwalker copr_base 142 k authselect-libs x86_64 1.5.0-5.amzn2023xwalker copr_base 205 k basesystem noarch 11-11.amzn2023.0.2 amazonlinux 7.8 k binutils x86_64 2.39-6.amzn2023xwalker.0.11 copr_base 5.4 M binutils-gold x86_64 2.39-6.amzn2023xwalker.0.11 copr_base 750 k bzip2-libs x86_64 1.0.8-6.amzn2023.0.2 amazonlinux 43 k ca-certificates noarch 2023.2.68-1.0.amzn2023.0.1 amazonlinux 735 k coreutils-common x86_64 8.32-30.amzn2023.0.3 amazonlinux 2.0 M cracklib x86_64 2.9.6-27.amzn2023.0.2 amazonlinux 82 k crypto-policies noarch 20220428-1.gitdfb10ea.amzn2023.0.2 amazonlinux 60 k curl x86_64 8.5.0-1.amzn2023.0.4 amazonlinux 373 k cyrus-sasl-lib x86_64 2.1.27-18.amzn2023.0.3 amazonlinux 786 k debugedit x86_64 5.0-2.amzn2023.0.3 amazonlinux 77 k dwz x86_64 0.14-6.amzn2023.0.2 amazonlinux 129 k ed x86_64 1.14.2-10.amzn2023.0.2 amazonlinux 75 k efi-srpm-macros noarch 5-4.amzn2023.0.5 amazonlinux 23 k elfutils x86_64 0.188-3.amzn2023.0.2 amazonlinux 525 k elfutils-debuginfod-client x86_64 0.188-3.amzn2023.0.2 amazonlinux 41 k elfutils-default-yama-scope noarch 0.188-3.amzn2023.0.2 amazonlinux 17 k elfutils-libelf x86_64 0.188-3.amzn2023.0.2 amazonlinux 199 k elfutils-libs x86_64 0.188-3.amzn2023.0.2 amazonlinux 258 k file x86_64 5.39-7.amzn2023.0.4 amazonlinux 49 k file-libs x86_64 5.39-7.amzn2023.0.4 amazonlinux 588 k filesystem x86_64 3.14-5.amzn2023.0.3 amazonlinux 22 k fonts-srpm-macros noarch 1:2.0.5-12.amzn2023.0.2 amazonlinux 27 k gdb-minimal x86_64 12.1-5.amzn2023.0.3 amazonlinux 4.0 M gdbm x86_64 1:1.19-2.amzn2023.0.2 amazonlinux 128 k gdbm-libs x86_64 1:1.19-2.amzn2023.0.2 amazonlinux 53 k ghc-srpm-macros noarch 1.5.0-4.amzn2023.0.2 amazonlinux 8.5 k glibc x86_64 2.34-52.amzn2023.0.11 amazonlinux 1.9 M glibc-common x86_64 2.34-52.amzn2023.0.11 amazonlinux 286 k glibc-gconv-extra x86_64 2.34-52.amzn2023.0.11 amazonlinux 1.5 M gmp x86_64 1:6.2.1-2.amzn2023.0.2 amazonlinux 324 k go-srpm-macros noarch 3.2.0-37.amzn2023 amazonlinux 26 k jansson x86_64 2.14-0.amzn2023 amazonlinux 46 k kernel-srpm-macros noarch 1.0-14.amzn2023.0.2 amazonlinux 10 k keyutils-libs x86_64 1.6.3-1.amzn2023.0.1 amazonlinux 33 k krb5-libs x86_64 1.21.3-1.amzn2023.0.1 amazonlinux 760 k libacl x86_64 2.3.1-2.amzn2023.0.2 amazonlinux 24 k libarchive x86_64 3.7.2-4.amzn2023xwalker copr_base 410 k libattr x86_64 2.5.1-3.amzn2023.0.2 amazonlinux 19 k libblkid x86_64 2.37.4-1.amzn2023.0.4 amazonlinux 105 k libbrotli x86_64 1.0.9-4.amzn2023.0.2 amazonlinux 315 k libcap x86_64 2.48-2.amzn2023.0.3 amazonlinux 67 k libcap-ng x86_64 0.8.2-4.amzn2023.0.2 amazonlinux 33 k libcom_err x86_64 1.46.5-2.amzn2023.0.2 amazonlinux 27 k libcurl x86_64 8.5.0-1.amzn2023.0.4 amazonlinux 346 k libeconf x86_64 0.6.2-3.amzn2023xwalker copr_base 33 k libfdisk x86_64 2.37.4-1.amzn2023.0.4 amazonlinux 153 k libffi x86_64 3.4.4-1.amzn2023.0.1 amazonlinux 39 k libgcc x86_64 11.4.1-2.amzn2023.0.2 amazonlinux 93 k libgomp x86_64 11.4.1-2.amzn2023.0.2 amazonlinux 268 k libidn2 x86_64 2.3.2-1.amzn2023.0.5 amazonlinux 104 k libmount x86_64 2.37.4-1.amzn2023.0.4 amazonlinux 132 k libnghttp2 x86_64 1.59.0-3.amzn2023.0.1 amazonlinux 79 k libnsl2 x86_64 2.0.1-1.amzn2023xwalker copr_base 30 k libpkgconf x86_64 1.8.0-4.amzn2023.0.2 amazonlinux 37 k libpsl x86_64 0.21.1-3.amzn2023.0.2 amazonlinux 61 k libpwquality x86_64 1.4.4-6.amzn2023.0.2 amazonlinux 106 k libselinux x86_64 3.4-5.amzn2023.0.2 amazonlinux 87 k libsemanage x86_64 3.4-5.amzn2023.0.2 amazonlinux 121 k libsepol x86_64 3.4-3.amzn2023.0.3 amazonlinux 320 k libsigsegv x86_64 2.13-2.amzn2023.0.2 amazonlinux 27 k libsmartcols x86_64 2.37.4-1.amzn2023.0.4 amazonlinux 62 k libssh x86_64 0.10.6-1.amzn2023.0.1 amazonlinux 217 k libssh-config noarch 0.10.6-1.amzn2023.0.1 amazonlinux 11 k libstdc++ x86_64 11.4.1-2.amzn2023.0.2 amazonlinux 731 k libtasn1 x86_64 4.19.0-1.amzn2023.0.4 amazonlinux 75 k libtirpc x86_64 1.3.3-0.amzn2023 amazonlinux 95 k libunistring x86_64 0.9.10-10.amzn2023.0.2 amazonlinux 499 k libutempter x86_64 1.2.1-4.amzn2023.0.2 amazonlinux 26 k libuuid x86_64 2.37.4-1.amzn2023.0.4 amazonlinux 26 k libverto x86_64 0.3.2-1.amzn2023.0.2 amazonlinux 22 k libxcrypt x86_64 4.4.33-7.amzn2023 amazonlinux 121 k libxml2 x86_64 2.10.4-1.amzn2023.0.6 amazonlinux 706 k libzstd x86_64 1.5.5-1.amzn2023.0.1 amazonlinux 309 k lua-libs x86_64 5.4.6-5.amzn2023xwalker copr_base 132 k lua-srpm-macros noarch 1-4.amzn2023.0.2 amazonlinux 9.2 k lz4-libs x86_64 1.9.4-1.amzn2023.0.2 amazonlinux 81 k mpfr x86_64 4.1.0-7.amzn2023.0.2 amazonlinux 330 k ncurses-base noarch 6.2-4.20200222.amzn2023.0.6 amazonlinux 60 k ncurses-libs x86_64 6.2-4.20200222.amzn2023.0.6 amazonlinux 328 k ocaml-srpm-macros noarch 9-3.amzn2023xwalker copr_base 9.3 k openblas-srpm-macros noarch 2-9.amzn2023.0.2 amazonlinux 8.2 k openldap x86_64 2.4.57-6.amzn2023.0.6 amazonlinux 257 k openssl-libs x86_64 1:3.0.8-1.amzn2023.0.14 amazonlinux 2.2 M p11-kit x86_64 0.24.1-2.amzn2023.0.3 amazonlinux 357 k p11-kit-trust x86_64 0.24.1-2.amzn2023.0.3 amazonlinux 138 k package-notes-srpm-macros noarch 0.4-18.amzn2023.0.5 amazonlinux 13 k pam x86_64 1.6.1-3.amzn2023xwalker copr_base 508 k pam-libs x86_64 1.6.1-3.amzn2023xwalker copr_base 57 k pcre2 x86_64 10.40-1.amzn2023.0.3 amazonlinux 236 k pcre2-syntax noarch 10.40-1.amzn2023.0.3 amazonlinux 142 k perl-srpm-macros noarch 1-53.amzn2023xwalker copr_base 8.9 k pkgconf x86_64 1.8.0-4.amzn2023.0.2 amazonlinux 43 k pkgconf-m4 noarch 1.8.0-4.amzn2023.0.2 amazonlinux 15 k pkgconf-pkg-config x86_64 1.8.0-4.amzn2023.0.2 amazonlinux 11 k popt x86_64 1.18-6.amzn2023.0.2 amazonlinux 60 k publicsuffix-list-dafsa noarch 20240212-61.amzn2023 amazonlinux 59 k python-srpm-macros noarch 3.9-41.amzn2023.0.5 amazonlinux 22 k readline x86_64 8.1-2.amzn2023.0.2 amazonlinux 212 k rpm x86_64 4.16.1.3-29.amzn2023.0.6 amazonlinux 485 k rpm-build-libs x86_64 4.16.1.3-29.amzn2023.0.6 amazonlinux 91 k rpm-libs x86_64 4.16.1.3-29.amzn2023.0.6 amazonlinux 312 k rust-srpm-macros noarch 26.2-1.amzn2023xwalker copr_base 13 k setup noarch 2.13.7-3.amzn2023.0.2 amazonlinux 141 k shadow-utils x86_64 2:4.9-12.amzn2023.0.4 amazonlinux 1.1 M sqlite-libs x86_64 3.40.0-1.amzn2023.0.4 amazonlinux 662 k systemd-libs x86_64 252.23-2.amzn2023 amazonlinux 620 k util-linux-core x86_64 2.37.4-1.amzn2023.0.4 amazonlinux 432 k xxhash-libs x86_64 0.8.2-2.amzn2023xwalker copr_base 37 k xz-libs x86_64 1:5.4.6-3.amzn2023xwalker copr_base 111 k zip x86_64 3.0-28.amzn2023.0.2 amazonlinux 257 k zlib-ng-compat x86_64 2.1.6-5.amzn2023xwalker copr_base 77 k zstd x86_64 1.5.5-1.amzn2023.0.1 amazonlinux 478 k Transaction Summary ============================================================================================ Install 139 Packages Total download size: 47 M Installed size: 172 M Downloading Packages: (1/139): amazon-linux-repo-cdn-2023.99.20990101 266 kB/s | 16 kB 00:00 (2/139): authselect-1.5.0-5.amzn2023xwalker.x86 1.4 MB/s | 142 kB 00:00 (3/139): authselect-libs-1.5.0-5.amzn2023xwalke 1.5 MB/s | 205 kB 00:00 (4/139): binutils-gold-2.39-6.amzn2023xwalker.0 5.5 MB/s | 750 kB 00:00 (5/139): libarchive-3.7.2-4.amzn2023xwalker.x86 3.9 MB/s | 410 kB 00:00 (6/139): binutils-2.39-6.amzn2023xwalker.0.11.x 15 MB/s | 5.4 MB 00:00 (7/139): libeconf-0.6.2-3.amzn2023xwalker.x86_6 180 kB/s | 33 kB 00:00 (8/139): libnsl2-2.0.1-1.amzn2023xwalker.x86_64 166 kB/s | 30 kB 00:00 (9/139): lua-libs-5.4.6-5.amzn2023xwalker.x86_6 7.3 MB/s | 132 kB 00:00 (10/139): ocaml-srpm-macros-9-3.amzn2023xwalker 526 kB/s | 9.3 kB 00:00 (11/139): pam-1.6.1-3.amzn2023xwalker.x86_64.rp 12 MB/s | 508 kB 00:00 (12/139): pam-libs-1.6.1-3.amzn2023xwalker.x86_ 2.1 MB/s | 57 kB 00:00 (13/139): perl-srpm-macros-1-53.amzn2023xwalker 347 kB/s | 8.9 kB 00:00 (14/139): rust-srpm-macros-26.2-1.amzn2023xwalk 1.0 MB/s | 13 kB 00:00 (15/139): system-release-2023.99.20990101-0.amz 2.4 MB/s | 27 kB 00:00 (16/139): xxhash-libs-0.8.2-2.amzn2023xwalker.x 2.8 MB/s | 37 kB 00:00 (17/139): xz-5.4.6-3.amzn2023xwalker.x86_64.rpm 15 MB/s | 533 kB 00:00 (18/139): xz-libs-5.4.6-3.amzn2023xwalker.x86_6 2.8 MB/s | 111 kB 00:00 (19/139): zlib-ng-compat-2.1.6-5.amzn2023xwalke 1.8 MB/s | 77 kB 00:00 (20/139): audit-libs-3.0.6-1.amzn2023.0.2.x86_6 1.1 MB/s | 116 kB 00:00 (21/139): basesystem-11-11.amzn2023.0.2.noarch. 431 kB/s | 7.8 kB 00:00 (22/139): bash-5.2.15-1.amzn2023.0.2.x86_64.rpm 17 MB/s | 1.8 MB 00:00 (23/139): bzip2-1.0.8-6.amzn2023.0.2.x86_64.rpm 3.9 MB/s | 53 kB 00:00 (24/139): bzip2-libs-1.0.8-6.amzn2023.0.2.x86_6 3.8 MB/s | 43 kB 00:00 (25/139): alternatives-1.15-2.amzn2023.0.2.x86_ 129 kB/s | 36 kB 00:00 (26/139): amazon-rpm-config-228-3.amzn2023.0.2. 252 kB/s | 74 kB 00:00 (27/139): ca-certificates-2023.2.68-1.0.amzn202 11 MB/s | 735 kB 00:00 (28/139): coreutils-8.32-30.amzn2023.0.3.x86_64 10 MB/s | 1.1 MB 00:00 (29/139): coreutils-common-8.32-30.amzn2023.0.3 13 MB/s | 2.0 MB 00:00 (30/139): cpio-2.13-13.amzn2023.0.3.x86_64.rpm 2.2 MB/s | 272 kB 00:00 (31/139): cracklib-2.9.6-27.amzn2023.0.2.x86_64 1.4 MB/s | 82 kB 00:00 (32/139): crypto-policies-20220428-1.gitdfb10ea 2.5 MB/s | 60 kB 00:00 (33/139): curl-8.5.0-1.amzn2023.0.4.x86_64.rpm 10 MB/s | 373 kB 00:00 (34/139): cyrus-sasl-lib-2.1.27-18.amzn2023.0.3 8.6 MB/s | 786 kB 00:00 (35/139): debugedit-5.0-2.amzn2023.0.3.x86_64.r 1.1 MB/s | 77 kB 00:00 (36/139): diffutils-3.8-1.amzn2023.0.2.x86_64.r 6.9 MB/s | 370 kB 00:00 (37/139): dwz-0.14-6.amzn2023.0.2.x86_64.rpm 6.0 MB/s | 129 kB 00:00 (38/139): ed-1.14.2-10.amzn2023.0.2.x86_64.rpm 3.1 MB/s | 75 kB 00:00 (39/139): efi-srpm-macros-5-4.amzn2023.0.5.noar 936 kB/s | 23 kB 00:00 (40/139): elfutils-debuginfod-client-0.188-3.am 2.1 MB/s | 41 kB 00:00 (41/139): elfutils-default-yama-scope-0.188-3.a 795 kB/s | 17 kB 00:00 (42/139): elfutils-0.188-3.amzn2023.0.2.x86_64. 7.4 MB/s | 525 kB 00:00 (43/139): elfutils-libelf-0.188-3.amzn2023.0.2. 4.1 MB/s | 199 kB 00:00 (44/139): elfutils-libs-0.188-3.amzn2023.0.2.x8 4.5 MB/s | 258 kB 00:00 (45/139): file-5.39-7.amzn2023.0.4.x86_64.rpm 2.3 MB/s | 49 kB 00:00 (46/139): file-libs-5.39-7.amzn2023.0.4.x86_64. 8.4 MB/s | 588 kB 00:00 (47/139): filesystem-3.14-5.amzn2023.0.3.x86_64 369 kB/s | 22 kB 00:00 (48/139): findutils-4.8.0-2.amzn2023.0.2.x86_64 9.1 MB/s | 539 kB 00:00 (49/139): fonts-srpm-macros-2.0.5-12.amzn2023.0 1.7 MB/s | 27 kB 00:00 (50/139): gawk-5.1.0-3.amzn2023.0.3.x86_64.rpm 13 MB/s | 1.0 MB 00:00 (51/139): gdb-minimal-12.1-5.amzn2023.0.3.x86_6 20 MB/s | 4.0 MB 00:00 (52/139): gdbm-1.19-2.amzn2023.0.2.x86_64.rpm 678 kB/s | 128 kB 00:00 (53/139): gdbm-libs-1.19-2.amzn2023.0.2.x86_64. 409 kB/s | 53 kB 00:00 (54/139): ghc-srpm-macros-1.5.0-4.amzn2023.0.2. 798 kB/s | 8.5 kB 00:00 (55/139): glibc-common-2.34-52.amzn2023.0.11.x8 15 MB/s | 286 kB 00:00 (56/139): glibc-2.34-52.amzn2023.0.11.x86_64.rp 26 MB/s | 1.9 MB 00:00 (57/139): glibc-gconv-extra-2.34-52.amzn2023.0. 16 MB/s | 1.5 MB 00:00 (58/139): glibc-minimal-langpack-2.34-52.amzn20 165 kB/s | 14 kB 00:00 (59/139): gmp-6.2.1-2.amzn2023.0.2.x86_64.rpm 8.1 MB/s | 324 kB 00:00 (60/139): go-srpm-macros-3.2.0-37.amzn2023.noar 2.4 MB/s | 26 kB 00:00 (61/139): grep-3.8-1.amzn2023.0.4.x86_64.rpm 17 MB/s | 283 kB 00:00 (62/139): gzip-1.12-1.amzn2023.0.1.x86_64.rpm 10 MB/s | 160 kB 00:00 (63/139): info-6.7-10.amzn2023.0.2.x86_64.rpm 12 MB/s | 227 kB 00:00 (64/139): jansson-2.14-0.amzn2023.x86_64.rpm 3.8 MB/s | 46 kB 00:00 (65/139): kernel-srpm-macros-1.0-14.amzn2023.0. 994 kB/s | 10 kB 00:00 (66/139): keyutils-libs-1.6.3-1.amzn2023.0.1.x8 2.9 MB/s | 33 kB 00:00 (67/139): krb5-libs-1.21.3-1.amzn2023.0.1.x86_6 28 MB/s | 760 kB 00:00 (68/139): libacl-2.3.1-2.amzn2023.0.2.x86_64.rp 936 kB/s | 24 kB 00:00 (69/139): libattr-2.5.1-3.amzn2023.0.2.x86_64.r 1.1 MB/s | 19 kB 00:00 (70/139): libbrotli-1.0.9-4.amzn2023.0.2.x86_64 19 MB/s | 315 kB 00:00 (71/139): libblkid-2.37.4-1.amzn2023.0.4.x86_64 5.7 MB/s | 105 kB 00:00 (72/139): libcap-2.48-2.amzn2023.0.3.x86_64.rpm 3.6 MB/s | 67 kB 00:00 (73/139): libcom_err-1.46.5-2.amzn2023.0.2.x86_ 2.7 MB/s | 27 kB 00:00 (74/139): libcap-ng-0.8.2-4.amzn2023.0.2.x86_64 2.5 MB/s | 33 kB 00:00 (75/139): libcurl-8.5.0-1.amzn2023.0.4.x86_64.r 17 MB/s | 346 kB 00:00 (76/139): libfdisk-2.37.4-1.amzn2023.0.4.x86_64 10 MB/s | 153 kB 00:00 (77/139): libffi-3.4.4-1.amzn2023.0.1.x86_64.rp 3.1 MB/s | 39 kB 00:00 (78/139): libgcc-11.4.1-2.amzn2023.0.2.x86_64.r 7.8 MB/s | 93 kB 00:00 (79/139): libgomp-11.4.1-2.amzn2023.0.2.x86_64. 16 MB/s | 268 kB 00:00 (80/139): libidn2-2.3.2-1.amzn2023.0.5.x86_64.r 5.7 MB/s | 104 kB 00:00 (81/139): libmount-2.37.4-1.amzn2023.0.4.x86_64 9.4 MB/s | 132 kB 00:00 (82/139): libnghttp2-1.59.0-3.amzn2023.0.1.x86_ 6.4 MB/s | 79 kB 00:00 (83/139): libpkgconf-1.8.0-4.amzn2023.0.2.x86_6 3.3 MB/s | 37 kB 00:00 (84/139): libpsl-0.21.1-3.amzn2023.0.2.x86_64.r 4.5 MB/s | 61 kB 00:00 (85/139): libpwquality-1.4.4-6.amzn2023.0.2.x86 7.8 MB/s | 106 kB 00:00 (86/139): libselinux-3.4-5.amzn2023.0.2.x86_64. 4.8 MB/s | 87 kB 00:00 (87/139): libsemanage-3.4-5.amzn2023.0.2.x86_64 9.0 MB/s | 121 kB 00:00 (88/139): libsepol-3.4-3.amzn2023.0.3.x86_64.rp 20 MB/s | 320 kB 00:00 (89/139): libsigsegv-2.13-2.amzn2023.0.2.x86_64 2.0 MB/s | 27 kB 00:00 (90/139): libsmartcols-2.37.4-1.amzn2023.0.4.x8 4.2 MB/s | 62 kB 00:00 (91/139): libssh-0.10.6-1.amzn2023.0.1.x86_64.r 14 MB/s | 217 kB 00:00 (92/139): libssh-config-0.10.6-1.amzn2023.0.1.n 788 kB/s | 11 kB 00:00 (93/139): libstdc++-11.4.1-2.amzn2023.0.2.x86_6 24 MB/s | 731 kB 00:00 (94/139): libtasn1-4.19.0-1.amzn2023.0.4.x86_64 3.9 MB/s | 75 kB 00:00 (95/139): libtirpc-1.3.3-0.amzn2023.x86_64.rpm 4.6 MB/s | 95 kB 00:00 (96/139): libunistring-0.9.10-10.amzn2023.0.2.x 21 MB/s | 499 kB 00:00 (97/139): libutempter-1.2.1-4.amzn2023.0.2.x86_ 1.1 MB/s | 26 kB 00:00 (98/139): libuuid-2.37.4-1.amzn2023.0.4.x86_64. 1.2 MB/s | 26 kB 00:00 (99/139): libverto-0.3.2-1.amzn2023.0.2.x86_64. 1.8 MB/s | 22 kB 00:00 (100/139): libxml2-2.10.4-1.amzn2023.0.6.x86_64 25 MB/s | 706 kB 00:00 (101/139): libxcrypt-4.4.33-7.amzn2023.x86_64.r 3.9 MB/s | 121 kB 00:00 (102/139): libzstd-1.5.5-1.amzn2023.0.1.x86_64. 12 MB/s | 309 kB 00:00 (103/139): lua-srpm-macros-1-4.amzn2023.0.2.noa 796 kB/s | 9.2 kB 00:00 (104/139): lz4-libs-1.9.4-1.amzn2023.0.2.x86_64 6.3 MB/s | 81 kB 00:00 (105/139): mpfr-4.1.0-7.amzn2023.0.2.x86_64.rpm 17 MB/s | 330 kB 00:00 (106/139): ncurses-base-6.2-4.20200222.amzn2023 3.6 MB/s | 60 kB 00:00 (107/139): ncurses-libs-6.2-4.20200222.amzn2023 15 MB/s | 328 kB 00:00 (108/139): openblas-srpm-macros-2-9.amzn2023.0. 738 kB/s | 8.2 kB 00:00 (109/139): openldap-2.4.57-6.amzn2023.0.6.x86_6 16 MB/s | 257 kB 00:00 (110/139): openssl-libs-3.0.8-1.amzn2023.0.14.x 36 MB/s | 2.2 MB 00:00 (111/139): p11-kit-0.24.1-2.amzn2023.0.3.x86_64 5.7 MB/s | 357 kB 00:00 (112/139): p11-kit-trust-0.24.1-2.amzn2023.0.3. 2.3 MB/s | 138 kB 00:00 (113/139): package-notes-srpm-macros-0.4-18.amz 1.1 MB/s | 13 kB 00:00 (114/139): patch-2.7.6-14.amzn2023.0.2.x86_64.r 9.1 MB/s | 129 kB 00:00 (115/139): pcre2-10.40-1.amzn2023.0.3.x86_64.rp 14 MB/s | 236 kB 00:00 (116/139): pcre2-syntax-10.40-1.amzn2023.0.3.no 9.1 MB/s | 142 kB 00:00 (117/139): pkgconf-1.8.0-4.amzn2023.0.2.x86_64. 3.7 MB/s | 43 kB 00:00 (118/139): pkgconf-m4-1.8.0-4.amzn2023.0.2.noar 1.4 MB/s | 15 kB 00:00 (119/139): pkgconf-pkg-config-1.8.0-4.amzn2023. 1.0 MB/s | 11 kB 00:00 (120/139): popt-1.18-6.amzn2023.0.2.x86_64.rpm 4.7 MB/s | 60 kB 00:00 (121/139): publicsuffix-list-dafsa-20240212-61. 4.9 MB/s | 59 kB 00:00 (122/139): python-srpm-macros-3.9-41.amzn2023.0 2.1 MB/s | 22 kB 00:00 (123/139): readline-8.1-2.amzn2023.0.2.x86_64.r 13 MB/s | 212 kB 00:00 (124/139): rpm-build-4.16.1.3-29.amzn2023.0.6.x 5.1 MB/s | 61 kB 00:00 (125/139): rpm-4.16.1.3-29.amzn2023.0.6.x86_64. 23 MB/s | 485 kB 00:00 (126/139): rpm-build-libs-4.16.1.3-29.amzn2023. 7.1 MB/s | 91 kB 00:00 (127/139): rpm-libs-4.16.1.3-29.amzn2023.0.6.x8 19 MB/s | 312 kB 00:00 (128/139): sed-4.8-7.amzn2023.0.2.x86_64.rpm 17 MB/s | 297 kB 00:00 (129/139): setup-2.13.7-3.amzn2023.0.2.noarch.r 8.4 MB/s | 141 kB 00:00 (130/139): shadow-utils-4.9-12.amzn2023.0.4.x86 37 MB/s | 1.1 MB 00:00 (131/139): systemd-libs-252.23-2.amzn2023.x86_6 20 MB/s | 620 kB 00:00 (132/139): sqlite-libs-3.40.0-1.amzn2023.0.4.x8 15 MB/s | 662 kB 00:00 (133/139): tar-1.34-1.amzn2023.0.4.x86_64.rpm 28 MB/s | 879 kB 00:00 (134/139): unzip-6.0-57.amzn2023.0.2.x86_64.rpm 8.1 MB/s | 182 kB 00:00 (135/139): util-linux-2.37.4-1.amzn2023.0.4.x86 48 MB/s | 2.2 MB 00:00 (136/139): util-linux-core-2.37.4-1.amzn2023.0. 11 MB/s | 432 kB 00:00 (137/139): which-2.21-26.amzn2023.0.2.x86_64.rp 1.1 MB/s | 42 kB 00:00 (138/139): zip-3.0-28.amzn2023.0.2.x86_64.rpm 16 MB/s | 257 kB 00:00 (139/139): zstd-1.5.5-1.amzn2023.0.1.x86_64.rpm 23 MB/s | 478 kB 00:00 -------------------------------------------------------------------------------- Total 20 MB/s | 47 MB 00:02 Amazon Linux 2023 repository - x86_64 1.7 MB/s | 1.8 kB 00:00 Key imported successfullyImporting GPG key 0xD832C631: Userid : "Amazon Linux " Fingerprint: B21C 50FA 44A9 9720 EAA7 2F7F E951 904A D832 C631 From : /usr/share/distribution-gpg-keys/amazon-linux/RPM-GPG-KEY-amazon-linux-2023 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.14-5.amzn2023.0.3.x86_64 1/1 Preparing : 1/1 Installing : libgcc-11.4.1-2.amzn2023.0.2.x86_64 1/139 Running scriptlet: libgcc-11.4.1-2.amzn2023.0.2.x86_64 1/139 Installing : crypto-policies-20220428-1.gitdfb10ea.amzn2023.0 2/139 Running scriptlet: crypto-policies-20220428-1.gitdfb10ea.amzn2023.0 2/139 Installing : publicsuffix-list-dafsa-20240212-61.amzn2023.noa 3/139 Installing : pkgconf-m4-1.8.0-4.amzn2023.0.2.noarch 4/139 Installing : pcre2-syntax-10.40-1.amzn2023.0.3.noarch 5/139 Installing : openblas-srpm-macros-2-9.amzn2023.0.2.noarch 6/139 Installing : ncurses-base-6.2-4.20200222.amzn2023.0.6.noarch 7/139 Installing : ncurses-libs-6.2-4.20200222.amzn2023.0.6.x86_64 8/139 Installing : amazon-linux-repo-cdn-2023.99.20990101-0.amzn202 9/139 Installing : bash-5.2.15-1.amzn2023.0.2.x86_64 10/139 Running scriptlet: bash-5.2.15-1.amzn2023.0.2.x86_64 10/139 Installing : system-release-2023.99.20990101-0.amzn2023xwalke 11/139 Installing : setup-2.13.7-3.amzn2023.0.2.noarch 12/139 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.13.7-3.amzn2023.0.2.noarch 12/139 Installing : filesystem-3.14-5.amzn2023.0.3.x86_64 13/139 Installing : basesystem-11-11.amzn2023.0.2.noarch 14/139 Installing : glibc-gconv-extra-2.34-52.amzn2023.0.11.x86_64 15/139 Running scriptlet: glibc-gconv-extra-2.34-52.amzn2023.0.11.x86_64 15/139 Installing : glibc-minimal-langpack-2.34-52.amzn2023.0.11.x86 16/139 Installing : glibc-common-2.34-52.amzn2023.0.11.x86_64 17/139 Running scriptlet: glibc-2.34-52.amzn2023.0.11.x86_64 18/139 Installing : glibc-2.34-52.amzn2023.0.11.x86_64 18/139 Running scriptlet: glibc-2.34-52.amzn2023.0.11.x86_64 18/139 Installing : zlib-ng-compat-2.1.6-5.amzn2023xwalker.x86_64 19/139 Installing : xz-libs-1:5.4.6-3.amzn2023xwalker.x86_64 20/139 Installing : bzip2-libs-1.0.8-6.amzn2023.0.2.x86_64 21/139 Installing : elfutils-libelf-0.188-3.amzn2023.0.2.x86_64 22/139 Installing : libstdc++-11.4.1-2.amzn2023.0.2.x86_64 23/139 Installing : libuuid-2.37.4-1.amzn2023.0.4.x86_64 24/139 Installing : popt-1.18-6.amzn2023.0.2.x86_64 25/139 Installing : gmp-1:6.2.1-2.amzn2023.0.2.x86_64 26/139 Installing : libattr-2.5.1-3.amzn2023.0.2.x86_64 27/139 Installing : libacl-2.3.1-2.amzn2023.0.2.x86_64 28/139 Installing : libcap-2.48-2.amzn2023.0.3.x86_64 29/139 Installing : libxcrypt-4.4.33-7.amzn2023.x86_64 30/139 Installing : libzstd-1.5.5-1.amzn2023.0.1.x86_64 31/139 Installing : readline-8.1-2.amzn2023.0.2.x86_64 32/139 Installing : gdbm-libs-1:1.19-2.amzn2023.0.2.x86_64 33/139 Installing : libcom_err-1.46.5-2.amzn2023.0.2.x86_64 34/139 Installing : systemd-libs-252.23-2.amzn2023.x86_64 35/139 Installing : mpfr-4.1.0-7.amzn2023.0.2.x86_64 36/139 Installing : dwz-0.14-6.amzn2023.0.2.x86_64 37/139 Installing : unzip-6.0-57.amzn2023.0.2.x86_64 38/139 Installing : file-libs-5.39-7.amzn2023.0.4.x86_64 39/139 Installing : file-5.39-7.amzn2023.0.4.x86_64 40/139 Installing : sqlite-libs-3.40.0-1.amzn2023.0.4.x86_64 41/139 Installing : libeconf-0.6.2-3.amzn2023xwalker.x86_64 42/139 Installing : lua-libs-5.4.6-5.amzn2023xwalker.x86_64 43/139 Installing : alternatives-1.15-2.amzn2023.0.2.x86_64 44/139 Installing : libcap-ng-0.8.2-4.amzn2023.0.2.x86_64 45/139 Installing : audit-libs-3.0.6-1.amzn2023.0.2.x86_64 46/139 Installing : pam-libs-1.6.1-3.amzn2023xwalker.x86_64 47/139 Installing : libsepol-3.4-3.amzn2023.0.3.x86_64 48/139 Installing : libsmartcols-2.37.4-1.amzn2023.0.4.x86_64 49/139 Installing : libunistring-0.9.10-10.amzn2023.0.2.x86_64 50/139 Installing : libidn2-2.3.2-1.amzn2023.0.5.x86_64 51/139 Installing : lz4-libs-1.9.4-1.amzn2023.0.2.x86_64 52/139 Installing : pcre2-10.40-1.amzn2023.0.3.x86_64 53/139 Installing : libselinux-3.4-5.amzn2023.0.2.x86_64 54/139 Installing : sed-4.8-7.amzn2023.0.2.x86_64 55/139 Installing : grep-3.8-1.amzn2023.0.4.x86_64 56/139 Installing : findutils-1:4.8.0-2.amzn2023.0.2.x86_64 57/139 Installing : xz-1:5.4.6-3.amzn2023xwalker.x86_64 58/139 Installing : libsemanage-3.4-5.amzn2023.0.2.x86_64 59/139 Installing : shadow-utils-2:4.9-12.amzn2023.0.4.x86_64 60/139 Running scriptlet: libutempter-1.2.1-4.amzn2023.0.2.x86_64 61/139 Installing : libutempter-1.2.1-4.amzn2023.0.2.x86_64 61/139 Installing : tar-2:1.34-1.amzn2023.0.4.x86_64 62/139 Installing : zstd-1.5.5-1.amzn2023.0.1.x86_64 63/139 Installing : libpsl-0.21.1-3.amzn2023.0.2.x86_64 64/139 Installing : zip-3.0-28.amzn2023.0.2.x86_64 65/139 Installing : gdbm-1:1.19-2.amzn2023.0.2.x86_64 66/139 Installing : bzip2-1.0.8-6.amzn2023.0.2.x86_64 67/139 Installing : libxml2-2.10.4-1.amzn2023.0.6.x86_64 68/139 Installing : info-6.7-10.amzn2023.0.2.x86_64 69/139 Installing : ed-1.14.2-10.amzn2023.0.2.x86_64 70/139 Installing : patch-2.7.6-14.amzn2023.0.2.x86_64 71/139 Installing : xxhash-libs-0.8.2-2.amzn2023xwalker.x86_64 72/139 Installing : cpio-2.13-13.amzn2023.0.3.x86_64 73/139 Installing : diffutils-3.8-1.amzn2023.0.2.x86_64 74/139 Installing : jansson-2.14-0.amzn2023.x86_64 75/139 Installing : keyutils-libs-1.6.3-1.amzn2023.0.1.x86_64 76/139 Installing : libbrotli-1.0.9-4.amzn2023.0.2.x86_64 77/139 Installing : libffi-3.4.4-1.amzn2023.0.1.x86_64 78/139 Installing : p11-kit-0.24.1-2.amzn2023.0.3.x86_64 79/139 Installing : libgomp-11.4.1-2.amzn2023.0.2.x86_64 80/139 Installing : libnghttp2-1.59.0-3.amzn2023.0.1.x86_64 81/139 Installing : libpkgconf-1.8.0-4.amzn2023.0.2.x86_64 82/139 Installing : libsigsegv-2.13-2.amzn2023.0.2.x86_64 83/139 Installing : gawk-5.1.0-3.amzn2023.0.3.x86_64 84/139 Installing : libtasn1-4.19.0-1.amzn2023.0.4.x86_64 85/139 Installing : p11-kit-trust-0.24.1-2.amzn2023.0.3.x86_64 86/139 Running scriptlet: p11-kit-trust-0.24.1-2.amzn2023.0.3.x86_64 86/139 Installing : libverto-0.3.2-1.amzn2023.0.2.x86_64 87/139 Installing : elfutils-default-yama-scope-0.188-3.amzn2023.0.2 88/139 Running scriptlet: elfutils-default-yama-scope-0.188-3.amzn2023.0.2 88/139 Installing : package-notes-srpm-macros-0.4-18.amzn2023.0.5.no 89/139 Installing : libssh-config-0.10.6-1.amzn2023.0.1.noarch 90/139 Installing : kernel-srpm-macros-1.0-14.amzn2023.0.2.noarch 91/139 Installing : ghc-srpm-macros-1.5.0-4.amzn2023.0.2.noarch 92/139 Installing : coreutils-common-8.32-30.amzn2023.0.3.x86_64 93/139 Installing : openssl-libs-1:3.0.8-1.amzn2023.0.14.x86_64 94/139 Installing : coreutils-8.32-30.amzn2023.0.3.x86_64 95/139 Running scriptlet: ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarc 96/139 Installing : ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarc 96/139 Running scriptlet: ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarc 96/139 Installing : krb5-libs-1.21.3-1.amzn2023.0.1.x86_64 97/139 Installing : libblkid-2.37.4-1.amzn2023.0.4.x86_64 98/139 Running scriptlet: libblkid-2.37.4-1.amzn2023.0.4.x86_64 98/139 Installing : libmount-2.37.4-1.amzn2023.0.4.x86_64 99/139 Installing : libtirpc-1.3.3-0.amzn2023.x86_64 100/139 Installing : authselect-libs-1.5.0-5.amzn2023xwalker.x86_64 101/139 Installing : gzip-1.12-1.amzn2023.0.1.x86_64 102/139 Installing : cracklib-2.9.6-27.amzn2023.0.2.x86_64 103/139 Installing : authselect-1.5.0-5.amzn2023xwalker.x86_64 104/139 Installing : libnsl2-2.0.1-1.amzn2023xwalker.x86_64 105/139 Installing : libpwquality-1.4.4-6.amzn2023.0.2.x86_64 106/139 Installing : pam-1.6.1-3.amzn2023xwalker.x86_64 107/139 Installing : util-linux-core-2.37.4-1.amzn2023.0.4.x86_64 108/139 Running scriptlet: util-linux-core-2.37.4-1.amzn2023.0.4.x86_64 108/139 Installing : libfdisk-2.37.4-1.amzn2023.0.4.x86_64 109/139 Installing : cyrus-sasl-lib-2.1.27-18.amzn2023.0.3.x86_64 110/139 Installing : openldap-2.4.57-6.amzn2023.0.6.x86_64 111/139 Installing : libssh-0.10.6-1.amzn2023.0.1.x86_64 112/139 Installing : libcurl-8.5.0-1.amzn2023.0.4.x86_64 113/139 Installing : elfutils-libs-0.188-3.amzn2023.0.2.x86_64 114/139 Installing : elfutils-debuginfod-client-0.188-3.amzn2023.0.2. 115/139 Installing : binutils-gold-2.39-6.amzn2023xwalker.0.11.x86_64 116/139 Installing : binutils-2.39-6.amzn2023xwalker.0.11.x86_64 117/139 Running scriptlet: binutils-2.39-6.amzn2023xwalker.0.11.x86_64 117/139 Installing : elfutils-0.188-3.amzn2023.0.2.x86_64 118/139 Installing : gdb-minimal-12.1-5.amzn2023.0.3.x86_64 119/139 Installing : debugedit-5.0-2.amzn2023.0.3.x86_64 120/139 Installing : curl-8.5.0-1.amzn2023.0.4.x86_64 121/139 Installing : libarchive-3.7.2-4.amzn2023xwalker.x86_64 122/139 Installing : rpm-libs-4.16.1.3-29.amzn2023.0.6.x86_64 123/139 Installing : rpm-4.16.1.3-29.amzn2023.0.6.x86_64 124/139 Installing : efi-srpm-macros-5-4.amzn2023.0.5.noarch 125/139 Installing : lua-srpm-macros-1-4.amzn2023.0.2.noarch 126/139 Installing : rpm-build-libs-4.16.1.3-29.amzn2023.0.6.x86_64 127/139 Installing : rust-srpm-macros-26.2-1.amzn2023xwalker.noarch 128/139 Installing : perl-srpm-macros-1-53.amzn2023xwalker.noarch 129/139 Installing : ocaml-srpm-macros-9-3.amzn2023xwalker.noarch 130/139 Installing : fonts-srpm-macros-1:2.0.5-12.amzn2023.0.2.noarch 131/139 Installing : go-srpm-macros-3.2.0-37.amzn2023.noarch 132/139 Installing : python-srpm-macros-3.9-41.amzn2023.0.5.noarch 133/139 Installing : amazon-rpm-config-228-3.amzn2023.0.2.noarch 134/139 Running scriptlet: amazon-rpm-config-228-3.amzn2023.0.2.noarch 134/139 Installing : pkgconf-1.8.0-4.amzn2023.0.2.x86_64 135/139 Installing : pkgconf-pkg-config-1.8.0-4.amzn2023.0.2.x86_64 136/139 Installing : rpm-build-4.16.1.3-29.amzn2023.0.6.x86_64 137/139 Installing : util-linux-2.37.4-1.amzn2023.0.4.x86_64 138/139 Running scriptlet: util-linux-2.37.4-1.amzn2023.0.4.x86_64 138/139 Installing : which-2.21-26.amzn2023.0.2.x86_64 139/139 Running scriptlet: filesystem-3.14-5.amzn2023.0.3.x86_64 139/139 Running scriptlet: ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarc 139/139 Running scriptlet: authselect-libs-1.5.0-5.amzn2023xwalker.x86_64 139/139 Running scriptlet: rpm-4.16.1.3-29.amzn2023.0.6.x86_64 139/139 Running scriptlet: which-2.21-26.amzn2023.0.2.x86_64 139/139 Verifying : amazon-linux-repo-cdn-2023.99.20990101-0.amzn202 1/139 Verifying : authselect-1.5.0-5.amzn2023xwalker.x86_64 2/139 Verifying : authselect-libs-1.5.0-5.amzn2023xwalker.x86_64 3/139 Verifying : binutils-2.39-6.amzn2023xwalker.0.11.x86_64 4/139 Verifying : binutils-gold-2.39-6.amzn2023xwalker.0.11.x86_64 5/139 Verifying : libarchive-3.7.2-4.amzn2023xwalker.x86_64 6/139 Verifying : libeconf-0.6.2-3.amzn2023xwalker.x86_64 7/139 Verifying : libnsl2-2.0.1-1.amzn2023xwalker.x86_64 8/139 Verifying : lua-libs-5.4.6-5.amzn2023xwalker.x86_64 9/139 Verifying : ocaml-srpm-macros-9-3.amzn2023xwalker.noarch 10/139 Verifying : pam-1.6.1-3.amzn2023xwalker.x86_64 11/139 Verifying : pam-libs-1.6.1-3.amzn2023xwalker.x86_64 12/139 Verifying : perl-srpm-macros-1-53.amzn2023xwalker.noarch 13/139 Verifying : rust-srpm-macros-26.2-1.amzn2023xwalker.noarch 14/139 Verifying : system-release-2023.99.20990101-0.amzn2023xwalke 15/139 Verifying : xxhash-libs-0.8.2-2.amzn2023xwalker.x86_64 16/139 Verifying : xz-1:5.4.6-3.amzn2023xwalker.x86_64 17/139 Verifying : xz-libs-1:5.4.6-3.amzn2023xwalker.x86_64 18/139 Verifying : zlib-ng-compat-2.1.6-5.amzn2023xwalker.x86_64 19/139 Verifying : alternatives-1.15-2.amzn2023.0.2.x86_64 20/139 Verifying : amazon-rpm-config-228-3.amzn2023.0.2.noarch 21/139 Verifying : audit-libs-3.0.6-1.amzn2023.0.2.x86_64 22/139 Verifying : basesystem-11-11.amzn2023.0.2.noarch 23/139 Verifying : bash-5.2.15-1.amzn2023.0.2.x86_64 24/139 Verifying : bzip2-1.0.8-6.amzn2023.0.2.x86_64 25/139 Verifying : bzip2-libs-1.0.8-6.amzn2023.0.2.x86_64 26/139 Verifying : ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarc 27/139 Verifying : coreutils-8.32-30.amzn2023.0.3.x86_64 28/139 Verifying : coreutils-common-8.32-30.amzn2023.0.3.x86_64 29/139 Verifying : cpio-2.13-13.amzn2023.0.3.x86_64 30/139 Verifying : cracklib-2.9.6-27.amzn2023.0.2.x86_64 31/139 Verifying : crypto-policies-20220428-1.gitdfb10ea.amzn2023.0 32/139 Verifying : curl-8.5.0-1.amzn2023.0.4.x86_64 33/139 Verifying : cyrus-sasl-lib-2.1.27-18.amzn2023.0.3.x86_64 34/139 Verifying : debugedit-5.0-2.amzn2023.0.3.x86_64 35/139 Verifying : diffutils-3.8-1.amzn2023.0.2.x86_64 36/139 Verifying : dwz-0.14-6.amzn2023.0.2.x86_64 37/139 Verifying : ed-1.14.2-10.amzn2023.0.2.x86_64 38/139 Verifying : efi-srpm-macros-5-4.amzn2023.0.5.noarch 39/139 Verifying : elfutils-0.188-3.amzn2023.0.2.x86_64 40/139 Verifying : elfutils-debuginfod-client-0.188-3.amzn2023.0.2. 41/139 Verifying : elfutils-default-yama-scope-0.188-3.amzn2023.0.2 42/139 Verifying : elfutils-libelf-0.188-3.amzn2023.0.2.x86_64 43/139 Verifying : elfutils-libs-0.188-3.amzn2023.0.2.x86_64 44/139 Verifying : file-5.39-7.amzn2023.0.4.x86_64 45/139 Verifying : file-libs-5.39-7.amzn2023.0.4.x86_64 46/139 Verifying : filesystem-3.14-5.amzn2023.0.3.x86_64 47/139 Verifying : findutils-1:4.8.0-2.amzn2023.0.2.x86_64 48/139 Verifying : fonts-srpm-macros-1:2.0.5-12.amzn2023.0.2.noarch 49/139 Verifying : gawk-5.1.0-3.amzn2023.0.3.x86_64 50/139 Verifying : gdb-minimal-12.1-5.amzn2023.0.3.x86_64 51/139 Verifying : gdbm-1:1.19-2.amzn2023.0.2.x86_64 52/139 Verifying : gdbm-libs-1:1.19-2.amzn2023.0.2.x86_64 53/139 Verifying : ghc-srpm-macros-1.5.0-4.amzn2023.0.2.noarch 54/139 Verifying : glibc-2.34-52.amzn2023.0.11.x86_64 55/139 Verifying : glibc-common-2.34-52.amzn2023.0.11.x86_64 56/139 Verifying : glibc-gconv-extra-2.34-52.amzn2023.0.11.x86_64 57/139 Verifying : glibc-minimal-langpack-2.34-52.amzn2023.0.11.x86 58/139 Verifying : gmp-1:6.2.1-2.amzn2023.0.2.x86_64 59/139 Verifying : go-srpm-macros-3.2.0-37.amzn2023.noarch 60/139 Verifying : grep-3.8-1.amzn2023.0.4.x86_64 61/139 Verifying : gzip-1.12-1.amzn2023.0.1.x86_64 62/139 Verifying : info-6.7-10.amzn2023.0.2.x86_64 63/139 Verifying : jansson-2.14-0.amzn2023.x86_64 64/139 Verifying : kernel-srpm-macros-1.0-14.amzn2023.0.2.noarch 65/139 Verifying : keyutils-libs-1.6.3-1.amzn2023.0.1.x86_64 66/139 Verifying : krb5-libs-1.21.3-1.amzn2023.0.1.x86_64 67/139 Verifying : libacl-2.3.1-2.amzn2023.0.2.x86_64 68/139 Verifying : libattr-2.5.1-3.amzn2023.0.2.x86_64 69/139 Verifying : libblkid-2.37.4-1.amzn2023.0.4.x86_64 70/139 Verifying : libbrotli-1.0.9-4.amzn2023.0.2.x86_64 71/139 Verifying : libcap-2.48-2.amzn2023.0.3.x86_64 72/139 Verifying : libcap-ng-0.8.2-4.amzn2023.0.2.x86_64 73/139 Verifying : libcom_err-1.46.5-2.amzn2023.0.2.x86_64 74/139 Verifying : libcurl-8.5.0-1.amzn2023.0.4.x86_64 75/139 Verifying : libfdisk-2.37.4-1.amzn2023.0.4.x86_64 76/139 Verifying : libffi-3.4.4-1.amzn2023.0.1.x86_64 77/139 Verifying : libgcc-11.4.1-2.amzn2023.0.2.x86_64 78/139 Verifying : libgomp-11.4.1-2.amzn2023.0.2.x86_64 79/139 Verifying : libidn2-2.3.2-1.amzn2023.0.5.x86_64 80/139 Verifying : libmount-2.37.4-1.amzn2023.0.4.x86_64 81/139 Verifying : libnghttp2-1.59.0-3.amzn2023.0.1.x86_64 82/139 Verifying : libpkgconf-1.8.0-4.amzn2023.0.2.x86_64 83/139 Verifying : libpsl-0.21.1-3.amzn2023.0.2.x86_64 84/139 Verifying : libpwquality-1.4.4-6.amzn2023.0.2.x86_64 85/139 Verifying : libselinux-3.4-5.amzn2023.0.2.x86_64 86/139 Verifying : libsemanage-3.4-5.amzn2023.0.2.x86_64 87/139 Verifying : libsepol-3.4-3.amzn2023.0.3.x86_64 88/139 Verifying : libsigsegv-2.13-2.amzn2023.0.2.x86_64 89/139 Verifying : libsmartcols-2.37.4-1.amzn2023.0.4.x86_64 90/139 Verifying : libssh-0.10.6-1.amzn2023.0.1.x86_64 91/139 Verifying : libssh-config-0.10.6-1.amzn2023.0.1.noarch 92/139 Verifying : libstdc++-11.4.1-2.amzn2023.0.2.x86_64 93/139 Verifying : libtasn1-4.19.0-1.amzn2023.0.4.x86_64 94/139 Verifying : libtirpc-1.3.3-0.amzn2023.x86_64 95/139 Verifying : libunistring-0.9.10-10.amzn2023.0.2.x86_64 96/139 Verifying : libutempter-1.2.1-4.amzn2023.0.2.x86_64 97/139 Verifying : libuuid-2.37.4-1.amzn2023.0.4.x86_64 98/139 Verifying : libverto-0.3.2-1.amzn2023.0.2.x86_64 99/139 Verifying : libxcrypt-4.4.33-7.amzn2023.x86_64 100/139 Verifying : libxml2-2.10.4-1.amzn2023.0.6.x86_64 101/139 Verifying : libzstd-1.5.5-1.amzn2023.0.1.x86_64 102/139 Verifying : lua-srpm-macros-1-4.amzn2023.0.2.noarch 103/139 Verifying : lz4-libs-1.9.4-1.amzn2023.0.2.x86_64 104/139 Verifying : mpfr-4.1.0-7.amzn2023.0.2.x86_64 105/139 Verifying : ncurses-base-6.2-4.20200222.amzn2023.0.6.noarch 106/139 Verifying : ncurses-libs-6.2-4.20200222.amzn2023.0.6.x86_64 107/139 Verifying : openblas-srpm-macros-2-9.amzn2023.0.2.noarch 108/139 Verifying : openldap-2.4.57-6.amzn2023.0.6.x86_64 109/139 Verifying : openssl-libs-1:3.0.8-1.amzn2023.0.14.x86_64 110/139 Verifying : p11-kit-0.24.1-2.amzn2023.0.3.x86_64 111/139 Verifying : p11-kit-trust-0.24.1-2.amzn2023.0.3.x86_64 112/139 Verifying : package-notes-srpm-macros-0.4-18.amzn2023.0.5.no 113/139 Verifying : patch-2.7.6-14.amzn2023.0.2.x86_64 114/139 Verifying : pcre2-10.40-1.amzn2023.0.3.x86_64 115/139 Verifying : pcre2-syntax-10.40-1.amzn2023.0.3.noarch 116/139 Verifying : pkgconf-1.8.0-4.amzn2023.0.2.x86_64 117/139 Verifying : pkgconf-m4-1.8.0-4.amzn2023.0.2.noarch 118/139 Verifying : pkgconf-pkg-config-1.8.0-4.amzn2023.0.2.x86_64 119/139 Verifying : popt-1.18-6.amzn2023.0.2.x86_64 120/139 Verifying : publicsuffix-list-dafsa-20240212-61.amzn2023.noa 121/139 Verifying : python-srpm-macros-3.9-41.amzn2023.0.5.noarch 122/139 Verifying : readline-8.1-2.amzn2023.0.2.x86_64 123/139 Verifying : rpm-4.16.1.3-29.amzn2023.0.6.x86_64 124/139 Verifying : rpm-build-4.16.1.3-29.amzn2023.0.6.x86_64 125/139 Verifying : rpm-build-libs-4.16.1.3-29.amzn2023.0.6.x86_64 126/139 Verifying : rpm-libs-4.16.1.3-29.amzn2023.0.6.x86_64 127/139 Verifying : sed-4.8-7.amzn2023.0.2.x86_64 128/139 Verifying : setup-2.13.7-3.amzn2023.0.2.noarch 129/139 Verifying : shadow-utils-2:4.9-12.amzn2023.0.4.x86_64 130/139 Verifying : sqlite-libs-3.40.0-1.amzn2023.0.4.x86_64 131/139 Verifying : systemd-libs-252.23-2.amzn2023.x86_64 132/139 Verifying : tar-2:1.34-1.amzn2023.0.4.x86_64 133/139 Verifying : unzip-6.0-57.amzn2023.0.2.x86_64 134/139 Verifying : util-linux-2.37.4-1.amzn2023.0.4.x86_64 135/139 Verifying : util-linux-core-2.37.4-1.amzn2023.0.4.x86_64 136/139 Verifying : which-2.21-26.amzn2023.0.2.x86_64 137/139 Verifying : zip-3.0-28.amzn2023.0.2.x86_64 138/139 Verifying : zstd-1.5.5-1.amzn2023.0.1.x86_64 139/139 Installed: alternatives-1.15-2.amzn2023.0.2.x86_64 amazon-linux-repo-cdn-2023.99.20990101-0.amzn2023xwalker.noarch amazon-rpm-config-228-3.amzn2023.0.2.noarch audit-libs-3.0.6-1.amzn2023.0.2.x86_64 authselect-1.5.0-5.amzn2023xwalker.x86_64 authselect-libs-1.5.0-5.amzn2023xwalker.x86_64 basesystem-11-11.amzn2023.0.2.noarch bash-5.2.15-1.amzn2023.0.2.x86_64 binutils-2.39-6.amzn2023xwalker.0.11.x86_64 binutils-gold-2.39-6.amzn2023xwalker.0.11.x86_64 bzip2-1.0.8-6.amzn2023.0.2.x86_64 bzip2-libs-1.0.8-6.amzn2023.0.2.x86_64 ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarch coreutils-8.32-30.amzn2023.0.3.x86_64 coreutils-common-8.32-30.amzn2023.0.3.x86_64 cpio-2.13-13.amzn2023.0.3.x86_64 cracklib-2.9.6-27.amzn2023.0.2.x86_64 crypto-policies-20220428-1.gitdfb10ea.amzn2023.0.2.noarch curl-8.5.0-1.amzn2023.0.4.x86_64 cyrus-sasl-lib-2.1.27-18.amzn2023.0.3.x86_64 debugedit-5.0-2.amzn2023.0.3.x86_64 diffutils-3.8-1.amzn2023.0.2.x86_64 dwz-0.14-6.amzn2023.0.2.x86_64 ed-1.14.2-10.amzn2023.0.2.x86_64 efi-srpm-macros-5-4.amzn2023.0.5.noarch elfutils-0.188-3.amzn2023.0.2.x86_64 elfutils-debuginfod-client-0.188-3.amzn2023.0.2.x86_64 elfutils-default-yama-scope-0.188-3.amzn2023.0.2.noarch elfutils-libelf-0.188-3.amzn2023.0.2.x86_64 elfutils-libs-0.188-3.amzn2023.0.2.x86_64 file-5.39-7.amzn2023.0.4.x86_64 file-libs-5.39-7.amzn2023.0.4.x86_64 filesystem-3.14-5.amzn2023.0.3.x86_64 findutils-1:4.8.0-2.amzn2023.0.2.x86_64 fonts-srpm-macros-1:2.0.5-12.amzn2023.0.2.noarch gawk-5.1.0-3.amzn2023.0.3.x86_64 gdb-minimal-12.1-5.amzn2023.0.3.x86_64 gdbm-1:1.19-2.amzn2023.0.2.x86_64 gdbm-libs-1:1.19-2.amzn2023.0.2.x86_64 ghc-srpm-macros-1.5.0-4.amzn2023.0.2.noarch glibc-2.34-52.amzn2023.0.11.x86_64 glibc-common-2.34-52.amzn2023.0.11.x86_64 glibc-gconv-extra-2.34-52.amzn2023.0.11.x86_64 glibc-minimal-langpack-2.34-52.amzn2023.0.11.x86_64 gmp-1:6.2.1-2.amzn2023.0.2.x86_64 go-srpm-macros-3.2.0-37.amzn2023.noarch grep-3.8-1.amzn2023.0.4.x86_64 gzip-1.12-1.amzn2023.0.1.x86_64 info-6.7-10.amzn2023.0.2.x86_64 jansson-2.14-0.amzn2023.x86_64 kernel-srpm-macros-1.0-14.amzn2023.0.2.noarch keyutils-libs-1.6.3-1.amzn2023.0.1.x86_64 krb5-libs-1.21.3-1.amzn2023.0.1.x86_64 libacl-2.3.1-2.amzn2023.0.2.x86_64 libarchive-3.7.2-4.amzn2023xwalker.x86_64 libattr-2.5.1-3.amzn2023.0.2.x86_64 libblkid-2.37.4-1.amzn2023.0.4.x86_64 libbrotli-1.0.9-4.amzn2023.0.2.x86_64 libcap-2.48-2.amzn2023.0.3.x86_64 libcap-ng-0.8.2-4.amzn2023.0.2.x86_64 libcom_err-1.46.5-2.amzn2023.0.2.x86_64 libcurl-8.5.0-1.amzn2023.0.4.x86_64 libeconf-0.6.2-3.amzn2023xwalker.x86_64 libfdisk-2.37.4-1.amzn2023.0.4.x86_64 libffi-3.4.4-1.amzn2023.0.1.x86_64 libgcc-11.4.1-2.amzn2023.0.2.x86_64 libgomp-11.4.1-2.amzn2023.0.2.x86_64 libidn2-2.3.2-1.amzn2023.0.5.x86_64 libmount-2.37.4-1.amzn2023.0.4.x86_64 libnghttp2-1.59.0-3.amzn2023.0.1.x86_64 libnsl2-2.0.1-1.amzn2023xwalker.x86_64 libpkgconf-1.8.0-4.amzn2023.0.2.x86_64 libpsl-0.21.1-3.amzn2023.0.2.x86_64 libpwquality-1.4.4-6.amzn2023.0.2.x86_64 libselinux-3.4-5.amzn2023.0.2.x86_64 libsemanage-3.4-5.amzn2023.0.2.x86_64 libsepol-3.4-3.amzn2023.0.3.x86_64 libsigsegv-2.13-2.amzn2023.0.2.x86_64 libsmartcols-2.37.4-1.amzn2023.0.4.x86_64 libssh-0.10.6-1.amzn2023.0.1.x86_64 libssh-config-0.10.6-1.amzn2023.0.1.noarch libstdc++-11.4.1-2.amzn2023.0.2.x86_64 libtasn1-4.19.0-1.amzn2023.0.4.x86_64 libtirpc-1.3.3-0.amzn2023.x86_64 libunistring-0.9.10-10.amzn2023.0.2.x86_64 libutempter-1.2.1-4.amzn2023.0.2.x86_64 libuuid-2.37.4-1.amzn2023.0.4.x86_64 libverto-0.3.2-1.amzn2023.0.2.x86_64 libxcrypt-4.4.33-7.amzn2023.x86_64 libxml2-2.10.4-1.amzn2023.0.6.x86_64 libzstd-1.5.5-1.amzn2023.0.1.x86_64 lua-libs-5.4.6-5.amzn2023xwalker.x86_64 lua-srpm-macros-1-4.amzn2023.0.2.noarch lz4-libs-1.9.4-1.amzn2023.0.2.x86_64 mpfr-4.1.0-7.amzn2023.0.2.x86_64 ncurses-base-6.2-4.20200222.amzn2023.0.6.noarch ncurses-libs-6.2-4.20200222.amzn2023.0.6.x86_64 ocaml-srpm-macros-9-3.amzn2023xwalker.noarch openblas-srpm-macros-2-9.amzn2023.0.2.noarch openldap-2.4.57-6.amzn2023.0.6.x86_64 openssl-libs-1:3.0.8-1.amzn2023.0.14.x86_64 p11-kit-0.24.1-2.amzn2023.0.3.x86_64 p11-kit-trust-0.24.1-2.amzn2023.0.3.x86_64 package-notes-srpm-macros-0.4-18.amzn2023.0.5.noarch pam-1.6.1-3.amzn2023xwalker.x86_64 pam-libs-1.6.1-3.amzn2023xwalker.x86_64 patch-2.7.6-14.amzn2023.0.2.x86_64 pcre2-10.40-1.amzn2023.0.3.x86_64 pcre2-syntax-10.40-1.amzn2023.0.3.noarch perl-srpm-macros-1-53.amzn2023xwalker.noarch pkgconf-1.8.0-4.amzn2023.0.2.x86_64 pkgconf-m4-1.8.0-4.amzn2023.0.2.noarch pkgconf-pkg-config-1.8.0-4.amzn2023.0.2.x86_64 popt-1.18-6.amzn2023.0.2.x86_64 publicsuffix-list-dafsa-20240212-61.amzn2023.noarch python-srpm-macros-3.9-41.amzn2023.0.5.noarch readline-8.1-2.amzn2023.0.2.x86_64 rpm-4.16.1.3-29.amzn2023.0.6.x86_64 rpm-build-4.16.1.3-29.amzn2023.0.6.x86_64 rpm-build-libs-4.16.1.3-29.amzn2023.0.6.x86_64 rpm-libs-4.16.1.3-29.amzn2023.0.6.x86_64 rust-srpm-macros-26.2-1.amzn2023xwalker.noarch sed-4.8-7.amzn2023.0.2.x86_64 setup-2.13.7-3.amzn2023.0.2.noarch shadow-utils-2:4.9-12.amzn2023.0.4.x86_64 sqlite-libs-3.40.0-1.amzn2023.0.4.x86_64 system-release-2023.99.20990101-0.amzn2023xwalker.noarch systemd-libs-252.23-2.amzn2023.x86_64 tar-2:1.34-1.amzn2023.0.4.x86_64 unzip-6.0-57.amzn2023.0.2.x86_64 util-linux-2.37.4-1.amzn2023.0.4.x86_64 util-linux-core-2.37.4-1.amzn2023.0.4.x86_64 which-2.21-26.amzn2023.0.2.x86_64 xxhash-libs-0.8.2-2.amzn2023xwalker.x86_64 xz-1:5.4.6-3.amzn2023xwalker.x86_64 xz-libs-1:5.4.6-3.amzn2023xwalker.x86_64 zip-3.0-28.amzn2023.0.2.x86_64 zlib-ng-compat-2.1.6-5.amzn2023xwalker.x86_64 zstd-1.5.5-1.amzn2023.0.1.x86_64 Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.15-2.amzn2023.0.2.x86_64 amazon-linux-repo-cdn-2023.99.20990101-0.amzn2023xwalker.noarch amazon-rpm-config-228-3.amzn2023.0.2.noarch audit-libs-3.0.6-1.amzn2023.0.2.x86_64 authselect-1.5.0-5.amzn2023xwalker.x86_64 authselect-libs-1.5.0-5.amzn2023xwalker.x86_64 basesystem-11-11.amzn2023.0.2.noarch bash-5.2.15-1.amzn2023.0.2.x86_64 binutils-2.39-6.amzn2023xwalker.0.11.x86_64 binutils-gold-2.39-6.amzn2023xwalker.0.11.x86_64 bzip2-1.0.8-6.amzn2023.0.2.x86_64 bzip2-libs-1.0.8-6.amzn2023.0.2.x86_64 ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarch coreutils-8.32-30.amzn2023.0.3.x86_64 coreutils-common-8.32-30.amzn2023.0.3.x86_64 cpio-2.13-13.amzn2023.0.3.x86_64 cracklib-2.9.6-27.amzn2023.0.2.x86_64 crypto-policies-20220428-1.gitdfb10ea.amzn2023.0.2.noarch curl-8.5.0-1.amzn2023.0.4.x86_64 cyrus-sasl-lib-2.1.27-18.amzn2023.0.3.x86_64 debugedit-5.0-2.amzn2023.0.3.x86_64 diffutils-3.8-1.amzn2023.0.2.x86_64 dwz-0.14-6.amzn2023.0.2.x86_64 ed-1.14.2-10.amzn2023.0.2.x86_64 efi-srpm-macros-5-4.amzn2023.0.5.noarch elfutils-0.188-3.amzn2023.0.2.x86_64 elfutils-debuginfod-client-0.188-3.amzn2023.0.2.x86_64 elfutils-default-yama-scope-0.188-3.amzn2023.0.2.noarch elfutils-libelf-0.188-3.amzn2023.0.2.x86_64 elfutils-libs-0.188-3.amzn2023.0.2.x86_64 file-5.39-7.amzn2023.0.4.x86_64 file-libs-5.39-7.amzn2023.0.4.x86_64 filesystem-3.14-5.amzn2023.0.3.x86_64 findutils-4.8.0-2.amzn2023.0.2.x86_64 fonts-srpm-macros-2.0.5-12.amzn2023.0.2.noarch gawk-5.1.0-3.amzn2023.0.3.x86_64 gdb-minimal-12.1-5.amzn2023.0.3.x86_64 gdbm-1.19-2.amzn2023.0.2.x86_64 gdbm-libs-1.19-2.amzn2023.0.2.x86_64 ghc-srpm-macros-1.5.0-4.amzn2023.0.2.noarch glibc-2.34-52.amzn2023.0.11.x86_64 glibc-common-2.34-52.amzn2023.0.11.x86_64 glibc-gconv-extra-2.34-52.amzn2023.0.11.x86_64 glibc-minimal-langpack-2.34-52.amzn2023.0.11.x86_64 gmp-6.2.1-2.amzn2023.0.2.x86_64 go-srpm-macros-3.2.0-37.amzn2023.noarch gpg-pubkey-d832c631-6515c85e grep-3.8-1.amzn2023.0.4.x86_64 gzip-1.12-1.amzn2023.0.1.x86_64 info-6.7-10.amzn2023.0.2.x86_64 jansson-2.14-0.amzn2023.x86_64 kernel-srpm-macros-1.0-14.amzn2023.0.2.noarch keyutils-libs-1.6.3-1.amzn2023.0.1.x86_64 krb5-libs-1.21.3-1.amzn2023.0.1.x86_64 libacl-2.3.1-2.amzn2023.0.2.x86_64 libarchive-3.7.2-4.amzn2023xwalker.x86_64 libattr-2.5.1-3.amzn2023.0.2.x86_64 libblkid-2.37.4-1.amzn2023.0.4.x86_64 libbrotli-1.0.9-4.amzn2023.0.2.x86_64 libcap-2.48-2.amzn2023.0.3.x86_64 libcap-ng-0.8.2-4.amzn2023.0.2.x86_64 libcom_err-1.46.5-2.amzn2023.0.2.x86_64 libcurl-8.5.0-1.amzn2023.0.4.x86_64 libeconf-0.6.2-3.amzn2023xwalker.x86_64 libfdisk-2.37.4-1.amzn2023.0.4.x86_64 libffi-3.4.4-1.amzn2023.0.1.x86_64 libgcc-11.4.1-2.amzn2023.0.2.x86_64 libgomp-11.4.1-2.amzn2023.0.2.x86_64 libidn2-2.3.2-1.amzn2023.0.5.x86_64 libmount-2.37.4-1.amzn2023.0.4.x86_64 libnghttp2-1.59.0-3.amzn2023.0.1.x86_64 libnsl2-2.0.1-1.amzn2023xwalker.x86_64 libpkgconf-1.8.0-4.amzn2023.0.2.x86_64 libpsl-0.21.1-3.amzn2023.0.2.x86_64 libpwquality-1.4.4-6.amzn2023.0.2.x86_64 libselinux-3.4-5.amzn2023.0.2.x86_64 libsemanage-3.4-5.amzn2023.0.2.x86_64 libsepol-3.4-3.amzn2023.0.3.x86_64 libsigsegv-2.13-2.amzn2023.0.2.x86_64 libsmartcols-2.37.4-1.amzn2023.0.4.x86_64 libssh-0.10.6-1.amzn2023.0.1.x86_64 libssh-config-0.10.6-1.amzn2023.0.1.noarch libstdc++-11.4.1-2.amzn2023.0.2.x86_64 libtasn1-4.19.0-1.amzn2023.0.4.x86_64 libtirpc-1.3.3-0.amzn2023.x86_64 libunistring-0.9.10-10.amzn2023.0.2.x86_64 libutempter-1.2.1-4.amzn2023.0.2.x86_64 libuuid-2.37.4-1.amzn2023.0.4.x86_64 libverto-0.3.2-1.amzn2023.0.2.x86_64 libxcrypt-4.4.33-7.amzn2023.x86_64 libxml2-2.10.4-1.amzn2023.0.6.x86_64 libzstd-1.5.5-1.amzn2023.0.1.x86_64 lua-libs-5.4.6-5.amzn2023xwalker.x86_64 lua-srpm-macros-1-4.amzn2023.0.2.noarch lz4-libs-1.9.4-1.amzn2023.0.2.x86_64 mpfr-4.1.0-7.amzn2023.0.2.x86_64 ncurses-base-6.2-4.20200222.amzn2023.0.6.noarch ncurses-libs-6.2-4.20200222.amzn2023.0.6.x86_64 ocaml-srpm-macros-9-3.amzn2023xwalker.noarch openblas-srpm-macros-2-9.amzn2023.0.2.noarch openldap-2.4.57-6.amzn2023.0.6.x86_64 openssl-libs-3.0.8-1.amzn2023.0.14.x86_64 p11-kit-0.24.1-2.amzn2023.0.3.x86_64 p11-kit-trust-0.24.1-2.amzn2023.0.3.x86_64 package-notes-srpm-macros-0.4-18.amzn2023.0.5.noarch pam-1.6.1-3.amzn2023xwalker.x86_64 pam-libs-1.6.1-3.amzn2023xwalker.x86_64 patch-2.7.6-14.amzn2023.0.2.x86_64 pcre2-10.40-1.amzn2023.0.3.x86_64 pcre2-syntax-10.40-1.amzn2023.0.3.noarch perl-srpm-macros-1-53.amzn2023xwalker.noarch pkgconf-1.8.0-4.amzn2023.0.2.x86_64 pkgconf-m4-1.8.0-4.amzn2023.0.2.noarch pkgconf-pkg-config-1.8.0-4.amzn2023.0.2.x86_64 popt-1.18-6.amzn2023.0.2.x86_64 publicsuffix-list-dafsa-20240212-61.amzn2023.noarch python-srpm-macros-3.9-41.amzn2023.0.5.noarch readline-8.1-2.amzn2023.0.2.x86_64 rpm-4.16.1.3-29.amzn2023.0.6.x86_64 rpm-build-4.16.1.3-29.amzn2023.0.6.x86_64 rpm-build-libs-4.16.1.3-29.amzn2023.0.6.x86_64 rpm-libs-4.16.1.3-29.amzn2023.0.6.x86_64 rust-srpm-macros-26.2-1.amzn2023xwalker.noarch sed-4.8-7.amzn2023.0.2.x86_64 setup-2.13.7-3.amzn2023.0.2.noarch shadow-utils-4.9-12.amzn2023.0.4.x86_64 sqlite-libs-3.40.0-1.amzn2023.0.4.x86_64 system-release-2023.99.20990101-0.amzn2023xwalker.noarch systemd-libs-252.23-2.amzn2023.x86_64 tar-1.34-1.amzn2023.0.4.x86_64 unzip-6.0-57.amzn2023.0.2.x86_64 util-linux-2.37.4-1.amzn2023.0.4.x86_64 util-linux-core-2.37.4-1.amzn2023.0.4.x86_64 which-2.21-26.amzn2023.0.2.x86_64 xxhash-libs-0.8.2-2.amzn2023xwalker.x86_64 xz-5.4.6-3.amzn2023xwalker.x86_64 xz-libs-5.4.6-3.amzn2023xwalker.x86_64 zip-3.0-28.amzn2023.0.2.x86_64 zlib-ng-compat-2.1.6-5.amzn2023xwalker.x86_64 zstd-1.5.5-1.amzn2023.0.1.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1630540800 Wrote: /builddir/build/SRPMS/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.src.rpm Finish: rpmbuild -bs cp: preserving permissions for ‘/var/lib/copr-rpmbuild/results/chroot_scan/var/lib/mock/amazonlinux-2023-x86_64-1727021641.039368/root/var/log’: No such file or directory INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/amazonlinux-2023-x86_64-1727021641.039368/root/var/log/dnf.log /var/lib/mock/amazonlinux-2023-x86_64-1727021641.039368/root/var/log/dnf.librepo.log /var/lib/mock/amazonlinux-2023-x86_64-1727021641.039368/root/var/log/dnf.rpm.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-ild27z6q/golang-github-clbanning-mxj/golang-github-clbanning-mxj.spec) Config(child) 1 minutes 2 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.src.rpm) Config(amazonlinux-2023-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/amazonlinux-2023-x86_64-bootstrap-1727021641.039368/root. INFO: reusing tmpfs at /var/lib/mock/amazonlinux-2023-x86_64-bootstrap-1727021641.039368/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/amazonlinux-2023-x86_64-1727021641.039368/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.16.1.3-29.amzn2023.0.6.x86_64 python3-dnf-4.14.0-1.amzn2023.0.5.noarch python3-dnf-plugins-core-4.3.0-13.amzn2023.0.4.noarch yum-4.14.0-1.amzn2023.0.5.noarch Finish: chroot init Start: build phase for golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.src.rpm Start: build setup for golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1630540800 Wrote: /builddir/build/SRPMS/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.src.rpm No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 24 kB/s | 1.5 kB 00:00 Copr repository 40 MB/s | 19 MB 00:00 Additional repo http_o6_walkerever_com_al23x 95 kB/s | 3.0 kB 00:00 Additional repo copr_yxwang5db2_c2 29 kB/s | 1.5 kB 00:00 Additional repo copr_yxwang5db2_c4 29 kB/s | 1.5 kB 00:00 Additional repo copr_yxwang5db2_c5 28 kB/s | 1.5 kB 00:00 Additional repo copr_yxwang5db2_c6 33 kB/s | 1.5 kB 00:00 Amazon Linux 2023 repository - x86_64 9.9 kB/s | 3.6 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: go-rpm-macros x86_64 3.2.0-37.amzn2023 amazonlinux 35 k Installing dependencies: annobin-docs noarch 10.93-1.amzn2023.0.1 amazonlinux 92 k annobin-plugin-gcc x86_64 10.93-1.amzn2023.0.1 amazonlinux 887 k cpp x86_64 11.4.1-2.amzn2023.0.2 amazonlinux 10 M expat x86_64 2.6.2-1.amzn2023xwalker copr_base 120 k gc x86_64 8.0.4-5.amzn2023.0.2 amazonlinux 105 k gcc x86_64 11.4.1-2.amzn2023.0.2 amazonlinux 32 M glibc-devel x86_64 2.34-52.amzn2023.0.11 amazonlinux 27 k glibc-headers-x86 noarch 2.34-52.amzn2023.0.11 amazonlinux 427 k go-filesystem x86_64 3.2.0-37.amzn2023 amazonlinux 8.2 k golang x86_64 1.22.5-1.amzn2023.0.1 amazonlinux 661 k golang-bin x86_64 1.22.5-1.amzn2023.0.1 amazonlinux 26 M golang-src noarch 1.22.5-1.amzn2023.0.1 amazonlinux 11 M golist x86_64 0.10.1-11.amzn2023.0.3 amazonlinux 1.4 M guile22 x86_64 2.2.7-2.amzn2023.0.3 amazonlinux 6.4 M kernel-headers x86_64 6.1.109-118.189.amzn2023 amazonlinux 1.4 M libmpc x86_64 1.2.1-2.amzn2023.0.2 amazonlinux 62 k libtool-ltdl x86_64 2.4.7-1.amzn2023.0.3 amazonlinux 38 k libxcrypt-devel x86_64 4.4.33-7.amzn2023 amazonlinux 32 k make x86_64 1:4.3-5.amzn2023.0.2 amazonlinux 534 k python3 x86_64 3.9.16-1.amzn2023.0.9 amazonlinux 27 k python3-libs x86_64 3.9.16-1.amzn2023.0.9 amazonlinux 7.3 M python3-pip-wheel noarch 21.3.1-2.amzn2023.0.7 amazonlinux 1.1 M python3-setuptools-wheel noarch 59.6.0-2.amzn2023.0.5 amazonlinux 505 k tzdata noarch 2024a-1.amzn2023.0.1 amazonlinux 430 k Transaction Summary ================================================================================ Install 25 Packages Total download size: 101 M Installed size: 390 M Downloading Packages: (1/25): expat-2.6.2-1.amzn2023xwalker.x86_64.rp 1.2 MB/s | 120 kB 00:00 (2/25): annobin-docs-10.93-1.amzn2023.0.1.noarc 881 kB/s | 92 kB 00:00 (3/25): annobin-plugin-gcc-10.93-1.amzn2023.0.1 4.6 MB/s | 887 kB 00:00 (4/25): gc-8.0.4-5.amzn2023.0.2.x86_64.rpm 1.2 MB/s | 105 kB 00:00 (5/25): glibc-devel-2.34-52.amzn2023.0.11.x86_6 223 kB/s | 27 kB 00:00 (6/25): cpp-11.4.1-2.amzn2023.0.2.x86_64.rpm 30 MB/s | 10 MB 00:00 (7/25): glibc-headers-x86-2.34-52.amzn2023.0.11 3.4 MB/s | 427 kB 00:00 (8/25): go-filesystem-3.2.0-37.amzn2023.x86_64. 103 kB/s | 8.2 kB 00:00 (9/25): go-rpm-macros-3.2.0-37.amzn2023.x86_64. 430 kB/s | 35 kB 00:00 (10/25): golang-1.22.5-1.amzn2023.0.1.x86_64.rp 7.8 MB/s | 661 kB 00:00 (11/25): golang-src-1.22.5-1.amzn2023.0.1.noarc 31 MB/s | 11 MB 00:00 (12/25): gcc-11.4.1-2.amzn2023.0.2.x86_64.rpm 36 MB/s | 32 MB 00:00 (13/25): golist-0.10.1-11.amzn2023.0.3.x86_64.r 12 MB/s | 1.4 MB 00:00 (14/25): golang-bin-1.22.5-1.amzn2023.0.1.x86_6 39 MB/s | 26 MB 00:00 (15/25): guile22-2.2.7-2.amzn2023.0.3.x86_64.rp 46 MB/s | 6.4 MB 00:00 (16/25): kernel-headers-6.1.109-118.189.amzn202 10 MB/s | 1.4 MB 00:00 (17/25): libmpc-1.2.1-2.amzn2023.0.2.x86_64.rpm 980 kB/s | 62 kB 00:00 (18/25): libtool-ltdl-2.4.7-1.amzn2023.0.3.x86_ 3.3 MB/s | 38 kB 00:00 (19/25): libxcrypt-devel-4.4.33-7.amzn2023.x86_ 2.7 MB/s | 32 kB 00:00 (20/25): make-4.3-5.amzn2023.0.2.x86_64.rpm 30 MB/s | 534 kB 00:00 (21/25): python3-3.9.16-1.amzn2023.0.9.x86_64.r 2.4 MB/s | 27 kB 00:00 (22/25): python3-setuptools-wheel-59.6.0-2.amzn 8.4 MB/s | 505 kB 00:00 (23/25): python3-pip-wheel-21.3.1-2.amzn2023.0. 16 MB/s | 1.1 MB 00:00 (24/25): python3-libs-3.9.16-1.amzn2023.0.9.x86 69 MB/s | 7.3 MB 00:00 (25/25): tzdata-2024a-1.amzn2023.0.1.noarch.rpm 11 MB/s | 430 kB 00:00 -------------------------------------------------------------------------------- Total 60 MB/s | 101 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: golang-1.22.5-1.amzn2023.0.1.x86_64 1/1 Preparing : 1/1 Installing : libmpc-1.2.1-2.amzn2023.0.2.x86_64 1/25 Installing : cpp-11.4.1-2.amzn2023.0.2.x86_64 2/25 Installing : tzdata-2024a-1.amzn2023.0.1.noarch 3/25 Installing : python3-setuptools-wheel-59.6.0-2.amzn2023.0.5.noa 4/25 Installing : python3-pip-wheel-21.3.1-2.amzn2023.0.7.noarch 5/25 Installing : libtool-ltdl-2.4.7-1.amzn2023.0.3.x86_64 6/25 Installing : kernel-headers-6.1.109-118.189.amzn2023.x86_64 7/25 Installing : golist-0.10.1-11.amzn2023.0.3.x86_64 8/25 Installing : golang-src-1.22.5-1.amzn2023.0.1.noarch 9/25 Installing : go-filesystem-3.2.0-37.amzn2023.x86_64 10/25 Installing : glibc-headers-x86-2.34-52.amzn2023.0.11.noarch 11/25 Installing : libxcrypt-devel-4.4.33-7.amzn2023.x86_64 12/25 Installing : glibc-devel-2.34-52.amzn2023.0.11.x86_64 13/25 Installing : gc-8.0.4-5.amzn2023.0.2.x86_64 14/25 Installing : guile22-2.2.7-2.amzn2023.0.3.x86_64 15/25 Installing : make-1:4.3-5.amzn2023.0.2.x86_64 16/25 Installing : gcc-11.4.1-2.amzn2023.0.2.x86_64 17/25 Running scriptlet: gcc-11.4.1-2.amzn2023.0.2.x86_64 17/25 Installing : golang-1.22.5-1.amzn2023.0.1.x86_64 18/25 Installing : golang-bin-1.22.5-1.amzn2023.0.1.x86_64 19/25 Running scriptlet: golang-bin-1.22.5-1.amzn2023.0.1.x86_64 19/25 Installing : annobin-docs-10.93-1.amzn2023.0.1.noarch 20/25 Installing : expat-2.6.2-1.amzn2023xwalker.x86_64 21/25 Installing : python3-3.9.16-1.amzn2023.0.9.x86_64 22/25 Installing : python3-libs-3.9.16-1.amzn2023.0.9.x86_64 23/25 Installing : go-rpm-macros-3.2.0-37.amzn2023.x86_64 24/25 Installing : annobin-plugin-gcc-10.93-1.amzn2023.0.1.x86_64 25/25 Running scriptlet: annobin-plugin-gcc-10.93-1.amzn2023.0.1.x86_64 25/25 Verifying : expat-2.6.2-1.amzn2023xwalker.x86_64 1/25 Verifying : annobin-docs-10.93-1.amzn2023.0.1.noarch 2/25 Verifying : annobin-plugin-gcc-10.93-1.amzn2023.0.1.x86_64 3/25 Verifying : cpp-11.4.1-2.amzn2023.0.2.x86_64 4/25 Verifying : gc-8.0.4-5.amzn2023.0.2.x86_64 5/25 Verifying : gcc-11.4.1-2.amzn2023.0.2.x86_64 6/25 Verifying : glibc-devel-2.34-52.amzn2023.0.11.x86_64 7/25 Verifying : glibc-headers-x86-2.34-52.amzn2023.0.11.noarch 8/25 Verifying : go-filesystem-3.2.0-37.amzn2023.x86_64 9/25 Verifying : go-rpm-macros-3.2.0-37.amzn2023.x86_64 10/25 Verifying : golang-1.22.5-1.amzn2023.0.1.x86_64 11/25 Verifying : golang-bin-1.22.5-1.amzn2023.0.1.x86_64 12/25 Verifying : golang-src-1.22.5-1.amzn2023.0.1.noarch 13/25 Verifying : golist-0.10.1-11.amzn2023.0.3.x86_64 14/25 Verifying : guile22-2.2.7-2.amzn2023.0.3.x86_64 15/25 Verifying : kernel-headers-6.1.109-118.189.amzn2023.x86_64 16/25 Verifying : libmpc-1.2.1-2.amzn2023.0.2.x86_64 17/25 Verifying : libtool-ltdl-2.4.7-1.amzn2023.0.3.x86_64 18/25 Verifying : libxcrypt-devel-4.4.33-7.amzn2023.x86_64 19/25 Verifying : make-1:4.3-5.amzn2023.0.2.x86_64 20/25 Verifying : python3-3.9.16-1.amzn2023.0.9.x86_64 21/25 Verifying : python3-libs-3.9.16-1.amzn2023.0.9.x86_64 22/25 Verifying : python3-pip-wheel-21.3.1-2.amzn2023.0.7.noarch 23/25 Verifying : python3-setuptools-wheel-59.6.0-2.amzn2023.0.5.noa 24/25 Verifying : tzdata-2024a-1.amzn2023.0.1.noarch 25/25 Installed: annobin-docs-10.93-1.amzn2023.0.1.noarch annobin-plugin-gcc-10.93-1.amzn2023.0.1.x86_64 cpp-11.4.1-2.amzn2023.0.2.x86_64 expat-2.6.2-1.amzn2023xwalker.x86_64 gc-8.0.4-5.amzn2023.0.2.x86_64 gcc-11.4.1-2.amzn2023.0.2.x86_64 glibc-devel-2.34-52.amzn2023.0.11.x86_64 glibc-headers-x86-2.34-52.amzn2023.0.11.noarch go-filesystem-3.2.0-37.amzn2023.x86_64 go-rpm-macros-3.2.0-37.amzn2023.x86_64 golang-1.22.5-1.amzn2023.0.1.x86_64 golang-bin-1.22.5-1.amzn2023.0.1.x86_64 golang-src-1.22.5-1.amzn2023.0.1.noarch golist-0.10.1-11.amzn2023.0.3.x86_64 guile22-2.2.7-2.amzn2023.0.3.x86_64 kernel-headers-6.1.109-118.189.amzn2023.x86_64 libmpc-1.2.1-2.amzn2023.0.2.x86_64 libtool-ltdl-2.4.7-1.amzn2023.0.3.x86_64 libxcrypt-devel-4.4.33-7.amzn2023.x86_64 make-1:4.3-5.amzn2023.0.2.x86_64 python3-3.9.16-1.amzn2023.0.9.x86_64 python3-libs-3.9.16-1.amzn2023.0.9.x86_64 python3-pip-wheel-21.3.1-2.amzn2023.0.7.noarch python3-setuptools-wheel-59.6.0-2.amzn2023.0.5.noarch tzdata-2024a-1.amzn2023.0.1.noarch Complete! Finish: build setup for golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.src.rpm Start: rpmbuild golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1630540800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OduMmS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mxj-2.5.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/mxj-2.5.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mxj-2.5.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/mxj-2.5.5/vendor + [[ ! -e /builddir/build/BUILD/mxj-2.5.5/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/mxj-2.5.5/_build/bin install: creating directory '/builddir/build/BUILD/mxj-2.5.5/_build' install: creating directory '/builddir/build/BUILD/mxj-2.5.5/_build/bin' + export GOPATH=/builddir/build/BUILD/mxj-2.5.5/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/mxj-2.5.5/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/mxj-2.5.5/_build/src/github.com/clbanning/mxj ]] ++ dirname /builddir/build/BUILD/mxj-2.5.5/_build/src/github.com/clbanning/mxj + install -m 0755 -vd /builddir/build/BUILD/mxj-2.5.5/_build/src/github.com/clbanning install: creating directory '/builddir/build/BUILD/mxj-2.5.5/_build/src' install: creating directory '/builddir/build/BUILD/mxj-2.5.5/_build/src/github.com' install: creating directory '/builddir/build/BUILD/mxj-2.5.5/_build/src/github.com/clbanning' + ln -fs /builddir/build/BUILD/mxj-2.5.5 /builddir/build/BUILD/mxj-2.5.5/_build/src/github.com/clbanning/mxj + cd /builddir/build/BUILD/mxj-2.5.5/_build/src/github.com/clbanning/mxj + rm -rf deprecate/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aYE9W9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64 + cd mxj-2.5.5 + cd /builddir/build/BUILD/mxj-2.5.5/_build/src/github.com/clbanning/mxj + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/clbanning/mxj -b /builddir/build/BUILD/mxj-2.5.5/_build/bin -s /builddir/build/BUILD/mxj-2.5.5/_build -o golang-github-clbanning-mxj-devel.file-list -O /builddir/build/BUILD/mxj-2.5.5 -V 2.5.5-7.amzn2023xwalker -p /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/clbanning/mxj + IFS= +++ realpath -e --relative-base=. examples readme.md x2j-wrapper/README +++ sort -u ++ listfiles_include='examples readme.md x2j-wrapper/README' ++ echo 'examples readme.md x2j-wrapper/README' + godocs='examples readme.md x2j-wrapper/README' + [[ -n examples readme.md x2j-wrapper/README ]] + IFS= + read -r f + echo %doc '"examples"' + IFS= + read -r f + echo %doc '"readme.md"' + IFS= + read -r f + echo %doc '"x2j-wrapper/README"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE x2j-wrapper/LICENSE +++ sort -u ++ listfiles_include='LICENSE x2j-wrapper/LICENSE' ++ echo 'LICENSE x2j-wrapper/LICENSE' + golicenses='LICENSE x2j-wrapper/LICENSE' + [[ -n LICENSE x2j-wrapper/LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + echo %license '"x2j-wrapper/LICENSE"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-python-bytecompile '' 0 1 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.K2Kgzn + umask 022 + cd /builddir/build/BUILD + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh golang-github-clbanning-mxj 2.5.5-7.amzn2023xwalker x86_64 + cd mxj-2.5.5 + LDFLAGS=' -X github.com/clbanning/mxj/version=2.5.5' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mxj-2.5.5/.package_note-golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64.ld ' + go-rpm-integration check -i github.com/clbanning/mxj -b /builddir/build/BUILD/mxj-2.5.5/_build/bin -s /builddir/build/BUILD/mxj-2.5.5/_build -V 2.5.5-7.amzn2023xwalker -p /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/mxj-2.5.5/_build/src PATH: /builddir/build/BUILD/mxj-2.5.5/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/mxj-2.5.5/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/clbanning/mxj/version=2.5.5 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/mxj-2.5.5/.package_note-golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64.ld '" testing: github.com/clbanning/mxj github.com/clbanning/mxj ---------------- anyxml_test.go ... []->x: somevaluesomevaluesomevaluesomeothervaluestring3.14159265true a->x: trythis3.14159265true a->x: trythis3.14159265true f->x: 3.14159625 s->x: somevalue3.1415963 []->x: somevalue somevalue somevalue someothervalue string 3.14159265 true a->x: try this 3.14159265 true f->x: 3.14159625 f->x: 3.14159625 s->x: somevalue 3.1415963 ----------------- TestPrefixDefault ... ----------------- TestPrefixNoHyphen ... ----------------- TestPrefixUnderscore ... ----------------- TestPrefixAt ... ----------------- TestMarshalPrefixDefault ... a test a test ----------------- TestMarshalPrefixNoHyphen ... x: a test this is a test this is not ----------------- TestMarshalPrefixUnderscore ... a test a test ---------------- badxml_test.go TestBadXml ... m: map[Allitems:map[Item:[ map[description:Some description goes here. link:http://www.something.com]]]] m: Some description goes here.http://www.something.com TestBadXmlSeq ... m: map[Allitems:map[Item:[map[#seq:0 #text:] map[#seq:1 description:map[#seq:1 #text:Some description goes here.] link:map[#seq:0 #text:http://www.something.com]]]]] m: http://www.something.comSome description goes here. TestBadXmlReader ... m: map[Allitems:map[Item:[ map[description:Some description goes here. link:http://www.something.com]]]] m: Some description goes here.http://www.something.com TestBadXmlSeqReader ... m: map[Allitems:map[Item:[map[#seq:0 #text:] map[#seq:1 description:map[#seq:1 #text:Some description goes here.] link:map[#seq:0 #text:http://www.something.com]]]]] m: http://www.something.comSome description goes here. --------------- bom_test.go TestBom ... TestBomData ... m: map[Allitems:map[Item:[ map[description:Some description goes here. link:http://www.something.com]]]] m: Some description goes here.http://www.something.com TestBomDataSeq ... m: map[Allitems:map[Item:[map[#seq:0 #text:] map[#seq:1 description:map[#seq:1 #text:Some description goes here.] link:map[#seq:0 #text:http://www.something.com]]]]] m: http://www.something.comSome description goes here. TestBomDataReader ... m: map[Allitems:map[Item:[ map[description:Some description goes here. link:http://www.something.com]]]] m: Some description goes here.http://www.something.com TestBomDataSeqReader ... m: map[Allitems:map[Item:[map[#seq:0 #text:] map[#seq:1 description:map[#seq:1 #text:Some description goes here.] link:map[#seq:0 #text:http://www.something.com]]]]] m: http://www.something.comSome description goes here. ---------------- bulk_test.go ... XmlReader, xmldata: William H. Gaddis The Recognitions One of the seminal American novels of the 20th century. William H. Gaddis JR Won the National Book Award. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. XmlReader, result : { "book": { "author": "William H. Gaddis", "review": "One of the seminal American novels of the 20th century.", "title": "The Recognitions" } } { "book": { "author": "Austin Tappan Wright", "review": "An example of earlier 20th century American utopian fiction.", "title": "Islandia" } } { "book": { "author": "John Hawkes", "review": "A lyrical novel about the construction of Ft. Peck Dam in Montana.", "title": "The Beetle Leg" } } { "book": { "author": { "first_name": "T.E.", "last_name": "Porter" }, "review": "A magical novella.", "title": "King's Day" } } XmlReader, errors : [xmlReader: 2] xml.Decoder.Token() - XML syntax error on line 5: element closed by [xmlReader: 3] xml.Decoder.Token() - XML syntax error on line 2: unexpected end element JsonReader, jsondata: {"book":{"author":"William H. Gaddis","review":"One of the great seminal American novels of the 20th century.","title":"The Recognitions"}} {"book":{"author":"Austin Tappan Wright","review":"An example of earlier 20th century American utopian fiction.","title":"Islandia"}} {"book":{"author":"John Hawkes","review":"A lyrical novel about the construction of Ft. Peck Dam in Montana.","title":"The Beetle Leg"}} {"book":{"author":{"first_name":"T.E.","last_name":"Porter"},"review":"A magical novella.","title":"King's Day"}} { "here":"we", "put":"in", "an":error } JsonReader, result : William H. Gaddis One of the great seminal American novels of the 20th century. The Recognitions Austin Tappan Wright An example of earlier 20th century American utopian fiction. Islandia John Hawkes A lyrical novel about the construction of Ft. Peck Dam in Montana. The Beetle Leg T.E. Porter A magical novella. King's Day JsonReader, errors : [jsonReader: 5] invalid character 'e' looking for beginning of value ---------------- bulkraw_test.go ... XmlReaderRaw, xmldata: William H. Gaddis The Recognitions One of the seminal American novels of the 20th century. William H. Gaddis JR Won the National Book Award. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. XmlReaderRaw, result : { "book": { "author": "William H. Gaddis", "review": "One of the seminal American novels of the 20th century.", "title": "The Recognitions" } } { "book": { "author": "Austin Tappan Wright", "review": "An example of earlier 20th century American utopian fiction.", "title": "Islandia" } } { "book": { "author": "John Hawkes", "review": "A lyrical novel about the construction of Ft. Peck Dam in Montana.", "title": "The Beetle Leg" } } { "book": { "author": { "first_name": "T.E.", "last_name": "Porter" }, "review": "A magical novella.", "title": "King's Day" } } XmlReaderRaw, errors : [xmlReader: 2] xml.Decoder.Token() - XML syntax error on line 5: element closed by William H. Gaddis JR Won the National Book Award. [xmlReader: 3] xml.Decoder.Token() - XML syntax error on line 2: unexpected end element JsonReaderRaw, jsondata: {"book":{"author":"William H. Gaddis","review":"One of the great seminal American novels of the 20th century.","title":"The Recognitions"}} {"book":{"author":"Austin Tappan Wright","review":"An example of earlier 20th century American utopian fiction.","title":"Islandia"}} {"book":{"author":"John Hawkes","review":"A lyrical novel about the construction of Ft. Peck Dam in Montana.","title":"The Beetle Leg"}} {"book":{"author":{"first_name":"T.E.","last_name":"Porter"},"review":"A magical novella.","title":"King's Day"}} { "here":"we", "put":"in", "an":error } JsonReaderRaw, result : William H. Gaddis One of the great seminal American novels of the 20th century. The Recognitions Austin Tappan Wright An example of earlier 20th century American utopian fiction. Islandia John Hawkes A lyrical novel about the construction of Ft. Peck Dam in Montana. The Beetle Leg T.E. Porter A magical novella. King's Day JsonReaderRaw, errors : [jsonReader: 5] invalid character 'e' looking for beginning of value {"here":"we","put":"in","an":error} cast_test.go ---------- ------------ TestCastDefault ... mxj.Map{"doc":map[string]interface {}{"bool":map[string]interface {}{"T":"T", "f":"f", "false":"FALSE", "true":"true"}, "float":"3.14159625", "int":"2019", "string":"string"}} ------------ TestCastTrue ... mxj.Map{"doc":map[string]interface {}{"bool":map[string]interface {}{"T":true, "f":false, "false":false, "true":true}, "float":3.14159625, "int":2019, "string":"string"}} ------------ TestSetCheckTagToSkipFunc ... mxj.Map{"doc":map[string]interface {}{"bool":map[string]interface {}{"T":true, "f":false, "false":"FALSE", "true":true}, "float":3.14159625, "int":"2019", "string":"string"}} ------------ TestCastValuesToFloat(false) ... mxj.Map{"doc":map[string]interface {}{"bool":map[string]interface {}{"T":true, "f":false, "false":"FALSE", "true":true}, "float":"3.14159625", "int":"2019", "string":"string"}} ------------ TestCastValuesToBool(false) ... mxj.Map{"doc":map[string]interface {}{"bool":map[string]interface {}{"T":"T", "f":"f", "false":"FALSE", "true":"true"}, "float":3.14159625, "int":"2019", "string":"string"}} ================== TestEscapeChars s: "'<>& ss: "'<>& ================== TestXMLEscapeChars s: "'<>& m: "'<>& ================== TestXMLEscapeChars2 "'<>& map[doc:map[simple:map[#text:"'<>& _attr1:an attribute]]] mv: "'<>& ================== TestXMLSeqEscapeChars data: >0-2y m: map[doc:map[shortDescription:map[#seq:0 #text:>0-2y]]] m: >0-2y ================== TestXMLSeqEscapeChars2 data: >0-2y <10-15 m: map[doc:map[shortDescription:[map[#attr:map[test:map[#seq:0 #text:&something here]] #seq:0 #text:>0-2y] map[#attr:map[quote:map[#seq:1 #text:"] test:map[#seq:0 #text:something there]] #seq:1 #text:<10-15]]]] m: >0-2y <10-15 ------------ exists_test.go ---------------- files_test.go ... NewMapsFromJsonFile() map[a:test file:for files_test.go:case this:is] map[JSON:values true:true two:2 with:just] caught error: stat nil: no such file or directory caught error: error: invalid character 'J' looking for beginning of value - reading: {"with":"some","bad":JSON,"in":"it"} NewMapsFromJsonFileRaw() {map[a:test file:for files_test.go:case this:is] [123 34 116 104 105 115 34 58 34 105 115 34 44 34 97 34 58 34 116 101 115 116 34 44 34 102 105 108 101 34 58 34 102 111 114 34 44 34 102 105 108 101 115 95 116 101 115 116 46 103 111 34 58 34 99 97 115 101 34 125]} {map[JSON:values true:true two:2 with:just] [123 34 119 105 116 104 34 58 34 106 117 115 116 34 44 34 116 119 111 34 58 50 44 34 74 83 79 78 34 58 34 118 97 108 117 101 115 34 44 34 116 114 117 101 34 58 116 114 117 101 125]} caught error: stat nil: no such file or directory caught error: error: invalid character 'J' looking for beginning of value - reading: {"with":"some","bad":JSON,"in":"it"} NewMapsFromXmlFile() map[doc:map[data:for files.go some:test]] map[msg:map[another:doc for:test case just:some]] caught error: stat nil: no such file or directory caught error: error: xml.Decoder.Token() - XML syntax error on line 4: element closed by - reading: some doc NewMapsFromXmlFileRaw() {map[doc:map[data:for files.go some:test]] [60 100 111 99 62 10 9 60 115 111 109 101 62 116 101 115 116 60 47 115 111 109 101 62 10 9 60 100 97 116 97 62 102 111 114 32 102 105 108 101 115 46 103 111 60 47 100 97 116 97 62 10 60 47 100 111 99 62]} {map[msg:map[another:doc for:test case just:some]] [10 60 109 115 103 62 10 9 60 106 117 115 116 62 115 111 109 101 60 47 106 117 115 116 62 10 9 60 97 110 111 116 104 101 114 62 100 111 99 60 47 97 110 111 116 104 101 114 62 10 9 60 102 111 114 62 116 101 115 116 32 99 97 115 101 60 47 102 111 114 62 10 60 47 109 115 103 62]} caught error: stat nil: no such file or directory caught error: error: xml.Decoder.Token() - XML syntax error on line 4: element closed by - reading: some doc TestMaps() mvs: [map[a:test this:is] map[a:test this:is]] JsonString(): {"a":"test","this":"is"}{"a":"test","this":"is"} JsonStringIndent(): { "a": "test", "this": "is" } { "a": "test", "this": "is" } XmlString(): testistestis XmlStringIndent(): test is test is map[a:test file:for files_test.go:case this:is] map[JSON:values true:true two:2 with:just] files_test_dup.json written files_test_indent.json written map[doc:map[data:for files.go some:test]] map[msg:map[another:doc for:test case just:some]] files_test_dup.xml written files_test_indent.xml written ---------------- gob_test.go ... m: map[five:map[hi:there] four:[1 2 3 4] one:1 three:tres two:2.0001] m: map[five:map[hi:there] four:[1 2 3 4] one:1 three:tres two:2.0001] mv: map[five:map[hi:there] four:[1 2 3 4] one:1 three:tres two:2.0001] m : map[five:map[hi:there] four:[1 2 3 4] one:1 three:tres two:2.0001] ================== TestXmlCheckIsValid map[:empty $invalid:hex$ entities:<>& nil:] map[$invalid:hex$ entities:<>& nil:] map[entities:<>& nil:] map[nil:] map[doc:map[elem:map[#seq:0 #text:element]]] ---------------- j2x_test .go ... j2x, jdata: { "key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":null } j2x, m : map[key1:string key2:34 key3:true key4:unsafe: <>& key5:] j2x, xml : string34trueunsafe: <>& ---------------- json_test.go ... NewMapJson, jdata: { "key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":null } NewMapJson, m : mxj.Map{"key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":interface {}(nil)} NewMapJson, jdata: { "key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":null } NewMapJson, m : mxj.Map{"key1":"string", "key2":"34", "key3":true, "key4":"unsafe: <>&", "key5":interface {}(nil)} NewMapJsonError, jdata : { "key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":null NewMapJsonError, merror: unexpected EOF NewMapJsonError, newData : { "this":"is", "in":error } NewMapJsonError, merror : invalid character 'e' looking for beginning of value NewMapJsonReader, jb: {"key1":"string","key2":34,"key3":true,"key4":"unsafe: <>&"} NewMapJsonReader, m : mxj.Map{"key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&"} NewMapJsonReader, jb: {"key":"value in new JSON string"} NewMapJsonReader, m : mxj.Map{"key":"value in new JSON string"} NewMapJsonReader, jb: {"key1":"string","key2":34,"key3":true,"key4":"unsafe: <>&"} NewMapJsonReader, m : mxj.Map{"key1":"string", "key2":"34", "key3":true, "key4":"unsafe: <>&"} NewMapJsonReader, jb: {"key":"value in new JSON string"} NewMapJsonReader, m : mxj.Map{"key":"value in new JSON string"} Json, jdata: { "key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":null } Json, j : {"key1":"string","key2":34,"key3":true,"key4":"unsafe: <>&","key5":null} Json, j safe: {"key1":"string","key2":34,"key3":true,"key4":"unsafe: \u003c\u003e\u0026","key5":null} JsonWriter, raw: {"and":"a","bool":true,"float":3.14159,"this":"is a"} JsonWriter, b : {"and":"a","bool":true,"float":3.14159,"this":"is a"} -------------- keystolower_test.go TestToLower ... ----------- TestSetSubkeyFieldSeparator ---------------- keyvalues_test.go ... PathsForKey, doc1 ... PathsForKey, doc1#author ... ss: [doc.books.book.author] PathsForKey, doc1#books ... ss: [doc.books] PathsForKey, doc2 ... PathForKey, doc2#book ... ss: [doc.book doc.books.book] PathForKeyShortest, doc2#book ... s : doc.book ValuesForKey ... ValuesForKey, doc1#author ... ss.v: William T. Gaddis ... ss.v: Austin Tappan Wright ... ss.v: John Hawkes ... ss.v: map[first_name:T.E. last_name:Porter] ValuesForKey, doc1#book ... ss.v: map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] ... ss.v: map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ... ss.v: map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] ValuesForKey, doc1#book,-seq:3 ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ValuesForKey, doc1#book, author:William T. Gaddis ... ss.v: map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] ValuesForKey, doc1#author, -seq:1 ValuesForPath ... ValuesForPath, doc.books.book.author ... ss.v: William T. Gaddis ... ss.v: Austin Tappan Wright ... ss.v: John Hawkes ... ss.v: map[first_name:T.E. last_name:Porter] ValuesForPath, doc.books.book ... ss.v: map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] ... ss.v: map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ... ss.v: map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] ValuesForPath, doc.books.book -seq=3 ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ValuesForPath, doc.books.* -seq=3 ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ValuesForPath, doc.*.* -seq=3 ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ValuesForNotKey ... ValuesForPath, doc.books.book !author:William T. Gaddis ... ss.v: map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ... ss.v: map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] ValuesForPath, doc.books.book !author:* ValuesForPath, doc.books.book !unknown:* ... ss.v: map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] ... ss.v: map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ... ss.v: map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] ---------------- indexedarray_test.go ... j_data: { "stuff":[ { "data":[ { "F":1 }, { "F":2 }, { "F":3 } ] }, { "data":[ 4, 5, 6 ] } ] } m: map[stuff:[map[data:[map[F:1] map[F:2] map[F:3]]] map[data:[4 5 6]]]] stuff[0]: [map[data:[map[F:1] map[F:2] map[F:3]]]] stuff.data: [map[F:1] map[F:2] map[F:3] 4 5 6] stuff[0].data: [map[F:1] map[F:2] map[F:3]] stuff.data[0]: [map[F:1] 4] stuff.*[2]: [map[F:3] 6] stuff.data.F: [1 2 3] *.*.F: [1 2 3] stuff.data[0].F: [1] stuff.data[1].F: [2] stuff[0].data[2]: [map[F:3]] stuff[1].data[1]: [5] stuff[1].data[1].F [] stuff[1].data.F: [] x_data: 1 2 3 4 5 6 m: map[doc:map[stuff:[map[data:[map[-seq:1.1 F:1] map[-seq:1.2 F:2] map[-seq:1.3 F:3]]] map[data:[map[-seq:2.1 F:4] map[-seq:2.2 F:5] map[-seq:2.3 F:6]]]]]] doc.stuff[0]: [map[data:[map[-seq:1.1 F:1] map[-seq:1.2 F:2] map[-seq:1.3 F:3]]]] doc.stuff.data[0]: [map[-seq:1.1 F:1] map[-seq:2.1 F:4]] doc.stuff.data[0] -seq:2.1: [map[-seq:2.1 F:4]] doc.stuff.data[0].F: [1 4] doc.stuff[0].data[2]: [map[-seq:1.3 F:3]] doc.stuff[1].data[1].F: [5] ak_data: { "section1":{"data" : [{"F1" : "F1 data","F2" : "F2 data"},{"F1" : "demo 123","F2" : "abc xyz"}]}} m: map[section1:map[data:[map[F1:F1 data F2:F2 data] map[F1:demo 123 F2:abc xyz]]]] section1.data[0].F1: [F1 data] ---------------- leafnode_test.go ... json1-LeafNodes: mxj.LeafNode{Path:"friends[0].skills[0]", Value:44} mxj.LeafNode{Path:"friends[0].skills[1]", Value:12} json1-LeafPaths: "friends[0].skills[0]" "friends[0].skills[1]" json2-LeafNodes: mxj.LeafNode{Path:"friends.skills[0]", Value:44} mxj.LeafNode{Path:"friends.skills[1]", Value:12} json1-LeafValues: 44 12 json3-LeafNodes: mxj.LeafNode{Path:"a", Value:"list"} mxj.LeafNode{Path:"of[0]", Value:"data"} mxj.LeafNode{Path:"of[1]", Value:"of"} mxj.LeafNode{Path:"of[2]", Value:3} mxj.LeafNode{Path:"of[3]", Value:"types"} mxj.LeafNode{Path:"of[4]", Value:true} json3-LeafValues: "list" "data" "of" 3 "types" true json3-LeafPaths: "a" "of[0]" "of[1]" "of[2]" "of[3]" "of[4]" xml2data2-LeafValues: mxj.LeafNode{Path:"doc.item[0].-num", Value:"2"} mxj.LeafNode{Path:"doc.item[0].-color", Value:"blue"} mxj.LeafNode{Path:"doc.item[0].#text", Value:"Item 2 is blue"} mxj.LeafNode{Path:"doc.item[1].-num", Value:"3"} mxj.LeafNode{Path:"doc.item[1].-color", Value:"green"} mxj.LeafNode{Path:"doc.item[1].arm[0].-side", Value:"left"} mxj.LeafNode{Path:"doc.item[1].arm[0].-length", Value:"3.5"} mxj.LeafNode{Path:"doc.item[1].arm[1].-side", Value:"right"} mxj.LeafNode{Path:"doc.item[1].arm[1].-length", Value:"3.6"} xml2data2-LeafValues(NoAttributes): mxj.LeafNode{Path:"doc.item[0]", Value:"Item 2 is blue"} no-hyphen-xml2data2-LeafValues: mxj.LeafNode{Path:"doc.item[0].color", Value:"blue"} mxj.LeafNode{Path:"doc.item[0].#text", Value:"Item 2 is blue"} mxj.LeafNode{Path:"doc.item[0].num", Value:"2"} mxj.LeafNode{Path:"doc.item[1].num", Value:"3"} mxj.LeafNode{Path:"doc.item[1].color", Value:"green"} mxj.LeafNode{Path:"doc.item[1].arm[0].length", Value:"3.5"} mxj.LeafNode{Path:"doc.item[1].arm[0].side", Value:"left"} mxj.LeafNode{Path:"doc.item[1].arm[1].side", Value:"right"} mxj.LeafNode{Path:"doc.item[1].arm[1].length", Value:"3.6"} no-hyphen-xml2data2-LeafValues(NoAttributes): mxj.LeafNode{Path:"doc.item[0].num", Value:"2"} mxj.LeafNode{Path:"doc.item[0].color", Value:"blue"} mxj.LeafNode{Path:"doc.item[0]", Value:"Item 2 is blue"} mxj.LeafNode{Path:"doc.item[1].num", Value:"3"} mxj.LeafNode{Path:"doc.item[1].color", Value:"green"} mxj.LeafNode{Path:"doc.item[1].arm[0].side", Value:"left"} mxj.LeafNode{Path:"doc.item[1].arm[0].length", Value:"3.5"} mxj.LeafNode{Path:"doc.item[1].arm[1].side", Value:"right"} mxj.LeafNode{Path:"doc.item[1].arm[1].length", Value:"3.6"} DotNotation-LeafValues: mxj.LeafNode{Path:"doc.item.0.-num", Value:"2"} mxj.LeafNode{Path:"doc.item.0.-color", Value:"blue"} mxj.LeafNode{Path:"doc.item.0.#text", Value:"Item 2 is blue"} mxj.LeafNode{Path:"doc.item.1.-num", Value:"3"} mxj.LeafNode{Path:"doc.item.1.-color", Value:"green"} mxj.LeafNode{Path:"doc.item.1.arm.0.-side", Value:"left"} mxj.LeafNode{Path:"doc.item.1.arm.0.-length", Value:"3.5"} mxj.LeafNode{Path:"doc.item.1.arm.1.-side", Value:"right"} mxj.LeafNode{Path:"doc.item.1.arm.1.-length", Value:"3.6"} ------------------ misc_test.go ... ---------------- mxj_test.go ... TestMap, m: mxj.Map{"key":"value", "newkey":map[string]interface {}{"bool":true, "float":3.14159, "listkey":[]interface {}{3.1415962535, false, "for all good men"}, "string":"Now is the time"}} TestMap, StringIndent - key : [string] value newkey : bool : [bool] true float : [float64] 3.14159 listkey : [[]interface{}] [float64] 3.1415962535 [bool] false [string] for all good men string : [string] Now is the time TestMap, StringIndent NoTypeInfo - key : value newkey : bool : true float : 3.14159 listkey : 3.1415962535 false for all good men string : Now is the time TestMap, m_fromXML: mxj.Map{"doc":map[string]interface {}{"tag":map[string]interface {}{"sub_tag1":"Hello", "sub_tag2":"World"}}} TestMap, StringIndent - doc : tag : sub_tag1 : [string] Hello sub_tag2 : [string] World TestMap, StringIndent NoTypeInfo - doc : tag : sub_tag1 : Hello sub_tag2 : World TestMap, m.Copy() - map[doc:map[tag:map[sub_tag1:Hello sub_tag2:World]]] ---------------- namespace_test.go ... ---------------- TestBeautifyXml ... 123John Brown 123 John Brown ------------ TestNan ... foo.bar: NAN foo.bar: INF foo.bar: -INF foo.bar: NaN ---------------- newmap_test.go ... j: { "A":"this", "B":"is", "C":"a", "D":"test" } m: mxj.Map{"A":"this", "B":"is", "C":"a", "D":"test"} eval - m.NewMap("A:AA", "B:BB", "C:cc", "D:help") n.Json(): {"AA":"this","BB":"is","cc":"a","help":"test"} n.Xml(): thisisatest n.XmlIndent(): this is a test eval - m.NewMap("A:AA.A", "B:AA.B", "C:AA.B.cc", "D:hello.help") n.Json(): {"AA":{"A":"this","B":["is",{"cc":"a"}]},"hello":{"help":"test"}} n.Xml(): thisisatest n.XmlIndent(): this is a test eval - m.NewMap keypairs: [A:xml.AA B:xml.AA.hello.again C:xml.AA D:xml.AA.hello.help] n.Json(): {"xml":{"AA":["this",{"hello":{"again":"is","help":"test"}},"a"]}} n.Xml(): thisistesta n.XmlIndent(): this is test a original value: no default:text default:word new value: no default:text default:word original value: yes default:text default:word new value: yes default:text default:word ------------ rename_test.go ---------------- seqnum_test.go ... m1: mxj.Map{"Obj":map[string]interface {}{"-c":"la", "-h":"da", "-x":"dee", "IntObj":[]interface {}{map[string]interface {}{"-id":3, "_seq":0}, map[string]interface {}{"-id":2, "_seq":2}}, "IntObj1":map[string]interface {}{"-id":1, "_seq":1}}} { "Obj": { "-c": "la", "-h": "da", "-x": "dee", "IntObj": [ { "-id": 3, "_seq": 0 }, { "-id": 2, "_seq": 2 } ], "IntObj1": { "-id": 1, "_seq": 1 } } } m2: mxj.Map{"Obj":map[string]interface {}{"-c":"la", "-h":"da", "-x":"dee", "IntObj":[]interface {}{map[string]interface {}{"-id":3, "_seq":0}, map[string]interface {}{"-id":2, "_seq":2}}, "NewObj":map[string]interface {}{"BoolObj":map[string]interface {}{"#text":true, "_seq":2}, "StringObj":map[string]interface {}{"#text":"hello", "_seq":1}, "_seq":1, "id":map[string]interface {}{"#text":1, "_seq":0}}}} { "Obj": { "-c": "la", "-h": "da", "-x": "dee", "IntObj": [ { "-id": 3, "_seq": 0 }, { "-id": 2, "_seq": 2 } ], "NewObj": { "BoolObj": { "#text": true, "_seq": 2 }, "StringObj": { "#text": "hello", "_seq": 1 }, "_seq": 1, "id": { "#text": 1, "_seq": 0 } } } } ----------- TestSnakeCase ----------------- TestStrictModeXml ... m: map[document:map[goes_by: lang:E name:Bill & Hallett salute:Duc & 123xx]] ----------------- TestStrictModeXmlSeq ... m: map[document:map[goes_by:map[#seq:2 #text:] lang:map[#seq:3 #text:E] name:map[#seq:0 #text:Bill & Hallett] salute:map[#seq:1 #text:Duc & 123xx]]] ----------------- TestStrictFail ... OK ---------------- struct_test.go ... Struct, m: mxj.Map{"bool":true, "float":3.14159, "int":4, "private":"Somewhere over the rainbow", "str":"now's the time"} Struct, s: mxj.str{IntVal:4, StrVal:"now's the time", FloatVal:3.14159, BoolVal:true, private:""} StructError, mverr: mv.Struct() error: argument is not type Ptr ----------------- structvalue_test.go ... ---------------- updatevalues_test.go ... m: map[doc:map[books:map[book:[map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]]]]] v: William T. Gaddis v: Austin Tappan Wright v: John Hawkes v: map[first_name:T.E. last_name:Porter] m.UpdateValuesForPath("author:NoName", "doc.books.book.author") 4 updates v: NoName v: NoName v: NoName v: NoName m.UpdateValuesForPath("author:William Gadddis", "doc.books.book.author", "title:The Recognitions") 4 updates v: William Gadddis v: Austin Tappen Wright v: John Hawkes v: T. E. Porter m.UpdateValuesForPath("author:William T. Gaddis", "doc.books.book.*", "title:The Recognitions") 1 updates v: William T. Gaddis v: Austin Tappen Wright v: John Hawkes v: T. E. Porter m.UpdateValuesForPath("title:The Cannibal", "doc.books.book.title", "author:John Hawkes") 2 updates v: map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] v: map[-seq:2 author:Austin Tappen Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] v: map[-seq:3 author:John Hawkes review:A novel on his experiences in WWII. title:The Cannibal] v: map[-seq:4 author:T. E. Porter review:A magical novella. title:King's Day] m.UpdateValuesForPath("books:", "doc.books") 1 updates m: map[doc:map[books:]] m.UpdateValuesForPath(mm, "*") 1 updates m: map[doc:map[books:map[book:[map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]]]]] newDoc: simple element m: map[tag:map[#text:simple element -color:green -shape:square]] m.UpdateValuesForPath("#text:maybe not so simple element", "tag") n: 1 m: map[tag:map[#text:maybe not so simple element -color:green -shape:square]] m.UpdateValuesForPath("#text:simple element again", "*") n: 1 m: map[tag:map[#text:simple element again -color:green -shape:square]] biblio : author : [[]interface{}] books : book : [[]interface{}] date : [string] 1955 review : [string] A novel that changed the face of American literature. title : [string] The Recognitions date : [string] 1975 review : [string] Winner of National Book Award for Fiction. title : [string] JR name : [string] William Gaddis books : book : [[]interface{}] date : [string] 1949 review : [string] A novel on his experiences in WWII. title : [string] The Cannibal date : [string] 1951 review : [string] A lyrical novel about the construction of Ft. Peck Dam in Montana. title : [string] The Beetle Leg date : [string] 1970 review : [string] Where everyone wants to vacation. title : [string] The Blood Oranges name : [string] John Hawkes m.UpdateValuesForPath("review:National Book Award winner.", "*.*.*.*", "title:JR") 1 updates v: map[books:map[book:[map[date:1955 review:A novel that changed the face of American literature. title:The Recognitions] map[date:1975 review:National Book Award winner. title:JR]]] name:William Gaddis] m.UpdateValuesForPath(newVal, path, oldVal) 5 updates biblio : author : [[]interface{}] books : book : [[]interface{}] date : [float64] 1955 review : [string] A novel that changed the face of American literature. title : [string] The Recognitions date : [float64] 1975 review : [string] National Book Award winner. title : [string] JR name : [string] William Gaddis books : book : [[]interface{}] date : [float64] 1949 review : [string] A novel on his experiences in WWII. title : [string] The Cannibal date : [float64] 1951 review : [string] A lyrical novel about the construction of Ft. Peck Dam in Montana. title : [string] The Beetle Leg date : [float64] 1970 review : [string] Where everyone wants to vacation. title : [string] The Blood Oranges name : [string] John Hawkes ---------------- xml2_test.go ... NewMapXml4, x: William T. Gaddis The Recognitions One of the great seminal American novels of the 20th century. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. NewMapXml4, m: map[doc:map[books:map[book:[map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]]]]] NewMapXml4, s: doc : books : book : [[]interface{}] -seq : [string] 1 author : [string] William T. Gaddis review : [string] One of the great seminal American novels of the 20th century. title : [string] The Recognitions -seq : [string] 2 author : [string] Austin Tappan Wright review : [string] An example of earlier 20th century American utopian fiction. title : [string] Islandia -seq : [string] 3 author : [string] John Hawkes review : [string] A lyrical novel about the construction of Ft. Peck Dam in Montana. title : [string] The Beetle Leg -seq : [string] 4 author : first_name : [string] T.E. last_name : [string] Porter review : [string] A magical novella. title : [string] King's Day NewMapXml4, b: William T. Gaddis One of the great seminal American novels of the 20th century. The Recognitions Austin Tappan Wright An example of earlier 20th century American utopian fiction. Islandia John Hawkes A lyrical novel about the construction of Ft. Peck Dam in Montana. The Beetle Leg T.E. Porter A magical novella. King's Day NewMapXml5, raw: help me! Henry was a renegade Didn't like to play it safe One component at a time There's got to be a better way Oh, people came from miles around Searching for a steady job Welcome to the Motor Town Booming like an atom bomb Oh, Henry was the end of the story Then everything went wrong And we'll return it to its former glory But it just takes so long It's going to take a long time It's going to take it, but we'll make it one day It's going to take a long time It's going to take it, but we'll make it one day NewMapXml5, m: map[msg:map[-mpriority:1 -mtype:alert song:map[-author:Mayer Hawthorne -title:A Long Time chorus:map[line:[map[#text:It's going to take a long time -no:1] map[#text:It's going to take it, but we'll make it one day -no:2] map[#text:It's going to take a long time -no:3] map[#text:It's going to take it, but we'll make it one day -no:4]]] verses:map[verse:[map[-name:verse 1 -no:1 line:[map[#text:Henry was a renegade -no:1] map[#text:Didn't like to play it safe -no:2] map[#text:One component at a time -no:3] map[#text:There's got to be a better way -no:4] map[#text:Oh, people came from miles around -no:5] map[#text:Searching for a steady job -no:6] map[#text:Welcome to the Motor Town -no:7] map[#text:Booming like an atom bomb -no:8]]] map[-name:verse 2 -no:2 line:[map[#text:Oh, Henry was the end of the story -no:1] map[#text:Then everything went wrong -no:2] map[#text:And we'll return it to its former glory -no:3] map[#text:But it just takes so long -no:4]]]]]] text:help me!]] NewMapXml5, s: msg : -mpriority : [string] 1 -mtype : [string] alert song : -author : [string] Mayer Hawthorne -title : [string] A Long Time chorus : line : [[]interface{}] #text : [string] It's going to take a long time -no : [string] 1 #text : [string] It's going to take it, but we'll make it one day -no : [string] 2 #text : [string] It's going to take a long time -no : [string] 3 #text : [string] It's going to take it, but we'll make it one day -no : [string] 4 verses : verse : [[]interface{}] -name : [string] verse 1 -no : [string] 1 line : [[]interface{}] #text : [string] Henry was a renegade -no : [string] 1 #text : [string] Didn't like to play it safe -no : [string] 2 #text : [string] One component at a time -no : [string] 3 #text : [string] There's got to be a better way -no : [string] 4 #text : [string] Oh, people came from miles around -no : [string] 5 #text : [string] Searching for a steady job -no : [string] 6 #text : [string] Welcome to the Motor Town -no : [string] 7 #text : [string] Booming like an atom bomb -no : [string] 8 -name : [string] verse 2 -no : [string] 2 line : [[]interface{}] #text : [string] Oh, Henry was the end of the story -no : [string] 1 #text : [string] Then everything went wrong -no : [string] 2 #text : [string] And we'll return it to its former glory -no : [string] 3 #text : [string] But it just takes so long -no : [string] 4 text : [string] help me! NewMapXml5, b: It's going to take a long timeIt's going to take it, but we'll make it one dayIt's going to take a long timeIt's going to take it, but we'll make it one dayHenry was a renegadeDidn't like to play it safeOne component at a timeThere's got to be a better wayOh, people came from miles aroundSearching for a steady jobWelcome to the Motor TownBooming like an atom bombOh, Henry was the end of the storyThen everything went wrongAnd we'll return it to its former gloryBut it just takes so longhelp me! NewMapXml5, b: It's going to take a long time It's going to take it, but we'll make it one day It's going to take a long time It's going to take it, but we'll make it one day Henry was a renegade Didn't like to play it safe One component at a time There's got to be a better way Oh, people came from miles around Searching for a steady job Welcome to the Motor Town Booming like an atom bomb Oh, Henry was the end of the story Then everything went wrong And we'll return it to its former glory But it just takes so long help me! NewMapXml6, raw: Code Review - My issueshttp://codereview.appspot.com/rietveld<>rietveld: an attempt at pubsubhubbub 2009-10-04T01:35:58+00:00email-address-removedurn:md5:134d9179c41f806be79b3a5f7877d19a An attempt at adding pubsubhubbub support to Rietveld. http://code.google.com/p/pubsubhubbub http://code.google.com/p/rietveld/issues/detail?id=155 The server side of the protocol is trivial: 1. add a &lt;link rel=&quot;hub&quot; href=&quot;hub-server&quot;&gt; tag to all feeds that will be pubsubhubbubbed. 2. every time one of those feeds changes, tell the hub with a simple POST request. I have tested this by adding debug prints to a local hub server and checking that the server got the right publish requests. I can&#39;t quite get the server to work, but I think the bug is not in my code. I think that the server expects to be able to grab the feed and see the feed&#39;s actual URL in the link rel=&quot;self&quot;, but the default value for that drops the :port from the URL, and I cannot for the life of me figure out how to get the Atom generator deep inside django not to do that, or even where it is doing that, or even what code is running to generate the Atom feed. (I thought I knew but I added some assert False statements and it kept running!) Ignoring that particular problem, I would appreciate feedback on the right way to get the two values at the top of feeds.py marked NOTE(rsc). rietveld: correct tab handling 2009-10-03T23:02:17+00:00email-address-removedurn:md5:0a2a4f19bb815101f0ba2904aed7c35a This fixes the buggy tab rendering that can be seen at http://codereview.appspot.com/116075/diff/1/2 The fundamental problem was that the tab code was not being told what column the text began in, so it didn&#39;t know where to put the tab stops. Another problem was that some of the code assumed that string byte offsets were the same as column offsets, which is only true if there are no tabs. In the process of fixing this, I cleaned up the arguments to Fold and ExpandTabs and renamed them Break and _ExpandTabs so that I could be sure that I found all the call sites. I also wanted to verify that ExpandTabs was not being used from outside intra_region_diff.py. NewMapXml6, m: map[feed:map[-lang:en-us -updated:2009-10-04T01:35:58+00:00 -xmlns:http://www.w3.org/2005/Atom author:map[name:rietveld<>] entry:[map[author:map[name:email-address-removed] id:urn:md5:134d9179c41f806be79b3a5f7877d19a link:map[-href:http://codereview.appspot.com/126085 -rel:alternate] summary:map[#text:An attempt at adding pubsubhubbub support to Rietveld. http://code.google.com/p/pubsubhubbub http://code.google.com/p/rietveld/issues/detail?id=155 The server side of the protocol is trivial: 1. add a <link rel="hub" href="hub-server"> tag to all feeds that will be pubsubhubbubbed. 2. every time one of those feeds changes, tell the hub with a simple POST request. I have tested this by adding debug prints to a local hub server and checking that the server got the right publish requests. I can't quite get the server to work, but I think the bug is not in my code. I think that the server expects to be able to grab the feed and see the feed's actual URL in the link rel="self", but the default value for that drops the :port from the URL, and I cannot for the life of me figure out how to get the Atom generator deep inside django not to do that, or even where it is doing that, or even what code is running to generate the Atom feed. (I thought I knew but I added some assert False statements and it kept running!) Ignoring that particular problem, I would appreciate feedback on the right way to get the two values at the top of feeds.py marked NOTE(rsc). -type:html] title:rietveld: an attempt at pubsubhubbub updated:2009-10-04T01:35:58+00:00] map[author:map[name:email-address-removed] id:urn:md5:0a2a4f19bb815101f0ba2904aed7c35a link:map[-href:http://codereview.appspot.com/124106 -rel:alternate] summary:map[#text:This fixes the buggy tab rendering that can be seen at http://codereview.appspot.com/116075/diff/1/2 The fundamental problem was that the tab code was not being told what column the text began in, so it didn't know where to put the tab stops. Another problem was that some of the code assumed that string byte offsets were the same as column offsets, which is only true if there are no tabs. In the process of fixing this, I cleaned up the arguments to Fold and ExpandTabs and renamed them Break and _ExpandTabs so that I could be sure that I found all the call sites. I also wanted to verify that ExpandTabs was not being used from outside intra_region_diff.py. -type:html] title:rietveld: correct tab handling updated:2009-10-03T23:02:17+00:00]] id:http://codereview.appspot.com/ link:[map[-href:http://codereview.appspot.com/ -rel:alternate] map[-href:http://codereview.appspot.com/rss/mine/rsc -rel:self]] title:Code Review - My issues]] NewMapXml6, s: feed : -lang : [string] en-us -updated : [string] 2009-10-04T01:35:58+00:00 -xmlns : [string] http://www.w3.org/2005/Atom author : name : [string] rietveld<> entry : [[]interface{}] author : name : [string] email-address-removed id : [string] urn:md5:134d9179c41f806be79b3a5f7877d19a link : -href : [string] http://codereview.appspot.com/126085 -rel : [string] alternate summary : #text : [string] An attempt at adding pubsubhubbub support to Rietveld. http://code.google.com/p/pubsubhubbub http://code.google.com/p/rietveld/issues/detail?id=155 The server side of the protocol is trivial: 1. add a <link rel="hub" href="hub-server"> tag to all feeds that will be pubsubhubbubbed. 2. every time one of those feeds changes, tell the hub with a simple POST request. I have tested this by adding debug prints to a local hub server and checking that the server got the right publish requests. I can't quite get the server to work, but I think the bug is not in my code. I think that the server expects to be able to grab the feed and see the feed's actual URL in the link rel="self", but the default value for that drops the :port from the URL, and I cannot for the life of me figure out how to get the Atom generator deep inside django not to do that, or even where it is doing that, or even what code is running to generate the Atom feed. (I thought I knew but I added some assert False statements and it kept running!) Ignoring that particular problem, I would appreciate feedback on the right way to get the two values at the top of feeds.py marked NOTE(rsc). -type : [string] html title : [string] rietveld: an attempt at pubsubhubbub updated : [string] 2009-10-04T01:35:58+00:00 author : name : [string] email-address-removed id : [string] urn:md5:0a2a4f19bb815101f0ba2904aed7c35a link : -href : [string] http://codereview.appspot.com/124106 -rel : [string] alternate summary : #text : [string] This fixes the buggy tab rendering that can be seen at http://codereview.appspot.com/116075/diff/1/2 The fundamental problem was that the tab code was not being told what column the text began in, so it didn't know where to put the tab stops. Another problem was that some of the code assumed that string byte offsets were the same as column offsets, which is only true if there are no tabs. In the process of fixing this, I cleaned up the arguments to Fold and ExpandTabs and renamed them Break and _ExpandTabs so that I could be sure that I found all the call sites. I also wanted to verify that ExpandTabs was not being used from outside intra_region_diff.py. -type : [string] html title : [string] rietveld: correct tab handling updated : [string] 2009-10-03T23:02:17+00:00 id : [string] http://codereview.appspot.com/ link : [[]interface{}] -href : [string] http://codereview.appspot.com/ -rel : [string] alternate -href : [string] http://codereview.appspot.com/rss/mine/rsc -rel : [string] self title : [string] Code Review - My issues NewMapXml6, b: rietveld<>email-address-removedurn:md5:134d9179c41f806be79b3a5f7877d19aAn attempt at adding pubsubhubbub support to Rietveld. http://code.google.com/p/pubsubhubbub http://code.google.com/p/rietveld/issues/detail?id=155 The server side of the protocol is trivial: 1. add a <link rel="hub" href="hub-server"> tag to all feeds that will be pubsubhubbubbed. 2. every time one of those feeds changes, tell the hub with a simple POST request. I have tested this by adding debug prints to a local hub server and checking that the server got the right publish requests. I can't quite get the server to work, but I think the bug is not in my code. I think that the server expects to be able to grab the feed and see the feed's actual URL in the link rel="self", but the default value for that drops the :port from the URL, and I cannot for the life of me figure out how to get the Atom generator deep inside django not to do that, or even where it is doing that, or even what code is running to generate the Atom feed. (I thought I knew but I added some assert False statements and it kept running!) Ignoring that particular problem, I would appreciate feedback on the right way to get the two values at the top of feeds.py marked NOTE(rsc).rietveld: an attempt at pubsubhubbub2009-10-04T01:35:58+00:00email-address-removedurn:md5:0a2a4f19bb815101f0ba2904aed7c35aThis fixes the buggy tab rendering that can be seen at http://codereview.appspot.com/116075/diff/1/2 The fundamental problem was that the tab code was not being told what column the text began in, so it didn't know where to put the tab stops. Another problem was that some of the code assumed that string byte offsets were the same as column offsets, which is only true if there are no tabs. In the process of fixing this, I cleaned up the arguments to Fold and ExpandTabs and renamed them Break and _ExpandTabs so that I could be sure that I found all the call sites. I also wanted to verify that ExpandTabs was not being used from outside intra_region_diff.py.rietveld: correct tab handling2009-10-03T23:02:17+00:00http://codereview.appspot.com/Code Review - My issues NewMapXml6, b: rietveld<> email-address-removed urn:md5:134d9179c41f806be79b3a5f7877d19a An attempt at adding pubsubhubbub support to Rietveld. http://code.google.com/p/pubsubhubbub http://code.google.com/p/rietveld/issues/detail?id=155 The server side of the protocol is trivial: 1. add a <link rel="hub" href="hub-server"> tag to all feeds that will be pubsubhubbubbed. 2. every time one of those feeds changes, tell the hub with a simple POST request. I have tested this by adding debug prints to a local hub server and checking that the server got the right publish requests. I can't quite get the server to work, but I think the bug is not in my code. I think that the server expects to be able to grab the feed and see the feed's actual URL in the link rel="self", but the default value for that drops the :port from the URL, and I cannot for the life of me figure out how to get the Atom generator deep inside django not to do that, or even where it is doing that, or even what code is running to generate the Atom feed. (I thought I knew but I added some assert False statements and it kept running!) Ignoring that particular problem, I would appreciate feedback on the right way to get the two values at the top of feeds.py marked NOTE(rsc). rietveld: an attempt at pubsubhubbub 2009-10-04T01:35:58+00:00 email-address-removed urn:md5:0a2a4f19bb815101f0ba2904aed7c35a This fixes the buggy tab rendering that can be seen at http://codereview.appspot.com/116075/diff/1/2 The fundamental problem was that the tab code was not being told what column the text began in, so it didn't know where to put the tab stops. Another problem was that some of the code assumed that string byte offsets were the same as column offsets, which is only true if there are no tabs. In the process of fixing this, I cleaned up the arguments to Fold and ExpandTabs and renamed them Break and _ExpandTabs so that I could be sure that I found all the call sites. I also wanted to verify that ExpandTabs was not being used from outside intra_region_diff.py. rietveld: correct tab handling 2009-10-03T23:02:17+00:00 http://codereview.appspot.com/ Code Review - My issues ------------ xml3_test.go ========== TestOnlyAttributes
========== TestOnlyAttributesSeq
========== TestDecodeSimpleValuesAsMap xml: 30102 Mini Drone Inteligente - Branco 149.90 m : map[item:map[id:map[#text:30102] price:map[#text:149.90 -unit:BRL] title:map[#text:Mini Drone Inteligente - Branco]]] ========== (default) m : map[item:map[id:30102 price:map[#text:149.90 -unit:BRL] title:Mini Drone Inteligente - Branco]] ---------------- xml_test.go ... ==================== TestNewMapXmlReader ... NewMapXmlReader, raw: is a test NewMapXmlReader, m : map[root:map[this:is a test]] NewMapXmlReader, raw: something more12 NewMapXmlReader, m : map[root2:map[list:map[item:[1 2]] newtag:something more]] Xml_1, mv: map[boolean:true float:3.14159625 null: tag1:some data tag2:more data] Xml_1, x : true3.14159625some datamore data Xml_2, mv: map[array:[string true 36.4]] Xml_2, x : stringtrue36.4 Xml_3, mv: map[array:[[string true 36.4] string2]] Xml_3, x : stringtrue36.4string2 Xml_4, mv: map[array:map[innerkey:[[string true 36.4] string2]]] Xml_4, x : stringtrue36.4string2 Xml_5, mv: map[array:[map[innerkey:[[string true 36.4] string2]] map[some:more]]] Xml_5, x : stringtrue36.4string2more Xml_strings, mv: map[sometag:some data strings:[string1 string2]] Xml_strings, x : some datastring1string2 XmlWriter, b : true3.14159625some datamore data ---------------- xmlseq_test.go ... NewMapXmlSeq, x: William T. Gaddis Gaddis is one of the most influential but little know authors in America. The Recognitions One of the great seminal American novels of the 20th century. Without it Thomas Pynchon probably wouldn't have written Gravity's Rainbow. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. NewMapXmlSeq, s: doc : books : #seq : [int] 0 book : [[]interface{}] #attr : seq : #seq : [int] 0 #text : [string] 1 #comment : #seq : [int] 3 #text : [string] here's the rest of the review #seq : [int] 0 author : #seq : [int] 0 #text : [string] William T. Gaddis review : [[]interface{}] #seq : [int] 1 #text : [string] Gaddis is one of the most influential but little know authors in America. #seq : [int] 4 #text : [string] One of the great seminal American novels of the 20th century. #seq : [int] 5 #text : [string] Without it Thomas Pynchon probably wouldn't have written Gravity's Rainbow. title : #seq : [int] 2 #text : [string] The Recognitions #attr : seq : #seq : [int] 0 #text : [string] 2 #seq : [int] 1 author : #seq : [int] 0 #text : [string] Austin Tappan Wright review : #seq : [int] 2 #text : [string] An example of earlier 20th century American utopian fiction. title : #seq : [int] 1 #text : [string] Islandia #directive : #seq : [int] 2 #text : [string] throw in a directive here #seq : [int] 2 author : #seq : [int] 0 #text : [string] John Hawkes review : #seq : [int] 3 #text : [string] A lyrical novel about the construction of Ft. Peck Dam in Montana. title : #seq : [int] 1 #text : [string] The Beetle Leg #seq : [int] 3 author : #procinst : #inst : [string] first_name last_name #seq : [int] 0 #target : [string] cat #seq : [int] 0 first_name : #seq : [int] 1 #text : [string] T.E. last_name : #seq : [int] 2 #text : [string] Porter review : #seq : [int] 2 #text : [string] A magical novella. title : #seq : [int] 1 #text : [string] King's Day NewMapXmlSeq, msv.XmlIndent(): William T. Gaddis Gaddis is one of the most influential but little know authors in America. The Recognitions One of the great seminal American novels of the 20th century. Without it Thomas Pynchon probably wouldn't have written Gravity's Rainbow. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. ------------ TestXmlSeqDecodeError ... err ok: element book not properly terminated, got books at #461 ----------- TestXMPPStreamTag ... map[stream:map[-from:example.com -stream:http://etherx.jabber.org/streams -version:1.0 -xmlns:jabber:client]] map[features:map[bind:map[-xmlns:urn:ietf:params:xml:ns:xmpp-bind] sm:map[-xmlns:urn:xmpp:sm:3]]] map[stream:map[]] ----------- TestXMPPStreamTagSeq ... map[stream:stream:map[#attr:map[from:map[#seq:0 #text:example.com] version:map[#seq:3 #text:1.0] xmlns:map[#seq:1 #text:jabber:client] xmlns:stream:map[#seq:2 #text:http://etherx.jabber.org/streams]]]] map[stream:features:map[bind:map[#attr:map[xmlns:map[#seq:0 #text:urn:ietf:params:xml:ns:xmpp-bind]] #seq:0] sm:map[#attr:map[xmlns:map[#seq:0 #text:urn:xmpp:sm:3]] #seq:1]]] map[stream:stream:map[]] PASS ok github.com/clbanning/mxj 0.024s github.com/clbanning/mxj ---------------- anyxml_test.go ... []->x: somevaluesomevaluesomevaluesomeothervaluestring3.14159265true a->x: trythis3.14159265true a->x: trythis3.14159265true f->x: 3.14159625 s->x: somevalue3.1415963 []->x: somevalue somevalue somevalue someothervalue string 3.14159265 true a->x: try this 3.14159265 true f->x: 3.14159625 f->x: 3.14159625 s->x: somevalue 3.1415963 ----------------- TestPrefixDefault ... ----------------- TestPrefixNoHyphen ... ----------------- TestPrefixUnderscore ... ----------------- TestPrefixAt ... ----------------- TestMarshalPrefixDefault ... a test a test ----------------- TestMarshalPrefixNoHyphen ... x: a test this is a test this is not ----------------- TestMarshalPrefixUnderscore ... a test a test ---------------- badxml_test.go TestBadXml ... m: map[Allitems:map[Item:[ map[description:Some description goes here. link:http://www.something.com]]]] m: Some description goes here.http://www.something.com TestBadXmlSeq ... m: map[Allitems:map[Item:[map[#seq:0 #text:] map[#seq:1 description:map[#seq:1 #text:Some description goes here.] link:map[#seq:0 #text:http://www.something.com]]]]] m: http://www.something.comSome description goes here. TestBadXmlReader ... m: map[Allitems:map[Item:[ map[description:Some description goes here. link:http://www.something.com]]]] m: Some description goes here.http://www.something.com TestBadXmlSeqReader ... m: map[Allitems:map[Item:[map[#seq:0 #text:] map[#seq:1 description:map[#seq:1 #text:Some description goes here.] link:map[#seq:0 #text:http://www.something.com]]]]] m: http://www.something.comSome description goes here. --------------- bom_test.go TestBom ... TestBomData ... m: map[Allitems:map[Item:[ map[description:Some description goes here. link:http://www.something.com]]]] m: Some description goes here.http://www.something.com TestBomDataSeq ... m: map[Allitems:map[Item:[map[#seq:0 #text:] map[#seq:1 description:map[#seq:1 #text:Some description goes here.] link:map[#seq:0 #text:http://www.something.com]]]]] m: http://www.something.comSome description goes here. TestBomDataReader ... m: map[Allitems:map[Item:[ map[description:Some description goes here. link:http://www.something.com]]]] m: Some description goes here.http://www.something.com TestBomDataSeqReader ... m: map[Allitems:map[Item:[map[#seq:0 #text:] map[#seq:1 description:map[#seq:1 #text:Some description goes here.] link:map[#seq:0 #text:http://www.something.com]]]]] m: http://www.something.comSome description goes here. ---------------- bulk_test.go ... XmlReader, xmldata: William H. Gaddis The Recognitions One of the seminal American novels of the 20th century. William H. Gaddis JR Won the National Book Award. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. XmlReader, result : { "book": { "author": "William H. Gaddis", "review": "One of the seminal American novels of the 20th century.", "title": "The Recognitions" } } { "book": { "author": "Austin Tappan Wright", "review": "An example of earlier 20th century American utopian fiction.", "title": "Islandia" } } { "book": { "author": "John Hawkes", "review": "A lyrical novel about the construction of Ft. Peck Dam in Montana.", "title": "The Beetle Leg" } } { "book": { "author": { "first_name": "T.E.", "last_name": "Porter" }, "review": "A magical novella.", "title": "King's Day" } } XmlReader, errors : [xmlReader: 2] xml.Decoder.Token() - XML syntax error on line 5: element closed by [xmlReader: 3] xml.Decoder.Token() - XML syntax error on line 2: unexpected end element JsonReader, jsondata: {"book":{"author":"William H. Gaddis","review":"One of the great seminal American novels of the 20th century.","title":"The Recognitions"}} {"book":{"author":"Austin Tappan Wright","review":"An example of earlier 20th century American utopian fiction.","title":"Islandia"}} {"book":{"author":"John Hawkes","review":"A lyrical novel about the construction of Ft. Peck Dam in Montana.","title":"The Beetle Leg"}} {"book":{"author":{"first_name":"T.E.","last_name":"Porter"},"review":"A magical novella.","title":"King's Day"}} { "here":"we", "put":"in", "an":error } JsonReader, result : William H. Gaddis One of the great seminal American novels of the 20th century. The Recognitions Austin Tappan Wright An example of earlier 20th century American utopian fiction. Islandia John Hawkes A lyrical novel about the construction of Ft. Peck Dam in Montana. The Beetle Leg T.E. Porter A magical novella. King's Day JsonReader, errors : [jsonReader: 5] invalid character 'e' looking for beginning of value ---------------- bulkraw_test.go ... XmlReaderRaw, xmldata: William H. Gaddis The Recognitions One of the seminal American novels of the 20th century. William H. Gaddis JR Won the National Book Award. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. XmlReaderRaw, result : { "book": { "author": "William H. Gaddis", "review": "One of the seminal American novels of the 20th century.", "title": "The Recognitions" } } { "book": { "author": "Austin Tappan Wright", "review": "An example of earlier 20th century American utopian fiction.", "title": "Islandia" } } { "book": { "author": "John Hawkes", "review": "A lyrical novel about the construction of Ft. Peck Dam in Montana.", "title": "The Beetle Leg" } } { "book": { "author": { "first_name": "T.E.", "last_name": "Porter" }, "review": "A magical novella.", "title": "King's Day" } } XmlReaderRaw, errors : [xmlReader: 2] xml.Decoder.Token() - XML syntax error on line 5: element closed by William H. Gaddis JR Won the National Book Award. [xmlReader: 3] xml.Decoder.Token() - XML syntax error on line 2: unexpected end element JsonReaderRaw, jsondata: {"book":{"author":"William H. Gaddis","review":"One of the great seminal American novels of the 20th century.","title":"The Recognitions"}} {"book":{"author":"Austin Tappan Wright","review":"An example of earlier 20th century American utopian fiction.","title":"Islandia"}} {"book":{"author":"John Hawkes","review":"A lyrical novel about the construction of Ft. Peck Dam in Montana.","title":"The Beetle Leg"}} {"book":{"author":{"first_name":"T.E.","last_name":"Porter"},"review":"A magical novella.","title":"King's Day"}} { "here":"we", "put":"in", "an":error } JsonReaderRaw, result : William H. Gaddis One of the great seminal American novels of the 20th century. The Recognitions Austin Tappan Wright An example of earlier 20th century American utopian fiction. Islandia John Hawkes A lyrical novel about the construction of Ft. Peck Dam in Montana. The Beetle Leg T.E. Porter A magical novella. King's Day JsonReaderRaw, errors : [jsonReader: 5] invalid character 'e' looking for beginning of value {"here":"we","put":"in","an":error} cast_test.go ---------- ------------ TestCastDefault ... mxj.Map{"doc":map[string]interface {}{"bool":map[string]interface {}{"T":"T", "f":"f", "false":"FALSE", "true":"true"}, "float":"3.14159625", "int":"2019", "string":"string"}} ------------ TestCastTrue ... mxj.Map{"doc":map[string]interface {}{"bool":map[string]interface {}{"T":true, "f":false, "false":false, "true":true}, "float":3.14159625, "int":2019, "string":"string"}} ------------ TestSetCheckTagToSkipFunc ... mxj.Map{"doc":map[string]interface {}{"bool":map[string]interface {}{"T":true, "f":false, "false":"FALSE", "true":true}, "float":3.14159625, "int":"2019", "string":"string"}} ------------ TestCastValuesToFloat(false) ... mxj.Map{"doc":map[string]interface {}{"bool":map[string]interface {}{"T":true, "f":false, "false":"FALSE", "true":true}, "float":"3.14159625", "int":"2019", "string":"string"}} ------------ TestCastValuesToBool(false) ... mxj.Map{"doc":map[string]interface {}{"bool":map[string]interface {}{"T":"T", "f":"f", "false":"FALSE", "true":"true"}, "float":3.14159625, "int":"2019", "string":"string"}} ================== TestEscapeChars s: "'<>& ss: "'<>& ================== TestXMLEscapeChars s: "'<>& m: "'<>& ================== TestXMLEscapeChars2 "'<>& map[doc:map[simple:map[#text:"'<>& _attr1:an attribute]]] mv: "'<>& ================== TestXMLSeqEscapeChars data: >0-2y m: map[doc:map[shortDescription:map[#seq:0 #text:>0-2y]]] m: >0-2y ================== TestXMLSeqEscapeChars2 data: >0-2y <10-15 m: map[doc:map[shortDescription:[map[#attr:map[test:map[#seq:0 #text:&something here]] #seq:0 #text:>0-2y] map[#attr:map[quote:map[#seq:1 #text:"] test:map[#seq:0 #text:something there]] #seq:1 #text:<10-15]]]] m: >0-2y <10-15 ------------ exists_test.go ---------------- files_test.go ... NewMapsFromJsonFile() map[a:test file:for files_test.go:case this:is] map[JSON:values true:true two:2 with:just] caught error: stat nil: no such file or directory caught error: error: invalid character 'J' looking for beginning of value - reading: {"with":"some","bad":JSON,"in":"it"} NewMapsFromJsonFileRaw() {map[a:test file:for files_test.go:case this:is] [123 34 116 104 105 115 34 58 34 105 115 34 44 34 97 34 58 34 116 101 115 116 34 44 34 102 105 108 101 34 58 34 102 111 114 34 44 34 102 105 108 101 115 95 116 101 115 116 46 103 111 34 58 34 99 97 115 101 34 125]} {map[JSON:values true:true two:2 with:just] [123 34 119 105 116 104 34 58 34 106 117 115 116 34 44 34 116 119 111 34 58 50 44 34 74 83 79 78 34 58 34 118 97 108 117 101 115 34 44 34 116 114 117 101 34 58 116 114 117 101 125]} caught error: stat nil: no such file or directory caught error: error: invalid character 'J' looking for beginning of value - reading: {"with":"some","bad":JSON,"in":"it"} NewMapsFromXmlFile() map[doc:map[data:for files.go some:test]] map[msg:map[another:doc for:test case just:some]] caught error: stat nil: no such file or directory caught error: error: xml.Decoder.Token() - XML syntax error on line 4: element closed by - reading: some doc NewMapsFromXmlFileRaw() {map[doc:map[data:for files.go some:test]] [60 100 111 99 62 10 9 60 115 111 109 101 62 116 101 115 116 60 47 115 111 109 101 62 10 9 60 100 97 116 97 62 102 111 114 32 102 105 108 101 115 46 103 111 60 47 100 97 116 97 62 10 60 47 100 111 99 62]} {map[msg:map[another:doc for:test case just:some]] [10 60 109 115 103 62 10 9 60 106 117 115 116 62 115 111 109 101 60 47 106 117 115 116 62 10 9 60 97 110 111 116 104 101 114 62 100 111 99 60 47 97 110 111 116 104 101 114 62 10 9 60 102 111 114 62 116 101 115 116 32 99 97 115 101 60 47 102 111 114 62 10 60 47 109 115 103 62]} caught error: stat nil: no such file or directory caught error: error: xml.Decoder.Token() - XML syntax error on line 4: element closed by - reading: some doc TestMaps() mvs: [map[a:test this:is] map[a:test this:is]] JsonString(): {"a":"test","this":"is"}{"a":"test","this":"is"} JsonStringIndent(): { "a": "test", "this": "is" } { "a": "test", "this": "is" } XmlString(): testistestis XmlStringIndent(): test is test is map[a:test file:for files_test.go:case this:is] map[JSON:values true:true two:2 with:just] files_test_dup.json written files_test_indent.json written map[doc:map[data:for files.go some:test]] map[msg:map[another:doc for:test case just:some]] files_test_dup.xml written files_test_indent.xml written ---------------- gob_test.go ... m: map[five:map[hi:there] four:[1 2 3 4] one:1 three:tres two:2.0001] m: map[five:map[hi:there] four:[1 2 3 4] one:1 three:tres two:2.0001] mv: map[five:map[hi:there] four:[1 2 3 4] one:1 three:tres two:2.0001] m : map[five:map[hi:there] four:[1 2 3 4] one:1 three:tres two:2.0001] ================== TestXmlCheckIsValid map[:empty $invalid:hex$ entities:<>& nil:] map[$invalid:hex$ entities:<>& nil:] map[entities:<>& nil:] map[nil:] map[doc:map[elem:map[#seq:0 #text:element]]] ---------------- j2x_test .go ... j2x, jdata: { "key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":null } j2x, m : map[key1:string key2:34 key3:true key4:unsafe: <>& key5:] j2x, xml : string34trueunsafe: <>& ---------------- json_test.go ... NewMapJson, jdata: { "key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":null } NewMapJson, m : mxj.Map{"key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":interface {}(nil)} NewMapJson, jdata: { "key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":null } NewMapJson, m : mxj.Map{"key1":"string", "key2":"34", "key3":true, "key4":"unsafe: <>&", "key5":interface {}(nil)} NewMapJsonError, jdata : { "key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":null NewMapJsonError, merror: unexpected EOF NewMapJsonError, newData : { "this":"is", "in":error } NewMapJsonError, merror : invalid character 'e' looking for beginning of value NewMapJsonReader, jb: {"key1":"string","key2":34,"key3":true,"key4":"unsafe: <>&"} NewMapJsonReader, m : mxj.Map{"key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&"} NewMapJsonReader, jb: {"key":"value in new JSON string"} NewMapJsonReader, m : mxj.Map{"key":"value in new JSON string"} NewMapJsonReader, jb: {"key1":"string","key2":34,"key3":true,"key4":"unsafe: <>&"} NewMapJsonReader, m : mxj.Map{"key1":"string", "key2":"34", "key3":true, "key4":"unsafe: <>&"} NewMapJsonReader, jb: {"key":"value in new JSON string"} NewMapJsonReader, m : mxj.Map{"key":"value in new JSON string"} Json, jdata: { "key1":"string", "key2":34, "key3":true, "key4":"unsafe: <>&", "key5":null } Json, j : {"key1":"string","key2":34,"key3":true,"key4":"unsafe: <>&","key5":null} Json, j safe: {"key1":"string","key2":34,"key3":true,"key4":"unsafe: \u003c\u003e\u0026","key5":null} JsonWriter, raw: {"and":"a","bool":true,"float":3.14159,"this":"is a"} JsonWriter, b : {"and":"a","bool":true,"float":3.14159,"this":"is a"} -------------- keystolower_test.go TestToLower ... ----------- TestSetSubkeyFieldSeparator ---------------- keyvalues_test.go ... PathsForKey, doc1 ... PathsForKey, doc1#author ... ss: [doc.books.book.author] PathsForKey, doc1#books ... ss: [doc.books] PathsForKey, doc2 ... PathForKey, doc2#book ... ss: [doc.book doc.books.book] PathForKeyShortest, doc2#book ... s : doc.book ValuesForKey ... ValuesForKey, doc1#author ... ss.v: William T. Gaddis ... ss.v: Austin Tappan Wright ... ss.v: John Hawkes ... ss.v: map[first_name:T.E. last_name:Porter] ValuesForKey, doc1#book ... ss.v: map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] ... ss.v: map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ... ss.v: map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] ValuesForKey, doc1#book,-seq:3 ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ValuesForKey, doc1#book, author:William T. Gaddis ... ss.v: map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] ValuesForKey, doc1#author, -seq:1 ValuesForPath ... ValuesForPath, doc.books.book.author ... ss.v: William T. Gaddis ... ss.v: Austin Tappan Wright ... ss.v: John Hawkes ... ss.v: map[first_name:T.E. last_name:Porter] ValuesForPath, doc.books.book ... ss.v: map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] ... ss.v: map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ... ss.v: map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] ValuesForPath, doc.books.book -seq=3 ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ValuesForPath, doc.books.* -seq=3 ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ValuesForPath, doc.*.* -seq=3 ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ValuesForNotKey ... ValuesForPath, doc.books.book !author:William T. Gaddis ... ss.v: map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ... ss.v: map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] ValuesForPath, doc.books.book !author:* ValuesForPath, doc.books.book !unknown:* ... ss.v: map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] ... ss.v: map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] ... ss.v: map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] ... ss.v: map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] ---------------- indexedarray_test.go ... j_data: { "stuff":[ { "data":[ { "F":1 }, { "F":2 }, { "F":3 } ] }, { "data":[ 4, 5, 6 ] } ] } m: map[stuff:[map[data:[map[F:1] map[F:2] map[F:3]]] map[data:[4 5 6]]]] stuff[0]: [map[data:[map[F:1] map[F:2] map[F:3]]]] stuff.data: [map[F:1] map[F:2] map[F:3] 4 5 6] stuff[0].data: [map[F:1] map[F:2] map[F:3]] stuff.data[0]: [map[F:1] 4] stuff.*[2]: [map[F:3] 6] stuff.data.F: [1 2 3] *.*.F: [1 2 3] stuff.data[0].F: [1] stuff.data[1].F: [2] stuff[0].data[2]: [map[F:3]] stuff[1].data[1]: [5] stuff[1].data[1].F [] stuff[1].data.F: [] x_data: 1 2 3 4 5 6 m: map[doc:map[stuff:[map[data:[map[-seq:1.1 F:1] map[-seq:1.2 F:2] map[-seq:1.3 F:3]]] map[data:[map[-seq:2.1 F:4] map[-seq:2.2 F:5] map[-seq:2.3 F:6]]]]]] doc.stuff[0]: [map[data:[map[-seq:1.1 F:1] map[-seq:1.2 F:2] map[-seq:1.3 F:3]]]] doc.stuff.data[0]: [map[-seq:1.1 F:1] map[-seq:2.1 F:4]] doc.stuff.data[0] -seq:2.1: [map[-seq:2.1 F:4]] doc.stuff.data[0].F: [1 4] doc.stuff[0].data[2]: [map[-seq:1.3 F:3]] doc.stuff[1].data[1].F: [5] ak_data: { "section1":{"data" : [{"F1" : "F1 data","F2" : "F2 data"},{"F1" : "demo 123","F2" : "abc xyz"}]}} m: map[section1:map[data:[map[F1:F1 data F2:F2 data] map[F1:demo 123 F2:abc xyz]]]] section1.data[0].F1: [F1 data] ---------------- leafnode_test.go ... json1-LeafNodes: mxj.LeafNode{Path:"friends[0].skills[0]", Value:44} mxj.LeafNode{Path:"friends[0].skills[1]", Value:12} json1-LeafPaths: "friends[0].skills[0]" "friends[0].skills[1]" json2-LeafNodes: mxj.LeafNode{Path:"friends.skills[0]", Value:44} mxj.LeafNode{Path:"friends.skills[1]", Value:12} json1-LeafValues: 44 12 json3-LeafNodes: mxj.LeafNode{Path:"of[0]", Value:"data"} mxj.LeafNode{Path:"of[1]", Value:"of"} mxj.LeafNode{Path:"of[2]", Value:3} mxj.LeafNode{Path:"of[3]", Value:"types"} mxj.LeafNode{Path:"of[4]", Value:true} mxj.LeafNode{Path:"a", Value:"list"} json3-LeafValues: "list" "data" "of" 3 "types" true json3-LeafPaths: "a" "of[0]" "of[1]" "of[2]" "of[3]" "of[4]" xml2data2-LeafValues: mxj.LeafNode{Path:"doc.item[0].-color", Value:"blue"} mxj.LeafNode{Path:"doc.item[0].#text", Value:"Item 2 is blue"} mxj.LeafNode{Path:"doc.item[0].-num", Value:"2"} mxj.LeafNode{Path:"doc.item[1].-num", Value:"3"} mxj.LeafNode{Path:"doc.item[1].-color", Value:"green"} mxj.LeafNode{Path:"doc.item[1].arm[0].-side", Value:"left"} mxj.LeafNode{Path:"doc.item[1].arm[0].-length", Value:"3.5"} mxj.LeafNode{Path:"doc.item[1].arm[1].-length", Value:"3.6"} mxj.LeafNode{Path:"doc.item[1].arm[1].-side", Value:"right"} xml2data2-LeafValues(NoAttributes): mxj.LeafNode{Path:"doc.item[0]", Value:"Item 2 is blue"} no-hyphen-xml2data2-LeafValues: mxj.LeafNode{Path:"doc.item[0].num", Value:"2"} mxj.LeafNode{Path:"doc.item[0].color", Value:"blue"} mxj.LeafNode{Path:"doc.item[0].#text", Value:"Item 2 is blue"} mxj.LeafNode{Path:"doc.item[1].arm[0].side", Value:"left"} mxj.LeafNode{Path:"doc.item[1].arm[0].length", Value:"3.5"} mxj.LeafNode{Path:"doc.item[1].arm[1].side", Value:"right"} mxj.LeafNode{Path:"doc.item[1].arm[1].length", Value:"3.6"} mxj.LeafNode{Path:"doc.item[1].num", Value:"3"} mxj.LeafNode{Path:"doc.item[1].color", Value:"green"} no-hyphen-xml2data2-LeafValues(NoAttributes): mxj.LeafNode{Path:"doc.item[0].num", Value:"2"} mxj.LeafNode{Path:"doc.item[0].color", Value:"blue"} mxj.LeafNode{Path:"doc.item[0]", Value:"Item 2 is blue"} mxj.LeafNode{Path:"doc.item[1].arm[0].side", Value:"left"} mxj.LeafNode{Path:"doc.item[1].arm[0].length", Value:"3.5"} mxj.LeafNode{Path:"doc.item[1].arm[1].side", Value:"right"} mxj.LeafNode{Path:"doc.item[1].arm[1].length", Value:"3.6"} mxj.LeafNode{Path:"doc.item[1].num", Value:"3"} mxj.LeafNode{Path:"doc.item[1].color", Value:"green"} DotNotation-LeafValues: mxj.LeafNode{Path:"doc.item.0.-num", Value:"2"} mxj.LeafNode{Path:"doc.item.0.-color", Value:"blue"} mxj.LeafNode{Path:"doc.item.0.#text", Value:"Item 2 is blue"} mxj.LeafNode{Path:"doc.item.1.-num", Value:"3"} mxj.LeafNode{Path:"doc.item.1.-color", Value:"green"} mxj.LeafNode{Path:"doc.item.1.arm.0.-side", Value:"left"} mxj.LeafNode{Path:"doc.item.1.arm.0.-length", Value:"3.5"} mxj.LeafNode{Path:"doc.item.1.arm.1.-side", Value:"right"} mxj.LeafNode{Path:"doc.item.1.arm.1.-length", Value:"3.6"} ------------------ misc_test.go ... ---------------- mxj_test.go ... TestMap, m: mxj.Map{"key":"value", "newkey":map[string]interface {}{"bool":true, "float":3.14159, "listkey":[]interface {}{3.1415962535, false, "for all good men"}, "string":"Now is the time"}} TestMap, StringIndent - key : [string] value newkey : bool : [bool] true float : [float64] 3.14159 listkey : [[]interface{}] [float64] 3.1415962535 [bool] false [string] for all good men string : [string] Now is the time TestMap, StringIndent NoTypeInfo - key : value newkey : bool : true float : 3.14159 listkey : 3.1415962535 false for all good men string : Now is the time TestMap, m_fromXML: mxj.Map{"doc":map[string]interface {}{"tag":map[string]interface {}{"sub_tag1":"Hello", "sub_tag2":"World"}}} TestMap, StringIndent - doc : tag : sub_tag1 : [string] Hello sub_tag2 : [string] World TestMap, StringIndent NoTypeInfo - doc : tag : sub_tag1 : Hello sub_tag2 : World TestMap, m.Copy() - map[doc:map[tag:map[sub_tag1:Hello sub_tag2:World]]] ---------------- namespace_test.go ... ---------------- TestBeautifyXml ... 123John Brown 123 John Brown ------------ TestNan ... foo.bar: NAN foo.bar: INF foo.bar: -INF foo.bar: NaN ---------------- newmap_test.go ... j: { "A":"this", "B":"is", "C":"a", "D":"test" } m: mxj.Map{"A":"this", "B":"is", "C":"a", "D":"test"} eval - m.NewMap("A:AA", "B:BB", "C:cc", "D:help") n.Json(): {"AA":"this","BB":"is","cc":"a","help":"test"} n.Xml(): thisisatest n.XmlIndent(): this is a test eval - m.NewMap("A:AA.A", "B:AA.B", "C:AA.B.cc", "D:hello.help") n.Json(): {"AA":{"A":"this","B":["is",{"cc":"a"}]},"hello":{"help":"test"}} n.Xml(): thisisatest n.XmlIndent(): this is a test eval - m.NewMap keypairs: [A:xml.AA B:xml.AA.hello.again C:xml.AA D:xml.AA.hello.help] n.Json(): {"xml":{"AA":["this",{"hello":{"again":"is","help":"test"}},"a"]}} n.Xml(): thisistesta n.XmlIndent(): this is test a original value: no default:text default:word new value: no default:text default:word original value: yes default:text default:word new value: yes default:text default:word ------------ rename_test.go ---------------- seqnum_test.go ... m1: mxj.Map{"Obj":map[string]interface {}{"-c":"la", "-h":"da", "-x":"dee", "IntObj":[]interface {}{map[string]interface {}{"-id":3, "_seq":0}, map[string]interface {}{"-id":2, "_seq":2}}, "IntObj1":map[string]interface {}{"-id":1, "_seq":1}}} { "Obj": { "-c": "la", "-h": "da", "-x": "dee", "IntObj": [ { "-id": 3, "_seq": 0 }, { "-id": 2, "_seq": 2 } ], "IntObj1": { "-id": 1, "_seq": 1 } } } m2: mxj.Map{"Obj":map[string]interface {}{"-c":"la", "-h":"da", "-x":"dee", "IntObj":[]interface {}{map[string]interface {}{"-id":3, "_seq":0}, map[string]interface {}{"-id":2, "_seq":2}}, "NewObj":map[string]interface {}{"BoolObj":map[string]interface {}{"#text":true, "_seq":2}, "StringObj":map[string]interface {}{"#text":"hello", "_seq":1}, "_seq":1, "id":map[string]interface {}{"#text":1, "_seq":0}}}} { "Obj": { "-c": "la", "-h": "da", "-x": "dee", "IntObj": [ { "-id": 3, "_seq": 0 }, { "-id": 2, "_seq": 2 } ], "NewObj": { "BoolObj": { "#text": true, "_seq": 2 }, "StringObj": { "#text": "hello", "_seq": 1 }, "_seq": 1, "id": { "#text": 1, "_seq": 0 } } } } ----------- TestSnakeCase ----------------- TestStrictModeXml ... m: map[document:map[goes_by: lang:E name:Bill & Hallett salute:Duc & 123xx]] ----------------- TestStrictModeXmlSeq ... m: map[document:map[goes_by:map[#seq:2 #text:] lang:map[#seq:3 #text:E] name:map[#seq:0 #text:Bill & Hallett] salute:map[#seq:1 #text:Duc & 123xx]]] ----------------- TestStrictFail ... OK ---------------- struct_test.go ... Struct, m: mxj.Map{"bool":true, "float":3.14159, "int":4, "private":"Somewhere over the rainbow", "str":"now's the time"} Struct, s: mxj.str{IntVal:4, StrVal:"now's the time", FloatVal:3.14159, BoolVal:true, private:""} StructError, mverr: mv.Struct() error: argument is not type Ptr ----------------- structvalue_test.go ... ---------------- updatevalues_test.go ... m: map[doc:map[books:map[book:[map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]]]]] v: William T. Gaddis v: Austin Tappan Wright v: John Hawkes v: map[first_name:T.E. last_name:Porter] m.UpdateValuesForPath("author:NoName", "doc.books.book.author") 4 updates v: NoName v: NoName v: NoName v: NoName m.UpdateValuesForPath("author:William Gadddis", "doc.books.book.author", "title:The Recognitions") 4 updates v: William Gadddis v: Austin Tappen Wright v: John Hawkes v: T. E. Porter m.UpdateValuesForPath("author:William T. Gaddis", "doc.books.book.*", "title:The Recognitions") 1 updates v: William T. Gaddis v: Austin Tappen Wright v: John Hawkes v: T. E. Porter m.UpdateValuesForPath("title:The Cannibal", "doc.books.book.title", "author:John Hawkes") 2 updates v: map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] v: map[-seq:2 author:Austin Tappen Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] v: map[-seq:3 author:John Hawkes review:A novel on his experiences in WWII. title:The Cannibal] v: map[-seq:4 author:T. E. Porter review:A magical novella. title:King's Day] m.UpdateValuesForPath("books:", "doc.books") 1 updates m: map[doc:map[books:]] m.UpdateValuesForPath(mm, "*") 1 updates m: map[doc:map[books:map[book:[map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]]]]] newDoc: simple element m: map[tag:map[#text:simple element -color:green -shape:square]] m.UpdateValuesForPath("#text:maybe not so simple element", "tag") n: 1 m: map[tag:map[#text:maybe not so simple element -color:green -shape:square]] m.UpdateValuesForPath("#text:simple element again", "*") n: 1 m: map[tag:map[#text:simple element again -color:green -shape:square]] biblio : author : [[]interface{}] books : book : [[]interface{}] date : [string] 1955 review : [string] A novel that changed the face of American literature. title : [string] The Recognitions date : [string] 1975 review : [string] Winner of National Book Award for Fiction. title : [string] JR name : [string] William Gaddis books : book : [[]interface{}] date : [string] 1949 review : [string] A novel on his experiences in WWII. title : [string] The Cannibal date : [string] 1951 review : [string] A lyrical novel about the construction of Ft. Peck Dam in Montana. title : [string] The Beetle Leg date : [string] 1970 review : [string] Where everyone wants to vacation. title : [string] The Blood Oranges name : [string] John Hawkes m.UpdateValuesForPath("review:National Book Award winner.", "*.*.*.*", "title:JR") 1 updates v: map[books:map[book:[map[date:1955 review:A novel that changed the face of American literature. title:The Recognitions] map[date:1975 review:National Book Award winner. title:JR]]] name:William Gaddis] m.UpdateValuesForPath(newVal, path, oldVal) 5 updates biblio : author : [[]interface{}] books : book : [[]interface{}] date : [float64] 1955 review : [string] A novel that changed the face of American literature. title : [string] The Recognitions date : [float64] 1975 review : [string] National Book Award winner. title : [string] JR name : [string] William Gaddis books : book : [[]interface{}] date : [float64] 1949 review : [string] A novel on his experiences in WWII. title : [string] The Cannibal date : [float64] 1951 review : [string] A lyrical novel about the construction of Ft. Peck Dam in Montana. title : [string] The Beetle Leg date : [float64] 1970 review : [string] Where everyone wants to vacation. title : [string] The Blood Oranges name : [string] John Hawkes ---------------- xml2_test.go ... NewMapXml4, x: William T. Gaddis The Recognitions One of the great seminal American novels of the 20th century. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. NewMapXml4, m: map[doc:map[books:map[book:[map[-seq:1 author:William T. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]]]]] NewMapXml4, s: doc : books : book : [[]interface{}] -seq : [string] 1 author : [string] William T. Gaddis review : [string] One of the great seminal American novels of the 20th century. title : [string] The Recognitions -seq : [string] 2 author : [string] Austin Tappan Wright review : [string] An example of earlier 20th century American utopian fiction. title : [string] Islandia -seq : [string] 3 author : [string] John Hawkes review : [string] A lyrical novel about the construction of Ft. Peck Dam in Montana. title : [string] The Beetle Leg -seq : [string] 4 author : first_name : [string] T.E. last_name : [string] Porter review : [string] A magical novella. title : [string] King's Day NewMapXml4, b: William T. Gaddis One of the great seminal American novels of the 20th century. The Recognitions Austin Tappan Wright An example of earlier 20th century American utopian fiction. Islandia John Hawkes A lyrical novel about the construction of Ft. Peck Dam in Montana. The Beetle Leg T.E. Porter A magical novella. King's Day NewMapXml5, raw: help me! Henry was a renegade Didn't like to play it safe One component at a time There's got to be a better way Oh, people came from miles around Searching for a steady job Welcome to the Motor Town Booming like an atom bomb Oh, Henry was the end of the story Then everything went wrong And we'll return it to its former glory But it just takes so long It's going to take a long time It's going to take it, but we'll make it one day It's going to take a long time It's going to take it, but we'll make it one day NewMapXml5, m: map[msg:map[-mpriority:1 -mtype:alert song:map[-author:Mayer Hawthorne -title:A Long Time chorus:map[line:[map[#text:It's going to take a long time -no:1] map[#text:It's going to take it, but we'll make it one day -no:2] map[#text:It's going to take a long time -no:3] map[#text:It's going to take it, but we'll make it one day -no:4]]] verses:map[verse:[map[-name:verse 1 -no:1 line:[map[#text:Henry was a renegade -no:1] map[#text:Didn't like to play it safe -no:2] map[#text:One component at a time -no:3] map[#text:There's got to be a better way -no:4] map[#text:Oh, people came from miles around -no:5] map[#text:Searching for a steady job -no:6] map[#text:Welcome to the Motor Town -no:7] map[#text:Booming like an atom bomb -no:8]]] map[-name:verse 2 -no:2 line:[map[#text:Oh, Henry was the end of the story -no:1] map[#text:Then everything went wrong -no:2] map[#text:And we'll return it to its former glory -no:3] map[#text:But it just takes so long -no:4]]]]]] text:help me!]] NewMapXml5, s: msg : -mpriority : [string] 1 -mtype : [string] alert song : -author : [string] Mayer Hawthorne -title : [string] A Long Time chorus : line : [[]interface{}] #text : [string] It's going to take a long time -no : [string] 1 #text : [string] It's going to take it, but we'll make it one day -no : [string] 2 #text : [string] It's going to take a long time -no : [string] 3 #text : [string] It's going to take it, but we'll make it one day -no : [string] 4 verses : verse : [[]interface{}] -name : [string] verse 1 -no : [string] 1 line : [[]interface{}] #text : [string] Henry was a renegade -no : [string] 1 #text : [string] Didn't like to play it safe -no : [string] 2 #text : [string] One component at a time -no : [string] 3 #text : [string] There's got to be a better way -no : [string] 4 #text : [string] Oh, people came from miles around -no : [string] 5 #text : [string] Searching for a steady job -no : [string] 6 #text : [string] Welcome to the Motor Town -no : [string] 7 #text : [string] Booming like an atom bomb -no : [string] 8 -name : [string] verse 2 -no : [string] 2 line : [[]interface{}] #text : [string] Oh, Henry was the end of the story -no : [string] 1 #text : [string] Then everything went wrong -no : [string] 2 #text : [string] And we'll return it to its former glory -no : [string] 3 #text : [string] But it just takes so long -no : [string] 4 text : [string] help me! NewMapXml5, b: It's going to take a long timeIt's going to take it, but we'll make it one dayIt's going to take a long timeIt's going to take it, but we'll make it one dayHenry was a renegadeDidn't like to play it safeOne component at a timeThere's got to be a better wayOh, people came from miles aroundSearching for a steady jobWelcome to the Motor TownBooming like an atom bombOh, Henry was the end of the storyThen everything went wrongAnd we'll return it to its former gloryBut it just takes so longhelp me! NewMapXml5, b: It's going to take a long time It's going to take it, but we'll make it one day It's going to take a long time It's going to take it, but we'll make it one day Henry was a renegade Didn't like to play it safe One component at a time There's got to be a better way Oh, people came from miles around Searching for a steady job Welcome to the Motor Town Booming like an atom bomb Oh, Henry was the end of the story Then everything went wrong And we'll return it to its former glory But it just takes so long help me! NewMapXml6, raw: Code Review - My issueshttp://codereview.appspot.com/rietveld<>rietveld: an attempt at pubsubhubbub 2009-10-04T01:35:58+00:00email-address-removedurn:md5:134d9179c41f806be79b3a5f7877d19a An attempt at adding pubsubhubbub support to Rietveld. http://code.google.com/p/pubsubhubbub http://code.google.com/p/rietveld/issues/detail?id=155 The server side of the protocol is trivial: 1. add a &lt;link rel=&quot;hub&quot; href=&quot;hub-server&quot;&gt; tag to all feeds that will be pubsubhubbubbed. 2. every time one of those feeds changes, tell the hub with a simple POST request. I have tested this by adding debug prints to a local hub server and checking that the server got the right publish requests. I can&#39;t quite get the server to work, but I think the bug is not in my code. I think that the server expects to be able to grab the feed and see the feed&#39;s actual URL in the link rel=&quot;self&quot;, but the default value for that drops the :port from the URL, and I cannot for the life of me figure out how to get the Atom generator deep inside django not to do that, or even where it is doing that, or even what code is running to generate the Atom feed. (I thought I knew but I added some assert False statements and it kept running!) Ignoring that particular problem, I would appreciate feedback on the right way to get the two values at the top of feeds.py marked NOTE(rsc). rietveld: correct tab handling 2009-10-03T23:02:17+00:00email-address-removedurn:md5:0a2a4f19bb815101f0ba2904aed7c35a This fixes the buggy tab rendering that can be seen at http://codereview.appspot.com/116075/diff/1/2 The fundamental problem was that the tab code was not being told what column the text began in, so it didn&#39;t know where to put the tab stops. Another problem was that some of the code assumed that string byte offsets were the same as column offsets, which is only true if there are no tabs. In the process of fixing this, I cleaned up the arguments to Fold and ExpandTabs and renamed them Break and _ExpandTabs so that I could be sure that I found all the call sites. I also wanted to verify that ExpandTabs was not being used from outside intra_region_diff.py. NewMapXml6, m: map[feed:map[-lang:en-us -updated:2009-10-04T01:35:58+00:00 -xmlns:http://www.w3.org/2005/Atom author:map[name:rietveld<>] entry:[map[author:map[name:email-address-removed] id:urn:md5:134d9179c41f806be79b3a5f7877d19a link:map[-href:http://codereview.appspot.com/126085 -rel:alternate] summary:map[#text:An attempt at adding pubsubhubbub support to Rietveld. http://code.google.com/p/pubsubhubbub http://code.google.com/p/rietveld/issues/detail?id=155 The server side of the protocol is trivial: 1. add a <link rel="hub" href="hub-server"> tag to all feeds that will be pubsubhubbubbed. 2. every time one of those feeds changes, tell the hub with a simple POST request. I have tested this by adding debug prints to a local hub server and checking that the server got the right publish requests. I can't quite get the server to work, but I think the bug is not in my code. I think that the server expects to be able to grab the feed and see the feed's actual URL in the link rel="self", but the default value for that drops the :port from the URL, and I cannot for the life of me figure out how to get the Atom generator deep inside django not to do that, or even where it is doing that, or even what code is running to generate the Atom feed. (I thought I knew but I added some assert False statements and it kept running!) Ignoring that particular problem, I would appreciate feedback on the right way to get the two values at the top of feeds.py marked NOTE(rsc). -type:html] title:rietveld: an attempt at pubsubhubbub updated:2009-10-04T01:35:58+00:00] map[author:map[name:email-address-removed] id:urn:md5:0a2a4f19bb815101f0ba2904aed7c35a link:map[-href:http://codereview.appspot.com/124106 -rel:alternate] summary:map[#text:This fixes the buggy tab rendering that can be seen at http://codereview.appspot.com/116075/diff/1/2 The fundamental problem was that the tab code was not being told what column the text began in, so it didn't know where to put the tab stops. Another problem was that some of the code assumed that string byte offsets were the same as column offsets, which is only true if there are no tabs. In the process of fixing this, I cleaned up the arguments to Fold and ExpandTabs and renamed them Break and _ExpandTabs so that I could be sure that I found all the call sites. I also wanted to verify that ExpandTabs was not being used from outside intra_region_diff.py. -type:html] title:rietveld: correct tab handling updated:2009-10-03T23:02:17+00:00]] id:http://codereview.appspot.com/ link:[map[-href:http://codereview.appspot.com/ -rel:alternate] map[-href:http://codereview.appspot.com/rss/mine/rsc -rel:self]] title:Code Review - My issues]] NewMapXml6, s: feed : -lang : [string] en-us -updated : [string] 2009-10-04T01:35:58+00:00 -xmlns : [string] http://www.w3.org/2005/Atom author : name : [string] rietveld<> entry : [[]interface{}] author : name : [string] email-address-removed id : [string] urn:md5:134d9179c41f806be79b3a5f7877d19a link : -href : [string] http://codereview.appspot.com/126085 -rel : [string] alternate summary : #text : [string] An attempt at adding pubsubhubbub support to Rietveld. http://code.google.com/p/pubsubhubbub http://code.google.com/p/rietveld/issues/detail?id=155 The server side of the protocol is trivial: 1. add a <link rel="hub" href="hub-server"> tag to all feeds that will be pubsubhubbubbed. 2. every time one of those feeds changes, tell the hub with a simple POST request. I have tested this by adding debug prints to a local hub server and checking that the server got the right publish requests. I can't quite get the server to work, but I think the bug is not in my code. I think that the server expects to be able to grab the feed and see the feed's actual URL in the link rel="self", but the default value for that drops the :port from the URL, and I cannot for the life of me figure out how to get the Atom generator deep inside django not to do that, or even where it is doing that, or even what code is running to generate the Atom feed. (I thought I knew but I added some assert False statements and it kept running!) Ignoring that particular problem, I would appreciate feedback on the right way to get the two values at the top of feeds.py marked NOTE(rsc). -type : [string] html title : [string] rietveld: an attempt at pubsubhubbub updated : [string] 2009-10-04T01:35:58+00:00 author : name : [string] email-address-removed id : [string] urn:md5:0a2a4f19bb815101f0ba2904aed7c35a link : -href : [string] http://codereview.appspot.com/124106 -rel : [string] alternate summary : #text : [string] This fixes the buggy tab rendering that can be seen at http://codereview.appspot.com/116075/diff/1/2 The fundamental problem was that the tab code was not being told what column the text began in, so it didn't know where to put the tab stops. Another problem was that some of the code assumed that string byte offsets were the same as column offsets, which is only true if there are no tabs. In the process of fixing this, I cleaned up the arguments to Fold and ExpandTabs and renamed them Break and _ExpandTabs so that I could be sure that I found all the call sites. I also wanted to verify that ExpandTabs was not being used from outside intra_region_diff.py. -type : [string] html title : [string] rietveld: correct tab handling updated : [string] 2009-10-03T23:02:17+00:00 id : [string] http://codereview.appspot.com/ link : [[]interface{}] -href : [string] http://codereview.appspot.com/ -rel : [string] alternate -href : [string] http://codereview.appspot.com/rss/mine/rsc -rel : [string] self title : [string] Code Review - My issues NewMapXml6, b: rietveld<>email-address-removedurn:md5:134d9179c41f806be79b3a5f7877d19aAn attempt at adding pubsubhubbub support to Rietveld. http://code.google.com/p/pubsubhubbub http://code.google.com/p/rietveld/issues/detail?id=155 The server side of the protocol is trivial: 1. add a <link rel="hub" href="hub-server"> tag to all feeds that will be pubsubhubbubbed. 2. every time one of those feeds changes, tell the hub with a simple POST request. I have tested this by adding debug prints to a local hub server and checking that the server got the right publish requests. I can't quite get the server to work, but I think the bug is not in my code. I think that the server expects to be able to grab the feed and see the feed's actual URL in the link rel="self", but the default value for that drops the :port from the URL, and I cannot for the life of me figure out how to get the Atom generator deep inside django not to do that, or even where it is doing that, or even what code is running to generate the Atom feed. (I thought I knew but I added some assert False statements and it kept running!) Ignoring that particular problem, I would appreciate feedback on the right way to get the two values at the top of feeds.py marked NOTE(rsc).rietveld: an attempt at pubsubhubbub2009-10-04T01:35:58+00:00email-address-removedurn:md5:0a2a4f19bb815101f0ba2904aed7c35aThis fixes the buggy tab rendering that can be seen at http://codereview.appspot.com/116075/diff/1/2 The fundamental problem was that the tab code was not being told what column the text began in, so it didn't know where to put the tab stops. Another problem was that some of the code assumed that string byte offsets were the same as column offsets, which is only true if there are no tabs. In the process of fixing this, I cleaned up the arguments to Fold and ExpandTabs and renamed them Break and _ExpandTabs so that I could be sure that I found all the call sites. I also wanted to verify that ExpandTabs was not being used from outside intra_region_diff.py.rietveld: correct tab handling2009-10-03T23:02:17+00:00http://codereview.appspot.com/Code Review - My issues NewMapXml6, b: rietveld<> email-address-removed urn:md5:134d9179c41f806be79b3a5f7877d19a An attempt at adding pubsubhubbub support to Rietveld. http://code.google.com/p/pubsubhubbub http://code.google.com/p/rietveld/issues/detail?id=155 The server side of the protocol is trivial: 1. add a <link rel="hub" href="hub-server"> tag to all feeds that will be pubsubhubbubbed. 2. every time one of those feeds changes, tell the hub with a simple POST request. I have tested this by adding debug prints to a local hub server and checking that the server got the right publish requests. I can't quite get the server to work, but I think the bug is not in my code. I think that the server expects to be able to grab the feed and see the feed's actual URL in the link rel="self", but the default value for that drops the :port from the URL, and I cannot for the life of me figure out how to get the Atom generator deep inside django not to do that, or even where it is doing that, or even what code is running to generate the Atom feed. (I thought I knew but I added some assert False statements and it kept running!) Ignoring that particular problem, I would appreciate feedback on the right way to get the two values at the top of feeds.py marked NOTE(rsc). rietveld: an attempt at pubsubhubbub 2009-10-04T01:35:58+00:00 email-address-removed urn:md5:0a2a4f19bb815101f0ba2904aed7c35a This fixes the buggy tab rendering that can be seen at http://codereview.appspot.com/116075/diff/1/2 The fundamental problem was that the tab code was not being told what column the text began in, so it didn't know where to put the tab stops. Another problem was that some of the code assumed that string byte offsets were the same as column offsets, which is only true if there are no tabs. In the process of fixing this, I cleaned up the arguments to Fold and ExpandTabs and renamed them Break and _ExpandTabs so that I could be sure that I found all the call sites. I also wanted to verify that ExpandTabs was not being used from outside intra_region_diff.py. rietveld: correct tab handling 2009-10-03T23:02:17+00:00 http://codereview.appspot.com/ Code Review - My issues ------------ xml3_test.go ========== TestOnlyAttributes
========== TestOnlyAttributesSeq
========== TestDecodeSimpleValuesAsMap xml: 30102 Mini Drone Inteligente - Branco 149.90 m : map[item:map[id:map[#text:30102] price:map[#text:149.90 -unit:BRL] title:map[#text:Mini Drone Inteligente - Branco]]] ========== (default) m : map[item:map[id:30102 price:map[#text:149.90 -unit:BRL] title:Mini Drone Inteligente - Branco]] ---------------- xml_test.go ... ==================== TestNewMapXmlReader ... NewMapXmlReader, raw: is a test NewMapXmlReader, m : map[root:map[this:is a test]] NewMapXmlReader, raw: something more12 NewMapXmlReader, m : map[root2:map[list:map[item:[1 2]] newtag:something more]] Xml_1, mv: map[boolean:true float:3.14159625 null: tag1:some data tag2:more data] Xml_1, x : true3.14159625some datamore data Xml_2, mv: map[array:[string true 36.4]] Xml_2, x : stringtrue36.4 Xml_3, mv: map[array:[[string true 36.4] string2]] Xml_3, x : stringtrue36.4string2 Xml_4, mv: map[array:map[innerkey:[[string true 36.4] string2]]] Xml_4, x : stringtrue36.4string2 Xml_5, mv: map[array:[map[innerkey:[[string true 36.4] string2]] map[some:more]]] Xml_5, x : stringtrue36.4string2more Xml_strings, mv: map[sometag:some data strings:[string1 string2]] Xml_strings, x : some datastring1string2 XmlWriter, b : true3.14159625some datamore data ---------------- xmlseq_test.go ... NewMapXmlSeq, x: William T. Gaddis Gaddis is one of the most influential but little know authors in America. The Recognitions One of the great seminal American novels of the 20th century. Without it Thomas Pynchon probably wouldn't have written Gravity's Rainbow. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. NewMapXmlSeq, s: doc : books : #seq : [int] 0 book : [[]interface{}] #attr : seq : #seq : [int] 0 #text : [string] 1 #comment : #seq : [int] 3 #text : [string] here's the rest of the review #seq : [int] 0 author : #seq : [int] 0 #text : [string] William T. Gaddis review : [[]interface{}] #seq : [int] 1 #text : [string] Gaddis is one of the most influential but little know authors in America. #seq : [int] 4 #text : [string] One of the great seminal American novels of the 20th century. #seq : [int] 5 #text : [string] Without it Thomas Pynchon probably wouldn't have written Gravity's Rainbow. title : #seq : [int] 2 #text : [string] The Recognitions #attr : seq : #seq : [int] 0 #text : [string] 2 #seq : [int] 1 author : #seq : [int] 0 #text : [string] Austin Tappan Wright review : #seq : [int] 2 #text : [string] An example of earlier 20th century American utopian fiction. title : #seq : [int] 1 #text : [string] Islandia #directive : #seq : [int] 2 #text : [string] throw in a directive here #seq : [int] 2 author : #seq : [int] 0 #text : [string] John Hawkes review : #seq : [int] 3 #text : [string] A lyrical novel about the construction of Ft. Peck Dam in Montana. title : #seq : [int] 1 #text : [string] The Beetle Leg #seq : [int] 3 author : #procinst : #inst : [string] first_name last_name #seq : [int] 0 #target : [string] cat #seq : [int] 0 first_name : #seq : [int] 1 #text : [string] T.E. last_name : #seq : [int] 2 #text : [string] Porter review : #seq : [int] 2 #text : [string] A magical novella. title : #seq : [int] 1 #text : [string] King's Day NewMapXmlSeq, msv.XmlIndent(): William T. Gaddis Gaddis is one of the most influential but little know authors in America. The Recognitions One of the great seminal American novels of the 20th century. Without it Thomas Pynchon probably wouldn't have written Gravity's Rainbow. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. ------------ TestXmlSeqDecodeError ... err ok: element book not properly terminated, got books at #461 ----------- TestXMPPStreamTag ... map[stream:map[-from:example.com -stream:http://etherx.jabber.org/streams -version:1.0 -xmlns:jabber:client]] map[features:map[bind:map[-xmlns:urn:ietf:params:xml:ns:xmpp-bind] sm:map[-xmlns:urn:xmpp:sm:3]]] map[stream:map[]] ----------- TestXMPPStreamTagSeq ... map[stream:stream:map[#attr:map[from:map[#seq:0 #text:example.com] version:map[#seq:3 #text:1.0] xmlns:map[#seq:1 #text:jabber:client] xmlns:stream:map[#seq:2 #text:http://etherx.jabber.org/streams]]]] map[stream:features:map[bind:map[#attr:map[xmlns:map[#seq:0 #text:urn:ietf:params:xml:ns:xmpp-bind]] #seq:0] sm:map[#attr:map[xmlns:map[#seq:0 #text:urn:xmpp:sm:3]] #seq:1]]] map[stream:stream:map[]] PASS ok github.com/clbanning/mxj 0.023s github.com/clbanning/mxj/j2x [{"some-null-value":"", "a-non-null-value":"bar"}] xmloutput: bar {"somekey":[{"value":"1st"},{"value":"2nd"}]} xmloutput: 1st2nd PASS ok github.com/clbanning/mxj/j2x 0.003s github.com/clbanning/mxj/j2x [{"some-null-value":"", "a-non-null-value":"bar"}] xmloutput: bar {"somekey":[{"value":"1st"},{"value":"2nd"}]} xmloutput: 1st2nd PASS ok github.com/clbanning/mxj/j2x 0.004s github.com/clbanning/mxj/x2j ? github.com/clbanning/mxj/x2j [no test files] github.com/clbanning/mxj/x2j-wrapper TestGoofy ... MapToDoc: map[byteVal:[116 104 101 32 97 105 100 32 111 102 32 116 104 101 105 114 32 99 111 117 110 116 114 121] goofyVal:0xc0000904f8 nilVal: xml:map[tag:map[-bool:true -one:1 -pi:3.1415962535] tagJR:map[-key:value]]] v: {"byteVal":"dGhlIGFpZCBvZiB0aGVpciBjb3VudHJ5","goofyVal":{"S":"Now is the time for","Sp":"all good men to come to"},"nilVal":null,"xml":{"tag":{"-bool":"true","-one":"1","-pi":"3.1415962535"},"tagJR":{"-key":"value"}}} TestGoofier ... MapToDoc: map[byteVal:[116 104 101 32 97 105 100 32 111 102 32 116 104 101 105 114 32 99 111 117 110 116 114 121] goofierVal:0xc0000931a0 goofyVal:0xc0000904f8 nilVal: xml:map[tag:map[-bool:true -one:1 -pi:3.1415962535] tagJR:map[-key:value]]] v: {"byteVal":"dGhlIGFpZCBvZiB0aGVpciBjb3VudHJ5","goofierVal":{"G":{"S":"Now is the time for","Sp":"all good men to come to"},"B":"dGhlIHRyZWUgb2YgZnJlZWRvbSBtdXN0IHBlcmlvZGljYWxseSBiZQ==","N":null},"goofyVal":{"S":"Now is the time for","Sp":"all good men to come to"},"nilVal":null,"xml":{"tag":{"-bool":"true","-one":"1","-pi":"3.1415962535"},"tagJR":{"-key":"value"}}} ToMap - Read doc: barworld entry : vars : foo :[string] bar foo2 : hello :[string] world ToJson - Read doc: barworld json: {"entry":{"vars":{"foo":"bar","foo2":{"hello":"world"}}}} ToJsonIndent - Read doc: barworld json: { "entry": { "vars": { "foo": "bar", "foo2": { "hello": "world" } } } } BulkParser (with error) - Read doc: barworldanbarworld phandler m: map[entry:map[vars:map[foo:bar foo2:map[hello:world]]]] ehandler err: xml.Decoder.Token() - XML syntax error on line 1: element closed by phandler m: map[entry:map[vars:map[foo:bar foo2:map[hello:world]]]] BulkParser (with error) - Read doc: barworldanbarworld phandlerj s: {"entry":{"vars":{"foo":"bar","foo2":{"hello":"world"}}}} ehandler err: xml.Decoder.Token() - XML syntax error on line 1: element closed by phandlerj s: {"entry":{"vars":{"foo":"bar","foo2":{"hello":"world"}}}} ================================ x2j_test.go ... =================== TestX2j ... XML doc: help me! Henry was a renegade Didn't like to play it safe One component at a time There's got to be a better way Oh, people came from miles around Searching for a steady job Welcome to the Motor Town Booming like an atom bomb Oh, Henry was the end of the story Then everything went wrong And we'll return it to its former glory But it just takes so long It's going to take a long time It's going to take it, but we'll make it one day It's going to take a long time It's going to take it, but we'll make it one day DocToMap(), recast==true: msg : -mtype :[string] alert -mpriority :[float64] 1.00e+00 text :[string] help me! song : -title :[string] A Long Time -author :[string] Mayer Hawthorne verses : verse :[[]interface{}] [item: 0] -no :[float64] 1.00e+00 line :[[]interface{}] [item: 0] -no :[float64] 1.00e+00 #text :[string] Henry was a renegade [item: 1] -no :[float64] 2.00e+00 #text :[string] Didn't like to play it safe [item: 2] -no :[float64] 3.00e+00 #text :[string] One component at a time [item: 3] #text :[string] There's got to be a better way -no :[float64] 4.00e+00 [item: 4] -no :[float64] 5.00e+00 #text :[string] Oh, people came from miles around [item: 5] #text :[string] Searching for a steady job -no :[float64] 6.00e+00 [item: 6] -no :[float64] 7.00e+00 #text :[string] Welcome to the Motor Town [item: 7] -no :[float64] 8.00e+00 #text :[string] Booming like an atom bomb -name :[string] verse 1 [item: 1] -name :[string] verse 2 -no :[float64] 2.00e+00 line :[[]interface{}] [item: 0] -no :[float64] 1.00e+00 #text :[string] Oh, Henry was the end of the story [item: 1] -no :[float64] 2.00e+00 #text :[string] Then everything went wrong [item: 2] -no :[float64] 3.00e+00 #text :[string] And we'll return it to its former glory [item: 3] -no :[float64] 4.00e+00 #text :[string] But it just takes so long chorus : line :[[]interface{}] [item: 0] -no :[float64] 1.00e+00 #text :[string] It's going to take a long time [item: 1] -no :[float64] 2.00e+00 #text :[string] It's going to take it, but we'll make it one day [item: 2] -no :[float64] 3.00e+00 #text :[string] It's going to take a long time [item: 3] -no :[float64] 4.00e+00 #text :[string] It's going to take it, but we'll make it one day DocToJsonIndent, recast==true: { "msg": { "-mpriority": 1, "-mtype": "alert", "song": { "-author": "Mayer Hawthorne", "-title": "A Long Time", "chorus": { "line": [ { "#text": "It's going to take a long time", "-no": 1 }, { "#text": "It's going to take it, but we'll make it one day", "-no": 2 }, { "#text": "It's going to take a long time", "-no": 3 }, { "#text": "It's going to take it, but we'll make it one day", "-no": 4 } ] }, "verses": { "verse": [ { "-name": "verse 1", "-no": 1, "line": [ { "#text": "Henry was a renegade", "-no": 1 }, { "#text": "Didn't like to play it safe", "-no": 2 }, { "#text": "One component at a time", "-no": 3 }, { "#text": "There's got to be a better way", "-no": 4 }, { "#text": "Oh, people came from miles around", "-no": 5 }, { "#text": "Searching for a steady job", "-no": 6 }, { "#text": "Welcome to the Motor Town", "-no": 7 }, { "#text": "Booming like an atom bomb", "-no": 8 } ] }, { "-name": "verse 2", "-no": 2, "line": [ { "#text": "Oh, Henry was the end of the story", "-no": 1 }, { "#text": "Then everything went wrong", "-no": 2 }, { "#text": "And we'll return it to its former glory", "-no": 3 }, { "#text": "But it just takes so long", "-no": 4 } ] } ] } }, "text": "help me!" } } =================== TestGetValue ... Read doc: barworld Looking for value: entry.vars { "foo": "bar", "foo2": { "hello": "world" } } Looking for value: entry.vars.foo2.hello world Looking with error in path: entry.var verr: no key in map: var DocValue() for tag path entry.vars { "foo": "bar", "foo2": { "hello": "world" } } =================== TestGetValueWithAttr ... Read doc: bar world universe Looking for value: entry.vars { "foo": [ { "#text": "bar", "-item": "1" }, { "-item": "2", "hello": [ { "#text": "world", "-item": "3" }, { "#text": "universe", "-item": "4" } ] } ] } MapValue(): Looking for value: entry.vars.foo item=2 { "-item": "2", "hello": [ { "#text": "world", "-item": "3" }, { "#text": "universe", "-item": "4" } ] } MapValue(): Looking for hello item:4 verr: no key in map: hello DocValue(): Looking for entry.vars.foo.hello item:4 verr: no keys beyond: foo DocValue(): Looking for empty nil { "entry": { "vars": { "foo": [ { "#text": "bar", "-item": "1" }, { "-item": "2", "hello": [ { "#text": "world", "-item": "3" }, { "#text": "universe", "-item": "4" } ] } ] } } } testing recast switch... MapValue(): Looking for value: entry.vars.foo item=2 { "-item": 2, "hello": [ { "#text": "world", "-item": 3 }, { "#text": "universe", "-item": 4 } ] } =================== TestStuff_1 ... val2 val2 val3 doc : tag :[[]interface{}] [item: 0] -item :[string] 1 #text :[string] val2 [item: 1] -item :[string] 2 #text :[string] val2 [item: 2] -instance :[string] 2 #text :[string] val3 -item :[string] 2 DocValue(): tag [ { "#text": "val2", "-item": "1" }, { "#text": "val2", "-item": "2" }, { "#text": "val3", "-instance": "2", "-item": "2" } ] DocValue(): item:2 instance:2 "val3" =================== TestStuff_2 ... val2 val2 val3 tag : -item :[string] 1 #text :[string] val2 DocValue(): tag { "#text": "val2", "-item": "1" } DocValue(): item:2 instance:2 verr: no attribute key:value pair: item:2 =================== TestBulkBuffer ... Bulk Message Processing Tests procMap: { "msg": { "-mpriority": "1", "-mtype": "alert", "song": { "-author": "Mayer Hawthorne", "-title": "A Long Time", "chorus": { "line": [ { "#text": "It's going to take a long time", "-no": "1" }, { "#text": "It's going to take it, but we'll make it one day", "-no": "2" }, { "#text": "It's going to take a long time", "-no": "3" }, { "#text": "It's going to take it, but we'll make it one day", "-no": "4" } ] }, "verses": { "verse": [ { "-name": "verse 1", "-no": "1", "line": [ { "#text": "Henry was a renegade", "-no": "1" }, { "#text": "Didn't like to play it safe", "-no": "2" }, { "#text": "One component at a time", "-no": "3" }, { "#text": "There's got to be a better way", "-no": "4" }, { "#text": "Oh, people came from miles around", "-no": "5" }, { "#text": "Searching for a steady job", "-no": "6" }, { "#text": "Welcome to the Motor Town", "-no": "7" }, { "#text": "Booming like an atom bomb", "-no": "8" } ] }, { "-name": "verse 2", "-no": "2", "line": [ { "#text": "Oh, Henry was the end of the story", "-no": "1" }, { "#text": "Then everything went wrong", "-no": "2" }, { "#text": "And we'll return it to its former glory", "-no": "3" }, { "#text": "But it just takes so long", "-no": "4" } ] } ] } }, "text": "help me!" } } procMap: { "msg": { "-mpriority": "1", "-mtype": "alert", "song": { "-author": "Mayer Hawthorne", "-title": "A Long Time", "verses": { "verse": { "-name": "verse 1", "-no": "1", "line": [ { "#text": "Henry was a renegade", "-no": "1" }, { "#text": "Didn't like to play it safe", "-no": "2" }, { "#text": "One component at a time", "-no": "3" }, { "#text": "There's got to be a better way", "-no": "4" }, { "#text": "Oh, people came from miles around", "-no": "5" }, { "#text": "Searching for a steady job", "-no": "6" }, { "#text": "Welcome to the Motor Town", "-no": "7" }, { "#text": "Booming like an atom bomb", "-no": "8" } ] } } }, "text": "help me!" } } procMap: { "msg": { "-mpriority": "1", "-mtype": "alert", "song": { "-author": "Mayer Hawthorne", "-title": "A Long Time", "chorus": { "line": [ { "#text": "It's going to take a long time", "-no": "1" }, { "#text": "It's going to take it, but we'll make it one day", "-no": "2" }, { "#text": "It's going to take a long time", "-no": "3" }, { "#text": "It's going to take it, but we'll make it one day", "-no": "4" } ] } }, "text": "help me!" } } procError err: xml.Decoder.Token() - XML syntax error on line 1: element closed by procError err: xml.Decoder.Token() - XML syntax error on line 1: unexpected end element =================== TestTagAndKey ... TestTagAndKey()
one
two.one two.two
one
two
tag: parts :: len: 2 v: [map[part:[two.one two.two]] map[sections:map[section:[one two]]]] no 'not_a_tag' tag key: section :: len: 2 v: [[one map[parts:map[part:[two.one two.two]]]] [one two]] no 'not_a_key' key ============================ x2jat_test.go =============== TestValuesAtKeyPath ... ValuesAtKeyPath ... doc1#author ss: [doc.books.book.author] vv: [map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]] ValuesAtKeyPath ... doc1#first_name ss: [doc.books.book.author.first_name] vv: [William H. Gaddis Austin Tappan Wright John Hawkes map[first_name:T.E. last_name:Porter]] GetKeyPaths...doc2#book ss: [doc.books.author.book doc.books.author.books.book] vv: [map[book:[map[-seq:1 review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[review:Won the National Book Award title:JR]] name:William H. Gaddis] map[books:map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]] name:John Hawkes]] vv: [map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]]] vv,shortest_path: [map[book:[map[-seq:1 review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[review:Won the National Book Award title:JR]] name:William H. Gaddis] map[books:map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]] name:John Hawkes]] ValuesAtKeyPath ... msg1#pub ss: [msg.pub] vv: [map[pub:test text:This is a long cold winter]] ValuesAtKeyPath ... msg2#pub ss: [msgs.msg.pub] vv: [map[pub:test text:This is a long cold winter] map[pub:test2 text:I hope we have a cool summer, though]] =============== TestValuesAtTagPath ... ValuesAtTagPath ... doc1#author ss: [doc.books.book.author] vv: [map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]] ValuesAtTagPath ... doc1#first_name ss: [doc.books.book.author.first_name] vv: [William H. Gaddis Austin Tappan Wright John Hawkes map[first_name:T.E. last_name:Porter]] ValuesAtTagPath...doc2#book ss: [doc.books.author.book doc.books.author.books.book] vv: [map[book:[map[-seq:1 review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[review:Won the National Book Award title:JR]] name:William H. Gaddis] map[books:map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]] name:John Hawkes]] vv: [map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]]] vv,shortest_path: [map[book:[map[-seq:1 review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[review:Won the National Book Award title:JR]] name:William H. Gaddis] map[books:map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]] name:John Hawkes]] ================================ x2jfindPath_test.go =============== TestPathsForKey ... PathsForKey... doc01#author ss: [doc.books.book.author] PathsForKey... doc01#books ss: [doc.books] PathsForKey...doc02#book ss: [doc.books.author.books.book doc.books.author.book] PathForKeyShortest...doc02#book s: doc.books.author.book =============== TestPathsForTag ... PathsForTag... doc01#author ss: [doc.books.book.author] PathsForTag... doc01#books ss: [doc.books] PathsForTag...doc02#book ss: [doc.books.author.book doc.books.author.books.book] PathForTagShortest...doc02#book s: doc.books.author.book TestValuesFromTagPath() William H. Gaddis The Recognitions One of the great seminal American novels of the 20th century. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. map: doc : books : book :[[]interface{}] [item: 0] review :[string] One of the great seminal American novels of the 20th century. -seq :[string] 1 author :[string] William H. Gaddis title :[string] The Recognitions [item: 1] -seq :[string] 2 author :[string] Austin Tappan Wright title :[string] Islandia review :[string] An example of earlier 20th century American utopian fiction. [item: 2] -seq :[string] 3 author :[string] John Hawkes title :[string] The Beetle Leg review :[string] A lyrical novel about the construction of Ft. Peck Dam in Montana. [item: 3] -seq :[string] 4 author : first_name :[string] T.E. last_name :[string] Porter title :[string] King's Day review :[string] A magical novella. path == doc.books: len(v): 1 0 : map[book:[map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]]] path == doc.books.*: len(v): 4 0 : map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] 1 : map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] 2 : map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] 3 : map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] path == doc.books.book: len(v): 4 0 : map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] 1 : map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] 2 : map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] 3 : map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] doc == doc2 / path == doc.books.book: len(v): 1 0 : map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] path == doc.books.book.*: len(v): 12 0 : William H. Gaddis 1 : The Recognitions 2 : One of the great seminal American novels of the 20th century. 3 : Austin Tappan Wright 4 : Islandia 5 : An example of earlier 20th century American utopian fiction. 6 : John Hawkes 7 : The Beetle Leg 8 : A lyrical novel about the construction of Ft. Peck Dam in Montana. 9 : map[first_name:T.E. last_name:Porter] 10 : King's Day 11 : A magical novella. doc == doc2 / path == doc.books.book.*: len(v): 3 0 : William H. Gaddis 1 : The Recognitions 2 : One of the great seminal American novels of the 20th century. path == doc.books.*.author: len(v): 4 0 : William H. Gaddis 1 : Austin Tappan Wright 2 : John Hawkes 3 : map[first_name:T.E. last_name:Porter] path == doc.*.*.author: len(v): 4 0 : William H. Gaddis 1 : Austin Tappan Wright 2 : John Hawkes 3 : map[first_name:T.E. last_name:Porter] path == doc.*.*.title: len(v): 4 0 : The Recognitions 1 : Islandia 2 : The Beetle Leg 3 : King's Day path == doc.*.*.*: len(v): 12 0 : The Recognitions 1 : One of the great seminal American novels of the 20th century. 2 : William H. Gaddis 3 : Islandia 4 : An example of earlier 20th century American utopian fiction. 5 : Austin Tappan Wright 6 : John Hawkes 7 : The Beetle Leg 8 : A lyrical novel about the construction of Ft. Peck Dam in Montana. 9 : map[first_name:T.E. last_name:Porter] 10 : King's Day 11 : A magical novella. path == doc.*.*.*.*: len(v): 2 0 : T.E. 1 : Porter TestValuesFromTagPath2(), iteration: 0 no default:text default:word map: data : netid : disable :[string] no text1 :[string] default:text word1 :[string] default:word path == data.*: len(v): 1 0 : map[disable:no text1:default:text word1:default:word] word1 : default:word disable : no text1 : default:text path == data.*.*: len(v): 3 0 : no 1 : default:text 2 : default:word TestValuesFromTagPath2(), iteration: 1 yes default:text default:word map: data : idnet : word1 :[string] default:word disable :[string] yes text1 :[string] default:text path == data.*: len(v): 1 0 : map[disable:yes text1:default:text word1:default:word] word1 : default:word disable : yes text1 : default:text path == data.*.*: len(v): 3 0 : yes 1 : default:text 2 : default:word Unmarshal test ... *map[string]interface{}, *string m: map[doc:map[name:Mayer Hawthorne song:map[title:A Long Time verse:map[-no:1 line:[map[#text:Henry was a renegade -no:1] map[#text:Didn't like to play it safe -no:2]]]]]] s: {"doc":{"name":"Mayer Hawthorne","song":{"title":"A Long Time","verse":{"-no":"1","line":[{"#text":"Henry was a renegade","-no":"1"},{"#text":"Didn't like to play it safe","-no":"2"}]}}}} Unmarshal test ... struct: clbanning
unknown
myInfo: {XMLName:{Space: Local:info} Name:clbanning Address:unknown} TestMapValue of doc.song.verse w/ len(attrs) == 0. doc: Mayer Hawthorne A Long Time Henry was a renegade Didn't like to play it safe result: map[-no:1 line:[map[#text:Henry was a renegade -no:1] map[#text:Didn't like to play it safe -no:2]]] PASS ok github.com/clbanning/mxj/x2j-wrapper 0.009s github.com/clbanning/mxj/x2j-wrapper TestGoofy ... MapToDoc: map[byteVal:[116 104 101 32 97 105 100 32 111 102 32 116 104 101 105 114 32 99 111 117 110 116 114 121] goofyVal:0xc000010510 nilVal: xml:map[tag:map[-bool:true -one:1 -pi:3.1415962535] tagJR:map[-key:value]]] v: {"byteVal":"dGhlIGFpZCBvZiB0aGVpciBjb3VudHJ5","goofyVal":{"S":"Now is the time for","Sp":"all good men to come to"},"nilVal":null,"xml":{"tag":{"-bool":"true","-one":"1","-pi":"3.1415962535"},"tagJR":{"-key":"value"}}} TestGoofier ... MapToDoc: map[byteVal:[116 104 101 32 97 105 100 32 111 102 32 116 104 101 105 114 32 99 111 117 110 116 114 121] goofierVal:0xc0000151d0 goofyVal:0xc000010510 nilVal: xml:map[tag:map[-bool:true -one:1 -pi:3.1415962535] tagJR:map[-key:value]]] v: {"byteVal":"dGhlIGFpZCBvZiB0aGVpciBjb3VudHJ5","goofierVal":{"G":{"S":"Now is the time for","Sp":"all good men to come to"},"B":"dGhlIHRyZWUgb2YgZnJlZWRvbSBtdXN0IHBlcmlvZGljYWxseSBiZQ==","N":null},"goofyVal":{"S":"Now is the time for","Sp":"all good men to come to"},"nilVal":null,"xml":{"tag":{"-bool":"true","-one":"1","-pi":"3.1415962535"},"tagJR":{"-key":"value"}}} ToMap - Read doc: barworld entry : vars : foo :[string] bar foo2 : hello :[string] world ToJson - Read doc: barworld json: {"entry":{"vars":{"foo":"bar","foo2":{"hello":"world"}}}} ToJsonIndent - Read doc: barworld json: { "entry": { "vars": { "foo": "bar", "foo2": { "hello": "world" } } } } BulkParser (with error) - Read doc: barworldanbarworld phandler m: map[entry:map[vars:map[foo:bar foo2:map[hello:world]]]] ehandler err: xml.Decoder.Token() - XML syntax error on line 1: element closed by phandler m: map[entry:map[vars:map[foo:bar foo2:map[hello:world]]]] BulkParser (with error) - Read doc: barworldanbarworld phandlerj s: {"entry":{"vars":{"foo":"bar","foo2":{"hello":"world"}}}} ehandler err: xml.Decoder.Token() - XML syntax error on line 1: element closed by phandlerj s: {"entry":{"vars":{"foo":"bar","foo2":{"hello":"world"}}}} ================================ x2j_test.go ... =================== TestX2j ... XML doc: help me! Henry was a renegade Didn't like to play it safe One component at a time There's got to be a better way Oh, people came from miles around Searching for a steady job Welcome to the Motor Town Booming like an atom bomb Oh, Henry was the end of the story Then everything went wrong And we'll return it to its former glory But it just takes so long It's going to take a long time It's going to take it, but we'll make it one day It's going to take a long time It's going to take it, but we'll make it one day DocToMap(), recast==true: msg : -mtype :[string] alert -mpriority :[float64] 1.00e+00 text :[string] help me! song : -author :[string] Mayer Hawthorne verses : verse :[[]interface{}] [item: 0] -name :[string] verse 1 -no :[float64] 1.00e+00 line :[[]interface{}] [item: 0] #text :[string] Henry was a renegade -no :[float64] 1.00e+00 [item: 1] -no :[float64] 2.00e+00 #text :[string] Didn't like to play it safe [item: 2] -no :[float64] 3.00e+00 #text :[string] One component at a time [item: 3] -no :[float64] 4.00e+00 #text :[string] There's got to be a better way [item: 4] -no :[float64] 5.00e+00 #text :[string] Oh, people came from miles around [item: 5] #text :[string] Searching for a steady job -no :[float64] 6.00e+00 [item: 6] -no :[float64] 7.00e+00 #text :[string] Welcome to the Motor Town [item: 7] -no :[float64] 8.00e+00 #text :[string] Booming like an atom bomb [item: 1] -name :[string] verse 2 -no :[float64] 2.00e+00 line :[[]interface{}] [item: 0] #text :[string] Oh, Henry was the end of the story -no :[float64] 1.00e+00 [item: 1] -no :[float64] 2.00e+00 #text :[string] Then everything went wrong [item: 2] -no :[float64] 3.00e+00 #text :[string] And we'll return it to its former glory [item: 3] -no :[float64] 4.00e+00 #text :[string] But it just takes so long chorus : line :[[]interface{}] [item: 0] -no :[float64] 1.00e+00 #text :[string] It's going to take a long time [item: 1] -no :[float64] 2.00e+00 #text :[string] It's going to take it, but we'll make it one day [item: 2] -no :[float64] 3.00e+00 #text :[string] It's going to take a long time [item: 3] #text :[string] It's going to take it, but we'll make it one day -no :[float64] 4.00e+00 -title :[string] A Long Time DocToJsonIndent, recast==true: { "msg": { "-mpriority": 1, "-mtype": "alert", "song": { "-author": "Mayer Hawthorne", "-title": "A Long Time", "chorus": { "line": [ { "#text": "It's going to take a long time", "-no": 1 }, { "#text": "It's going to take it, but we'll make it one day", "-no": 2 }, { "#text": "It's going to take a long time", "-no": 3 }, { "#text": "It's going to take it, but we'll make it one day", "-no": 4 } ] }, "verses": { "verse": [ { "-name": "verse 1", "-no": 1, "line": [ { "#text": "Henry was a renegade", "-no": 1 }, { "#text": "Didn't like to play it safe", "-no": 2 }, { "#text": "One component at a time", "-no": 3 }, { "#text": "There's got to be a better way", "-no": 4 }, { "#text": "Oh, people came from miles around", "-no": 5 }, { "#text": "Searching for a steady job", "-no": 6 }, { "#text": "Welcome to the Motor Town", "-no": 7 }, { "#text": "Booming like an atom bomb", "-no": 8 } ] }, { "-name": "verse 2", "-no": 2, "line": [ { "#text": "Oh, Henry was the end of the story", "-no": 1 }, { "#text": "Then everything went wrong", "-no": 2 }, { "#text": "And we'll return it to its former glory", "-no": 3 }, { "#text": "But it just takes so long", "-no": 4 } ] } ] } }, "text": "help me!" } } =================== TestGetValue ... Read doc: barworld Looking for value: entry.vars { "foo": "bar", "foo2": { "hello": "world" } } Looking for value: entry.vars.foo2.hello world Looking with error in path: entry.var verr: no key in map: var DocValue() for tag path entry.vars { "foo": "bar", "foo2": { "hello": "world" } } =================== TestGetValueWithAttr ... Read doc: bar world universe Looking for value: entry.vars { "foo": [ { "#text": "bar", "-item": "1" }, { "-item": "2", "hello": [ { "#text": "world", "-item": "3" }, { "#text": "universe", "-item": "4" } ] } ] } MapValue(): Looking for value: entry.vars.foo item=2 { "-item": "2", "hello": [ { "#text": "world", "-item": "3" }, { "#text": "universe", "-item": "4" } ] } MapValue(): Looking for hello item:4 verr: no key in map: hello DocValue(): Looking for entry.vars.foo.hello item:4 verr: no keys beyond: foo DocValue(): Looking for empty nil { "entry": { "vars": { "foo": [ { "#text": "bar", "-item": "1" }, { "-item": "2", "hello": [ { "#text": "world", "-item": "3" }, { "#text": "universe", "-item": "4" } ] } ] } } } testing recast switch... MapValue(): Looking for value: entry.vars.foo item=2 { "-item": 2, "hello": [ { "#text": "world", "-item": 3 }, { "#text": "universe", "-item": 4 } ] } =================== TestStuff_1 ... val2 val2 val3 doc : tag :[[]interface{}] [item: 0] -item :[string] 1 #text :[string] val2 [item: 1] -item :[string] 2 #text :[string] val2 [item: 2] #text :[string] val3 -item :[string] 2 -instance :[string] 2 DocValue(): tag [ { "#text": "val2", "-item": "1" }, { "#text": "val2", "-item": "2" }, { "#text": "val3", "-instance": "2", "-item": "2" } ] DocValue(): item:2 instance:2 "val3" =================== TestStuff_2 ... val2 val2 val3 tag : -item :[string] 1 #text :[string] val2 DocValue(): tag { "#text": "val2", "-item": "1" } DocValue(): item:2 instance:2 verr: no attribute key:value pair: item:2 =================== TestBulkBuffer ... Bulk Message Processing Tests procMap: { "msg": { "-mpriority": "1", "-mtype": "alert", "song": { "-author": "Mayer Hawthorne", "-title": "A Long Time", "chorus": { "line": [ { "#text": "It's going to take a long time", "-no": "1" }, { "#text": "It's going to take it, but we'll make it one day", "-no": "2" }, { "#text": "It's going to take a long time", "-no": "3" }, { "#text": "It's going to take it, but we'll make it one day", "-no": "4" } ] }, "verses": { "verse": [ { "-name": "verse 1", "-no": "1", "line": [ { "#text": "Henry was a renegade", "-no": "1" }, { "#text": "Didn't like to play it safe", "-no": "2" }, { "#text": "One component at a time", "-no": "3" }, { "#text": "There's got to be a better way", "-no": "4" }, { "#text": "Oh, people came from miles around", "-no": "5" }, { "#text": "Searching for a steady job", "-no": "6" }, { "#text": "Welcome to the Motor Town", "-no": "7" }, { "#text": "Booming like an atom bomb", "-no": "8" } ] }, { "-name": "verse 2", "-no": "2", "line": [ { "#text": "Oh, Henry was the end of the story", "-no": "1" }, { "#text": "Then everything went wrong", "-no": "2" }, { "#text": "And we'll return it to its former glory", "-no": "3" }, { "#text": "But it just takes so long", "-no": "4" } ] } ] } }, "text": "help me!" } } procMap: { "msg": { "-mpriority": "1", "-mtype": "alert", "song": { "-author": "Mayer Hawthorne", "-title": "A Long Time", "verses": { "verse": { "-name": "verse 1", "-no": "1", "line": [ { "#text": "Henry was a renegade", "-no": "1" }, { "#text": "Didn't like to play it safe", "-no": "2" }, { "#text": "One component at a time", "-no": "3" }, { "#text": "There's got to be a better way", "-no": "4" }, { "#text": "Oh, people came from miles around", "-no": "5" }, { "#text": "Searching for a steady job", "-no": "6" }, { "#text": "Welcome to the Motor Town", "-no": "7" }, { "#text": "Booming like an atom bomb", "-no": "8" } ] } } }, "text": "help me!" } } procMap: { "msg": { "-mpriority": "1", "-mtype": "alert", "song": { "-author": "Mayer Hawthorne", "-title": "A Long Time", "chorus": { "line": [ { "#text": "It's going to take a long time", "-no": "1" }, { "#text": "It's going to take it, but we'll make it one day", "-no": "2" }, { "#text": "It's going to take a long time", "-no": "3" }, { "#text": "It's going to take it, but we'll make it one day", "-no": "4" } ] } }, "text": "help me!" } } procError err: xml.Decoder.Token() - XML syntax error on line 1: element closed by procError err: xml.Decoder.Token() - XML syntax error on line 1: unexpected end element =================== TestTagAndKey ... TestTagAndKey()
one
two.one two.two
one
two
tag: parts :: len: 2 v: [map[part:[two.one two.two]] map[sections:map[section:[one two]]]] no 'not_a_tag' tag key: section :: len: 2 v: [[one two] [one map[parts:map[part:[two.one two.two]]]]] no 'not_a_key' key ============================ x2jat_test.go =============== TestValuesAtKeyPath ... ValuesAtKeyPath ... doc1#author ss: [doc.books.book.author] vv: [map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]] ValuesAtKeyPath ... doc1#first_name ss: [doc.books.book.author.first_name] vv: [William H. Gaddis Austin Tappan Wright John Hawkes map[first_name:T.E. last_name:Porter]] GetKeyPaths...doc2#book ss: [doc.books.author.book doc.books.author.books.book] vv: [map[book:[map[-seq:1 review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[review:Won the National Book Award title:JR]] name:William H. Gaddis] map[books:map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]] name:John Hawkes]] vv: [map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]]] vv,shortest_path: [map[book:[map[-seq:1 review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[review:Won the National Book Award title:JR]] name:William H. Gaddis] map[books:map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]] name:John Hawkes]] ValuesAtKeyPath ... msg1#pub ss: [msg.pub] vv: [map[pub:test text:This is a long cold winter]] ValuesAtKeyPath ... msg2#pub ss: [msgs.msg.pub] vv: [map[pub:test text:This is a long cold winter] map[pub:test2 text:I hope we have a cool summer, though]] =============== TestValuesAtTagPath ... ValuesAtTagPath ... doc1#author ss: [doc.books.book.author] vv: [map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]] ValuesAtTagPath ... doc1#first_name ss: [doc.books.book.author.first_name] vv: [William H. Gaddis Austin Tappan Wright John Hawkes map[first_name:T.E. last_name:Porter]] ValuesAtTagPath...doc2#book ss: [doc.books.author.book doc.books.author.books.book] vv: [map[book:[map[-seq:1 review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[review:Won the National Book Award title:JR]] name:William H. Gaddis] map[books:map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]] name:John Hawkes]] vv: [map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]]] vv,shortest_path: [map[book:[map[-seq:1 review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[review:Won the National Book Award title:JR]] name:William H. Gaddis] map[books:map[book:[map[title:The Beetle Leg] map[title:The Blood Oranges]]] name:John Hawkes]] ================================ x2jfindPath_test.go =============== TestPathsForKey ... PathsForKey... doc01#author ss: [doc.books.book.author] PathsForKey... doc01#books ss: [doc.books] PathsForKey...doc02#book ss: [doc.books.author.book doc.books.author.books.book] PathForKeyShortest...doc02#book s: doc.books.author.book =============== TestPathsForTag ... PathsForTag... doc01#author ss: [doc.books.book.author] PathsForTag... doc01#books ss: [doc.books] PathsForTag...doc02#book ss: [doc.books.author.book doc.books.author.books.book] PathForTagShortest...doc02#book s: doc.books.author.book TestValuesFromTagPath() William H. Gaddis The Recognitions One of the great seminal American novels of the 20th century. Austin Tappan Wright Islandia An example of earlier 20th century American utopian fiction. John Hawkes The Beetle Leg A lyrical novel about the construction of Ft. Peck Dam in Montana. T.E. Porter King's Day A magical novella. map: doc : books : book :[[]interface{}] [item: 0] -seq :[string] 1 author :[string] William H. Gaddis title :[string] The Recognitions review :[string] One of the great seminal American novels of the 20th century. [item: 1] -seq :[string] 2 author :[string] Austin Tappan Wright title :[string] Islandia review :[string] An example of earlier 20th century American utopian fiction. [item: 2] -seq :[string] 3 author :[string] John Hawkes title :[string] The Beetle Leg review :[string] A lyrical novel about the construction of Ft. Peck Dam in Montana. [item: 3] -seq :[string] 4 author : first_name :[string] T.E. last_name :[string] Porter title :[string] King's Day review :[string] A magical novella. path == doc.books: len(v): 1 0 : map[book:[map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day]]] path == doc.books.*: len(v): 4 0 : map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] 1 : map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] 2 : map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] 3 : map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] path == doc.books.book: len(v): 4 0 : map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] 1 : map[-seq:2 author:Austin Tappan Wright review:An example of earlier 20th century American utopian fiction. title:Islandia] 2 : map[-seq:3 author:John Hawkes review:A lyrical novel about the construction of Ft. Peck Dam in Montana. title:The Beetle Leg] 3 : map[-seq:4 author:map[first_name:T.E. last_name:Porter] review:A magical novella. title:King's Day] doc == doc2 / path == doc.books.book: len(v): 1 0 : map[-seq:1 author:William H. Gaddis review:One of the great seminal American novels of the 20th century. title:The Recognitions] path == doc.books.book.*: len(v): 12 0 : William H. Gaddis 1 : The Recognitions 2 : One of the great seminal American novels of the 20th century. 3 : Austin Tappan Wright 4 : Islandia 5 : An example of earlier 20th century American utopian fiction. 6 : John Hawkes 7 : The Beetle Leg 8 : A lyrical novel about the construction of Ft. Peck Dam in Montana. 9 : map[first_name:T.E. last_name:Porter] 10 : King's Day 11 : A magical novella. doc == doc2 / path == doc.books.book.*: len(v): 3 0 : William H. Gaddis 1 : The Recognitions 2 : One of the great seminal American novels of the 20th century. path == doc.books.*.author: len(v): 4 0 : William H. Gaddis 1 : Austin Tappan Wright 2 : John Hawkes 3 : map[first_name:T.E. last_name:Porter] path == doc.*.*.author: len(v): 4 0 : William H. Gaddis 1 : Austin Tappan Wright 2 : John Hawkes 3 : map[first_name:T.E. last_name:Porter] path == doc.*.*.title: len(v): 4 0 : The Recognitions 1 : Islandia 2 : The Beetle Leg 3 : King's Day path == doc.*.*.*: len(v): 12 0 : William H. Gaddis 1 : The Recognitions 2 : One of the great seminal American novels of the 20th century. 3 : Austin Tappan Wright 4 : Islandia 5 : An example of earlier 20th century American utopian fiction. 6 : A lyrical novel about the construction of Ft. Peck Dam in Montana. 7 : John Hawkes 8 : The Beetle Leg 9 : map[first_name:T.E. last_name:Porter] 10 : King's Day 11 : A magical novella. path == doc.*.*.*.*: len(v): 2 0 : T.E. 1 : Porter TestValuesFromTagPath2(), iteration: 0 no default:text default:word map: data : netid : disable :[string] no text1 :[string] default:text word1 :[string] default:word path == data.*: len(v): 1 0 : map[disable:no text1:default:text word1:default:word] disable : no text1 : default:text word1 : default:word path == data.*.*: len(v): 3 0 : no 1 : default:text 2 : default:word TestValuesFromTagPath2(), iteration: 1 yes default:text default:word map: data : idnet : disable :[string] yes text1 :[string] default:text word1 :[string] default:word path == data.*: len(v): 1 0 : map[disable:yes text1:default:text word1:default:word] text1 : default:text word1 : default:word disable : yes path == data.*.*: len(v): 3 0 : yes 1 : default:text 2 : default:word Unmarshal test ... *map[string]interface{}, *string m: map[doc:map[name:Mayer Hawthorne song:map[title:A Long Time verse:map[-no:1 line:[map[#text:Henry was a renegade -no:1] map[#text:Didn't like to play it safe -no:2]]]]]] s: {"doc":{"name":"Mayer Hawthorne","song":{"title":"A Long Time","verse":{"-no":"1","line":[{"#text":"Henry was a renegade","-no":"1"},{"#text":"Didn't like to play it safe","-no":"2"}]}}}} Unmarshal test ... struct: clbanning
unknown
myInfo: {XMLName:{Space: Local:info} Name:clbanning Address:unknown} TestMapValue of doc.song.verse w/ len(attrs) == 0. doc: Mayer Hawthorne A Long Time Henry was a renegade Didn't like to play it safe result: map[-no:1 line:[map[#text:Henry was a renegade -no:1] map[#text:Didn't like to play it safe -no:2]]] PASS ok github.com/clbanning/mxj/x2j-wrapper 0.012s Processing files: golang-github-clbanning-mxj-devel-2.5.5-7.amzn2023xwalker.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dOYELw + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd mxj-2.5.5 + DOCDIR=/builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64/usr/share/doc/golang-github-clbanning-mxj-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64/usr/share/doc/golang-github-clbanning-mxj-devel + cp -pr examples /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64/usr/share/doc/golang-github-clbanning-mxj-devel + cp -pr readme.md /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64/usr/share/doc/golang-github-clbanning-mxj-devel + cp -pr x2j-wrapper/README /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64/usr/share/doc/golang-github-clbanning-mxj-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.s5kamV + umask 022 + cd /builddir/build/BUILD + cd mxj-2.5.5 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64/usr/share/licenses/golang-github-clbanning-mxj-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64/usr/share/licenses/golang-github-clbanning-mxj-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64/usr/share/licenses/golang-github-clbanning-mxj-devel + cp -pr x2j-wrapper/LICENSE /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64/usr/share/licenses/golang-github-clbanning-mxj-devel + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/share/licenses/golang-github-clbanning-mxj-devel/LICENSE grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/clbanning/mxj) = 2.5.5-7.amzn2023xwalker golang(github.com/clbanning/mxj/j2x) = 2.5.5-7.amzn2023xwalker golang(github.com/clbanning/mxj/x2j) = 2.5.5-7.amzn2023xwalker golang(github.com/clbanning/mxj/x2j-wrapper) = 2.5.5-7.amzn2023xwalker golang-github-clbanning-mxj-devel = 2.5.5-7.amzn2023xwalker golang-ipath(github.com/clbanning/mxj) = 2.5.5-7.amzn2023xwalker Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64 Wrote: /builddir/build/RPMS/golang-github-clbanning-mxj-devel-2.5.5-7.amzn2023xwalker.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JW6vtK + umask 022 + cd /builddir/build/BUILD + cd mxj-2.5.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.src.rpm Finish: build phase for golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/amazonlinux-2023-x86_64-1727021641.039368/root/var/log/dnf.log /var/lib/mock/amazonlinux-2023-x86_64-1727021641.039368/root/var/log/dnf.librepo.log /var/lib/mock/amazonlinux-2023-x86_64-1727021641.039368/root/var/log/dnf.rpm.log INFO: Done(/var/lib/copr-rpmbuild/results/golang-github-clbanning-mxj-2.5.5-7.amzn2023xwalker.src.rpm) Config(child) 0 minutes 32 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "golang-github-clbanning-mxj", "epoch": null, "version": "2.5.5", "release": "7.amzn2023xwalker", "arch": "src" }, { "name": "golang-github-clbanning-mxj-devel", "epoch": null, "version": "2.5.5", "release": "7.amzn2023xwalker", "arch": "noarch" } ] } RPMResults finished