I: pbuilder: network access will be disabled during build I: Current time: Sun Jul 12 10:03:12 +14 2020 I: pbuilder-time-stamp: 1594497792 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: using eatmydata during job 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 '/root/.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/36021/tmp/hooks/D01_modify_environment starting disorder-fs debug: Running on profitbricks-build16-i386. 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/36021/tmp/hooks/D01_modify_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 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 ... 19231 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 86.3 MB of archives. After unpacking 405 MB will be used. Writing extended state information... Get: 1 http://cdn-fastly.deb.debian.org/debian buster/main i386 libbsd0 i386 0.9.1-2 [104 kB] Get: 2 http://cdn-fastly.deb.debian.org/debian buster/main i386 bsdmainutils i386 11.1.2+b1 [193 kB] Get: 3 http://cdn-fastly.deb.debian.org/debian buster/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get: 4 http://cdn-fastly.deb.debian.org/debian buster/main i386 groff-base i386 1.22.4-3 [935 kB] Get: 5 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpipeline1 i386 1.5.1-2 [33.3 kB] Get: 6 http://cdn-fastly.deb.debian.org/debian buster/main i386 man-db i386 2.8.5-2 [1284 kB] Get: 7 http://cdn-fastly.deb.debian.org/debian buster/main i386 sensible-utils all 0.0.12 [15.8 kB] Get: 8 http://cdn-fastly.deb.debian.org/debian buster/main i386 libmagic-mgc i386 1:5.35-4 [242 kB] Get: 9 http://cdn-fastly.deb.debian.org/debian buster/main i386 libmagic1 i386 1:5.35-4 [124 kB] Get: 10 http://cdn-fastly.deb.debian.org/debian buster/main i386 file i386 1:5.35-4 [66.3 kB] Get: 11 http://cdn-fastly.deb.debian.org/debian buster/main i386 gettext-base i386 0.19.8.1-9 [124 kB] Get: 12 http://cdn-fastly.deb.debian.org/debian buster/main i386 libsigsegv2 i386 2.12-2 [33.2 kB] Get: 13 http://cdn-fastly.deb.debian.org/debian buster/main i386 m4 i386 1.4.18-2 [205 kB] Get: 14 http://cdn-fastly.deb.debian.org/debian buster/main i386 autoconf all 2.69-11 [341 kB] Get: 15 http://cdn-fastly.deb.debian.org/debian buster/main i386 autotools-dev all 20180224.1 [77.0 kB] Get: 16 http://cdn-fastly.deb.debian.org/debian buster/main i386 automake all 1:1.16.1-4 [771 kB] Get: 17 http://cdn-fastly.deb.debian.org/debian buster/main i386 autopoint all 0.19.8.1-9 [434 kB] Get: 18 http://cdn-fastly.deb.debian.org/debian buster/main i386 libtool all 2.4.6-9 [547 kB] Get: 19 http://cdn-fastly.deb.debian.org/debian buster/main i386 dh-autoreconf all 19 [16.9 kB] Get: 20 http://cdn-fastly.deb.debian.org/debian buster/main i386 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 21 http://cdn-fastly.deb.debian.org/debian buster/main i386 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 22 http://cdn-fastly.deb.debian.org/debian buster/main i386 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 23 http://cdn-fastly.deb.debian.org/debian buster/main i386 libelf1 i386 0.176-1.1 [166 kB] Get: 24 http://cdn-fastly.deb.debian.org/debian buster/main i386 dwz i386 0.12-3 [81.4 kB] Get: 25 http://cdn-fastly.deb.debian.org/debian buster/main i386 libglib2.0-0 i386 2.58.3-2 [1333 kB] Get: 26 http://cdn-fastly.deb.debian.org/debian buster/main i386 libicu63 i386 63.1-6 [8443 kB] Get: 27 http://cdn-fastly.deb.debian.org/debian buster/main i386 libxml2 i386 2.9.4+dfsg1-7+b3 [721 kB] Get: 28 http://cdn-fastly.deb.debian.org/debian buster/main i386 libcroco3 i386 0.6.12-3 [151 kB] Get: 29 http://cdn-fastly.deb.debian.org/debian buster/main i386 libncurses6 i386 6.1+20181013-2 [109 kB] Get: 30 http://cdn-fastly.deb.debian.org/debian buster/main i386 gettext i386 0.19.8.1-9 [1314 kB] Get: 31 http://cdn-fastly.deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://cdn-fastly.deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 33 http://cdn-fastly.deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] Get: 34 http://cdn-fastly.deb.debian.org/debian buster/main i386 dh-golang all 1.39 [20.8 kB] Get: 35 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-1.11-src i386 1.11.6-1 [13.0 MB] Get: 36 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-1.11-go i386 1.11.6-1 [41.8 MB] Get: 37 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-golang-snappy-dev all 0.0+git20160529.d9eb7a3-3 [51.2 kB] Get: 38 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpcap0.8 i386 1.8.1-6 [145 kB] Get: 39 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpcap0.8-dev i386 1.8.1-6 [247 kB] Get: 40 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-google-gopacket-dev all 1.1.14-3 [542 kB] Get: 41 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-jacobsa-oglematchers-dev all 0.0~git20150320-3 [30.0 kB] Get: 42 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-jacobsa-oglemock-dev all 0.0~git20150428-5 [25.1 kB] Get: 43 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-golang-x-tools-dev all 1:0.0~git20190125.d66bd3c+ds-4 [1230 kB] Get: 44 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-golang-x-text-dev all 0.3.0-2 [3393 kB] Get: 45 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-x-text-dev all 0.3.0-2 [3592 B] Get: 46 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-golang-x-net-dev all 1:0.0+git20181201.351d144+dfsg-3 [637 kB] Get: 47 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-jacobsa-reqtrace-dev all 0.0~git20150505-6 [5368 B] Get: 48 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-jacobsa-ogletest-dev all 0.0~git20170503.80d50a7-1 [22.1 kB] Get: 49 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-src i386 2:1.11~1 [4348 B] Get: 50 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-go i386 2:1.11~1 [23.4 kB] Get: 51 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-jtolds-gls-dev all 4.2.1-4 [7336 B] Get: 52 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-mattn-go-runewidth-dev all 0.0.4-1 [15.2 kB] Get: 53 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-nsf-termbox-go-dev all 0.0~git20160914-3 [26.8 kB] Get: 54 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-smartystreets-assertions-dev all 1.6.0+dfsg-1 [24.2 kB] Get: 55 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-github-smartystreets-goconvey-dev all 1.6.1-3 [48.8 kB] Get: 56 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-golang-x-sys-dev all 0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1 [291 kB] Get: 57 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-golang-x-crypto-dev all 1:0.0~git20181203.505ab14-1 [1445 kB] Get: 58 http://cdn-fastly.deb.debian.org/debian buster/main i386 golang-gopkg-tomb.v2-dev all 0.0~git20161208.d5d1b58-3 [6840 B] Get: 59 http://cdn-fastly.deb.debian.org/debian buster/main i386 libpcap-dev i386 1.8.1-6 [25.9 kB] Get: 60 http://cdn-fastly.deb.debian.org/debian buster/main i386 libsasl2-modules-db i386 2.1.27+dfsg-1 [69.9 kB] Get: 61 http://cdn-fastly.deb.debian.org/debian buster/main i386 libsasl2-2 i386 2.1.27+dfsg-1 [109 kB] Get: 62 http://cdn-fastly.deb.debian.org/debian buster/main i386 libsasl2-dev i386 2.1.27+dfsg-1 [296 kB] Get: 63 http://cdn-fastly.deb.debian.org/debian buster/main i386 libssl1.1 i386 1.1.1b-2 [1525 kB] Get: 64 http://cdn-fastly.deb.debian.org/debian buster/main i386 libssl-dev i386 1.1.1b-2 [1821 kB] Get: 65 http://cdn-fastly.deb.debian.org/debian buster/main i386 pkg-config i386 0.29-6 [64.7 kB] Fetched 86.3 MB in 10s (8966 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (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 ... 19231 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_i386.deb ... Unpacking libbsd0:i386 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_i386.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../02-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_i386.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_i386.deb ... Unpacking libmagic-mgc (1:5.35-4) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../08-libmagic1_1%3a5.35-4_i386.deb ... Unpacking libmagic1:i386 (1:5.35-4) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4_i386.deb ... Unpacking file (1:5.35-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../11-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-2_i386.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:i386. Preparing to unpack .../22-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../24-libglib2.0-0_2.58.3-2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.3-2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../25-libicu63_63.1-6_i386.deb ... Unpacking libicu63:i386 (63.1-6) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+b3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../27-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../28-libncurses6_6.1+20181013-2_i386.deb ... Unpacking libncurses6:i386 (6.1+20181013-2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-9_i386.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_i386.deb ... Unpacking golang-1.11-src (1.11.6-1) ... Selecting previously unselected package golang-1.11-go. Preparing to unpack .../35-golang-1.11-go_1.11.6-1_i386.deb ... Unpacking golang-1.11-go (1.11.6-1) ... 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:i386. Preparing to unpack .../37-libpcap0.8_1.8.1-6_i386.deb ... Unpacking libpcap0.8:i386 (1.8.1-6) ... Selecting previously unselected package libpcap0.8-dev:i386. Preparing to unpack .../38-libpcap0.8-dev_1.8.1-6_i386.deb ... Unpacking libpcap0.8-dev:i386 (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_i386.deb ... Unpacking golang-src (2:1.11~1) ... Selecting previously unselected package golang-go. Preparing to unpack .../49-golang-go_2%3a1.11~1_i386.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:i386. Preparing to unpack .../58-libpcap-dev_1.8.1-6_i386.deb ... Unpacking libpcap-dev:i386 (1.8.1-6) ... Selecting previously unselected package libsasl2-modules-db:i386. Preparing to unpack .../59-libsasl2-modules-db_2.1.27+dfsg-1_i386.deb ... Unpacking libsasl2-modules-db:i386 (2.1.27+dfsg-1) ... Selecting previously unselected package libsasl2-2:i386. Preparing to unpack .../60-libsasl2-2_2.1.27+dfsg-1_i386.deb ... Unpacking libsasl2-2:i386 (2.1.27+dfsg-1) ... Selecting previously unselected package libsasl2-dev. Preparing to unpack .../61-libsasl2-dev_2.1.27+dfsg-1_i386.deb ... Unpacking libsasl2-dev (2.1.27+dfsg-1) ... Selecting previously unselected package libssl1.1:i386. Preparing to unpack .../62-libssl1.1_1.1.1b-2_i386.deb ... Unpacking libssl1.1:i386 (1.1.1b-2) ... Selecting previously unselected package libssl-dev:i386. Preparing to unpack .../63-libssl-dev_1.1.1b-2_i386.deb ... Unpacking libssl-dev:i386 (1.1.1b-2) ... Selecting previously unselected package pkg-config. Preparing to unpack .../64-pkg-config_0.29-6_i386.deb ... Unpacking pkg-config (0.29-6) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up golang-github-mattn-go-runewidth-dev (0.0.4-1) ... Setting up libmagic-mgc (1:5.35-4) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:i386 (2.58.3-2) ... No schema files found: doing nothing. Setting up golang-1.11-src (1.11.6-1) ... Setting up libssl1.1:i386 (1.1.1b-2) ... Setting up golang-golang-x-sys-dev (0.0~git20190412.9773273+really0.0~git20181228.9a3f9b0-1) ... Setting up libmagic1:i386 (1:5.35-4) ... 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) ... Setting up golang-golang-x-tools-dev (1:0.0~git20190125.d66bd3c+ds-4) ... Setting up libicu63:i386 (63.1-6) ... Setting up golang-1.11-go (1.11.6-1) ... Setting up libsasl2-modules-db:i386 (2.1.27+dfsg-1) ... Setting up golang-gopkg-tomb.v2-dev (0.0~git20161208.d5d1b58-3) ... Setting up autotools-dev (20180224.1) ... Setting up libpcap0.8:i386 (1.8.1-6) ... Setting up libncurses6:i386 (6.1+20181013-2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up libssl-dev:i386 (1.1.1b-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up pkg-config (0.29-6) ... Setting up libsasl2-2:i386 (2.1.27+dfsg-1) ... 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:i386 (0.0.6-3) ... Setting up golang-src (2:1.11~1) ... Setting up libbsd0:i386 (0.9.1-2) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up libxml2:i386 (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:i386 (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) ... 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:i386 (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:i386 (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). The following additional packages will be installed: libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl The following NEW packages will be installed: libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 59.5 kB of archives. After this operation, 182 kB of additional disk space will be used. Get:1 http://cdn-fastly.deb.debian.org/debian buster/main i386 libnumber-compare-perl all 0.03-1 [7642 B] Get:2 http://cdn-fastly.deb.debian.org/debian buster/main i386 libtext-glob-perl all 0.10-1 [8362 B] Get:3 http://cdn-fastly.deb.debian.org/debian buster/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] Get:4 http://cdn-fastly.deb.debian.org/debian buster/main i386 usrmerge all 21 [12.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 59.5 kB in 1s (81.3 kB/s) Selecting previously unselected package libnumber-compare-perl. (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 ... 34945 files and directories currently installed.) Preparing to unpack .../libnumber-compare-perl_0.03-1_all.deb ... Unpacking libnumber-compare-perl (0.03-1) ... Selecting previously unselected package libtext-glob-perl. Preparing to unpack .../libtext-glob-perl_0.10-1_all.deb ... Unpacking libtext-glob-perl (0.10-1) ... Selecting previously unselected package libfile-find-rule-perl. Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... Unpacking libfile-find-rule-perl (0.34-1) ... Selecting previously unselected package usrmerge. Preparing to unpack .../archives/usrmerge_21_all.deb ... Unpacking usrmerge (21) ... Setting up libtext-glob-perl (0.10-1) ... Setting up libnumber-compare-perl (0.03-1) ... Setting up libfile-find-rule-perl (0.34-1) ... Setting up usrmerge (21) ... The system has been successfully converted. Processing triggers for man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. 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 i386 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 github.com/mongodb/mongo-tools/common/log gopkg.in/mgo.v2/internal/sasl gopkg.in/mgo.v2/internal/json github.com/jessevdk/go-flags gopkg.in/mgo.v2/internal/scram github.com/mongodb/mongo-tools/common/connstring golang.org/x/sys/unix github.com/spacemonkeygo/spacelog 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 github.com/mongodb/mongo-tools/common/signals github.com/mongodb/mongo-tools/common/json gopkg.in/mgo.v2 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/sasl gopkg.in/mgo.v2/internal/json github.com/mongodb/mongo-tools/common/text github.com/jessevdk/go-flags 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 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/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/jessevdk/go-flags github.com/mongodb/mongo-tools/common/log gopkg.in/mgo.v2/internal/sasl gopkg.in/mgo.v2/internal/json github.com/mongodb/mongo-tools/common/connstring golang.org/x/sys/unix github.com/spacemonkeygo/spacelog gopkg.in/mgo.v2/internal/scram 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/jessevdk/go-flags gopkg.in/mgo.v2/internal/sasl github.com/mongodb/mongo-tools/common/text github.com/mongodb/mongo-tools/common/log github.com/mongodb/mongo-tools/mongoimport/csv gopkg.in/tomb.v2 gopkg.in/mgo.v2/internal/json github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog gopkg.in/mgo.v2/internal/scram 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/json github.com/mongodb/mongo-tools/common/signals 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/sasl 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/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/mongodb/mongo-tools/common/log gopkg.in/mgo.v2/internal/json gopkg.in/mgo.v2/internal/sasl github.com/spacemonkeygo/openssl/utils github.com/mongodb/mongo-tools/common/text gopkg.in/mgo.v2/internal/scram github.com/mongodb/mongo-tools/mongorestore/ns github.com/jessevdk/go-flags 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/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/mattn/go-runewidth github.com/jessevdk/go-flags gopkg.in/mgo.v2/internal/json gopkg.in/mgo.v2/internal/sasl github.com/mongodb/mongo-tools/common/text gopkg.in/mgo.v2/internal/scram github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog golang.org/x/sys/unix 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 github.com/mongodb/mongo-tools/common/util gopkg.in/mgo.v2 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/mongodb/mongo-tools/common/log github.com/jessevdk/go-flags gopkg.in/mgo.v2/internal/json github.com/google/gopacket github.com/10gen/llmgo/internal/scram github.com/10gen/llmgo/bson github.com/patrickmn/go-cache github.com/mongodb/mongo-tools/common/connstring github.com/spacemonkeygo/spacelog github.com/spacemonkeygo/openssl github.com/google/gopacket/layers 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/tcpassembly github.com/google/gopacket/pcap 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 gopkg.in/mgo.v2/internal/sasl github.com/jessevdk/go-flags gopkg.in/mgo.v2/internal/json github.com/mongodb/mongo-tools/common/text 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/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.004s 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":"5f0a1c19ff8ef60bb759714a"},"array":[{"$oid":"5f0a1c19ff8ef60bb759714c"},{"$undefined":true}],"hey":"sup","subdoc":{"subid":{"$oid":"5f0a1c19ff8ef60bb759714b"}}} 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.006s 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.004s 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 2020-07-11T20:07:57.475+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 2020-07-11T20:07:57.475+0000 got line: [1 2 hello mongodb user] ✔✔ an error should be thrown if duplicate headers are found 2020-07-11T20:07:57.475+0000 got line: [1 2 hello mongodb user] ✔ fields with nested values should be set appropriately 2020-07-11T20:07:57.475+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 2020-07-11T20:07:57.475+0000 got line: [a b c] 2020-07-11T20:07:57.475+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 2020-07-11T20:07:57.476+0000 got line: [a b c] 2020-07-11T20:07:57.476+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 2020-07-11T20:07:57.476+0000 got line: [a b c] 2020-07-11T20:07:57.476+0000 got line: [d e f] 2020-07-11T20:07:57.476+0000 got line: [d e f] 2020-07-11T20:07:57.476+0000 got line: [d e f] 2020-07-11T20:07:57.476+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 2020-07-11T20:07:57.476+0000 got line: [d e f] 2020-07-11T20:07:57.476+0000 got line: [d e f] 2020-07-11T20:07:57.476+0000 got line: [d e f] 2020-07-11T20:07:57.476+0000 got line: [a b c] 2020-07-11T20:07:57.476+0000 got line: [d e f] ✔✔✔✔✔✔ the entire pipeline should complete with error if an error is encountered 2020-07-11T20:07:57.476+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 2020-07-11T20:07:57.477+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 2020-07-11T20:07:57.478+0000 got line: [1 2 foo"bar] ✔ multiple escaped quotes separated by whitespace parsed correctly 2020-07-11T20:07:57.478+0000 got line: [1 2 foo" "bar] ✔✔ integer valued strings should be converted 2020-07-11T20:07:57.478+0000 got line: [1 2 3e] ✔✔ extra fields should be prefixed with 'field' 2020-07-11T20:07:57.478+0000 got line: [1 2f 3e may] ✔✔ nested CSV fields should be imported properly 2020-07-11T20:07:57.478+0000 got line: [1 2f 3e may] ✔✔✔✔✔✔ whitespace separated quoted strings are still an error ✔ nested CSV fields causing header collisions should error 2020-07-11T20:07:57.479+0000 got line: [1 2f 3e may june] ✔ calling StreamDocument() for CSVs should return next set of values 2020-07-11T20:07:57.479+0000 got line: [1 2 3] 2020-07-11T20:07:57.479+0000 got line: [4 5 6] ✔✔✔ valid CSV input file that starts with the UTF-8 BOM should not raise an error ✔2020-07-11T20:07:57.479+0000 got line: [1 2 3] 2020-07-11T20:07:57.479+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 2020-07-11T20:07:57.479+0000 using fields: extraHeader1,extraHeader2,extraHeader3 ✔✔ setting non-colliding nested CSV headers should not raise an error 2020-07-11T20:07:57.479+0000 using fields: a,b,c ✔✔2020-07-11T20:07:57.480+0000 using fields: a.b.c,a.b.d,c ✔✔2020-07-11T20:07:57.480+0000 using fields: a.b,ab,a.c ✔✔2020-07-11T20:07:57.480+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 2020-07-11T20:07:57.480+0000 using fields: extraHeader1,extraHeader2,extraHeader3 ✔✔✔ plain CSV input file sources should be parsed correctly and subsequent imports should parse correctly ✔2020-07-11T20:07:57.481+0000 got line: [1 2 3] 2020-07-11T20:07:57.481+0000 got line: [3 5.4 string] 2020-07-11T20:07:57.481+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 2020-07-11T20:07:57.481+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 ✔2020-07-11T20:07:57.481+0000 got line: [{a ae}] 2020-07-11T20:07:57.481+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 ✔2020-07-11T20:07:57.482+0000 got line: [{a 1.2} {b a} {c 0.4}] 2020-07-11T20:07:57.482+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}} 2020-07-11T20:07:57.482+0000 got line: [{a 2.4} {b string} {c 52.9}] 2020-07-11T20:07:57.482+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}} 2020-07-11T20:07:57.482+0000 got line: [{a 3} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:3}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 4} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:4}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 5} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:5}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 6} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:6}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 7} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:7}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 8} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:8}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 9} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:9}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 10} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:10}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 11} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:11}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 12} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:12}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 13} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:13}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 14} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:14}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 15} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:15}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 16} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:16}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 17} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:17}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 18} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:18}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 29} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:29}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 20} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:20}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 21} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:21}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 22} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:22}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 23} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:23}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 24} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:24}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 25} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:25}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 25} {b string} {c 52}] 2020-07-11T20:07:57.482+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:25}, bson.DocElem{Name:"b", Value:"string"}, bson.DocElem{Name:"c", Value:52}} 2020-07-11T20:07:57.482+0000 got line: [{a 27} {b value} {c 65}] 2020-07-11T20:07:57.482+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 2020-07-11T20:07:57.483+0000 got line: [{a ae}] 2020-07-11T20:07:57.483+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:"ae"}} ✔✔ several string valued JSON documents should be imported properly 2020-07-11T20:07:57.483+0000 got line: [{a ae}] 2020-07-11T20:07:57.483+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:"ae"}} 2020-07-11T20:07:57.483+0000 got line: [{b dc}] 2020-07-11T20:07:57.483+0000 got extended line: bson.D{bson.DocElem{Name:"b", Value:"dc"}} ✔✔✔ number valued JSON documents should be imported properly 2020-07-11T20:07:57.483+0000 got line: [{a ae} {b 2}] 2020-07-11T20:07:57.483+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 ✔2020-07-11T20:07:57.484+0000 got line: [{a 4} {b string value} {c 1}] 2020-07-11T20:07:57.484+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}} 2020-07-11T20:07:57.484+0000 got line: [{a 5} {b string value} {c 2}] 2020-07-11T20:07:57.484+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}} 2020-07-11T20:07:57.484+0000 got line: [{a 6} {b string value} {c 3}] 2020-07-11T20:07:57.484+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 ✔2020-07-11T20:07:57.484+0000 got line: [{a 1} {b 2} {c 3}] 2020-07-11T20:07:57.484+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:1}, bson.DocElem{Name:"b", Value:2}, bson.DocElem{Name:"c", Value:3}} 2020-07-11T20:07:57.484+0000 got line: [{a 4} {b 5} {c 6}] 2020-07-11T20:07:57.484+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 ✔2020-07-11T20:07:57.485+0000 got line: [{a 3}] 2020-07-11T20:07:57.485+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 ✔2020-07-11T20:07:57.485+0000 got line: [{a 3}] 2020-07-11T20:07:57.486+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:3}} 2020-07-11T20:07:57.486+0000 got line: [{a 3}] ✔2020-07-11T20:07:57.486+0000 got extended line: bson.D{bson.DocElem{Name:"a", Value:3}} 211 total assertions --- PASS: TestReadJSONArraySeparator (0.00s) === RUN TestJSONConvert With a JSON input reader calling convert on a JSONConverter should return the expected BSON document 2020-07-11T20:07:57.486+0000 got line: [{field1 a} {field2 b} {field3 c}] 2020-07-11T20:07:57.486+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 ✔2020-07-11T20:07:57.487+0000 using 0 decoding workers 2020-07-11T20:07:57.487+0000 using 1 insert workers 2020-07-11T20:07:57.487+0000 no collection specified 2020-07-11T20:07:57.487+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 ✔2020-07-11T20:07:57.487+0000 using 0 decoding workers 2020-07-11T20:07:57.487+0000 using 1 insert workers ✔ no error should be thrown if no input type is supplied ✔2020-07-11T20:07:57.487+0000 using 0 decoding workers 2020-07-11T20:07:57.487+0000 using 1 insert workers ✔ no error should be thrown if there's just one positional argument ✔2020-07-11T20:07:57.487+0000 using 0 decoding workers 2020-07-11T20:07:57.487+0000 using 1 insert workers ✔ an error should be thrown if --file is used with one positional argument ✔2020-07-11T20:07:57.487+0000 using 0 decoding workers 2020-07-11T20:07:57.487+0000 using 1 insert workers ✔ an error should be thrown if there's more than one positional argument ✔2020-07-11T20:07:57.488+0000 using 0 decoding workers 2020-07-11T20:07:57.488+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 ✔2020-07-11T20:07:57.488+0000 using 0 decoding workers 2020-07-11T20:07:57.488+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 ✔2020-07-11T20:07:57.489+0000 using upsert fields: [a b c] 2020-07-11T20:07:57.489+0000 using 0 decoding workers 2020-07-11T20:07:57.489+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 ✔2020-07-11T20:07:57.489+0000 using upsert fields: [_id] 2020-07-11T20:07:57.489+0000 using 0 decoding workers 2020-07-11T20:07:57.489+0000 using 1 insert workers ✔✔ no error should be thrown if all fields in the --upsertFields argument are valid ✔2020-07-11T20:07:57.489+0000 using upsert fields: [a b c] 2020-07-11T20:07:57.489+0000 using 0 decoding workers 2020-07-11T20:07:57.489+0000 using 1 insert workers ✔ no error should be thrown if --fields is supplied with CSV import ✔2020-07-11T20:07:57.489+0000 using 0 decoding workers 2020-07-11T20:07:57.489+0000 using 1 insert workers ✔ an error should be thrown if an empty --fields is supplied with CSV import ✔2020-07-11T20:07:57.489+0000 using 0 decoding workers 2020-07-11T20:07:57.489+0000 using 1 insert workers ✔ no error should be thrown if --fieldFile is supplied with CSV import ✔2020-07-11T20:07:57.490+0000 using 0 decoding workers 2020-07-11T20:07:57.490+0000 using 1 insert workers ✔ an error should be thrown if no collection and no file is supplied ✔2020-07-11T20:07:57.490+0000 using 0 decoding workers 2020-07-11T20:07:57.490+0000 using 1 insert workers 2020-07-11T20:07:57.490+0000 no collection specified 2020-07-11T20:07:57.490+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 ✔2020-07-11T20:07:57.490+0000 using 0 decoding workers 2020-07-11T20:07:57.490+0000 using 1 insert workers 2020-07-11T20:07:57.490+0000 no collection specified 2020-07-11T20:07:57.490+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 ✔2020-07-11T20:07:57.490+0000 using 0 decoding workers 2020-07-11T20:07:57.490+0000 using 1 insert workers 2020-07-11T20:07:57.490+0000 no collection specified 2020-07-11T20:07:57.490+0000 using filename 'input' as collection ✔✔ 273 total assertions --- PASS: TestMongoImportValidateSettings (0.00s) === 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 ✔2020-07-11T20:07:57.490+0000 filesize: 934 bytes ✔ no error should be thrown if stdin is used ✔2020-07-11T20:07:57.490+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 ✔2020-07-11T20:07:57.491+0000 using fields: foo,bar ✔ should complain about non-escaped new lines in --fields ✔2020-07-11T20:07:57.491+0000 using fields: foo, blah,bar ✔ no error should be thrown if neither --fields nor --fieldFile is used ✔2020-07-11T20:07:57.491+0000 using fields: ✔ no error should be thrown if --fields is used ✔2020-07-11T20:07:57.491+0000 using fields: a,b,c ✔ no error should be thrown if --fieldFile is used and it references a valid file ✔2020-07-11T20:07:57.491+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 ✔2020-07-11T20:07:57.491+0000 using fields: ✔ no error should be thrown for TSV import inputs ✔2020-07-11T20:07:57.491+0000 using fields: ✔ no error should be thrown for JSON import inputs ✔2020-07-11T20:07:57.492+0000 using fields: ✔ an error should be thrown if --fieldFile fields are invalid ✔✔✔ no error should be thrown if --fieldFile fields are valid ✔✔2020-07-11T20:07:57.492+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 2020-07-11T20:07:57.492+0000 Setting num cpus to 18 ✔ Then parsing should fill args with expected defaults ✔2020-07-11T20:07:57.492+0000 using 18 decoding workers 2020-07-11T20:07:57.492+0000 using 1 insert workers ✔✔✔ 308 total assertions --- PASS: TestHiddenOptionsDefaults (0.00s) === RUN TestWriteConcernWithURIParsing With an IngestOptions and ToolsOptions 2020-07-11T20:07:57.492+0000 Setting num cpus to 18 Parsing with no value should leave write concern empty ✔✔ and building write concern object, WMode should be majority 2020-07-11T20:07:57.493+0000 using write concern: w='majority', j=false, fsync=false, wtimeout=0 ✔✔2020-07-11T20:07:57.493+0000 Setting num cpus to 18 Parsing with no writeconcern in URI should not error ✔✔ and parsing write concern, WMode should be majority 2020-07-11T20:07:57.493+0000 using write concern: w='majority', j=false, fsync=false, wtimeout=0 ✔✔✔2020-07-11T20:07:57.493+0000 Setting num cpus to 18 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 2020-07-11T20:07:57.493+0000 got line: [1 2 3e] ✔✔ valid TSV input file that starts with the UTF-8 BOM should not raise an error ✔2020-07-11T20:07:57.493+0000 got line: [1 2 3] ✔✔ integer valued strings should be converted tsv2 2020-07-11T20:07:57.494+0000 got line: [a b "cccc,cccc" d] ✔✔ extra columns should be prefixed with 'field' 2020-07-11T20:07:57.494+0000 got line: [1 2 3e may] ✔✔ mixed values should be parsed correctly 2020-07-11T20:07:57.494+0000 got line: [12 13.3 Inline 14] ✔✔ calling StreamDocument() in succession for TSVs should return the correct next set of values 2020-07-11T20:07:57.494+0000 got line: [1 2 3] 2020-07-11T20:07:57.494+0000 got line: [4 5 6] ✔✔✔✔✔✔✔✔✔✔✔✔✔ calling StreamDocument() in succession for TSVs that contain quotes should return the correct next set of values 2020-07-11T20:07:57.494+0000 got line: [1 2 3] 2020-07-11T20:07:57.495+0000 got line: [4 " 6] ✔✔✔ plain TSV input file sources should be parsed correctly and subsequent imports should parse correctly ✔2020-07-11T20:07:57.495+0000 got line: [1 2 3] 2020-07-11T20:07:57.495+0000 got line: [3 4.6 5] 2020-07-11T20:07:57.495+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 2020-07-11T20:07:57.495+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 2020-07-11T20:07:57.495+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.00s) PASS ok _/build/mongo-tools-3.4.14/mongoimport 0.030s 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.003s 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.02s) === 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.031s 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.004s 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_i386.deb'. dpkg-deb: building package 'mongo-tools-dbgsym' in '../mongo-tools-dbgsym_3.4.14-4_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../mongo-tools_3.4.14-4_i386.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/36021/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/36021/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/36021 and its subdirectories I: Current time: Sun Jul 12 10:08:24 +14 2020 I: pbuilder-time-stamp: 1594498104