I: pbuilder: network access will be disabled during build I: Current time: Sat Sep 18 08:48:24 +14 2021 I: pbuilder-time-stamp: 1631904504 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [mongo-tools_3.4.14-4.dsc] I: copying [./mongo-tools_3.4.14.orig.tar.gz] I: copying [./mongo-tools_3.4.14-4.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Wed Feb 13 02:56:52 2019 +14 gpgv: using RSA key 3E02FD6656295952110BAB99F51B18C720248224 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./mongo-tools_3.4.14-4.dsc dpkg-source: info: extracting mongo-tools in mongo-tools-3.4.14 dpkg-source: info: unpacking mongo-tools_3.4.14.orig.tar.gz dpkg-source: info: unpacking mongo-tools_3.4.14-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying openssl-1.1-support.patch dpkg-source: info: applying 0002-Fix-logging-formatting-directives.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/15841/tmp/hooks/D01_modify_environment starting debug: Running on codethink-sled13-arm64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/15841/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/15841/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.0.3(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/var/lib/jenkins HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=15841 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.8TucNHht1U/pbuilderrc_dPl8 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.8TucNHht1U/b2 --logfile b2/build.log mongo-tools_3.4.14-4.dsc' SUDO_GID=117 SUDO_UID=110 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root USERNAME=root _='I: set' http_proxy=http://192.168.101.16:3128 I: uname -a Linux i-capture-the-hostname 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 -rwxr-xr-x 1 root root 1216928 Apr 18 2019 bash -rwxr-xr-x 3 root root 34808 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 14264 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 35576 Mar 1 2019 cat -rwxr-xr-x 1 root root 60256 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 56096 Mar 1 2019 chmod -rwxr-xr-x 1 root root 64368 Mar 1 2019 chown -rwxr-xr-x 1 root root 134632 Mar 1 2019 cp -rwxr-xr-x 1 root root 129536 Jan 18 2019 dash -rwxr-xr-x 1 root root 97136 Mar 1 2019 date -rwxr-xr-x 1 root root 76736 Mar 1 2019 dd -rwxr-xr-x 1 root root 93752 Mar 1 2019 df -rwxr-xr-x 1 root root 138848 Mar 1 2019 dir -rwxr-xr-x 1 root root 75984 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 31368 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 27256 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 68792 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 34824 Apr 23 2020 fusermount -rwxr-xr-x 1 root root 174304 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 89656 Jan 6 2019 gzip -rwxr-xr-x 1 root root 18440 Sep 27 2018 hostname -rwxr-xr-x 1 root root 64472 Mar 1 2019 ln -rwxr-xr-x 1 root root 52544 Jul 27 2018 login -rwxr-xr-x 1 root root 138848 Mar 1 2019 ls -rwxr-xr-x 1 root root 108552 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 76840 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 64480 Mar 1 2019 mknod -rwxr-xr-x 1 root root 39736 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 38840 Jan 10 2019 more -rwsr-xr-x 1 root root 47112 Jan 10 2019 mount -rwxr-xr-x 1 root root 14344 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 138736 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35560 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 43712 Mar 1 2019 readlink -rwxr-xr-x 1 root root 68440 Mar 1 2019 rm -rwxr-xr-x 1 root root 39624 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 19144 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Sep 18 08:48 sh -> bash lrwxrwxrwx 1 root root 4 Sep 18 04:48 sh.distrib -> dash -rwxr-xr-x 1 root root 31384 Mar 1 2019 sleep -rwxr-xr-x 1 root root 72480 Mar 1 2019 stty -rwsr-xr-x 1 root root 59424 Jan 10 2019 su -rwxr-xr-x 1 root root 31416 Mar 1 2019 sync -rwxr-xr-x 1 root root 449416 Apr 24 2019 tar -rwxr-xr-x 1 root root 10560 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 88968 Mar 1 2019 touch -rwxr-xr-x 1 root root 27256 Mar 1 2019 true -rwxr-xr-x 1 root root 14264 Apr 23 2020 ulockmgr_server -rwsr-xr-x 1 root root 30728 Jan 10 2019 umount -rwxr-xr-x 1 root root 31384 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 138848 Mar 1 2019 vdir -rwxr-xr-x 1 root root 34824 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/15841/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 11~), golang-go, dh-golang, libssl-dev, libsasl2-dev, libpcap-dev, golang-gopkg-tomb.v2-dev, golang-github-golang-snappy-dev, golang-github-google-gopacket-dev, golang-github-jacobsa-oglematchers-dev, golang-github-nsf-termbox-go-dev, golang-github-smartystreets-assertions-dev, golang-github-smartystreets-goconvey-dev, golang-github-jtolds-gls-dev, golang-golang-x-crypto-dev, pkg-config dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 11~); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on golang-go; however: Package golang-go is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on libssl-dev; however: Package libssl-dev is not installed. pbuilder-satisfydepends-dummy depends on libsasl2-dev; however: Package libsasl2-dev is not installed. pbuilder-satisfydepends-dummy depends on libpcap-dev; however: Package libpcap-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-gopkg-tomb.v2-dev; however: Package golang-gopkg-tomb.v2-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-golang-snappy-dev; however: Package golang-github-golang-snappy-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-google-gopacket-dev; however: Package golang-github-google-gopacket-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-jacobsa-oglematchers-dev; however: Package golang-github-jacobsa-oglematchers-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-nsf-termbox-go-dev; however: Package golang-github-nsf-termbox-go-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-smartystreets-assertions-dev; however: Package golang-github-smartystreets-assertions-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-smartystreets-goconvey-dev; however: Package golang-github-smartystreets-goconvey-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-jtolds-gls-dev; however: Package golang-github-jtolds-gls-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-crypto-dev; however: Package golang-golang-x-crypto-dev is not installed. pbuilder-satisfydepends-dummy depends on pkg-config; however: Package pkg-config is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.11-go{a} golang-1.11-src{a} golang-github-golang-snappy-dev{a} golang-github-google-gopacket-dev{a} golang-github-jacobsa-oglematchers-dev{a} golang-github-jacobsa-oglemock-dev{a} golang-github-jacobsa-ogletest-dev{a} golang-github-jacobsa-reqtrace-dev{a} golang-github-jtolds-gls-dev{a} golang-github-mattn-go-runewidth-dev{a} golang-github-nsf-termbox-go-dev{a} golang-github-smartystreets-assertions-dev{a} golang-github-smartystreets-goconvey-dev{a} golang-go{a} golang-golang-x-crypto-dev{a} golang-golang-x-net-dev{a} golang-golang-x-sys-dev{a} golang-golang-x-text-dev{a} golang-golang-x-tools-dev{a} golang-gopkg-tomb.v2-dev{a} golang-src{a} golang-x-text-dev{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses6{a} libpcap-dev{a} libpcap0.8{a} libpcap0.8-dev{a} libpipeline1{a} libsasl2-2{a} libsasl2-dev{a} libsasl2-modules-db{a} libsigsegv2{a} libssl-dev{a} libssl1.1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} pkg-config{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl libsasl2-modules lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 65 newly installed, 0 to remove and 0 not upgraded. Need to get 80.1 MB of archives. After unpacking 407 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2 [97.4 kB] Get: 2 http://deb.debian.org/debian buster/main arm64 bsdmainutils arm64 11.1.2+b1 [185 kB] Get: 3 http://deb.debian.org/debian buster/main arm64 libuchardet0 arm64 0.0.6-3 [65.0 kB] Get: 4 http://deb.debian.org/debian buster/main arm64 groff-base arm64 1.22.4-3 [869 kB] Get: 5 http://deb.debian.org/debian buster/main arm64 libpipeline1 arm64 1.5.1-2 [29.8 kB] Get: 6 http://deb.debian.org/debian buster/main arm64 man-db arm64 2.8.5-2 [1258 kB] Get: 7 http://deb.debian.org/debian buster/main arm64 sensible-utils all 0.0.12 [15.8 kB] Get: 8 http://deb.debian.org/debian buster/main arm64 libmagic-mgc arm64 1:5.35-4+deb10u1 [242 kB] Get: 9 http://deb.debian.org/debian buster/main arm64 libmagic1 arm64 1:5.35-4+deb10u1 [115 kB] Get: 10 http://deb.debian.org/debian buster/main arm64 file arm64 1:5.35-4+deb10u1 [66.4 kB] Get: 11 http://deb.debian.org/debian buster/main arm64 gettext-base arm64 0.19.8.1-9 [120 kB] Get: 12 http://deb.debian.org/debian buster/main arm64 libsigsegv2 arm64 2.12-2 [32.3 kB] Get: 13 http://deb.debian.org/debian buster/main arm64 m4 arm64 1.4.18-2 [198 kB] Get: 14 http://deb.debian.org/debian buster/main arm64 autoconf all 2.69-11 [341 kB] Get: 15 http://deb.debian.org/debian buster/main arm64 autotools-dev all 20180224.1 [77.0 kB] Get: 16 http://deb.debian.org/debian buster/main arm64 automake all 1:1.16.1-4 [771 kB] Get: 17 http://deb.debian.org/debian buster/main arm64 autopoint all 0.19.8.1-9 [434 kB] Get: 18 http://deb.debian.org/debian buster/main arm64 libtool all 2.4.6-9 [547 kB] Get: 19 http://deb.debian.org/debian buster/main arm64 dh-autoreconf all 19 [16.9 kB] Get: 20 http://deb.debian.org/debian buster/main arm64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 21 http://deb.debian.org/debian buster/main arm64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 22 http://deb.debian.org/debian buster/main arm64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 23 http://deb.debian.org/debian buster/main arm64 libelf1 arm64 0.176-1.1 [160 kB] Get: 24 http://deb.debian.org/debian buster/main arm64 dwz arm64 0.12-3 [71.7 kB] Get: 25 http://deb.debian.org/debian buster/main arm64 libglib2.0-0 arm64 2.58.3-2+deb10u2 [1185 kB] Get: 26 http://deb.debian.org/debian buster/main arm64 libicu63 arm64 63.1-6+deb10u1 [8151 kB] Get: 27 http://deb.debian.org/debian buster/main arm64 libxml2 arm64 2.9.4+dfsg1-7+b3 [623 kB] Get: 28 http://deb.debian.org/debian buster/main arm64 libcroco3 arm64 0.6.12-3 [140 kB] Get: 29 http://deb.debian.org/debian buster/main arm64 libncurses6 arm64 6.1+20181013-2+deb10u2 [92.6 kB] Get: 30 http://deb.debian.org/debian buster/main arm64 gettext arm64 0.19.8.1-9 [1261 kB] Get: 31 http://deb.debian.org/debian buster/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main arm64 po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main arm64 debhelper all 12.1.1 [1016 kB] Get: 34 http://deb.debian.org/debian buster/main arm64 dh-golang all 1.39 [20.8 kB] Get: 35 http://deb.debian.org/debian buster/main arm64 golang-1.11-src arm64 1.11.6-1+deb10u3 [13.0 MB] Get: 36 http://deb.debian.org/debian buster/main arm64 golang-1.11-go arm64 1.11.6-1+deb10u3 [36.7 MB] Get: 37 http://deb.debian.org/debian buster/main arm64 golang-github-golang-snappy-dev all 0.0+git20160529.d9eb7a3-3 [51.2 kB] Get: 38 http://deb.debian.org/debian buster/main arm64 libpcap0.8 arm64 1.8.1-6 [126 kB] Get: 39 http://deb.debian.org/debian buster/main arm64 libpcap0.8-dev arm64 1.8.1-6 [226 kB] Get: 40 http://deb.debian.org/debian buster/main arm64 golang-github-google-gopacket-dev all 1.1.14-3 [542 kB] Get: 41 http://deb.debian.org/debian buster/main arm64 golang-github-jacobsa-oglematchers-dev all 0.0~git20150320-3 [30.0 kB] Get: 42 http://deb.debian.org/debian buster/main arm64 golang-github-jacobsa-oglemock-dev all 0.0~git20150428-5 [25.1 kB] Get: 43 http://deb.debian.org/debian buster/main arm64 golang-golang-x-tools-dev all 1:0.0~git20190125.d66bd3c+ds-4 [1230 kB] Get: 44 http://deb.debian.org/debian buster/main arm64 golang-golang-x-text-dev all 0.3.0-2 [3393 kB] Get: 45 http://deb.debian.org/debian buster/main arm64 golang-x-text-dev all 0.3.0-2 [3592 B] Get: 46 http://deb.debian.org/debian buster/main arm64 golang-golang-x-net-dev all 1:0.0+git20181201.351d144+dfsg-3 [637 kB] Get: 47 http://deb.debian.org/debian buster/main arm64 golang-github-jacobsa-reqtrace-dev all 0.0~git20150505-6 [5368 B] Get: 48 http://deb.debian.org/debian buster/main arm64 golang-github-jacobsa-ogletest-dev all 0.0~git20170503.80d50a7-1 [22.1 kB] Get: 49 http://deb.debian.org/debian buster/main arm64 golang-src arm64 2:1.11~1 [4348 B] Get: 50 http://deb.debian.org/debian buster/main arm64 golang-go arm64 2:1.11~1 [23.4 kB] Get: 51 http://deb.debian.org/debian buster/main arm64 golang-github-jtolds-gls-dev all 4.2.1-4 [7336 B] Get: 52 http://deb.debian.org/debian buster/main arm64 golang-github-mattn-go-runewidth-dev all 0.0.4-1 [15.2 kB] Get: 53 http://deb.debian.org/debian buster/main arm64 golang-github-nsf-termbox-go-dev all 0.0~git20160914-3 [26.8 kB] Get: 54 http://deb.debian.org/debian buster/main arm64 golang-github-smartystreets-assertions-dev all 1.6.0+dfsg-1 [24.2 kB] Get: 55 http://deb.debian.org/debian buster/main arm64 golang-github-smartystreets-goconvey-dev all 1.6.1-3 [48.8 kB] Get: 56 http://deb.debian.org/debian buster/main arm64 golang-golang-x-sys-dev all 0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1 [291 kB] Get: 57 http://deb.debian.org/debian buster/main arm64 golang-golang-x-crypto-dev all 1:0.0~git20181203.505ab14-1 [1445 kB] Get: 58 http://deb.debian.org/debian buster/main arm64 golang-gopkg-tomb.v2-dev all 0.0~git20161208.d5d1b58-3 [6840 B] Get: 59 http://deb.debian.org/debian buster/main arm64 libpcap-dev arm64 1.8.1-6 [25.9 kB] Get: 60 http://deb.debian.org/debian buster/main arm64 libsasl2-modules-db arm64 2.1.27+dfsg-1+deb10u1 [69.3 kB] Get: 61 http://deb.debian.org/debian buster/main arm64 libsasl2-2 arm64 2.1.27+dfsg-1+deb10u1 [105 kB] Get: 62 http://deb.debian.org/debian buster/main arm64 libsasl2-dev arm64 2.1.27+dfsg-1+deb10u1 [279 kB] Get: 63 http://deb.debian.org/debian buster/main arm64 libssl1.1 arm64 1.1.1d-0+deb10u3 [1382 kB] Get: 64 http://deb.debian.org/debian buster/main arm64 libssl-dev arm64 1.1.1d-0+deb10u3 [1685 kB] Get: 65 http://deb.debian.org/debian buster/main arm64 pkg-config arm64 0.29-6 [62.2 kB] Fetched 80.1 MB in 2s (33.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_arm64.deb ... Unpacking libbsd0:arm64 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_arm64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../02-libuchardet0_0.0.6-3_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_arm64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../04-libpipeline1_1.5.1-2_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_arm64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../06-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../08-libmagic1_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic1:arm64 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_arm64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../11-libsigsegv2_2.12-2_arm64.deb ... Unpacking libsigsegv2:arm64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-2_arm64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../22-libelf1_0.176-1.1_arm64.deb ... Unpacking libelf1:arm64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.12-3_arm64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../24-libglib2.0-0_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:arm64. Preparing to unpack .../25-libicu63_63.1-6+deb10u1_arm64.deb ... Unpacking libicu63:arm64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:arm64. Preparing to unpack .../27-libcroco3_0.6.12-3_arm64.deb ... Unpacking libcroco3:arm64 (0.6.12-3) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../28-libncurses6_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-9_arm64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../31-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package dh-golang. Preparing to unpack .../33-dh-golang_1.39_all.deb ... Unpacking dh-golang (1.39) ... Selecting previously unselected package golang-1.11-src. Preparing to unpack .../34-golang-1.11-src_1.11.6-1+deb10u3_arm64.deb ... Unpacking golang-1.11-src (1.11.6-1+deb10u3) ... Selecting previously unselected package golang-1.11-go. Preparing to unpack .../35-golang-1.11-go_1.11.6-1+deb10u3_arm64.deb ... Unpacking golang-1.11-go (1.11.6-1+deb10u3) ... Selecting previously unselected package golang-github-golang-snappy-dev. Preparing to unpack .../36-golang-github-golang-snappy-dev_0.0+git20160529.d9eb7a3-3_all.deb ... Unpacking golang-github-golang-snappy-dev (0.0+git20160529.d9eb7a3-3) ... Selecting previously unselected package libpcap0.8:arm64. Preparing to unpack .../37-libpcap0.8_1.8.1-6_arm64.deb ... Unpacking libpcap0.8:arm64 (1.8.1-6) ... Selecting previously unselected package libpcap0.8-dev:arm64. Preparing to unpack .../38-libpcap0.8-dev_1.8.1-6_arm64.deb ... Unpacking libpcap0.8-dev:arm64 (1.8.1-6) ... Selecting previously unselected package golang-github-google-gopacket-dev. Preparing to unpack .../39-golang-github-google-gopacket-dev_1.1.14-3_all.deb ... Unpacking golang-github-google-gopacket-dev (1.1.14-3) ... Selecting previously unselected package golang-github-jacobsa-oglematchers-dev. Preparing to unpack .../40-golang-github-jacobsa-oglematchers-dev_0.0~git20150320-3_all.deb ... Unpacking golang-github-jacobsa-oglematchers-dev (0.0~git20150320-3) ... Selecting previously unselected package golang-github-jacobsa-oglemock-dev. Preparing to unpack .../41-golang-github-jacobsa-oglemock-dev_0.0~git20150428-5_all.deb ... Unpacking golang-github-jacobsa-oglemock-dev (0.0~git20150428-5) ... Selecting previously unselected package golang-golang-x-tools-dev. Preparing to unpack .../42-golang-golang-x-tools-dev_1%3a0.0~git20190125.d66bd3c+ds-4_all.deb ... Unpacking golang-golang-x-tools-dev (1:0.0~git20190125.d66bd3c+ds-4) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../43-golang-golang-x-text-dev_0.3.0-2_all.deb ... Unpacking golang-golang-x-text-dev (0.3.0-2) ... Selecting previously unselected package golang-x-text-dev. Preparing to unpack .../44-golang-x-text-dev_0.3.0-2_all.deb ... Unpacking golang-x-text-dev (0.3.0-2) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../45-golang-golang-x-net-dev_1%3a0.0+git20181201.351d144+dfsg-3_all.deb ... Unpacking golang-golang-x-net-dev (1:0.0+git20181201.351d144+dfsg-3) ... Selecting previously unselected package golang-github-jacobsa-reqtrace-dev. Preparing to unpack .../46-golang-github-jacobsa-reqtrace-dev_0.0~git20150505-6_all.deb ... Unpacking golang-github-jacobsa-reqtrace-dev (0.0~git20150505-6) ... Selecting previously unselected package golang-github-jacobsa-ogletest-dev. Preparing to unpack .../47-golang-github-jacobsa-ogletest-dev_0.0~git20170503.80d50a7-1_all.deb ... Unpacking golang-github-jacobsa-ogletest-dev (0.0~git20170503.80d50a7-1) ... Selecting previously unselected package golang-src. Preparing to unpack .../48-golang-src_2%3a1.11~1_arm64.deb ... Unpacking golang-src (2:1.11~1) ... Selecting previously unselected package golang-go. Preparing to unpack .../49-golang-go_2%3a1.11~1_arm64.deb ... Unpacking golang-go (2:1.11~1) ... Selecting previously unselected package golang-github-jtolds-gls-dev. Preparing to unpack .../50-golang-github-jtolds-gls-dev_4.2.1-4_all.deb ... Unpacking golang-github-jtolds-gls-dev (4.2.1-4) ... Selecting previously unselected package golang-github-mattn-go-runewidth-dev. Preparing to unpack .../51-golang-github-mattn-go-runewidth-dev_0.0.4-1_all.deb ... Unpacking golang-github-mattn-go-runewidth-dev (0.0.4-1) ... Selecting previously unselected package golang-github-nsf-termbox-go-dev. Preparing to unpack .../52-golang-github-nsf-termbox-go-dev_0.0~git20160914-3_all.deb ... Unpacking golang-github-nsf-termbox-go-dev (0.0~git20160914-3) ... Selecting previously unselected package golang-github-smartystreets-assertions-dev. Preparing to unpack .../53-golang-github-smartystreets-assertions-dev_1.6.0+dfsg-1_all.deb ... Unpacking golang-github-smartystreets-assertions-dev (1.6.0+dfsg-1) ... Selecting previously unselected package golang-github-smartystreets-goconvey-dev. Preparing to unpack .../54-golang-github-smartystreets-goconvey-dev_1.6.1-3_all.deb ... Unpacking golang-github-smartystreets-goconvey-dev (1.6.1-3) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../55-golang-golang-x-sys-dev_0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1) ... Selecting previously unselected package golang-golang-x-crypto-dev. Preparing to unpack .../56-golang-golang-x-crypto-dev_1%3a0.0~git20181203.505ab14-1_all.deb ... Unpacking golang-golang-x-crypto-dev (1:0.0~git20181203.505ab14-1) ... Selecting previously unselected package golang-gopkg-tomb.v2-dev. Preparing to unpack .../57-golang-gopkg-tomb.v2-dev_0.0~git20161208.d5d1b58-3_all.deb ... Unpacking golang-gopkg-tomb.v2-dev (0.0~git20161208.d5d1b58-3) ... Selecting previously unselected package libpcap-dev:arm64. Preparing to unpack .../58-libpcap-dev_1.8.1-6_arm64.deb ... Unpacking libpcap-dev:arm64 (1.8.1-6) ... Selecting previously unselected package libsasl2-modules-db:arm64. Preparing to unpack .../59-libsasl2-modules-db_2.1.27+dfsg-1+deb10u1_arm64.deb ... Unpacking libsasl2-modules-db:arm64 (2.1.27+dfsg-1+deb10u1) ... Selecting previously unselected package libsasl2-2:arm64. Preparing to unpack .../60-libsasl2-2_2.1.27+dfsg-1+deb10u1_arm64.deb ... Unpacking libsasl2-2:arm64 (2.1.27+dfsg-1+deb10u1) ... Selecting previously unselected package libsasl2-dev. Preparing to unpack .../61-libsasl2-dev_2.1.27+dfsg-1+deb10u1_arm64.deb ... Unpacking libsasl2-dev (2.1.27+dfsg-1+deb10u1) ... Selecting previously unselected package libssl1.1:arm64. Preparing to unpack .../62-libssl1.1_1.1.1d-0+deb10u3_arm64.deb ... Unpacking libssl1.1:arm64 (1.1.1d-0+deb10u3) ... Selecting previously unselected package libssl-dev:arm64. Preparing to unpack .../63-libssl-dev_1.1.1d-0+deb10u3_arm64.deb ... Unpacking libssl-dev:arm64 (1.1.1d-0+deb10u3) ... Selecting previously unselected package pkg-config. Preparing to unpack .../64-pkg-config_0.29-6_arm64.deb ... Unpacking pkg-config (0.29-6) ... Setting up libpipeline1:arm64 (1.5.1-2) ... Setting up golang-github-mattn-go-runewidth-dev (0.0.4-1) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up golang-1.11-src (1.11.6-1+deb10u3) ... Setting up libssl1.1:arm64 (1.1.1d-0+deb10u3) ... Setting up golang-golang-x-sys-dev (0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1) ... Setting up libmagic1:arm64 (1:5.35-4+deb10u1) ... Setting up golang-github-golang-snappy-dev (0.0+git20160529.d9eb7a3-3) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up golang-golang-x-tools-dev (1:0.0~git20190125.d66bd3c+ds-4) ... Setting up libicu63:arm64 (63.1-6+deb10u1) ... Setting up golang-1.11-go (1.11.6-1+deb10u3) ... Setting up libsasl2-modules-db:arm64 (2.1.27+dfsg-1+deb10u1) ... Setting up golang-gopkg-tomb.v2-dev (0.0~git20161208.d5d1b58-3) ... Setting up autotools-dev (20180224.1) ... Setting up libpcap0.8:arm64 (1.8.1-6) ... Setting up libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:arm64 (2.12-2) ... Setting up libssl-dev:arm64 (1.1.1d-0+deb10u3) ... Setting up autopoint (0.19.8.1-9) ... Setting up pkg-config (0.29-6) ... Setting up libsasl2-2:arm64 (2.1.27+dfsg-1+deb10u1) ... Setting up golang-github-jacobsa-oglematchers-dev (0.0~git20150320-3) ... Setting up sensible-utils (0.0.12) ... Setting up golang-golang-x-text-dev (0.3.0-2) ... Setting up libuchardet0:arm64 (0.0.6-3) ... Setting up golang-src (2:1.11~1) ... Setting up libbsd0:arm64 (0.9.1-2) ... Setting up libelf1:arm64 (0.176-1.1) ... Setting up libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Setting up golang-x-text-dev (0.3.0-2) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-9) ... Setting up golang-go (2:1.11~1) ... Setting up libpcap0.8-dev:arm64 (1.8.1-6) ... Setting up golang-github-jacobsa-oglemock-dev (0.0~git20150428-5) ... Setting up m4 (1.4.18-2) ... Setting up golang-github-jtolds-gls-dev (4.2.1-4) ... Setting up libsasl2-dev (2.1.27+dfsg-1+deb10u1) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:arm64 (0.6.12-3) ... Setting up golang-github-nsf-termbox-go-dev (0.0~git20160914-3) ... Setting up golang-golang-x-net-dev (1:0.0+git20181201.351d144+dfsg-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up golang-github-google-gopacket-dev (1.1.14-3) ... Setting up golang-golang-x-crypto-dev (1:0.0~git20181203.505ab14-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up libpcap-dev:arm64 (1.8.1-6) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up golang-github-jacobsa-reqtrace-dev (0.0~git20150505-6) ... Setting up golang-github-jacobsa-ogletest-dev (0.0~git20170503.80d50a7-1) ... Setting up po-debconf (1.0.21) ... Setting up golang-github-smartystreets-assertions-dev (1.6.0+dfsg-1) ... Setting up golang-github-smartystreets-goconvey-dev (1.6.1-3) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Setting up debhelper (12.1.1) ... Setting up dh-golang (1.39) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/mongo-tools-3.4.14/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package mongo-tools dpkg-buildpackage: info: source version 3.4.14-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Apollon Oikonomopoulos dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean --with=golang --builddirectory=_build --buildsystem=golang debian/rules override_dh_auto_clean make[1]: Entering directory '/build/mongo-tools-3.4.14' rm -rf debian/bin rm -rf _build find /build/mongo-tools-3.4.14/vendor -type f -name '*.a' -exec rm -rf {} \; dh_auto_clean make[1]: Leaving directory '/build/mongo-tools-3.4.14' dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules build dh build --with=golang --builddirectory=_build --buildsystem=golang dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang debian/rules override_dh_auto_configure make[1]: Entering directory '/build/mongo-tools-3.4.14' # First create the base for all vendorized deps. This is needed to # avoid having dh-golang symlink a whole hierarchy (e.g. github.com) # under which we have vendorized deps. for dep in github.com/spacemonkeygo/spacelog github.com/spacemonkeygo/openssl github.com/jessevdk/go-flags github.com/howeyc/gopass github.com/patrickmn/go-cache github.com/3rf/mongo-lint github.com/10gen/escaper github.com/10gen/llmgo gopkg.in/mgo.v2; do \ mkdir -p /build/mongo-tools-3.4.14/_build/src/$(dirname $dep); \ done # Let dh-golang symlink all libraries from the system path dh_auto_configure --buildsystem=golang # Finally replace any symlinks to system copies with the vendorized versions for dep in github.com/spacemonkeygo/spacelog github.com/spacemonkeygo/openssl github.com/jessevdk/go-flags github.com/howeyc/gopass github.com/patrickmn/go-cache github.com/3rf/mongo-lint github.com/10gen/escaper github.com/10gen/llmgo gopkg.in/mgo.v2; do \ rm -f /build/mongo-tools-3.4.14/_build/src/$dep; \ ln -r -s /build/mongo-tools-3.4.14/vendor/src/$dep /build/mongo-tools-3.4.14/_build/src/$dep; \ done make[1]: Leaving directory '/build/mongo-tools-3.4.14' debian/rules override_dh_auto_build make[1]: Entering directory '/build/mongo-tools-3.4.14' for tool in bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongorestore mongostat mongoreplay mongotop; do \ go install -v -tags="ssl sasl" -ldflags -extldflags=-Wl,-z,now,-z,relro $tool/main/$tool.go; \ done go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied github.com/mongodb/mongo-tools/common/failpoint github.com/spacemonkeygo/openssl/utils gopkg.in/mgo.v2/internal/sasl github.com/mongodb/mongo-tools/common/log github.com/jessevdk/go-flags gopkg.in/mgo.v2/internal/json gopkg.in/mgo.v2/internal/scram github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog golang.org/x/sys/unix github.com/spacemonkeygo/openssl gopkg.in/mgo.v2/bson golang.org/x/crypto/ssh/terminal github.com/howeyc/gopass github.com/mongodb/mongo-tools/common/password github.com/mongodb/mongo-tools/common/util gopkg.in/mgo.v2 github.com/mongodb/mongo-tools/common/signals github.com/mongodb/mongo-tools/common/json github.com/mongodb/mongo-tools/common/bsonutil github.com/mongodb/mongo-tools/common/options github.com/mongodb/mongo-tools/common/db/kerberos github.com/mongodb/mongo-tools/common/db/openssl github.com/mongodb/mongo-tools/common/db github.com/mongodb/mongo-tools/bsondump command-line-arguments go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied github.com/mongodb/mongo-tools/common/failpoint github.com/mongodb/mongo-tools/common github.com/spacemonkeygo/openssl/utils github.com/mongodb/mongo-tools/common/log gopkg.in/mgo.v2/internal/json github.com/jessevdk/go-flags github.com/mongodb/mongo-tools/common/text gopkg.in/mgo.v2/internal/sasl gopkg.in/mgo.v2/internal/scram github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog golang.org/x/sys/unix github.com/mongodb/mongo-tools/common/progress github.com/spacemonkeygo/openssl gopkg.in/mgo.v2/bson golang.org/x/crypto/ssh/terminal github.com/howeyc/gopass github.com/mongodb/mongo-tools/common/password github.com/mongodb/mongo-tools/common/util gopkg.in/mgo.v2 github.com/mongodb/mongo-tools/common/signals github.com/mongodb/mongo-tools/common/intents github.com/mongodb/mongo-tools/common/json github.com/mongodb/mongo-tools/common/bsonutil github.com/mongodb/mongo-tools/common/options github.com/mongodb/mongo-tools/common/db/kerberos github.com/mongodb/mongo-tools/common/db/openssl github.com/mongodb/mongo-tools/common/db github.com/mongodb/mongo-tools/common/auth github.com/mongodb/mongo-tools/common/archive github.com/mongodb/mongo-tools/mongodump command-line-arguments go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied github.com/mongodb/mongo-tools/common/failpoint github.com/spacemonkeygo/openssl/utils github.com/mongodb/mongo-tools/common/log github.com/jessevdk/go-flags gopkg.in/mgo.v2/internal/json gopkg.in/mgo.v2/internal/sasl gopkg.in/mgo.v2/internal/scram github.com/mongodb/mongo-tools/common/text github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog github.com/mongodb/mongo-tools/common/progress golang.org/x/sys/unix github.com/spacemonkeygo/openssl gopkg.in/mgo.v2/bson golang.org/x/crypto/ssh/terminal github.com/howeyc/gopass github.com/mongodb/mongo-tools/common/password github.com/mongodb/mongo-tools/common/util gopkg.in/mgo.v2 github.com/mongodb/mongo-tools/common/signals github.com/mongodb/mongo-tools/common/json github.com/mongodb/mongo-tools/common/bsonutil github.com/mongodb/mongo-tools/common/options github.com/mongodb/mongo-tools/common/db/kerberos github.com/mongodb/mongo-tools/common/db/openssl github.com/mongodb/mongo-tools/common/db github.com/mongodb/mongo-tools/mongoexport command-line-arguments go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied github.com/mongodb/mongo-tools/common/failpoint github.com/spacemonkeygo/openssl/utils github.com/mongodb/mongo-tools/common/log github.com/jessevdk/go-flags gopkg.in/mgo.v2/internal/json github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog gopkg.in/mgo.v2/internal/sasl gopkg.in/mgo.v2/internal/scram golang.org/x/sys/unix github.com/spacemonkeygo/openssl gopkg.in/mgo.v2/bson golang.org/x/crypto/ssh/terminal github.com/howeyc/gopass github.com/mongodb/mongo-tools/common/password github.com/mongodb/mongo-tools/common/util gopkg.in/mgo.v2 github.com/mongodb/mongo-tools/common/signals github.com/mongodb/mongo-tools/common/json github.com/mongodb/mongo-tools/common/bsonutil github.com/mongodb/mongo-tools/common/options github.com/mongodb/mongo-tools/common/db/kerberos github.com/mongodb/mongo-tools/common/db/openssl github.com/mongodb/mongo-tools/common/db github.com/mongodb/mongo-tools/mongofiles command-line-arguments go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied github.com/mongodb/mongo-tools/common/failpoint github.com/spacemonkeygo/openssl/utils github.com/mongodb/mongo-tools/mongoimport/dateconv github.com/mongodb/mongo-tools/common/log github.com/jessevdk/go-flags gopkg.in/mgo.v2/internal/json github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog gopkg.in/mgo.v2/internal/sasl gopkg.in/mgo.v2/internal/scram golang.org/x/sys/unix github.com/mongodb/mongo-tools/common/text github.com/mongodb/mongo-tools/mongoimport/csv github.com/mongodb/mongo-tools/common/progress gopkg.in/tomb.v2 github.com/spacemonkeygo/openssl gopkg.in/mgo.v2/bson golang.org/x/crypto/ssh/terminal github.com/howeyc/gopass github.com/mongodb/mongo-tools/common/password github.com/mongodb/mongo-tools/common/util gopkg.in/mgo.v2 github.com/mongodb/mongo-tools/common/signals github.com/mongodb/mongo-tools/common/json github.com/mongodb/mongo-tools/common/bsonutil github.com/mongodb/mongo-tools/common/options github.com/mongodb/mongo-tools/common/db/kerberos github.com/mongodb/mongo-tools/common/db/openssl github.com/mongodb/mongo-tools/common/db github.com/mongodb/mongo-tools/mongoimport command-line-arguments go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied github.com/mongodb/mongo-tools/common/failpoint github.com/spacemonkeygo/openssl/utils github.com/jessevdk/go-flags github.com/mongodb/mongo-tools/common/log gopkg.in/mgo.v2/internal/json github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog gopkg.in/mgo.v2/internal/sasl gopkg.in/mgo.v2/internal/scram golang.org/x/sys/unix github.com/spacemonkeygo/openssl gopkg.in/mgo.v2/bson golang.org/x/crypto/ssh/terminal github.com/howeyc/gopass github.com/mongodb/mongo-tools/common/password github.com/mongodb/mongo-tools/common/util gopkg.in/mgo.v2 github.com/mongodb/mongo-tools/common/signals github.com/mongodb/mongo-tools/common/json github.com/mongodb/mongo-tools/common/options github.com/mongodb/mongo-tools/common/db/kerberos github.com/mongodb/mongo-tools/common/db/openssl github.com/mongodb/mongo-tools/common/db github.com/mongodb/mongo-tools/mongooplog command-line-arguments go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied github.com/mongodb/mongo-tools/common/failpoint github.com/mongodb/mongo-tools/common github.com/spacemonkeygo/openssl/utils github.com/jessevdk/go-flags github.com/mongodb/mongo-tools/common/log github.com/mongodb/mongo-tools/common/connstring gopkg.in/mgo.v2/internal/json github.com/spacemonkeygo/spacelog gopkg.in/mgo.v2/internal/scram gopkg.in/mgo.v2/internal/sasl github.com/mongodb/mongo-tools/common/text golang.org/x/sys/unix github.com/mongodb/mongo-tools/mongorestore/ns github.com/mongodb/mongo-tools/common/progress github.com/spacemonkeygo/openssl gopkg.in/mgo.v2/bson golang.org/x/crypto/ssh/terminal github.com/howeyc/gopass github.com/mongodb/mongo-tools/common/password github.com/mongodb/mongo-tools/common/util gopkg.in/mgo.v2 github.com/mongodb/mongo-tools/common/signals github.com/mongodb/mongo-tools/common/intents github.com/mongodb/mongo-tools/common/json github.com/mongodb/mongo-tools/common/bsonutil github.com/mongodb/mongo-tools/common/options github.com/mongodb/mongo-tools/common/db/kerberos github.com/mongodb/mongo-tools/common/db/openssl github.com/mongodb/mongo-tools/common/db github.com/mongodb/mongo-tools/common/auth github.com/mongodb/mongo-tools/common/archive github.com/mongodb/mongo-tools/mongorestore command-line-arguments go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied github.com/mongodb/mongo-tools/common/failpoint github.com/spacemonkeygo/openssl/utils github.com/mongodb/mongo-tools/common/log github.com/jessevdk/go-flags gopkg.in/mgo.v2/internal/json github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog golang.org/x/sys/unix gopkg.in/mgo.v2/internal/sasl gopkg.in/mgo.v2/internal/scram github.com/mongodb/mongo-tools/common/text github.com/mattn/go-runewidth github.com/nsf/termbox-go github.com/spacemonkeygo/openssl gopkg.in/mgo.v2/bson golang.org/x/crypto/ssh/terminal github.com/howeyc/gopass github.com/mongodb/mongo-tools/common/password gopkg.in/mgo.v2 github.com/mongodb/mongo-tools/common/util github.com/mongodb/mongo-tools/common/signals github.com/mongodb/mongo-tools/mongostat/status github.com/mongodb/mongo-tools/common/json github.com/mongodb/mongo-tools/mongostat/stat_consumer/line github.com/mongodb/mongo-tools/mongostat/stat_consumer github.com/mongodb/mongo-tools/common/options github.com/mongodb/mongo-tools/common/db/kerberos github.com/mongodb/mongo-tools/common/db/openssl github.com/mongodb/mongo-tools/common/db github.com/mongodb/mongo-tools/mongostat command-line-arguments go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied github.com/mongodb/mongo-tools/common/failpoint github.com/spacemonkeygo/openssl/utils github.com/golang/snappy github.com/10gen/escaper github.com/10gen/llmgo/internal/sasl github.com/google/gopacket github.com/jessevdk/go-flags github.com/10gen/llmgo/bson gopkg.in/mgo.v2/internal/json github.com/10gen/llmgo/internal/scram github.com/mongodb/mongo-tools/common/connstring github.com/mongodb/mongo-tools/common/log github.com/spacemonkeygo/spacelog github.com/patrickmn/go-cache github.com/google/gopacket/layers github.com/spacemonkeygo/openssl gopkg.in/mgo.v2/bson github.com/10gen/llmgo github.com/mongodb/mongo-tools/common/util github.com/mongodb/mongo-tools/common/json github.com/google/gopacket/pcap github.com/google/gopacket/tcpassembly github.com/mongodb/mongo-tools/common/options github.com/mongodb/mongo-tools/mongoreplay command-line-arguments go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied github.com/mongodb/mongo-tools/common/failpoint github.com/spacemonkeygo/openssl/utils github.com/mongodb/mongo-tools/common/log github.com/jessevdk/go-flags gopkg.in/mgo.v2/internal/json github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog gopkg.in/mgo.v2/internal/sasl gopkg.in/mgo.v2/internal/scram github.com/mongodb/mongo-tools/common/text golang.org/x/sys/unix github.com/spacemonkeygo/openssl gopkg.in/mgo.v2/bson golang.org/x/crypto/ssh/terminal github.com/howeyc/gopass github.com/mongodb/mongo-tools/common/password github.com/mongodb/mongo-tools/common/util gopkg.in/mgo.v2 github.com/mongodb/mongo-tools/common/signals github.com/mongodb/mongo-tools/common/json github.com/mongodb/mongo-tools/common/options github.com/mongodb/mongo-tools/common/db/kerberos github.com/mongodb/mongo-tools/common/db/openssl github.com/mongodb/mongo-tools/common/db github.com/mongodb/mongo-tools/mongotop command-line-arguments make[1]: Leaving directory '/build/mongo-tools-3.4.14' debian/rules override_dh_auto_test make[1]: Entering directory '/build/mongo-tools-3.4.14' # Run only the unit tests for each tool (+ common) set -e; for tool in mongodump mongoexport mongofiles mongoimport mongooplog mongorestore mongostat mongotop common; do \ cd /build/mongo-tools-3.4.14/$tool && go test -v -test.types=unit; \ done go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied === RUN TestMongoDumpValidateOptions With a MongoDump instance we cannot dump a collection when a database specified ✔✔ we have to specify a collection name if using a query ✔✔ 4 total assertions --- PASS: TestMongoDumpValidateOptions (0.00s) === RUN TestMongoDumpKerberos --- SKIP: TestMongoDumpKerberos (0.00s) === RUN TestMongoDumpBSON --- SKIP: TestMongoDumpBSON (0.00s) === RUN TestMongoDumpMetaData --- SKIP: TestMongoDumpMetaData (0.00s) === RUN TestSkipCollection With a mongodump that excludes collections 'test' and 'fake' and excludes prefixes 'pre-' and 'no' collection 'pre-test' should be skipped ✔ collection 'notest' should be skipped ✔ collection 'test' should be skipped ✔ collection 'fake' should be skipped ✔ collection 'fake222' should not be skipped ✔ collection 'random' should not be skipped ✔ collection 'mytest' should not be skipped ✔ 11 total assertions --- PASS: TestSkipCollection (0.00s) PASS ok _/build/mongo-tools-3.4.14/mongodump 0.009s go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied === RUN TestWriteCSV With a CSV export output Headers should be written correctly ✔✔✔ Headers should not be written ✔✔✔ Exported document with missing fields should print as blank ✔✔ Exported document with index into nested objects should print correctly ✔✔ 10 total assertions --- PASS: TestWriteCSV (0.00s) === RUN TestExtractDField With a test bson.D regular fields should be extracted by name ✔ array fields should be extracted by name ✔✔✔ subdocument fields should be extracted by name ✔✔ even if they contain null values ✔✔✔ non-existing fields should return "" ✔✔✔✔✔ 24 total assertions Extraction of a non-document should return "" ✔ 25 total assertions Extraction of a nil document should return "" ✔ 26 total assertions --- PASS: TestExtractDField (0.00s) === RUN TestWriteJSON With a JSON export output Special types should serialize as extended JSON ObjectId should have an extended JSON format ✔✔✔✔ 30 total assertions --- PASS: TestWriteJSON (0.00s) === RUN TestJSONArray With a JSON export output in array mode exporting a bunch of documents should produce valid json ✔✔✔✔✔✔✔✔✔ 39 total assertions --- PASS: TestJSONArray (0.00s) === RUN TestKerberos --- SKIP: TestKerberos (0.00s) === RUN TestExtendedJSON Serializing a doc to extended JSON should work ✔{"_id":{"$oid":"6144e533ff8ef6436d4fc7e1"},"array":[{"$oid":"6144e533ff8ef6436d4fc7e3"},{"$undefined":true}],"hey":"sup","subdoc":{"subid":{"$oid":"6144e533ff8ef6436d4fc7e2"}}} 40 total assertions --- PASS: TestExtendedJSON (0.00s) === RUN TestFieldSelect Using makeFieldSelector should return correct projection doc ✔✔✔ 43 total assertions --- PASS: TestFieldSelect (0.00s) PASS ok _/build/mongo-tools-3.4.14/mongoexport 0.012s go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied === RUN TestValidArguments With a MongoFiles instance ✔ It should error out when no arguments fed ✔✔✔ It should error out when too many positional arguments provided ✔✔✔ It should not error out when list command isn't given an argument ✔✔✔ It should error out when any of (get|put|delete|search) not given supporting argument ✔✔✔✔✔✔✔✔✔ It should error out when a nonsensical command is given ✔✔ 21 total assertions --- PASS: TestValidArguments (0.00s) === RUN TestMongoFilesCommands --- SKIP: TestMongoFilesCommands (0.00s) === RUN TestWriteConcernWithURIParsing With an IngestOptions and ToolsOptions Parsing with no value should leave write concern empty ✔✔ and building write concern object, WMode should be majority ✔✔ Parsing with no writeconcern in URI should not error ✔✔ and parsing write concern, WMode should be majority ✔✔✔ Parsing with both writeconcern in URI and command line should error ✔✔ and parsing write concern, WMode should be majority ✔ 33 total assertions --- PASS: TestWriteConcernWithURIParsing (0.00s) PASS ok _/build/mongo-tools-3.4.14/mongofiles 0.011s go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied === RUN TestValidateFields Given an import input, in validating the headers if the fields contain '..', an error should be thrown ✔ if the fields start/end in a '.', an error should be thrown ✔✔ if the fields start in a '$', an error should be thrown ✔✔✔✔ if the fields collide, an error should be thrown ✔✔✔✔ if the fields don't collide, no error should be thrown ✔✔✔✔✔ if the fields contain the same keys, an error should be thrown ✔ 17 total assertions --- PASS: TestValidateFields (0.00s) === RUN TestGetUpsertValue Given a field and a BSON document, on calling getUpsertValue the value of the key should be correct for unnested documents ✔ the value of the key should be correct for nested document fields ✔ the value of the key should be nil for unnested document fields that do not exist ✔ the value of the key should be nil for nested document fields that do not exist ✔ the value of the key should be nil for nil document values ✔ 22 total assertions --- PASS: TestGetUpsertValue (0.00s) === RUN TestConstructUpsertDocument Given a set of upsert fields and a BSON document, on calling constructUpsertDocument the key/value combination in the upsert document should be correct for unnested documents with single fields ✔ the key/value combination in the upsert document should be correct for unnested documents with several fields ✔ the key/value combination in the upsert document should be correct for nested documents with several fields ✔ the upsert document should be nil if the key does not exist in the BSON document ✔ 26 total assertions --- PASS: TestConstructUpsertDocument (0.00s) === RUN TestSetNestedValue Given a field, its value, and an existing BSON document... ensure top level fields are set and others, unchanged ✔✔ ensure new nested top-level fields are set and others, unchanged ✔✔✔ ensure existing nested level fields are set and others, unchanged ✔✔✔ ensure subsequent calls update fields accordingly ✔✔✔✔✔ 39 total assertions --- PASS: TestSetNestedValue (0.00s) === RUN TestRemoveBlankFields Given an unordered BSON document the same document should be returned if there are no blanks ✔ a new document without blanks should be returned if there are blanks ✔ 41 total assertions --- PASS: TestRemoveBlankFields (0.00s) === RUN TestTokensToBSON Given an slice of column specs and tokens to convert to BSON the expected ordered BSON should be produced for the givencolumn specs and tokens 2021-09-17T18:58:09.572+0000 got line: [1 2 hello] ✔✔ if there are more tokens than fields, additional fields should be prefixed with 'fields' and an index indicating the header number 2021-09-17T18:58:09.572+0000 got line: [1 2 hello mongodb user] ✔✔ an error should be thrown if duplicate headers are found 2021-09-17T18:58:09.572+0000 got line: [1 2 hello mongodb user] ✔ fields with nested values should be set appropriately 2021-09-17T18:58:09.573+0000 got line: [1 2 hello] ✔✔✔✔✔✔✔ 53 total assertions --- PASS: TestTokensToBSON (0.00s) === RUN TestProcessDocuments Given an import worker processDocuments should execute the expected conversion for documents, pass then on the output channel, and close the input channel if ordered is true 2021-09-17T18:58:09.573+0000 got line: [a b c] 2021-09-17T18:58:09.573+0000 got line: [d e f] ✔✔✔✔✔✔ processDocuments should execute the expected conversion for documents, pass then on the output channel, and leave the input channel open if ordered is false 2021-09-17T18:58:09.574+0000 got line: [a b c] 2021-09-17T18:58:09.574+0000 got line: [d e f] ✔✔✔✔✔ 64 total assertions --- PASS: TestProcessDocuments (0.00s) === RUN TestDoSequentialStreaming Given some import workers, a Converters input channel and an bson.D output channel documents moving through the input channel should be processed and returned in sequence 2021-09-17T18:58:09.574+0000 got line: [a b c] 2021-09-17T18:58:09.574+0000 got line: [d e f] 2021-09-17T18:58:09.574+0000 got line: [d e f] 2021-09-17T18:58:09.574+0000 got line: [d e f] 2021-09-17T18:58:09.574+0000 got line: [d e f] ✔✔✔✔✔ 69 total assertions --- PASS: TestDoSequentialStreaming (0.00s) === RUN TestStreamDocuments Given: 1. a boolean indicating streaming order 2. an input channel where documents are streamed in 3. an output channel where processed documents are streamed out the entire pipeline should complete without error under normal circumstances 2021-09-17T18:58:09.575+0000 got line: [a b c] 2021-09-17T18:58:09.575+0000 got line: [d e f] 2021-09-17T18:58:09.575+0000 got line: [d e f] 2021-09-17T18:58:09.575+0000 got line: [d e f] 2021-09-17T18:58:09.575+0000 got line: [d e f] ✔✔✔✔✔✔ the entire pipeline should complete with error if an error is encountered 2021-09-17T18:58:09.576+0000 got line: [a b c] ✔ 76 total assertions --- PASS: TestStreamDocuments (0.00s) === RUN TestChannelQuorumError Given a channel and a quorum... an error should be returned if one is received ✔ no error should be returned if none is received ✔ no error should be returned if up to quorum nil errors are received ✔ 79 total assertions --- PASS: TestChannelQuorumError (0.00s) === RUN TestFilterIngestError Given a boolean 'stopOnError' and an error... an error should be returned if stopOnError is true the err is not nil ✔ errLostConnection should be returned if stopOnError is true the err is io.EOF ✔ no error should be returned if stopOnError is false the err is not nil 2021-09-17T18:58:09.578+0000 error inserting documents: ✔ no error should be returned if stopOnError is false the err is nil ✔ no error should be returned if stopOnError is true the err is nil ✔ 84 total assertions --- PASS: TestFilterIngestError (0.00s) === RUN TestCSVStreamDocument With a CSV input reader badly encoded CSV should result in a parsing error ✔ escaped quotes are parsed correctly 2021-09-17T18:58:09.579+0000 got line: [1 2 foo"bar] ✔ multiple escaped quotes separated by whitespace parsed correctly 2021-09-17T18:58:09.579+0000 got line: [1 2 foo" "bar] ✔✔ integer valued strings should be converted 2021-09-17T18:58:09.580+0000 got line: [1 2 3e] ✔✔ extra fields should be prefixed with 'field' 2021-09-17T18:58:09.580+0000 got line: [1 2f 3e may] ✔✔ nested CSV fields should be imported properly 2021-09-17T18:58:09.580+0000 got line: [1 2f 3e may] ✔✔✔✔✔✔ whitespace separated quoted strings are still an error ✔ nested CSV fields causing header collisions should error 2021-09-17T18:58:09.581+0000 got line: [1 2f 3e may june] ✔ calling StreamDocument() for CSVs should return next set of values 2021-09-17T18:58:09.582+0000 got line: [1 2 3] 2021-09-17T18:58:09.582+0000 got line: [4 5 6] ✔✔✔ valid CSV input file that starts with the UTF-8 BOM should not raise an error ✔2021-09-17T18:58:09.582+0000 got line: [1 2 3] 2021-09-17T18:58:09.582+0000 got line: [4 5 6] ✔✔✔✔✔✔✔✔✔✔✔✔✔ 117 total assertions --- PASS: TestCSVStreamDocument (0.00s) === RUN TestCSVReadAndValidateHeader With a CSV input reader setting the header should read the first line of the CSV 2021-09-17T18:58:09.583+0000 using fields: extraHeader1,extraHeader2,extraHeader3 ✔✔ setting non-colliding nested CSV headers should not raise an error 2021-09-17T18:58:09.583+0000 using fields: a,b,c ✔✔2021-09-17T18:58:09.583+0000 using fields: a.b.c,a.b.d,c ✔✔2021-09-17T18:58:09.584+0000 using fields: a.b,ab,a.c ✔✔2021-09-17T18:58:09.584+0000 using fields: a,ab,ac,dd ✔✔ setting colliding nested CSV headers should raise an error ✔✔✔ setting the header that ends in a dot should error ✔✔ setting the header that starts in a dot should error ✔ setting the header that contains multiple consecutive dots should error ✔✔ setting the header using an empty file should return EOF ✔✔ setting the header with column specs already set should replace the existing column specs 2021-09-17T18:58:09.585+0000 using fields: extraHeader1,extraHeader2,extraHeader3 ✔✔✔ plain CSV input file sources should be parsed correctly and subsequent imports should parse correctly ✔2021-09-17T18:58:09.586+0000 got line: [1 2 3] 2021-09-17T18:58:09.586+0000 got line: [3 5.4 string] 2021-09-17T18:58:09.586+0000 got line: [5 6 6] ✔✔✔ 144 total assertions --- PASS: TestCSVReadAndValidateHeader (0.00s) === RUN TestCSVConvert With a CSV input reader calling convert on a CSVConverter should return the expected BSON document 2021-09-17T18:58:09.586+0000 got line: [a b c] ✔✔ 146 total assertions --- PASS: TestCSVConvert (0.00s) === RUN TestJSONArrayStreamDocument With a JSON array input reader an error should be thrown if a plain JSON document is supplied ✔ reading a JSON object that has no opening bracket should error out ✔ JSON arrays that do not end with a closing bracket should error out ✔2021-09-17T18:58:09.588+0000 got line: [{a ae}] 2021-09-17T18:58:09.588+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:"ae"}} ✔ an error should be thrown if a plain JSON file is supplied ✔✔ array JSON input file sources should be parsed correctly and subsequent imports should parse correctly ✔2021-09-17T18:58:09.588+0000 got line: [{a 1.2} {b a} {c 0.4}] 2021-09-17T18:58:09.588+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:1.2}, bson.DocElem{Name:"b", Value:"a"}, bson.DocElem{Name:"c", Value:0.4}} 2021-09-17T18:58:09.589+0000 got line: [{a 2.4} {b string} {c 52.9}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:2.4}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52.9}} 2021-09-17T18:58:09.589+0000 got line: [{a 3} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:3}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 4} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:4}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 5} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:5}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 6} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:6}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 7} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:7}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 8} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:8}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 9} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:9}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 10} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:10}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 11} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:11}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 12} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:12}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 13} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:13}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 14} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:14}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 15} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:15}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 16} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:16}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 17} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:17}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 18} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:18}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 29} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:29}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 20} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:20}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 21} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:21}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 22} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:22}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.589+0000 got line: [{a 23} {b string} {c 52}] 2021-09-17T18:58:09.589+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:23}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.590+0000 got line: [{a 24} {b string} {c 52}] 2021-09-17T18:58:09.590+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:24}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.590+0000 got line: [{a 25} {b string} {c 52}] 2021-09-17T18:58:09.590+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:25}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.590+0000 got line: [{a 25} {b string} {c 52}] 2021-09-17T18:58:09.590+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:25}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2021-09-17T18:58:09.590+0000 got line: [{a 27} {b value} {c 65}] 2021-09-17T18:58:09.590+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:27}, bson.DocElem{Name:"b", Value:"value"}, bson.DocElem{Name:"c", Value:65}} ✔✔✔ 156 total assertions --- PASS: TestJSONArrayStreamDocument (0.00s) === RUN TestJSONPlainStreamDocument With a plain JSON input reader string valued JSON documents should be imported properly 2021-09-17T18:58:09.590+0000 got line: [{a ae}] 2021-09-17T18:58:09.590+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:"ae"}} ✔✔ several string valued JSON documents should be imported properly 2021-09-17T18:58:09.591+0000 got line: [{a ae}] 2021-09-17T18:58:09.591+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:"ae"}} 2021-09-17T18:58:09.591+0000 got line: [{b dc}] 2021-09-17T18:58:09.591+0000 got extended line: bson.D{bson.DocElem{Name:"b", Value:"dc"}} ✔✔✔ number valued JSON documents should be imported properly 2021-09-17T18:58:09.591+0000 got line: [{a ae} {b 2}] 2021-09-17T18:58:09.591+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:"ae"}, bson.DocElem{Name:"b", Value:2}} ✔✔ JSON arrays should return an error ✔ plain JSON input file sources should be parsed correctly and subsequent imports should parse correctly ✔2021-09-17T18:58:09.592+0000 got line: [{a 4} {b string value} {c 1}] 2021-09-17T18:58:09.592+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:4}, bson.DocElem{Name:"b", Value:"string value"}, bson.DocElem{Name:"c", Value:1}} 2021-09-17T18:58:09.592+0000 got line: [{a 5} {b string value} {c 2}] 2021-09-17T18:58:09.592+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:5}, bson.DocElem{Name:"b", Value:"string value"}, bson.DocElem{Name:"c", Value:2}} 2021-09-17T18:58:09.592+0000 got line: [{a 6} {b string value} {c 3}] 2021-09-17T18:58:09.592+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:6}, bson.DocElem{Name:"b", Value:"string value"}, bson.DocElem{Name:"c", Value:3}} ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ reading JSON that starts with a UTF-8 BOM should not error ✔2021-09-17T18:58:09.593+0000 got line: [{a 1} {b 2} {c 3}] 2021-09-17T18:58:09.593+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:1}, bson.DocElem{Name:"b", Value:2}, bson.DocElem{Name:"c", Value:3}} 2021-09-17T18:58:09.593+0000 got line: [{a 4} {b 5} {c 6}] 2021-09-17T18:58:09.593+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:4}, bson.DocElem{Name:"b", Value:5}, bson.DocElem{Name:"c", Value:6}} ✔✔✔✔✔✔✔✔✔✔✔✔✔ 198 total assertions --- PASS: TestJSONPlainStreamDocument (0.00s) === RUN TestReadJSONArraySeparator With an array JSON input reader reading a JSON array separator should consume [ ✔✔ reading a closing JSON array separator without a corresponding opening bracket should error out ✔ reading an opening JSON array separator without a corresponding closing bracket should error out ✔✔ reading an opening JSON array separator with an ending closing bracket should return EOF ✔✔ reading an opening JSON array separator, an ending closing bracket but then additional characters after that, should error ✔✔ reading invalid JSON objects between valid objects should error out 2021-09-17T18:58:09.595+0000 got line: [{a 3}] 2021-09-17T18:58:09.595+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:3}} ✔✔ reading invalid JSON objects after valid objects but between valid objects should error out ✔2021-09-17T18:58:09.596+0000 got line: [{a 3}] 2021-09-17T18:58:09.596+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:3}} ✔ 211 total assertions 2021-09-17T18:58:09.596+0000 got line: [{a 3}] --- PASS: TestReadJSONArraySeparator (0.00s) 2021-09-17T18:58:09.596+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:3}} === RUN TestJSONConvert With a JSON input reader calling convert on a JSONConverter should return the expected BSON document 2021-09-17T18:58:09.596+0000 got line: [{field1 a} {field2 b} {field3 c}] 2021-09-17T18:58:09.596+0000 got extended line: bson.D{bson.DocElem{Name:"field1", Value:"a"}, bson.DocElem{Name:"field2", Value:"b"}, bson.DocElem{Name:"field3", Value:"c"}} ✔✔ 213 total assertions --- PASS: TestJSONConvert (0.00s) === RUN TestSplitInlineHeader handle normal, untyped headers with 'foo.bar,baz,boo' ✔ 214 total assertions handle typed headers with 'foo.bar.string(),baz.date(January 2 2006),boo.binary(hex)' ✔ 215 total assertions handle typed headers that include commas with 'foo.bar.date(,,,,),baz.date(January 2, 2006),boo.binary(hex)' ✔ 216 total assertions --- PASS: TestSplitInlineHeader (0.00s) === RUN TestMongoImportValidateSettings Given a mongoimport instance for validation, an error should be thrown if no collection is given ✔2021-09-17T18:58:09.597+0000 using 0 decoding workers 2021-09-17T18:58:09.597+0000 using 1 insert workers 2021-09-17T18:58:09.597+0000 no collection specified 2021-09-17T18:58:09.597+0000 using filename '' as collection ✔ an error should be thrown if an invalid type is given ✔✔ an error should be thrown if neither --headerline is supplied nor --fields/--fieldFile ✔✔ no error should be thrown if --headerline is not supplied but --fields is supplied ✔2021-09-17T18:58:09.599+0000 using 0 decoding workers 2021-09-17T18:58:09.599+0000 using 1 insert workers ✔ no error should be thrown if no input type is supplied ✔2021-09-17T18:58:09.599+0000 using 0 decoding workers 2021-09-17T18:58:09.599+0000 using 1 insert workers ✔ no error should be thrown if there's just one positional argument ✔2021-09-17T18:58:09.599+0000 using 0 decoding workers 2021-09-17T18:58:09.599+0000 using 1 insert workers ✔ an error should be thrown if --file is used with one positional argument ✔2021-09-17T18:58:09.600+0000 using 0 decoding workers 2021-09-17T18:58:09.600+0000 using 1 insert workers ✔ an error should be thrown if there's more than one positional argument ✔2021-09-17T18:58:09.600+0000 using 0 decoding workers 2021-09-17T18:58:09.600+0000 using 1 insert workers ✔ an error should be thrown if --headerline is used with JSON input ✔✔ an error should be thrown if --fields is used with JSON input ✔✔✔ an error should be thrown if --fieldFile is used with JSON input ✔✔✔ an error should be thrown if --ignoreBlanks is used with JSON input ✔✔ no error should be thrown if --headerline is not supplied but --fieldFile is supplied ✔2021-09-17T18:58:09.602+0000 using 0 decoding workers 2021-09-17T18:58:09.602+0000 using 1 insert workers ✔ an error should be thrown if --mode is incorrect ✔✔ an error should be thrown if a field in the --upsertFields argument starts with a dollar sign ✔✔✔ no error should be thrown if --upsertFields is supplied without --mode=xxx ✔2021-09-17T18:58:09.603+0000 using upsert fields: [a b c] 2021-09-17T18:58:09.603+0000 using 0 decoding workers 2021-09-17T18:58:09.603+0000 using 1 insert workers ✔✔ an error should be thrown if --upsertFields is used with --mode=insert ✔✔ if --mode=upsert is used without --upsertFields, _id should be set as the upsert field ✔2021-09-17T18:58:09.604+0000 using upsert fields: [_id] 2021-09-17T18:58:09.604+0000 using 0 decoding workers 2021-09-17T18:58:09.604+0000 using 1 insert workers ✔✔ no error should be thrown if all fields in the --upsertFields argument are valid ✔2021-09-17T18:58:09.604+0000 using upsert fields: [a b c] 2021-09-17T18:58:09.604+0000 using 0 decoding workers 2021-09-17T18:58:09.604+0000 using 1 insert workers ✔ no error should be thrown if --fields is supplied with CSV import ✔2021-09-17T18:58:09.604+0000 using 0 decoding workers 2021-09-17T18:58:09.604+0000 using 1 insert workers ✔ an error should be thrown if an empty --fields is supplied with CSV import ✔2021-09-17T18:58:09.605+0000 using 0 decoding workers 2021-09-17T18:58:09.605+0000 using 1 insert workers ✔ no error should be thrown if --fieldFile is supplied with CSV import ✔2021-09-17T18:58:09.605+0000 using 0 decoding workers 2021-09-17T18:58:09.605+0000 using 1 insert workers ✔ an error should be thrown if no collection and no file is supplied ✔2021-09-17T18:58:09.605+0000 using 0 decoding workers 2021-09-17T18:58:09.605+0000 using 1 insert workers 2021-09-17T18:58:09.605+0000 no collection specified 2021-09-17T18:58:09.605+0000 using filename '' as collection ✔ no error should be thrown if --file is used (without -c) supplied - the file name should be used as the collection name ✔2021-09-17T18:58:09.606+0000 using 0 decoding workers 2021-09-17T18:58:09.606+0000 using 1 insert workers 2021-09-17T18:58:09.606+0000 no collection specified 2021-09-17T18:58:09.606+0000 using filename 'input' as collection ✔✔ with no collection name and a file name the base name of the file (without the extension) should be used as the collection name ✔2021-09-17T18:58:09.606+0000 using 0 decoding workers 2021-09-17T18:58:09.606+0000 using 1 insert workers 2021-09-17T18:58:09.606+0000 no collection specified 2021-09-17T18:58:09.606+0000 using filename 'input' as collection ✔✔ 273 total assertions --- PASS: TestMongoImportValidateSettings (0.01s) === RUN TestGetSourceReader Given a mongoimport instance, on calling getSourceReader an error should be thrown if the given file referenced by the reader does not exist ✔✔ no error should be thrown if the file exists ✔2021-09-17T18:58:09.607+0000 filesize: 934 bytes ✔ no error should be thrown if stdin is used ✔2021-09-17T18:58:09.607+0000 reading from stdin ✔ 279 total assertions --- PASS: TestGetSourceReader (0.00s) === RUN TestGetInputReader Given a io.Reader on calling getInputReader should parse --fields using valid csv escaping ✔2021-09-17T18:58:09.608+0000 using fields: foo,bar ✔ should complain about non-escaped new lines in --fields ✔2021-09-17T18:58:09.608+0000 using fields: foo, blah,bar ✔ no error should be thrown if neither --fields nor --fieldFile is used ✔2021-09-17T18:58:09.608+0000 using fields: ✔ no error should be thrown if --fields is used ✔2021-09-17T18:58:09.608+0000 using fields: a,b,c ✔ no error should be thrown if --fieldFile is used and it references a valid file ✔2021-09-17T18:58:09.609+0000 using fields: 1,2,3,3,5.4,string,5,6,6 ✔ an error should be thrown if --fieldFile is used and it references an invalid file ✔✔ no error should be thrown for CSV import inputs ✔2021-09-17T18:58:09.609+0000 using fields: ✔ no error should be thrown for TSV import inputs ✔2021-09-17T18:58:09.610+0000 using fields: ✔ no error should be thrown for JSON import inputs ✔2021-09-17T18:58:09.610+0000 using fields: ✔ an error should be thrown if --fieldFile fields are invalid ✔✔✔ no error should be thrown if --fieldFile fields are valid ✔✔2021-09-17T18:58:09.611+0000 using fields: a,b,c ✔ 303 total assertions --- PASS: TestGetInputReader (0.00s) === RUN TestImportDocuments --- SKIP: TestImportDocuments (0.00s) === RUN TestHiddenOptionsDefaults With a new mongoimport with empty options 2021-09-17T18:58:09.611+0000 Setting num cpus to 8 ✔ Then parsing should fill args with expected defaults ✔2021-09-17T18:58:09.611+0000 using 8 decoding workers 2021-09-17T18:58:09.611+0000 using 1 insert workers ✔✔✔ 308 total assertions --- PASS: TestHiddenOptionsDefaults (0.00s) === RUN TestWriteConcernWithURIParsing With an IngestOptions and ToolsOptions 2021-09-17T18:58:09.612+0000 Setting num cpus to 8 Parsing with no value should leave write concern empty ✔✔ and building write concern object, WMode should be majority 2021-09-17T18:58:09.612+0000 using write concern: w='majority', j=false, fsync=false, wtimeout=0 ✔✔2021-09-17T18:58:09.612+0000 Setting num cpus to 8 Parsing with no writeconcern in URI should not error ✔✔ and parsing write concern, WMode should be majority 2021-09-17T18:58:09.613+0000 using write concern: w='majority', j=false, fsync=false, wtimeout=0 ✔✔✔2021-09-17T18:58:09.613+0000 Setting num cpus to 8 Parsing with both writeconcern in URI and command line should error ✔✔ and parsing write concern, WMode should be majority ✔ 320 total assertions --- PASS: TestWriteConcernWithURIParsing (0.00s) === RUN TestTSVStreamDocument With a TSV input reader integer valued strings should be converted tsv1 2021-09-17T18:58:09.614+0000 got line: [1 2 3e] ✔✔ valid TSV input file that starts with the UTF-8 BOM should not raise an error ✔2021-09-17T18:58:09.614+0000 got line: [1 2 3] ✔✔ integer valued strings should be converted tsv2 2021-09-17T18:58:09.615+0000 got line: [a b "cccc,cccc" d] ✔✔ extra columns should be prefixed with 'field' 2021-09-17T18:58:09.615+0000 got line: [1 2 3e may] ✔✔ mixed values should be parsed correctly 2021-09-17T18:58:09.616+0000 got line: [12 13.3 Inline 14] ✔✔ calling StreamDocument() in succession for TSVs should return the correct next set of values 2021-09-17T18:58:09.616+0000 got line: [1 2 3] 2021-09-17T18:58:09.616+0000 got line: [4 5 6] ✔✔✔✔✔✔✔✔✔✔✔✔✔ calling StreamDocument() in succession for TSVs that contain quotes should return the correct next set of values 2021-09-17T18:58:09.617+0000 got line: [1 2 3] 2021-09-17T18:58:09.617+0000 got line: [4 " 6] ✔✔✔ plain TSV input file sources should be parsed correctly and subsequent imports should parse correctly ✔2021-09-17T18:58:09.617+0000 got line: [1 2 3] 2021-09-17T18:58:09.617+0000 got line: [3 4.6 5] 2021-09-17T18:58:09.617+0000 got line: [5 string 6] ✔✔✔ 351 total assertions --- PASS: TestTSVStreamDocument (0.00s) === RUN TestTSVReadAndValidateHeader With a TSV input reader setting the header should read the first line of the TSV 2021-09-17T18:58:09.618+0000 using fields: extraHeader1,extraHeader2,extraHeader3 ✔✔ 353 total assertions --- PASS: TestTSVReadAndValidateHeader (0.00s) === RUN TestTSVConvert With a TSV input reader calling convert on a TSVConverter should return the expected BSON document 2021-09-17T18:58:09.618+0000 got line: [a b c] ✔✔ 355 total assertions --- PASS: TestTSVConvert (0.00s) === RUN TestTypedHeaderParser Using 'zip.string(),number.double(),foo.auto()' with parse grace: auto ✔✔ with parse grace: skipRow ✔✔ 359 total assertions Using various bad headers with non-empty arguments for types that don't want them ✔✔✔✔✔✔ with bad arguments for the binary type ✔✔✔ 368 total assertions --- PASS: TestTypedHeaderParser (0.00s) === RUN TestAutoHeaderParser Using 'zip,number' ✔ 369 total assertions --- PASS: TestAutoHeaderParser (0.00s) === RUN TestFieldParsers Using FieldAutoParser parses integers when it can ✔✔✔✔✔ parses decimals when it can ✔✔✔✔✔✔✔✔ leaves everything else as a string ✔✔✔✔✔✔ 388 total assertions Using FieldBooleanParser parses representations of true correctly ✔✔✔✔✔✔ parses representations of false correctly ✔✔✔✔✔✔ does not parse other boolean representations ✔✔✔✔✔ 405 total assertions Using FieldBinaryParser using hex encoding parses valid hex values correctly ✔✔✔✔✔✔✔✔ using base32 encoding parses valid base32 values correctly ✔✔✔✔ using base64 encoding parses valid base64 values correctly ✔✔✔✔ 421 total assertions Using FieldDateParser with Go's format parses valid timestamps correctly ✔✔ does not parse invalid dates ✔✔✔ with MS's format parses valid timestamps correctly ✔✔ does not parse invalid dates ✔✔✔✔ with Oracle's format parses valid timestamps correctly ✔✔ does not parse invalid dates ✔✔✔✔ 438 total assertions Using FieldDoubleParser parses valid decimal values correctly ✔✔✔✔✔✔✔✔ does not parse invalid numbers ✔✔✔✔ 450 total assertions Using FieldInt32Parser parses valid integer values correctly ✔✔✔✔✔ does not parse invalid numbers ✔✔✔✔✔✔ 461 total assertions Using FieldInt64Parser parses valid integer values correctly ✔✔✔✔✔ does not parse invalid numbers ✔✔✔✔ 470 total assertions Using FieldDecimalParser parses valid decimal values correctly ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ does not parse invalid decimal values ✔✔✔ 488 total assertions Using FieldStringParser parses strings as strings only ✔✔✔✔✔✔ 494 total assertions --- PASS: TestFieldParsers (0.01s) PASS ok _/build/mongo-tools-3.4.14/mongoimport 0.071s go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied === RUN TestBasicOps --- SKIP: TestBasicOps (0.00s) PASS ok _/build/mongo-tools-3.4.14/mongooplog 0.006s go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied === RUN TestCreateAllIntents With a test MongoRestore running CreateAllIntents should succeed ✔✔ and reading the intents should show alphabetical order ✔✔✔✔✔✔✔✔✔ with all the proper metadata + bson merges ✔✔✔✔✔✔✔✔ and skipped files all present in the logs ✔✔✔ 22 total assertions --- PASS: TestCreateAllIntents (0.00s) === RUN TestCreateIntentsForDB With a test MongoRestore running CreateIntentsForDB should succeed ✔✔ and reading the intents should show alphabetical order ✔✔✔✔ and all intents should have the supplied db name ✔✔✔✔✔✔✔✔✔ with all the proper metadata + bson merges ✔✔✔✔✔✔ and skipped files all present in the logs ✔ 44 total assertions --- PASS: TestCreateIntentsForDB (0.00s) === RUN TestCreateIntentsRenamed With a test MongoRestore running CreateAllIntents should succeed ✔✔ and reading the intents should show new collection names ✔✔✔✔✔ and intents should have the renamed db ✔✔✔✔ 55 total assertions --- PASS: TestCreateIntentsRenamed (0.00s) === RUN TestHandlingBSON With a test MongoRestore with a target path to a bson file instead of a directory ✔ the proper DB and Coll should be inferred ✔✔ but pre-existing settings should not be overwritten either collection settings ✔✔✔ or db settings ✔✔✔ 64 total assertions --- PASS: TestHandlingBSON (0.00s) === RUN TestCreateIntentsForCollection With a test MongoRestore running CreateIntentForCollection on a file without metadata ✔✔ should create one intent with 'myDb' and 'myC' fields ✔✔✔✔✔✔ and no Metadata path ✔✔ running CreateIntentForCollection on a file *with* metadata ✔✔ should create one intent with 'myDb' and 'myC' fields ✔✔✔✔✔ and a set Metadata path ✔✔ running CreateIntentForCollection on a non-existent file should fail ✔ running CreateIntentForCollection on a directory ✔ should fail ✔ running CreateIntentForCollection on non-bson file ✔ should fail ✔ 88 total assertions --- PASS: TestCreateIntentsForCollection (0.00s) === RUN TestCollectionExists --- SKIP: TestCollectionExists (0.00s) === RUN TestGetDumpAuthVersion With a test mongorestore and no --restoreDbUsersAndRoles auth version 1 should be detected ✔✔ auth version 3 should be detected ✔✔ auth version 5 should be detected ✔✔ using --restoreDbUsersAndRoles auth version 3 should be detected when no file exists ✔✔ auth version 3 should be detected when a version 3 file exists ✔✔ auth version 5 should be detected ✔✔ 100 total assertions --- PASS: TestGetDumpAuthVersion (0.01s) === RUN TestMongorestoreShortArchive With a test MongoRestore 100 total assertions --- SKIP: TestMongorestoreShortArchive (0.00s) === RUN TestMongorestore --- SKIP: TestMongorestore (0.00s) === RUN TestTimestampStringParsing Testing some possible timestamp strings: 123:456 [should pass] ✔✔ 123 [should pass] ✔✔ 123: [should pass] ✔✔ 123.123 [should fail] ✔✔ : [should fail] ✔✔ 1:1:1 [should fail] ✔✔ cats [should fail] ✔✔ [empty string] [should fail] ✔✔ 116 total assertions --- PASS: TestTimestampStringParsing (0.00s) === RUN TestValidOplogLimitChecking With a MongoRestore instance with oplogLimit of 5:0 an oplog entry with ts=1000:0 should be invalid ✔ an oplog entry with ts=5:1 should be invalid ✔ an oplog entry with ts=5:0 should be invalid ✔ an oplog entry with ts=4:9 should be valid ✔ an oplog entry with ts=4:0 should be valid ✔ an oplog entry with ts=0:1 should be valid ✔ 122 total assertions With a MongoRestore instance with no oplogLimit an oplog entry with ts=1000:0 should be valid ✔ an oplog entry with ts=5:1 should be valid ✔ an oplog entry with ts=5:0 should be valid ✔ 125 total assertions --- PASS: TestValidOplogLimitChecking (0.00s) === RUN TestWriteConcernWithURIParsing With an IngestOptions and ToolsOptions Parsing with no value should leave write concern empty ✔✔ and building write concern object, WMode should be majority ✔✔ Parsing with no writeconcern in URI should not error ✔✔ and parsing write concern, WMode should be majority ✔✔✔ Parsing with both writeconcern in URI and command line should error ✔✔ and parsing write concern, WMode should be majority ✔ 137 total assertions --- PASS: TestWriteConcernWithURIParsing (0.00s) PASS ok _/build/mongo-tools-3.4.14/mongorestore 0.040s go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied === RUN TestStatLine StatsLine should accurately calculate opcounter diffs ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ 16 total assertions StatsLine with non-default interval should calculate average diffs ✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔✔ 32 total assertions --- PASS: TestStatLine (0.00s) === RUN TestIsMongos should accept reasonable process names ✔✔✔✔✔ 37 total assertions should accept reasonable process names ✔✔✔✔✔ 42 total assertions --- PASS: TestIsMongos (0.00s) PASS ok _/build/mongo-tools-3.4.14/mongostat 0.009s go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied ? _/build/mongo-tools-3.4.14/mongotop [no test files] go: disabling cache (/nonexistent/second-build/.cache/go-build) due to initialization failure: mkdir /nonexistent: permission denied ? _/build/mongo-tools-3.4.14/common [no test files] make[1]: Leaving directory '/build/mongo-tools-3.4.14' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --with=golang --builddirectory=_build --buildsystem=golang dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang debian/rules override_dh_auto_install make[1]: Entering directory '/build/mongo-tools-3.4.14' # Do not install any Go source code make[1]: Leaving directory '/build/mongo-tools-3.4.14' dh_install -O--builddirectory=_build -O--buildsystem=golang dh_installdocs -O--builddirectory=_build -O--buildsystem=golang dh_installchangelogs -O--builddirectory=_build -O--buildsystem=golang dh_installman -O--builddirectory=_build -O--buildsystem=golang dh_installinit -O--builddirectory=_build -O--buildsystem=golang dh_perl -O--builddirectory=_build -O--buildsystem=golang dh_link -O--builddirectory=_build -O--buildsystem=golang dh_strip_nondeterminism -O--builddirectory=_build -O--buildsystem=golang dh_compress -O--builddirectory=_build -O--buildsystem=golang dh_fixperms -O--builddirectory=_build -O--buildsystem=golang dh_missing -O--builddirectory=_build -O--buildsystem=golang dh_strip -O--builddirectory=_build -O--buildsystem=golang dh_makeshlibs -O--builddirectory=_build -O--buildsystem=golang dh_shlibdeps -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -O--builddirectory=_build -O--buildsystem=golang dh_golang -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'mongo-tools' in '../mongo-tools_3.4.14-4_arm64.deb'. dpkg-deb: building package 'mongo-tools-dbgsym' in '../mongo-tools-dbgsym_3.4.14-4_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../mongo-tools_3.4.14-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/15841/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/15841/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/15841 and its subdirectories I: Current time: Sat Sep 18 08:59:20 +14 2021 I: pbuilder-time-stamp: 1631905160