Raspbian Package Auto-Building

Build log for rasterio (1.0.3-1) on armhf

rasterio1.0.3-1armhf → 2018-08-04 07:07:57

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-03

+==============================================================================+
| rasterio 1.0.3-1 (armhf)                     Sat, 04 Aug 2018 05:49:40 +0000 |
+==============================================================================+

Package: rasterio
Version: 1.0.3-1
Source Version: 1.0.3-1
Distribution: buster-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/buster-staging-armhf-sbuild-62bf1b3f-8ba3-4541-9924-2bf68c935a1d' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1/private buster-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private buster-staging/main Sources [10.9 MB]
Get:3 http://172.17.0.1/private buster-staging/main armhf Packages [12.7 MB]
Fetched 23.6 MB in 29s (824 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'rasterio' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/debian-gis-team/rasterio.git
Please use:
git clone https://salsa.debian.org/debian-gis-team/rasterio.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 15.9 MB of source archives.
Get:1 http://172.17.0.1/private buster-staging/main rasterio 1.0.3-1 (dsc) [2714 B]
Get:2 http://172.17.0.1/private buster-staging/main rasterio 1.0.3-1 (tar) [15.9 MB]
Get:3 http://172.17.0.1/private buster-staging/main rasterio 1.0.3-1 (diff) [6632 B]
Fetched 15.9 MB in 3s (4730 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/rasterio-J98Xs1/rasterio-1.0.3' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/rasterio-J98Xs1' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-LxbBAk/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-LxbBAk/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-LxbBAk/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ Packages [432 B]
Fetched 2108 B in 1s (3004 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  ca-certificates dbus dbus-user-session e2fsprogs-l10n libexpat1
  libnss-systemd libpam-systemd libssl1.1 openssl systemd-sysv
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 87 not upgraded.
Need to get 852 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 852 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 14003 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any all)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 9), dh-python, libgdal-dev, gdal-bin, cython, cython3, python-affine (>= 1.3.0), python-all, python-all-dev, python-attr (>= 16.0.0), python-boto3, python-click-plugins, python-cligj (>= 0.2), python-enum34, python-hypothesis, python-numpy (>= 1.10), python-packaging, python-pytest, python-setuptools, python-snuggs (>= 1.4.1), python3-affine (>= 1.3.0), python3-all, python3-all-dev, python3-attr (>= 16.0.0), python3-boto3, python3-click-plugins, python3-cligj (>= 0.2), python3-hypothesis, python3-numpy (>= 1.10), python3-packaging, python3-pytest, python3-setuptools, python3-snuggs (>= 1.4.1)
Filtered Build-Depends: debhelper (>= 9), dh-python, libgdal-dev, gdal-bin, cython, cython3, python-affine (>= 1.3.0), python-all, python-all-dev, python-attr (>= 16.0.0), python-boto3, python-click-plugins, python-cligj (>= 0.2), python-enum34, python-hypothesis, python-numpy (>= 1.10), python-packaging, python-pytest, python-setuptools, python-snuggs (>= 1.4.1), python3-affine (>= 1.3.0), python3-all, python3-all-dev, python3-attr (>= 16.0.0), python3-boto3, python3-click-plugins, python3-cligj (>= 0.2), python3-hypothesis, python3-numpy (>= 1.10), python3-packaging, python3-pytest, python3-setuptools, python3-snuggs (>= 1.4.1)
dpkg-deb: building package 'sbuild-build-depends-rasterio-dummy' in '/<<BUILDDIR>>/resolver-LxbBAk/apt_archive/sbuild-build-depends-rasterio-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-rasterio-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ Sources [670 B]
Get:5 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ Packages [754 B]
Fetched 2757 B in 1s (4204 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install rasterio build dependencies (apt-based resolver)
--------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  dbus dbus-user-session e2fsprogs-l10n libnss-systemd libpam-systemd
  systemd-sysv
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils cython cython3
  debhelper default-libmysqlclient-dev dh-autoreconf dh-python
  dh-strip-nondeterminism docutils-common dwz file fontconfig-config
  fonts-dejavu-core gdal-bin gdal-data gettext gettext-base gir1.2-glib-2.0
  gir1.2-harfbuzz-0.0 groff-base hdf5-helpers icu-devtools intltool-debian
  libaec-dev libaec0 libarchive-zip-perl libarmadillo-dev libarmadillo8
  libarpack2 libarpack2-dev libblas-dev libblas3 libboost-dev libboost1.62-dev
  libbsd0 libcharls-dev libcharls1 libcroco3 libcurl3-gnutls
  libcurl4-gnutls-dev libdap-dev libdap25 libdapclient6v5 libdapserver7v5
  libelf1 libepsilon-dev libepsilon1 libexpat1-dev
  libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libfreexl-dev
  libfreexl1 libfyba-dev libfyba0 libgdal-dev libgdal20 libgeos-3.6.2
  libgeos-c1v5 libgeos-dev libgeotiff-dev libgeotiff2 libgfortran4 libgif-dev
  libgif7 libgirepository-1.0-1 libglib2.0-0 libglib2.0-bin libglib2.0-data
  libglib2.0-dev libglib2.0-dev-bin libgraphite2-3 libgraphite2-dev
  libgssapi-krb5-2 libharfbuzz-dev libharfbuzz-gobject0 libharfbuzz-icu0
  libharfbuzz0b libhdf4-0-alt libhdf4-alt-dev libhdf5-100 libhdf5-cpp-100
  libhdf5-dev libicu-dev libicu-le-hb-dev libicu-le-hb0 libicu60 libjbig-dev
  libjbig0 libjpeg-dev libjpeg62-turbo libjpeg62-turbo-dev libjs-jquery
  libjs-sphinxdoc libjs-underscore libjson-c-dev libk5crypto3 libkeyutils1
  libkml-dev libkmlbase1 libkmlconvenience1 libkmldom1 libkmlengine1
  libkmlregionator1 libkmlxsd1 libkrb5-3 libkrb5support0 liblapack-dev
  liblapack3 liblcms2-2 libltdl-dev libltdl7 liblzma-dev libmagic-mgc
  libmagic1 libmariadbclient-dev libmariadbclient-dev-compat
  libmariadbclient18 libminizip-dev libminizip1 libmpdec2 libnetcdf-dev
  libnetcdf13 libnghttp2-14 libnspr4 libnss3 libodbc1 libogdi3.2
  libogdi3.2-dev libopenjp2-7 libopenjp2-7-dev libpcre16-3 libpcre3
  libpcre3-dev libpcre32-3 libpcrecpp0v5 libpipeline1 libpng-dev libpng16-16
  libpoppler-dev libpoppler-private-dev libpoppler74 libpopt0 libpq-dev libpq5
  libproj-dev libproj13 libpsl5 libpython-all-dev libpython-dev
  libpython-stdlib libpython2-dev libpython2-stdlib libpython2.7
  libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-all-dev
  libpython3-dev libpython3-stdlib libpython3.6 libpython3.6-dev
  libpython3.6-minimal libpython3.6-stdlib libqhull-dev libqhull-r7 libqhull7
  librtmp1 libsigsegv2 libspatialite-dev libspatialite7 libsqlite3-dev
  libssh2-1 libsuperlu-dev libsuperlu5 libsz2 libtiff-dev libtiff5
  libtiff5-dev libtiffxx5 libtimedate-perl libtool liburiparser-dev
  liburiparser1 libuuid1 libwebp-dev libwebp6 libwebpdemux2 libwebpmux3
  libxerces-c-dev libxerces-c3.2 libxml2 libxml2-dev libxslt1.1 libzstd-dev m4
  man-db mime-support mysql-common odbcinst odbcinst1debian2 pkg-config
  po-debconf proj-data python python-affine python-all python-all-dev
  python-atomicwrites python-attr python-boto3 python-botocore python-certifi
  python-chardet python-click python-click-plugins python-cligj
  python-colorama python-concurrent.futures python-coverage python-dateutil
  python-dev python-docutils python-enum34 python-funcsigs python-hypothesis
  python-idna python-jmespath python-lxml python-minimal python-more-itertools
  python-numpy python-packaging python-pkg-resources python-pluggy python-py
  python-pyparsing python-pytest python-requests python-roman
  python-s3transfer python-setuptools python-six python-snuggs python-urllib3
  python2 python2-dev python2-minimal python2.7 python2.7-dev
  python2.7-minimal python3 python3-affine python3-all python3-all-dev
  python3-atomicwrites python3-attr python3-boto3 python3-botocore
  python3-certifi python3-chardet python3-click python3-click-plugins
  python3-cligj python3-colorama python3-coverage python3-dateutil python3-dev
  python3-distutils python3-docutils python3-hypothesis python3-idna
  python3-jmespath python3-lib2to3 python3-lxml python3-minimal
  python3-more-itertools python3-numpy python3-packaging python3-pkg-resources
  python3-pluggy python3-py python3-pyparsing python3-pytest python3-requests
  python3-roman python3-s3transfer python3-setuptools python3-six
  python3-snuggs python3-urllib3 python3.6 python3.6-dev python3.6-minimal
  sgml-base ucf unixodbc-dev uuid-dev xml-core zlib1g-dev
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation cython-doc dh-make libgdal-grass python-gdal gettext-doc
  libasprintf-dev libgettextpo-dev groff libitpp-dev liblapack-doc
  libboost-doc libboost1.62-doc libboost-atomic1.62-dev
  libboost-chrono1.62-dev libboost-context1.62-dev libboost-coroutine1.62-dev
  libboost-date-time1.62-dev libboost-exception1.62-dev libboost-fiber1.62-dev
  libboost-filesystem1.62-dev libboost-graph1.62-dev
  libboost-graph-parallel1.62-dev libboost-iostreams1.62-dev
  libboost-locale1.62-dev libboost-log1.62-dev libboost-math1.62-dev
  libboost-mpi1.62-dev libboost-mpi-python1.62-dev
  libboost-program-options1.62-dev libboost-python1.62-dev
  libboost-random1.62-dev libboost-regex1.62-dev
  libboost-serialization1.62-dev libboost-signals1.62-dev
  libboost-system1.62-dev libboost-test1.62-dev libboost-thread1.62-dev
  libboost-timer1.62-dev libboost-type-erasure1.62-dev libboost-wave1.62-dev
  libboost1.62-tools-dev libmpfrc++-dev libntl-dev libcurl4-doc
  libgnutls28-dev libidn11-dev libkrb5-dev libldap2-dev librtmp-dev
  libssh2-1-dev libgdal-doc libgeotiff-epsg geotiff-bin libglib2.0-doc
  libgraphite2-utils krb5-doc krb5-user libhdf4-doc hdf4-tools libhdf5-doc
  icu-doc liblcms2-utils libtool-doc liblzma-doc netcdf-bin netcdf-doc
  libmyodbc odbc-postgresql tdsodbc unixodbc-bin ogdi-bin libfreetype6-dev
  postgresql-doc-10 proj-bin sqlite3-doc libsuperlu-doc gfortran
  | fortran95-compiler gcj-jdk libxerces-c-doc m4-doc apparmor less
  www-browser libmail-box-perl python-doc python-tk python-attr-doc
  python-coverage-doc fonts-linuxlibertine | ttf-linux-libertine
  texlive-lang-french texlive-latex-base texlive-latex-recommended
  python-enum34-doc python-funcsigs-doc python-hypothesis-doc python-lxml-dbg
  python-lxml-doc gfortran python-nose python-numpy-dbg python-numpy-doc
  subversion python-pytest-xdist python-pyparsing-doc python-mock
  python-cryptography python-openssl python-socks python-setuptools-doc
  python-ntlm python2-doc python2.7-doc binfmt-support python3-doc python3-tk
  python3-venv docutils-doc python3-lxml-dbg python3-nose python3-numpy-dbg
  python3-cryptography python3-openssl python3-socks python3.6-venv
  python3.6-doc sgml-base-doc
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl proj-bin shared-mime-info
  xdg-user-dirs javascript-common krb5-locales libpng-tools poppler-data
  publicsuffix uuid-runtime libmail-sendmail-perl libjs-jquery-isonscreen
  libjs-jquery-tablesorter libjs-jquery-throttle-debounce docutils-doc
  libpaper-utils python-pil python-pygments python-bs4 python-html5lib
  python-cryptography python-ipaddress python-openssl python3-pil
  python3-pygments python3-bs4 python3-html5lib
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils cython cython3
  debhelper default-libmysqlclient-dev dh-autoreconf dh-python
  dh-strip-nondeterminism docutils-common dwz file fontconfig-config
  fonts-dejavu-core gdal-bin gdal-data gettext gettext-base gir1.2-glib-2.0
  gir1.2-harfbuzz-0.0 groff-base hdf5-helpers icu-devtools intltool-debian
  libaec-dev libaec0 libarchive-zip-perl libarmadillo-dev libarmadillo8
  libarpack2 libarpack2-dev libblas-dev libblas3 libboost-dev libboost1.62-dev
  libbsd0 libcharls-dev libcharls1 libcroco3 libcurl3-gnutls
  libcurl4-gnutls-dev libdap-dev libdap25 libdapclient6v5 libdapserver7v5
  libelf1 libepsilon-dev libepsilon1 libexpat1-dev
  libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libfreexl-dev
  libfreexl1 libfyba-dev libfyba0 libgdal-dev libgdal20 libgeos-3.6.2
  libgeos-c1v5 libgeos-dev libgeotiff-dev libgeotiff2 libgfortran4 libgif-dev
  libgif7 libgirepository-1.0-1 libglib2.0-0 libglib2.0-bin libglib2.0-data
  libglib2.0-dev libglib2.0-dev-bin libgraphite2-3 libgraphite2-dev
  libgssapi-krb5-2 libharfbuzz-dev libharfbuzz-gobject0 libharfbuzz-icu0
  libharfbuzz0b libhdf4-0-alt libhdf4-alt-dev libhdf5-100 libhdf5-cpp-100
  libhdf5-dev libicu-dev libicu-le-hb-dev libicu-le-hb0 libicu60 libjbig-dev
  libjbig0 libjpeg-dev libjpeg62-turbo libjpeg62-turbo-dev libjs-jquery
  libjs-sphinxdoc libjs-underscore libjson-c-dev libk5crypto3 libkeyutils1
  libkml-dev libkmlbase1 libkmlconvenience1 libkmldom1 libkmlengine1
  libkmlregionator1 libkmlxsd1 libkrb5-3 libkrb5support0 liblapack-dev
  liblapack3 liblcms2-2 libltdl-dev libltdl7 liblzma-dev libmagic-mgc
  libmagic1 libmariadbclient-dev libmariadbclient-dev-compat
  libmariadbclient18 libminizip-dev libminizip1 libmpdec2 libnetcdf-dev
  libnetcdf13 libnghttp2-14 libnspr4 libnss3 libodbc1 libogdi3.2
  libogdi3.2-dev libopenjp2-7 libopenjp2-7-dev libpcre16-3 libpcre3-dev
  libpcre32-3 libpcrecpp0v5 libpipeline1 libpng-dev libpoppler-dev
  libpoppler-private-dev libpoppler74 libpopt0 libpq-dev libpq5 libproj-dev
  libproj13 libpsl5 libpython-all-dev libpython-dev libpython-stdlib
  libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev
  libpython2.7-minimal libpython2.7-stdlib libpython3-all-dev libpython3-dev
  libpython3-stdlib libpython3.6 libpython3.6-dev libpython3.6-minimal
  libpython3.6-stdlib libqhull-dev libqhull-r7 libqhull7 librtmp1 libsigsegv2
  libspatialite-dev libspatialite7 libsqlite3-dev libssh2-1 libsuperlu-dev
  libsuperlu5 libsz2 libtiff-dev libtiff5 libtiff5-dev libtiffxx5
  libtimedate-perl libtool liburiparser-dev liburiparser1 libwebp-dev libwebp6
  libwebpdemux2 libwebpmux3 libxerces-c-dev libxerces-c3.2 libxml2 libxml2-dev
  libxslt1.1 libzstd-dev m4 man-db mime-support mysql-common odbcinst
  odbcinst1debian2 pkg-config po-debconf proj-data python python-affine
  python-all python-all-dev python-atomicwrites python-attr python-boto3
  python-botocore python-certifi python-chardet python-click
  python-click-plugins python-cligj python-colorama python-concurrent.futures
  python-coverage python-dateutil python-dev python-docutils python-enum34
  python-funcsigs python-hypothesis python-idna python-jmespath python-lxml
  python-minimal python-more-itertools python-numpy python-packaging
  python-pkg-resources python-pluggy python-py python-pyparsing python-pytest
  python-requests python-roman python-s3transfer python-setuptools python-six
  python-snuggs python-urllib3 python2 python2-dev python2-minimal python2.7
  python2.7-dev python2.7-minimal python3 python3-affine python3-all
  python3-all-dev python3-atomicwrites python3-attr python3-boto3
  python3-botocore python3-certifi python3-chardet python3-click
  python3-click-plugins python3-cligj python3-colorama python3-coverage
  python3-dateutil python3-dev python3-distutils python3-docutils
  python3-hypothesis python3-idna python3-jmespath python3-lib2to3
  python3-lxml python3-minimal python3-more-itertools python3-numpy
  python3-packaging python3-pkg-resources python3-pluggy python3-py
  python3-pyparsing python3-pytest python3-requests python3-roman
  python3-s3transfer python3-setuptools python3-six python3-snuggs
  python3-urllib3 python3.6 python3.6-dev python3.6-minimal
  sbuild-build-depends-rasterio-dummy sgml-base ucf unixodbc-dev uuid-dev
  xml-core zlib1g-dev
The following packages will be upgraded:
  libpcre3 libpng16-16 libuuid1
3 upgraded, 302 newly installed, 0 to remove and 84 not upgraded.
Need to get 198 MB/206 MB of archives.
After this operation, 747 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-LxbBAk/apt_archive ./ sbuild-build-depends-rasterio-dummy 0.invalid.0 [1040 B]
Get:2 http://172.17.0.1/private buster-staging/main armhf libbsd0 armhf 0.9.1-1 [104 kB]
Get:3 http://172.17.0.1/private buster-staging/main armhf bsdmainutils armhf 11.1.2 [182 kB]
Get:4 http://172.17.0.1/private buster-staging/main armhf groff-base armhf 1.22.3-10 [1005 kB]
Get:5 http://172.17.0.1/private buster-staging/main armhf libpipeline1 armhf 1.5.0-1 [24.6 kB]
Get:6 http://172.17.0.1/private buster-staging/main armhf man-db armhf 2.8.3-2 [1146 kB]
Get:7 http://172.17.0.1/private buster-staging/main armhf libpython2.7-minimal armhf 2.7.15-3 [393 kB]
Get:8 http://172.17.0.1/private buster-staging/main armhf python2.7-minimal armhf 2.7.15-3 [1082 kB]
Get:9 http://172.17.0.1/private buster-staging/main armhf python2-minimal armhf 2.7.15-3 [41.3 kB]
Get:10 http://172.17.0.1/private buster-staging/main armhf python-minimal armhf 2.7.15-3 [20.9 kB]
Get:11 http://172.17.0.1/private buster-staging/main armhf mime-support all 3.61 [37.1 kB]
Get:12 http://172.17.0.1/private buster-staging/main armhf libpython2.7-stdlib armhf 2.7.15-3 [1843 kB]
Get:13 http://172.17.0.1/private buster-staging/main armhf python2.7 armhf 2.7.15-3 [298 kB]
Get:14 http://172.17.0.1/private buster-staging/main armhf libpython2-stdlib armhf 2.7.15-3 [20.7 kB]
Get:15 http://172.17.0.1/private buster-staging/main armhf libpython-stdlib armhf 2.7.15-3 [20.7 kB]
Get:16 http://172.17.0.1/private buster-staging/main armhf python2 armhf 2.7.15-3 [41.5 kB]
Get:17 http://172.17.0.1/private buster-staging/main armhf python armhf 2.7.15-3 [22.7 kB]
Get:18 http://172.17.0.1/private buster-staging/main armhf libpython3.6-minimal armhf 3.6.6-1 [565 kB]
Get:19 http://172.17.0.1/private buster-staging/main armhf python3.6-minimal armhf 3.6.6-1 [1383 kB]
Get:20 http://172.17.0.1/private buster-staging/main armhf python3-minimal armhf 3.6.5-3 [36.2 kB]
Get:21 http://172.17.0.1/private buster-staging/main armhf libmpdec2 armhf 2.4.2-2 [67.2 kB]
Get:22 http://172.17.0.1/private buster-staging/main armhf libpython3.6-stdlib armhf 3.6.6-1 [1638 kB]
Get:23 http://172.17.0.1/private buster-staging/main armhf python3.6 armhf 3.6.6-1 [234 kB]
Get:24 http://172.17.0.1/private buster-staging/main armhf libpython3-stdlib armhf 3.6.5-3 [19.7 kB]
Get:25 http://172.17.0.1/private buster-staging/main armhf python3 armhf 3.6.5-3 [24.1 kB]
Get:26 http://172.17.0.1/private buster-staging/main armhf sgml-base all 1.29 [14.8 kB]
Get:27 http://172.17.0.1/private buster-staging/main armhf libpcre3 armhf 2:8.39-10 [313 kB]
Get:28 http://172.17.0.1/private buster-staging/main armhf libuuid1 armhf 2.32-0.3 [76.6 kB]
Get:29 http://172.17.0.1/private buster-staging/main armhf libmagic-mgc armhf 1:5.33-3 [234 kB]
Get:30 http://172.17.0.1/private buster-staging/main armhf libmagic1 armhf 1:5.33-3 [106 kB]
Get:31 http://172.17.0.1/private buster-staging/main armhf file armhf 1:5.33-3 [64.7 kB]
Get:32 http://172.17.0.1/private buster-staging/main armhf gettext-base armhf 0.19.8.1-6 [117 kB]
Get:33 http://172.17.0.1/private buster-staging/main armhf libkeyutils1 armhf 1.5.9-9.3 [12.2 kB]
Get:34 http://172.17.0.1/private buster-staging/main armhf libsigsegv2 armhf 2.12-2 [32.3 kB]
Get:35 http://172.17.0.1/private buster-staging/main armhf m4 armhf 1.4.18-1 [185 kB]
Get:36 http://172.17.0.1/private buster-staging/main armhf autoconf all 2.69-11 [341 kB]
Get:37 http://172.17.0.1/private buster-staging/main armhf autotools-dev all 20180224.1 [77.0 kB]
Get:38 http://172.17.0.1/private buster-staging/main armhf automake all 1:1.15.1-3.1 [736 kB]
Get:39 http://172.17.0.1/private buster-staging/main armhf autopoint all 0.19.8.1-6 [434 kB]
Get:40 http://172.17.0.1/private buster-staging/main armhf cython armhf 0.28.4-1 [1947 kB]
Get:41 http://172.17.0.1/private buster-staging/main armhf cython3 armhf 0.28.4-1 [1998 kB]
Get:42 http://172.17.0.1/private buster-staging/main armhf libtool all 2.4.6-2.1 [547 kB]
Get:43 http://172.17.0.1/private buster-staging/main armhf dh-autoreconf all 19 [16.9 kB]
Get:44 http://172.17.0.1/private buster-staging/main armhf libarchive-zip-perl all 1.60-1 [95.6 kB]
Get:45 http://172.17.0.1/private buster-staging/main armhf libfile-stripnondeterminism-perl all 0.042-1 [20.1 kB]
Get:46 http://172.17.0.1/private buster-staging/main armhf libtimedate-perl all 2.3000-2 [42.2 kB]
Get:47 http://172.17.0.1/private buster-staging/main armhf dh-strip-nondeterminism all 0.042-1 [12.1 kB]
Get:48 http://172.17.0.1/private buster-staging/main armhf libelf1 armhf 0.170-0.5 [160 kB]
Get:49 http://172.17.0.1/private buster-staging/main armhf dwz armhf 0.12-2 [67.4 kB]
Get:50 http://172.17.0.1/private buster-staging/main armhf libglib2.0-0 armhf 2.56.1-2 [2754 kB]
Get:51 http://172.17.0.1/private buster-staging/main armhf libpng16-16 armhf 1.6.34-2+rpi1 [270 kB]
Get:52 http://172.17.0.1/private buster-staging/main armhf libharfbuzz0b armhf 1.8.4-1+rpi1 [836 kB]
Get:53 http://172.17.0.1/private buster-staging/main armhf libicu-le-hb0 armhf 1.0.3+git161113-5 [12.8 kB]
Get:54 http://172.17.0.1/private buster-staging/main armhf libicu60 armhf 60.2-6 [7789 kB]
Get:55 http://172.17.0.1/private buster-staging/main armhf libxml2 armhf 2.9.4+dfsg1-7 [602 kB]
Get:56 http://172.17.0.1/private buster-staging/main armhf gettext armhf 0.19.8.1-6 [1218 kB]
Get:57 http://172.17.0.1/private buster-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:58 http://172.17.0.1/private buster-staging/main armhf po-debconf all 1.0.20 [247 kB]
Get:59 http://172.17.0.1/private buster-staging/main armhf debhelper all 11.3.5 [981 kB]
Get:60 http://172.17.0.1/private buster-staging/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-1 [206 kB]
Get:61 http://172.17.0.1/private buster-staging/main armhf libmariadbclient-dev armhf 1:10.1.29-6+b1 [1528 kB]
Get:62 http://172.17.0.1/private buster-staging/main armhf libmariadbclient-dev-compat armhf 1:10.1.29-6+b1 [27.6 kB]
Get:63 http://172.17.0.1/private buster-staging/main armhf default-libmysqlclient-dev armhf 1.0.4 [3708 B]
Get:64 http://172.17.0.1/private buster-staging/main armhf python3-lib2to3 all 3.6.6-1 [79.1 kB]
Get:65 http://172.17.0.1/private buster-staging/main armhf python3-distutils all 3.6.6-1 [144 kB]
Get:66 http://172.17.0.1/private buster-staging/main armhf dh-python all 3.20180723 [94.2 kB]
Get:67 http://172.17.0.1/private buster-staging/main armhf xml-core all 0.18 [23.4 kB]
Get:68 http://172.17.0.1/private buster-staging/main armhf docutils-common all 0.14+dfsg-3 [204 kB]
Get:69 http://172.17.0.1/private buster-staging/main armhf fontconfig-config all 2.13.0-5 [280 kB]
Get:70 http://172.17.0.1/private buster-staging/main armhf gdal-data all 2.3.1+dfsg-1 [731 kB]
Get:71 http://172.17.0.1/private buster-staging/main armhf libgfortran4 armhf 7.3.0-19 [191 kB]
Get:72 http://172.17.0.1/private buster-staging/main armhf libblas3 armhf 3.8.0-1 [103 kB]
Get:73 http://172.17.0.1/private buster-staging/main armhf liblapack3 armhf 3.8.0-1 [1518 kB]
Get:74 http://172.17.0.1/private buster-staging/main armhf libarpack2 armhf 3.5.0+real-2+b2 [80.6 kB]
Get:75 http://172.17.0.1/private buster-staging/main armhf libarmadillo8 armhf 1:8.400.0+dfsg-3 [83.7 kB]
Get:76 http://172.17.0.1/private buster-staging/main armhf libnghttp2-14 armhf 1.32.0-1 [71.7 kB]
Get:77 http://172.17.0.1/private buster-staging/main armhf libpsl5 armhf 0.20.2-1 [52.5 kB]
Get:78 http://172.17.0.1/private buster-staging/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2 [54.0 kB]
Get:79 http://172.17.0.1/private buster-staging/main armhf libssh2-1 armhf 1.8.0-2 [125 kB]
Get:80 http://172.17.0.1/private buster-staging/main armhf libcurl3-gnutls armhf 7.60.0-2 [279 kB]
Get:81 http://172.17.0.1/private buster-staging/main armhf libpopt0 armhf 1.16-11 [45.9 kB]
Get:82 http://172.17.0.1/private buster-staging/main armhf libepsilon1 armhf 0.9.2+dfsg-3 [36.3 kB]
Get:83 http://172.17.0.1/private buster-staging/main armhf libfreexl1 armhf 1.0.5-2 [31.7 kB]
Get:84 http://172.17.0.1/private buster-staging/main armhf proj-data all 5.1.0-1 [7002 kB]
Get:85 http://172.17.0.1/private buster-staging/main armhf libproj13 armhf 5.1.0-1 [182 kB]
Get:86 http://172.17.0.1/private buster-staging/main armhf libtiff5 armhf 4.0.9-6 [225 kB]
Get:87 http://172.17.0.1/private buster-staging/main armhf libgeotiff2 armhf 1.4.2-3 [66.1 kB]
Get:88 http://172.17.0.1/private buster-staging/main armhf libgif7 armhf 5.1.4-3 [41.0 kB]
Get:89 http://172.17.0.1/private buster-staging/main armhf libhdf4-0-alt armhf 4.2.13-3 [235 kB]
Get:90 http://172.17.0.1/private buster-staging/main armhf libhdf5-100 armhf 1.10.0-patch1+docs-4+b2 [1216 kB]
Get:91 http://172.17.0.1/private buster-staging/main armhf liburiparser1 armhf 0.8.5-2 [34.8 kB]
Get:92 http://172.17.0.1/private buster-staging/main armhf libkmlbase1 armhf 1.3.0-6 [42.0 kB]
Get:93 http://172.17.0.1/private buster-staging/main armhf libkmldom1 armhf 1.3.0-6 [144 kB]
Get:94 http://172.17.0.1/private buster-staging/main armhf libkmlengine1 armhf 1.3.0-6 [67.6 kB]
Get:95 http://172.17.0.1/private buster-staging/main armhf libkmlconvenience1 armhf 1.3.0-6 [44.3 kB]
Get:96 http://172.17.0.1/private buster-staging/main armhf libkmlregionator1 armhf 1.3.0-6 [22.1 kB]
Get:97 http://172.17.0.1/private buster-staging/main armhf libkmlxsd1 armhf 1.3.0-6 [28.7 kB]
Get:98 http://172.17.0.1/private buster-staging/main armhf libnetcdf13 armhf 1:4.6.1-2 [344 kB]
Get:99 http://172.17.0.1/private buster-staging/main armhf libltdl7 armhf 2.4.6-2.1 [386 kB]
Get:100 http://172.17.0.1/private buster-staging/main armhf libodbc1 armhf 2.3.6-0.1 [186 kB]
Get:101 http://172.17.0.1/private buster-staging/main armhf libogdi3.2 armhf 3.2.1+ds-3 [194 kB]
Get:102 http://172.17.0.1/private buster-staging/main armhf libfontconfig1 armhf 2.13.0-5 [325 kB]
Get:103 http://172.17.0.1/private buster-staging/main armhf liblcms2-2 armhf 2.9-2 [117 kB]
Get:104 http://172.17.0.1/private buster-staging/main armhf libnspr4 armhf 2:4.19-3+rpi1 [90.0 kB]
Get:105 http://172.17.0.1/private buster-staging/main armhf libnss3 armhf 2:3.38-1 [935 kB]
Get:106 http://172.17.0.1/private buster-staging/main armhf libpoppler74 armhf 0.63.0-2 [1225 kB]
Get:107 http://172.17.0.1/private buster-staging/main armhf libpq5 armhf 10.4-2 [148 kB]
Get:108 http://172.17.0.1/private buster-staging/main armhf libxerces-c3.2 armhf 3.2.1+debian-2+b2 [710 kB]
Get:109 http://172.17.0.1/private buster-staging/main armhf odbcinst armhf 2.3.6-0.1 [47.6 kB]
Get:110 http://172.17.0.1/private buster-staging/main armhf odbcinst1debian2 armhf 2.3.6-0.1 [70.8 kB]
Get:111 http://172.17.0.1/private buster-staging/main armhf libgdal20 armhf 2.3.1+dfsg-1 [4860 kB]
Get:112 http://172.17.0.1/private buster-staging/main armhf gdal-bin armhf 2.3.1+dfsg-1 [388 kB]
Get:113 http://172.17.0.1/private buster-staging/main armhf libgirepository-1.0-1 armhf 1.56.1-1 [77.6 kB]
Get:114 http://172.17.0.1/private buster-staging/main armhf gir1.2-glib-2.0 armhf 1.56.1-1 [142 kB]
Get:115 http://172.17.0.1/private buster-staging/main armhf libharfbuzz-gobject0 armhf 1.8.4-1+rpi1 [631 kB]
Get:116 http://172.17.0.1/private buster-staging/main armhf gir1.2-harfbuzz-0.0 armhf 1.8.4-1+rpi1 [638 kB]
Get:117 http://172.17.0.1/private buster-staging/main armhf hdf5-helpers armhf 1.10.0-patch1+docs-4+b2 [36.4 kB]
Get:118 http://172.17.0.1/private buster-staging/main armhf icu-devtools armhf 60.2-6 [166 kB]
Get:119 http://172.17.0.1/private buster-staging/main armhf libaec-dev armhf 1.0.2-1 [19.1 kB]
Get:120 http://172.17.0.1/private buster-staging/main armhf libblas-dev armhf 3.8.0-1 [111 kB]
Get:121 http://172.17.0.1/private buster-staging/main armhf liblapack-dev armhf 3.8.0-1 [1577 kB]
Get:122 http://172.17.0.1/private buster-staging/main armhf libarpack2-dev armhf 3.5.0+real-2+b2 [87.0 kB]
Get:123 http://172.17.0.1/private buster-staging/main armhf libhdf5-cpp-100 armhf 1.10.0-patch1+docs-4+b2 [117 kB]
Get:124 http://172.17.0.1/private buster-staging/main armhf libhdf5-dev armhf 1.10.0-patch1+docs-4+b2 [2150 kB]
Get:125 http://172.17.0.1/private buster-staging/main armhf libsuperlu-dev armhf 5.2.1+dfsg1-3 [18.2 kB]
Get:126 http://172.17.0.1/private buster-staging/main armhf libarmadillo-dev armhf 1:8.400.0+dfsg-3 [344 kB]
Get:127 http://172.17.0.1/private buster-staging/main armhf libboost1.62-dev armhf 1.62.0+dfsg-8 [7003 kB]
Get:128 http://172.17.0.1/private buster-staging/main armhf libboost-dev armhf 1.62.0.1+b8 [3918 B]
Get:129 http://172.17.0.1/private buster-staging/main armhf libcharls-dev armhf 1.1.0+dfsg-2 [21.6 kB]
Get:130 http://172.17.0.1/private buster-staging/main armhf libcurl4-gnutls-dev armhf 7.60.0-2 [352 kB]
Get:131 http://172.17.0.1/private buster-staging/main armhf libharfbuzz-icu0 armhf 1.8.4-1+rpi1 [624 kB]
Get:132 http://172.17.0.1/private buster-staging/main armhf libglib2.0-data all 2.56.1-2 [2671 kB]
Get:133 http://172.17.0.1/private buster-staging/main armhf libglib2.0-bin armhf 2.56.1-2 [1694 kB]
Get:134 http://172.17.0.1/private buster-staging/main armhf libglib2.0-dev-bin armhf 2.56.1-2 [1733 kB]
Get:135 http://172.17.0.1/private buster-staging/main armhf libpcre16-3 armhf 2:8.39-10 [234 kB]
Get:136 http://172.17.0.1/private buster-staging/main armhf libpcre32-3 armhf 2:8.39-10 [226 kB]
Get:137 http://172.17.0.1/private buster-staging/main armhf libpcrecpp0v5 armhf 2:8.39-10 [150 kB]
Get:138 http://172.17.0.1/private buster-staging/main armhf libpcre3-dev armhf 2:8.39-10 [561 kB]
Get:139 http://172.17.0.1/private buster-staging/main armhf libglib2.0-dev armhf 2.56.1-2 [2807 kB]
Get:140 http://172.17.0.1/private buster-staging/main armhf libgraphite2-dev armhf 1.3.11-2 [22.2 kB]
Get:141 http://172.17.0.1/private buster-staging/main armhf libharfbuzz-dev armhf 1.8.4-1+rpi1 [924 kB]
Get:142 http://172.17.0.1/private buster-staging/main armhf libicu-le-hb-dev armhf 1.0.3+git161113-5 [28.3 kB]
Get:143 http://172.17.0.1/private buster-staging/main armhf libicu-dev armhf 60.2-6 [8643 kB]
Get:144 http://172.17.0.1/private buster-staging/main armhf libxml2-dev armhf 2.9.4+dfsg1-7 [672 kB]
Get:145 http://172.17.0.1/private buster-staging/main armhf uuid-dev armhf 2.32-0.3 [91.8 kB]
Get:146 http://172.17.0.1/private buster-staging/main armhf libdap-dev armhf 3.19.1-2 [760 kB]
Get:147 http://172.17.0.1/private buster-staging/main armhf libepsilon-dev armhf 0.9.2+dfsg-3 [46.2 kB]
Get:148 http://172.17.0.1/private buster-staging/main armhf libfreexl-dev armhf 1.0.5-2 [30.2 kB]
Get:149 http://172.17.0.1/private buster-staging/main armhf libfyba-dev armhf 4.1.1-3 [425 kB]
Get:150 http://172.17.0.1/private buster-staging/main armhf libgeos-dev armhf 3.6.2-1 [282 kB]
Get:151 http://172.17.0.1/private buster-staging/main armhf libtiffxx5 armhf 4.0.9-6 [100 kB]
Get:152 http://172.17.0.1/private buster-staging/main armhf libtiff5-dev armhf 4.0.9-6 [337 kB]
Get:153 http://172.17.0.1/private buster-staging/main armhf libtiff-dev armhf 4.0.9-6 [96.4 kB]
Get:154 http://172.17.0.1/private buster-staging/main armhf libgeotiff-dev armhf 1.4.2-3 [93.4 kB]
Get:155 http://172.17.0.1/private buster-staging/main armhf libgif-dev armhf 5.1.4-3 [43.4 kB]
Get:156 http://172.17.0.1/private buster-staging/main armhf libnetcdf-dev armhf 1:4.6.1-2 [80.6 kB]
Get:157 http://172.17.0.1/private buster-staging/main armhf libhdf4-alt-dev armhf 4.2.13-3 [310 kB]
Get:158 http://172.17.0.1/private buster-staging/main armhf libjson-c-dev armhf 0.12.1-1.3 [34.6 kB]
Get:159 http://172.17.0.1/private buster-staging/main armhf libminizip-dev armhf 1.1-8 [25.6 kB]
Get:160 http://172.17.0.1/private buster-staging/main armhf liburiparser-dev armhf 0.8.5-2 [18.0 kB]
Get:161 http://172.17.0.1/private buster-staging/main armhf libkml-dev armhf 1.3.0-6 [939 kB]
Get:162 http://172.17.0.1/private buster-staging/main armhf libltdl-dev armhf 2.4.6-2.1 [158 kB]
Get:163 http://172.17.0.1/private buster-staging/main armhf libproj-dev armhf 5.1.0-1 [225 kB]
Get:164 http://172.17.0.1/private buster-staging/main armhf libogdi3.2-dev armhf 3.2.1+ds-3 [38.1 kB]
Get:165 http://172.17.0.1/private buster-staging/main armhf libopenjp2-7-dev armhf 2.3.0-1 [43.7 kB]
Get:166 http://172.17.0.1/private buster-staging/main armhf libpng-dev armhf 1.6.34-2+rpi1 [275 kB]
Get:167 http://172.17.0.1/private buster-staging/main armhf libpoppler-dev armhf 0.63.0-2 [22.5 kB]
Get:168 http://172.17.0.1/private buster-staging/main armhf libpoppler-private-dev armhf 0.63.0-2 [187 kB]
Get:169 http://172.17.0.1/private buster-staging/main armhf libpq-dev armhf 10.4-2 [145 kB]
Get:170 http://172.17.0.1/private buster-staging/main armhf libqhull-r7 armhf 2015.2-4 [171 kB]
Get:171 http://172.17.0.1/private buster-staging/main armhf libqhull-dev armhf 2015.2-4 [346 kB]
Get:172 http://172.17.0.1/private buster-staging/main armhf libsqlite3-dev armhf 3.24.0-1 [655 kB]
Get:173 http://172.17.0.1/private buster-staging/main armhf libspatialite-dev armhf 4.3.0a-5+b2 [1460 kB]
Get:174 http://172.17.0.1/private buster-staging/main armhf libwebpdemux2 armhf 0.6.1-2 [86.7 kB]
Get:175 http://172.17.0.1/private buster-staging/main armhf libwebp-dev armhf 0.6.1-2 [304 kB]
Get:176 http://172.17.0.1/private buster-staging/main armhf libxerces-c-dev armhf 3.2.1+debian-2+b2 [1486 kB]
Get:177 http://172.17.0.1/private buster-staging/main armhf libzstd-dev armhf 1.3.4+dfsg-3+rpi1 [209 kB]
Get:178 http://172.17.0.1/private buster-staging/main armhf unixodbc-dev armhf 2.3.6-0.1 [232 kB]
Get:179 http://172.17.0.1/private buster-staging/main armhf libgdal-dev armhf 2.3.1+dfsg-1 [6228 kB]
Get:180 http://172.17.0.1/private buster-staging/main armhf libjs-underscore all 1.8.3~dfsg-1 [63.8 kB]
Get:181 http://172.17.0.1/private buster-staging/main armhf libjs-sphinxdoc all 1.7.6-1 [91.7 kB]
Get:182 http://172.17.0.1/private buster-staging/main armhf libpython2.7 armhf 2.7.15-3 [886 kB]
Get:183 http://172.17.0.1/private buster-staging/main armhf libpython2.7-dev armhf 2.7.15-3 [27.6 MB]
Get:184 http://172.17.0.1/private buster-staging/main armhf libpython2-dev armhf 2.7.15-3 [20.8 kB]
Get:185 http://172.17.0.1/private buster-staging/main armhf libpython-dev armhf 2.7.15-3 [20.8 kB]
Get:186 http://172.17.0.1/private buster-staging/main armhf libpython-all-dev armhf 2.7.15-3 [1064 B]
Get:187 http://172.17.0.1/private buster-staging/main armhf libpython3.6 armhf 3.6.6-1 [1185 kB]
Get:188 http://172.17.0.1/private buster-staging/main armhf libpython3.6-dev armhf 3.6.6-1 [43.7 MB]
Get:189 http://172.17.0.1/private buster-staging/main armhf libpython3-dev armhf 3.6.5-3 [19.7 kB]
Get:190 http://172.17.0.1/private buster-staging/main armhf libpython3-all-dev armhf 3.6.5-3 [1064 B]
Get:191 http://172.17.0.1/private buster-staging/main armhf libxslt1.1 armhf 1.1.32-2 [215 kB]
Get:192 http://172.17.0.1/private buster-staging/main armhf python-affine all 2.2.1-1 [14.3 kB]
Get:193 http://172.17.0.1/private buster-staging/main armhf python-all armhf 2.7.15-3 [1044 B]
Get:194 http://172.17.0.1/private buster-staging/main armhf python2.7-dev armhf 2.7.15-3 [289 kB]
Get:195 http://172.17.0.1/private buster-staging/main armhf python2-dev armhf 2.7.15-3 [1216 B]
Get:196 http://172.17.0.1/private buster-staging/main armhf python-dev armhf 2.7.15-3 [1192 B]
Get:197 http://172.17.0.1/private buster-staging/main armhf python-all-dev armhf 2.7.15-3 [1068 B]
Get:198 http://172.17.0.1/private buster-staging/main armhf python-atomicwrites all 1.1.5-2 [6808 B]
Get:199 http://172.17.0.1/private buster-staging/main armhf python-attr all 17.4.0-2 [23.8 kB]
Get:200 http://172.17.0.1/private buster-staging/main armhf python-six all 1.11.0-2 [15.1 kB]
Get:201 http://172.17.0.1/private buster-staging/main armhf python-dateutil all 2.6.1-1 [61.1 kB]
Get:202 http://172.17.0.1/private buster-staging/main armhf python-roman all 2.0.0-3 [8688 B]
Get:203 http://172.17.0.1/private buster-staging/main armhf python-docutils all 0.14+dfsg-3 [379 kB]
Get:204 http://172.17.0.1/private buster-staging/main armhf python-jmespath all 0.9.3-1 [20.9 kB]
Get:205 http://172.17.0.1/private buster-staging/main armhf python-certifi all 2018.4.16-1 [143 kB]
Get:206 http://172.17.0.1/private buster-staging/main armhf python-pkg-resources all 39.2.0-1 [171 kB]
Get:207 http://172.17.0.1/private buster-staging/main armhf python-chardet all 3.0.4-1 [80.2 kB]
Get:208 http://172.17.0.1/private buster-staging/main armhf python-idna all 2.6-1 [34.1 kB]
Get:209 http://172.17.0.1/private buster-staging/main armhf python-urllib3 all 1.22-1 [97.7 kB]
Get:210 http://172.17.0.1/private buster-staging/main armhf python-requests all 2.18.4-2 [77.3 kB]
Get:211 http://172.17.0.1/private buster-staging/main armhf python-botocore all 1.10.55+repack-1 [1910 kB]
Get:212 http://172.17.0.1/private buster-staging/main armhf python-concurrent.futures all 3.2.0-1 [36.2 kB]
Get:213 http://172.17.0.1/private buster-staging/main armhf python-s3transfer all 0.1.13-1 [40.8 kB]
Get:214 http://172.17.0.1/private buster-staging/main armhf python-boto3 all 1.4.2-1 [65.5 kB]
Get:215 http://172.17.0.1/private buster-staging/main armhf python-colorama all 0.3.7-1 [25.7 kB]
Get:216 http://172.17.0.1/private buster-staging/main armhf python-click all 6.7-5 [61.6 kB]
Get:217 http://172.17.0.1/private buster-staging/main armhf python-click-plugins all 1.0.2-2 [9472 B]
Get:218 http://172.17.0.1/private buster-staging/main armhf python-cligj all 0.4.0-2 [9572 B]
Get:219 http://172.17.0.1/private buster-staging/main armhf python-coverage armhf 4.5.1+dfsg.1-1 [141 kB]
Get:220 http://172.17.0.1/private buster-staging/main armhf python-enum34 all 1.1.6-2 [35.3 kB]
Get:221 http://172.17.0.1/private buster-staging/main armhf python-funcsigs all 1.0.2-4 [13.7 kB]
Get:222 http://172.17.0.1/private buster-staging/main armhf python-hypothesis all 3.44.1-2 [162 kB]
Get:223 http://172.17.0.1/private buster-staging/main armhf python-lxml armhf 4.2.3-1 [1155 kB]
Get:224 http://172.17.0.1/private buster-staging/main armhf python-more-itertools all 4.2.0-1 [42.3 kB]
Get:225 http://172.17.0.1/private buster-staging/main armhf python-numpy armhf 1:1.14.5-1 [1782 kB]
Get:226 http://172.17.0.1/private buster-staging/main armhf python-pyparsing all 2.2.0+dfsg1-2 [89.5 kB]
Get:227 http://172.17.0.1/private buster-staging/main armhf python-packaging all 17.1-1 [18.2 kB]
Get:228 http://172.17.0.1/private buster-staging/main armhf python-pluggy all 0.6.0-1 [12.2 kB]
Get:229 http://172.17.0.1/private buster-staging/main armhf python-py all 1.5.4-1 [85.8 kB]
Get:230 http://172.17.0.1/private buster-staging/main armhf python-pytest all 3.6.4-1 [221 kB]
Get:231 http://172.17.0.1/private buster-staging/main armhf python-setuptools all 39.2.0-1 [375 kB]
Get:232 http://172.17.0.1/private buster-staging/main armhf python-snuggs all 1.4.2-1 [6912 B]
Get:233 http://172.17.0.1/private buster-staging/main armhf python3-affine all 2.2.1-1 [14.4 kB]
Get:234 http://172.17.0.1/private buster-staging/main armhf python3-all armhf 3.6.5-3 [1064 B]
Get:235 http://172.17.0.1/private buster-staging/main armhf python3.6-dev armhf 3.6.6-1 [508 kB]
Get:236 http://172.17.0.1/private buster-staging/main armhf python3-dev armhf 3.6.5-3 [1268 B]
Get:237 http://172.17.0.1/private buster-staging/main armhf python3-all-dev armhf 3.6.5-3 [1064 B]
Get:238 http://172.17.0.1/private buster-staging/main armhf python3-atomicwrites all 1.1.5-2 [6892 B]
Get:239 http://172.17.0.1/private buster-staging/main armhf python3-attr all 17.4.0-2 [23.8 kB]
Get:240 http://172.17.0.1/private buster-staging/main armhf python3-six all 1.11.0-2 [15.2 kB]
Get:241 http://172.17.0.1/private buster-staging/main armhf python3-dateutil all 2.6.1-1 [52.8 kB]
Get:242 http://172.17.0.1/private buster-staging/main armhf python3-roman all 2.0.0-3 [8768 B]
Get:243 http://172.17.0.1/private buster-staging/main armhf python3-docutils all 0.14+dfsg-3 [377 kB]
Get:244 http://172.17.0.1/private buster-staging/main armhf python3-jmespath all 0.9.3-1 [18.3 kB]
Get:245 http://172.17.0.1/private buster-staging/main armhf python3-certifi all 2018.4.16-1 [143 kB]
Get:246 http://172.17.0.1/private buster-staging/main armhf python3-pkg-resources all 39.2.0-1 [142 kB]
Get:247 http://172.17.0.1/private buster-staging/main armhf python3-chardet all 3.0.4-1 [80.2 kB]
Get:248 http://172.17.0.1/private buster-staging/main armhf python3-idna all 2.6-1 [34.3 kB]
Get:249 http://172.17.0.1/private buster-staging/main armhf python3-urllib3 all 1.22-1 [97.9 kB]
Get:250 http://172.17.0.1/private buster-staging/main armhf python3-requests all 2.18.4-2 [77.1 kB]
Get:251 http://172.17.0.1/private buster-staging/main armhf python3-botocore all 1.10.55+repack-1 [1909 kB]
Get:252 http://172.17.0.1/private buster-staging/main armhf python3-s3transfer all 0.1.13-1 [40.9 kB]
Get:253 http://172.17.0.1/private buster-staging/main armhf python3-boto3 all 1.4.2-1 [65.4 kB]
Get:254 http://172.17.0.1/private buster-staging/main armhf python3-colorama all 0.3.7-1 [18.1 kB]
Get:255 http://172.17.0.1/private buster-staging/main armhf python3-click all 6.7-5 [61.6 kB]
Get:256 http://172.17.0.1/private buster-staging/main armhf python3-click-plugins all 1.0.2-2 [7208 B]
Get:257 http://172.17.0.1/private buster-staging/main armhf python3-cligj all 0.4.0-2 [9644 B]
Get:258 http://172.17.0.1/private buster-staging/main armhf python3-coverage armhf 4.5.1+dfsg.1-1 [141 kB]
Get:259 http://172.17.0.1/private buster-staging/main armhf python3-hypothesis all 3.44.1-2 [162 kB]
Get:260 http://172.17.0.1/private buster-staging/main armhf python3-lxml armhf 4.2.3-1 [1155 kB]
Get:261 http://172.17.0.1/private buster-staging/main armhf python3-more-itertools all 4.2.0-1 [42.2 kB]
Get:262 http://172.17.0.1/private buster-staging/main armhf python3-numpy armhf 1:1.14.5-1 [1789 kB]
Get:263 http://172.17.0.1/private buster-staging/main armhf python3-pyparsing all 2.2.0+dfsg1-2 [89.6 kB]
Get:264 http://172.17.0.1/private buster-staging/main armhf python3-packaging all 17.1-1 [18.3 kB]
Get:265 http://172.17.0.1/private buster-staging/main armhf python3-pluggy all 0.6.0-1 [12.2 kB]
Get:266 http://172.17.0.1/private buster-staging/main armhf python3-py all 1.5.4-1 [85.9 kB]
Get:267 http://172.17.0.1/private buster-staging/main armhf python3-pytest all 3.6.4-1 [221 kB]
Get:268 http://172.17.0.1/private buster-staging/main armhf python3-setuptools all 39.2.0-1 [292 kB]
Get:269 http://172.17.0.1/private buster-staging/main armhf python3-snuggs all 1.4.2-1 [6992 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 198 MB in 49s (4051 kB/s)
Selecting previously unselected package libbsd0:armhf.
(Reading database ... 14003 files and directories currently installed.)
Preparing to unpack .../00-libbsd0_0.9.1-1_armhf.deb ...
Unpacking libbsd0:armhf (0.9.1-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../01-bsdmainutils_11.1.2_armhf.deb ...
Unpacking bsdmainutils (11.1.2) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.3-10_armhf.deb ...
Unpacking groff-base (1.22.3-10) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.5.0-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.0-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.8.3-2_armhf.deb ...
Unpacking man-db (2.8.3-2) ...
Selecting previously unselected package libpython2.7-minimal:armhf.
Preparing to unpack .../05-libpython2.7-minimal_2.7.15-3_armhf.deb ...
Unpacking libpython2.7-minimal:armhf (2.7.15-3) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../06-python2.7-minimal_2.7.15-3_armhf.deb ...
Unpacking python2.7-minimal (2.7.15-3) ...
Selecting previously unselected package python2-minimal.
Preparing to unpack .../07-python2-minimal_2.7.15-3_armhf.deb ...
Unpacking python2-minimal (2.7.15-3) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../08-python-minimal_2.7.15-3_armhf.deb ...
Unpacking python-minimal (2.7.15-3) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../09-mime-support_3.61_all.deb ...
Unpacking mime-support (3.61) ...
Selecting previously unselected package libpython2.7-stdlib:armhf.
Preparing to unpack .../10-libpython2.7-stdlib_2.7.15-3_armhf.deb ...
Unpacking libpython2.7-stdlib:armhf (2.7.15-3) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../11-python2.7_2.7.15-3_armhf.deb ...
Unpacking python2.7 (2.7.15-3) ...
Selecting previously unselected package libpython2-stdlib:armhf.
Preparing to unpack .../12-libpython2-stdlib_2.7.15-3_armhf.deb ...
Unpacking libpython2-stdlib:armhf (2.7.15-3) ...
Selecting previously unselected package libpython-stdlib:armhf.
Preparing to unpack .../13-libpython-stdlib_2.7.15-3_armhf.deb ...
Unpacking libpython-stdlib:armhf (2.7.15-3) ...
Setting up libpython2.7-minimal:armhf (2.7.15-3) ...
Setting up python2.7-minimal (2.7.15-3) ...
Setting up python2-minimal (2.7.15-3) ...
Selecting previously unselected package python2.
(Reading database ... 15395 files and directories currently installed.)
Preparing to unpack .../python2_2.7.15-3_armhf.deb ...
Unpacking python2 (2.7.15-3) ...
Setting up python-minimal (2.7.15-3) ...
Selecting previously unselected package python.
(Reading database ... 15428 files and directories currently installed.)
Preparing to unpack .../0-python_2.7.15-3_armhf.deb ...
Unpacking python (2.7.15-3) ...
Selecting previously unselected package libpython3.6-minimal:armhf.
Preparing to unpack .../1-libpython3.6-minimal_3.6.6-1_armhf.deb ...
Unpacking libpython3.6-minimal:armhf (3.6.6-1) ...
Selecting previously unselected package python3.6-minimal.
Preparing to unpack .../2-python3.6-minimal_3.6.6-1_armhf.deb ...
Unpacking python3.6-minimal (3.6.6-1) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../3-python3-minimal_3.6.5-3_armhf.deb ...
Unpacking python3-minimal (3.6.5-3) ...
Selecting previously unselected package libmpdec2:armhf.
Preparing to unpack .../4-libmpdec2_2.4.2-2_armhf.deb ...
Unpacking libmpdec2:armhf (2.4.2-2) ...
Selecting previously unselected package libpython3.6-stdlib:armhf.
Preparing to unpack .../5-libpython3.6-stdlib_3.6.6-1_armhf.deb ...
Unpacking libpython3.6-stdlib:armhf (3.6.6-1) ...
Selecting previously unselected package python3.6.
Preparing to unpack .../6-python3.6_3.6.6-1_armhf.deb ...
Unpacking python3.6 (3.6.6-1) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../7-libpython3-stdlib_3.6.5-3_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.6.5-3) ...
Setting up libpython3.6-minimal:armhf (3.6.6-1) ...
Setting up python3.6-minimal (3.6.6-1) ...
Setting up python3-minimal (3.6.5-3) ...
Selecting previously unselected package python3.
(Reading database ... 16080 files and directories currently installed.)
Preparing to unpack .../python3_3.6.5-3_armhf.deb ...
Unpacking python3 (3.6.5-3) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../sgml-base_1.29_all.deb ...
Unpacking sgml-base (1.29) ...
Preparing to unpack .../libpcre3_2%3a8.39-10_armhf.deb ...
Unpacking libpcre3:armhf (2:8.39-10) over (2:8.39-9) ...
Setting up libpcre3:armhf (2:8.39-10) ...
(Reading database ... 16125 files and directories currently installed.)
Preparing to unpack .../libuuid1_2.32-0.3_armhf.deb ...
Unpacking libuuid1:armhf (2.32-0.3) over (2.32-0.1) ...
Setting up libuuid1:armhf (2.32-0.3) ...
Selecting previously unselected package libmagic-mgc.
(Reading database ... 16125 files and directories currently installed.)
Preparing to unpack .../000-libmagic-mgc_1%3a5.33-3_armhf.deb ...
Unpacking libmagic-mgc (1:5.33-3) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../001-libmagic1_1%3a5.33-3_armhf.deb ...
Unpacking libmagic1:armhf (1:5.33-3) ...
Selecting previously unselected package file.
Preparing to unpack .../002-file_1%3a5.33-3_armhf.deb ...
Unpacking file (1:5.33-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../003-gettext-base_0.19.8.1-6_armhf.deb ...
Unpacking gettext-base (0.19.8.1-6) ...
Selecting previously unselected package libkeyutils1:armhf.
Preparing to unpack .../004-libkeyutils1_1.5.9-9.3_armhf.deb ...
Unpacking libkeyutils1:armhf (1.5.9-9.3) ...
Selecting previously unselected package ucf.
Preparing to unpack .../005-ucf_3.0038_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0038) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../006-libsigsegv2_2.12-2_armhf.deb ...
Unpacking libsigsegv2:armhf (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../007-m4_1.4.18-1_armhf.deb ...
Unpacking m4 (1.4.18-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../008-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../009-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../010-automake_1%3a1.15.1-3.1_all.deb ...
Unpacking automake (1:1.15.1-3.1) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../011-autopoint_0.19.8.1-6_all.deb ...
Unpacking autopoint (0.19.8.1-6) ...
Selecting previously unselected package cython.
Preparing to unpack .../012-cython_0.28.4-1_armhf.deb ...
Unpacking cython (0.28.4-1) ...
Selecting previously unselected package cython3.
Preparing to unpack .../013-cython3_0.28.4-1_armhf.deb ...
Unpacking cython3 (0.28.4-1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../014-libtool_2.4.6-2.1_all.deb ...
Unpacking libtool (2.4.6-2.1) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../015-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../016-libarchive-zip-perl_1.60-1_all.deb ...
Unpacking libarchive-zip-perl (1.60-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../017-libfile-stripnondeterminism-perl_0.042-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.042-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../018-libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../019-dh-strip-nondeterminism_0.042-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.042-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../020-libelf1_0.170-0.5_armhf.deb ...
Unpacking libelf1:armhf (0.170-0.5) ...
Selecting previously unselected package dwz.
Preparing to unpack .../021-dwz_0.12-2_armhf.deb ...
Unpacking dwz (0.12-2) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../022-libglib2.0-0_2.56.1-2_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.56.1-2) ...
Preparing to unpack .../023-libpng16-16_1.6.34-2+rpi1_armhf.deb ...
Unpacking libpng16-16:armhf (1.6.34-2+rpi1) over (1.6.34-1) ...
Selecting previously unselected package libfreetype6:armhf.
Preparing to unpack .../024-libfreetype6_2.8.1-2_armhf.deb ...
Unpacking libfreetype6:armhf (2.8.1-2) ...
Selecting previously unselected package libgraphite2-3:armhf.
Preparing to unpack .../025-libgraphite2-3_1.3.11-2_armhf.deb ...
Unpacking libgraphite2-3:armhf (1.3.11-2) ...
Selecting previously unselected package libharfbuzz0b:armhf.
Preparing to unpack .../026-libharfbuzz0b_1.8.4-1+rpi1_armhf.deb ...
Unpacking libharfbuzz0b:armhf (1.8.4-1+rpi1) ...
Selecting previously unselected package libicu-le-hb0:armhf.
Preparing to unpack .../027-libicu-le-hb0_1.0.3+git161113-5_armhf.deb ...
Unpacking libicu-le-hb0:armhf (1.0.3+git161113-5) ...
Selecting previously unselected package libicu60:armhf.
Preparing to unpack .../028-libicu60_60.2-6_armhf.deb ...
Unpacking libicu60:armhf (60.2-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../029-libxml2_2.9.4+dfsg1-7_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-7) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../030-libcroco3_0.6.12-2_armhf.deb ...
Unpacking libcroco3:armhf (0.6.12-2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../031-gettext_0.19.8.1-6_armhf.deb ...
Unpacking gettext (0.19.8.1-6) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../032-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../033-po-debconf_1.0.20_all.deb ...
Unpacking po-debconf (1.0.20) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../034-debhelper_11.3.5_all.deb ...
Unpacking debhelper (11.3.5) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../035-mysql-common_5.8+1.0.4_all.deb ...
Unpacking mysql-common (5.8+1.0.4) ...
Selecting previously unselected package libmariadbclient18:armhf.
Preparing to unpack .../036-libmariadbclient18_1%3a10.1.29-6+b1_armhf.deb ...
Unpacking libmariadbclient18:armhf (1:10.1.29-6+b1) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../037-zlib1g-dev_1%3a1.2.11.dfsg-1_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-1) ...
Selecting previously unselected package libmariadbclient-dev.
Preparing to unpack .../038-libmariadbclient-dev_1%3a10.1.29-6+b1_armhf.deb ...
Unpacking libmariadbclient-dev (1:10.1.29-6+b1) ...
Selecting previously unselected package libmariadbclient-dev-compat:armhf.
Preparing to unpack .../039-libmariadbclient-dev-compat_1%3a10.1.29-6+b1_armhf.deb ...
Unpacking libmariadbclient-dev-compat:armhf (1:10.1.29-6+b1) ...
Selecting previously unselected package default-libmysqlclient-dev:armhf.
Preparing to unpack .../040-default-libmysqlclient-dev_1.0.4_armhf.deb ...
Unpacking default-libmysqlclient-dev:armhf (1.0.4) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../041-python3-lib2to3_3.6.6-1_all.deb ...
Unpacking python3-lib2to3 (3.6.6-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../042-python3-distutils_3.6.6-1_all.deb ...
Unpacking python3-distutils (3.6.6-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../043-dh-python_3.20180723_all.deb ...
Unpacking dh-python (3.20180723) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../044-xml-core_0.18_all.deb ...
Unpacking xml-core (0.18) ...
Selecting previously unselected package docutils-common.
Preparing to unpack .../045-docutils-common_0.14+dfsg-3_all.deb ...
Unpacking docutils-common (0.14+dfsg-3) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../046-fonts-dejavu-core_2.37-1_all.deb ...
Unpacking fonts-dejavu-core (2.37-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../047-fontconfig-config_2.13.0-5_all.deb ...
Unpacking fontconfig-config (2.13.0-5) ...
Selecting previously unselected package gdal-data.
Preparing to unpack .../048-gdal-data_2.3.1+dfsg-1_all.deb ...
Unpacking gdal-data (2.3.1+dfsg-1) ...
Selecting previously unselected package libgfortran4:armhf.
Preparing to unpack .../049-libgfortran4_7.3.0-19_armhf.deb ...
Unpacking libgfortran4:armhf (7.3.0-19) ...
Selecting previously unselected package libblas3:armhf.
Preparing to unpack .../050-libblas3_3.8.0-1_armhf.deb ...
Unpacking libblas3:armhf (3.8.0-1) ...
Selecting previously unselected package liblapack3:armhf.
Preparing to unpack .../051-liblapack3_3.8.0-1_armhf.deb ...
Unpacking liblapack3:armhf (3.8.0-1) ...
Selecting previously unselected package libarpack2:armhf.
Preparing to unpack .../052-libarpack2_3.5.0+real-2+b2_armhf.deb ...
Unpacking libarpack2:armhf (3.5.0+real-2+b2) ...
Selecting previously unselected package libsuperlu5:armhf.
Preparing to unpack .../053-libsuperlu5_5.2.1+dfsg1-3_armhf.deb ...
Unpacking libsuperlu5:armhf (5.2.1+dfsg1-3) ...
Selecting previously unselected package libarmadillo8.
Preparing to unpack .../054-libarmadillo8_1%3a8.400.0+dfsg-3_armhf.deb ...
Unpacking libarmadillo8 (1:8.400.0+dfsg-3) ...
Selecting previously unselected package libcharls1:armhf.
Preparing to unpack .../055-libcharls1_1.1.0+dfsg-2_armhf.deb ...
Unpacking libcharls1:armhf (1.1.0+dfsg-2) ...
Selecting previously unselected package libkrb5support0:armhf.
Preparing to unpack .../056-libkrb5support0_1.16-2_armhf.deb ...
Unpacking libkrb5support0:armhf (1.16-2) ...
Selecting previously unselected package libk5crypto3:armhf.
Preparing to unpack .../057-libk5crypto3_1.16-2_armhf.deb ...
Unpacking libk5crypto3:armhf (1.16-2) ...
Selecting previously unselected package libkrb5-3:armhf.
Preparing to unpack .../058-libkrb5-3_1.16-2_armhf.deb ...
Unpacking libkrb5-3:armhf (1.16-2) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Preparing to unpack .../059-libgssapi-krb5-2_1.16-2_armhf.deb ...
Unpacking libgssapi-krb5-2:armhf (1.16-2) ...
Selecting previously unselected package libnghttp2-14:armhf.
Preparing to unpack .../060-libnghttp2-14_1.32.0-1_armhf.deb ...
Unpacking libnghttp2-14:armhf (1.32.0-1) ...
Selecting previously unselected package libpsl5:armhf.
Preparing to unpack .../061-libpsl5_0.20.2-1_armhf.deb ...
Unpacking libpsl5:armhf (0.20.2-1) ...
Selecting previously unselected package librtmp1:armhf.
Preparing to unpack .../062-librtmp1_2.4+20151223.gitfa8646d.1-2_armhf.deb ...
Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2) ...
Selecting previously unselected package libssh2-1:armhf.
Preparing to unpack .../063-libssh2-1_1.8.0-2_armhf.deb ...
Unpacking libssh2-1:armhf (1.8.0-2) ...
Selecting previously unselected package libcurl3-gnutls:armhf.
Preparing to unpack .../064-libcurl3-gnutls_7.60.0-2_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.60.0-2) ...
Selecting previously unselected package libdap25:armhf.
Preparing to unpack .../065-libdap25_3.19.1-2_armhf.deb ...
Unpacking libdap25:armhf (3.19.1-2) ...
Selecting previously unselected package libdapclient6v5:armhf.
Preparing to unpack .../066-libdapclient6v5_3.19.1-2_armhf.deb ...
Unpacking libdapclient6v5:armhf (3.19.1-2) ...
Selecting previously unselected package libdapserver7v5:armhf.
Preparing to unpack .../067-libdapserver7v5_3.19.1-2_armhf.deb ...
Unpacking libdapserver7v5:armhf (3.19.1-2) ...
Selecting previously unselected package libpopt0:armhf.
Preparing to unpack .../068-libpopt0_1.16-11_armhf.deb ...
Unpacking libpopt0:armhf (1.16-11) ...
Selecting previously unselected package libepsilon1:armhf.
Preparing to unpack .../069-libepsilon1_0.9.2+dfsg-3_armhf.deb ...
Unpacking libepsilon1:armhf (0.9.2+dfsg-3) ...
Selecting previously unselected package libfreexl1:armhf.
Preparing to unpack .../070-libfreexl1_1.0.5-2_armhf.deb ...
Unpacking libfreexl1:armhf (1.0.5-2) ...
Selecting previously unselected package libfyba0:armhf.
Preparing to unpack .../071-libfyba0_4.1.1-3_armhf.deb ...
Unpacking libfyba0:armhf (4.1.1-3) ...
Selecting previously unselected package libgeos-3.6.2:armhf.
Preparing to unpack .../072-libgeos-3.6.2_3.6.2-1_armhf.deb ...
Unpacking libgeos-3.6.2:armhf (3.6.2-1) ...
Selecting previously unselected package libgeos-c1v5:armhf.
Preparing to unpack .../073-libgeos-c1v5_3.6.2-1_armhf.deb ...
Unpacking libgeos-c1v5:armhf (3.6.2-1) ...
Selecting previously unselected package proj-data.
Preparing to unpack .../074-proj-data_5.1.0-1_all.deb ...
Unpacking proj-data (5.1.0-1) ...
Selecting previously unselected package libproj13:armhf.
Preparing to unpack .../075-libproj13_5.1.0-1_armhf.deb ...
Unpacking libproj13:armhf (5.1.0-1) ...
Selecting previously unselected package libjbig0:armhf.
Preparing to unpack .../076-libjbig0_2.1-3.1+b2_armhf.deb ...
Unpacking libjbig0:armhf (2.1-3.1+b2) ...
Selecting previously unselected package libjpeg62-turbo:armhf.
Preparing to unpack .../077-libjpeg62-turbo_1%3a1.5.2-2+b1_armhf.deb ...
Unpacking libjpeg62-turbo:armhf (1:1.5.2-2+b1) ...
Selecting previously unselected package libtiff5:armhf.
Preparing to unpack .../078-libtiff5_4.0.9-6_armhf.deb ...
Unpacking libtiff5:armhf (4.0.9-6) ...
Selecting previously unselected package libgeotiff2:armhf.
Preparing to unpack .../079-libgeotiff2_1.4.2-3_armhf.deb ...
Unpacking libgeotiff2:armhf (1.4.2-3) ...
Selecting previously unselected package libgif7:armhf.
Preparing to unpack .../080-libgif7_5.1.4-3_armhf.deb ...
Unpacking libgif7:armhf (5.1.4-3) ...
Selecting previously unselected package libhdf4-0-alt.
Preparing to unpack .../081-libhdf4-0-alt_4.2.13-3_armhf.deb ...
Unpacking libhdf4-0-alt (4.2.13-3) ...
Selecting previously unselected package libaec0:armhf.
Preparing to unpack .../082-libaec0_1.0.2-1_armhf.deb ...
Unpacking libaec0:armhf (1.0.2-1) ...
Selecting previously unselected package libsz2:armhf.
Preparing to unpack .../083-libsz2_1.0.2-1_armhf.deb ...
Unpacking libsz2:armhf (1.0.2-1) ...
Selecting previously unselected package libhdf5-100:armhf.
Preparing to unpack .../084-libhdf5-100_1.10.0-patch1+docs-4+b2_armhf.deb ...
Unpacking libhdf5-100:armhf (1.10.0-patch1+docs-4+b2) ...
Selecting previously unselected package libminizip1:armhf.
Preparing to unpack .../085-libminizip1_1.1-8_armhf.deb ...
Unpacking libminizip1:armhf (1.1-8) ...
Selecting previously unselected package liburiparser1:armhf.
Preparing to unpack .../086-liburiparser1_0.8.5-2_armhf.deb ...
Unpacking liburiparser1:armhf (0.8.5-2) ...
Selecting previously unselected package libkmlbase1:armhf.
Preparing to unpack .../087-libkmlbase1_1.3.0-6_armhf.deb ...
Unpacking libkmlbase1:armhf (1.3.0-6) ...
Selecting previously unselected package libkmldom1:armhf.
Preparing to unpack .../088-libkmldom1_1.3.0-6_armhf.deb ...
Unpacking libkmldom1:armhf (1.3.0-6) ...
Selecting previously unselected package libkmlengine1:armhf.
Preparing to unpack .../089-libkmlengine1_1.3.0-6_armhf.deb ...
Unpacking libkmlengine1:armhf (1.3.0-6) ...
Selecting previously unselected package libkmlconvenience1:armhf.
Preparing to unpack .../090-libkmlconvenience1_1.3.0-6_armhf.deb ...
Unpacking libkmlconvenience1:armhf (1.3.0-6) ...
Selecting previously unselected package libkmlregionator1:armhf.
Preparing to unpack .../091-libkmlregionator1_1.3.0-6_armhf.deb ...
Unpacking libkmlregionator1:armhf (1.3.0-6) ...
Selecting previously unselected package libkmlxsd1:armhf.
Preparing to unpack .../092-libkmlxsd1_1.3.0-6_armhf.deb ...
Unpacking libkmlxsd1:armhf (1.3.0-6) ...
Selecting previously unselected package libnetcdf13:armhf.
Preparing to unpack .../093-libnetcdf13_1%3a4.6.1-2_armhf.deb ...
Unpacking libnetcdf13:armhf (1:4.6.1-2) ...
Selecting previously unselected package libltdl7:armhf.
Preparing to unpack .../094-libltdl7_2.4.6-2.1_armhf.deb ...
Unpacking libltdl7:armhf (2.4.6-2.1) ...
Selecting previously unselected package libodbc1:armhf.
Preparing to unpack .../095-libodbc1_2.3.6-0.1_armhf.deb ...
Unpacking libodbc1:armhf (2.3.6-0.1) ...
Selecting previously unselected package libogdi3.2.
Preparing to unpack .../096-libogdi3.2_3.2.1+ds-3_armhf.deb ...
Unpacking libogdi3.2 (3.2.1+ds-3) ...
Selecting previously unselected package libopenjp2-7:armhf.
Preparing to unpack .../097-libopenjp2-7_2.3.0-1_armhf.deb ...
Unpacking libopenjp2-7:armhf (2.3.0-1) ...
Selecting previously unselected package libfontconfig1:armhf.
Preparing to unpack .../098-libfontconfig1_2.13.0-5_armhf.deb ...
Unpacking libfontconfig1:armhf (2.13.0-5) ...
Selecting previously unselected package liblcms2-2:armhf.
Preparing to unpack .../099-liblcms2-2_2.9-2_armhf.deb ...
Unpacking liblcms2-2:armhf (2.9-2) ...
Selecting previously unselected package libnspr4:armhf.
Preparing to unpack .../100-libnspr4_2%3a4.19-3+rpi1_armhf.deb ...
Unpacking libnspr4:armhf (2:4.19-3+rpi1) ...
Selecting previously unselected package libnss3:armhf.
Preparing to unpack .../101-libnss3_2%3a3.38-1_armhf.deb ...
Unpacking libnss3:armhf (2:3.38-1) ...
Selecting previously unselected package libpoppler74:armhf.
Preparing to unpack .../102-libpoppler74_0.63.0-2_armhf.deb ...
Unpacking libpoppler74:armhf (0.63.0-2) ...
Selecting previously unselected package libpq5:armhf.
Preparing to unpack .../103-libpq5_10.4-2_armhf.deb ...
Unpacking libpq5:armhf (10.4-2) ...
Selecting previously unselected package libqhull7:armhf.
Preparing to unpack .../104-libqhull7_2015.2-4_armhf.deb ...
Unpacking libqhull7:armhf (2015.2-4) ...
Selecting previously unselected package libspatialite7:armhf.
Preparing to unpack .../105-libspatialite7_4.3.0a-5+b2_armhf.deb ...
Unpacking libspatialite7:armhf (4.3.0a-5+b2) ...
Selecting previously unselected package libwebp6:armhf.
Preparing to unpack .../106-libwebp6_0.6.1-2_armhf.deb ...
Unpacking libwebp6:armhf (0.6.1-2) ...
Selecting previously unselected package libxerces-c3.2:armhf.
Preparing to unpack .../107-libxerces-c3.2_3.2.1+debian-2+b2_armhf.deb ...
Unpacking libxerces-c3.2:armhf (3.2.1+debian-2+b2) ...
Selecting previously unselected package odbcinst.
Preparing to unpack .../108-odbcinst_2.3.6-0.1_armhf.deb ...
Unpacking odbcinst (2.3.6-0.1) ...
Selecting previously unselected package odbcinst1debian2:armhf.
Preparing to unpack .../109-odbcinst1debian2_2.3.6-0.1_armhf.deb ...
Unpacking odbcinst1debian2:armhf (2.3.6-0.1) ...
Selecting previously unselected package libgdal20.
Preparing to unpack .../110-libgdal20_2.3.1+dfsg-1_armhf.deb ...
Unpacking libgdal20 (2.3.1+dfsg-1) ...
Selecting previously unselected package gdal-bin.
Preparing to unpack .../111-gdal-bin_2.3.1+dfsg-1_armhf.deb ...
Unpacking gdal-bin (2.3.1+dfsg-1) ...
Selecting previously unselected package libgirepository-1.0-1:armhf.
Preparing to unpack .../112-libgirepository-1.0-1_1.56.1-1_armhf.deb ...
Unpacking libgirepository-1.0-1:armhf (1.56.1-1) ...
Selecting previously unselected package gir1.2-glib-2.0:armhf.
Preparing to unpack .../113-gir1.2-glib-2.0_1.56.1-1_armhf.deb ...
Unpacking gir1.2-glib-2.0:armhf (1.56.1-1) ...
Selecting previously unselected package libharfbuzz-gobject0:armhf.
Preparing to unpack .../114-libharfbuzz-gobject0_1.8.4-1+rpi1_armhf.deb ...
Unpacking libharfbuzz-gobject0:armhf (1.8.4-1+rpi1) ...
Selecting previously unselected package gir1.2-harfbuzz-0.0:armhf.
Preparing to unpack .../115-gir1.2-harfbuzz-0.0_1.8.4-1+rpi1_armhf.deb ...
Unpacking gir1.2-harfbuzz-0.0:armhf (1.8.4-1+rpi1) ...
Selecting previously unselected package hdf5-helpers.
Preparing to unpack .../116-hdf5-helpers_1.10.0-patch1+docs-4+b2_armhf.deb ...
Unpacking hdf5-helpers (1.10.0-patch1+docs-4+b2) ...
Selecting previously unselected package icu-devtools.
Preparing to unpack .../117-icu-devtools_60.2-6_armhf.deb ...
Unpacking icu-devtools (60.2-6) ...
Selecting previously unselected package libaec-dev:armhf.
Preparing to unpack .../118-libaec-dev_1.0.2-1_armhf.deb ...
Unpacking libaec-dev:armhf (1.0.2-1) ...
Selecting previously unselected package libblas-dev:armhf.
Preparing to unpack .../119-libblas-dev_3.8.0-1_armhf.deb ...
Unpacking libblas-dev:armhf (3.8.0-1) ...
Selecting previously unselected package liblapack-dev:armhf.
Preparing to unpack .../120-liblapack-dev_3.8.0-1_armhf.deb ...
Unpacking liblapack-dev:armhf (3.8.0-1) ...
Selecting previously unselected package libarpack2-dev:armhf.
Preparing to unpack .../121-libarpack2-dev_3.5.0+real-2+b2_armhf.deb ...
Unpacking libarpack2-dev:armhf (3.5.0+real-2+b2) ...
Selecting previously unselected package libjpeg62-turbo-dev:armhf.
Preparing to unpack .../122-libjpeg62-turbo-dev_1%3a1.5.2-2+b1_armhf.deb ...
Unpacking libjpeg62-turbo-dev:armhf (1:1.5.2-2+b1) ...
Selecting previously unselected package libjpeg-dev.
Preparing to unpack .../123-libjpeg-dev_1%3a1.5.2-2_all.deb ...
Unpacking libjpeg-dev (1:1.5.2-2) ...
Selecting previously unselected package libhdf5-cpp-100:armhf.
Preparing to unpack .../124-libhdf5-cpp-100_1.10.0-patch1+docs-4+b2_armhf.deb ...
Unpacking libhdf5-cpp-100:armhf (1.10.0-patch1+docs-4+b2) ...
Selecting previously unselected package libhdf5-dev.
Preparing to unpack .../125-libhdf5-dev_1.10.0-patch1+docs-4+b2_armhf.deb ...
Unpacking libhdf5-dev (1.10.0-patch1+docs-4+b2) ...
Selecting previously unselected package libsuperlu-dev:armhf.
Preparing to unpack .../126-libsuperlu-dev_5.2.1+dfsg1-3_armhf.deb ...
Unpacking libsuperlu-dev:armhf (5.2.1+dfsg1-3) ...
Selecting previously unselected package libarmadillo-dev.
Preparing to unpack .../127-libarmadillo-dev_1%3a8.400.0+dfsg-3_armhf.deb ...
Unpacking libarmadillo-dev (1:8.400.0+dfsg-3) ...
Selecting previously unselected package libboost1.62-dev:armhf.
Preparing to unpack .../128-libboost1.62-dev_1.62.0+dfsg-8_armhf.deb ...
Unpacking libboost1.62-dev:armhf (1.62.0+dfsg-8) ...
Selecting previously unselected package libboost-dev:armhf.
Preparing to unpack .../129-libboost-dev_1.62.0.1+b8_armhf.deb ...
Unpacking libboost-dev:armhf (1.62.0.1+b8) ...
Selecting previously unselected package libcharls-dev:armhf.
Preparing to unpack .../130-libcharls-dev_1.1.0+dfsg-2_armhf.deb ...
Unpacking libcharls-dev:armhf (1.1.0+dfsg-2) ...
Selecting previously unselected package libcurl4-gnutls-dev:armhf.
Preparing to unpack .../131-libcurl4-gnutls-dev_7.60.0-2_armhf.deb ...
Unpacking libcurl4-gnutls-dev:armhf (7.60.0-2) ...
Selecting previously unselected package libharfbuzz-icu0:armhf.
Preparing to unpack .../132-libharfbuzz-icu0_1.8.4-1+rpi1_armhf.deb ...
Unpacking libharfbuzz-icu0:armhf (1.8.4-1+rpi1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../133-libglib2.0-data_2.56.1-2_all.deb ...
Unpacking libglib2.0-data (2.56.1-2) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../134-libglib2.0-bin_2.56.1-2_armhf.deb ...
Unpacking libglib2.0-bin (2.56.1-2) ...
Selecting previously unselected package libglib2.0-dev-bin.
Preparing to unpack .../135-libglib2.0-dev-bin_2.56.1-2_armhf.deb ...
Unpacking libglib2.0-dev-bin (2.56.1-2) ...
Selecting previously unselected package libpcre16-3:armhf.
Preparing to unpack .../136-libpcre16-3_2%3a8.39-10_armhf.deb ...
Unpacking libpcre16-3:armhf (2:8.39-10) ...
Selecting previously unselected package libpcre32-3:armhf.
Preparing to unpack .../137-libpcre32-3_2%3a8.39-10_armhf.deb ...
Unpacking libpcre32-3:armhf (2:8.39-10) ...
Selecting previously unselected package libpcrecpp0v5:armhf.
Preparing to unpack .../138-libpcrecpp0v5_2%3a8.39-10_armhf.deb ...
Unpacking libpcrecpp0v5:armhf (2:8.39-10) ...
Selecting previously unselected package libpcre3-dev:armhf.
Preparing to unpack .../139-libpcre3-dev_2%3a8.39-10_armhf.deb ...
Unpacking libpcre3-dev:armhf (2:8.39-10) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../140-pkg-config_0.29-4_armhf.deb ...
Unpacking pkg-config (0.29-4) ...
Selecting previously unselected package libglib2.0-dev:armhf.
Preparing to unpack .../141-libglib2.0-dev_2.56.1-2_armhf.deb ...
Unpacking libglib2.0-dev:armhf (2.56.1-2) ...
Selecting previously unselected package libgraphite2-dev:armhf.
Preparing to unpack .../142-libgraphite2-dev_1.3.11-2_armhf.deb ...
Unpacking libgraphite2-dev:armhf (1.3.11-2) ...
Selecting previously unselected package libharfbuzz-dev:armhf.
Preparing to unpack .../143-libharfbuzz-dev_1.8.4-1+rpi1_armhf.deb ...
Unpacking libharfbuzz-dev:armhf (1.8.4-1+rpi1) ...
Selecting previously unselected package libicu-le-hb-dev:armhf.
Preparing to unpack .../144-libicu-le-hb-dev_1.0.3+git161113-5_armhf.deb ...
Unpacking libicu-le-hb-dev:armhf (1.0.3+git161113-5) ...
Selecting previously unselected package libicu-dev.
Preparing to unpack .../145-libicu-dev_60.2-6_armhf.deb ...
Unpacking libicu-dev (60.2-6) ...
Selecting previously unselected package libxml2-dev:armhf.
Preparing to unpack .../146-libxml2-dev_2.9.4+dfsg1-7_armhf.deb ...
Unpacking libxml2-dev:armhf (2.9.4+dfsg1-7) ...
Selecting previously unselected package uuid-dev:armhf.
Preparing to unpack .../147-uuid-dev_2.32-0.3_armhf.deb ...
Unpacking uuid-dev:armhf (2.32-0.3) ...
Selecting previously unselected package libdap-dev:armhf.
Preparing to unpack .../148-libdap-dev_3.19.1-2_armhf.deb ...
Unpacking libdap-dev:armhf (3.19.1-2) ...
Selecting previously unselected package libepsilon-dev:armhf.
Preparing to unpack .../149-libepsilon-dev_0.9.2+dfsg-3_armhf.deb ...
Unpacking libepsilon-dev:armhf (0.9.2+dfsg-3) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../150-libexpat1-dev_2.2.5-3_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.2.5-3) ...
Selecting previously unselected package libfreexl-dev:armhf.
Preparing to unpack .../151-libfreexl-dev_1.0.5-2_armhf.deb ...
Unpacking libfreexl-dev:armhf (1.0.5-2) ...
Selecting previously unselected package libfyba-dev:armhf.
Preparing to unpack .../152-libfyba-dev_4.1.1-3_armhf.deb ...
Unpacking libfyba-dev:armhf (4.1.1-3) ...
Selecting previously unselected package libgeos-dev.
Preparing to unpack .../153-libgeos-dev_3.6.2-1_armhf.deb ...
Unpacking libgeos-dev (3.6.2-1) ...
Selecting previously unselected package libjbig-dev:armhf.
Preparing to unpack .../154-libjbig-dev_2.1-3.1+b2_armhf.deb ...
Unpacking libjbig-dev:armhf (2.1-3.1+b2) ...
Selecting previously unselected package liblzma-dev:armhf.
Preparing to unpack .../155-liblzma-dev_5.2.2-1.3_armhf.deb ...
Unpacking liblzma-dev:armhf (5.2.2-1.3) ...
Selecting previously unselected package libtiffxx5:armhf.
Preparing to unpack .../156-libtiffxx5_4.0.9-6_armhf.deb ...
Unpacking libtiffxx5:armhf (4.0.9-6) ...
Selecting previously unselected package libtiff5-dev:armhf.
Preparing to unpack .../157-libtiff5-dev_4.0.9-6_armhf.deb ...
Unpacking libtiff5-dev:armhf (4.0.9-6) ...
Selecting previously unselected package libtiff-dev.
Preparing to unpack .../158-libtiff-dev_4.0.9-6_armhf.deb ...
Unpacking libtiff-dev (4.0.9-6) ...
Selecting previously unselected package libgeotiff-dev:armhf.
Preparing to unpack .../159-libgeotiff-dev_1.4.2-3_armhf.deb ...
Unpacking libgeotiff-dev:armhf (1.4.2-3) ...
Selecting previously unselected package libgif-dev.
Preparing to unpack .../160-libgif-dev_5.1.4-3_armhf.deb ...
Unpacking libgif-dev (5.1.4-3) ...
Selecting previously unselected package libnetcdf-dev.
Preparing to unpack .../161-libnetcdf-dev_1%3a4.6.1-2_armhf.deb ...
Unpacking libnetcdf-dev (1:4.6.1-2) ...
Selecting previously unselected package libhdf4-alt-dev.
Preparing to unpack .../162-libhdf4-alt-dev_4.2.13-3_armhf.deb ...
Unpacking libhdf4-alt-dev (4.2.13-3) ...
Selecting previously unselected package libjson-c-dev:armhf.
Preparing to unpack .../163-libjson-c-dev_0.12.1-1.3_armhf.deb ...
Unpacking libjson-c-dev:armhf (0.12.1-1.3) ...
Selecting previously unselected package libminizip-dev:armhf.
Preparing to unpack .../164-libminizip-dev_1.1-8_armhf.deb ...
Unpacking libminizip-dev:armhf (1.1-8) ...
Selecting previously unselected package liburiparser-dev.
Preparing to unpack .../165-liburiparser-dev_0.8.5-2_armhf.deb ...
Unpacking liburiparser-dev (0.8.5-2) ...
Selecting previously unselected package libkml-dev:armhf.
Preparing to unpack .../166-libkml-dev_1.3.0-6_armhf.deb ...
Unpacking libkml-dev:armhf (1.3.0-6) ...
Selecting previously unselected package libltdl-dev:armhf.
Preparing to unpack .../167-libltdl-dev_2.4.6-2.1_armhf.deb ...
Unpacking libltdl-dev:armhf (2.4.6-2.1) ...
Selecting previously unselected package libproj-dev:armhf.
Preparing to unpack .../168-libproj-dev_5.1.0-1_armhf.deb ...
Unpacking libproj-dev:armhf (5.1.0-1) ...
Selecting previously unselected package libogdi3.2-dev.
Preparing to unpack .../169-libogdi3.2-dev_3.2.1+ds-3_armhf.deb ...
Unpacking libogdi3.2-dev (3.2.1+ds-3) ...
Selecting previously unselected package libopenjp2-7-dev.
Preparing to unpack .../170-libopenjp2-7-dev_2.3.0-1_armhf.deb ...
Unpacking libopenjp2-7-dev (2.3.0-1) ...
Selecting previously unselected package libpng-dev:armhf.
Preparing to unpack .../171-libpng-dev_1.6.34-2+rpi1_armhf.deb ...
Unpacking libpng-dev:armhf (1.6.34-2+rpi1) ...
Selecting previously unselected package libpoppler-dev:armhf.
Preparing to unpack .../172-libpoppler-dev_0.63.0-2_armhf.deb ...
Unpacking libpoppler-dev:armhf (0.63.0-2) ...
Selecting previously unselected package libpoppler-private-dev:armhf.
Preparing to unpack .../173-libpoppler-private-dev_0.63.0-2_armhf.deb ...
Unpacking libpoppler-private-dev:armhf (0.63.0-2) ...
Selecting previously unselected package libpq-dev.
Preparing to unpack .../174-libpq-dev_10.4-2_armhf.deb ...
Unpacking libpq-dev (10.4-2) ...
Selecting previously unselected package libqhull-r7:armhf.
Preparing to unpack .../175-libqhull-r7_2015.2-4_armhf.deb ...
Unpacking libqhull-r7:armhf (2015.2-4) ...
Selecting previously unselected package libqhull-dev:armhf.
Preparing to unpack .../176-libqhull-dev_2015.2-4_armhf.deb ...
Unpacking libqhull-dev:armhf (2015.2-4) ...
Selecting previously unselected package libsqlite3-dev:armhf.
Preparing to unpack .../177-libsqlite3-dev_3.24.0-1_armhf.deb ...
Unpacking libsqlite3-dev:armhf (3.24.0-1) ...
Selecting previously unselected package libspatialite-dev:armhf.
Preparing to unpack .../178-libspatialite-dev_4.3.0a-5+b2_armhf.deb ...
Unpacking libspatialite-dev:armhf (4.3.0a-5+b2) ...
Selecting previously unselected package libwebpmux3:armhf.
Preparing to unpack .../179-libwebpmux3_0.6.1-2_armhf.deb ...
Unpacking libwebpmux3:armhf (0.6.1-2) ...
Selecting previously unselected package libwebpdemux2:armhf.
Preparing to unpack .../180-libwebpdemux2_0.6.1-2_armhf.deb ...
Unpacking libwebpdemux2:armhf (0.6.1-2) ...
Selecting previously unselected package libwebp-dev:armhf.
Preparing to unpack .../181-libwebp-dev_0.6.1-2_armhf.deb ...
Unpacking libwebp-dev:armhf (0.6.1-2) ...
Selecting previously unselected package libxerces-c-dev.
Preparing to unpack .../182-libxerces-c-dev_3.2.1+debian-2+b2_armhf.deb ...
Unpacking libxerces-c-dev (3.2.1+debian-2+b2) ...
Selecting previously unselected package libzstd-dev:armhf.
Preparing to unpack .../183-libzstd-dev_1.3.4+dfsg-3+rpi1_armhf.deb ...
Unpacking libzstd-dev:armhf (1.3.4+dfsg-3+rpi1) ...
Selecting previously unselected package unixodbc-dev:armhf.
Preparing to unpack .../184-unixodbc-dev_2.3.6-0.1_armhf.deb ...
Unpacking unixodbc-dev:armhf (2.3.6-0.1) ...
Selecting previously unselected package libgdal-dev.
Preparing to unpack .../185-libgdal-dev_2.3.1+dfsg-1_armhf.deb ...
Unpacking libgdal-dev (2.3.1+dfsg-1) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../186-libjs-jquery_3.2.1-1_all.deb ...
Unpacking libjs-jquery (3.2.1-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../187-libjs-underscore_1.8.3~dfsg-1_all.deb ...
Unpacking libjs-underscore (1.8.3~dfsg-1) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../188-libjs-sphinxdoc_1.7.6-1_all.deb ...
Unpacking libjs-sphinxdoc (1.7.6-1) ...
Selecting previously unselected package libpython2.7:armhf.
Preparing to unpack .../189-libpython2.7_2.7.15-3_armhf.deb ...
Unpacking libpython2.7:armhf (2.7.15-3) ...
Selecting previously unselected package libpython2.7-dev:armhf.
Preparing to unpack .../190-libpython2.7-dev_2.7.15-3_armhf.deb ...
Unpacking libpython2.7-dev:armhf (2.7.15-3) ...
Selecting previously unselected package libpython2-dev:armhf.
Preparing to unpack .../191-libpython2-dev_2.7.15-3_armhf.deb ...
Unpacking libpython2-dev:armhf (2.7.15-3) ...
Selecting previously unselected package libpython-dev:armhf.
Preparing to unpack .../192-libpython-dev_2.7.15-3_armhf.deb ...
Unpacking libpython-dev:armhf (2.7.15-3) ...
Selecting previously unselected package libpython-all-dev:armhf.
Preparing to unpack .../193-libpython-all-dev_2.7.15-3_armhf.deb ...
Unpacking libpython-all-dev:armhf (2.7.15-3) ...
Selecting previously unselected package libpython3.6:armhf.
Preparing to unpack .../194-libpython3.6_3.6.6-1_armhf.deb ...
Unpacking libpython3.6:armhf (3.6.6-1) ...
Selecting previously unselected package libpython3.6-dev:armhf.
Preparing to unpack .../195-libpython3.6-dev_3.6.6-1_armhf.deb ...
Unpacking libpython3.6-dev:armhf (3.6.6-1) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../196-libpython3-dev_3.6.5-3_armhf.deb ...
Unpacking libpython3-dev:armhf (3.6.5-3) ...
Selecting previously unselected package libpython3-all-dev:armhf.
Preparing to unpack .../197-libpython3-all-dev_3.6.5-3_armhf.deb ...
Unpacking libpython3-all-dev:armhf (3.6.5-3) ...
Selecting previously unselected package libxslt1.1:armhf.
Preparing to unpack .../198-libxslt1.1_1.1.32-2_armhf.deb ...
Unpacking libxslt1.1:armhf (1.1.32-2) ...
Selecting previously unselected package python-affine.
Preparing to unpack .../199-python-affine_2.2.1-1_all.deb ...
Unpacking python-affine (2.2.1-1) ...
Selecting previously unselected package python-all.
Preparing to unpack .../200-python-all_2.7.15-3_armhf.deb ...
Unpacking python-all (2.7.15-3) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../201-python2.7-dev_2.7.15-3_armhf.deb ...
Unpacking python2.7-dev (2.7.15-3) ...
Selecting previously unselected package python2-dev.
Preparing to unpack .../202-python2-dev_2.7.15-3_armhf.deb ...
Unpacking python2-dev (2.7.15-3) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../203-python-dev_2.7.15-3_armhf.deb ...
Unpacking python-dev (2.7.15-3) ...
Selecting previously unselected package python-all-dev.
Preparing to unpack .../204-python-all-dev_2.7.15-3_armhf.deb ...
Unpacking python-all-dev (2.7.15-3) ...
Selecting previously unselected package python-atomicwrites.
Preparing to unpack .../205-python-atomicwrites_1.1.5-2_all.deb ...
Unpacking python-atomicwrites (1.1.5-2) ...
Selecting previously unselected package python-attr.
Preparing to unpack .../206-python-attr_17.4.0-2_all.deb ...
Unpacking python-attr (17.4.0-2) ...
Selecting previously unselected package python-six.
Preparing to unpack .../207-python-six_1.11.0-2_all.deb ...
Unpacking python-six (1.11.0-2) ...
Selecting previously unselected package python-dateutil.
Preparing to unpack .../208-python-dateutil_2.6.1-1_all.deb ...
Unpacking python-dateutil (2.6.1-1) ...
Selecting previously unselected package python-roman.
Preparing to unpack .../209-python-roman_2.0.0-3_all.deb ...
Unpacking python-roman (2.0.0-3) ...
Selecting previously unselected package python-docutils.
Preparing to unpack .../210-python-docutils_0.14+dfsg-3_all.deb ...
Unpacking python-docutils (0.14+dfsg-3) ...
Selecting previously unselected package python-jmespath.
Preparing to unpack .../211-python-jmespath_0.9.3-1_all.deb ...
Unpacking python-jmespath (0.9.3-1) ...
Selecting previously unselected package python-certifi.
Preparing to unpack .../212-python-certifi_2018.4.16-1_all.deb ...
Unpacking python-certifi (2018.4.16-1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../213-python-pkg-resources_39.2.0-1_all.deb ...
Unpacking python-pkg-resources (39.2.0-1) ...
Selecting previously unselected package python-chardet.
Preparing to unpack .../214-python-chardet_3.0.4-1_all.deb ...
Unpacking python-chardet (3.0.4-1) ...
Selecting previously unselected package python-idna.
Preparing to unpack .../215-python-idna_2.6-1_all.deb ...
Unpacking python-idna (2.6-1) ...
Selecting previously unselected package python-urllib3.
Preparing to unpack .../216-python-urllib3_1.22-1_all.deb ...
Unpacking python-urllib3 (1.22-1) ...
Selecting previously unselected package python-requests.
Preparing to unpack .../217-python-requests_2.18.4-2_all.deb ...
Unpacking python-requests (2.18.4-2) ...
Selecting previously unselected package python-botocore.
Preparing to unpack .../218-python-botocore_1.10.55+repack-1_all.deb ...
Unpacking python-botocore (1.10.55+repack-1) ...
Selecting previously unselected package python-concurrent.futures.
Preparing to unpack .../219-python-concurrent.futures_3.2.0-1_all.deb ...
Unpacking python-concurrent.futures (3.2.0-1) ...
Selecting previously unselected package python-s3transfer.
Preparing to unpack .../220-python-s3transfer_0.1.13-1_all.deb ...
Unpacking python-s3transfer (0.1.13-1) ...
Selecting previously unselected package python-boto3.
Preparing to unpack .../221-python-boto3_1.4.2-1_all.deb ...
Unpacking python-boto3 (1.4.2-1) ...
Selecting previously unselected package python-colorama.
Preparing to unpack .../222-python-colorama_0.3.7-1_all.deb ...
Unpacking python-colorama (0.3.7-1) ...
Selecting previously unselected package python-click.
Preparing to unpack .../223-python-click_6.7-5_all.deb ...
Unpacking python-click (6.7-5) ...
Selecting previously unselected package python-click-plugins.
Preparing to unpack .../224-python-click-plugins_1.0.2-2_all.deb ...
Unpacking python-click-plugins (1.0.2-2) ...
Selecting previously unselected package python-cligj.
Preparing to unpack .../225-python-cligj_0.4.0-2_all.deb ...
Unpacking python-cligj (0.4.0-2) ...
Selecting previously unselected package python-coverage.
Preparing to unpack .../226-python-coverage_4.5.1+dfsg.1-1_armhf.deb ...
Unpacking python-coverage (4.5.1+dfsg.1-1) ...
Selecting previously unselected package python-enum34.
Preparing to unpack .../227-python-enum34_1.1.6-2_all.deb ...
Unpacking python-enum34 (1.1.6-2) ...
Selecting previously unselected package python-funcsigs.
Preparing to unpack .../228-python-funcsigs_1.0.2-4_all.deb ...
Unpacking python-funcsigs (1.0.2-4) ...
Selecting previously unselected package python-hypothesis.
Preparing to unpack .../229-python-hypothesis_3.44.1-2_all.deb ...
Unpacking python-hypothesis (3.44.1-2) ...
Selecting previously unselected package python-lxml:armhf.
Preparing to unpack .../230-python-lxml_4.2.3-1_armhf.deb ...
Unpacking python-lxml:armhf (4.2.3-1) ...
Selecting previously unselected package python-more-itertools.
Preparing to unpack .../231-python-more-itertools_4.2.0-1_all.deb ...
Unpacking python-more-itertools (4.2.0-1) ...
Selecting previously unselected package python-numpy.
Preparing to unpack .../232-python-numpy_1%3a1.14.5-1_armhf.deb ...
Unpacking python-numpy (1:1.14.5-1) ...
Selecting previously unselected package python-pyparsing.
Preparing to unpack .../233-python-pyparsing_2.2.0+dfsg1-2_all.deb ...
Unpacking python-pyparsing (2.2.0+dfsg1-2) ...
Selecting previously unselected package python-packaging.
Preparing to unpack .../234-python-packaging_17.1-1_all.deb ...
Unpacking python-packaging (17.1-1) ...
Selecting previously unselected package python-pluggy.
Preparing to unpack .../235-python-pluggy_0.6.0-1_all.deb ...
Unpacking python-pluggy (0.6.0-1) ...
Selecting previously unselected package python-py.
Preparing to unpack .../236-python-py_1.5.4-1_all.deb ...
Unpacking python-py (1.5.4-1) ...
Selecting previously unselected package python-pytest.
Preparing to unpack .../237-python-pytest_3.6.4-1_all.deb ...
Unpacking python-pytest (3.6.4-1) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../238-python-setuptools_39.2.0-1_all.deb ...
Unpacking python-setuptools (39.2.0-1) ...
Selecting previously unselected package python-snuggs.
Preparing to unpack .../239-python-snuggs_1.4.2-1_all.deb ...
Unpacking python-snuggs (1.4.2-1) ...
Selecting previously unselected package python3-affine.
Preparing to unpack .../240-python3-affine_2.2.1-1_all.deb ...
Unpacking python3-affine (2.2.1-1) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../241-python3-all_3.6.5-3_armhf.deb ...
Unpacking python3-all (3.6.5-3) ...
Selecting previously unselected package python3.6-dev.
Preparing to unpack .../242-python3.6-dev_3.6.6-1_armhf.deb ...
Unpacking python3.6-dev (3.6.6-1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../243-python3-dev_3.6.5-3_armhf.deb ...
Unpacking python3-dev (3.6.5-3) ...
Selecting previously unselected package python3-all-dev.
Preparing to unpack .../244-python3-all-dev_3.6.5-3_armhf.deb ...
Unpacking python3-all-dev (3.6.5-3) ...
Selecting previously unselected package python3-atomicwrites.
Preparing to unpack .../245-python3-atomicwrites_1.1.5-2_all.deb ...
Unpacking python3-atomicwrites (1.1.5-2) ...
Selecting previously unselected package python3-attr.
Preparing to unpack .../246-python3-attr_17.4.0-2_all.deb ...
Unpacking python3-attr (17.4.0-2) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../247-python3-six_1.11.0-2_all.deb ...
Unpacking python3-six (1.11.0-2) ...
Selecting previously unselected package python3-dateutil.
Preparing to unpack .../248-python3-dateutil_2.6.1-1_all.deb ...
Unpacking python3-dateutil (2.6.1-1) ...
Selecting previously unselected package python3-roman.
Preparing to unpack .../249-python3-roman_2.0.0-3_all.deb ...
Unpacking python3-roman (2.0.0-3) ...
Selecting previously unselected package python3-docutils.
Preparing to unpack .../250-python3-docutils_0.14+dfsg-3_all.deb ...
Unpacking python3-docutils (0.14+dfsg-3) ...
Selecting previously unselected package python3-jmespath.
Preparing to unpack .../251-python3-jmespath_0.9.3-1_all.deb ...
Unpacking python3-jmespath (0.9.3-1) ...
Selecting previously unselected package python3-certifi.
Preparing to unpack .../252-python3-certifi_2018.4.16-1_all.deb ...
Unpacking python3-certifi (2018.4.16-1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../253-python3-pkg-resources_39.2.0-1_all.deb ...
Unpacking python3-pkg-resources (39.2.0-1) ...
Selecting previously unselected package python3-chardet.
Preparing to unpack .../254-python3-chardet_3.0.4-1_all.deb ...
Unpacking python3-chardet (3.0.4-1) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../255-python3-idna_2.6-1_all.deb ...
Unpacking python3-idna (2.6-1) ...
Selecting previously unselected package python3-urllib3.
Preparing to unpack .../256-python3-urllib3_1.22-1_all.deb ...
Unpacking python3-urllib3 (1.22-1) ...
Selecting previously unselected package python3-requests.
Preparing to unpack .../257-python3-requests_2.18.4-2_all.deb ...
Unpacking python3-requests (2.18.4-2) ...
Selecting previously unselected package python3-botocore.
Preparing to unpack .../258-python3-botocore_1.10.55+repack-1_all.deb ...
Unpacking python3-botocore (1.10.55+repack-1) ...
Selecting previously unselected package python3-s3transfer.
Preparing to unpack .../259-python3-s3transfer_0.1.13-1_all.deb ...
Unpacking python3-s3transfer (0.1.13-1) ...
Selecting previously unselected package python3-boto3.
Preparing to unpack .../260-python3-boto3_1.4.2-1_all.deb ...
Unpacking python3-boto3 (1.4.2-1) ...
Selecting previously unselected package python3-colorama.
Preparing to unpack .../261-python3-colorama_0.3.7-1_all.deb ...
Unpacking python3-colorama (0.3.7-1) ...
Selecting previously unselected package python3-click.
Preparing to unpack .../262-python3-click_6.7-5_all.deb ...
Unpacking python3-click (6.7-5) ...
Selecting previously unselected package python3-click-plugins.
Preparing to unpack .../263-python3-click-plugins_1.0.2-2_all.deb ...
Unpacking python3-click-plugins (1.0.2-2) ...
Selecting previously unselected package python3-cligj.
Preparing to unpack .../264-python3-cligj_0.4.0-2_all.deb ...
Unpacking python3-cligj (0.4.0-2) ...
Selecting previously unselected package python3-coverage.
Preparing to unpack .../265-python3-coverage_4.5.1+dfsg.1-1_armhf.deb ...
Unpacking python3-coverage (4.5.1+dfsg.1-1) ...
Selecting previously unselected package python3-hypothesis.
Preparing to unpack .../266-python3-hypothesis_3.44.1-2_all.deb ...
Unpacking python3-hypothesis (3.44.1-2) ...
Selecting previously unselected package python3-lxml:armhf.
Preparing to unpack .../267-python3-lxml_4.2.3-1_armhf.deb ...
Unpacking python3-lxml:armhf (4.2.3-1) ...
Selecting previously unselected package python3-more-itertools.
Preparing to unpack .../268-python3-more-itertools_4.2.0-1_all.deb ...
Unpacking python3-more-itertools (4.2.0-1) ...
Selecting previously unselected package python3-numpy.
Preparing to unpack .../269-python3-numpy_1%3a1.14.5-1_armhf.deb ...
Unpacking python3-numpy (1:1.14.5-1) ...
Selecting previously unselected package python3-pyparsing.
Preparing to unpack .../270-python3-pyparsing_2.2.0+dfsg1-2_all.deb ...
Unpacking python3-pyparsing (2.2.0+dfsg1-2) ...
Selecting previously unselected package python3-packaging.
Preparing to unpack .../271-python3-packaging_17.1-1_all.deb ...
Unpacking python3-packaging (17.1-1) ...
Selecting previously unselected package python3-pluggy.
Preparing to unpack .../272-python3-pluggy_0.6.0-1_all.deb ...
Unpacking python3-pluggy (0.6.0-1) ...
Selecting previously unselected package python3-py.
Preparing to unpack .../273-python3-py_1.5.4-1_all.deb ...
Unpacking python3-py (1.5.4-1) ...
Selecting previously unselected package python3-pytest.
Preparing to unpack .../274-python3-pytest_3.6.4-1_all.deb ...
Unpacking python3-pytest (3.6.4-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../275-python3-setuptools_39.2.0-1_all.deb ...
Unpacking python3-setuptools (39.2.0-1) ...
Selecting previously unselected package python3-snuggs.
Preparing to unpack .../276-python3-snuggs_1.4.2-1_all.deb ...
Unpacking python3-snuggs (1.4.2-1) ...
Selecting previously unselected package sbuild-build-depends-rasterio-dummy.
Preparing to unpack .../277-sbuild-build-depends-rasterio-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-rasterio-dummy (0.invalid.0) ...
Setting up libminizip1:armhf (1.1-8) ...
Setting up libjs-jquery (3.2.1-1) ...
Setting up libpopt0:armhf (1.16-11) ...
Setting up libaec0:armhf (1.0.2-1) ...
Setting up libopenjp2-7:armhf (2.3.0-1) ...
Setting up libqhull7:armhf (2015.2-4) ...
Setting up libjpeg62-turbo:armhf (1:1.5.2-2+b1) ...
Setting up libarchive-zip-perl (1.60-1) ...
Setting up libnghttp2-14:armhf (1.32.0-1) ...
Setting up libjs-underscore (1.8.3~dfsg-1) ...
Setting up mime-support (3.61) ...
Installing new version of config file /etc/mime.types ...
Setting up libgfortran4:armhf (7.3.0-19) ...
Setting up libboost1.62-dev:armhf (1.62.0+dfsg-8) ...
Setting up libpng16-16:armhf (1.6.34-2+rpi1) ...
Setting up libsqlite3-dev:armhf (3.24.0-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up liblcms2-2:armhf (2.9-2) ...
Setting up libjbig0:armhf (2.1-3.1+b2) ...
Setting up libsigsegv2:armhf (2.12-2) ...
Setting up fonts-dejavu-core (2.37-1) ...
Setting up libpsl5:armhf (0.20.2-1) ...
Setting up libcharls1:armhf (1.1.0+dfsg-2) ...
Setting up libelf1:armhf (0.170-0.5) ...
Setting up libgeos-3.6.2:armhf (3.6.2-1) ...
Setting up groff-base (1.22.3-10) ...
Setting up libglib2.0-0:armhf (2.56.1-2) ...
No schema files found: removed existing output file.
Setting up mysql-common (5.8+1.0.4) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up uuid-dev:armhf (2.32-0.3) ...
Setting up libjs-sphinxdoc (1.7.6-1) ...
Setting up libopenjp2-7-dev (2.3.0-1) ...
Setting up libtiff5:armhf (4.0.9-6) ...
Setting up gettext-base (0.19.8.1-6) ...
Setting up libgif7:armhf (5.1.4-3) ...
Setting up libpipeline1:armhf (1.5.0-1) ...
Setting up libmariadbclient18:armhf (1:10.1.29-6+b1) ...
Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2) ...
Setting up libepsilon1:armhf (0.9.2+dfsg-3) ...
Setting up m4 (1.4.18-1) ...
Setting up sgml-base (1.29) ...
Setting up libminizip-dev:armhf (1.1-8) ...
Setting up libbsd0:armhf (0.9.1-1) ...
Setting up libnspr4:armhf (2:4.19-3+rpi1) ...
Setting up ucf (3.0038) ...
Setting up libgirepository-1.0-1:armhf (1.56.1-1) ...
Setting up libfreexl1:armhf (1.0.5-2) ...
Setting up libfreetype6:armhf (2.8.1-2) ...
Setting up libmagic-mgc (1:5.33-3) ...
Setting up libfyba0:armhf (4.1.1-3) ...
Setting up libmagic1:armhf (1:5.33-3) ...
Setting up libgraphite2-3:armhf (1.3.11-2) ...
Setting up libjbig-dev:armhf (2.1-3.1+b2) ...
Setting up gdal-data (2.3.1+dfsg-1) ...
Setting up pkg-config (0.29-4) ...
Setting up libgeos-c1v5:armhf (3.6.2-1) ...
Setting up libblas3:armhf (3.8.0-1) ...
update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode
Setting up gir1.2-glib-2.0:armhf (1.56.1-1) ...
Setting up libssh2-1:armhf (1.8.0-2) ...
Setting up libglib2.0-data (2.56.1-2) ...
Processing triggers for libc-bin (2.27-3+rpi1) ...
Setting up dwz (0.12-2) ...
Setting up autotools-dev (20180224.1) ...
Setting up libcharls-dev:armhf (1.1.0+dfsg-2) ...
Setting up libzstd-dev:armhf (1.3.4+dfsg-3+rpi1) ...
Setting up libltdl7:armhf (2.4.6-2.1) ...
Setting up libjson-c-dev:armhf (0.12.1-1.3) ...
Setting up libtiffxx5:armhf (4.0.9-6) ...
Setting up libexpat1-dev:armhf (2.2.5-3) ...
Setting up libpcrecpp0v5:armhf (2:8.39-10) ...
Setting up libpcre32-3:armhf (2:8.39-10) ...
Setting up libpcre16-3:armhf (2:8.39-10) ...
Setting up libboost-dev:armhf (1.62.0.1+b8) ...
Setting up libjpeg62-turbo-dev:armhf (1:1.5.2-2+b1) ...
Setting up liblzma-dev:armhf (5.2.2-1.3) ...
Setting up xml-core (0.18) ...
Setting up libhdf4-0-alt (4.2.13-3) ...
Setting up libkeyutils1:armhf (1.5.9-9.3) ...
Setting up bsdmainutils (11.1.2) ...
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 libglib2.0-bin (2.56.1-2) ...
Setting up libfyba-dev:armhf (4.1.1-3) ...
Setting up libgraphite2-dev:armhf (1.3.11-2) ...
Setting up hdf5-helpers (1.10.0-patch1+docs-4+b2) ...
Setting up libqhull-r7:armhf (2015.2-4) ...
Setting up libpython2.7-stdlib:armhf (2.7.15-3) ...
Setting up autopoint (0.19.8.1-6) ...
Setting up libmpdec2:armhf (2.4.2-2) ...
Setting up liburiparser1:armhf (0.8.5-2) ...
Setting up libsz2:armhf (1.0.2-1) ...
Setting up proj-data (5.1.0-1) ...
Setting up libwebp6:armhf (0.6.1-2) ...
Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-1) ...
Setting up libfile-stripnondeterminism-perl (0.042-1) ...
Setting up libfreexl-dev:armhf (1.0.5-2) ...
Setting up libpython3.6-stdlib:armhf (3.6.6-1) ...
Setting up libmariadbclient-dev (1:10.1.29-6+b1) ...
Setting up libpcre3-dev:armhf (2:8.39-10) ...
Setting up fontconfig-config (2.13.0-5) ...
Installing new version of config file /etc/fonts/fonts.conf ...
Setting up python3.6 (3.6.6-1) ...
Setting up libodbc1:armhf (2.3.6-0.1) ...
Setting up libhdf5-100:armhf (1.10.0-patch1+docs-4+b2) ...
Setting up libltdl-dev:armhf (2.4.6-2.1) ...
Setting up libblas-dev:armhf (3.8.0-1) ...
update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so to provide /usr/lib/arm-linux-gnueabihf/libblas.so (libblas.so-arm-linux-gnueabihf) in auto mode
Setting up libmariadbclient-dev-compat:armhf (1:10.1.29-6+b1) ...
Setting up libgif-dev (5.1.4-3) ...
Setting up libepsilon-dev:armhf (0.9.2+dfsg-3) ...
Setting up liblapack3:armhf (3.8.0-1) ...
update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode
Setting up libtiff5-dev:armhf (4.0.9-6) ...
Setting up libaec-dev:armhf (1.0.2-1) ...
Setting up python2.7 (2.7.15-3) ...
Setting up libnss3:armhf (2:3.38-1) ...
Setting up libproj13:armhf (5.1.0-1) ...
Setting up libgeos-dev (3.6.2-1) ...
Setting up libharfbuzz0b:armhf (1.8.4-1+rpi1) ...
Setting up autoconf (2.69-11) ...
Setting up file (1:5.33-3) ...
Setting up libsuperlu5:armhf (5.2.1+dfsg1-3) ...
Setting up libkrb5support0:armhf (1.16-2) ...
Setting up libkmlbase1:armhf (1.3.0-6) ...
Setting up libqhull-dev:armhf (2015.2-4) ...
Setting up libogdi3.2 (3.2.1+ds-3) ...
Setting up libkmlxsd1:armhf (1.3.0-6) ...
Setting up libsuperlu-dev:armhf (5.2.1+dfsg1-3) ...
Setting up libjpeg-dev (1:1.5.2-2) ...
Setting up libwebpmux3:armhf (0.6.1-2) ...
Setting up libpython2.7:armhf (2.7.15-3) ...
Setting up libgeotiff2:armhf (1.4.2-3) ...
Setting up automake (1:1.15.1-3.1) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up libwebpdemux2:armhf (0.6.1-2) ...
Setting up libarpack2:armhf (3.5.0+real-2+b2) ...
Setting up man-db (2.8.3-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libpython2-stdlib:armhf (2.7.15-3) ...
Setting up liburiparser-dev (0.8.5-2) ...
Setting up libpython2.7-dev:armhf (2.7.15-3) ...
Setting up libkmldom1:armhf (1.3.0-6) ...
Setting up default-libmysqlclient-dev:armhf (1.0.4) ...
Setting up libpng-dev:armhf (1.6.34-2+rpi1) ...
Setting up python2.7-dev (2.7.15-3) ...
Setting up libharfbuzz-gobject0:armhf (1.8.4-1+rpi1) ...
Setting up libpython3.6:armhf (3.6.6-1) ...
Setting up liblapack-dev:armhf (3.8.0-1) ...
update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so to provide /usr/lib/arm-linux-gnueabihf/liblapack.so (liblapack.so-arm-linux-gnueabihf) in auto mode
Setting up libtool (2.4.6-2.1) ...
Setting up libpython3-stdlib:armhf (3.6.5-3) ...
Setting up libtiff-dev (4.0.9-6) ...
Setting up libfontconfig1:armhf (2.13.0-5) ...
Setting up libgeotiff-dev:armhf (1.4.2-3) ...
Setting up libproj-dev:armhf (5.1.0-1) ...
Setting up libk5crypto3:armhf (1.16-2) ...
Setting up libhdf5-cpp-100:armhf (1.10.0-patch1+docs-4+b2) ...
Setting up python3 (3.6.5-3) ...
Setting up python3-numpy (1:1.14.5-1) ...
Setting up python3-idna (2.6-1) ...
Setting up python3-six (1.11.0-2) ...
Setting up python3-colorama (0.3.7-1) ...
Setting up python3-pyparsing (2.2.0+dfsg1-2) ...
Setting up libhdf5-dev (1.10.0-patch1+docs-4+b2) ...
update-alternatives: using /usr/lib/arm-linux-gnueabihf/pkgconfig/hdf5-serial.pc to provide /usr/lib/arm-linux-gnueabihf/pkgconfig/hdf5.pc (hdf5.pc) in auto mode
Setting up python3-certifi (2018.4.16-1) ...
Setting up python3-more-itertools (4.2.0-1) ...
Setting up python3-pkg-resources (39.2.0-1) ...
Setting up libpoppler74:armhf (0.63.0-2) ...
Setting up python3-pluggy (0.6.0-1) ...
Setting up libpython3.6-dev:armhf (3.6.6-1) ...
Setting up python2 (2.7.15-3) ...
Setting up libogdi3.2-dev (3.2.1+ds-3) ...
Setting up python3-coverage (4.5.1+dfsg.1-1) ...
Setting up libwebp-dev:armhf (0.6.1-2) ...
Setting up libarmadillo8 (1:8.400.0+dfsg-3) ...
Setting up libpython2-dev:armhf (2.7.15-3) ...
Setting up libpython-stdlib:armhf (2.7.15-3) ...
Setting up libkmlengine1:armhf (1.3.0-6) ...
Setting up gir1.2-harfbuzz-0.0:armhf (1.8.4-1+rpi1) ...
Setting up python3-chardet (3.0.4-1) ...
Setting up python2-dev (2.7.15-3) ...
Setting up libarpack2-dev:armhf (3.5.0+real-2+b2) ...
Setting up python3-attr (17.4.0-2) ...
Setting up cython3 (0.28.4-1) ...
Setting up python3-urllib3 (1.22-1) ...
Setting up python3-jmespath (0.9.3-1) ...
Setting up libkrb5-3:armhf (1.16-2) ...
Setting up python3-affine (2.2.1-1) ...
Setting up python3-packaging (17.1-1) ...
Setting up python3-hypothesis (3.44.1-2) ...
Setting up python3.6-dev (3.6.6-1) ...
Setting up python3-lib2to3 (3.6.6-1) ...
Setting up python3-distutils (3.6.6-1) ...
Setting up python (2.7.15-3) ...
Setting up python3-dateutil (2.6.1-1) ...
Setting up python3-atomicwrites (1.1.5-2) ...
Setting up libpython3-dev:armhf (3.6.5-3) ...
Setting up python-pyparsing (2.2.0+dfsg1-2) ...
Setting up libarmadillo-dev (1:8.400.0+dfsg-3) ...
Setting up python-idna (2.6-1) ...
Setting up libpython-dev:armhf (2.7.15-3) ...
Setting up python-atomicwrites (1.1.5-2) ...
Setting up python3-roman (2.0.0-3) ...
Setting up libpoppler-dev:armhf (0.63.0-2) ...
Setting up python-attr (17.4.0-2) ...
Setting up python3-py (1.5.4-1) ...
Setting up libglib2.0-dev-bin (2.56.1-2) ...
Setting up python-affine (2.2.1-1) ...
Setting up python-dev (2.7.15-3) ...
Setting up python-jmespath (0.9.3-1) ...
Setting up python3-pytest (3.6.4-1) ...
Setting up python3-click (6.7-5) ...
Setting up python-pluggy (0.6.0-1) ...
Setting up python-certifi (2018.4.16-1) ...
Setting up libpython-all-dev:armhf (2.7.15-3) ...
Setting up python-colorama (0.3.7-1) ...
Setting up python3-click-plugins (1.0.2-2) ...
Setting up python-pkg-resources (39.2.0-1) ...
Setting up python-roman (2.0.0-3) ...
Setting up libkmlconvenience1:armhf (1.3.0-6) ...
Setting up libglib2.0-dev:armhf (2.56.1-2) ...
Setting up python-numpy (1:1.14.5-1) ...
Setting up cython (0.28.4-1) ...
Setting up python-coverage (4.5.1+dfsg.1-1) ...
Setting up libgssapi-krb5-2:armhf (1.16-2) ...
Setting up python-six (1.11.0-2) ...
Setting up libpq5:armhf (10.4-2) ...
Setting up libpython3-all-dev:armhf (3.6.5-3) ...
Setting up libkmlregionator1:armhf (1.3.0-6) ...
Setting up python-packaging (17.1-1) ...
Setting up python-enum34 (1.1.6-2) ...
Setting up python-hypothesis (3.44.1-2) ...
Setting up python3-requests (2.18.4-2) ...
Setting up python-funcsigs (1.0.2-4) ...
Setting up python-concurrent.futures (3.2.0-1) ...
Setting up python3-setuptools (39.2.0-1) ...
Setting up dh-python (3.20180723) ...
Setting up python-all (2.7.15-3) ...
Setting up python-setuptools (39.2.0-1) ...
Setting up libpoppler-private-dev:armhf (0.63.0-2) ...
Setting up python-urllib3 (1.22-1) ...
Setting up libpq-dev (10.4-2) ...
Setting up python-chardet (3.0.4-1) ...
Setting up python3-cligj (0.4.0-2) ...
Setting up python-click (6.7-5) ...
Setting up libcurl3-gnutls:armhf (7.60.0-2) ...
Setting up python-py (1.5.4-1) ...
Setting up python-more-itertools (4.2.0-1) ...
Setting up python3-dev (3.6.5-3) ...
Setting up python-pytest (3.6.4-1) ...
Setting up libkml-dev:armhf (1.3.0-6) ...
Setting up python-dateutil (2.6.1-1) ...
Setting up python-all-dev (2.7.15-3) ...
Setting up python3-all (3.6.5-3) ...
Setting up libnetcdf13:armhf (1:4.6.1-2) ...
Setting up python-cligj (0.4.0-2) ...
Setting up python-requests (2.18.4-2) ...
Setting up python-click-plugins (1.0.2-2) ...
Setting up libcurl4-gnutls-dev:armhf (7.60.0-2) ...
Setting up libnetcdf-dev (1:4.6.1-2) ...
Setting up python3-all-dev (3.6.5-3) ...
Setting up libhdf4-alt-dev (4.2.13-3) ...
Processing triggers for sgml-base (1.29) ...
Setting up docutils-common (0.14+dfsg-3) ...
Processing triggers for sgml-base (1.29) ...
Setting up python3-docutils (0.14+dfsg-3) ...
update-alternatives: using /usr/share/docutils/scripts/python3/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2html4 to provide /usr/bin/rst2html4 (rst2html4) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2html5 to provide /usr/bin/rst2html5 (rst2html5) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode
Setting up python-docutils (0.14+dfsg-3) ...
update-alternatives: using /usr/share/docutils/scripts/python2/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2html4 to provide /usr/bin/rst2html4 (rst2html4) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2html5 to provide /usr/bin/rst2html5 (rst2html5) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python2/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode
Setting up python3-botocore (1.10.55+repack-1) ...
Setting up python-botocore (1.10.55+repack-1) ...
Setting up python3-s3transfer (0.1.13-1) ...
Setting up python-s3transfer (0.1.13-1) ...
Setting up python3-boto3 (1.4.2-1) ...
Setting up python-boto3 (1.4.2-1) ...
Setting up dh-autoreconf (19) ...
Setting up odbcinst (2.3.6-0.1) ...
Setting up libicu-le-hb0:armhf (1.0.3+git161113-5) ...
Setting up dh-strip-nondeterminism (0.042-1) ...
Setting up odbcinst1debian2:armhf (2.3.6-0.1) ...
Setting up libicu60:armhf (60.2-6) ...
Setting up unixodbc-dev:armhf (2.3.6-0.1) ...
Setting up libharfbuzz-icu0:armhf (1.8.4-1+rpi1) ...
Setting up libicu-le-hb-dev:armhf (1.0.3+git161113-5) ...
Setting up libxml2:armhf (2.9.4+dfsg1-7) ...
Setting up libcroco3:armhf (0.6.12-2) ...
Setting up libxslt1.1:armhf (1.1.32-2) ...
Setting up python-lxml:armhf (4.2.3-1) ...
Setting up libspatialite7:armhf (4.3.0a-5+b2) ...
Setting up icu-devtools (60.2-6) ...
Setting up python-snuggs (1.4.2-1) ...
Setting up libspatialite-dev:armhf (4.3.0a-5+b2) ...
Setting up libxerces-c3.2:armhf (3.2.1+debian-2+b2) ...
Setting up libdap25:armhf (3.19.1-2) ...
Setting up python3-lxml:armhf (4.2.3-1) ...
Setting up gettext (0.19.8.1-6) ...
Setting up libicu-dev (60.2-6) ...
Setting up libxml2-dev:armhf (2.9.4+dfsg1-7) ...
Setting up libdapclient6v5:armhf (3.19.1-2) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up libdapserver7v5:armhf (3.19.1-2) ...
Setting up python3-snuggs (1.4.2-1) ...
Setting up libharfbuzz-dev:armhf (1.8.4-1+rpi1) ...
Setting up libxerces-c-dev (3.2.1+debian-2+b2) ...
Setting up libdap-dev:armhf (3.19.1-2) ...
Setting up po-debconf (1.0.20) ...
Setting up libgdal20 (2.3.1+dfsg-1) ...
Setting up gdal-bin (2.3.1+dfsg-1) ...
Setting up debhelper (11.3.5) ...
Setting up libgdal-dev (2.3.1+dfsg-1) ...
Setting up sbuild-build-depends-rasterio-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.27-3+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.9.0-0.bpo.2-armmp armhf (armv7l)
Toolchain package versions: binutils_2.30-21+rpi1 dpkg-dev_1.19.0.5 g++-7_7.3.0-19 gcc-7_7.3.0-19 libc6-dev_2.27-3+rpi1 libstdc++-7-dev_7.3.0-19 libstdc++6_8.1.0-8+rpi1 linux-libc-dev_4.16.12-1+rpi1
Package versions: adduser_3.117 apt_1.6.1 autoconf_2.69-11 automake_1:1.15.1-3.1 autopoint_0.19.8.1-6 autotools-dev_20180224.1 base-files_10.1+rpi1 base-passwd_3.5.45 bash_4.4.18-3 binutils_2.30-21+rpi1 binutils-arm-linux-gnueabihf_2.30-21+rpi1 binutils-common_2.30-21+rpi1 bsdmainutils_11.1.2 bsdutils_1:2.32-0.1 build-essential_12.5 bzip2_1.0.6-8.1 ca-certificates_20170717 coreutils_8.28-1 cpio_2.12+dfsg-6 cpp_4:7.3.0-3+rpi1 cpp-7_7.3.0-19 cython_0.28.4-1 cython3_0.28.4-1 dash_0.5.8-2.10 dbus_1.12.8-3 dbus-user-session_1.12.8-3 debconf_1.5.67 debhelper_11.3.5 debianutils_4.8.6 default-libmysqlclient-dev_1.0.4 dh-autoreconf_19 dh-python_3.20180723 dh-strip-nondeterminism_0.042-1 diffutils_1:3.6-1 dirmngr_2.2.8-1 dmsetup_2:1.02.145-4.1+b4 docutils-common_0.14+dfsg-3 dpkg_1.19.0.5 dpkg-dev_1.19.0.5 dwz_0.12-2 e2fslibs_1.44.2-1 e2fsprogs_1.44.2-1 e2fsprogs-l10n_1.44.2-1 fakeroot_1.22-2 fdisk_2.32-0.1 file_1:5.33-3 findutils_4.6.0+git+20171230-2 fontconfig-config_2.13.0-5 fonts-dejavu-core_2.37-1 g++_4:7.3.0-3+rpi1 g++-7_7.3.0-19 gcc_4:7.3.0-3+rpi1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-4 gcc-4.9-base_4.9.4-2+rpi1+b7 gcc-5-base_5.5.0-8 gcc-6-base_6.4.0-18+rpi1 gcc-7_7.3.0-19 gcc-7-base_7.3.0-19 gcc-8-base_8.1.0-8+rpi1 gdal-bin_2.3.1+dfsg-1 gdal-data_2.3.1+dfsg-1 gettext_0.19.8.1-6 gettext-base_0.19.8.1-6 gir1.2-glib-2.0_1.56.1-1 gir1.2-harfbuzz-0.0_1.8.4-1+rpi1 gnupg_2.2.8-1 gnupg-l10n_2.2.8-1 gnupg-utils_2.2.8-1 gpg_2.2.8-1 gpg-agent_2.2.8-1 gpg-wks-client_2.2.8-1 gpg-wks-server_2.2.8-1 gpgconf_2.2.8-1 gpgsm_2.2.8-1 gpgv_2.2.8-1 grep_3.1-2 groff-base_1.22.3-10 gzip_1.6-5 hdf5-helpers_1.10.0-patch1+docs-4+b2 hostname_3.20 icu-devtools_60.2-6 inetutils-ping_2:1.9.4-3 init-system-helpers_1.51 initramfs-tools_0.130 initramfs-tools-core_0.130 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-11+rpi1 kmod_25-1 libacl1_2.2.52-3 libaec-dev_1.0.2-1 libaec0_1.0.2-1 libapparmor1_2.12-4 libapt-pkg5.0_1.6.1 libarchive-zip-perl_1.60-1 libargon2-0_0~20161029-2 libarmadillo-dev_1:8.400.0+dfsg-3 libarmadillo8_1:8.400.0+dfsg-3 libarpack2_3.5.0+real-2+b2 libarpack2-dev_3.5.0+real-2+b2 libasan4_7.3.0-19 libassuan0_2.5.1-2 libatomic1_8.1.0-8+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.8.3-1 libaudit1_1:2.8.3-1 libbinutils_2.30-21+rpi1 libblas-dev_3.8.0-1 libblas3_3.8.0-1 libblkid1_2.32-0.1 libboost-dev_1.62.0.1+b8 libboost1.62-dev_1.62.0+dfsg-8 libbsd0_0.9.1-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.27-3+rpi1 libc-dev-bin_2.27-3+rpi1 libc6_2.27-3+rpi1 libc6-dev_2.27-3+rpi1 libcap-ng0_0.7.9-1 libcap2_1:2.25-1.2 libcc1-0_8.1.0-8+rpi1 libcharls-dev_1.1.0+dfsg-2 libcharls1_1.1.0+dfsg-2 libcilkrts5_7.3.0-19 libcom-err2_1.44.2-1 libcroco3_0.6.12-2 libcryptsetup12_2:2.0.2-1 libcryptsetup4_2:1.7.5-1 libcurl3-gnutls_7.60.0-2 libcurl4-gnutls-dev_7.60.0-2 libdap-dev_3.19.1-2 libdap25_3.19.1-2 libdapclient6v5_3.19.1-2 libdapserver7v5_3.19.1-2 libdb5.3_5.3.28-13.1 libdbus-1-3_1.12.8-3 libdebconfclient0_0.243 libdevmapper1.02.1_2:1.02.145-4.1+b4 libdpkg-perl_1.19.0.5 libdrm-common_2.4.92-1+rpi1 libdrm2_2.4.92-1+rpi1 libelf1_0.170-0.5 libepsilon-dev_0.9.2+dfsg-3 libepsilon1_0.9.2+dfsg-3 libexpat1_2.2.5-3 libexpat1-dev_2.2.5-3 libext2fs2_1.44.2-1 libfakeroot_1.22-2 libfdisk1_2.32-0.1 libffi6_3.2.1-8 libfile-stripnondeterminism-perl_0.042-1 libfontconfig1_2.13.0-5 libfreetype6_2.8.1-2 libfreexl-dev_1.0.5-2 libfreexl1_1.0.5-2 libfyba-dev_4.1.1-3 libfyba0_4.1.1-3 libgcc-7-dev_7.3.0-19 libgcc1_1:8.1.0-8+rpi1 libgcrypt20_1.8.3-1 libgdal-dev_2.3.1+dfsg-1 libgdal20_2.3.1+dfsg-1 libgdbm-compat4_1.14.1-6 libgdbm3_1.8.3-14 libgdbm5_1.14.1-6 libgeos-3.6.2_3.6.2-1 libgeos-c1v5_3.6.2-1 libgeos-dev_3.6.2-1 libgeotiff-dev_1.4.2-3 libgeotiff2_1.4.2-3 libgfortran4_7.3.0-19 libgif-dev_5.1.4-3 libgif7_5.1.4-3 libgirepository-1.0-1_1.56.1-1 libglib2.0-0_2.56.1-2 libglib2.0-bin_2.56.1-2 libglib2.0-data_2.56.1-2 libglib2.0-dev_2.56.1-2 libglib2.0-dev-bin_2.56.1-2 libgmp10_2:6.1.2+dfsg-3 libgnutls30_3.5.18-1 libgomp1_8.1.0-8+rpi1 libgpg-error0_1.31-1 libgraphite2-3_1.3.11-2 libgraphite2-dev_1.3.11-2 libgssapi-krb5-2_1.16-2 libharfbuzz-dev_1.8.4-1+rpi1 libharfbuzz-gobject0_1.8.4-1+rpi1 libharfbuzz-icu0_1.8.4-1+rpi1 libharfbuzz0b_1.8.4-1+rpi1 libhdf4-0-alt_4.2.13-3 libhdf4-alt-dev_4.2.13-3 libhdf5-100_1.10.0-patch1+docs-4+b2 libhdf5-cpp-100_1.10.0-patch1+docs-4+b2 libhdf5-dev_1.10.0-patch1+docs-4+b2 libhogweed4_3.4-1 libicu-dev_60.2-6 libicu-le-hb-dev_1.0.3+git161113-5 libicu-le-hb0_1.0.3+git161113-5 libicu60_60.2-6 libidn11_1.33-2.2 libidn2-0_2.0.4-1.1 libip4tc0_1.6.2-1 libisl19_0.19-1 libjbig-dev_2.1-3.1+b2 libjbig0_2.1-3.1+b2 libjpeg-dev_1:1.5.2-2 libjpeg62-turbo_1:1.5.2-2+b1 libjpeg62-turbo-dev_1:1.5.2-2+b1 libjs-jquery_3.2.1-1 libjs-sphinxdoc_1.7.6-1 libjs-underscore_1.8.3~dfsg-1 libjson-c-dev_0.12.1-1.3 libjson-c3_0.12.1-1.3 libk5crypto3_1.16-2 libkeyutils1_1.5.9-9.3 libklibc_2.0.4-11+rpi1 libkml-dev_1.3.0-6 libkmlbase1_1.3.0-6 libkmlconvenience1_1.3.0-6 libkmldom1_1.3.0-6 libkmlengine1_1.3.0-6 libkmlregionator1_1.3.0-6 libkmlxsd1_1.3.0-6 libkmod2_25-1 libkrb5-3_1.16-2 libkrb5support0_1.16-2 libksba8_1.3.5-2 liblapack-dev_3.8.0-1 liblapack3_3.8.0-1 liblcms2-2_2.9-2 libldap-2.4-2_2.4.46+dfsg-5+rpi1 libldap-common_2.4.46+dfsg-5+rpi1 liblocale-gettext-perl_1.07-3+b2 libltdl-dev_2.4.6-2.1 libltdl7_2.4.6-2.1 liblz4-1_1.8.2-1+rpi1 liblzma-dev_5.2.2-1.3 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.33-3 libmagic1_1:5.33-3 libmariadbclient-dev_1:10.1.29-6+b1 libmariadbclient-dev-compat_1:10.1.29-6+b1 libmariadbclient18_1:10.1.29-6+b1 libminizip-dev_1.1-8 libminizip1_1.1-8 libmount1_2.32-0.1 libmpc3_1.1.0-1 libmpdec2_2.4.2-2 libmpfr6_4.0.1-1 libncurses5_6.1+20180210-4 libncurses6_6.1+20180210-4 libncursesw5_6.1+20180210-4 libncursesw6_6.1+20180210-4 libnetcdf-dev_1:4.6.1-2 libnetcdf13_1:4.6.1-2 libnettle6_3.4-1 libnghttp2-14_1.32.0-1 libnpth0_1.5-4 libnspr4_2:4.19-3+rpi1 libnss-systemd_238-4 libnss3_2:3.38-1 libodbc1_2.3.6-0.1 libogdi3.2_3.2.1+ds-3 libogdi3.2-dev_3.2.1+ds-3 libopenjp2-7_2.3.0-1 libopenjp2-7-dev_2.3.0-1 libp11-kit0_0.23.12-2 libpam-modules_1.1.8-3.7 libpam-modules-bin_1.1.8-3.7 libpam-runtime_1.1.8-3.7 libpam-systemd_238-4 libpam0g_1.1.8-3.7 libpcre16-3_2:8.39-10 libpcre3_2:8.39-10 libpcre3-dev_2:8.39-10 libpcre32-3_2:8.39-10 libpcrecpp0v5_2:8.39-10 libperl5.26_5.26.2-6 libpipeline1_1.5.0-1 libplymouth4_0.9.3-3 libpng-dev_1.6.34-2+rpi1 libpng16-16_1.6.34-2+rpi1 libpoppler-dev_0.63.0-2 libpoppler-private-dev_0.63.0-2 libpoppler74_0.63.0-2 libpopt0_1.16-11 libpq-dev_10.4-2 libpq5_10.4-2 libprocps7_2:3.3.15-2 libproj-dev_5.1.0-1 libproj13_5.1.0-1 libpsl5_0.20.2-1 libpython-all-dev_2.7.15-3 libpython-dev_2.7.15-3 libpython-stdlib_2.7.15-3 libpython2-dev_2.7.15-3 libpython2-stdlib_2.7.15-3 libpython2.7_2.7.15-3 libpython2.7-dev_2.7.15-3 libpython2.7-minimal_2.7.15-3 libpython2.7-stdlib_2.7.15-3 libpython3-all-dev_3.6.5-3 libpython3-dev_3.6.5-3 libpython3-stdlib_3.6.5-3 libpython3.6_3.6.6-1 libpython3.6-dev_3.6.6-1 libpython3.6-minimal_3.6.6-1 libpython3.6-stdlib_3.6.6-1 libqhull-dev_2015.2-4 libqhull-r7_2015.2-4 libqhull7_2015.2-4 libreadline7_7.0-5 librtmp1_2.4+20151223.gitfa8646d.1-2 libsasl2-2_2.1.27~101-g0780600+dfsg-3.1 libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3.1 libseccomp2_2.3.3-2 libselinux1_2.8-1 libsemanage-common_2.8-1 libsemanage1_2.8-1 libsepol1_2.8-1 libsigsegv2_2.12-2 libsmartcols1_2.32-0.1 libspatialite-dev_4.3.0a-5+b2 libspatialite7_4.3.0a-5+b2 libsqlite3-0_3.24.0-1 libsqlite3-dev_3.24.0-1 libss2_1.44.2-1 libssh2-1_1.8.0-2 libssl1.1_1.1.0h-4 libstdc++-7-dev_7.3.0-19 libstdc++6_8.1.0-8+rpi1 libsuperlu-dev_5.2.1+dfsg1-3 libsuperlu5_5.2.1+dfsg1-3 libsystemd0_238-4 libsz2_1.0.2-1 libtasn1-6_4.13-3 libtext-charwidth-perl_0.04-7.1 libtext-iconv-perl_1.7-5+b9 libtext-wrapi18n-perl_0.06-7.1 libtiff-dev_4.0.9-6 libtiff5_4.0.9-6 libtiff5-dev_4.0.9-6 libtiffxx5_4.0.9-6 libtimedate-perl_2.3000-2 libtinfo5_6.1+20180210-4 libtinfo6_6.1+20180210-4 libtool_2.4.6-2.1 libubsan0_7.3.0-19 libudev1_238-4 libunistring2_0.9.8-1 liburiparser-dev_0.8.5-2 liburiparser1_0.8.5-2 libuuid1_2.32-0.3 libwebp-dev_0.6.1-2 libwebp6_0.6.1-2 libwebpdemux2_0.6.1-2 libwebpmux3_0.6.1-2 libxerces-c-dev_3.2.1+debian-2+b2 libxerces-c3.2_3.2.1+debian-2+b2 libxml2_2.9.4+dfsg1-7 libxml2-dev_2.9.4+dfsg1-7 libxslt1.1_1.1.32-2 libzstd-dev_1.3.4+dfsg-3+rpi1 libzstd1_1.3.4+dfsg-3+rpi1 linux-base_4.5 linux-libc-dev_4.16.12-1+rpi1 login_1:4.5-1 lsb-base_9.20170808+rpi1 m4_1.4.18-1 make_4.1-9.1 makedev_2.3.1-93 man-db_2.8.3-2 mawk_1.3.3-17 mime-support_3.61 mount_2.32-0.1 multiarch-support_2.27-3+rpi1 mysql-common_5.8+1.0.4 nano_2.9.8-1 ncurses-base_6.1+20180210-4 ncurses-bin_6.1+20180210-4 netbase_5.4 odbcinst_2.3.6-0.1 odbcinst1debian2_2.3.6-0.1 openssl_1.1.0h-4 passwd_1:4.5-1 patch_2.7.6-2 perl_5.26.2-6 perl-base_5.26.2-6 perl-modules-5.26_5.26.2-6 pinentry-curses_1.1.0-1 pkg-config_0.29-4 plymouth_0.9.3-3 po-debconf_1.0.20 procps_2:3.3.15-2 proj-data_5.1.0-1 python_2.7.15-3 python-affine_2.2.1-1 python-all_2.7.15-3 python-all-dev_2.7.15-3 python-atomicwrites_1.1.5-2 python-attr_17.4.0-2 python-boto3_1.4.2-1 python-botocore_1.10.55+repack-1 python-certifi_2018.4.16-1 python-chardet_3.0.4-1 python-click_6.7-5 python-click-plugins_1.0.2-2 python-cligj_0.4.0-2 python-colorama_0.3.7-1 python-concurrent.futures_3.2.0-1 python-coverage_4.5.1+dfsg.1-1 python-dateutil_2.6.1-1 python-dev_2.7.15-3 python-docutils_0.14+dfsg-3 python-enum34_1.1.6-2 python-funcsigs_1.0.2-4 python-hypothesis_3.44.1-2 python-idna_2.6-1 python-jmespath_0.9.3-1 python-lxml_4.2.3-1 python-minimal_2.7.15-3 python-more-itertools_4.2.0-1 python-numpy_1:1.14.5-1 python-packaging_17.1-1 python-pkg-resources_39.2.0-1 python-pluggy_0.6.0-1 python-py_1.5.4-1 python-pyparsing_2.2.0+dfsg1-2 python-pytest_3.6.4-1 python-requests_2.18.4-2 python-roman_2.0.0-3 python-s3transfer_0.1.13-1 python-setuptools_39.2.0-1 python-six_1.11.0-2 python-snuggs_1.4.2-1 python-urllib3_1.22-1 python2_2.7.15-3 python2-dev_2.7.15-3 python2-minimal_2.7.15-3 python2.7_2.7.15-3 python2.7-dev_2.7.15-3 python2.7-minimal_2.7.15-3 python3_3.6.5-3 python3-affine_2.2.1-1 python3-all_3.6.5-3 python3-all-dev_3.6.5-3 python3-atomicwrites_1.1.5-2 python3-attr_17.4.0-2 python3-boto3_1.4.2-1 python3-botocore_1.10.55+repack-1 python3-certifi_2018.4.16-1 python3-chardet_3.0.4-1 python3-click_6.7-5 python3-click-plugins_1.0.2-2 python3-cligj_0.4.0-2 python3-colorama_0.3.7-1 python3-coverage_4.5.1+dfsg.1-1 python3-dateutil_2.6.1-1 python3-dev_3.6.5-3 python3-distutils_3.6.6-1 python3-docutils_0.14+dfsg-3 python3-hypothesis_3.44.1-2 python3-idna_2.6-1 python3-jmespath_0.9.3-1 python3-lib2to3_3.6.6-1 python3-lxml_4.2.3-1 python3-minimal_3.6.5-3 python3-more-itertools_4.2.0-1 python3-numpy_1:1.14.5-1 python3-packaging_17.1-1 python3-pkg-resources_39.2.0-1 python3-pluggy_0.6.0-1 python3-py_1.5.4-1 python3-pyparsing_2.2.0+dfsg1-2 python3-pytest_3.6.4-1 python3-requests_2.18.4-2 python3-roman_2.0.0-3 python3-s3transfer_0.1.13-1 python3-setuptools_39.2.0-1 python3-six_1.11.0-2 python3-snuggs_1.4.2-1 python3-urllib3_1.22-1 python3.6_3.6.6-1 python3.6-dev_3.6.6-1 python3.6-minimal_3.6.6-1 raspbian-archive-keyring_20120528.2 readline-common_7.0-5 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-rasterio-dummy_0.invalid.0 sed_4.4-2 sensible-utils_0.0.12 sgml-base_1.29 systemd_238-4 systemd-sysv_238-4 sysvinit-utils_2.88dsf-59.10 tar_1.30+dfsg-2 tzdata_2018e-1 ucf_3.0038 udev_238-4 unixodbc-dev_2.3.6-0.1 util-linux_2.32-0.1 uuid-dev_2.32-0.3 xml-core_0.18 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-1 zlib1g-dev_1:1.2.11.dfsg-1

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Thu Aug  2 05:29:24 2018 UTC
gpgv:                using RSA key 8182DE417056408D614650D16750F10AE88D4AF1
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./rasterio_1.0.3-1.dsc
dpkg-source: info: extracting rasterio in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking rasterio_1.0.3.orig.tar.gz
dpkg-source: info: unpacking rasterio_1.0.3-1.debian.tar.xz
dpkg-source: info: applying 0001-Rename-rio-to-rasterio-Closes-788463.patch

Check disc space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=buster-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=buster-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=buster-staging-armhf-sbuild-62bf1b3f-8ba3-4541-9924-2bf68c935a1d
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package rasterio
dpkg-buildpackage: info: source version 1.0.3-1
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build rasterio-1.0.3
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean --with python2,python3 --buildsystem pybuild --parallel
   dh_testdir -O--buildsystem=pybuild -O--parallel
   dh_auto_clean -O--buildsystem=pybuild -O--parallel
I: pybuild base:217: python2.7 setup.py clean 
INFO:root:GDAL API version obtained from gdal-config: 2.3.1
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build' (and everything under it)
'build/bdist.linux-armhf' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
I: pybuild base:217: python3.6 setup.py clean 
INFO:root:GDAL API version obtained from gdal-config: 2.3.1
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build' (and everything under it)
'build/bdist.linux-armhf' does not exist -- can't clean it
'build/scripts-3.6' does not exist -- can't clean it
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
rm -f rasterio/*.c
rm -f rasterio/_*.cpp
rm -f VERSION.txt
rm -f gdal-config.txt
rm -f .coverage
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules build-arch
dh build-arch --with python2,python3 --buildsystem pybuild --parallel
   dh_testdir -a -O--buildsystem=pybuild -O--parallel
   dh_update_autotools_config -a -O--buildsystem=pybuild -O--parallel
   dh_auto_configure -a -O--buildsystem=pybuild -O--parallel
I: pybuild base:217: python2.7 setup.py config 
INFO:root:GDAL API version obtained from gdal-config: 2.3.1
INFO:root:MANIFEST.in found, presume a repo, cythonizing...
warning: rasterio/gdal.pxi:17:4: 'CPLErr' redeclared 
warning: rasterio/gdal.pxi:116:4: 'GDALDataType' redeclared 
warning: rasterio/gdal.pxi:131:4: 'GDALAccess' redeclared 
warning: rasterio/gdal.pxi:135:4: 'GDALRWFlag' redeclared 
warning: rasterio/gdal.pxi:139:4: 'GDALRIOResampleAlg' redeclared 
warning: rasterio/gdal.pxi:149:4: 'GDALColorInterp' redeclared 
warning: rasterio/gdal.pxi:387:4: 'GDALResampleAlg' redeclared 
warning: rasterio/gdal.pxi:18:8: 'CE_None' redeclared 
warning: rasterio/gdal.pxi:19:8: 'CE_Debug' redeclared 
warning: rasterio/gdal.pxi:20:8: 'CE_Warning' redeclared 
warning: rasterio/gdal.pxi:21:8: 'CE_Failure' redeclared 
warning: rasterio/gdal.pxi:22:8: 'CE_Fatal' redeclared 
warning: rasterio/gdal.pxi:26:4: 'CPLErrorHandler' redeclared 
warning: rasterio/gdal.pxi:31:30: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:32:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:53:4: 'vsi_l_offset' redeclared 
warning: rasterio/gdal.pxi:54:4: 'VSILFILE' redeclared 
warning: rasterio/gdal.pxi:75:4: 'OGRCoordinateTransformationH' redeclared 
warning: rasterio/gdal.pxi:76:4: 'OGRSpatialReferenceH' redeclared 
warning: rasterio/gdal.pxi:105:4: 'GDALMajorObjectH' redeclared 
warning: rasterio/gdal.pxi:106:4: 'GDALDatasetH' redeclared 
warning: rasterio/gdal.pxi:107:4: 'GDALRasterBandH' redeclared 
warning: rasterio/gdal.pxi:108:4: 'GDALDriverH' redeclared 
warning: rasterio/gdal.pxi:109:4: 'GDALColorTableH' redeclared 
warning: rasterio/gdal.pxi:110:4: 'GDALRasterAttributeTableH' redeclared 
warning: rasterio/gdal.pxi:111:4: 'GDALAsyncReaderH' redeclared 
warning: rasterio/gdal.pxi:113:4: 'GSpacing' redeclared 
warning: rasterio/gdal.pxi:114:4: 'GIntBig' redeclared 
warning: rasterio/gdal.pxi:117:8: 'GDT_Unknown' redeclared 
warning: rasterio/gdal.pxi:118:8: 'GDT_Byte' redeclared 
warning: rasterio/gdal.pxi:119:8: 'GDT_UInt16' redeclared 
warning: rasterio/gdal.pxi:120:8: 'GDT_Int16' redeclared 
warning: rasterio/gdal.pxi:121:8: 'GDT_UInt32' redeclared 
warning: rasterio/gdal.pxi:122:8: 'GDT_Int32' redeclared 
warning: rasterio/gdal.pxi:123:8: 'GDT_Float32' redeclared 
warning: rasterio/gdal.pxi:124:8: 'GDT_Float64' redeclared 
warning: rasterio/gdal.pxi:125:8: 'GDT_CInt16' redeclared 
warning: rasterio/gdal.pxi:126:8: 'GDT_CInt32' redeclared 
warning: rasterio/gdal.pxi:127:8: 'GDT_CFloat32' redeclared 
warning: rasterio/gdal.pxi:128:8: 'GDT_CFloat64' redeclared 
warning: rasterio/gdal.pxi:129:8: 'GDT_TypeCount' redeclared 
warning: rasterio/gdal.pxi:132:8: 'GA_ReadOnly' redeclared 
warning: rasterio/gdal.pxi:133:8: 'GA_Update' redeclared 
warning: rasterio/gdal.pxi:136:8: 'GF_Read' redeclared 
warning: rasterio/gdal.pxi:137:8: 'GF_Write' redeclared 
warning: rasterio/gdal.pxi:140:8: 'GRIORA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:141:8: 'GRIORA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:142:8: 'GRIORA_Cubic' redeclared 
warning: rasterio/gdal.pxi:143:8: 'GRIORA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:144:8: 'GRIORA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:145:8: 'GRIORA_Average' redeclared 
warning: rasterio/gdal.pxi:146:8: 'GRIORA_Mode' redeclared 
warning: rasterio/gdal.pxi:147:8: 'GRIORA_Gauss' redeclared 
warning: rasterio/gdal.pxi:150:8: 'GCI_Undefined' redeclared 
warning: rasterio/gdal.pxi:151:8: 'GCI_GrayIndex' redeclared 
warning: rasterio/gdal.pxi:152:8: 'GCI_PaletteIndex' redeclared 
warning: rasterio/gdal.pxi:153:8: 'GCI_RedBand' redeclared 
warning: rasterio/gdal.pxi:154:8: 'GCI_GreenBand' redeclared 
warning: rasterio/gdal.pxi:155:8: 'GCI_BlueBand' redeclared 
warning: rasterio/gdal.pxi:156:8: 'GCI_AlphaBand' redeclared 
warning: rasterio/gdal.pxi:157:8: 'GCI_HueBand' redeclared 
warning: rasterio/gdal.pxi:158:8: 'GCI_SaturationBand' redeclared 
warning: rasterio/gdal.pxi:159:8: 'GCI_LightnessBand' redeclared 
warning: rasterio/gdal.pxi:160:8: 'GCI_CyanBand' redeclared 
warning: rasterio/gdal.pxi:161:8: 'GCI_YCbCr_YBand' redeclared 
warning: rasterio/gdal.pxi:162:8: 'GCI_YCbCr_CbBand' redeclared 
warning: rasterio/gdal.pxi:163:8: 'GCI_YCbCr_CrBand' redeclared 
warning: rasterio/gdal.pxi:164:8: 'GCI_Max' redeclared 
warning: rasterio/gdal.pxi:190:25: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:191:31: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:205:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:220:27: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:242:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:255:22: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:264:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:266:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:271:4: 'OGRLayerH' redeclared 
warning: rasterio/gdal.pxi:272:4: 'OGRDataSourceH' redeclared 
warning: rasterio/gdal.pxi:273:4: 'OGRSFDriverH' redeclared 
warning: rasterio/gdal.pxi:274:4: 'OGRFieldDefnH' redeclared 
warning: rasterio/gdal.pxi:275:4: 'OGRFeatureDefnH' redeclared 
warning: rasterio/gdal.pxi:276:4: 'OGRFeatureH' redeclared 
warning: rasterio/gdal.pxi:277:4: 'OGRGeometryH' redeclared 
warning: rasterio/gdal.pxi:279:4: 'OGRErr' redeclared 
warning: rasterio/gdal.pxi:388:8: 'GRA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:389:8: 'GRA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:390:8: 'GRA_Cubic' redeclared 
warning: rasterio/gdal.pxi:391:8: 'GRA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:392:8: 'GRA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:393:8: 'GRA_Average' redeclared 
warning: rasterio/gdal.pxi:394:8: 'GRA_Mode' redeclared 
warning: rasterio/gdal.pxi:396:4: 'GDALMaskFunc' redeclared 
warning: rasterio/gdal.pxi:401:4: 'GDALTransformerFunc' redeclared 
warning: rasterio/gdal.pxi:460:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:54:4: 'VSILFILE' redeclared 
warning: rasterio/gdal.pxi:17:4: 'CPLErr' redeclared 
warning: rasterio/gdal.pxi:116:4: 'GDALDataType' redeclared 
warning: rasterio/gdal.pxi:131:4: 'GDALAccess' redeclared 
warning: rasterio/gdal.pxi:135:4: 'GDALRWFlag' redeclared 
warning: rasterio/gdal.pxi:139:4: 'GDALRIOResampleAlg' redeclared 
warning: rasterio/gdal.pxi:149:4: 'GDALColorInterp' redeclared 
warning: rasterio/gdal.pxi:387:4: 'GDALResampleAlg' redeclared 
warning: rasterio/gdal.pxi:18:8: 'CE_None' redeclared 
warning: rasterio/gdal.pxi:19:8: 'CE_Debug' redeclared 
warning: rasterio/gdal.pxi:20:8: 'CE_Warning' redeclared 
warning: rasterio/gdal.pxi:21:8: 'CE_Failure' redeclared 
warning: rasterio/gdal.pxi:22:8: 'CE_Fatal' redeclared 
warning: rasterio/gdal.pxi:26:4: 'CPLErrorHandler' redeclared 
warning: rasterio/gdal.pxi:31:30: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:32:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:53:4: 'vsi_l_offset' redeclared 
warning: rasterio/gdal.pxi:54:4: 'VSILFILE' redeclared 
warning: rasterio/gdal.pxi:75:4: 'OGRCoordinateTransformationH' redeclared 
warning: rasterio/gdal.pxi:76:4: 'OGRSpatialReferenceH' redeclared 
warning: rasterio/gdal.pxi:105:4: 'GDALMajorObjectH' redeclared 
warning: rasterio/gdal.pxi:106:4: 'GDALDatasetH' redeclared 
warning: rasterio/gdal.pxi:107:4: 'GDALRasterBandH' redeclared 
warning: rasterio/gdal.pxi:108:4: 'GDALDriverH' redeclared 
warning: rasterio/gdal.pxi:109:4: 'GDALColorTableH' redeclared 
warning: rasterio/gdal.pxi:110:4: 'GDALRasterAttributeTableH' redeclared 
warning: rasterio/gdal.pxi:111:4: 'GDALAsyncReaderH' redeclared 
warning: rasterio/gdal.pxi:113:4: 'GSpacing' redeclared 
warning: rasterio/gdal.pxi:114:4: 'GIntBig' redeclared 
warning: rasterio/gdal.pxi:117:8: 'GDT_Unknown' redeclared 
warning: rasterio/gdal.pxi:118:8: 'GDT_Byte' redeclared 
warning: rasterio/gdal.pxi:119:8: 'GDT_UInt16' redeclared 
warning: rasterio/gdal.pxi:120:8: 'GDT_Int16' redeclared 
warning: rasterio/gdal.pxi:121:8: 'GDT_UInt32' redeclared 
warning: rasterio/gdal.pxi:122:8: 'GDT_Int32' redeclared 
warning: rasterio/gdal.pxi:123:8: 'GDT_Float32' redeclared 
warning: rasterio/gdal.pxi:124:8: 'GDT_Float64' redeclared 
warning: rasterio/gdal.pxi:125:8: 'GDT_CInt16' redeclared 
warning: rasterio/gdal.pxi:126:8: 'GDT_CInt32' redeclared 
warning: rasterio/gdal.pxi:127:8: 'GDT_CFloat32' redeclared 
warning: rasterio/gdal.pxi:128:8: 'GDT_CFloat64' redeclared 
warning: rasterio/gdal.pxi:129:8: 'GDT_TypeCount' redeclared 
warning: rasterio/gdal.pxi:132:8: 'GA_ReadOnly' redeclared 
warning: rasterio/gdal.pxi:133:8: 'GA_Update' redeclared 
warning: rasterio/gdal.pxi:136:8: 'GF_Read' redeclared 
warning: rasterio/gdal.pxi:137:8: 'GF_Write' redeclared 
warning: rasterio/gdal.pxi:140:8: 'GRIORA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:141:8: 'GRIORA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:142:8: 'GRIORA_Cubic' redeclared 
warning: rasterio/gdal.pxi:143:8: 'GRIORA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:144:8: 'GRIORA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:145:8: 'GRIORA_Average' redeclared 
warning: rasterio/gdal.pxi:146:8: 'GRIORA_Mode' redeclared 
warning: rasterio/gdal.pxi:147:8: 'GRIORA_Gauss' redeclared 
warning: rasterio/gdal.pxi:150:8: 'GCI_Undefined' redeclared 
warning: rasterio/gdal.pxi:151:8: 'GCI_GrayIndex' redeclared 
warning: rasterio/gdal.pxi:152:8: 'GCI_PaletteIndex' redeclared 
warning: rasterio/gdal.pxi:153:8: 'GCI_RedBand' redeclared 
warning: rasterio/gdal.pxi:154:8: 'GCI_GreenBand' redeclared 
warning: rasterio/gdal.pxi:155:8: 'GCI_BlueBand' redeclared 
warning: rasterio/gdal.pxi:156:8: 'GCI_AlphaBand' redeclared 
warning: rasterio/gdal.pxi:157:8: 'GCI_HueBand' redeclared 
warning: rasterio/gdal.pxi:158:8: 'GCI_SaturationBand' redeclared 
warning: rasterio/gdal.pxi:159:8: 'GCI_LightnessBand' redeclared 
warning: rasterio/gdal.pxi:160:8: 'GCI_CyanBand' redeclared 
warning: rasterio/gdal.pxi:161:8: 'GCI_YCbCr_YBand' redeclared 
warning: rasterio/gdal.pxi:162:8: 'GCI_YCbCr_CbBand' redeclared 
warning: rasterio/gdal.pxi:163:8: 'GCI_YCbCr_CrBand' redeclared 
warning: rasterio/gdal.pxi:164:8: 'GCI_Max' redeclared 
warning: rasterio/gdal.pxi:190:25: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:191:31: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:205:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:220:27: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:242:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:255:22: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:264:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:266:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:271:4: 'OGRLayerH' redeclared 
warning: rasterio/gdal.pxi:272:4: 'OGRDataSourceH' redeclared 
warning: rasterio/gdal.pxi:273:4: 'OGRSFDriverH' redeclared 
warning: rasterio/gdal.pxi:274:4: 'OGRFieldDefnH' redeclared 
warning: rasterio/gdal.pxi:275:4: 'OGRFeatureDefnH' redeclared 
warning: rasterio/gdal.pxi:276:4: 'OGRFeatureH' redeclared 
warning: rasterio/gdal.pxi:277:4: 'OGRGeometryH' redeclared 
warning: rasterio/gdal.pxi:279:4: 'OGRErr' redeclared 
warning: rasterio/gdal.pxi:388:8: 'GRA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:389:8: 'GRA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:390:8: 'GRA_Cubic' redeclared 
warning: rasterio/gdal.pxi:391:8: 'GRA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:392:8: 'GRA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:393:8: 'GRA_Average' redeclared 
warning: rasterio/gdal.pxi:394:8: 'GRA_Mode' redeclared 
warning: rasterio/gdal.pxi:396:4: 'GDALMaskFunc' redeclared 
warning: rasterio/gdal.pxi:401:4: 'GDALTransformerFunc' redeclared 
warning: rasterio/gdal.pxi:460:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:17:4: 'CPLErr' redeclared 
warning: rasterio/gdal.pxi:116:4: 'GDALDataType' redeclared 
warning: rasterio/gdal.pxi:131:4: 'GDALAccess' redeclared 
warning: rasterio/gdal.pxi:135:4: 'GDALRWFlag' redeclared 
warning: rasterio/gdal.pxi:139:4: 'GDALRIOResampleAlg' redeclared 
warning: rasterio/gdal.pxi:149:4: 'GDALColorInterp' redeclared 
warning: rasterio/gdal.pxi:387:4: 'GDALResampleAlg' redeclared 
warning: rasterio/gdal.pxi:18:8: 'CE_None' redeclared 
warning: rasterio/gdal.pxi:19:8: 'CE_Debug' redeclared 
warning: rasterio/gdal.pxi:20:8: 'CE_Warning' redeclared 
warning: rasterio/gdal.pxi:21:8: 'CE_Failure' redeclared 
warning: rasterio/gdal.pxi:22:8: 'CE_Fatal' redeclared 
warning: rasterio/gdal.pxi:26:4: 'CPLErrorHandler' redeclared 
warning: rasterio/gdal.pxi:31:30: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:32:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:53:4: 'vsi_l_offset' redeclared 
warning: rasterio/gdal.pxi:54:4: 'VSILFILE' redeclared 
warning: rasterio/gdal.pxi:75:4: 'OGRCoordinateTransformationH' redeclared 
warning: rasterio/gdal.pxi:76:4: 'OGRSpatialReferenceH' redeclared 
warning: rasterio/gdal.pxi:105:4: 'GDALMajorObjectH' redeclared 
warning: rasterio/gdal.pxi:106:4: 'GDALDatasetH' redeclared 
warning: rasterio/gdal.pxi:107:4: 'GDALRasterBandH' redeclared 
warning: rasterio/gdal.pxi:108:4: 'GDALDriverH' redeclared 
warning: rasterio/gdal.pxi:109:4: 'GDALColorTableH' redeclared 
warning: rasterio/gdal.pxi:110:4: 'GDALRasterAttributeTableH' redeclared 
warning: rasterio/gdal.pxi:111:4: 'GDALAsyncReaderH' redeclared 
warning: rasterio/gdal.pxi:113:4: 'GSpacing' redeclared 
warning: rasterio/gdal.pxi:114:4: 'GIntBig' redeclared 
warning: rasterio/gdal.pxi:117:8: 'GDT_Unknown' redeclared 
warning: rasterio/gdal.pxi:118:8: 'GDT_Byte' redeclared 
warning: rasterio/gdal.pxi:119:8: 'GDT_UInt16' redeclared 
warning: rasterio/gdal.pxi:120:8: 'GDT_Int16' redeclared 
warning: rasterio/gdal.pxi:121:8: 'GDT_UInt32' redeclared 
warning: rasterio/gdal.pxi:122:8: 'GDT_Int32' redeclared 
warning: rasterio/gdal.pxi:123:8: 'GDT_Float32' redeclared 
warning: rasterio/gdal.pxi:124:8: 'GDT_Float64' redeclared 
warning: rasterio/gdal.pxi:125:8: 'GDT_CInt16' redeclared 
warning: rasterio/gdal.pxi:126:8: 'GDT_CInt32' redeclared 
warning: rasterio/gdal.pxi:127:8: 'GDT_CFloat32' redeclared 
warning: rasterio/gdal.pxi:128:8: 'GDT_CFloat64' redeclared 
warning: rasterio/gdal.pxi:129:8: 'GDT_TypeCount' redeclared 
warning: rasterio/gdal.pxi:132:8: 'GA_ReadOnly' redeclared 
warning: rasterio/gdal.pxi:133:8: 'GA_Update' redeclared 
warning: rasterio/gdal.pxi:136:8: 'GF_Read' redeclared 
warning: rasterio/gdal.pxi:137:8: 'GF_Write' redeclared 
warning: rasterio/gdal.pxi:140:8: 'GRIORA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:141:8: 'GRIORA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:142:8: 'GRIORA_Cubic' redeclared 
warning: rasterio/gdal.pxi:143:8: 'GRIORA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:144:8: 'GRIORA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:145:8: 'GRIORA_Average' redeclared 
warning: rasterio/gdal.pxi:146:8: 'GRIORA_Mode' redeclared 
warning: rasterio/gdal.pxi:147:8: 'GRIORA_Gauss' redeclared 
warning: rasterio/gdal.pxi:150:8: 'GCI_Undefined' redeclared 
warning: rasterio/gdal.pxi:151:8: 'GCI_GrayIndex' redeclared 
warning: rasterio/gdal.pxi:152:8: 'GCI_PaletteIndex' redeclared 
warning: rasterio/gdal.pxi:153:8: 'GCI_RedBand' redeclared 
warning: rasterio/gdal.pxi:154:8: 'GCI_GreenBand' redeclared 
warning: rasterio/gdal.pxi:155:8: 'GCI_BlueBand' redeclared 
warning: rasterio/gdal.pxi:156:8: 'GCI_AlphaBand' redeclared 
warning: rasterio/gdal.pxi:157:8: 'GCI_HueBand' redeclared 
warning: rasterio/gdal.pxi:158:8: 'GCI_SaturationBand' redeclared 
warning: rasterio/gdal.pxi:159:8: 'GCI_LightnessBand' redeclared 
warning: rasterio/gdal.pxi:160:8: 'GCI_CyanBand' redeclared 
warning: rasterio/gdal.pxi:161:8: 'GCI_YCbCr_YBand' redeclared 
warning: rasterio/gdal.pxi:162:8: 'GCI_YCbCr_CbBand' redeclared 
warning: rasterio/gdal.pxi:163:8: 'GCI_YCbCr_CrBand' redeclared 
warning: rasterio/gdal.pxi:164:8: 'GCI_Max' redeclared 
warning: rasterio/gdal.pxi:190:25: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:191:31: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:205:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:220:27: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:242:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:255:22: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:264:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:266:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:271:4: 'OGRLayerH' redeclared 
warning: rasterio/gdal.pxi:272:4: 'OGRDataSourceH' redeclared 
warning: rasterio/gdal.pxi:273:4: 'OGRSFDriverH' redeclared 
warning: rasterio/gdal.pxi:274:4: 'OGRFieldDefnH' redeclared 
warning: rasterio/gdal.pxi:275:4: 'OGRFeatureDefnH' redeclared 
warning: rasterio/gdal.pxi:276:4: 'OGRFeatureH' redeclared 
warning: rasterio/gdal.pxi:277:4: 'OGRGeometryH' redeclared 
warning: rasterio/gdal.pxi:279:4: 'OGRErr' redeclared 
warning: rasterio/gdal.pxi:388:8: 'GRA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:389:8: 'GRA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:390:8: 'GRA_Cubic' redeclared 
warning: rasterio/gdal.pxi:391:8: 'GRA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:392:8: 'GRA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:393:8: 'GRA_Average' redeclared 
warning: rasterio/gdal.pxi:394:8: 'GRA_Mode' redeclared 
warning: rasterio/gdal.pxi:396:4: 'GDALMaskFunc' redeclared 
warning: rasterio/gdal.pxi:401:4: 'GDALTransformerFunc' redeclared 
warning: rasterio/gdal.pxi:460:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:17:4: 'CPLErr' redeclared 
warning: rasterio/gdal.pxi:116:4: 'GDALDataType' redeclared 
warning: rasterio/gdal.pxi:131:4: 'GDALAccess' redeclared 
warning: rasterio/gdal.pxi:135:4: 'GDALRWFlag' redeclared 
warning: rasterio/gdal.pxi:139:4: 'GDALRIOResampleAlg' redeclared 
warning: rasterio/gdal.pxi:149:4: 'GDALColorInterp' redeclared 
warning: rasterio/gdal.pxi:387:4: 'GDALResampleAlg' redeclared 
warning: rasterio/gdal.pxi:18:8: 'CE_None' redeclared 
warning: rasterio/gdal.pxi:19:8: 'CE_Debug' redeclared 
warning: rasterio/gdal.pxi:20:8: 'CE_Warning' redeclared 
warning: rasterio/gdal.pxi:21:8: 'CE_Failure' redeclared 
warning: rasterio/gdal.pxi:22:8: 'CE_Fatal' redeclared 
warning: rasterio/gdal.pxi:26:4: 'CPLErrorHandler' redeclared 
warning: rasterio/gdal.pxi:31:30: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:32:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:53:4: 'vsi_l_offset' redeclared 
warning: rasterio/gdal.pxi:54:4: 'VSILFILE' redeclared 
warning: rasterio/gdal.pxi:75:4: 'OGRCoordinateTransformationH' redeclared 
warning: rasterio/gdal.pxi:76:4: 'OGRSpatialReferenceH' redeclared 
warning: rasterio/gdal.pxi:105:4: 'GDALMajorObjectH' redeclared 
warning: rasterio/gdal.pxi:106:4: 'GDALDatasetH' redeclared 
warning: rasterio/gdal.pxi:107:4: 'GDALRasterBandH' redeclared 
warning: rasterio/gdal.pxi:108:4: 'GDALDriverH' redeclared 
warning: rasterio/gdal.pxi:109:4: 'GDALColorTableH' redeclared 
warning: rasterio/gdal.pxi:110:4: 'GDALRasterAttributeTableH' redeclared 
warning: rasterio/gdal.pxi:111:4: 'GDALAsyncReaderH' redeclared 
warning: rasterio/gdal.pxi:113:4: 'GSpacing' redeclared 
warning: rasterio/gdal.pxi:114:4: 'GIntBig' redeclared 
warning: rasterio/gdal.pxi:117:8: 'GDT_Unknown' redeclared 
warning: rasterio/gdal.pxi:118:8: 'GDT_Byte' redeclared 
warning: rasterio/gdal.pxi:119:8: 'GDT_UInt16' redeclared 
warning: rasterio/gdal.pxi:120:8: 'GDT_Int16' redeclared 
warning: rasterio/gdal.pxi:121:8: 'GDT_UInt32' redeclared 
warning: rasterio/gdal.pxi:122:8: 'GDT_Int32' redeclared 
warning: rasterio/gdal.pxi:123:8: 'GDT_Float32' redeclared 
warning: rasterio/gdal.pxi:124:8: 'GDT_Float64' redeclared 
warning: rasterio/gdal.pxi:125:8: 'GDT_CInt16' redeclared 
warning: rasterio/gdal.pxi:126:8: 'GDT_CInt32' redeclared 
warning: rasterio/gdal.pxi:127:8: 'GDT_CFloat32' redeclared 
warning: rasterio/gdal.pxi:128:8: 'GDT_CFloat64' redeclared 
warning: rasterio/gdal.pxi:129:8: 'GDT_TypeCount' redeclared 
warning: rasterio/gdal.pxi:132:8: 'GA_ReadOnly' redeclared 
warning: rasterio/gdal.pxi:133:8: 'GA_Update' redeclared 
warning: rasterio/gdal.pxi:136:8: 'GF_Read' redeclared 
warning: rasterio/gdal.pxi:137:8: 'GF_Write' redeclared 
warning: rasterio/gdal.pxi:140:8: 'GRIORA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:141:8: 'GRIORA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:142:8: 'GRIORA_Cubic' redeclared 
warning: rasterio/gdal.pxi:143:8: 'GRIORA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:144:8: 'GRIORA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:145:8: 'GRIORA_Average' redeclared 
warning: rasterio/gdal.pxi:146:8: 'GRIORA_Mode' redeclared 
warning: rasterio/gdal.pxi:147:8: 'GRIORA_Gauss' redeclared 
warning: rasterio/gdal.pxi:150:8: 'GCI_Undefined' redeclared 
warning: rasterio/gdal.pxi:151:8: 'GCI_GrayIndex' redeclared 
warning: rasterio/gdal.pxi:152:8: 'GCI_PaletteIndex' redeclared 
warning: rasterio/gdal.pxi:153:8: 'GCI_RedBand' redeclared 
warning: rasterio/gdal.pxi:154:8: 'GCI_GreenBand' redeclared 
warning: rasterio/gdal.pxi:155:8: 'GCI_BlueBand' redeclared 
warning: rasterio/gdal.pxi:156:8: 'GCI_AlphaBand' redeclared 
warning: rasterio/gdal.pxi:157:8: 'GCI_HueBand' redeclared 
warning: rasterio/gdal.pxi:158:8: 'GCI_SaturationBand' redeclared 
warning: rasterio/gdal.pxi:159:8: 'GCI_LightnessBand' redeclared 
warning: rasterio/gdal.pxi:160:8: 'GCI_CyanBand' redeclared 
warning: rasterio/gdal.pxi:161:8: 'GCI_YCbCr_YBand' redeclared 
warning: rasterio/gdal.pxi:162:8: 'GCI_YCbCr_CbBand' redeclared 
warning: rasterio/gdal.pxi:163:8: 'GCI_YCbCr_CrBand' redeclared 
warning: rasterio/gdal.pxi:164:8: 'GCI_Max' redeclared 
warning: rasterio/gdal.pxi:190:25: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:191:31: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:205:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:220:27: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:242:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:255:22: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:264:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:266:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:271:4: 'OGRLayerH' redeclared 
warning: rasterio/gdal.pxi:272:4: 'OGRDataSourceH' redeclared 
warning: rasterio/gdal.pxi:273:4: 'OGRSFDriverH' redeclared 
warning: rasterio/gdal.pxi:274:4: 'OGRFieldDefnH' redeclared 
warning: rasterio/gdal.pxi:275:4: 'OGRFeatureDefnH' redeclared 
warning: rasterio/gdal.pxi:276:4: 'OGRFeatureH' redeclared 
warning: rasterio/gdal.pxi:277:4: 'OGRGeometryH' redeclared 
warning: rasterio/gdal.pxi:279:4: 'OGRErr' redeclared 
warning: rasterio/gdal.pxi:388:8: 'GRA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:389:8: 'GRA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:390:8: 'GRA_Cubic' redeclared 
warning: rasterio/gdal.pxi:391:8: 'GRA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:392:8: 'GRA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:393:8: 'GRA_Average' redeclared 
warning: rasterio/gdal.pxi:394:8: 'GRA_Mode' redeclared 
warning: rasterio/gdal.pxi:396:4: 'GDALMaskFunc' redeclared 
warning: rasterio/gdal.pxi:401:4: 'GDALTransformerFunc' redeclared 
warning: rasterio/gdal.pxi:460:40: Function signature does not match previous declaration
warning: rasterio/shim_rasterioex.pxi:123:32: Use boundscheck(False) for faster access
warning: rasterio/gdal.pxi:387:4: 'GDALResampleAlg' redeclared 
warning: rasterio/gdal.pxi:401:4: 'GDALTransformerFunc' redeclared 
running config
I: pybuild base:217: python3.6 setup.py config 
INFO:root:GDAL API version obtained from gdal-config: 2.3.1
INFO:root:MANIFEST.in found, presume a repo, cythonizing...
running config
warning: rasterio/gdal.pxi:17:4: 'CPLErr' redeclared 
warning: rasterio/gdal.pxi:116:4: 'GDALDataType' redeclared 
warning: rasterio/gdal.pxi:131:4: 'GDALAccess' redeclared 
warning: rasterio/gdal.pxi:135:4: 'GDALRWFlag' redeclared 
warning: rasterio/gdal.pxi:139:4: 'GDALRIOResampleAlg' redeclared 
warning: rasterio/gdal.pxi:149:4: 'GDALColorInterp' redeclared 
warning: rasterio/gdal.pxi:387:4: 'GDALResampleAlg' redeclared 
warning: rasterio/gdal.pxi:18:8: 'CE_None' redeclared 
warning: rasterio/gdal.pxi:19:8: 'CE_Debug' redeclared 
warning: rasterio/gdal.pxi:20:8: 'CE_Warning' redeclared 
warning: rasterio/gdal.pxi:21:8: 'CE_Failure' redeclared 
warning: rasterio/gdal.pxi:22:8: 'CE_Fatal' redeclared 
warning: rasterio/gdal.pxi:26:4: 'CPLErrorHandler' redeclared 
warning: rasterio/gdal.pxi:31:30: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:32:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:53:4: 'vsi_l_offset' redeclared 
warning: rasterio/gdal.pxi:54:4: 'VSILFILE' redeclared 
warning: rasterio/gdal.pxi:75:4: 'OGRCoordinateTransformationH' redeclared 
warning: rasterio/gdal.pxi:76:4: 'OGRSpatialReferenceH' redeclared 
warning: rasterio/gdal.pxi:105:4: 'GDALMajorObjectH' redeclared 
warning: rasterio/gdal.pxi:106:4: 'GDALDatasetH' redeclared 
warning: rasterio/gdal.pxi:107:4: 'GDALRasterBandH' redeclared 
warning: rasterio/gdal.pxi:108:4: 'GDALDriverH' redeclared 
warning: rasterio/gdal.pxi:109:4: 'GDALColorTableH' redeclared 
warning: rasterio/gdal.pxi:110:4: 'GDALRasterAttributeTableH' redeclared 
warning: rasterio/gdal.pxi:111:4: 'GDALAsyncReaderH' redeclared 
warning: rasterio/gdal.pxi:113:4: 'GSpacing' redeclared 
warning: rasterio/gdal.pxi:114:4: 'GIntBig' redeclared 
warning: rasterio/gdal.pxi:117:8: 'GDT_Unknown' redeclared 
warning: rasterio/gdal.pxi:118:8: 'GDT_Byte' redeclared 
warning: rasterio/gdal.pxi:119:8: 'GDT_UInt16' redeclared 
warning: rasterio/gdal.pxi:120:8: 'GDT_Int16' redeclared 
warning: rasterio/gdal.pxi:121:8: 'GDT_UInt32' redeclared 
warning: rasterio/gdal.pxi:122:8: 'GDT_Int32' redeclared 
warning: rasterio/gdal.pxi:123:8: 'GDT_Float32' redeclared 
warning: rasterio/gdal.pxi:124:8: 'GDT_Float64' redeclared 
warning: rasterio/gdal.pxi:125:8: 'GDT_CInt16' redeclared 
warning: rasterio/gdal.pxi:126:8: 'GDT_CInt32' redeclared 
warning: rasterio/gdal.pxi:127:8: 'GDT_CFloat32' redeclared 
warning: rasterio/gdal.pxi:128:8: 'GDT_CFloat64' redeclared 
warning: rasterio/gdal.pxi:129:8: 'GDT_TypeCount' redeclared 
warning: rasterio/gdal.pxi:132:8: 'GA_ReadOnly' redeclared 
warning: rasterio/gdal.pxi:133:8: 'GA_Update' redeclared 
warning: rasterio/gdal.pxi:136:8: 'GF_Read' redeclared 
warning: rasterio/gdal.pxi:137:8: 'GF_Write' redeclared 
warning: rasterio/gdal.pxi:140:8: 'GRIORA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:141:8: 'GRIORA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:142:8: 'GRIORA_Cubic' redeclared 
warning: rasterio/gdal.pxi:143:8: 'GRIORA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:144:8: 'GRIORA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:145:8: 'GRIORA_Average' redeclared 
warning: rasterio/gdal.pxi:146:8: 'GRIORA_Mode' redeclared 
warning: rasterio/gdal.pxi:147:8: 'GRIORA_Gauss' redeclared 
warning: rasterio/gdal.pxi:150:8: 'GCI_Undefined' redeclared 
warning: rasterio/gdal.pxi:151:8: 'GCI_GrayIndex' redeclared 
warning: rasterio/gdal.pxi:152:8: 'GCI_PaletteIndex' redeclared 
warning: rasterio/gdal.pxi:153:8: 'GCI_RedBand' redeclared 
warning: rasterio/gdal.pxi:154:8: 'GCI_GreenBand' redeclared 
warning: rasterio/gdal.pxi:155:8: 'GCI_BlueBand' redeclared 
warning: rasterio/gdal.pxi:156:8: 'GCI_AlphaBand' redeclared 
warning: rasterio/gdal.pxi:157:8: 'GCI_HueBand' redeclared 
warning: rasterio/gdal.pxi:158:8: 'GCI_SaturationBand' redeclared 
warning: rasterio/gdal.pxi:159:8: 'GCI_LightnessBand' redeclared 
warning: rasterio/gdal.pxi:160:8: 'GCI_CyanBand' redeclared 
warning: rasterio/gdal.pxi:161:8: 'GCI_YCbCr_YBand' redeclared 
warning: rasterio/gdal.pxi:162:8: 'GCI_YCbCr_CbBand' redeclared 
warning: rasterio/gdal.pxi:163:8: 'GCI_YCbCr_CrBand' redeclared 
warning: rasterio/gdal.pxi:164:8: 'GCI_Max' redeclared 
warning: rasterio/gdal.pxi:190:25: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:191:31: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:205:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:220:27: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:242:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:255:22: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:264:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:266:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:271:4: 'OGRLayerH' redeclared 
warning: rasterio/gdal.pxi:272:4: 'OGRDataSourceH' redeclared 
warning: rasterio/gdal.pxi:273:4: 'OGRSFDriverH' redeclared 
warning: rasterio/gdal.pxi:274:4: 'OGRFieldDefnH' redeclared 
warning: rasterio/gdal.pxi:275:4: 'OGRFeatureDefnH' redeclared 
warning: rasterio/gdal.pxi:276:4: 'OGRFeatureH' redeclared 
warning: rasterio/gdal.pxi:277:4: 'OGRGeometryH' redeclared 
warning: rasterio/gdal.pxi:279:4: 'OGRErr' redeclared 
warning: rasterio/gdal.pxi:388:8: 'GRA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:389:8: 'GRA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:390:8: 'GRA_Cubic' redeclared 
warning: rasterio/gdal.pxi:391:8: 'GRA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:392:8: 'GRA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:393:8: 'GRA_Average' redeclared 
warning: rasterio/gdal.pxi:394:8: 'GRA_Mode' redeclared 
warning: rasterio/gdal.pxi:396:4: 'GDALMaskFunc' redeclared 
warning: rasterio/gdal.pxi:401:4: 'GDALTransformerFunc' redeclared 
warning: rasterio/gdal.pxi:460:40: Function signature does not match previous declaration
warning: rasterio/shim_rasterioex.pxi:123:32: Use boundscheck(False) for faster access
   dh_auto_build -a -O--buildsystem=pybuild -O--parallel
I: pybuild base:217: /usr/bin/python setup.py build 
INFO:root:GDAL API version obtained from gdal-config: 2.3.1
INFO:root:MANIFEST.in found, presume a repo, cythonizing...
warning: rasterio/gdal.pxi:17:4: 'CPLErr' redeclared 
warning: rasterio/gdal.pxi:116:4: 'GDALDataType' redeclared 
warning: rasterio/gdal.pxi:131:4: 'GDALAccess' redeclared 
warning: rasterio/gdal.pxi:135:4: 'GDALRWFlag' redeclared 
warning: rasterio/gdal.pxi:139:4: 'GDALRIOResampleAlg' redeclared 
warning: rasterio/gdal.pxi:149:4: 'GDALColorInterp' redeclared 
warning: rasterio/gdal.pxi:387:4: 'GDALResampleAlg' redeclared 
warning: rasterio/gdal.pxi:18:8: 'CE_None' redeclared 
warning: rasterio/gdal.pxi:19:8: 'CE_Debug' redeclared 
warning: rasterio/gdal.pxi:20:8: 'CE_Warning' redeclared 
warning: rasterio/gdal.pxi:21:8: 'CE_Failure' redeclared 
warning: rasterio/gdal.pxi:22:8: 'CE_Fatal' redeclared 
warning: rasterio/gdal.pxi:26:4: 'CPLErrorHandler' redeclared 
warning: rasterio/gdal.pxi:31:30: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:32:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:53:4: 'vsi_l_offset' redeclared 
warning: rasterio/gdal.pxi:54:4: 'VSILFILE' redeclared 
warning: rasterio/gdal.pxi:75:4: 'OGRCoordinateTransformationH' redeclared 
warning: rasterio/gdal.pxi:76:4: 'OGRSpatialReferenceH' redeclared 
warning: rasterio/gdal.pxi:105:4: 'GDALMajorObjectH' redeclared 
warning: rasterio/gdal.pxi:106:4: 'GDALDatasetH' redeclared 
warning: rasterio/gdal.pxi:107:4: 'GDALRasterBandH' redeclared 
warning: rasterio/gdal.pxi:108:4: 'GDALDriverH' redeclared 
warning: rasterio/gdal.pxi:109:4: 'GDALColorTableH' redeclared 
warning: rasterio/gdal.pxi:110:4: 'GDALRasterAttributeTableH' redeclared 
warning: rasterio/gdal.pxi:111:4: 'GDALAsyncReaderH' redeclared 
warning: rasterio/gdal.pxi:113:4: 'GSpacing' redeclared 
warning: rasterio/gdal.pxi:114:4: 'GIntBig' redeclared 
warning: rasterio/gdal.pxi:117:8: 'GDT_Unknown' redeclared 
warning: rasterio/gdal.pxi:118:8: 'GDT_Byte' redeclared 
warning: rasterio/gdal.pxi:119:8: 'GDT_UInt16' redeclared 
warning: rasterio/gdal.pxi:120:8: 'GDT_Int16' redeclared 
warning: rasterio/gdal.pxi:121:8: 'GDT_UInt32' redeclared 
warning: rasterio/gdal.pxi:122:8: 'GDT_Int32' redeclared 
warning: rasterio/gdal.pxi:123:8: 'GDT_Float32' redeclared 
warning: rasterio/gdal.pxi:124:8: 'GDT_Float64' redeclared 
warning: rasterio/gdal.pxi:125:8: 'GDT_CInt16' redeclared 
warning: rasterio/gdal.pxi:126:8: 'GDT_CInt32' redeclared 
warning: rasterio/gdal.pxi:127:8: 'GDT_CFloat32' redeclared 
warning: rasterio/gdal.pxi:128:8: 'GDT_CFloat64' redeclared 
warning: rasterio/gdal.pxi:129:8: 'GDT_TypeCount' redeclared 
warning: rasterio/gdal.pxi:132:8: 'GA_ReadOnly' redeclared 
warning: rasterio/gdal.pxi:133:8: 'GA_Update' redeclared 
warning: rasterio/gdal.pxi:136:8: 'GF_Read' redeclared 
warning: rasterio/gdal.pxi:137:8: 'GF_Write' redeclared 
warning: rasterio/gdal.pxi:140:8: 'GRIORA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:141:8: 'GRIORA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:142:8: 'GRIORA_Cubic' redeclared 
warning: rasterio/gdal.pxi:143:8: 'GRIORA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:144:8: 'GRIORA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:145:8: 'GRIORA_Average' redeclared 
warning: rasterio/gdal.pxi:146:8: 'GRIORA_Mode' redeclared 
warning: rasterio/gdal.pxi:147:8: 'GRIORA_Gauss' redeclared 
warning: rasterio/gdal.pxi:150:8: 'GCI_Undefined' redeclared 
warning: rasterio/gdal.pxi:151:8: 'GCI_GrayIndex' redeclared 
warning: rasterio/gdal.pxi:152:8: 'GCI_PaletteIndex' redeclared 
warning: rasterio/gdal.pxi:153:8: 'GCI_RedBand' redeclared 
warning: rasterio/gdal.pxi:154:8: 'GCI_GreenBand' redeclared 
warning: rasterio/gdal.pxi:155:8: 'GCI_BlueBand' redeclared 
warning: rasterio/gdal.pxi:156:8: 'GCI_AlphaBand' redeclared 
warning: rasterio/gdal.pxi:157:8: 'GCI_HueBand' redeclared 
warning: rasterio/gdal.pxi:158:8: 'GCI_SaturationBand' redeclared 
warning: rasterio/gdal.pxi:159:8: 'GCI_LightnessBand' redeclared 
warning: rasterio/gdal.pxi:160:8: 'GCI_CyanBand' redeclared 
warning: rasterio/gdal.pxi:161:8: 'GCI_YCbCr_YBand' redeclared 
warning: rasterio/gdal.pxi:162:8: 'GCI_YCbCr_CbBand' redeclared 
warning: rasterio/gdal.pxi:163:8: 'GCI_YCbCr_CrBand' redeclared 
warning: rasterio/gdal.pxi:164:8: 'GCI_Max' redeclared 
warning: rasterio/gdal.pxi:190:25: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:191:31: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:205:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:220:27: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:242:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:255:22: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:264:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:266:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:271:4: 'OGRLayerH' redeclared 
warning: rasterio/gdal.pxi:272:4: 'OGRDataSourceH' redeclared 
warning: rasterio/gdal.pxi:273:4: 'OGRSFDriverH' redeclared 
warning: rasterio/gdal.pxi:274:4: 'OGRFieldDefnH' redeclared 
warning: rasterio/gdal.pxi:275:4: 'OGRFeatureDefnH' redeclared 
warning: rasterio/gdal.pxi:276:4: 'OGRFeatureH' redeclared 
warning: rasterio/gdal.pxi:277:4: 'OGRGeometryH' redeclared 
warning: rasterio/gdal.pxi:279:4: 'OGRErr' redeclared 
warning: rasterio/gdal.pxi:388:8: 'GRA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:389:8: 'GRA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:390:8: 'GRA_Cubic' redeclared 
warning: rasterio/gdal.pxi:391:8: 'GRA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:392:8: 'GRA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:393:8: 'GRA_Average' redeclared 
warning: rasterio/gdal.pxi:394:8: 'GRA_Mode' redeclared 
warning: rasterio/gdal.pxi:396:4: 'GDALMaskFunc' redeclared 
warning: rasterio/gdal.pxi:401:4: 'GDALTransformerFunc' redeclared 
warning: rasterio/gdal.pxi:460:40: Function signature does not match previous declaration
warning: rasterio/shim_rasterioex.pxi:123:32: Use boundscheck(False) for faster access
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/control.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/coords.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/crs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/drivers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/dtypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/enums.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/env.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/errors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/features.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/fill.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/mask.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/merge.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/plot.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/profiles.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/sample.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/tools.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/transform.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/vrt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/warp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
copying ./rasterio/windows.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio
creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/blocks.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/bounds.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/calc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/clip.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/convert.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/edit_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/env.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/gcps.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/insp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/mask.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/merge.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/options.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/overview.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/rasterize.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/rm.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/sample.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/shapes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/stack.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/transform.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
copying ./rasterio/rio/warp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio
running egg_info
creating rasterio.egg-info
writing requirements to rasterio.egg-info/requires.txt
writing rasterio.egg-info/PKG-INFO
writing top-level names to rasterio.egg-info/top_level.txt
writing dependency_links to rasterio.egg-info/dependency_links.txt
writing entry points to rasterio.egg-info/entry_points.txt
writing manifest file 'rasterio.egg-info/SOURCES.txt'
reading manifest file 'rasterio.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '*.txt'
warning: no previously-included files matching '*.tif' found under directory 'tests/data'
warning: no files found matching '*.txt' under directory 'tests/data'
writing manifest file 'rasterio.egg-info/SOURCES.txt'
running build_ext
building 'rasterio._base' extension
creating build
creating build/temp.linux-armhf-2.7
creating build/temp.linux-armhf-2.7/rasterio
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_base.c -o build/temp.linux-armhf-2.7/rasterio/_base.o -Wno-unused-parameter -Wno-unused-function
rasterio/_base.c: In function '__pyx_pf_8rasterio_5_base_11DatasetBase_40block_size':
rasterio/_base.c:12026:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   __pyx_v_value = GDALGetMetadataItem(__pyx_v_obj, __pyx_v_key_c, ((char const *)"TIFF"));
                 ^
rasterio/_base.c: In function '__pyx_pf_8rasterio_5_base_11DatasetBase_53get_tag_item':
rasterio/_base.c:17193:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   __pyx_v_value = GDALGetMetadataItem(__pyx_v_obj, __pyx_v_name, __pyx_v_domain);
                 ^
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_base.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_base.so
building 'rasterio._io' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_io.c -o build/temp.linux-armhf-2.7/rasterio/_io.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_io.c:607:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_io.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_io.so
building 'rasterio._features' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_features.c -o build/temp.linux-armhf-2.7/rasterio/_features.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_features.c:617:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_features.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_features.so
building 'rasterio._env' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_env.c -o build/temp.linux-armhf-2.7/rasterio/_env.o -Wno-unused-parameter -Wno-unused-function
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_env.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_env.so
building 'rasterio._warp' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_warp.cpp -o build/temp.linux-armhf-2.7/rasterio/_warp.o -Wno-unused-parameter -Wno-unused-function -std=c++11
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_warp.cpp:641:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
rasterio/_warp.cpp: In function 'PyObject* __pyx_pf_8rasterio_5_warp_4_reproject(PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*)':
rasterio/_warp.cpp:9329:3: warning: ignoring return value of 'char** CSLSetNameValue(char**, const char*, const char*)', declared with attribute warn_unused_result [-Wunused-result]
   (void)(CSLSetNameValue(__pyx_v_imgProjOptions, ((char *)"GCPS_OK"), ((char *)"TRUE")));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_warp.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_warp.so
building 'rasterio._fill' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_fill.cpp -o build/temp.linux-armhf-2.7/rasterio/_fill.o -Wno-unused-parameter -Wno-unused-function -std=c++11
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_fill.cpp:633:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_fill.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_fill.so
building 'rasterio._err' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_err.c -o build/temp.linux-armhf-2.7/rasterio/_err.o -Wno-unused-parameter -Wno-unused-function
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_err.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_err.so
building 'rasterio._example' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_example.c -o build/temp.linux-armhf-2.7/rasterio/_example.o -Wno-unused-parameter -Wno-unused-function
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_example.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_example.so
building 'rasterio._shim' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_shim.c -o build/temp.linux-armhf-2.7/rasterio/_shim.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_shim.c:618:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
rasterio/_shim.c: In function '__pyx_f_8rasterio_5_shim_open_dataset':
rasterio/_shim.c:4375:64: warning: passing argument 3 of 'GDALOpenEx' from incompatible pointer type [-Wincompatible-pointer-types]
         __pyx_v_hds = GDALOpenEx(__pyx_v_fname, __pyx_v_flags, __pyx_v_drivers, __pyx_v_options, NULL);
                                                                ^~~~~~~~~~~~~~~
In file included from rasterio/_shim.c:613:0:
/usr/include/gdal/gdal.h:520:34: note: expected 'const char * const*' but argument is of type 'char **'
 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
                                  ^~~~~~~~~~
rasterio/_shim.c:4375:81: warning: passing argument 4 of 'GDALOpenEx' from incompatible pointer type [-Wincompatible-pointer-types]
         __pyx_v_hds = GDALOpenEx(__pyx_v_fname, __pyx_v_flags, __pyx_v_drivers, __pyx_v_options, NULL);
                                                                                 ^~~~~~~~~~~~~~~
In file included from rasterio/_shim.c:613:0:
/usr/include/gdal/gdal.h:520:34: note: expected 'const char * const*' but argument is of type 'char **'
 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
                                  ^~~~~~~~~~
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_shim.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_shim.so
building 'rasterio._crs' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_crs.c -o build/temp.linux-armhf-2.7/rasterio/_crs.o -Wno-unused-parameter -Wno-unused-function
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_crs.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_crs.so
building 'rasterio.shutil' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/shutil.c -o build/temp.linux-armhf-2.7/rasterio/shutil.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/shutil.c:617:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/shutil.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/shutil.so
I: pybuild base:217: /usr/bin/python3 setup.py build 
INFO:root:GDAL API version obtained from gdal-config: 2.3.1
INFO:root:MANIFEST.in found, presume a repo, cythonizing...
running build
running build_py
warning: rasterio/gdal.pxi:17:4: 'CPLErr' redeclared 
warning: rasterio/gdal.pxi:116:4: 'GDALDataType' redeclared 
warning: rasterio/gdal.pxi:131:4: 'GDALAccess' redeclared 
warning: rasterio/gdal.pxi:135:4: 'GDALRWFlag' redeclared 
warning: rasterio/gdal.pxi:139:4: 'GDALRIOResampleAlg' redeclared 
warning: rasterio/gdal.pxi:149:4: 'GDALColorInterp' redeclared 
warning: rasterio/gdal.pxi:387:4: 'GDALResampleAlg' redeclared 
warning: rasterio/gdal.pxi:18:8: 'CE_None' redeclared 
warning: rasterio/gdal.pxi:19:8: 'CE_Debug' redeclared 
warning: rasterio/gdal.pxi:20:8: 'CE_Warning' redeclared 
warning: rasterio/gdal.pxi:21:8: 'CE_Failure' redeclared 
warning: rasterio/gdal.pxi:22:8: 'CE_Fatal' redeclared 
warning: rasterio/gdal.pxi:26:4: 'CPLErrorHandler' redeclared 
warning: rasterio/gdal.pxi:31:30: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:32:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:53:4: 'vsi_l_offset' redeclared 
warning: rasterio/gdal.pxi:54:4: 'VSILFILE' redeclared 
warning: rasterio/gdal.pxi:75:4: 'OGRCoordinateTransformationH' redeclared 
warning: rasterio/gdal.pxi:76:4: 'OGRSpatialReferenceH' redeclared 
warning: rasterio/gdal.pxi:105:4: 'GDALMajorObjectH' redeclared 
warning: rasterio/gdal.pxi:106:4: 'GDALDatasetH' redeclared 
warning: rasterio/gdal.pxi:107:4: 'GDALRasterBandH' redeclared 
warning: rasterio/gdal.pxi:108:4: 'GDALDriverH' redeclared 
warning: rasterio/gdal.pxi:109:4: 'GDALColorTableH' redeclared 
warning: rasterio/gdal.pxi:110:4: 'GDALRasterAttributeTableH' redeclared 
warning: rasterio/gdal.pxi:111:4: 'GDALAsyncReaderH' redeclared 
warning: rasterio/gdal.pxi:113:4: 'GSpacing' redeclared 
warning: rasterio/gdal.pxi:114:4: 'GIntBig' redeclared 
warning: rasterio/gdal.pxi:117:8: 'GDT_Unknown' redeclared 
warning: rasterio/gdal.pxi:118:8: 'GDT_Byte' redeclared 
warning: rasterio/gdal.pxi:119:8: 'GDT_UInt16' redeclared 
warning: rasterio/gdal.pxi:120:8: 'GDT_Int16' redeclared 
warning: rasterio/gdal.pxi:121:8: 'GDT_UInt32' redeclared 
warning: rasterio/gdal.pxi:122:8: 'GDT_Int32' redeclared 
warning: rasterio/gdal.pxi:123:8: 'GDT_Float32' redeclared 
warning: rasterio/gdal.pxi:124:8: 'GDT_Float64' redeclared 
warning: rasterio/gdal.pxi:125:8: 'GDT_CInt16' redeclared 
warning: rasterio/gdal.pxi:126:8: 'GDT_CInt32' redeclared 
warning: rasterio/gdal.pxi:127:8: 'GDT_CFloat32' redeclared 
warning: rasterio/gdal.pxi:128:8: 'GDT_CFloat64' redeclared 
warning: rasterio/gdal.pxi:129:8: 'GDT_TypeCount' redeclared 
warning: rasterio/gdal.pxi:132:8: 'GA_ReadOnly' redeclared 
warning: rasterio/gdal.pxi:133:8: 'GA_Update' redeclared 
warning: rasterio/gdal.pxi:136:8: 'GF_Read' redeclared 
warning: rasterio/gdal.pxi:137:8: 'GF_Write' redeclared 
warning: rasterio/gdal.pxi:140:8: 'GRIORA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:141:8: 'GRIORA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:142:8: 'GRIORA_Cubic' redeclared 
warning: rasterio/gdal.pxi:143:8: 'GRIORA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:144:8: 'GRIORA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:145:8: 'GRIORA_Average' redeclared 
warning: rasterio/gdal.pxi:146:8: 'GRIORA_Mode' redeclared 
warning: rasterio/gdal.pxi:147:8: 'GRIORA_Gauss' redeclared 
warning: rasterio/gdal.pxi:150:8: 'GCI_Undefined' redeclared 
warning: rasterio/gdal.pxi:151:8: 'GCI_GrayIndex' redeclared 
warning: rasterio/gdal.pxi:152:8: 'GCI_PaletteIndex' redeclared 
warning: rasterio/gdal.pxi:153:8: 'GCI_RedBand' redeclared 
warning: rasterio/gdal.pxi:154:8: 'GCI_GreenBand' redeclared 
warning: rasterio/gdal.pxi:155:8: 'GCI_BlueBand' redeclared 
warning: rasterio/gdal.pxi:156:8: 'GCI_AlphaBand' redeclared 
warning: rasterio/gdal.pxi:157:8: 'GCI_HueBand' redeclared 
warning: rasterio/gdal.pxi:158:8: 'GCI_SaturationBand' redeclared 
warning: rasterio/gdal.pxi:159:8: 'GCI_LightnessBand' redeclared 
warning: rasterio/gdal.pxi:160:8: 'GCI_CyanBand' redeclared 
warning: rasterio/gdal.pxi:161:8: 'GCI_YCbCr_YBand' redeclared 
warning: rasterio/gdal.pxi:162:8: 'GCI_YCbCr_CbBand' redeclared 
warning: rasterio/gdal.pxi:163:8: 'GCI_YCbCr_CrBand' redeclared 
warning: rasterio/gdal.pxi:164:8: 'GCI_Max' redeclared 
warning: rasterio/gdal.pxi:190:25: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:191:31: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:205:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:220:27: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:242:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:255:22: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:264:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:266:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:271:4: 'OGRLayerH' redeclared 
warning: rasterio/gdal.pxi:272:4: 'OGRDataSourceH' redeclared 
warning: rasterio/gdal.pxi:273:4: 'OGRSFDriverH' redeclared 
warning: rasterio/gdal.pxi:274:4: 'OGRFieldDefnH' redeclared 
warning: rasterio/gdal.pxi:275:4: 'OGRFeatureDefnH' redeclared 
warning: rasterio/gdal.pxi:276:4: 'OGRFeatureH' redeclared 
warning: rasterio/gdal.pxi:277:4: 'OGRGeometryH' redeclared 
warning: rasterio/gdal.pxi:279:4: 'OGRErr' redeclared 
warning: rasterio/gdal.pxi:388:8: 'GRA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:389:8: 'GRA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:390:8: 'GRA_Cubic' redeclared 
warning: rasterio/gdal.pxi:391:8: 'GRA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:392:8: 'GRA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:393:8: 'GRA_Average' redeclared 
warning: rasterio/gdal.pxi:394:8: 'GRA_Mode' redeclared 
warning: rasterio/gdal.pxi:396:4: 'GDALMaskFunc' redeclared 
warning: rasterio/gdal.pxi:401:4: 'GDALTransformerFunc' redeclared 
warning: rasterio/gdal.pxi:460:40: Function signature does not match previous declaration
warning: rasterio/shim_rasterioex.pxi:123:32: Use boundscheck(False) for faster access
INFO:root:Generating grammar tables from /usr/lib/python3.6/lib2to3/Grammar.txt
INFO:root:Generating grammar tables from /usr/lib/python3.6/lib2to3/PatternGrammar.txt
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/control.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/coords.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/crs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/drivers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/dtypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/enums.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/env.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/errors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/features.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/fill.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/io.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/mask.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/merge.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/path.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/plot.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/profiles.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/sample.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/tools.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/transform.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/vrt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/warp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
copying ./rasterio/windows.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/blocks.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/bounds.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/calc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/clip.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/convert.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/edit_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/env.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/gcps.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/insp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/mask.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/merge.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/options.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/overview.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/rasterize.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/rm.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/sample.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/shapes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/stack.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/transform.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
copying ./rasterio/rio/warp.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio
running egg_info
writing rasterio.egg-info/PKG-INFO
writing dependency_links to rasterio.egg-info/dependency_links.txt
writing entry points to rasterio.egg-info/entry_points.txt
writing requirements to rasterio.egg-info/requires.txt
writing top-level names to rasterio.egg-info/top_level.txt
reading manifest file 'rasterio.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.tif' found under directory 'tests/data'
warning: no files found matching '*.txt' under directory 'tests/data'
writing manifest file 'rasterio.egg-info/SOURCES.txt'
running build_ext
building 'rasterio._base' extension
creating build/temp.linux-armhf-3.6
creating build/temp.linux-armhf-3.6/rasterio
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_base.c -o build/temp.linux-armhf-3.6/rasterio/_base.o -Wno-unused-parameter -Wno-unused-function
rasterio/_base.c: In function '__pyx_pf_8rasterio_5_base_11DatasetBase_40block_size':
rasterio/_base.c:12026:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   __pyx_v_value = GDALGetMetadataItem(__pyx_v_obj, __pyx_v_key_c, ((char const *)"TIFF"));
                 ^
rasterio/_base.c: In function '__pyx_pf_8rasterio_5_base_11DatasetBase_53get_tag_item':
rasterio/_base.c:17193:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   __pyx_v_value = GDALGetMetadataItem(__pyx_v_obj, __pyx_v_name, __pyx_v_domain);
                 ^
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_base.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_base.cpython-36m-arm-linux-gnueabihf.so
building 'rasterio._io' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_io.c -o build/temp.linux-armhf-3.6/rasterio/_io.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_io.c:607:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_io.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_io.cpython-36m-arm-linux-gnueabihf.so
building 'rasterio._features' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_features.c -o build/temp.linux-armhf-3.6/rasterio/_features.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_features.c:617:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_features.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_features.cpython-36m-arm-linux-gnueabihf.so
building 'rasterio._env' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_env.c -o build/temp.linux-armhf-3.6/rasterio/_env.o -Wno-unused-parameter -Wno-unused-function
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_env.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_env.cpython-36m-arm-linux-gnueabihf.so
building 'rasterio._warp' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_warp.cpp -o build/temp.linux-armhf-3.6/rasterio/_warp.o -Wno-unused-parameter -Wno-unused-function -std=c++11
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_warp.cpp:641:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
rasterio/_warp.cpp: In function 'PyObject* __pyx_pf_8rasterio_5_warp_4_reproject(PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*)':
rasterio/_warp.cpp:9329:3: warning: ignoring return value of 'char** CSLSetNameValue(char**, const char*, const char*)', declared with attribute warn_unused_result [-Wunused-result]
   (void)(CSLSetNameValue(__pyx_v_imgProjOptions, ((char *)"GCPS_OK"), ((char *)"TRUE")));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_warp.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_warp.cpython-36m-arm-linux-gnueabihf.so
building 'rasterio._fill' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_fill.cpp -o build/temp.linux-armhf-3.6/rasterio/_fill.o -Wno-unused-parameter -Wno-unused-function -std=c++11
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_fill.cpp:633:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_fill.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_fill.cpython-36m-arm-linux-gnueabihf.so
building 'rasterio._err' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_err.c -o build/temp.linux-armhf-3.6/rasterio/_err.o -Wno-unused-parameter -Wno-unused-function
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_err.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_err.cpython-36m-arm-linux-gnueabihf.so
building 'rasterio._example' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_example.c -o build/temp.linux-armhf-3.6/rasterio/_example.o -Wno-unused-parameter -Wno-unused-function
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_example.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_example.cpython-36m-arm-linux-gnueabihf.so
building 'rasterio._shim' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_shim.c -o build/temp.linux-armhf-3.6/rasterio/_shim.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_shim.c:618:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
rasterio/_shim.c: In function '__pyx_f_8rasterio_5_shim_open_dataset':
rasterio/_shim.c:4375:64: warning: passing argument 3 of 'GDALOpenEx' from incompatible pointer type [-Wincompatible-pointer-types]
         __pyx_v_hds = GDALOpenEx(__pyx_v_fname, __pyx_v_flags, __pyx_v_drivers, __pyx_v_options, NULL);
                                                                ^~~~~~~~~~~~~~~
In file included from rasterio/_shim.c:613:0:
/usr/include/gdal/gdal.h:520:34: note: expected 'const char * const*' but argument is of type 'char **'
 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
                                  ^~~~~~~~~~
rasterio/_shim.c:4375:81: warning: passing argument 4 of 'GDALOpenEx' from incompatible pointer type [-Wincompatible-pointer-types]
         __pyx_v_hds = GDALOpenEx(__pyx_v_fname, __pyx_v_flags, __pyx_v_drivers, __pyx_v_options, NULL);
                                                                                 ^~~~~~~~~~~~~~~
In file included from rasterio/_shim.c:613:0:
/usr/include/gdal/gdal.h:520:34: note: expected 'const char * const*' but argument is of type 'char **'
 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
                                  ^~~~~~~~~~
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_shim.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_shim.cpython-36m-arm-linux-gnueabihf.so
building 'rasterio._crs' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_crs.c -o build/temp.linux-armhf-3.6/rasterio/_crs.o -Wno-unused-parameter -Wno-unused-function
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_crs.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_crs.cpython-36m-arm-linux-gnueabihf.so
building 'rasterio.shutil' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/shutil.c -o build/temp.linux-armhf-3.6/rasterio/shutil.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/shutil.c:617:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/shutil.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/shutil.cpython-36m-arm-linux-gnueabihf.so
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test || echo "Ignoring test failures"
I: pybuild pybuild:269: cp -r /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build
I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build; python2.7 -m pytest tests
Test data present.
============================= test session starts ==============================
platform linux2 -- Python 2.7.15, pytest-3.6.4, py-1.5.4, pluggy-0.6.0
rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg
plugins: hypothesis-3.44.1
collected 1165 items

tests/test_band.py .                                                     [  0%]
tests/test_band_masks.py ...........                                     [  1%]
tests/test_blocks.py .................                                   [  2%]
tests/test_boundless_read.py ...                                         [  2%]
tests/test_checksum.py ......                                            [  3%]
tests/test_cli_main.py ..                                                [  3%]
tests/test_colorinterp.py .....xx...............                         [  5%]
tests/test_colormap.py ..                                                [  5%]
tests/test_complex_dtypes.py ...                                         [  5%]
tests/test_concurrency.py ....                                           [  6%]
tests/test_coords.py ....                                                [  6%]
tests/test_crs.py .....................................                  [  9%]
tests/test_dataset.py ..                                                 [  9%]
tests/test_dataset_mask.py .........                                     [ 10%]
tests/test_dataset_rw.py ..                                              [ 10%]
tests/test_deprecated.py .                                               [ 10%]
tests/test_descriptions.py ....                                          [ 11%]
tests/test_driver_management.py ....                                     [ 11%]
tests/test_driver_policy.py ..                                           [ 11%]
tests/test_dtypes.py .........                                           [ 12%]
tests/test_env.py ...............x...sssssFssF.......................... [ 17%]
..                                                                       [ 17%]
tests/test_err.py ....                                                   [ 17%]
tests/test_features.py ................................................. [ 21%]
.........................................                                [ 25%]
tests/test_fillnodata.py ....                                            [ 25%]
tests/test_gcps.py ........                                              [ 26%]
tests/test_gdal_raster_io.py ...................................         [ 29%]
tests/test_image_structure.py ...............                            [ 30%]
tests/test_indexing.py .....................                             [ 32%]
tests/test_io_mixins.py .....                                            [ 32%]
tests/test_mask.py ...................                                   [ 34%]
tests/test_mask_creation.py ....                                         [ 34%]
tests/test_memoryfile.py ................X                               [ 36%]
tests/test_meta.py ..                                                    [ 36%]
tests/test_no_georef.py ..                                               [ 36%]
tests/test_nodata.py ..                                                  [ 36%]
tests/test_open.py .....                                                 [ 37%]
tests/test_open_options.py ss...                                         [ 37%]
tests/test_options.py .                                                  [ 37%]
tests/test_overviews.py ......                                           [ 38%]
tests/test_pad.py .                                                      [ 38%]
tests/test_path.py ..................................                    [ 41%]
tests/test_plot.py ssssssssssssssssss..                                  [ 43%]
tests/test_png.py .                                                      [ 43%]
tests/test_profile.py ..................                                 [ 44%]
tests/test_read.py ....................                                  [ 46%]
tests/test_read_boundless.py .............                               [ 47%]
tests/test_read_resample.py .....                                        [ 47%]
tests/test_reshape_image.py ...                                          [ 48%]
tests/test_revolvingdoor.py .                                            [ 48%]
tests/test_rio_blocks.py FFFFFFF                                         [ 48%]
tests/test_rio_calc.py FFFFFFFFFFFF                                      [ 49%]
tests/test_rio_convert.py FFFFFFFFFFFFFFF                                [ 51%]
tests/test_rio_edit_info.py ...FF.FFF..FFFFFFFF...............FFFFFFF.FF [ 54%]
F.......                                                                 [ 55%]
tests/test_rio_gcp.py FFF.FFFF                                           [ 56%]
tests/test_rio_helpers.py ........                                       [ 56%]
tests/test_rio_info.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.FFs          [ 60%]
tests/test_rio_insp.py F...                                              [ 60%]
tests/test_rio_main.py ..                                                [ 60%]
tests/test_rio_mask.py FFFFFFFxFFF                                       [ 61%]
tests/test_rio_merge.py FFFFFFFFFFFFFFxF.                                [ 63%]
tests/test_rio_options.py ..................................             [ 66%]
tests/test_rio_overview.py FFFFFF                                        [ 66%]
tests/test_rio_rasterize.py FFFFFFFFFFFFFFFFFFF                          [ 68%]
tests/test_rio_rm.py FFFF                                                [ 68%]
tests/test_rio_sample.py FFFFFFF                                         [ 69%]
tests/test_rio_shapes.py FFFFFFFFFFFF                                    [ 70%]
tests/test_rio_stack.py FFFFFF                                           [ 70%]
tests/test_rio_warp.py FFFFFFFFFFFFFFFFFFF....FFFF.FFFFFFFFFFFFFFFFFFFss [ 75%]
sss                                                                      [ 75%]
tests/test_sampling.py .....                                             [ 75%]
tests/test_shutil.py ............                                        [ 76%]
tests/test_subdatasets.py s                                              [ 76%]
tests/test_tag_item.py ...                                               [ 77%]
tests/test_tags.py ....                                                  [ 77%]
tests/test_threading.py ....                                             [ 77%]
tests/test_tools.py ..                                                   [ 78%]
tests/test_transform.py ......s.......                                   [ 79%]
tests/test_units.py ....                                                 [ 79%]
tests/test_update.py .....s...                                           [ 80%]
tests/test_vrt.py ..                                                     [ 80%]
tests/test_warnings.py .                                                 [ 80%]
tests/test_warp.py .....................F.F.F........................... [ 85%]
...............sssss................xxxx..................               [ 90%]
tests/test_warp_transform.py .............                               [ 91%]
tests/test_warpedvrt.py ..........s...........                           [ 93%]
tests/test_windows.py .................................................. [ 97%]
..                                                                       [ 97%]
tests/test_windows_mixins.py ......                                      [ 98%]
tests/test_write.py ......................                               [100%]

=================================== FAILURES ===================================
___________________________ test_open_https_vsicurl ____________________________

gdalenv = None

    @requires_gdal21(reason="S3 access requires 2.1+")
    @pytest.mark.network
    def test_open_https_vsicurl(gdalenv):
        """Read from HTTPS URL."""
>       with rasterio.open(httpstif) as dataset:

tests/test_env.py:320: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
rasterio/env.py:403: in wrapper
    return f(*args, **kwds)
rasterio/__init__.py:217: in open
    s = DatasetReader(path, driver=driver, **kwargs)
rasterio/_base.pyx:199: in rasterio._base.DatasetBase.__init__
    ???
rasterio/_shim.pyx:64: in rasterio._shim.open_dataset
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   CPLE_HttpResponseError: CURL error: Failed to connect to 127.0.0.1 port 9: Connection refused

rasterio/_err.pyx:188: CPLE_HttpResponseError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9651b0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae965410> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae965410>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9651b0>
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9651b0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae965410>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae965410>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae965410>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae965410>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae965410> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae965410>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae965410>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9651b0>
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9651b0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae965410> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae965410>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9651b0>
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9651b0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae965410>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae965410>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae965410>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae965410>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae965410> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae965410>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae965410>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9651b0>
_______________________ test_rio_env_credentials_options _______________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rio_env_credentials_optio0')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xaee09710>
runner = <click.testing.CliRunner object at 0xaee09d90>

    def test_rio_env_credentials_options(tmpdir, monkeypatch, runner):
        """Confirm that --aws-profile option works."""
        credentials_file = tmpdir.join('credentials')
        credentials_file.write("[testing]\n"
                               "aws_access_key_id = foo\n"
                               "aws_secret_access_key = bar\n"
                               "aws_session_token = baz")
        monkeypatch.setenv('AWS_SHARED_CREDENTIALS_FILE', str(credentials_file))
        monkeypatch.setenv('AWS_SESSION_TOKEN', 'ignore_me')
        result = runner.invoke(
            main_group, ['--aws-profile', 'testing', 'env', '--credentials'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_env.py:357: AssertionError
_________________________________ test_windows _________________________________

runner = <click.testing.CliRunner object at 0xaea22eb0>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'

    def test_windows(runner, path_rgb_byte_tif):
        result = runner.invoke(main_group, [
            'blocks', path_rgb_byte_tif])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_blocks.py:50: AssertionError
____________________________ test_windows_sequence _____________________________

runner = <click.testing.CliRunner object at 0xae9ad030>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'

    def test_windows_sequence(runner, path_rgb_byte_tif):
        result = runner.invoke(main_group, [
            'blocks',
            path_rgb_byte_tif,
            '--sequence'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_blocks.py:75: AssertionError
____________________________ test_windows_precision ____________________________

runner = <click.testing.CliRunner object at 0xaecaff10>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'

    def test_windows_precision(runner, path_rgb_byte_tif):
        result = runner.invoke(main_group, [
            'blocks',
            path_rgb_byte_tif,
            '--precision', 1])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_blocks.py:98: AssertionError
_____________________________ test_windows_indent ______________________________

runner = <click.testing.CliRunner object at 0xae9db990>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'

    def test_windows_indent(runner, path_rgb_byte_tif):
        result = runner.invoke(main_group, [
            'blocks',
            path_rgb_byte_tif,
            '--indent', 4])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_blocks.py:109: AssertionError
_____________________________ test_windows_compact _____________________________

runner = <click.testing.CliRunner object at 0xae9b5cf0>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'

    def test_windows_compact(runner, path_rgb_byte_tif):
        result = runner.invoke(main_group, [
            'blocks',
            path_rgb_byte_tif,
            '--compact'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_blocks.py:125: AssertionError
____________________________ test_windows_exception ____________________________

runner = <click.testing.CliRunner object at 0xaecee5f0>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'

    def test_windows_exception(runner, path_rgb_byte_tif):
        """Tests the try/except that wraps the command logic.  The input file does
        not have 4 bands.
        """
        result = runner.invoke(main_group, [
            'blocks',
            path_rgb_byte_tif,
            '--bidx', 4])
        assert result.exit_code == 2
>       assert "Not a valid band index" in result.output
E       assert 'Not a valid band index' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "blocks".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "blocks".\n' = <Result SystemExit(2,)>.output

tests/test_rio_blocks.py:142: AssertionError
____________________________ test_windows_projected ____________________________

runner = <click.testing.CliRunner object at 0xae9ad870>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'

    def test_windows_projected(runner, path_rgb_byte_tif):
        result = runner.invoke(main_group, [
            'blocks',
            path_rgb_byte_tif,
            '--projected'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_blocks.py:150: AssertionError
___________________________________ test_err ___________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_err0')

    def test_err(tmpdir):
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '($ 0.1 (read 1))', 'tests/data/shade.tif', outfile],
            catch_exceptions=False)
>       assert result.exit_code == 1
E       assert 2 == 1
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:19: AssertionError
_____________________________ test_multiband_calc ______________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_multiband_calc0')

    def test_multiband_calc(tmpdir):
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '(+ 125 (* 0.1 (read 1)))', 'tests/data/shade.tif', outfile],
            catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:28: AssertionError
_________________________ test_singleband_calc_byindex _________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_singleband_calc_byindex0')

    def test_singleband_calc_byindex(tmpdir):
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '(+ 125 (* 0.1 (read 1 1)))', 'tests/data/shade.tif', outfile],
            catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:44: AssertionError
_________________________ test_singleband_calc_byname __________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_singleband_calc_byname0')

    def test_singleband_calc_byname(tmpdir):
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '(+ 125 (* 0.1 (take shade 1)))', '--name', 'shade=tests/data/shade.tif',
            outfile], catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:58: AssertionError
_______________________________ test_parts_calc ________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_parts_calc0')

    def test_parts_calc(tmpdir):
        # Producing an RGB output from the hill shade.
        # Red band has bumped up values. Other bands are unchanged.
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '(asarray (+ (read 1 1) 125) (read 1 1) (read 1 1))',
            'tests/data/shade.tif', outfile], catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:74: AssertionError
______________________________ test_parts_calc_2 _______________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_parts_calc_20')

    def test_parts_calc_2(tmpdir):
        # Produce greyscale output from the RGB file.
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '(+ (+ (/ (read 1 1) 3.0) (/ (read 1 2) 3.0)) (/ (read 1 3) 3.0))',
            'tests/data/RGB.byte.tif', outfile], catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:91: AssertionError
________________________________ test_copy_rgb _________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_copy_rgb0')

    def test_copy_rgb(tmpdir):
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '(read 1)', 'tests/data/RGB.byte.tif', outfile],
            catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:105: AssertionError
_______________________________ test_fillnodata ________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_fillnodata0')

    def test_fillnodata(tmpdir):
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '(asarray (fillnodata (read 1 1)) (fillnodata (read 1 2)) (fillnodata (read 1 3)))',
            'tests/data/RGB.byte.tif', outfile], catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:119: AssertionError
_____________________________ test_fillnodata_map ______________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_fillnodata_map0')

    def test_fillnodata_map(tmpdir):
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '(asarray (map fillnodata (read 1)))',
            'tests/data/RGB.byte.tif', outfile], catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:133: AssertionError
_______________________________ test_sieve_band ________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_sieve_band1')

    def test_sieve_band(tmpdir):
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '(sieve (band 1 1) 42)', 'tests/data/shade.tif', outfile],
            catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:147: AssertionError
_______________________________ test_sieve_read ________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_sieve_read0')

    def test_sieve_read(tmpdir):
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            "(sieve (read 1 1 'uint8') 42)",
            'tests/data/shade.tif', outfile], catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:159: AssertionError
_____________________ test_positional_calculation_byindex ______________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_positional_calculation_by0')

    def test_positional_calculation_byindex(tmpdir):
        # See Issue 947: https://github.com/mapbox/rasterio/issues/947
        # Prior to fix, 'shade.tif' reliably is read as 2nd input and
        # we should expect this to fail due to array shape error
        # ("operands could not be broadcast together")
        outfile = str(tmpdir.join('out.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, ['calc'] + [
            '(- (read 1 1) (read 2 2))',
            'tests/data/RGB.byte.tif',
            'tests/data/RGB.byte.tif',
            'tests/data/shade.tif',
            outfile], catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_calc.py:178: AssertionError
_______________________________ test_clip_bounds _______________________________

runner = <click.testing.CliRunner object at 0xaec76ff0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_clip_bounds0')

    def test_clip_bounds(runner, tmpdir):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group,
            ['clip', 'tests/data/shade.tif', output, '--bounds', bbox(*TEST_BBOX)])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:25: AssertionError
_________________________ test_clip_bounds_geographic __________________________

runner = <click.testing.CliRunner object at 0xaede5070>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_clip_bounds_geographic0')

    def test_clip_bounds_geographic(runner, tmpdir):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group,
            ['clip', 'tests/data/RGB.byte.tif', output, '--geographic', '--bounds',
             '-78.95864996545055 23.564991210854686 -76.57492370013823 25.550873767433984'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:38: AssertionError
________________________________ test_clip_like ________________________________

runner = <click.testing.CliRunner object at 0xaea6c6b0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_clip_like0')

    def test_clip_like(runner, tmpdir):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, [
                'clip', 'tests/data/shade.tif', output, '--like',
                'tests/data/shade.tif'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:51: AssertionError
___________________________ test_clip_missing_params ___________________________

runner = <click.testing.CliRunner object at 0xae9b5790>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_clip_missing_params0')

    def test_clip_missing_params(runner, tmpdir):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, ['clip', 'tests/data/shade.tif', output])
        assert result.exit_code == 2
>       assert '--bounds or --like required' in result.output
E       assert '--bounds or --like required' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "clip".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "clip".\n' = <Result SystemExit(2,)>.output

tests/test_rio_convert.py:65: AssertionError
__________________________ test_clip_bounds_disjunct ___________________________

runner = <click.testing.CliRunner object at 0xaeb1ceb0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_clip_bounds_disjunct0')

    def test_clip_bounds_disjunct(runner, tmpdir):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group,
            ['clip', 'tests/data/shade.tif', output, '--bounds', bbox(0, 0, 10, 10)])
        assert result.exit_code == 2
>       assert '--bounds' in result.output
E       assert '--bounds' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "clip".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "clip".\n' = <Result SystemExit(2,)>.output

tests/test_rio_convert.py:74: AssertionError
___________________________ test_clip_like_disjunct ____________________________

runner = <click.testing.CliRunner object at 0xaedf2f10>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_clip_like_disjunct0')

    def test_clip_like_disjunct(runner, tmpdir):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, [
                'clip', 'tests/data/shade.tif', output, '--like',
                'tests/data/RGB.byte.tif'])
        assert result.exit_code == 2
>       assert '--like' in result.output
E       assert '--like' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "clip".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "clip".\n' = <Result SystemExit(2,)>.output

tests/test_rio_convert.py:84: AssertionError
_________________________________ test_format __________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_format0')

    def test_format(tmpdir):
        outputname = str(tmpdir.join('test.jpg'))
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['convert', 'tests/data/RGB.byte.tif', outputname, '--format', 'JPEG'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:95: AssertionError
______________________________ test_format_short _______________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_format_short0')

    def test_format_short(tmpdir):
        outputname = str(tmpdir.join('test.jpg'))
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['convert', 'tests/data/RGB.byte.tif', outputname, '-f', 'JPEG'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:106: AssertionError
_______________________________ test_output_opt ________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_output_opt0')

    def test_output_opt(tmpdir):
        outputname = str(tmpdir.join('test.jpg'))
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['convert', 'tests/data/RGB.byte.tif', '-o', outputname, '-f', 'JPEG'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:117: AssertionError
__________________________________ test_dtype __________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dtype0')

    def test_dtype(tmpdir):
        outputname = str(tmpdir.join('test.tif'))
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['convert', 'tests/data/RGB.byte.tif', outputname, '--dtype', 'uint16'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:128: AssertionError
_______________________ test_dtype_rescaling_uint8_full ________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dtype_rescaling_uint8_ful0')

    def test_dtype_rescaling_uint8_full(tmpdir):
        """Rescale uint8 [0, 255] to uint8 [0, 255]"""
        outputname = str(tmpdir.join('test.tif'))
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['convert', 'tests/data/RGB.byte.tif', outputname, '--scale-ratio', '1.0'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:140: AssertionError
_______________________ test_dtype_rescaling_uint8_half ________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dtype_rescaling_uint8_hal0')

    def test_dtype_rescaling_uint8_half(tmpdir):
        """Rescale uint8 [0, 255] to uint8 [0, 127]"""
        outputname = str(tmpdir.join('test.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'convert', 'tests/data/RGB.byte.tif', outputname, '--scale-ratio', '0.5'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:160: AssertionError
_________________________ test_dtype_rescaling_uint16 __________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dtype_rescaling_uint160')

    def test_dtype_rescaling_uint16(tmpdir):
        """Rescale uint8 [0, 255] to uint16 [0, 4095]"""
        # NB: 255 * 16 is 4080, we don't actually get to 4095.
        outputname = str(tmpdir.join('test.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'convert', 'tests/data/RGB.byte.tif', outputname, '--dtype', 'uint16',
            '--scale-ratio', '16'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:175: AssertionError
_________________________ test_dtype_rescaling_float64 _________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dtype_rescaling_float640')

    def test_dtype_rescaling_float64(tmpdir):
        """Rescale uint8 [0, 255] to float64 [-1, 1]"""
        outputname = str(tmpdir.join('test.tif'))
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'convert', 'tests/data/RGB.byte.tif', outputname, '--dtype', 'float64',
            '--scale-ratio', str(2.0 / 255), '--scale-offset', '-1.0'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:189: AssertionError
___________________________________ test_rgb ___________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rgb0')

    def test_rgb(tmpdir):
        outputname = str(tmpdir.join('test.tif'))
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['convert', 'tests/data/RGB.byte.tif', outputname, '--rgb'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_convert.py:202: AssertionError
______________________________ test_delete_nodata ______________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    @requires_gdal21
    def test_delete_nodata(data):
        """Delete a dataset's nodata value"""
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(
            main_group, ['edit-info', inputfile, '--unset-nodata'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:75: AssertionError
_______________________________ test_edit_nodata _______________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_nodata(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(
            main_group, ['edit-info', inputfile, '--nodata', '255'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:83: AssertionError
______________________________ test_edit_crs_epsg ______________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_crs_epsg(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(
            main_group, ['edit-info', inputfile, '--crs', 'EPSG:32618'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:101: AssertionError
_____________________________ test_edit_crs_proj4 ______________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_crs_proj4(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(
            main_group, ['edit-info', inputfile, '--crs', '+init=epsg:32618'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:111: AssertionError
______________________________ test_edit_crs_obj _______________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_crs_obj(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(
            main_group,
            ['edit-info', inputfile, '--crs', '{"init": "epsg:32618"}'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:122: AssertionError
__________________________ test_edit_transform_affine __________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_transform_affine(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        input_t = '[300.038, 0.0, 101985.0, 0.0, -300.042, 2826915.0]'
        result = runner.invoke(
            main_group, ['edit-info', inputfile, '--transform', input_t])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:149: AssertionError
___________________________ test_edit_transform_gdal ___________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_transform_gdal(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        gdal_geotransform = '[101985.0, 300.038, 0.0, 2826915.0, 0.0, -300.042]'
        result = runner.invoke(main_group, [
            'edit-info', inputfile, '--transform', gdal_geotransform])
        assert result.exit_code != 0
>       assert 'not recognized as an Affine array' in result.output
E       assert 'not recognized as an Affine array' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "edit-info".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "edit-info".\n' = <Result SystemExit(2,)>.output

tests/test_rio_edit_info.py:162: AssertionError
________________________________ test_edit_tags ________________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_tags(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(main_group, [
            'edit-info', inputfile, '--tag', 'lol=1', '--tag', 'wut=2'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:171: AssertionError
__________________________ test_edit_band_description __________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    @requires_gdal21(reason="decription setting requires GDAL 2.1+")
    def test_edit_band_description(data):
        """Edit band descriptions"""
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(main_group, [
            'edit-info', inputfile, '--bidx', '3', '--description',
            'this is another test'])
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:186: AssertionError
_______________________________ test_edit_units ________________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_units(data):
        """Edit units"""
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(main_group, [
            'edit-info', inputfile, '--bidx', '1', '--units', 'DN'],
            catch_exceptions=False)
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:199: AssertionError
______________________________ test_edit_crs_like ______________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_crs_like(data):
        runner = CliRunner()
    
        # Set up the file to be edited.
        inputfile = str(data.join('RGB.byte.tif'))
        with rasterio.open(inputfile, 'r+') as dst:
            dst.crs = {'init': 'epsg:32617'}
            dst.nodata = 1.0
    
        # Double check.
        with rasterio.open(inputfile) as src:
            assert src.crs == {'init': 'epsg:32617'}
            assert src.nodata == 1.0
    
        # The test.
        templatefile = 'tests/data/RGB.byte.tif'
        result = runner.invoke(
            main_group,
            ['edit-info', inputfile, '--like', templatefile, '--crs', 'like'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:223: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae974e30>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea22fd0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea22fd0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae974e30>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif', archive=None, scheme=None), mode: r+, driver: None
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 32618
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae974e30>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea22fd0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea22fd0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea22fd0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea22fd0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea22fd0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea22fd0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea22fd0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae974e30>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:32617'}
DEBUG:rasterio._io:Exported WKT: PROJCS["WGS 84 / UTM zone 17N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32617"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:32617'})
Warning 1: Setting nodata to 1 on band 1, but band 2 has nodata at 0. The TIFFTAG_GDAL_NODATA only support one value per dataset. This value of 1 will be used for all bands on re-opening
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaedce4f0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaedcebf0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaedcebf0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaedce4f0>
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 32617
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaedce4f0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedcebf0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedcebf0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedcebf0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedcebf0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaedcebf0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedcebf0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedcebf0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaedce4f0>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae974e30>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea22fd0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea22fd0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae974e30>
__init__.py                219 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif', archive=None, scheme=None), mode: r+, driver: None
__init__.py                219 DEBUG    Got coordinate system
__init__.py                219 DEBUG    Authority key: EPSG, value: 32618
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 0.000000
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 0.000000
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 0.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae974e30>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea22fd0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea22fd0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea22fd0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea22fd0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea22fd0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea22fd0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea22fd0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae974e30>
test_rio_edit_info.py      209 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
test_rio_edit_info.py      210 DEBUG    Input CRS: {'init': 'epsg:32617'}
test_rio_edit_info.py      210 DEBUG    Exported WKT: PROJCS["WGS 84 / UTM zone 17N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32617"]]
test_rio_edit_info.py      210 DEBUG    Self CRS: CRS({'init': 'epsg:32617'})
test_rio_edit_info.py      211 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been stopped.
test_rio_edit_info.py      211 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been closed.
test_rio_edit_info.py      211 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaedce4f0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaedcebf0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaedcebf0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaedce4f0>
__init__.py                217 DEBUG    Got coordinate system
__init__.py                217 DEBUG    Authority key: EPSG, value: 32617
__init__.py                217 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                217 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                217 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaedce4f0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedcebf0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedcebf0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedcebf0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedcebf0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaedcebf0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedcebf0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedcebf0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaedce4f0>
test_rio_edit_info.py      214 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
test_rio_edit_info.py      216 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been stopped.
test_rio_edit_info.py      216 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been closed.
test_rio_edit_info.py      216 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
____________________________ test_edit_nodata_like _____________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_nodata_like(data):
        runner = CliRunner()
    
        # Set up the file to be edited.
        inputfile = str(data.join('RGB.byte.tif'))
        with rasterio.open(inputfile, 'r+') as dst:
            dst.crs = {'init': 'epsg:32617'}
            dst.nodata = 1.0
    
        # Double check.
        with rasterio.open(inputfile) as src:
            assert src.crs == {'init': 'epsg:32617'}
            assert src.nodata == 1.0
    
        # The test.
        templatefile = 'tests/data/RGB.byte.tif'
        result = runner.invoke(
            main_group,
            ['edit-info', inputfile, '--like', templatefile, '--nodata', 'like'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:248: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea22df0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea22cf0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea22cf0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea22df0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif', archive=None, scheme=None), mode: r+, driver: None
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 32618
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea22df0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea22cf0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea22cf0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea22cf0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea22cf0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea22cf0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea22cf0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea22cf0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea22df0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:32617'}
DEBUG:rasterio._io:Exported WKT: PROJCS["WGS 84 / UTM zone 17N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32617"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:32617'})
Warning 1: Setting nodata to 1 on band 1, but band 2 has nodata at 0. The TIFFTAG_GDAL_NODATA only support one value per dataset. This value of 1 will be used for all bands on re-opening
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaedcea70>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae974db0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae974db0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaedcea70>
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 32617
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaedcea70>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae974db0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae974db0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae974db0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae974db0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae974db0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae974db0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae974db0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaedcea70>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea22df0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea22cf0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea22cf0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea22df0>
__init__.py                219 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif', archive=None, scheme=None), mode: r+, driver: None
__init__.py                219 DEBUG    Got coordinate system
__init__.py                219 DEBUG    Authority key: EPSG, value: 32618
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 0.000000
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 0.000000
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 0.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea22df0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea22cf0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea22cf0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea22cf0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea22cf0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea22cf0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea22cf0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea22cf0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea22df0>
test_rio_edit_info.py      234 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
test_rio_edit_info.py      235 DEBUG    Input CRS: {'init': 'epsg:32617'}
test_rio_edit_info.py      235 DEBUG    Exported WKT: PROJCS["WGS 84 / UTM zone 17N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32617"]]
test_rio_edit_info.py      235 DEBUG    Self CRS: CRS({'init': 'epsg:32617'})
test_rio_edit_info.py      236 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been stopped.
test_rio_edit_info.py      236 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been closed.
test_rio_edit_info.py      236 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaedcea70>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae974db0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae974db0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaedcea70>
__init__.py                217 DEBUG    Got coordinate system
__init__.py                217 DEBUG    Authority key: EPSG, value: 32617
__init__.py                217 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                217 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                217 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaedcea70>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae974db0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae974db0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae974db0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae974db0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae974db0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae974db0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae974db0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaedcea70>
test_rio_edit_info.py      239 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
test_rio_edit_info.py      241 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been stopped.
test_rio_edit_info.py      241 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been closed.
test_rio_edit_info.py      241 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
______________________________ test_edit_all_like ______________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_edit_all_like(data):
        runner = CliRunner()
    
        inputfile = str(data.join('RGB.byte.tif'))
        with rasterio.open(inputfile, 'r+') as dst:
            dst.crs = {'init': 'epsg:32617'}
            dst.nodata = 1.0
    
        # Double check.
        with rasterio.open(inputfile) as src:
            assert src.crs == {'init': 'epsg:32617'}
            assert src.nodata == 1.0
    
        templatefile = 'tests/data/RGB.byte.tif'
        # Dropping '--all' right after 'edit-info' guards against a regression.
        # Previously specifying '--all' before '--like' would raise an exception.
        result = runner.invoke(
            main_group, ['edit-info', '--all', inputfile, '--like', templatefile])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:272: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaedced90>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaedce470> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaedce470>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaedced90>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif', archive=None, scheme=None), mode: r+, driver: None
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 32618
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaedced90>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedce470>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedce470>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedce470>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedce470>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaedce470> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedce470>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedce470>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaedced90>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:32617'}
DEBUG:rasterio._io:Exported WKT: PROJCS["WGS 84 / UTM zone 17N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32617"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:32617'})
Warning 1: Setting nodata to 1 on band 1, but band 2 has nodata at 0. The TIFFTAG_GDAL_NODATA only support one value per dataset. This value of 1 will be used for all bands on re-opening
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea22bf0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea22cb0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea22cb0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea22bf0>
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 32617
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea22bf0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea22cb0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea22cb0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea22cb0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea22cb0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea22cb0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea22cb0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea22cb0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea22bf0>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaedced90>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaedce470> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaedce470>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaedced90>
__init__.py                219 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif', archive=None, scheme=None), mode: r+, driver: None
__init__.py                219 DEBUG    Got coordinate system
__init__.py                219 DEBUG    Authority key: EPSG, value: 32618
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 0.000000
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 0.000000
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 0.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaedced90>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedce470>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedce470>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedce470>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedce470>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaedce470> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedce470>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedce470>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaedced90>
test_rio_edit_info.py      258 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
test_rio_edit_info.py      259 DEBUG    Input CRS: {'init': 'epsg:32617'}
test_rio_edit_info.py      259 DEBUG    Exported WKT: PROJCS["WGS 84 / UTM zone 17N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32617"]]
test_rio_edit_info.py      259 DEBUG    Self CRS: CRS({'init': 'epsg:32617'})
test_rio_edit_info.py      260 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been stopped.
test_rio_edit_info.py      260 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> has been closed.
test_rio_edit_info.py      260 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r+'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea22bf0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea22cb0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea22cb0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea22bf0>
__init__.py                217 DEBUG    Got coordinate system
__init__.py                217 DEBUG    Authority key: EPSG, value: 32617
__init__.py                217 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                217 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                217 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea22bf0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea22cb0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea22cb0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea22cb0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea22cb0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea22cb0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea22cb0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea22cb0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea22bf0>
test_rio_edit_info.py      263 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
test_rio_edit_info.py      265 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been stopped.
test_rio_edit_info.py      265 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> has been closed.
test_rio_edit_info.py      265 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/tests/data/RGB.byte.tif' mode='r'> context.
______ test_colorinterp_wrong_band_count[red,green,blue,alpha,undefined] _______

runner = <click.testing.CliRunner object at 0xaed84d10>
path_3band_no_colorinterp = '/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif'
setci = 'red,green,blue,alpha,undefined'

    @pytest.mark.parametrize("setci", (
        'red,green,blue,alpha,undefined',
        'red'
    ))
    def test_colorinterp_wrong_band_count(runner, path_3band_no_colorinterp, setci):
        """Provide the wrong band count."""
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'edit-info', path_3band_no_colorinterp,
            '--colorinterp', setci])
        assert result.exit_code != 0
>       assert "Must set color interpretation for all bands" in result.output
E       assert 'Must set color interpretation for all bands' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "edit-info".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "edit-info".\n' = <Result SystemExit(2,)>.output

tests/test_rio_edit_info.py:328: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaec78310>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaec78b50> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaec78b50>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaec78310>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Option: ('PHOTOMETRIC', 'MINISBLACK')
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaec78310>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec78b50>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec78b50>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec78b50>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec78b50>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaec78b50> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec78b50>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec78b50>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaec78310>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaed84190>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaed84770> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaed84770>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaed84190>
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaed84190>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed84770>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed84770>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed84770>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed84770>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaed84770> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed84770>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed84770>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaed84190>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='r'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaec78310>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaec78b50> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaec78b50>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaec78310>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Option: ('PHOTOMETRIC', 'MINISBLACK')
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaec78310>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec78b50>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec78b50>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec78b50>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec78b50>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaec78b50> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec78b50>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec78b50>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaec78310>
conftest.py                523 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='w'> context.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='w'> has been stopped.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='w'> has been closed.
conftest.py                524 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaed84190>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaed84770> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaed84770>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaed84190>
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaed84190>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed84770>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed84770>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed84770>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed84770>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaed84770> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed84770>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed84770>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaed84190>
conftest.py                529 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='r'> context.
conftest.py                532 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='r'> has been stopped.
conftest.py                532 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='r'> has been closed.
conftest.py                532 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co0/4band-byte-no-ci.tif' mode='r'> context.
____________________ test_colorinterp_wrong_band_count[red] ____________________

runner = <click.testing.CliRunner object at 0xaee06ef0>
path_3band_no_colorinterp = '/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif'
setci = 'red'

    @pytest.mark.parametrize("setci", (
        'red,green,blue,alpha,undefined',
        'red'
    ))
    def test_colorinterp_wrong_band_count(runner, path_3band_no_colorinterp, setci):
        """Provide the wrong band count."""
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'edit-info', path_3band_no_colorinterp,
            '--colorinterp', setci])
        assert result.exit_code != 0
>       assert "Must set color interpretation for all bands" in result.output
E       assert 'Must set color interpretation for all bands' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "edit-info".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "edit-info".\n' = <Result SystemExit(2,)>.output

tests/test_rio_edit_info.py:328: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee22e10>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee817d0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee817d0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee22e10>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Option: ('PHOTOMETRIC', 'MINISBLACK')
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee22e10>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee817d0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee817d0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee817d0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee817d0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee817d0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee817d0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee817d0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee22e10>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9b48f0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaec780f0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaec780f0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9b48f0>
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9b48f0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec780f0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec780f0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec780f0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec780f0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaec780f0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec780f0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec780f0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9b48f0>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='r'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee22e10>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee817d0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee817d0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee22e10>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Option: ('PHOTOMETRIC', 'MINISBLACK')
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee22e10>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee817d0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee817d0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee817d0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee817d0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee817d0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee817d0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee817d0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee22e10>
conftest.py                523 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='w'> context.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='w'> has been stopped.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='w'> has been closed.
conftest.py                524 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9b48f0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaec780f0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaec780f0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9b48f0>
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9b48f0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec780f0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec780f0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec780f0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec780f0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaec780f0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec780f0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec780f0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9b48f0>
conftest.py                529 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='r'> context.
conftest.py                532 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='r'> has been stopped.
conftest.py                532 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='r'> has been closed.
conftest.py                532 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_wrong_band_co1/4band-byte-no-ci.tif' mode='r'> context.
_____________________ test_colorinterp_rgb[RGB-expected0] ______________________

setci = 'RGB'
expected = (<ColorInterp.red: 3>, <ColorInterp.green: 4>, <ColorInterp.blue: 5>)
path_3band_no_colorinterp = '/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif'

    @pytest.mark.parametrize("setci,expected", [
        ('RGB', (ColorInterp.red, ColorInterp.green, ColorInterp.blue)),
        ('red,green,blue', (ColorInterp.red, ColorInterp.green, ColorInterp.blue)),
    ])
    def test_colorinterp_rgb(setci, expected, path_3band_no_colorinterp):
        """Set 3 band color interpretation."""
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'edit-info', path_3band_no_colorinterp,
            '--colorinterp', setci])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:342: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee06210>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee06eb0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee06eb0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee06210>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Option: ('PHOTOMETRIC', 'MINISBLACK')
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee06210>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee06eb0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee06eb0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee06eb0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee06eb0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee06eb0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee06eb0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee06eb0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee06210>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaede2f70>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaede2bb0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaede2bb0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaede2f70>
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaede2f70>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaede2bb0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaede2bb0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaede2bb0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaede2bb0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaede2bb0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaede2bb0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaede2bb0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaede2f70>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='r'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee06210>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee06eb0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee06eb0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee06210>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Option: ('PHOTOMETRIC', 'MINISBLACK')
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee06210>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee06eb0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee06eb0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee06eb0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee06eb0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee06eb0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee06eb0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee06eb0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee06210>
conftest.py                523 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='w'> context.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='w'> has been stopped.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='w'> has been closed.
conftest.py                524 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaede2f70>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaede2bb0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaede2bb0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaede2f70>
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaede2f70>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaede2bb0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaede2bb0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaede2bb0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaede2bb0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaede2bb0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaede2bb0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaede2bb0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaede2f70>
conftest.py                529 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='r'> context.
conftest.py                532 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='r'> has been stopped.
conftest.py                532 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='r'> has been closed.
conftest.py                532 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_RGB_expec0/4band-byte-no-ci.tif' mode='r'> context.
________________ test_colorinterp_rgb[red,green,blue-expected1] ________________

setci = 'red,green,blue'
expected = (<ColorInterp.red: 3>, <ColorInterp.green: 4>, <ColorInterp.blue: 5>)
path_3band_no_colorinterp = '/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif'

    @pytest.mark.parametrize("setci,expected", [
        ('RGB', (ColorInterp.red, ColorInterp.green, ColorInterp.blue)),
        ('red,green,blue', (ColorInterp.red, ColorInterp.green, ColorInterp.blue)),
    ])
    def test_colorinterp_rgb(setci, expected, path_3band_no_colorinterp):
        """Set 3 band color interpretation."""
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'edit-info', path_3band_no_colorinterp,
            '--colorinterp', setci])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:342: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee06630>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae9b4d10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae9b4d10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee06630>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Option: ('PHOTOMETRIC', 'MINISBLACK')
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee06630>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9b4d10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9b4d10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9b4d10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9b4d10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae9b4d10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9b4d10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9b4d10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee06630>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaede2d30>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaede2510> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaede2510>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaede2d30>
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaede2d30>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaede2510>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaede2510>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaede2510>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaede2510>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaede2510> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaede2510>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaede2510>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaede2d30>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='r'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee06630>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae9b4d10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae9b4d10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee06630>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Option: ('PHOTOMETRIC', 'MINISBLACK')
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee06630>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9b4d10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9b4d10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9b4d10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9b4d10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae9b4d10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9b4d10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9b4d10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee06630>
conftest.py                523 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='w'> context.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='w'> has been stopped.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='w'> has been closed.
conftest.py                524 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaede2d30>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaede2510> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaede2510>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaede2d30>
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaede2d30>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaede2510>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaede2510>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaede2510>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaede2510>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaede2510> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaede2510>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaede2510>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaede2d30>
conftest.py                529 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='r'> context.
conftest.py                532 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='r'> has been stopped.
conftest.py                532 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='r'> has been closed.
conftest.py                532 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_rgb_red_green0/4band-byte-no-ci.tif' mode='r'> context.
__________ test_colorinterp_4band[red,green,blue,undefined-expected0] __________

setci = 'red,green,blue,undefined'
expected = (<ColorInterp.red: 3>, <ColorInterp.green: 4>, <ColorInterp.blue: 5>, <ColorInterp.undefined: 0>)
path_4band_no_colorinterp = '/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif'

    @pytest.mark.parametrize("setci,expected", [
        ('red,green,blue,undefined', (ColorInterp.red, ColorInterp.green, ColorInterp.blue, ColorInterp.undefined)),
        ('RGBA', (ColorInterp.red, ColorInterp.green, ColorInterp.blue, ColorInterp.alpha)),
        ('red,green,blue,alpha', (ColorInterp.red, ColorInterp.green, ColorInterp.blue, ColorInterp.alpha)),
    ])
    def test_colorinterp_4band(setci, expected, path_4band_no_colorinterp):
        """Set 4 band color interpretation."""
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'edit-info', path_4band_no_colorinterp,
            '--colorinterp', setci])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:358: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaede2910>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaede2c50> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaede2c50>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaede2910>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Option: ('PHOTOMETRIC', 'MINISBLACK')
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaede2910>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaede2c50>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaede2c50>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaede2c50>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaede2c50>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaede2c50> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaede2c50>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaede2c50>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaede2910>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9b44d0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaed03130> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaed03130>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9b44d0>
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9b44d0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed03130>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed03130>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed03130>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed03130>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaed03130> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed03130>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed03130>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9b44d0>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='r'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaede2910>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaede2c50> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaede2c50>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaede2910>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Option: ('PHOTOMETRIC', 'MINISBLACK')
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaede2910>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaede2c50>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaede2c50>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaede2c50>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaede2c50>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaede2c50> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaede2c50>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaede2c50>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaede2910>
conftest.py                523 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='w'> context.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='w'> has been stopped.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='w'> has been closed.
conftest.py                524 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9b44d0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaed03130> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaed03130>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9b44d0>
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9b44d0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed03130>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed03130>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed03130>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed03130>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaed03130> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed03130>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed03130>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9b44d0>
conftest.py                529 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='r'> context.
conftest.py                532 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='r'> has been stopped.
conftest.py                532 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='r'> has been closed.
conftest.py                532 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre0/4band-byte-no-ci.tif' mode='r'> context.
____________________ test_colorinterp_4band[RGBA-expected1] ____________________

setci = 'RGBA'
expected = (<ColorInterp.red: 3>, <ColorInterp.green: 4>, <ColorInterp.blue: 5>, <ColorInterp.alpha: 6>)
path_4band_no_colorinterp = '/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif'

    @pytest.mark.parametrize("setci,expected", [
        ('red,green,blue,undefined', (ColorInterp.red, ColorInterp.green, ColorInterp.blue, ColorInterp.undefined)),
        ('RGBA', (ColorInterp.red, ColorInterp.green, ColorInterp.blue, ColorInterp.alpha)),
        ('red,green,blue,alpha', (ColorInterp.red, ColorInterp.green, ColorInterp.blue, ColorInterp.alpha)),
    ])
    def test_colorinterp_4band(setci, expected, path_4band_no_colorinterp):
        """Set 4 band color interpretation."""
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'edit-info', path_4band_no_colorinterp,
            '--colorinterp', setci])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:358: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaed03f70>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaec769d0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaec769d0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaed03f70>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Option: ('PHOTOMETRIC', 'MINISBLACK')
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaed03f70>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec769d0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec769d0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec769d0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec769d0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaec769d0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec769d0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec769d0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaed03f70>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9b4730>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae9b4070> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae9b4070>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9b4730>
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9b4730>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9b4070>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9b4070>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9b4070>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9b4070>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae9b4070> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9b4070>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9b4070>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9b4730>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='r'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaed03f70>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaec769d0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaec769d0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaed03f70>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Option: ('PHOTOMETRIC', 'MINISBLACK')
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaed03f70>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec769d0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec769d0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec769d0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec769d0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaec769d0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec769d0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec769d0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaed03f70>
conftest.py                523 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='w'> context.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='w'> has been stopped.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='w'> has been closed.
conftest.py                524 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9b4730>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae9b4070> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae9b4070>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9b4730>
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9b4730>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9b4070>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9b4070>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9b4070>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9b4070>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae9b4070> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9b4070>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9b4070>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9b4730>
conftest.py                529 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='r'> context.
conftest.py                532 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='r'> has been stopped.
conftest.py                532 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='r'> has been closed.
conftest.py                532 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_RGBA_ex0/4band-byte-no-ci.tif' mode='r'> context.
____________ test_colorinterp_4band[red,green,blue,alpha-expected2] ____________

setci = 'red,green,blue,alpha'
expected = (<ColorInterp.red: 3>, <ColorInterp.green: 4>, <ColorInterp.blue: 5>, <ColorInterp.alpha: 6>)
path_4band_no_colorinterp = '/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif'

    @pytest.mark.parametrize("setci,expected", [
        ('red,green,blue,undefined', (ColorInterp.red, ColorInterp.green, ColorInterp.blue, ColorInterp.undefined)),
        ('RGBA', (ColorInterp.red, ColorInterp.green, ColorInterp.blue, ColorInterp.alpha)),
        ('red,green,blue,alpha', (ColorInterp.red, ColorInterp.green, ColorInterp.blue, ColorInterp.alpha)),
    ])
    def test_colorinterp_4band(setci, expected, path_4band_no_colorinterp):
        """Set 4 band color interpretation."""
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'edit-info', path_4band_no_colorinterp,
            '--colorinterp', setci])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:358: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9dbcf0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae9dbad0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae9dbad0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9dbcf0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Option: ('PHOTOMETRIC', 'MINISBLACK')
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9dbcf0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9dbad0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9dbad0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9dbad0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9dbad0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae9dbad0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9dbad0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9dbad0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9dbcf0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaec7df30>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaec7d0d0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaec7d0d0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaec7df30>
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaec7df30>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec7d0d0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec7d0d0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec7d0d0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec7d0d0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaec7d0d0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec7d0d0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec7d0d0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaec7df30>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='r'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9dbcf0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae9dbad0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae9dbad0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9dbcf0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Option: ('PHOTOMETRIC', 'MINISBLACK')
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9dbcf0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9dbad0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9dbad0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9dbad0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9dbad0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae9dbad0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9dbad0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9dbad0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9dbcf0>
conftest.py                523 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='w'> context.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='w'> has been stopped.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='w'> has been closed.
conftest.py                524 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaec7df30>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaec7d0d0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaec7d0d0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaec7df30>
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaec7df30>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec7d0d0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec7d0d0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec7d0d0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec7d0d0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaec7d0d0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec7d0d0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec7d0d0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaec7df30>
conftest.py                529 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='r'> context.
conftest.py                532 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='r'> has been stopped.
conftest.py                532 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='r'> has been closed.
conftest.py                532 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_4band_red_gre1/4band-byte-no-ci.tif' mode='r'> context.
____________________________ test_colorinterp_like _____________________________

path_4band_no_colorinterp = '/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif'
path_rgba_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGBA.byte.tif'

    def test_colorinterp_like(path_4band_no_colorinterp, path_rgba_byte_tif):
        """Set color interpretation from a ``--like`` image."""
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'edit-info', path_4band_no_colorinterp,
            '--like', path_rgba_byte_tif,
            '--colorinterp', 'like'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:380: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaec7ddd0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaec7db50> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaec7db50>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaec7ddd0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Option: ('PHOTOMETRIC', 'MINISBLACK')
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaec7ddd0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec7db50>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec7db50>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec7db50>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec7db50>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaec7db50> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec7db50>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec7db50>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaec7ddd0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9a3c50>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae9a32d0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae9a32d0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9a3c50>
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9a3c50>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9a32d0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9a32d0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9a32d0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9a32d0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae9a32d0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9a32d0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9a32d0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9a3c50>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='r'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaec7ddd0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaec7db50> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaec7db50>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaec7ddd0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Option: ('PHOTOMETRIC', 'MINISBLACK')
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaec7ddd0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec7db50>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec7db50>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec7db50>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec7db50>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaec7db50> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec7db50>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec7db50>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaec7ddd0>
conftest.py                523 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='w'> context.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='w'> has been stopped.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='w'> has been closed.
conftest.py                524 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9a3c50>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae9a32d0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae9a32d0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9a3c50>
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9a3c50>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9a32d0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9a32d0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9a32d0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9a32d0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae9a32d0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9a32d0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9a32d0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9a3c50>
conftest.py                529 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='r'> context.
conftest.py                532 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='r'> has been stopped.
conftest.py                532 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='r'> has been closed.
conftest.py                532 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like0/4band-byte-no-ci.tif' mode='r'> context.
________________________ test_like_band_count_mismatch _________________________

runner = <click.testing.CliRunner object at 0xaec7ddf0>
data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_like_band_count_mismatch(runner, data):
        """Ensure a mismatch in the number of bands for '--colorinterp like' and
        the target image raises an exception.
        """
        # Isolate to avoid potential '.aux.xml' creation.
        rgba = str(data.join('RGBA.byte.tif'))
        rgb = str(data.join('RGB.byte.tif'))
        result = runner.invoke(main_group, [
            'edit-info', rgb, '--colorinterp', 'like', '--like', rgba])
        assert result.exit_code != 0
>       assert "When using '--like' for color interpretation" in result.output
E       assert "When using '--like' for color interpretation" in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "edit-info".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "edit-info".\n' = <Result SystemExit(2,)>.output

tests/test_rio_edit_info.py:399: AssertionError
__________________________ test_colorinterp_like_all ___________________________

runner = <click.testing.CliRunner object at 0xaee093d0>
path_4band_no_colorinterp = '/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif'
path_rgba_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGBA.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0')

    @requires_gdal21
    def test_colorinterp_like_all(
            runner, path_4band_no_colorinterp, path_rgba_byte_tif, tmpdir):
        """Test setting colorinterp via '--like template --all'."""
        noci = str(tmpdir.join('test_colorinterp_like_all.tif'))
        rasterio.shutil.copy(path_4band_no_colorinterp, noci)
        result = runner.invoke(main_group, [
            'edit-info', noci, '--like', path_rgba_byte_tif, '--all'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_edit_info.py:410: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaedf2a10>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaedf23b0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaedf23b0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaedf2a10>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Option: ('PHOTOMETRIC', 'MINISBLACK')
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaedf2a10>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedf23b0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedf23b0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedf23b0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedf23b0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaedf23b0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedf23b0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedf23b0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaedf2a10>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee09a50>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee09c10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee09c10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee09a50>
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='r'> is started.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee09a50>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee09c10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee09c10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee09c10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee09c10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee09c10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee09c10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee09c10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee09a50>
DEBUG:rasterio._base:Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='r'> context.
DEBUG:rasterio._base:Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='r'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='r'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='r'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaedf2a10>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaedf23b0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaedf23b0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaedf2a10>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Option: ('PHOTOMETRIC', 'MINISBLACK')
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaedf2a10>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedf23b0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedf23b0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedf23b0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedf23b0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaedf23b0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedf23b0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedf23b0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaedf2a10>
conftest.py                523 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='w'> context.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='w'> has been stopped.
conftest.py                524 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='w'> has been closed.
conftest.py                524 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee09a50>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee09c10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee09c10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee09a50>
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                217 DEBUG    No projection detected.
__init__.py                217 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='r'> is started.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee09a50>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee09c10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee09c10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee09c10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee09c10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee09c10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee09c10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee09c10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee09a50>
conftest.py                529 DEBUG    Entering Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='r'> context.
conftest.py                532 DEBUG    Dataset <open DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='r'> has been stopped.
conftest.py                532 DEBUG    Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='r'> has been closed.
conftest.py                532 DEBUG    Exited Dataset <closed DatasetReader name='/tmp/pytest-of-buildd/pytest-0/test_colorinterp_like_all0/4band-byte-no-ci.tif' mode='r'> context.
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea6af50>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea6adf0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea6af50>
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea6af50>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6adf0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6adf0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6adf0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6adf0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea6adf0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea6af50>
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea6af50>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea6adf0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea6af50>
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea6af50>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6adf0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6adf0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6adf0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6adf0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea6adf0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea6af50>
_______________________________ test_feature_seq _______________________________

    def test_feature_seq():
        """GeoJSON sequence w/out RS is the default"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['gcps', 'tests/data/white-gemini-iv.vrt'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_gcp.py:19: AssertionError
_______________________________ test_collection ________________________________

    def test_collection():
        """GeoJSON collections can be had, optionally"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['gcps', 'tests/data/white-gemini-iv.vrt', '--collection'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_gcp.py:28: AssertionError
__________________________ test_feature_seq_indent_rs __________________________

    def test_feature_seq_indent_rs():
        """Indentation of a feature sequence succeeds with ascii RS option"""
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['gcps', 'tests/data/white-gemini-iv.vrt', '--indent', '2', '--rs'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_gcp.py:39: AssertionError
________________________________ test_projected ________________________________

    def test_projected():
        """Projected GeoJSON is an option"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['gcps', 'tests/data/white-gemini-iv.vrt', '--projected'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_gcp.py:55: AssertionError
____________________________ test_feature_precision ____________________________

    def test_feature_precision():
        """Coordinate rounding is an option"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['gcps', 'tests/data/white-gemini-iv.vrt', '--projected', '--precision', '1'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_gcp.py:64: AssertionError
__________________________ test_collection_precision ___________________________

    def test_collection_precision():
        """Coordinate rounding is an option"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['gcps', 'tests/data/white-gemini-iv.vrt', '--collection', '--projected', '--precision', '1'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_gcp.py:73: AssertionError
_____________________ test_collection_geographic_precision _____________________

    def test_collection_geographic_precision():
        """Unrounded coordinates are an option"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['gcps', 'tests/data/white-gemini-iv.vrt', '--collection', '--projected'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_gcp.py:83: AssertionError
___________________________________ test_env ___________________________________

    def test_env():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'env',
            '--formats'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:24: AssertionError
________________________________ test_info_err _________________________________

    def test_info_err():
        """Trying to get info of a directory raises an exception"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests'])
        assert result.exit_code != 0
        assert result.exception
        # Note: text of exception changed after 2.1, don't test on full string
>       assert 'not' in result.output and ' a valid input file' in result.output
E       assert ('not' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "info".\n')
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "info".\n' = <Result SystemExit(2,)>.output

tests/test_rio_info.py:36: AssertionError
__________________________________ test_info ___________________________________

    def test_info():
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:43: AssertionError
_______________________________ test_info_units ________________________________

    def test_info_units():
        """Find a units item"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:63: AssertionError
______________________________ test_info_indexes _______________________________

    def test_info_indexes():
        """Find an indexes item"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:72: AssertionError
____________________________ test_info_descriptions ____________________________

    def test_info_descriptions():
        """Find description items"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:81: AssertionError
_____________________________ test_info_mask_flags _____________________________

    def test_info_mask_flags():
        """Find description items"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:90: AssertionError
______________________________ test_info_verbose _______________________________

    def test_info_verbose():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            '-v',
            'info',
            'tests/data/RGB.byte.tif'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:101: AssertionError
_______________________________ test_info_quiet ________________________________

    def test_info_quiet():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            '-q',
            'info',
            'tests/data/RGB.byte.tif'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:111: AssertionError
_______________________________ test_info_count ________________________________

    def test_info_count():
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif', '--count'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:118: AssertionError
_____________________________ test_info_nodatavals _____________________________

    def test_info_nodatavals():
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif', '--bounds'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:126: AssertionError
________________________________ test_info_tags ________________________________

    def test_info_tags():
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif', '--tags'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:134: AssertionError
________________________________ test_info_res _________________________________

    def test_info_res():
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif', '--res'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:142: AssertionError
_______________________________ test_info_lnglat _______________________________

    def test_info_lnglat():
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif', '--lnglat'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:150: AssertionError
_________________________________ test_mo_info _________________________________

    def test_mo_info():
        runner = CliRunner()
        result = runner.invoke(main_group, ['info', 'tests/data/RGB.byte.tif'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:157: AssertionError
_______________________________ test_info_stats ________________________________

    def test_info_stats():
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif', '--tell-me-more'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:166: AssertionError
_____________________________ test_info_stats_only _____________________________

    def test_info_stats_only():
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['info', 'tests/data/RGB.byte.tif', '--stats', '--bidx', '2'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:177: AssertionError
____________________________ test_info_colorinterp _____________________________

    def test_info_colorinterp():
        runner = CliRunner()
        result = runner.invoke(main_group, ['info', 'tests/data/alpha.tif'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:184: AssertionError
______________________________ test_transform_err ______________________________

    def test_transform_err():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'transform'
        ], "[-78.0]")
>       assert result.exit_code == 1
E       assert 2 == 1
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:193: AssertionError
_____________________________ test_transform_point _____________________________

    def test_transform_point():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'transform',
            '--dst-crs', 'EPSG:32618',
            '--precision', '2'
        ], "[-78.0, 23.0]", catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:203: AssertionError
________________________ test_transform_point_dst_file _________________________

    def test_transform_point_dst_file():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'transform',
            '--dst-crs', 'tests/data/RGB.byte.tif', '--precision', '2'
        ], "[-78.0, 23.0]")
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:213: AssertionError
________________________ test_transform_point_src_file _________________________

    def test_transform_point_src_file():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'transform',
            '--src-crs',
            'tests/data/RGB.byte.tif',
            '--precision', '2'
        ], "[192457.13, 2546667.68]")
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:225: AssertionError
____________________________ test_transform_point_2 ____________________________

    def test_transform_point_2():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'transform',
            '[-78.0, 23.0]',
            '--dst-crs', 'EPSG:32618',
            '--precision', '2'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:237: AssertionError
__________________________ test_transform_point_multi __________________________

    def test_transform_point_multi():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'transform',
            '--dst-crs', 'EPSG:32618',
            '--precision', '2'
        ], "[-78.0, 23.0]\n[-78.0, 23.0]", catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:248: AssertionError
_____________________________ test_bounds_defaults _____________________________

    def test_bounds_defaults():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests/data/RGB.byte.tif'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:259: AssertionError
_______________________________ test_bounds_err ________________________________

    def test_bounds_err():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests'
        ])
>       assert result.exit_code == 1
E       assert 2 == 1
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:269: AssertionError
_____________________________ test_bounds_feature ______________________________

    def test_bounds_feature():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests/data/RGB.byte.tif',
            '--feature'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:279: AssertionError
_____________________________ test_bounds_obj_bbox _____________________________

    def test_bounds_obj_bbox():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests/data/RGB.byte.tif',
            '--bbox',
            '--precision', '2'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:291: AssertionError
_____________________________ test_bounds_compact ______________________________

    def test_bounds_compact():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests/data/RGB.byte.tif',
            '--bbox',
            '--precision', '2',
            '--compact'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:304: AssertionError
______________________________ test_bounds_indent ______________________________

    def test_bounds_indent():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests/data/RGB.byte.tif',
            '--bbox',
            '--indent', '2',
            '--precision', '2'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:317: AssertionError
________________________ test_bounds_obj_bbox_mercator _________________________

    def test_bounds_obj_bbox_mercator():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests/data/RGB.byte.tif',
            '--bbox',
            '--mercator',
            '--precision', '3'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:330: AssertionError
________________________ test_bounds_obj_bbox_projected ________________________

    def test_bounds_obj_bbox_projected():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests/data/RGB.byte.tif',
            '--bbox',
            '--projected',
            '--precision', '3'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:344: AssertionError
_____________________________ test_bounds_crs_bbox _____________________________

    def test_bounds_crs_bbox():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests/data/RGB.byte.tif',
            '--bbox',
            '--dst-crs', 'EPSG:32618',
            '--precision', '3'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:358: AssertionError
_______________________________ test_bounds_seq ________________________________

    def test_bounds_seq():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests/data/RGB.byte.tif',
            'tests/data/RGB.byte.tif',
            '--sequence'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:371: AssertionError
______________________________ test_bounds_seq_rs ______________________________

    def test_bounds_seq_rs():
        runner = CliRunner()
        result = runner.invoke(main_group, [
            'bounds',
            'tests/data/RGB.byte.tif',
            'tests/data/RGB.byte.tif',
            '--sequence',
            '--rs',
            '--bbox',
            '--precision', '2'
        ])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:399: AssertionError
__________________________________ test_insp ___________________________________

    def test_insp():
        runner = CliRunner()
        result = runner.invoke(main_group, ['insp', 'tests/data/RGB.byte.tif'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:408: AssertionError
_____________________________ test_info_checksums ______________________________

    def test_info_checksums():
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['info', 'tests/data/RGB.byte.tif', '--tell-me-more'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:421: AssertionError
___________________________ test_info_checksums_only ___________________________

    def test_info_checksums_only():
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['info', 'tests/data/RGB.byte.tif', '--checksum', '--bidx', '2'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_info.py:430: AssertionError
__________________________________ test_insp ___________________________________

runner = <click.testing.CliRunner object at 0xaec7da70>

    def test_insp(runner):
        result = runner.invoke(main_group, ['insp', 'tests/data/RGB.byte.tif'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_insp.py:14: AssertionError
__________________________________ test_mask ___________________________________

runner = <click.testing.CliRunner object at 0xae9a3150>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_mask1')
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
basic_image_2x2 = array([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
..., 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif'

    def test_mask(runner, tmpdir, basic_feature, basic_image_2x2,
                  pixelated_image_file):
    
        output = str(tmpdir.join('test.tif'))
    
        result = runner.invoke(
            main_group,
            ['mask', pixelated_image_file, output, '--geojson-mask', '-'],
            input=json.dumps(basic_feature)
        )
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_mask.py:33: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaedf2930>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaeee7390> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaeee7390>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaedf2930>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaedf2930>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeee7390>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeee7390>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeee7390>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeee7390>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaeee7390> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeee7390>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeee7390>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaedf2930>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaedf2930>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaeee7390> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaeee7390>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaedf2930>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaedf2930>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeee7390>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeee7390>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeee7390>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeee7390>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaeee7390> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeee7390>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeee7390>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaedf2930>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask1/pixelated_image.tif' mode='w'> context.
____________________________ test_mask_all_touched _____________________________

runner = <click.testing.CliRunner object at 0xaea22990>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1')
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
basic_image = array([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
..., 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif'

    def test_mask_all_touched(runner, tmpdir, basic_feature, basic_image,
                              pixelated_image_file):
    
        output = str(tmpdir.join('test.tif'))
    
        result = runner.invoke(
            main_group, [
                'mask', pixelated_image_file, output, '--all', '--geojson-mask',
                '-'],
            input=json.dumps(basic_feature)
        )
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_mask.py:54: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaed84cd0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaed84290> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaed84290>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaed84cd0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaed84cd0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed84290>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed84290>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed84290>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed84290>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaed84290> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed84290>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed84290>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaed84cd0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaed84cd0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaed84290> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaed84290>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaed84cd0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaed84cd0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed84290>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed84290>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed84290>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed84290>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaed84290> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed84290>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed84290>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaed84cd0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_all_touched1/pixelated_image.tif' mode='w'> context.
_______________________________ test_mask_invert _______________________________

runner = <click.testing.CliRunner object at 0xaed84190>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_mask_invert1')
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
pixelated_image = array([[1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
..., 0, 0, 0, 0, 0, 0, 1, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif'

    def test_mask_invert(runner, tmpdir, basic_feature, pixelated_image,
                         pixelated_image_file):
    
        truth = pixelated_image
        truth[2:4, 2:4] = 0
    
        output = str(tmpdir.join('test.tif'))
    
        result = runner.invoke(
            main_group, [
                'mask', pixelated_image_file, output, '--invert', '--geojson-mask',
                '-'],
            input=json.dumps(basic_feature))
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_mask.py:77: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea32090>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea32810> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea32810>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea32090>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea32090>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea32810>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea32810>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea32810>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea32810>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea32810> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea32810>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea32810>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea32090>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea32090>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea32810> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea32810>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea32090>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea32090>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea32810>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea32810>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea32810>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea32810>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea32810> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea32810>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea32810>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea32090>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invert1/pixelated_image.tif' mode='w'> context.
_________________________ test_mask_featurecollection __________________________

runner = <click.testing.CliRunner object at 0xaece4fd0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0')
basic_featurecollection = {'features': [{'geometry': {'coordinates': [[(...), (...), (...), (...), (...)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}], 'type': 'FeatureCollection'}
basic_image_2x2 = array([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
..., 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif'

    def test_mask_featurecollection(runner, tmpdir, basic_featurecollection,
                                    basic_image_2x2, pixelated_image_file):
    
        output = str(tmpdir.join('test.tif'))
    
        result = runner.invoke(
            main_group,
            ['mask', pixelated_image_file, output, '--geojson-mask', '-'],
            input=json.dumps(basic_featurecollection))
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_mask.py:95: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaeb2d0d0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaeb2d610> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb2d610>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaeb2d0d0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaeb2d0d0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb2d610>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb2d610>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb2d610>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb2d610>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaeb2d610> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb2d610>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb2d610>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaeb2d0d0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaeb2d0d0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaeb2d610> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb2d610>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaeb2d0d0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaeb2d0d0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb2d610>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb2d610>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb2d610>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb2d610>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaeb2d610> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb2d610>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb2d610>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaeb2d0d0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_featurecollection0/pixelated_image.tif' mode='w'> context.
___________________________ test_mask_out_of_bounds ____________________________

runner = <click.testing.CliRunner object at 0xaeb86590>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0')
basic_feature = {'geometry': {'coordinates': [[[-8.0, -8.0], [-8.0, -5.75], [-5.75, -5.75], [-5.75, -8.0], [-8.0, -8.0]]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif'

    def test_mask_out_of_bounds(runner, tmpdir, basic_feature,
                                pixelated_image_file):
        """
        A GeoJSON mask that is outside bounds of raster should result in a
        blank image.
        """
    
        coords = np.array(basic_feature['geometry']['coordinates']) - 10
        basic_feature['geometry']['coordinates'] = coords.tolist()
    
        output = str(tmpdir.join('test.tif'))
    
        with pytest.warns(UserWarning) as rec:
            result = runner.invoke(
                main_group,
                ['mask', pixelated_image_file, output, '--geojson-mask', '-'],
>               input=json.dumps(basic_feature))
E           Failed: DID NOT WARN. No warnings of type (<type 'exceptions.UserWarning'>,) was emitted. The list of emitted warnings is: [].

tests/test_rio_mask.py:120: Failed
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaeb29bb0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaece42f0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaece42f0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaeb29bb0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaeb29bb0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaece42f0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaece42f0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaece42f0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaece42f0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaece42f0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaece42f0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaece42f0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaeb29bb0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaeb29bb0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaece42f0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaece42f0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaeb29bb0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaeb29bb0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaece42f0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaece42f0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaece42f0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaece42f0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaece42f0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaece42f0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaece42f0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaeb29bb0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_out_of_bounds0/pixelated_image.tif' mode='w'> context.
_____________________________ test_mask_no_geojson _____________________________

runner = <click.testing.CliRunner object at 0xaece4370>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0')
pixelated_image = array([[1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
..., 0, 0, 0, 0, 0, 0, 1, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif'

    def test_mask_no_geojson(runner, tmpdir, pixelated_image, pixelated_image_file):
        """ Mask without geojson input should simply return same raster as input """
    
        output = str(tmpdir.join('test.tif'))
    
        result = runner.invoke(
            main_group,
            ['mask', pixelated_image_file, output])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_mask.py:136: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaeb919f0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaeb91970> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb91970>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaeb919f0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaeb919f0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb91970>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb91970>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb91970>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb91970>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaeb91970> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb91970>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb91970>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaeb919f0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaeb919f0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaeb91970> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb91970>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaeb919f0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaeb919f0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb91970>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb91970>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb91970>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb91970>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaeb91970> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb91970>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb91970>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaeb919f0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_no_geojson0/pixelated_image.tif' mode='w'> context.
__________________________ test_mask_invalid_geojson ___________________________

runner = <click.testing.CliRunner object at 0xaede5770>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0')
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif'

    def test_mask_invalid_geojson(runner, tmpdir, pixelated_image_file):
        """ Invalid GeoJSON should fail """
    
        output = str(tmpdir.join('test.tif'))
    
        # Using invalid JSON
        result = runner.invoke(
            main_group,
            ['mask', pixelated_image_file, output, '--geojson-mask', '-'],
            input='{bogus: value}')
        assert result.exit_code == 2
>       assert 'GeoJSON could not be read' in result.output
E       assert 'GeoJSON could not be read' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "mask".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "mask".\n' = <Result SystemExit(2,)>.output

tests/test_rio_mask.py:156: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaece4130>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea6ce90> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6ce90>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaece4130>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaece4130>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6ce90>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6ce90>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6ce90>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6ce90>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea6ce90> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6ce90>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6ce90>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaece4130>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaece4130>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea6ce90> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6ce90>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaece4130>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaece4130>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6ce90>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6ce90>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6ce90>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6ce90>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea6ce90> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6ce90>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6ce90>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaece4130>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_invalid_geojson0/pixelated_image.tif' mode='w'> context.
__________________________ test_mask_crop_inverted_y ___________________________

runner = <click.testing.CliRunner object at 0xae9ad0d0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0')
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif'

    @requires_gdal22(
        reason="This test is sensitive to pixel values and requires GDAL 2.2+")
    def test_mask_crop_inverted_y(runner, tmpdir, basic_feature, pixelated_image_file):
        """
        --crop option should also work if raster has a positive y pixel size
        (e.g., Affine.identity() ).
        """
    
        output = str(tmpdir.join('test.tif'))
    
        truth = np.zeros((3, 3))
        truth[0:2, 0:2] = 1
    
        result = runner.invoke(
            main_group, [
                'mask', pixelated_image_file, output, '--crop',
                '--geojson-mask', '-'],
            input=json.dumps(basic_feature))
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_mask.py:229: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea6add0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea6aa10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6aa10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea6add0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea6add0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6aa10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6aa10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6aa10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6aa10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea6aa10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6aa10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6aa10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea6add0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea6add0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea6aa10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6aa10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea6add0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea6add0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6aa10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6aa10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6aa10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6aa10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea6aa10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6aa10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6aa10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea6add0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_inverted_y0/pixelated_image.tif' mode='w'> context.
_________________________ test_mask_crop_out_of_bounds _________________________

runner = <click.testing.CliRunner object at 0xaea6a690>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0')
basic_feature = {'geometry': {'coordinates': [[[-8.0, -8.0], [-8.0, -5.75], [-5.75, -5.75], [-5.75, -8.0], [-8.0, -8.0]]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif'

    def test_mask_crop_out_of_bounds(runner, tmpdir, basic_feature,
                                     pixelated_image_file):
        """
        A GeoJSON mask that is outside bounds of raster should fail with
        --crop option.
        """
    
        coords = np.array(basic_feature['geometry']['coordinates']) - 10
        basic_feature['geometry']['coordinates'] = coords.tolist()
    
        output = str(tmpdir.join('test.tif'))
    
        result = runner.invoke(
            main_group, [
                'mask', pixelated_image_file, output, '--crop',
                '--geojson-mask', '-'],
            input=json.dumps(basic_feature))
        assert result.exit_code == 2
>       assert 'GeoJSON outside the extent' in result.output
E       assert 'GeoJSON outside the extent' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "mask".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "mask".\n' = <Result SystemExit(2,)>.output

tests/test_rio_mask.py:255: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaeb91fb0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaeb91ed0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb91ed0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaeb91fb0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaeb91fb0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb91ed0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb91ed0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb91ed0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb91ed0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaeb91ed0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb91ed0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb91ed0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaeb91fb0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaeb91fb0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaeb91ed0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb91ed0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaeb91fb0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaeb91fb0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb91ed0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb91ed0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb91ed0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb91ed0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaeb91ed0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb91ed0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb91ed0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaeb91fb0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_out_of_bounds0/pixelated_image.tif' mode='w'> context.
__________________________ test_mask_crop_and_invert ___________________________

runner = <click.testing.CliRunner object at 0xaeb91c50>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0')
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
pixelated_image = array([[1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
..., 0, 0, 0, 0, 0, 0, 1, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif'

    def test_mask_crop_and_invert(runner, tmpdir, basic_feature, pixelated_image,
                                  pixelated_image_file):
        """ Adding crop and invert options should ignore invert option """
    
        output = str(tmpdir.join('test.tif'))
    
        result = runner.invoke(
            main_group,
            ['mask', pixelated_image_file, output, '--crop', '--invert',
             '--geojson-mask', '-'],
            input=json.dumps(basic_feature))
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_mask.py:269: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaece4830>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae9add30> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae9add30>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaece4830>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaece4830>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9add30>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9add30>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9add30>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9add30>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae9add30> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9add30>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9add30>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaece4830>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaece4830>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae9add30> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae9add30>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaece4830>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaece4830>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9add30>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9add30>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9add30>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9add30>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae9add30> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9add30>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9add30>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaece4830>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_mask_crop_and_invert0/pixelated_image.tif' mode='w'> context.
___________________________ test_merge_with_colormap ___________________________

test_data_dir_1 = local('/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0')

    def test_merge_with_colormap(test_data_dir_1):
        outputname = str(test_data_dir_1.join('merged.tif'))
        inputs = [str(x) for x in test_data_dir_1.listdir()]
        inputs.sort()
    
        # Add a colormap to the first input prior merge
        with rasterio.open(inputs[0], 'r+') as src:
            src.write_colormap(1, {0: (255, 0, 0, 255), 255: (0, 0, 0, 0)})
    
        runner = CliRunner()
        result = runner.invoke(main_group, ['merge'] + inputs + [outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:114: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaece4b10>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaece4370> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaece4370>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaece4b10>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaece4b10>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaece4370>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaece4370>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaece4370>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaece4370>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaece4370> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaece4370>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaece4370>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaece4b10>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea96830>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea962b0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea962b0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea96830>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea96830>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea962b0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea962b0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea962b0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea962b0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea962b0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea962b0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea962b0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea96830>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaece4b10>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaece4370> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaece4370>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaece4b10>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 1.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaece4b10>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaece4370>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaece4370>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaece4370>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaece4370>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaece4370> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaece4370>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaece4370>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaece4b10>
test_rio_merge.py           36 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif' mode='w'> context.
test_rio_merge.py           39 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif' mode='w'> has been stopped.
test_rio_merge.py           39 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif' mode='w'> has been closed.
test_rio_merge.py           39 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/b.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea96830>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea962b0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea962b0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea96830>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 1.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea96830>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea962b0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea962b0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea962b0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea962b0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea962b0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea962b0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea962b0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea96830>
test_rio_merge.py           41 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='w'> context.
test_rio_merge.py           44 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='w'> has been stopped.
test_rio_merge.py           44 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='w'> has been closed.
test_rio_merge.py           44 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='w'> context.
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9db7d0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae9dbd10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9db7d0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif', archive=None, scheme=None), mode: r+, driver: None
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9db7d0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9dbd10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9dbd10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9dbd10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9dbd10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae9dbd10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9db7d0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='r+'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='r+'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='r+'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='r+'> context.
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9db7d0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae9dbd10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9db7d0>
__init__.py                219 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif', archive=None, scheme=None), mode: r+, driver: None
__init__.py                219 DEBUG    Got coordinate system
__init__.py                219 DEBUG    Authority key: EPSG, value: 4326
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 1.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9db7d0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9dbd10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9dbd10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9dbd10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9dbd10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae9dbd10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9db7d0>
test_rio_merge.py          109 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='r+'> context.
test_rio_merge.py          110 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='r+'> has been stopped.
test_rio_merge.py          110 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='r+'> has been closed.
test_rio_merge.py          110 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_colormap0/a.tif' mode='r+'> context.
____________________________ test_merge_with_nodata ____________________________

test_data_dir_1 = local('/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0')

    @requires_gdal22(
        reason="This test is sensitive to pixel values and requires GDAL 2.2+")
    def test_merge_with_nodata(test_data_dir_1):
        outputname = str(test_data_dir_1.join('merged.tif'))
        inputs = [str(x) for x in test_data_dir_1.listdir()]
        inputs.sort()
        runner = CliRunner()
        result = runner.invoke(main_group, ['merge'] + inputs + [outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:131: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9748d0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaeb29850> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb29850>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9748d0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9748d0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb29850>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb29850>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb29850>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb29850>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaeb29850> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb29850>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb29850>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9748d0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea96b30>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea965b0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea965b0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea96b30>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea96b30>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea965b0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea965b0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea965b0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea965b0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea965b0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea965b0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea965b0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea96b30>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9748d0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaeb29850> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb29850>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9748d0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 1.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9748d0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb29850>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb29850>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb29850>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb29850>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaeb29850> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb29850>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb29850>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9748d0>
test_rio_merge.py           36 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif' mode='w'> context.
test_rio_merge.py           39 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif' mode='w'> has been stopped.
test_rio_merge.py           39 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif' mode='w'> has been closed.
test_rio_merge.py           39 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/b.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea96b30>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea965b0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea965b0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea96b30>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 1.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea96b30>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea965b0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea965b0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea965b0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea965b0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea965b0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea965b0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea965b0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea96b30>
test_rio_merge.py           41 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif' mode='w'> context.
test_rio_merge.py           44 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif' mode='w'> has been stopped.
test_rio_merge.py           44 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif' mode='w'> has been closed.
test_rio_merge.py           44 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_with_nodata0/a.tif' mode='w'> context.
_______________________________ test_merge_error _______________________________

test_data_dir_1 = local('/tmp/pytest-of-buildd/pytest-0/test_merge_error0')

    def test_merge_error(test_data_dir_1):
        """A nodata value outside the valid range results in an error"""
        outputname = str(test_data_dir_1.join('merged.tif'))
        inputs = [str(x) for x in test_data_dir_1.listdir()]
        inputs.sort()
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['merge'] + inputs + [outputname] + ['--nodata', '-1'])
>       assert result.exit_code == -1
E       assert 2 == -1
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:150: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee09950>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee09f10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee09f10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee09950>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee09950>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee09f10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee09f10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee09f10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee09f10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee09f10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee09f10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee09f10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee09950>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea96190>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea96f90> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea96f90>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea96190>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea96190>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea96f90>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea96f90>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea96f90>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea96f90>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea96f90> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea96f90>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea96f90>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea96190>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee09950>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee09f10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee09f10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee09950>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 1.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee09950>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee09f10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee09f10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee09f10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee09f10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee09f10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee09f10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee09f10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee09950>
test_rio_merge.py           36 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif' mode='w'> context.
test_rio_merge.py           39 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif' mode='w'> has been stopped.
test_rio_merge.py           39 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif' mode='w'> has been closed.
test_rio_merge.py           39 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/b.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea96190>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea96f90> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea96f90>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea96190>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 1.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea96190>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea96f90>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea96f90>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea96f90>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea96f90>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea96f90> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea96f90>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea96f90>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea96190>
test_rio_merge.py           41 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif' mode='w'> context.
test_rio_merge.py           44 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif' mode='w'> has been stopped.
test_rio_merge.py           44 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif' mode='w'> has been closed.
test_rio_merge.py           44 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_error0/a.tif' mode='w'> context.
_______________________________ test_merge_bidx ________________________________

test_data_dir_3 = local('/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0')

    def test_merge_bidx(test_data_dir_3):
        outputname = str(test_data_dir_3.join('merged.tif'))
        inputs = [str(x) for x in test_data_dir_3.listdir()]
        inputs.sort()
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['merge'] + inputs + [outputname] + ['--bidx', '1'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:160: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea96d10>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea96810> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea96810>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea96d10>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea96d10>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea96810>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea96810>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea96810>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea96810>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea96810> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea96810>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea96810>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea96d10>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea969f0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea96110> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea96110>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea969f0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 1.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea969f0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea96110>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea96110>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea96110>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea96110>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea96110> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea96110>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea96110>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea969f0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea96d10>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea96810> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea96810>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea96d10>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 1.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea96d10>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea96810>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea96810>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea96810>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea96810>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea96810> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea96810>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea96810>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea96d10>
test_rio_merge.py           90 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif' mode='w'> context.
test_rio_merge.py           93 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif' mode='w'> has been stopped.
test_rio_merge.py           93 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif' mode='w'> has been closed.
test_rio_merge.py           93 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/b.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea969f0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea96110> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea96110>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea969f0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 1.000000
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 1.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea969f0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea96110>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea96110>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea96110>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea96110>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea96110> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea96110>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea96110>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea969f0>
test_rio_merge.py           95 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif' mode='w'> context.
test_rio_merge.py           98 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif' mode='w'> has been stopped.
test_rio_merge.py           98 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif' mode='w'> has been closed.
test_rio_merge.py           98 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_bidx0/a.tif' mode='w'> context.
__________________________ test_merge_without_nodata ___________________________

test_data_dir_2 = local('/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0')

    @requires_gdal22(
        reason="This test is sensitive to pixel values and requires GDAL 2.2+")
    def test_merge_without_nodata(test_data_dir_2):
        outputname = str(test_data_dir_2.join('merged.tif'))
        inputs = [str(x) for x in test_data_dir_2.listdir()]
        inputs.sort()
        runner = CliRunner()
        result = runner.invoke(main_group, ['merge'] + inputs + [outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:176: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae974990>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee09a30> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee09a30>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae974990>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae974990>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee09a30>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee09a30>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee09a30>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee09a30>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee09a30> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee09a30>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee09a30>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae974990>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaeae6550>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaeae6370> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaeae6370>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaeae6550>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaeae6550>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeae6370>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeae6370>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeae6370>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeae6370>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaeae6370> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeae6370>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeae6370>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaeae6550>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae974990>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee09a30> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee09a30>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae974990>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae974990>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee09a30>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee09a30>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee09a30>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee09a30>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee09a30> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee09a30>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee09a30>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae974990>
test_rio_merge.py           63 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif' mode='w'> context.
test_rio_merge.py           66 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif' mode='w'> has been stopped.
test_rio_merge.py           66 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif' mode='w'> has been closed.
test_rio_merge.py           66 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/b.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaeae6550>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaeae6370> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaeae6370>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaeae6550>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaeae6550>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeae6370>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeae6370>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeae6370>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeae6370>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaeae6370> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeae6370>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeae6370>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaeae6550>
test_rio_merge.py           68 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif' mode='w'> context.
test_rio_merge.py           71 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif' mode='w'> has been stopped.
test_rio_merge.py           71 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif' mode='w'> has been closed.
test_rio_merge.py           71 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_without_nodata0/a.tif' mode='w'> context.
___________________________ test_merge_output_exists ___________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists0')

    def test_merge_output_exists(tmpdir):
        outputname = str(tmpdir.join('merged.tif'))
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['merge', 'tests/data/RGB.byte.tif', outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:192: AssertionError
________________ test_merge_output_exists_without_nodata_fails _________________

test_data_dir_2 = local('/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0')

    def test_merge_output_exists_without_nodata_fails(test_data_dir_2):
        """Fails without --overwrite"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, [
                'merge', str(test_data_dir_2.join('a.tif')),
                str(test_data_dir_2.join('b.tif'))])
>       assert result.exit_code == 1
E       assert 2 == 1
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:207: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaeb29bb0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaece41f0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaece41f0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaeb29bb0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaeb29bb0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaece41f0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaece41f0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaece41f0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaece41f0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaece41f0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaece41f0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaece41f0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaeb29bb0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9db730>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaec673b0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaec673b0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9db730>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9db730>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec673b0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec673b0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec673b0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec673b0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaec673b0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec673b0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec673b0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9db730>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaeb29bb0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaece41f0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaece41f0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaeb29bb0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaeb29bb0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaece41f0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaece41f0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaece41f0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaece41f0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaece41f0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaece41f0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaece41f0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaeb29bb0>
test_rio_merge.py           63 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif' mode='w'> context.
test_rio_merge.py           66 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif' mode='w'> has been stopped.
test_rio_merge.py           66 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif' mode='w'> has been closed.
test_rio_merge.py           66 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/b.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9db730>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaec673b0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaec673b0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9db730>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9db730>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec673b0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec673b0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec673b0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec673b0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaec673b0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec673b0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec673b0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9db730>
test_rio_merge.py           68 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif' mode='w'> context.
test_rio_merge.py           71 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif' mode='w'> has been stopped.
test_rio_merge.py           71 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif' mode='w'> has been closed.
test_rio_merge.py           71 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho0/a.tif' mode='w'> context.
___________________ test_merge_output_exists_without_nodata ____________________

test_data_dir_2 = local('/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1')

    def test_merge_output_exists_without_nodata(test_data_dir_2):
        """Succeeds with --overwrite"""
        runner = CliRunner()
        result = runner.invoke(
            main_group, [
                'merge', '--overwrite', str(test_data_dir_2.join('a.tif')),
                str(test_data_dir_2.join('b.tif'))])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:217: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaec673b0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae9dbd10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaec673b0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaec673b0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9dbd10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9dbd10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9dbd10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9dbd10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae9dbd10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaec673b0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae78de70>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae78d250> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae78d250>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae78de70>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae78de70>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae78d250>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae78d250>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae78d250>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae78d250>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae78d250> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae78d250>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae78d250>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae78de70>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaec673b0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae9dbd10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaec673b0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaec673b0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9dbd10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9dbd10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9dbd10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9dbd10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae9dbd10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9dbd10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaec673b0>
test_rio_merge.py           63 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif' mode='w'> context.
test_rio_merge.py           66 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif' mode='w'> has been stopped.
test_rio_merge.py           66 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif' mode='w'> has been closed.
test_rio_merge.py           66 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/b.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae78de70>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae78d250> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae78d250>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae78de70>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae78de70>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae78d250>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae78d250>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae78d250>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae78d250>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae78d250> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae78d250>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae78d250>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae78de70>
test_rio_merge.py           68 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif' mode='w'> context.
test_rio_merge.py           71 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif' mode='w'> has been stopped.
test_rio_merge.py           71 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif' mode='w'> has been closed.
test_rio_merge.py           71 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_output_exists_witho1/a.tif' mode='w'> context.
________________________________ test_merge_err ________________________________

    def test_merge_err():
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['merge', 'tests'])
>       assert result.exit_code == 1
E       assert 2 == 1
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:224: AssertionError
_______________________________ test_format_jpeg _______________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_format_jpeg0')

    def test_format_jpeg(tmpdir):
        outputname = str(tmpdir.join('stacked.jpg'))
        runner = CliRunner()
        result = runner.invoke(
            main_group, [
                'merge', 'tests/data/RGB.byte.tif', outputname,
                '--format', 'JPEG'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:234: AssertionError
____________________________ test_merge_overlapping ____________________________

test_data_dir_overlapping = local('/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0')

    def test_merge_overlapping(test_data_dir_overlapping):
        outputname = str(test_data_dir_overlapping.join('merged.tif'))
        inputs = [str(x) for x in test_data_dir_overlapping.listdir()]
        inputs.sort()
        runner = CliRunner()
        result = runner.invoke(main_group, ['merge'] + inputs + [outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:273: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaeb2df30>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae6dc890> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae6dc890>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaeb2df30>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaeb2df30>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae6dc890>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae6dc890>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae6dc890>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae6dc890>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae6dc890> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae6dc890>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae6dc890>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaeb2df30>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae6dc8b0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae6dce10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae6dce10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae6dc8b0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae6dc8b0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae6dce10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae6dce10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae6dce10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae6dce10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae6dce10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae6dce10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae6dce10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae6dc8b0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaeb2df30>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae6dc890> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae6dc890>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaeb2df30>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 0.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaeb2df30>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae6dc890>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae6dc890>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae6dc890>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae6dc890>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae6dc890> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae6dc890>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae6dc890>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaeb2df30>
test_rio_merge.py          254 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif' mode='w'> context.
test_rio_merge.py          256 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif' mode='w'> has been stopped.
test_rio_merge.py          256 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif' mode='w'> has been closed.
test_rio_merge.py          256 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/se.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae6dc8b0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae6dce10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae6dce10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae6dc8b0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 0.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae6dc8b0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae6dce10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae6dce10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae6dce10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae6dce10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae6dce10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae6dce10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae6dce10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae6dc8b0>
test_rio_merge.py          260 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif' mode='w'> context.
test_rio_merge.py          262 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif' mode='w'> has been stopped.
test_rio_merge.py          262 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif' mode='w'> has been closed.
test_rio_merge.py          262 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_overlapping0/nw.tif' mode='w'> context.
_______________________________ test_merge_float _______________________________

test_data_dir_float = local('/tmp/pytest-of-buildd/pytest-0/test_merge_float0')

    @requires_gdal22(
        reason="This test is sensitive to pixel values and requires GDAL 2.2+")
    def test_merge_float(test_data_dir_float):
        outputname = str(test_data_dir_float.join('merged.tif'))
        inputs = [str(x) for x in test_data_dir_float.listdir()]
        inputs.sort()
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['merge'] + inputs + [outputname] + ['--nodata', '-1.5'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:322: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee09a10>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaecafbf0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaecafbf0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee09a10>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee09a10>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaecafbf0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaecafbf0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaecafbf0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaecafbf0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaecafbf0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaecafbf0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaecafbf0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee09a10>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae6dcd90>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae6dcad0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae6dcad0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae6dcd90>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae6dcd90>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae6dcad0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae6dcad0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae6dcad0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae6dcad0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae6dcad0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae6dcad0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae6dcad0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae6dcd90>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee09a10>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaecafbf0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaecafbf0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee09a10>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 0.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee09a10>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaecafbf0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaecafbf0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaecafbf0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaecafbf0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaecafbf0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaecafbf0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaecafbf0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee09a10>
test_rio_merge.py          301 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif' mode='w'> context.
test_rio_merge.py          304 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif' mode='w'> has been stopped.
test_rio_merge.py          304 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif' mode='w'> has been closed.
test_rio_merge.py          304 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/two.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae6dcd90>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae6dcad0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae6dcad0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae6dcd90>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 0.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae6dcd90>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae6dcad0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae6dcad0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae6dcad0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae6dcad0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae6dcad0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae6dcad0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae6dcad0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae6dcd90>
test_rio_merge.py          306 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif' mode='w'> context.
test_rio_merge.py          309 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif' mode='w'> has been stopped.
test_rio_merge.py          309 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif' mode='w'> has been closed.
test_rio_merge.py          309 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_float0/one.tif' mode='w'> context.
_____________________________ test_merge_tiny_base _____________________________

tiffs = local('/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0')

    def test_merge_tiny_base(tiffs):
        outputname = str(tiffs.join('merged.tif'))
        inputs = [str(x) for x in tiffs.listdir()]
        inputs.sort()
        runner = CliRunner()
        result = runner.invoke(main_group, ['merge'] + inputs + [outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:377: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaede52d0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaeb1c9f0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb1c9f0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaede52d0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaede52d0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb1c9f0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb1c9f0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb1c9f0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb1c9f0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaeb1c9f0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb1c9f0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb1c9f0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaede52d0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaeb91350>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaedf2310> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaedf2310>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaeb91350>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaeb91350>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedf2310>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedf2310>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedf2310>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedf2310>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaedf2310> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedf2310>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedf2310>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaeb91350>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee2ab70>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee2a1d0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee2a1d0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee2ab70>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee2ab70>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee2a1d0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee2a1d0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee2a1d0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee2a1d0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee2a1d0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee2a1d0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee2a1d0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee2ab70>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee0d4d0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee0d370> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee0d370>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee0d4d0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee0d4d0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee0d370>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee0d370>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee0d370>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee0d370>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee0d370> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee0d370>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee0d370>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee0d4d0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaede52d0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaeb1c9f0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb1c9f0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaede52d0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaede52d0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb1c9f0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb1c9f0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb1c9f0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb1c9f0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaeb1c9f0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb1c9f0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb1c9f0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaede52d0>
test_rio_merge.py          350 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif' mode='w'> context.
test_rio_merge.py          351 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif' mode='w'> has been stopped.
test_rio_merge.py          351 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif' mode='w'> has been closed.
test_rio_merge.py          351 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/a-sw.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaeb91350>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaedf2310> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaedf2310>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaeb91350>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaeb91350>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedf2310>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedf2310>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedf2310>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedf2310>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaedf2310> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedf2310>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedf2310>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaeb91350>
test_rio_merge.py          355 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif' mode='w'> context.
test_rio_merge.py          356 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif' mode='w'> has been stopped.
test_rio_merge.py          356 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif' mode='w'> has been closed.
test_rio_merge.py          356 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/b-ct.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee2ab70>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee2a1d0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee2a1d0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee2ab70>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee2ab70>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee2a1d0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee2a1d0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee2a1d0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee2a1d0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee2a1d0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee2a1d0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee2a1d0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee2ab70>
test_rio_merge.py          360 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif' mode='w'> context.
test_rio_merge.py          361 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif' mode='w'> has been stopped.
test_rio_merge.py          361 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif' mode='w'> has been closed.
test_rio_merge.py          361 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/c-ne.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee0d4d0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee0d370> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee0d370>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee0d4d0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee0d4d0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee0d370>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee0d370>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee0d370>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee0d370>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee0d370> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee0d370>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee0d370>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee0d4d0>
test_rio_merge.py          365 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif' mode='w'> context.
test_rio_merge.py          366 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif' mode='w'> has been stopped.
test_rio_merge.py          366 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif' mode='w'> has been closed.
test_rio_merge.py          366 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_base0/d-ne.tif' mode='w'> context.
__________________________ test_merge_tiny_output_opt __________________________

tiffs = local('/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0')

    def test_merge_tiny_output_opt(tiffs):
        outputname = str(tiffs.join('merged.tif'))
        inputs = [str(x) for x in tiffs.listdir()]
        inputs.sort()
        runner = CliRunner()
        result = runner.invoke(main_group, ['merge'] + inputs + ['-o', outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:401: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaedf2930>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee0de10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee0de10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaedf2930>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaedf2930>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee0de10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee0de10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee0de10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee0de10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee0de10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee0de10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee0de10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaedf2930>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaeb91a90>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaeb91c90> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb91c90>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaeb91a90>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaeb91a90>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb91c90>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb91c90>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb91c90>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb91c90>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaeb91c90> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb91c90>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb91c90>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaeb91a90>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee2aed0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee2a750> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee2a750>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee2aed0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee2aed0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee2a750>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee2a750>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee2a750>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee2a750>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee2a750> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee2a750>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee2a750>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee2aed0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif' mode='w'> context.
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee2abf0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee2a390> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee2a390>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee2abf0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio._base:Nodata success: 0, Nodata value: -10000000000.000000
DEBUG:rasterio._base:No projection detected.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee2abf0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee2a390>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee2a390>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee2a390>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee2a390>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee2a390> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee2a390>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee2a390>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee2abf0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaedf2930>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee0de10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee0de10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaedf2930>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaedf2930>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee0de10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee0de10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee0de10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee0de10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee0de10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee0de10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee0de10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaedf2930>
test_rio_merge.py          350 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif' mode='w'> context.
test_rio_merge.py          351 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif' mode='w'> has been stopped.
test_rio_merge.py          351 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif' mode='w'> has been closed.
test_rio_merge.py          351 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/a-sw.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaeb91a90>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaeb91c90> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaeb91c90>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaeb91a90>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaeb91a90>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaeb91c90>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaeb91c90>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaeb91c90>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaeb91c90>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaeb91c90> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaeb91c90>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaeb91c90>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaeb91a90>
test_rio_merge.py          355 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif' mode='w'> context.
test_rio_merge.py          356 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif' mode='w'> has been stopped.
test_rio_merge.py          356 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif' mode='w'> has been closed.
test_rio_merge.py          356 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/b-ct.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee2aed0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee2a750> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee2a750>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee2aed0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee2aed0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee2a750>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee2a750>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee2a750>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee2a750>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee2a750> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee2a750>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee2a750>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee2aed0>
test_rio_merge.py          360 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif' mode='w'> context.
test_rio_merge.py          361 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif' mode='w'> has been stopped.
test_rio_merge.py          361 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif' mode='w'> has been closed.
test_rio_merge.py          361 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/c-ne.tif' mode='w'> context.
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee2abf0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee2a390> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee2a390>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee2abf0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif
__init__.py                226 DEBUG    No projection detected.
__init__.py                226 DEBUG    Nodata success: 0, Nodata value: -10000000000.000000
__init__.py                226 DEBUG    No projection detected.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee2abf0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee2a390>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee2a390>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee2a390>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee2a390>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee2a390> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee2a390>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee2a390>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee2abf0>
test_rio_merge.py          365 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif' mode='w'> context.
test_rio_merge.py          366 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif' mode='w'> has been stopped.
test_rio_merge.py          366 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif' mode='w'> has been closed.
test_rio_merge.py          366 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_merge_tiny_output_opt0/d-ne.tif' mode='w'> context.
________________________________ test_merge_rgb ________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_merge_rgb0')

    def test_merge_rgb(tmpdir):
        """Get back original image"""
        outputname = str(tmpdir.join('merged.tif'))
        inputs = [
            'tests/data/rgb1.tif',
            'tests/data/rgb2.tif',
            'tests/data/rgb3.tif',
            'tests/data/rgb4.tif']
        runner = CliRunner()
        result = runner.invoke(main_group, ['merge'] + inputs + [outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_merge.py:454: AssertionError
___________________________________ test_err ___________________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_err(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(cli, ['overview', inputfile, '--build', 'a^2'])
        assert result.exit_code == 2
>       assert "must match" in result.output
E       assert 'must match' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "overview".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "overview".\n' = <Result SystemExit(2,)>.output

tests/test_rio_overview.py:18: AssertionError
_________________________________ test_ls_none _________________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_ls_none(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(cli, ['overview', inputfile, '--ls'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_overview.py:25: AssertionError
________________________________ test_build_ls _________________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_build_ls(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(cli, ['overview', inputfile, '--build', '2,4,8'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_overview.py:34: AssertionError
______________________________ test_build_pow_ls _______________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_build_pow_ls(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(cli, ['overview', inputfile, '--build', '2^1..3'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_overview.py:45: AssertionError
_______________________________ test_rebuild_ls ________________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_rebuild_ls(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
    
        result = runner.invoke(
            cli,
            ['overview', inputfile, '--build', '2,4,8', '--resampling', 'cubic'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_overview.py:59: AssertionError
_________________________________ test_no_args _________________________________

data = local('/tmp/pytest-of-buildd/pytest-0/tests/data')

    def test_no_args(data):
        runner = CliRunner()
        inputfile = str(data.join('RGB.byte.tif'))
        result = runner.invoke(cli, ['overview', inputfile])
        assert result.exit_code == 2
>       assert "Please specify --ls, --rebuild, or --build ..." in result.output
E       assert 'Please specify --ls, --rebuild, or --build ...' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "overview".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "overview".\n' = <Result SystemExit(2,)>.output

tests/test_rio_overview.py:76: AssertionError
________________________________ test_rasterize ________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize0')
runner = <click.testing.CliRunner object at 0xae9b5f50>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize(tmpdir, runner, basic_feature):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, [
                'rasterize', output, '--dimensions', DEFAULT_SHAPE[0],
                DEFAULT_SHAPE[1]],
            input=json.dumps(basic_feature))
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:29: AssertionError
_____________________________ test_rasterize_file ______________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_file0')
runner = <click.testing.CliRunner object at 0xae9db910>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize_file(tmpdir, runner, basic_feature):
        """Confirm fix of #1425"""
        geojson_file = tmpdir.join('input.geojson')
        geojson_file.write(json.dumps(basic_feature))
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, [
                'rasterize', str(geojson_file), output, '--dimensions', DEFAULT_SHAPE[0],
                DEFAULT_SHAPE[1]])
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:48: AssertionError
____________________________ test_rasterize_bounds _____________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_bounds0')
runner = <click.testing.CliRunner object at 0xaee09930>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
basic_image_2x2 = array([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
..., 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], dtype=uint8)

    def test_rasterize_bounds(tmpdir, runner, basic_feature, basic_image_2x2):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, [
                'rasterize', output, '--dimensions', DEFAULT_SHAPE[0],
                DEFAULT_SHAPE[1], '--bounds', bbox(0, 10, 10, 0)],
            input=json.dumps(basic_feature))
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:65: AssertionError
__________________________ test_rasterize_resolution ___________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_resolution0')
runner = <click.testing.CliRunner object at 0xaede2e30>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize_resolution(tmpdir, runner, basic_feature):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group,
            ['rasterize', output, '--res', 0.15],
            input=json.dumps(basic_feature))
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:81: AssertionError
________________________ test_rasterize_multiresolution ________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_multiresolution0')
runner = <click.testing.CliRunner object at 0xaea32a90>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize_multiresolution(tmpdir, runner, basic_feature):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group,
            ['rasterize', output, '--res', 0.15, '--res', 0.15],
            input=json.dumps(basic_feature)
        )
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:98: AssertionError
____________________________ test_rasterize_src_crs ____________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs0')
runner = <click.testing.CliRunner object at 0xae6dbcf0>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize_src_crs(tmpdir, runner, basic_feature):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, [
                'rasterize', output, '--dimensions', DEFAULT_SHAPE[0],
                DEFAULT_SHAPE[1], '--src-crs', 'EPSG:3857'],
            input=json.dumps(basic_feature))
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:115: AssertionError
______________________ test_rasterize_mismatched_src_crs _______________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_mismatched_src_0')
runner = <click.testing.CliRunner object at 0xaea960b0>
basic_feature = {'geometry': {'coordinates': [[[200000.0, 200000.0], [200000.0, 425000.0], [425000.0, 425000.0], [425000.0, 200000.0], [200000.0, 200000.0]]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize_mismatched_src_crs(tmpdir, runner, basic_feature):
        """
        A --src-crs that is geographic with coordinates that are outside
        world bounds should fail.
        """
    
        coords = np.array(basic_feature['geometry']['coordinates']) * 100000
        basic_feature['geometry']['coordinates'] = coords.tolist()
    
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, [
                'rasterize', output, '--dimensions', DEFAULT_SHAPE[0],
                DEFAULT_SHAPE[1], '--src-crs', 'EPSG:4326'],
            input=json.dumps(basic_feature))
    
        assert result.exit_code == 2
>       assert 'Bounds are beyond the valid extent for EPSG:4326' in result.output
E       assert 'Bounds are beyond the valid extent for EPSG:4326' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n' = <Result SystemExit(2,)>.output

tests/test_rio_rasterize.py:138: AssertionError
________________________ test_rasterize_invalid_src_crs ________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_invalid_src_crs0')
runner = <click.testing.CliRunner object at 0xae910b30>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize_invalid_src_crs(tmpdir, runner, basic_feature):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, [
                'rasterize', output, '--dimensions', DEFAULT_SHAPE[0],
                DEFAULT_SHAPE[1], '--src-crs', 'foo:bar'],
            input=json.dumps(basic_feature))
    
        assert result.exit_code == 2
>       assert 'invalid CRS.  Must be an EPSG code.' in result.output
E       assert 'invalid CRS.  Must be an EPSG code.' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n' = <Result SystemExit(2,)>.output

tests/test_rio_rasterize.py:150: AssertionError
________________________ test_rasterize_existing_output ________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_existing_output0')
runner = <click.testing.CliRunner object at 0xaec46770>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize_existing_output(tmpdir, runner, basic_feature):
        """
        Create a rasterized output, then rasterize additional pixels into it.
        The final result should include rasterized pixels from both
        """
    
        truth = np.zeros(DEFAULT_SHAPE)
        truth[2:4, 2:4] = 1
        truth[4:6, 4:6] = 1
    
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, [
                'rasterize', output,
                '--dimensions', DEFAULT_SHAPE[0], DEFAULT_SHAPE[1],
                '--bounds', bbox(0, 10, 10, 0)],
            input=json.dumps(basic_feature), catch_exceptions=False)
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:171: AssertionError
__________________________ test_rasterize_like_raster __________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0')
runner = <click.testing.CliRunner object at 0xaedce350>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
basic_image_2x2 = array([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
..., 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif'

    def test_rasterize_like_raster(tmpdir, runner, basic_feature, basic_image_2x2,
                                   pixelated_image_file):
    
        output = str(tmpdir.join('test.tif'))
    
        result = runner.invoke(
            main_group,
            ['rasterize', output, '--like', pixelated_image_file],
            input=json.dumps(basic_feature))
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:199: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaec7db50>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea22e10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea22e10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaec7db50>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaec7db50>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea22e10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea22e10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea22e10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea22e10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea22e10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea22e10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea22e10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaec7db50>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaec7db50>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea22e10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea22e10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaec7db50>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaec7db50>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea22e10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea22e10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea22e10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea22e10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea22e10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea22e10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea22e10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaec7db50>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster0/pixelated_image.tif' mode='w'> context.
______________________ test_rasterize_invalid_like_raster ______________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_invalid_like_ra0')
runner = <click.testing.CliRunner object at 0xaec7dad0>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize_invalid_like_raster(tmpdir, runner, basic_feature):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group,
            ['rasterize', output, '--like', str(tmpdir.join('foo.tif'))],
            input=json.dumps(basic_feature))
    
        assert result.exit_code == 2
>       assert 'Invalid value for "--like":' in result.output
E       assert 'Invalid value for "--like":' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n' = <Result SystemExit(2,)>.output

tests/test_rio_rasterize.py:218: AssertionError
_________________ test_rasterize_like_raster_src_crs_mismatch __________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0')
runner = <click.testing.CliRunner object at 0xaea6abd0>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif'

    def test_rasterize_like_raster_src_crs_mismatch(tmpdir, runner, basic_feature,
                                                    pixelated_image_file):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group,
            ['rasterize', output, '--like', pixelated_image_file, '--src-crs', 'EPSG:3857'],
            input=json.dumps(basic_feature))
    
        assert result.exit_code == 2
>       assert 'GeoJSON does not match crs of --like raster' in result.output
E       assert 'GeoJSON does not match crs of --like raster' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n' = <Result SystemExit(2,)>.output

tests/test_rio_rasterize.py:230: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea6aeb0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea6adb0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6adb0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea6aeb0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea6aeb0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6adb0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6adb0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6adb0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6adb0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea6adb0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6adb0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6adb0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea6aeb0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea6aeb0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea6adb0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6adb0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea6aeb0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea6aeb0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6adb0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6adb0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6adb0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6adb0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea6adb0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6adb0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6adb0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea6aeb0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_src0/pixelated_image.tif' mode='w'> context.
_______________________ test_rasterize_featurecollection _______________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0')
runner = <click.testing.CliRunner object at 0xaea6a590>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif'

    def test_rasterize_featurecollection(tmpdir, runner, basic_feature,
                                         pixelated_image_file):
        output = str(tmpdir.join('test.tif'))
        collection = {
            'type': 'FeatureCollection',
            'features': [basic_feature]}
        result = runner.invoke(
            main_group,
            ['rasterize', output, '--like', pixelated_image_file],
            input=json.dumps(collection))
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:243: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea6af50>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea6adf0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea6af50>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea6af50>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6adf0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6adf0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6adf0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6adf0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea6adf0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea6af50>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea6af50>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea6adf0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea6af50>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea6af50>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6adf0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6adf0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6adf0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6adf0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea6adf0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6adf0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea6af50>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_featurecollecti0/pixelated_image.tif' mode='w'> context.
_______________________ test_rasterize_src_crs_mismatch ________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0')
runner = <click.testing.CliRunner object at 0xaee2aa10>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif'

    def test_rasterize_src_crs_mismatch(tmpdir, runner, basic_feature,
                                        pixelated_image_file):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, ['rasterize', output, '--like', pixelated_image_file],
            input=json.dumps(basic_feature))
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:252: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee2a3f0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee2ad90> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee2ad90>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee2a3f0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee2a3f0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee2ad90>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee2ad90>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee2ad90>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee2ad90>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee2ad90> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee2ad90>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee2ad90>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee2a3f0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee2a3f0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee2ad90> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee2ad90>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee2a3f0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee2a3f0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee2ad90>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee2ad90>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee2ad90>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee2ad90>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee2ad90> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee2ad90>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee2ad90>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee2a3f0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_src_crs_mismatc0/pixelated_image.tif' mode='w'> context.
________________________ test_rasterize_property_value _________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_property_value0')
runner = <click.testing.CliRunner object at 0xae78d8b0>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize_property_value(tmpdir, runner, basic_feature):
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, [
                'rasterize', output, '--dimensions', DEFAULT_SHAPE[0],
                DEFAULT_SHAPE[1], '--property', 'val'],
            input=json.dumps(basic_feature))
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:270: AssertionError
__________________ test_rasterize_like_raster_outside_bounds ___________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0')
runner = <click.testing.CliRunner object at 0xaeb2deb0>
basic_feature = {'geometry': {'coordinates': [[[102.0, 102.0], [102.0, 104.25], [104.25, 104.25], [104.25, 102.0], [102.0, 102.0]]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif'

    def test_rasterize_like_raster_outside_bounds(tmpdir, runner, basic_feature,
                                                  pixelated_image_file):
        """
        Rasterizing a feature outside bounds of --like raster should result
        in a blank image
        """
    
        coords = np.array(basic_feature['geometry']['coordinates']) + 100
        basic_feature['geometry']['coordinates'] = coords.tolist()
    
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group,
            ['rasterize', output, '--like', pixelated_image_file],
            input=json.dumps(basic_feature))
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:295: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee1d930>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaed8f6f0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaed8f6f0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee1d930>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee1d930>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed8f6f0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed8f6f0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed8f6f0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed8f6f0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaed8f6f0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed8f6f0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed8f6f0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee1d930>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee1d930>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaed8f6f0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaed8f6f0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee1d930>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee1d930>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed8f6f0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed8f6f0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed8f6f0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed8f6f0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaed8f6f0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed8f6f0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed8f6f0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee1d930>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_rasterize_like_raster_out0/pixelated_image.tif' mode='w'> context.
_________________________ test_rasterize_invalid_stdin _________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_invalid_stdin0')
runner = <click.testing.CliRunner object at 0xaea96bb0>

    def test_rasterize_invalid_stdin(tmpdir, runner):
        """ Invalid value for stdin should fail with exception """
    
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, ['rasterize', output], input='BOGUS')
    
>       assert result.exit_code == -1
E       assert 2 == -1
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rasterize.py:309: AssertionError
________________________ test_rasterize_invalid_geojson ________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_invalid_geojson0')
runner = <click.testing.CliRunner object at 0xaeb91c50>

    def test_rasterize_invalid_geojson(tmpdir, runner):
        """ Invalid GeoJSON should fail with error  """
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group, ['rasterize', output], input='{"A": "B"}')
    
        assert result.exit_code == 2
>       assert 'Invalid GeoJSON' in result.output
E       assert 'Invalid GeoJSON' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n' = <Result SystemExit(2,)>.output

tests/test_rio_rasterize.py:319: AssertionError
______________________ test_rasterize_missing_parameters _______________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rasterize_missing_paramet0')
runner = <click.testing.CliRunner object at 0xae9db0b0>
basic_feature = {'geometry': {'coordinates': [[(2, 2), (2, 4.25), (4.25, 4.25), (4.25, 2), (2, 2)]], 'type': 'Polygon'}, 'properties': {'val': 15}, 'type': 'Feature'}

    def test_rasterize_missing_parameters(tmpdir, runner, basic_feature):
        """ At least --res or --dimensions are required """
    
        output = str(tmpdir.join('test.tif'))
        result = runner.invoke(
            main_group,
            ['rasterize', '-o', output],
            input=json.dumps(basic_feature))
    
        assert result.exit_code == 2
>       assert 'pixel dimensions are required' in result.output
E       assert 'pixel dimensions are required' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rasterize".\n' = <Result SystemExit(2,)>.output

tests/test_rio_rasterize.py:332: AssertionError
________________________________ test_rm[None] _________________________________

runner = <click.testing.CliRunner object at 0xae910210>, driver = None
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rm_None_0')

    @pytest.mark.parametrize("driver", (None, 'GTiff'))
    def test_rm(runner, driver, path_rgb_byte_tif, tmpdir):
    
        path = str(tmpdir.join('test_rm.tif'))
        rasterio.shutil.copy(path_rgb_byte_tif, path)
    
        args = ['rm', path, '--yes']
        if driver is not None:
            args.extend(['--driver', driver])
    
        result = runner.invoke(main_group, args)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rm.py:22: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaead79d0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaedf4410> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaedf4410>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaead79d0>
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaead79d0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedf4410>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedf4410>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedf4410>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedf4410>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaedf4410> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedf4410>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedf4410>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaead79d0>
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaead79d0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaedf4410> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaedf4410>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaead79d0>
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaead79d0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedf4410>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedf4410>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedf4410>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedf4410>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaedf4410> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedf4410>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedf4410>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaead79d0>
________________________________ test_rm[GTiff] ________________________________

runner = <click.testing.CliRunner object at 0xaedf2930>, driver = 'GTiff'
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rm_GTiff_0')

    @pytest.mark.parametrize("driver", (None, 'GTiff'))
    def test_rm(runner, driver, path_rgb_byte_tif, tmpdir):
    
        path = str(tmpdir.join('test_rm.tif'))
        rasterio.shutil.copy(path_rgb_byte_tif, path)
    
        args = ['rm', path, '--yes']
        if driver is not None:
            args.extend(['--driver', driver])
    
        result = runner.invoke(main_group, args)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_rm.py:22: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea6c7f0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea6cc10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6cc10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea6c7f0>
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea6c7f0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6cc10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6cc10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6cc10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6cc10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea6cc10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6cc10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6cc10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea6c7f0>
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea6c7f0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea6cc10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6cc10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea6c7f0>
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea6c7f0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6cc10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6cc10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6cc10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6cc10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea6cc10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6cc10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6cc10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea6c7f0>
___________________________ test_rm_invalid_dataset ____________________________

runner = <click.testing.CliRunner object at 0xaea6c290>

    def test_rm_invalid_dataset(runner):
    
        """Invalid dataset."""
    
        result = runner.invoke(main_group, ['rm', 'trash', '--yes'])
        assert result.exit_code != 0
>       assert "Invalid dataset: trash" in result.output
E       assert 'Invalid dataset: trash' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rm".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rm".\n' = <Result SystemExit(2,)>.output

tests/test_rio_rm.py:32: AssertionError
____________________________ test_rm_invalid_driver ____________________________

runner = <click.testing.CliRunner object at 0xaec46770>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_rm_invalid_driver0')
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'

    def test_rm_invalid_driver(runner, tmpdir, path_rgb_byte_tif):
    
        """Valid dataset invalid driver."""
    
        path = str(tmpdir.join('test_rm_invalid_driver.tif'))
        rasterio.shutil.copy(path_rgb_byte_tif, path)
    
        result = runner.invoke(
            main_group, ['rm', path, '--driver', 'trash', '--yes'])
        assert result.exit_code != 0
>       assert "Unrecognized driver: trash" in result.output
E       assert 'Unrecognized driver: trash' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rm".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "rm".\n' = <Result SystemExit(2,)>.output

tests/test_rio_rm.py:45: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaedf4030>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaedf42b0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaedf42b0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaedf4030>
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaedf4030>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedf42b0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedf42b0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedf42b0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedf42b0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaedf42b0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedf42b0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedf42b0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaedf4030>
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaedf4030>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaedf42b0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaedf42b0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaedf4030>
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaedf4030>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedf42b0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedf42b0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedf42b0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedf42b0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaedf42b0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedf42b0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedf42b0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaedf4030>
_______________________________ test_sample_err ________________________________

    def test_sample_err():
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['sample', 'bogus.tif'],
            "[220650.0, 2719200.0]")
>       assert result.exit_code == 1
E       assert 2 == 1
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_sample.py:20: AssertionError
______________________________ test_sample_stdin _______________________________

    def test_sample_stdin():
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['sample', 'tests/data/RGB.byte.tif'],
            "[220650.0, 2719200.0]\n[220650.0, 2719200.0]",
            catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_sample.py:30: AssertionError
_______________________________ test_sample_arg ________________________________

    def test_sample_arg():
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['sample', 'tests/data/RGB.byte.tif', "[220650.0, 2719200.0]"],
            catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_sample.py:40: AssertionError
_______________________________ test_sample_bidx _______________________________

    def test_sample_bidx():
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['sample', 'tests/data/RGB.byte.tif', '--bidx', '1,2', "[220650.0, 2719200.0]"],
            catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_sample.py:50: AssertionError
______________________________ test_sample_bidx2 _______________________________

    def test_sample_bidx2():
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['sample', 'tests/data/RGB.byte.tif', '--bidx', '1..2', "[220650.0, 2719200.0]"],
            catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_sample.py:60: AssertionError
______________________________ test_sample_bidx3 _______________________________

    def test_sample_bidx3():
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['sample', 'tests/data/RGB.byte.tif', '--bidx', '..2', "[220650.0, 2719200.0]"],
            catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_sample.py:70: AssertionError
______________________________ test_sample_bidx4 _______________________________

    def test_sample_bidx4():
        runner = CliRunner()
        result = runner.invoke(
            main_group,
            ['sample', 'tests/data/RGB.byte.tif', '--bidx', '3', "[220650.0, 2719200.0]"],
            catch_exceptions=False)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_sample.py:80: AssertionError
_________________________________ test_shapes __________________________________

runner = <click.testing.CliRunner object at 0xaea6cd10>
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif'

    def test_shapes(runner, pixelated_image_file):
        with pytest.warns(None):
    
            result = runner.invoke(main_group, ['shapes', '--collection', pixelated_image_file])
    
>           assert result.exit_code == 0
E           assert 2 == 0
E            +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:26: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaec46e50>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaec46390> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaec46390>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaec46e50>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaec46e50>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec46390>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec46390>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec46390>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec46390>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaec46390> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec46390>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec46390>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaec46e50>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaec46e50>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaec46390> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaec46390>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaec46e50>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaec46e50>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec46390>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec46390>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec46390>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec46390>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaec46390> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec46390>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec46390>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaec46e50>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes0/pixelated_image.tif' mode='w'> context.
___________________________ test_shapes_invalid_bidx ___________________________

runner = <click.testing.CliRunner object at 0xaeb869b0>
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif'

    def test_shapes_invalid_bidx(runner, pixelated_image_file):
        result = runner.invoke(
            main_group, ['shapes', '--collection', pixelated_image_file, '--bidx', 4])
    
>       assert result.exit_code == 1
E       assert 2 == 1
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:38: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaedf4130>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaedf4290> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaedf4290>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaedf4130>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaedf4130>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedf4290>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedf4290>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedf4290>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedf4290>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaedf4290> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedf4290>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedf4290>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaedf4130>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaedf4130>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaedf4290> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaedf4290>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaedf4130>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaedf4130>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaedf4290>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaedf4290>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaedf4290>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaedf4290>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaedf4290> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaedf4290>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaedf4290>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaedf4130>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_invalid_bidx0/pixelated_image.tif' mode='w'> context.
_____________________________ test_shapes_sequence _____________________________

runner = <click.testing.CliRunner object at 0xaedf4a70>
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif'

    def test_shapes_sequence(runner, pixelated_image_file):
        """
        --sequence option should produce 4 features in series rather than
        inside a feature collection.
        """
        with pytest.warns(None):
    
            result = runner.invoke(
                main_group, ['shapes', '--collection', pixelated_image_file, '--sequence'])
    
>           assert result.exit_code == 0
E           assert 2 == 0
E            +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:52: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae78d5d0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae78d610> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae78d610>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae78d5d0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae78d5d0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae78d610>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae78d610>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae78d610>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae78d610>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae78d610> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae78d610>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae78d610>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae78d5d0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae78d5d0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae78d610> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae78d610>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae78d5d0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae78d5d0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae78d610>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae78d610>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae78d610>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae78d610>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae78d610> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae78d610>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae78d610>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae78d5d0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence0/pixelated_image.tif' mode='w'> context.
___________________________ test_shapes_sequence_rs ____________________________

runner = <click.testing.CliRunner object at 0xae78def0>
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif'

    def test_shapes_sequence_rs(runner, pixelated_image_file):
        """ --rs option should use the feature separator character. """
    
        result = runner.invoke(
            main_group, ['shapes', '--collection', pixelated_image_file, '--sequence', '--rs'])
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:64: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9b55b0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae9b54b0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae9b54b0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9b55b0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9b55b0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9b54b0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9b54b0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9b54b0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9b54b0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae9b54b0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9b54b0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9b54b0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9b55b0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9b55b0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae9b54b0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae9b54b0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9b55b0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9b55b0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9b54b0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9b54b0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9b54b0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9b54b0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae9b54b0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9b54b0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9b54b0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9b55b0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sequence_rs0/pixelated_image.tif' mode='w'> context.
___________________________ test_shapes_with_nodata ____________________________

runner = <click.testing.CliRunner object at 0xae9b5850>
pixelated_image = array([[  1,   0,   0,   0,   0,   0,   0,   0, 255, 255],
       [  0,   0,  ...   0],
       [  0,   0,   0,   0,   0,   0,   0,   0,   0,   0]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif'

    def test_shapes_with_nodata(runner, pixelated_image, pixelated_image_file):
        """
        An area of nodata should also be represented with a shape when using
        --with-nodata option
        """
    
        pixelated_image[0:2, 8:10] = 255
    
        with rasterio.open(pixelated_image_file, 'r+') as out:
            out.write(pixelated_image, indexes=1)
    
        result = runner.invoke(
            main_group, ['shapes', '--collection', pixelated_image_file, '--with-nodata'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:83: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaede2670>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaede2f90> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaede2f90>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaede2670>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaede2670>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaede2f90>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaede2f90>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaede2f90>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaede2f90>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaede2f90> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaede2f90>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaede2f90>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaede2670>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaede2670>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaede2f90> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaede2f90>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaede2670>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaede2670>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaede2f90>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaede2f90>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaede2f90>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaede2f90>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaede2f90> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaede2f90>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaede2f90>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaede2670>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='w'> context.
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9b5df0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae9b5f90> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae9b5f90>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9b5df0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif', archive=None, scheme=None), mode: r+, driver: None
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9b5df0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9b5f90>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9b5f90>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9b5f90>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9b5f90>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae9b5f90> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9b5f90>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9b5f90>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9b5df0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='r+'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='r+'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='r+'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='r+'> context.
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9b5df0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae9b5f90> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae9b5f90>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9b5df0>
__init__.py                219 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif', archive=None, scheme=None), mode: r+, driver: None
__init__.py                219 DEBUG    Got coordinate system
__init__.py                219 DEBUG    Authority key: EPSG, value: 4326
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9b5df0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9b5f90>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9b5f90>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9b5f90>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9b5f90>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae9b5f90> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9b5f90>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9b5f90>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9b5df0>
test_rio_shapes.py          78 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='r+'> context.
test_rio_shapes.py          79 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='r+'> has been stopped.
test_rio_shapes.py          79 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='r+'> has been closed.
test_rio_shapes.py          79 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_with_nodata0/pixelated_image.tif' mode='r+'> context.
______________________________ test_shapes_indent ______________________________

runner = <click.testing.CliRunner object at 0xaede2930>
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif'

    def test_shapes_indent(runner, pixelated_image_file):
        """
        --indent option should produce lots of newlines and contiguous spaces
        """
        with pytest.warns(None):
    
            result = runner.invoke(
                main_group, ['shapes', '--collection', pixelated_image_file, '--indent', 2])
    
>           assert result.exit_code == 0
E           assert 2 == 0
E            +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:97: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9b5670>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae9b59f0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae9b59f0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9b5670>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9b5670>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9b59f0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9b59f0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9b59f0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9b59f0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae9b59f0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9b59f0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9b59f0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9b5670>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9b5670>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae9b59f0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae9b59f0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9b5670>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9b5670>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae9b59f0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae9b59f0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae9b59f0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae9b59f0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae9b59f0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae9b59f0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae9b59f0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9b5670>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_indent0/pixelated_image.tif' mode='w'> context.
_____________________________ test_shapes_compact ______________________________

runner = <click.testing.CliRunner object at 0xae9b5030>
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif'

    def test_shapes_compact(runner, pixelated_image_file):
        with pytest.warns(None):
    
            result = runner.invoke(
                main_group, ['shapes', '--collection', pixelated_image_file, '--compact'])
    
>           assert result.exit_code == 0
E           assert 2 == 0
E            +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:110: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea6c650>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea22e70> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea22e70>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea6c650>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea6c650>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea22e70>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea22e70>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea22e70>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea22e70>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea22e70> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea22e70>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea22e70>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea6c650>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea6c650>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea22e70> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea22e70>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea6c650>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea6c650>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea22e70>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea22e70>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea22e70>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea22e70>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea22e70> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea22e70>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea22e70>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea6c650>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_compact0/pixelated_image.tif' mode='w'> context.
_____________________________ test_shapes_sampling _____________________________

runner = <click.testing.CliRunner object at 0xaedf48d0>
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif'

    def test_shapes_sampling(runner, pixelated_image_file):
        """ --sampling option should remove the single pixel features """
        result = runner.invoke(
            main_group, ['shapes', '--collection', pixelated_image_file, '--sampling', 2])
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:122: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae9a3bd0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaed22250> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaed22250>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae9a3bd0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae9a3bd0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed22250>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed22250>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed22250>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed22250>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaed22250> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed22250>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed22250>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae9a3bd0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae9a3bd0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaed22250> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaed22250>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae9a3bd0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae9a3bd0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed22250>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed22250>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed22250>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed22250>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaed22250> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed22250>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed22250>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae9a3bd0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_sampling0/pixelated_image.tif' mode='w'> context.
____________________________ test_shapes_precision _____________________________

runner = <click.testing.CliRunner object at 0xaed849b0>
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif'

    def test_shapes_precision(runner, pixelated_image_file):
        """ Output numbers should have no more than 1 decimal place """
    
        result = runner.invoke(
            main_group, ['shapes', '--collection', pixelated_image_file, '--precision', 1])
    
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:133: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaec782b0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaec786d0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaec786d0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaec782b0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaec782b0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec786d0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec786d0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec786d0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec786d0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaec786d0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec786d0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec786d0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaec782b0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaec782b0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaec786d0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaec786d0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaec782b0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaec782b0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec786d0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec786d0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec786d0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec786d0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaec786d0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec786d0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec786d0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaec782b0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_precision0/pixelated_image.tif' mode='w'> context.
_______________________________ test_shapes_mask _______________________________

runner = <click.testing.CliRunner object at 0xaec786f0>
pixelated_image = array([[255, 255, 255, 255, 255, 255, 255, 255, 255, 255],
       [255, 255, 2... 255],
       [255, 255, 255,   0,   0,   0,   0,   0, 255, 255]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif'

    def test_shapes_mask(runner, pixelated_image, pixelated_image_file):
        """ --mask should extract the nodata area of the image """
    
        pixelated_image[0:5, 0:10] = 255
        pixelated_image[0:10, 0:3] = 255
        pixelated_image[8:10, 8:10] = 255
    
        with rasterio.open(pixelated_image_file, 'r+') as out:
            out.write(pixelated_image, indexes=1)
    
        with pytest.warns(None):
            result = runner.invoke(
                main_group, ['shapes', '--collection', pixelated_image_file, '--mask'])
>           assert result.exit_code == 0
E           assert 2 == 0
E            +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:152: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaee2afd0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaee2a230> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaee2a230>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaee2afd0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaee2afd0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee2a230>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee2a230>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee2a230>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee2a230>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaee2a230> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee2a230>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee2a230>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaee2afd0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaee2afd0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaee2a230> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaee2a230>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaee2afd0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaee2afd0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaee2a230>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaee2a230>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaee2a230>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaee2a230>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaee2a230> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaee2a230>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaee2a230>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaee2afd0>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='w'> context.
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaec78210>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaec78370> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaec78210>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif', archive=None, scheme=None), mode: r+, driver: None
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaec78210>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec78370>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec78370>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec78370>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec78370>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaec78370> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaec78210>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='r+'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='r+'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='r+'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='r+'> context.
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaec78210>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaec78370> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaec78210>
__init__.py                219 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif', archive=None, scheme=None), mode: r+, driver: None
__init__.py                219 DEBUG    Got coordinate system
__init__.py                219 DEBUG    Authority key: EPSG, value: 4326
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaec78210>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec78370>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec78370>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec78370>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec78370>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaec78370> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaec78210>
test_rio_shapes.py         146 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='r+'> context.
test_rio_shapes.py         147 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='r+'> has been stopped.
test_rio_shapes.py         147 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='r+'> has been closed.
test_rio_shapes.py         147 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask0/pixelated_image.tif' mode='r+'> context.
__________________________ test_shapes_mask_sampling ___________________________

runner = <click.testing.CliRunner object at 0xaee2a430>
pixelated_image = array([[255, 255, 255, 255, 255, 255, 255, 255, 255, 255],
       [255, 255, 2... 255],
       [255, 255, 255,   0,   0,   0,   0,   0, 255, 255]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif'

    def test_shapes_mask_sampling(runner, pixelated_image, pixelated_image_file):
        """using --sampling with the mask should snap coordinates to the nearest
        factor of 5
        """
        pixelated_image[0:5, 0:10] = 255
        pixelated_image[0:10, 0:3] = 255
        pixelated_image[8:10, 8:10] = 255
    
        with rasterio.open(pixelated_image_file, 'r+') as out:
            out.write(pixelated_image, indexes=1)
    
        with pytest.warns(None):
    
            result = runner.invoke(
                main_group,
                ['shapes', '--collection', pixelated_image_file, '--mask', '--sampling', 5])
    
>           assert result.exit_code == 0
E           assert 2 == 0
E            +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:177: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaec78210>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaec78370> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaec78210>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaec78210>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec78370>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec78370>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec78370>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec78370>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaec78370> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaec78210>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaec78210>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaec78370> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaec78210>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaec78210>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaec78370>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaec78370>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaec78370>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaec78370>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaec78370> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaec78370>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaec78210>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='w'> context.
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea6acb0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea6af70> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6af70>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea6acb0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif', archive=None, scheme=None), mode: r+, driver: None
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea6acb0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6af70>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6af70>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6af70>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6af70>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea6af70> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6af70>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6af70>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea6acb0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='r+'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='r+'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='r+'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='r+'> context.
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea6acb0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea6af70> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea6af70>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea6acb0>
__init__.py                219 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif', archive=None, scheme=None), mode: r+, driver: None
__init__.py                219 DEBUG    Got coordinate system
__init__.py                219 DEBUG    Authority key: EPSG, value: 4326
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea6acb0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea6af70>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea6af70>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea6af70>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea6af70>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea6af70> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea6af70>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea6af70>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea6acb0>
test_rio_shapes.py         168 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='r+'> context.
test_rio_shapes.py         169 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='r+'> has been stopped.
test_rio_shapes.py         169 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='r+'> has been closed.
test_rio_shapes.py         169 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_mask_sampling0/pixelated_image.tif' mode='r+'> context.
__________________________ test_shapes_band1_as_mask ___________________________

runner = <click.testing.CliRunner object at 0xaea6a050>
pixelated_image = array([[1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
..., 0, 0, 0, 0, 0, 0, 1, 0],
       [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], dtype=uint8)
pixelated_image_file = '/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif'

    def test_shapes_band1_as_mask(runner, pixelated_image, pixelated_image_file):
        """
        When using --as-mask option, pixel value should not matter, only depends
        on pixels being contiguous.
        """
    
        pixelated_image[2:3, 2:3] = 4
    
        with rasterio.open(pixelated_image_file, 'r+') as out:
            out.write(pixelated_image, indexes=1)
    
        with pytest.warns(None):
            result = runner.invoke(
                main_group,
                ['shapes', '--collection', pixelated_image_file, '--band', '--bidx', '1', '--as-mask'])
    
>           assert result.exit_code == 0
E           assert 2 == 0
E            +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_shapes.py:202: AssertionError
---------------------------- Captured stderr setup -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaede2c70>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaede2e90> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaede2e90>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaede2c70>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif
DEBUG:rasterio._io:Input CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaede2c70>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaede2e90>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaede2e90>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaede2e90>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaede2e90>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaede2e90> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaede2e90>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaede2e90>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaede2c70>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='w'> context.
------------------------------ Captured log setup ------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaede2c70>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaede2e90> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaede2e90>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaede2c70>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif
__init__.py                226 DEBUG    Input CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaede2c70>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaede2e90>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaede2e90>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaede2e90>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaede2e90>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaede2e90> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaede2e90>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaede2e90>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaede2c70>
conftest.py                415 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='w'> context.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='w'> has been stopped.
conftest.py                416 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='w'> has been closed.
conftest.py                416 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='w'> context.
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae7a35b0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae7a3d10> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae7a3d10>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae7a35b0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif', archive=None, scheme=None), mode: r+, driver: None
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 255.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae7a35b0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae7a3d10>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae7a3d10>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae7a3d10>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae7a3d10>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae7a3d10> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae7a3d10>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae7a3d10>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae7a35b0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='r+'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='r+'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='r+'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='r+'> context.
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae7a35b0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae7a3d10> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae7a3d10>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae7a35b0>
__init__.py                219 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif', archive=None, scheme=None), mode: r+, driver: None
__init__.py                219 DEBUG    Got coordinate system
__init__.py                219 DEBUG    Authority key: EPSG, value: 4326
__init__.py                219 DEBUG    Nodata success: 1, Nodata value: 255.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae7a35b0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae7a3d10>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae7a3d10>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xae7a3d10>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xae7a3d10>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae7a3d10> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae7a3d10>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae7a3d10>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae7a35b0>
test_rio_shapes.py         194 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='r+'> context.
test_rio_shapes.py         195 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='r+'> has been stopped.
test_rio_shapes.py         195 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='r+'> has been closed.
test_rio_shapes.py         195 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_shapes_band1_as_mask0/pixelated_image.tif' mode='r+'> context.
__________________________________ test_stack __________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_stack0')

    def test_stack(tmpdir):
        outputname = str(tmpdir.join('stacked.tif'))
        runner = CliRunner()
        result = runner.invoke(
            main_group, ['stack', 'tests/data/RGB.byte.tif', outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_stack.py:13: AssertionError
_______________________________ test_stack_list ________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_stack_list0')

    def test_stack_list(tmpdir):
        outputname = str(tmpdir.join('stacked.tif'))
        runner = CliRunner()
        result = runner.invoke(
            main_group, [
                'stack', 'tests/data/RGB.byte.tif', '--bidx', '1,2,3', outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_stack.py:25: AssertionError
_______________________________ test_stack_slice _______________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_stack_slice0')

    def test_stack_slice(tmpdir):
        outputname = str(tmpdir.join('stacked.tif'))
        runner = CliRunner()
        result = runner.invoke(
            main_group, [
                'stack',
                'tests/data/RGB.byte.tif', '--bidx', '..2',
                'tests/data/RGB.byte.tif', '--bidx', '3..',
                outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_stack.py:39: AssertionError
___________________________ test_stack_single_slice ____________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_stack_single_slice0')

    def test_stack_single_slice(tmpdir):
        outputname = str(tmpdir.join('stacked.tif'))
        runner = CliRunner()
        result = runner.invoke(
            main_group, [
                'stack',
                'tests/data/RGB.byte.tif', '--bidx', '1',
                'tests/data/RGB.byte.tif', '--bidx', '2..',
                '--rgb', outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_stack.py:53: AssertionError
_______________________________ test_format_jpeg _______________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_format_jpeg1')

    def test_format_jpeg(tmpdir):
        outputname = str(tmpdir.join('stacked.jpg'))
        runner = CliRunner()
        result = runner.invoke(
            main_group, [
                'stack', 'tests/data/RGB.byte.tif', outputname,
                '--format', 'JPEG'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_stack.py:65: AssertionError
__________________________________ test_error __________________________________

tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_error0')

    def test_error(tmpdir):
        outputname = str(tmpdir.join('stacked.tif'))
        runner = CliRunner()
        result = runner.invoke(
            main_group, [
                'stack', 'tests/data/RGB.byte.tif', outputname,
                '--driver', 'BOGUS'])
>       assert result.exit_code == 1
E       assert 2 == 1
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_stack.py:75: AssertionError
______________________________ test_dst_crs_error ______________________________

runner = <click.testing.CliRunner object at 0xae6dcfd0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dst_crs_error0')

    def test_dst_crs_error(runner, tmpdir):
        """Invalid JSON is a bad parameter."""
        srcname = 'tests/data/RGB.byte.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', '{foo: bar}'])
        assert result.exit_code == 2
>       assert 'for dst_crs: CRS appears to be JSON but is not' in result.output
E       assert 'for dst_crs: CRS appears to be JSON but is not' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n' = <Result SystemExit(2,)>.output

tests/test_rio_warp.py:29: AssertionError
_____________________________ test_dst_crs_error_2 _____________________________

runner = <click.testing.CliRunner object at 0xae6dbf30>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dst_crs_error_20')

    def test_dst_crs_error_2(runner, tmpdir):
        """Invalid PROJ.4 is a bad parameter."""
        srcname = 'tests/data/RGB.byte.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', '{"proj": "foobar"}'])
        assert result.exit_code == 2
>       assert 'for dst_crs: Invalid' in result.output
E       assert 'for dst_crs: Invalid' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n' = <Result SystemExit(2,)>.output

tests/test_rio_warp.py:39: AssertionError
___________________________ test_dst_crs_error_epsg ____________________________

runner = <click.testing.CliRunner object at 0xaea8f130>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dst_crs_error_epsg0')

    def test_dst_crs_error_epsg(runner, tmpdir):
        """Malformed EPSG string is a bad parameter."""
        srcname = 'tests/data/RGB.byte.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', 'EPSG:'])
        assert result.exit_code == 2
>       assert 'for dst_crs: invalid literal for int()' in result.output
E       assert 'for dst_crs: invalid literal for int()' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n' = <Result SystemExit(2,)>.output

tests/test_rio_warp.py:49: AssertionError
__________________________ test_dst_crs_error_epsg_2 ___________________________

runner = <click.testing.CliRunner object at 0xaec784d0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dst_crs_error_epsg_20')

    def test_dst_crs_error_epsg_2(runner, tmpdir):
        """Invalid EPSG code is a bad parameter."""
        srcname = 'tests/data/RGB.byte.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', 'EPSG:0'])
        assert result.exit_code == 2
>       assert 'for dst_crs: EPSG codes are positive integers' in result.output
E       assert 'for dst_crs: EPSG codes are positive integers' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n' = <Result SystemExit(2,)>.output

tests/test_rio_warp.py:59: AssertionError
___________________ test_dst_nodata_float_no_src_nodata_err ____________________

runner = <click.testing.CliRunner object at 0xaeceeb50>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dst_nodata_float_no_src_n0')

    def test_dst_nodata_float_no_src_nodata_err(runner, tmpdir):
        """Valid integer destination nodata dtype"""
        srcname = 'tests/data/float.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-nodata', '0.0'])
        assert result.exit_code == 2
>       assert 'src-nodata must be provided because dst-nodata is not None' in result.output
E       assert 'src-nodata must be provided because dst-nodata is not None' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n' = <Result SystemExit(2,)>.output

tests/test_rio_warp.py:69: AssertionError
____________________________ test_src_nodata_int_ok ____________________________

runner = <click.testing.CliRunner object at 0xae6dc090>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_src_nodata_int_ok0')

    def test_src_nodata_int_ok(runner, tmpdir):
        """Check if input nodata is overridden"""
        srcname = 'tests/data/RGB.byte.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--src-nodata', '1'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:78: AssertionError
____________________________ test_dst_nodata_int_ok ____________________________

runner = <click.testing.CliRunner object at 0xaebb3690>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dst_nodata_int_ok0')

    def test_dst_nodata_int_ok(runner, tmpdir):
        """Check if input nodata is overridden"""
        srcname = 'tests/data/RGB.byte.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-nodata', '255'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:89: AssertionError
___________________________ test_src_nodata_float_ok ___________________________

runner = <click.testing.CliRunner object at 0xae78d350>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_src_nodata_float_ok0')

    def test_src_nodata_float_ok(runner, tmpdir):
        """Check if input nodata is overridden"""
        srcname = 'tests/data/float.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--src-nodata', '1.5'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:100: AssertionError
____________________ test_dst_nodata_float_override_src_ok _____________________

runner = <click.testing.CliRunner object at 0xaea8f0f0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_dst_nodata_float_override0')

    def test_dst_nodata_float_override_src_ok(runner, tmpdir):
        """Check if srcnodata is overridden"""
        srcname = 'tests/data/float.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--src-nodata', '1.5', '--dst-nodata', '2.5'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:111: AssertionError
____________________________ test_warp_no_reproject ____________________________

runner = <click.testing.CliRunner object at 0xaee2afd0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_no_reproject0')

    def test_warp_no_reproject(runner, tmpdir):
        """ When called without parameters, output should be same as source """
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, ['warp', srcname, outputname])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:121: AssertionError
______________________ test_warp_no_reproject_dimensions _______________________

runner = <click.testing.CliRunner object at 0xaede2af0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_no_reproject_dimensi0')

    def test_warp_no_reproject_dimensions(runner, tmpdir):
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dimensions', '100', '100'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:139: AssertionError
__________________________ test_warp_no_reproject_res __________________________

runner = <click.testing.CliRunner object at 0xaec78250>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_no_reproject_res0')

    def test_warp_no_reproject_res(runner, tmpdir):
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--res', 30])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:156: AssertionError
________________________ test_warp_no_reproject_bounds _________________________

runner = <click.testing.CliRunner object at 0xaee0dab0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_no_reproject_bounds0')

    def test_warp_no_reproject_bounds(runner, tmpdir):
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        out_bounds = [-11850000, 4810000, -11849000, 4812000]
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--bounds'] + out_bounds)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:173: AssertionError
______________________ test_warp_no_reproject_bounds_res _______________________

runner = <click.testing.CliRunner object at 0xae6db930>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_no_reproject_bounds_0')

    def test_warp_no_reproject_bounds_res(runner, tmpdir):
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        out_bounds = [-11850000, 4810000, -11849000, 4812000]
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--res', 30, '--bounds'] + out_bounds)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:192: AssertionError
_________________ test_warp_no_reproject_src_bounds_dimensions _________________

runner = <click.testing.CliRunner object at 0xaea96ed0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_no_reproject_src_bou0')

    def test_warp_no_reproject_src_bounds_dimensions(runner, tmpdir):
        """--src-bounds option works with dimensions"""
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        out_bounds = [-11850000, 4810000, -11849000, 4812000]
        result = runner.invoke(
            main_group, [
                'warp', srcname, outputname, '--dimensions', 9, 14,
                '--src-bounds'] + out_bounds)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:224: AssertionError
_________________________ test_warp_reproject_dst_crs __________________________

runner = <click.testing.CliRunner object at 0xae6991f0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_dst_crs0')

    def test_warp_reproject_dst_crs(runner, tmpdir):
        srcname = 'tests/data/RGB.byte.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', 'EPSG:4326'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:242: AssertionError
______________________ test_warp_reproject_dst_crs_proj4 _______________________

runner = <click.testing.CliRunner object at 0xaed22b90>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_dst_crs_pr0')

    def test_warp_reproject_dst_crs_proj4(runner, tmpdir):
        proj4 = '+proj=longlat +ellps=WGS84 +datum=WGS84'
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', proj4])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:262: AssertionError
___________________________ test_warp_reproject_res ____________________________

runner = <click.testing.CliRunner object at 0xae6dca70>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_res0')

    def test_warp_reproject_res(runner, tmpdir):
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', 'EPSG:4326', '--res', 0.01])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:274: AssertionError
________________________ test_warp_reproject_dimensions ________________________

runner = <click.testing.CliRunner object at 0xaecee050>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_dimensions0')

    def test_warp_reproject_dimensions(runner, tmpdir):
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', 'EPSG:4326',
            '--dimensions', '100', '100'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:290: AssertionError
______________________ test_warp_reproject_src_bounds_res ______________________

runner = <click.testing.CliRunner object at 0xaecafbf0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_src_bounds0')

    def test_warp_reproject_src_bounds_res(runner, tmpdir):
        """--src-bounds option works."""
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        out_bounds = [-11850000, 4810000, -11849000, 4812000]
        result = runner.invoke(
            main_group, [
                'warp', srcname, outputname, '--dst-crs', 'EPSG:4326',
                '--res', 0.001, '--src-bounds'] + out_bounds)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:360: AssertionError
__________________ test_warp_reproject_src_bounds_dimensions ___________________

runner = <click.testing.CliRunner object at 0xaee09ff0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_src_bounds1')

    def test_warp_reproject_src_bounds_dimensions(runner, tmpdir):
        """--src-bounds option works with dimensions"""
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        out_bounds = [-11850000, 4810000, -11849000, 4812000]
        result = runner.invoke(
            main_group, [
                'warp', srcname, outputname, '--dst-crs', 'EPSG:4326',
                '--dimensions', 9, 14, '--src-bounds'] + out_bounds)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:382: AssertionError
________________________ test_warp_reproject_dst_bounds ________________________

runner = <click.testing.CliRunner object at 0xae6990d0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_dst_bounds0')

    def test_warp_reproject_dst_bounds(runner, tmpdir):
        """--bounds option works."""
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        out_bounds = [-106.45036, 39.6138, -106.44136, 39.6278]
        result = runner.invoke(
            main_group, [
                'warp', srcname, outputname, '--dst-crs', 'EPSG:4326',
                '--res', 0.001, '--bounds'] + out_bounds)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:402: AssertionError
___________________________ test_warp_reproject_like ___________________________

runner = <click.testing.CliRunner object at 0xae6d4990>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0')

    def test_warp_reproject_like(runner, tmpdir):
        likename = str(tmpdir.join('like.tif'))
        kwargs = {
            "crs": {'init': 'epsg:4326'},
            "transform": affine.Affine(0.001, 0, -106.523,
                                       0, -0.001, 39.6395),
            "count": 1,
            "dtype": rasterio.uint8,
            "driver": "GTiff",
            "width": 10,
            "height": 10,
            "nodata": 0
        }
    
        with rasterio.open(likename, 'w', **kwargs) as dst:
            data = np.zeros((10, 10), dtype=rasterio.uint8)
            dst.write(data, indexes=1)
    
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--like', likename])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:443: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaed84eb0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaed84550> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaed84550>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaed84eb0>
DEBUG:rasterio._io:Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif', archive=None, scheme=None), mode: w, driver: GTiff
DEBUG:rasterio._io:Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif
DEBUG:rasterio._io:Input CRS: {'init': 'epsg:4326'}
DEBUG:rasterio._io:Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._io:Self CRS: CRS({'init': 'epsg:4326'})
DEBUG:rasterio._base:Got coordinate system
DEBUG:rasterio._base:Authority key: EPSG, value: 4326
DEBUG:rasterio._base:Nodata success: 1, Nodata value: 0.000000
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaed84eb0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed84550>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed84550>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed84550>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed84550>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaed84550> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed84550>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed84550>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaed84eb0>
DEBUG:rasterio._base:Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif' mode='w'> context.
DEBUG:rasterio._io:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif' mode='w'> has been stopped.
DEBUG:rasterio._base:Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif' mode='w'> has been closed.
DEBUG:rasterio._base:Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif' mode='w'> context.
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaed84eb0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaed84550> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaed84550>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaed84eb0>
__init__.py                226 DEBUG    Path: ParsedPath(path='/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif', archive=None, scheme=None), mode: w, driver: GTiff
__init__.py                226 DEBUG    Skipped delete for overwrite.  Dataset does not exist: /tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif
__init__.py                226 DEBUG    Input CRS: {'init': 'epsg:4326'}
__init__.py                226 DEBUG    Exported WKT: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
__init__.py                226 DEBUG    Self CRS: CRS({'init': 'epsg:4326'})
__init__.py                226 DEBUG    Got coordinate system
__init__.py                226 DEBUG    Authority key: EPSG, value: 4326
__init__.py                226 DEBUG    Nodata success: 1, Nodata value: 0.000000
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaed84eb0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaed84550>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaed84550>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaed84550>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaed84550>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaed84550> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaed84550>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaed84550>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaed84eb0>
test_rio_warp.py           435 DEBUG    Entering Dataset <open DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif' mode='w'> context.
test_rio_warp.py           437 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif' mode='w'> has been stopped.
test_rio_warp.py           437 DEBUG    Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif' mode='w'> has been closed.
test_rio_warp.py           437 DEBUG    Exited Dataset <closed DatasetWriter name='/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_like0/like.tif' mode='w'> context.
________________________ test_warp_reproject_nolostdata ________________________

runner = <click.testing.CliRunner object at 0xaeae6730>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_nolostdata0')

    def test_warp_reproject_nolostdata(runner, tmpdir):
        srcname = 'tests/data/world.byte.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', 'EPSG:3857'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:478: AssertionError
________________________ test_warp_dst_crs_empty_string ________________________

runner = <click.testing.CliRunner object at 0xae6db450>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_dst_crs_empty_string0')

    def test_warp_dst_crs_empty_string(runner, tmpdir):
        """`$ rio warp --dst-crs ''` used to perform a falsey check that would treat
        `--dst-crs ''` as though `--dst-crs` was not supplied at all.  If the user
        gives any value we should let `rasterio.crs.from_string()` handle the
        validation.
        """
    
        infile = 'tests/data/RGB.byte.tif'
        outfile = str(tmpdir.mkdir('empty_warp_dst_crs.tif').join('test.tif'))
    
        result = runner.invoke(main_group, [
            'warp', infile, outfile, '--dst-crs', ''])
    
        assert result.exit_code != 0
>       assert 'empty or invalid' in result.output
E       assert 'empty or invalid' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n' = <Result SystemExit(2,)>.output

tests/test_rio_warp.py:502: AssertionError
_________________________ test_warp_badcrs_dimensions __________________________

runner = <click.testing.CliRunner object at 0xab27f3d0>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_badcrs_dimensions0')

    def test_warp_badcrs_dimensions(runner, tmpdir):
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', '{"init": "epsg:-1"}',
            '--dimensions', '100', '100'])
        assert result.exit_code == 2
>       assert "Invalid value for dst_crs" in result.output
E       assert 'Invalid value for dst_crs' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n' = <Result SystemExit(2,)>.output

tests/test_rio_warp.py:512: AssertionError
_________________________ test_warp_badcrs_src_bounds __________________________

runner = <click.testing.CliRunner object at 0xae9b5f50>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_badcrs_src_bounds0')

    def test_warp_badcrs_src_bounds(runner, tmpdir):
        srcname = 'tests/data/shade.tif'
        outputname = str(tmpdir.join('test.tif'))
        out_bounds = [-11850000, 4810000, -11849000, 4812000]
        result = runner.invoke(
            main_group, [
                'warp', srcname, outputname, '--dst-crs', '{"init": "epsg:-1"}',
                '--res', 0.001, '--src-bounds'] + out_bounds)
        assert result.exit_code == 2
>       assert "Invalid value for dst_crs" in result.output
E       assert 'Invalid value for dst_crs' in 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n'
E        +  where 'Usage: main_group [OPTIONS] COMMAND [ARGS]...\n\nError: No such command "warp".\n' = <Result SystemExit(2,)>.output

tests/test_rio_warp.py:524: AssertionError
____________________ test_warp_reproject_check_invert_true _____________________

runner = <click.testing.CliRunner object at 0xaede2d50>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_check_inve0')

    def test_warp_reproject_check_invert_true(runner, tmpdir):
        outputname = str(tmpdir.join('test.tif'))
        output2name = str(tmpdir.join('test2.tif'))
        srcname = 'tests/data/world.rgb.tif'
    
        # default True
        runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', 'EPSG:3759'])
    
        # explicit True
        runner.invoke(main_group, [
            'warp', srcname, output2name, '--check-invert-proj',
            '--dst-crs', 'EPSG:3759'])
    
>       with rasterio.open(outputname) as output, rasterio.open(output2name) as output2:

tests/test_rio_warp.py:541: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
rasterio/env.py:403: in wrapper
    return f(*args, **kwds)
rasterio/__init__.py:217: in open
    s = DatasetReader(path, driver=driver, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   RasterioIOError: /tmp/pytest-of-buildd/pytest-0/test_warp_reproject_check_inve0/test.tif: No such file or directory

rasterio/_base.pyx:201: RasterioIOError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea96150>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea96330> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea96330>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea96150>
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea96150>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea96330>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea96330>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea96330>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea96330>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea96330> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea96330>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea96330>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea96150>
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea96150>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea96330> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea96330>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea96150>
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea96150>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea96330>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea96330>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea96330>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea96330>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea96330> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea96330>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea96330>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea96150>
____________________ test_warp_reproject_check_invert_false ____________________

runner = <click.testing.CliRunner object at 0xae7a3510>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_reproject_check_inve1')

    def test_warp_reproject_check_invert_false(runner, tmpdir):
        outputname = str(tmpdir.join('test.tif'))
        output2name = str(tmpdir.join('test2.tif'))
        srcname = 'tests/data/world.rgb.tif'
    
        # default True
        runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', 'EPSG:3759'])
    
        # explicit False
        runner.invoke(main_group, [
            'warp', srcname, output2name, '--no-check-invert-proj',
            '--dst-crs', 'EPSG:3759'])
    
>       with rasterio.open(outputname) as output, rasterio.open(output2name) as output2:

tests/test_rio_warp.py:559: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
rasterio/env.py:403: in wrapper
    return f(*args, **kwds)
rasterio/__init__.py:217: in open
    s = DatasetReader(path, driver=driver, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   RasterioIOError: /tmp/pytest-of-buildd/pytest-0/test_warp_reproject_check_inve1/test.tif: No such file or directory

rasterio/_base.pyx:201: RasterioIOError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xaea96eb0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xaea960d0> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xaea960d0>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xaea96eb0>
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xaea96eb0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea960d0>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea960d0>
DEBUG:rasterio._env:Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea960d0>
DEBUG:rasterio._env:Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea960d0>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xaea960d0> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea960d0>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea960d0>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xaea96eb0>
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xaea96eb0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xaea960d0> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xaea960d0>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xaea96eb0>
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xaea96eb0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xaea960d0>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xaea960d0>
env.py                     348 DEBUG    Unset option RASTERIO_ENV in env <rasterio._env.GDALEnv object at 0xaea960d0>
env.py                     348 DEBUG    Unset option GTIFF_IMPLICIT_JPEG_OVR in env <rasterio._env.GDALEnv object at 0xaea960d0>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xaea960d0> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xaea960d0>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xaea960d0>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xaea96eb0>
______________________________ test_warp_vrt_gcps ______________________________

runner = <click.testing.CliRunner object at 0xaee0de50>
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_vrt_gcps0')

    def test_warp_vrt_gcps(runner, tmpdir):
        """A VRT with GCPs can be warped."""
        srcname = 'tests/data/white-gemini-iv.vrt'
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', srcname, outputname, '--dst-crs', 'epsg:32618'])
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:569: AssertionError
___________________ test_warp_resampling[Resampling.nearest] ___________________

runner = <click.testing.CliRunner object at 0xae9b5f90>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin0')
method = <Resampling.nearest: 0>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

__________________ test_warp_resampling[Resampling.bilinear] ___________________

runner = <click.testing.CliRunner object at 0xaed84310>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin1')
method = <Resampling.bilinear: 1>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

____________________ test_warp_resampling[Resampling.cubic] ____________________

runner = <click.testing.CliRunner object at 0xab279130>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin2')
method = <Resampling.cubic: 2>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

________________ test_warp_resampling[Resampling.cubic_spline] _________________

runner = <click.testing.CliRunner object at 0xaedf4530>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin3')
method = <Resampling.cubic_spline: 3>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

___________________ test_warp_resampling[Resampling.lanczos] ___________________

runner = <click.testing.CliRunner object at 0xae699810>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin4')
method = <Resampling.lanczos: 4>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

___________________ test_warp_resampling[Resampling.average] ___________________

runner = <click.testing.CliRunner object at 0xaeae63b0>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin5')
method = <Resampling.average: 5>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

____________________ test_warp_resampling[Resampling.mode] _____________________

runner = <click.testing.CliRunner object at 0xaee2af90>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin6')
method = <Resampling.mode: 6>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

_____________________ test_warp_resampling[Resampling.max] _____________________

runner = <click.testing.CliRunner object at 0xae6917d0>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin7')
method = <Resampling.max: 8>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

_____________________ test_warp_resampling[Resampling.min] _____________________

runner = <click.testing.CliRunner object at 0xae78db50>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin8')
method = <Resampling.min: 9>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

_____________________ test_warp_resampling[Resampling.med] _____________________

runner = <click.testing.CliRunner object at 0xaecee990>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin9')
method = <Resampling.med: 10>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

_____________________ test_warp_resampling[Resampling.q1] ______________________

runner = <click.testing.CliRunner object at 0xaea96810>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin10')
method = <Resampling.q1: 11>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

_____________________ test_warp_resampling[Resampling.q3] ______________________

runner = <click.testing.CliRunner object at 0xae9db910>
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif'
tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_warp_resampling_Resamplin11')
method = <Resampling.q3: 12>

    @pytest.mark.parametrize("method", SUPPORTED_RESAMPLING)
    def test_warp_resampling(runner, path_rgb_byte_tif, tmpdir, method):
        """Resampling methods supported by this version of GDAL should run
        successfully"""
    
        outputname = str(tmpdir.join('test.tif'))
        result = runner.invoke(main_group, [
            'warp', path_rgb_byte_tif, outputname,
            '--dst-crs', 'epsg:3857',
            '--resampling', method.name])
    
        print(result.output)
>       assert result.exit_code == 0
E       assert 2 == 0
E        +  where 2 = <Result SystemExit(2,)>.exit_code

tests/test_rio_warp.py:592: AssertionError
----------------------------- Captured stdout call -----------------------------
Usage: main_group [OPTIONS] COMMAND [ARGS]...

Error: No such command "warp".

_____________________ test_reproject_nodata[options0-7608] _____________________

options = {'CHECK_WITH_INVERT_PROJ': False}, expected = 7608

    @pytest.mark.parametrize("options, expected", reproj_expected)
    def test_reproject_nodata(options, expected):
        nodata = 215
    
        with rasterio.Env(**options):
            params = uninvertable_reproject_params()
            source = np.ones((params.width, params.height), dtype=np.uint8)
            out = np.zeros((params.dst_width, params.dst_height),
                           dtype=source.dtype)
            out.fill(120)  # Fill with arbitrary value
    
            reproject(
                source,
                out,
                src_transform=params.src_transform,
                src_crs=params.src_crs,
                src_nodata=nodata,
                dst_transform=params.dst_transform,
                dst_crs=params.dst_crs,
                dst_nodata=nodata
            )
    
>           assert (out == 1).sum() == expected
E           assert 7628 == 7608
E            +  where 7628 = <built-in method sum of numpy.ndarray object at 0xae951930>()
E            +    where <built-in method sum of numpy.ndarray object at 0xae951930> = array([[215, 215, 215, ..., 215, 215, 215],\n       [215, 215, 215, ..., 215, 2... ..., 215, 215, 215],\n       [215, 215, 215, ..., 215, 215, 215]], dtype=uint8) == 1.sum

tests/test_warp.py:404: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xab28ba10>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae7a4790> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae7a4790>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xab28ba10>
DEBUG:rasterio._io:Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._warp:Created transformer and warp output.
DEBUG:rasterio._warp:Created temp source dataset
DEBUG:rasterio._warp:Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._warp:Wrote array to temp source dataset
DEBUG:rasterio._warp:Created temp destination dataset.
DEBUG:rasterio._warp:CRS for temp destination dataset: PROJCS["NAD83(NSRS2007) / Maine East (ftUS) (deprecated)",GEOGCS["NAD83(NSRS2007)",DATUM["NAD83_National_Spatial_Reference_System_2007",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6759"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4759"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",43.66666666666666],PARAMETER["central_meridian",-68.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],AUTHORITY["EPSG","26836"]].
DEBUG:rasterio._warp:Wrote array to temp output dataset
DEBUG:rasterio._warp:Created transformer and options.
DEBUG:rasterio._warp:Setting NUM_THREADS option: 1
DEBUG:rasterio._warp:Configured to warp src band 1 to destination band 1
DEBUG:rasterio._warp:Set transformer options
DEBUG:rasterio._warp:Chunk and warp window: 0, 0, 112, 104.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xab28ba10>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae7a4790>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae7a4790>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae7a4790> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae7a4790>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae7a4790>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xab28ba10>
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xab28ba10>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae7a4790> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae7a4790>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xab28ba10>
warp.py                    418 DEBUG    Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
warp.py                    418 DEBUG    Created transformer and warp output.
warp.py                    297 DEBUG    Created temp source dataset
warp.py                    297 DEBUG    Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
warp.py                    297 DEBUG    Wrote array to temp source dataset
warp.py                    297 DEBUG    Created temp destination dataset.
warp.py                    297 DEBUG    CRS for temp destination dataset: PROJCS["NAD83(NSRS2007) / Maine East (ftUS) (deprecated)",GEOGCS["NAD83(NSRS2007)",DATUM["NAD83_National_Spatial_Reference_System_2007",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6759"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4759"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",43.66666666666666],PARAMETER["central_meridian",-68.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],AUTHORITY["EPSG","26836"]].
warp.py                    297 DEBUG    Wrote array to temp output dataset
warp.py                    297 DEBUG    Created transformer and options.
warp.py                    297 DEBUG    Setting NUM_THREADS option: 1
warp.py                    297 DEBUG    Configured to warp src band 1 to destination band 1
warp.py                    297 DEBUG    Set transformer options
warp.py                    297 DEBUG    Chunk and warp window: 0, 0, 112, 104.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xab28ba10>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae7a4790>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae7a4790>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae7a4790> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae7a4790>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae7a4790>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xab28ba10>
___________________ test_reproject_nodata_nan[options0-7608] ___________________

options = {'CHECK_WITH_INVERT_PROJ': False}, expected = 7608

    @pytest.mark.parametrize("options, expected", reproj_expected)
    def test_reproject_nodata_nan(options, expected):
    
        with rasterio.Env(**options):
            params = uninvertable_reproject_params()
            source = np.ones((params.width, params.height), dtype=np.float32)
            out = np.zeros((params.dst_width, params.dst_height),
                           dtype=source.dtype)
            out.fill(120)  # Fill with arbitrary value
    
            reproject(
                source,
                out,
                src_transform=params.src_transform,
                src_crs=params.src_crs,
                src_nodata=np.nan,
                dst_transform=params.dst_transform,
                dst_crs=params.dst_crs,
                dst_nodata=np.nan
            )
    
>           assert (out == 1).sum() == expected
E           assert 7628 == 7608
E            +  where 7628 = <built-in method sum of numpy.ndarray object at 0xae85fd40>()
E            +    where <built-in method sum of numpy.ndarray object at 0xae85fd40> = array([[nan, nan, nan, ..., nan, nan, nan],\n       [nan, nan, nan, ..., nan, n....., nan, nan, nan],\n       [nan, nan, nan, ..., nan, nan, nan]], dtype=float32) == 1.sum

tests/test_warp.py:430: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae7a4ad0>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae7a4910> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae7a4910>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae7a4ad0>
DEBUG:rasterio._io:Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._warp:Created transformer and warp output.
DEBUG:rasterio._warp:Created temp source dataset
DEBUG:rasterio._warp:Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._warp:Wrote array to temp source dataset
DEBUG:rasterio._warp:Created temp destination dataset.
DEBUG:rasterio._warp:CRS for temp destination dataset: PROJCS["NAD83(NSRS2007) / Maine East (ftUS) (deprecated)",GEOGCS["NAD83(NSRS2007)",DATUM["NAD83_National_Spatial_Reference_System_2007",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6759"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4759"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",43.66666666666666],PARAMETER["central_meridian",-68.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],AUTHORITY["EPSG","26836"]].
DEBUG:rasterio._warp:Wrote array to temp output dataset
DEBUG:rasterio._warp:Created transformer and options.
DEBUG:rasterio._warp:Setting NUM_THREADS option: 1
DEBUG:rasterio._warp:Configured to warp src band 1 to destination band 1
DEBUG:rasterio._warp:Set transformer options
DEBUG:rasterio._warp:Chunk and warp window: 0, 0, 112, 104.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae7a4ad0>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae7a4910>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae7a4910>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae7a4910> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae7a4910>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae7a4910>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae7a4ad0>
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae7a4ad0>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae7a4910> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae7a4910>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae7a4ad0>
warp.py                    418 DEBUG    Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
warp.py                    418 DEBUG    Created transformer and warp output.
warp.py                    297 DEBUG    Created temp source dataset
warp.py                    297 DEBUG    Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
warp.py                    297 DEBUG    Wrote array to temp source dataset
warp.py                    297 DEBUG    Created temp destination dataset.
warp.py                    297 DEBUG    CRS for temp destination dataset: PROJCS["NAD83(NSRS2007) / Maine East (ftUS) (deprecated)",GEOGCS["NAD83(NSRS2007)",DATUM["NAD83_National_Spatial_Reference_System_2007",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6759"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4759"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",43.66666666666666],PARAMETER["central_meridian",-68.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],AUTHORITY["EPSG","26836"]].
warp.py                    297 DEBUG    Wrote array to temp output dataset
warp.py                    297 DEBUG    Created transformer and options.
warp.py                    297 DEBUG    Setting NUM_THREADS option: 1
warp.py                    297 DEBUG    Configured to warp src band 1 to destination band 1
warp.py                    297 DEBUG    Set transformer options
warp.py                    297 DEBUG    Chunk and warp window: 0, 0, 112, 104.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae7a4ad0>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae7a4910>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae7a4910>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae7a4910> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae7a4910>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae7a4910>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae7a4ad0>
_______________ test_reproject_dst_nodata_default[options0-7608] _______________

options = {'CHECK_WITH_INVERT_PROJ': False}, expected = 7608

    @pytest.mark.parametrize("options, expected", reproj_expected)
    def test_reproject_dst_nodata_default(options, expected):
        """If nodata is not provided, destination will be filled with 0."""
    
        with rasterio.Env(**options):
            params = uninvertable_reproject_params()
            source = np.ones((params.width, params.height), dtype=np.uint8)
            out = np.zeros((params.dst_width, params.dst_height),
                           dtype=source.dtype)
            out.fill(120)  # Fill with arbitrary value
    
            reproject(
                source,
                out,
                src_transform=params.src_transform,
                src_crs=params.src_crs,
                dst_transform=params.dst_transform,
                dst_crs=params.dst_crs
            )
    
>           assert (out == 1).sum() == expected
E           assert 7628 == 7608
E            +  where 7628 = <built-in method sum of numpy.ndarray object at 0xab29b6b0>()
E            +    where <built-in method sum of numpy.ndarray object at 0xab29b6b0> = array([[0, 0, 0, ..., 0, 0, 0],\n       [0, 0, 0, ..., 0, 0, 0],\n       [0, 0, ...,\n       [0, 0, 0, ..., 0, 0, 0],\n       [0, 0, 0, ..., 0, 0, 0]], dtype=uint8) == 1.sum

tests/test_warp.py:455: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG:rasterio.env:Entering env context: <rasterio.env.Env object at 0xae78db70>
DEBUG:rasterio.env:Starting outermost env
DEBUG:rasterio.env:No GDAL environment exists
DEBUG:rasterio.env:New GDAL environment <rasterio._env.GDALEnv object at 0xae78da70> created
DEBUG:rasterio._env:Logging error handler pushed.
DEBUG:rasterio._env:All drivers registered.
DEBUG:rasterio._env:Started GDALEnv <rasterio._env.GDALEnv object at 0xae78da70>.
DEBUG:rasterio.env:Entered env context: <rasterio.env.Env object at 0xae78db70>
DEBUG:rasterio._io:Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._warp:Created transformer and warp output.
DEBUG:rasterio._warp:Created temp source dataset
DEBUG:rasterio._warp:Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
DEBUG:rasterio._warp:Wrote array to temp source dataset
DEBUG:rasterio._warp:Created temp destination dataset.
DEBUG:rasterio._warp:CRS for temp destination dataset: PROJCS["NAD83(NSRS2007) / Maine East (ftUS) (deprecated)",GEOGCS["NAD83(NSRS2007)",DATUM["NAD83_National_Spatial_Reference_System_2007",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6759"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4759"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",43.66666666666666],PARAMETER["central_meridian",-68.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],AUTHORITY["EPSG","26836"]].
DEBUG:rasterio._warp:Wrote array to temp output dataset
DEBUG:rasterio._warp:Created transformer and options.
DEBUG:rasterio._warp:Setting NUM_THREADS option: 1
DEBUG:rasterio._warp:Configured to warp src band 1 to destination band 1
DEBUG:rasterio._warp:Set transformer options
DEBUG:rasterio._warp:Chunk and warp window: 0, 0, 112, 104.
DEBUG:rasterio.env:Exiting env context: <rasterio.env.Env object at 0xae78db70>
DEBUG:rasterio._env:Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae78da70>
DEBUG:rasterio._env:Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae78da70>
DEBUG:rasterio.env:Cleared existing <rasterio._env.GDALEnv object at 0xae78da70> options
DEBUG:rasterio._env:Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae78da70>.
DEBUG:rasterio._env:Error handler popped.
DEBUG:rasterio._env:Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae78da70>.
DEBUG:rasterio.env:Exiting outermost env
DEBUG:rasterio.env:Exited env context: <rasterio.env.Env object at 0xae78db70>
------------------------------ Captured log call -------------------------------
env.py                     253 DEBUG    Entering env context: <rasterio.env.Env object at 0xae78db70>
env.py                     256 DEBUG    Starting outermost env
env.py                     307 DEBUG    No GDAL environment exists
env.py                     311 DEBUG    New GDAL environment <rasterio._env.GDALEnv object at 0xae78da70> created
env.py                     312 DEBUG    Logging error handler pushed.
env.py                     312 DEBUG    All drivers registered.
env.py                     312 DEBUG    Started GDALEnv <rasterio._env.GDALEnv object at 0xae78da70>.
env.py                     280 DEBUG    Entered env context: <rasterio.env.Env object at 0xae78db70>
warp.py                    418 DEBUG    Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
warp.py                    418 DEBUG    Created transformer and warp output.
warp.py                    297 DEBUG    Created temp source dataset
warp.py                    297 DEBUG    Set CRS on temp source dataset: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
warp.py                    297 DEBUG    Wrote array to temp source dataset
warp.py                    297 DEBUG    Created temp destination dataset.
warp.py                    297 DEBUG    CRS for temp destination dataset: PROJCS["NAD83(NSRS2007) / Maine East (ftUS) (deprecated)",GEOGCS["NAD83(NSRS2007)",DATUM["NAD83_National_Spatial_Reference_System_2007",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6759"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4759"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",43.66666666666666],PARAMETER["central_meridian",-68.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],AUTHORITY["EPSG","26836"]].
warp.py                    297 DEBUG    Wrote array to temp output dataset
warp.py                    297 DEBUG    Created transformer and options.
warp.py                    297 DEBUG    Setting NUM_THREADS option: 1
warp.py                    297 DEBUG    Configured to warp src band 1 to destination band 1
warp.py                    297 DEBUG    Set transformer options
warp.py                    297 DEBUG    Chunk and warp window: 0, 0, 112, 104.
env.py                     284 DEBUG    Exiting env context: <rasterio.env.Env object at 0xae78db70>
env.py                     348 DEBUG    Unset option GDAL_DATA in env <rasterio._env.GDALEnv object at 0xae78da70>
env.py                     348 DEBUG    Unset option CHECK_WITH_INVERT_PROJ in env <rasterio._env.GDALEnv object at 0xae78da70>
env.py                     349 DEBUG    Cleared existing <rasterio._env.GDALEnv object at 0xae78da70> options
env.py                     350 DEBUG    Stopping GDALEnv <rasterio._env.GDALEnv object at 0xae78da70>.
env.py                     350 DEBUG    Error handler popped.
env.py                     350 DEBUG    Stopped GDALEnv <rasterio._env.GDALEnv object at 0xae78da70>.
env.py                     290 DEBUG    Exiting outermost env
env.py                     299 DEBUG    Exited env context: <rasterio.env.Env object at 0xae78db70>
=============================== warnings summary ===============================
.pybuild/cpython2_2.7_rasterio/build/tests/test_boundless_read.py::test_outer_boundless_pixel_fidelity
  hypothesis_temporary_module_c5bcd764078181656cf0a02fb73bf70470982936:15: HypothesisDeprecationWarning: Test took 277.86ms to run. In future the default deadline setting will be 200ms, which will make this an error. You can set deadline to an explicit value of e.g. 300 to turn tests slower than this into an error, or you can set it to None to disable this check entirely.

.pybuild/cpython2_2.7_rasterio/build/tests/test_read.py::ReaderContextTest::test_read_nan_nodata
  /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_read.py:248: RuntimeWarning: invalid value encountered in greater
    a = s.read(masked=True)
  /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_read.py:248: RuntimeWarning: invalid value encountered in less
    a = s.read(masked=True)
  /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_read.py:256: RuntimeWarning: invalid value encountered in greater
    a = s.read(masked=False)
  /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_read.py:256: RuntimeWarning: invalid value encountered in less
    a = s.read(masked=False)
  /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_read.py:260: RuntimeWarning: invalid value encountered in greater
    a = s.read(window=((0, 2), (0, 2)), masked=True)
  /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_read.py:260: RuntimeWarning: invalid value encountered in less
    a = s.read(window=((0, 2), (0, 2)), masked=True)

.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_merge.py::test_merge_with_colormap
  /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_merge.py:110: UserWarning: This format doesn't support alpha in colormap entries. The value will be ignored.
    src.write_colormap(1, {0: (255, 0, 0, 255), 255: (0, 0, 0, 0)})

.pybuild/cpython2_2.7_rasterio/build/tests/test_warp.py::test_reproject_dst_nodata
  /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_warp.py:1256: RuntimeWarning: invalid value encountered in greater
    assert (out > 0).sum() == 438113

-- Docs: http://doc.pytest.org/en/latest/warnings.html
 229 failed, 884 passed, 42 skipped, 9 xfailed, 1 xpassed, 9 warnings in 338.85 seconds 
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build; python2.7 -m pytest tests
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
Ignoring test failures
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 fakeroot debian/rules binary-arch
dh binary-arch --with python2,python3 --buildsystem pybuild --parallel
   dh_testroot -a -O--buildsystem=pybuild -O--parallel
   dh_prep -a -O--buildsystem=pybuild -O--parallel
   dh_installdirs -a -O--buildsystem=pybuild -O--parallel
   dh_auto_install -a -O--buildsystem=pybuild -O--parallel
I: pybuild base:217: /usr/bin/python setup.py install --root /<<PKGBUILDDIR>>/debian/python-rasterio 
INFO:root:GDAL API version obtained from gdal-config: 2.3.1
INFO:root:MANIFEST.in found, presume a repo, cythonizing...
warning: rasterio/gdal.pxi:17:4: 'CPLErr' redeclared 
warning: rasterio/gdal.pxi:116:4: 'GDALDataType' redeclared 
warning: rasterio/gdal.pxi:131:4: 'GDALAccess' redeclared 
warning: rasterio/gdal.pxi:135:4: 'GDALRWFlag' redeclared 
warning: rasterio/gdal.pxi:139:4: 'GDALRIOResampleAlg' redeclared 
warning: rasterio/gdal.pxi:149:4: 'GDALColorInterp' redeclared 
warning: rasterio/gdal.pxi:387:4: 'GDALResampleAlg' redeclared 
warning: rasterio/gdal.pxi:18:8: 'CE_None' redeclared 
warning: rasterio/gdal.pxi:19:8: 'CE_Debug' redeclared 
warning: rasterio/gdal.pxi:20:8: 'CE_Warning' redeclared 
warning: rasterio/gdal.pxi:21:8: 'CE_Failure' redeclared 
warning: rasterio/gdal.pxi:22:8: 'CE_Fatal' redeclared 
warning: rasterio/gdal.pxi:26:4: 'CPLErrorHandler' redeclared 
warning: rasterio/gdal.pxi:31:30: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:32:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:53:4: 'vsi_l_offset' redeclared 
warning: rasterio/gdal.pxi:54:4: 'VSILFILE' redeclared 
warning: rasterio/gdal.pxi:75:4: 'OGRCoordinateTransformationH' redeclared 
warning: rasterio/gdal.pxi:76:4: 'OGRSpatialReferenceH' redeclared 
warning: rasterio/gdal.pxi:105:4: 'GDALMajorObjectH' redeclared 
warning: rasterio/gdal.pxi:106:4: 'GDALDatasetH' redeclared 
warning: rasterio/gdal.pxi:107:4: 'GDALRasterBandH' redeclared 
warning: rasterio/gdal.pxi:108:4: 'GDALDriverH' redeclared 
warning: rasterio/gdal.pxi:109:4: 'GDALColorTableH' redeclared 
warning: rasterio/gdal.pxi:110:4: 'GDALRasterAttributeTableH' redeclared 
warning: rasterio/gdal.pxi:111:4: 'GDALAsyncReaderH' redeclared 
warning: rasterio/gdal.pxi:113:4: 'GSpacing' redeclared 
warning: rasterio/gdal.pxi:114:4: 'GIntBig' redeclared 
warning: rasterio/gdal.pxi:117:8: 'GDT_Unknown' redeclared 
warning: rasterio/gdal.pxi:118:8: 'GDT_Byte' redeclared 
warning: rasterio/gdal.pxi:119:8: 'GDT_UInt16' redeclared 
warning: rasterio/gdal.pxi:120:8: 'GDT_Int16' redeclared 
warning: rasterio/gdal.pxi:121:8: 'GDT_UInt32' redeclared 
warning: rasterio/gdal.pxi:122:8: 'GDT_Int32' redeclared 
warning: rasterio/gdal.pxi:123:8: 'GDT_Float32' redeclared 
warning: rasterio/gdal.pxi:124:8: 'GDT_Float64' redeclared 
warning: rasterio/gdal.pxi:125:8: 'GDT_CInt16' redeclared 
warning: rasterio/gdal.pxi:126:8: 'GDT_CInt32' redeclared 
warning: rasterio/gdal.pxi:127:8: 'GDT_CFloat32' redeclared 
warning: rasterio/gdal.pxi:128:8: 'GDT_CFloat64' redeclared 
warning: rasterio/gdal.pxi:129:8: 'GDT_TypeCount' redeclared 
warning: rasterio/gdal.pxi:132:8: 'GA_ReadOnly' redeclared 
warning: rasterio/gdal.pxi:133:8: 'GA_Update' redeclared 
warning: rasterio/gdal.pxi:136:8: 'GF_Read' redeclared 
warning: rasterio/gdal.pxi:137:8: 'GF_Write' redeclared 
warning: rasterio/gdal.pxi:140:8: 'GRIORA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:141:8: 'GRIORA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:142:8: 'GRIORA_Cubic' redeclared 
warning: rasterio/gdal.pxi:143:8: 'GRIORA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:144:8: 'GRIORA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:145:8: 'GRIORA_Average' redeclared 
warning: rasterio/gdal.pxi:146:8: 'GRIORA_Mode' redeclared 
warning: rasterio/gdal.pxi:147:8: 'GRIORA_Gauss' redeclared 
warning: rasterio/gdal.pxi:150:8: 'GCI_Undefined' redeclared 
warning: rasterio/gdal.pxi:151:8: 'GCI_GrayIndex' redeclared 
warning: rasterio/gdal.pxi:152:8: 'GCI_PaletteIndex' redeclared 
warning: rasterio/gdal.pxi:153:8: 'GCI_RedBand' redeclared 
warning: rasterio/gdal.pxi:154:8: 'GCI_GreenBand' redeclared 
warning: rasterio/gdal.pxi:155:8: 'GCI_BlueBand' redeclared 
warning: rasterio/gdal.pxi:156:8: 'GCI_AlphaBand' redeclared 
warning: rasterio/gdal.pxi:157:8: 'GCI_HueBand' redeclared 
warning: rasterio/gdal.pxi:158:8: 'GCI_SaturationBand' redeclared 
warning: rasterio/gdal.pxi:159:8: 'GCI_LightnessBand' redeclared 
warning: rasterio/gdal.pxi:160:8: 'GCI_CyanBand' redeclared 
warning: rasterio/gdal.pxi:161:8: 'GCI_YCbCr_YBand' redeclared 
warning: rasterio/gdal.pxi:162:8: 'GCI_YCbCr_CbBand' redeclared 
warning: rasterio/gdal.pxi:163:8: 'GCI_YCbCr_CrBand' redeclared 
warning: rasterio/gdal.pxi:164:8: 'GCI_Max' redeclared 
warning: rasterio/gdal.pxi:190:25: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:191:31: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:205:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:220:27: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:242:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:255:22: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:264:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:266:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:271:4: 'OGRLayerH' redeclared 
warning: rasterio/gdal.pxi:272:4: 'OGRDataSourceH' redeclared 
warning: rasterio/gdal.pxi:273:4: 'OGRSFDriverH' redeclared 
warning: rasterio/gdal.pxi:274:4: 'OGRFieldDefnH' redeclared 
warning: rasterio/gdal.pxi:275:4: 'OGRFeatureDefnH' redeclared 
warning: rasterio/gdal.pxi:276:4: 'OGRFeatureH' redeclared 
warning: rasterio/gdal.pxi:277:4: 'OGRGeometryH' redeclared 
warning: rasterio/gdal.pxi:279:4: 'OGRErr' redeclared 
warning: rasterio/gdal.pxi:388:8: 'GRA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:389:8: 'GRA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:390:8: 'GRA_Cubic' redeclared 
warning: rasterio/gdal.pxi:391:8: 'GRA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:392:8: 'GRA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:393:8: 'GRA_Average' redeclared 
warning: rasterio/gdal.pxi:394:8: 'GRA_Mode' redeclared 
warning: rasterio/gdal.pxi:396:4: 'GDALMaskFunc' redeclared 
warning: rasterio/gdal.pxi:401:4: 'GDALTransformerFunc' redeclared 
warning: rasterio/gdal.pxi:460:40: Function signature does not match previous declaration
warning: rasterio/shim_rasterioex.pxi:123:32: Use boundscheck(False) for faster access
running install
running build
running build_py
running egg_info
writing requirements to rasterio.egg-info/requires.txt
writing rasterio.egg-info/PKG-INFO
writing top-level names to rasterio.egg-info/top_level.txt
writing dependency_links to rasterio.egg-info/dependency_links.txt
writing entry points to rasterio.egg-info/entry_points.txt
reading manifest file 'rasterio.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.tif' found under directory 'tests/data'
warning: no files found matching '*.txt' under directory 'tests/data'
writing manifest file 'rasterio.egg-info/SOURCES.txt'
running build_ext
building 'rasterio._shim' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python2.7 -c rasterio/_shim.c -o build/temp.linux-armhf-2.7/rasterio/_shim.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_shim.c:618:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
rasterio/_shim.c: In function '__pyx_f_8rasterio_5_shim_open_dataset':
rasterio/_shim.c:4375:64: warning: passing argument 3 of 'GDALOpenEx' from incompatible pointer type [-Wincompatible-pointer-types]
         __pyx_v_hds = GDALOpenEx(__pyx_v_fname, __pyx_v_flags, __pyx_v_drivers, __pyx_v_options, NULL);
                                                                ^~~~~~~~~~~~~~~
In file included from rasterio/_shim.c:613:0:
/usr/include/gdal/gdal.h:520:34: note: expected 'const char * const*' but argument is of type 'char **'
 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
                                  ^~~~~~~~~~
rasterio/_shim.c:4375:81: warning: passing argument 4 of 'GDALOpenEx' from incompatible pointer type [-Wincompatible-pointer-types]
         __pyx_v_hds = GDALOpenEx(__pyx_v_fname, __pyx_v_flags, __pyx_v_drivers, __pyx_v_options, NULL);
                                                                                 ^~~~~~~~~~~~~~~
In file included from rasterio/_shim.c:613:0:
/usr/include/gdal/gdal.h:520:34: note: expected 'const char * const*' but argument is of type 'char **'
 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
                                  ^~~~~~~~~~
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-tAnJG9/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-2.7/rasterio/_shim.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_shim.so
running install_lib
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/__init__.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/compat.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/control.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/coords.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/crs.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/drivers.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/dtypes.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/enums.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/env.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/errors.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/features.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/fill.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/io.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/mask.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/merge.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/path.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/plot.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/profiles.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/sample.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/tools.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/transform.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/vrt.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/warp.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/windows.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/__init__.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/blocks.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/bounds.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/calc.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/clip.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/convert.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/edit_info.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/env.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/gcps.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/helpers.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/info.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/insp.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/main.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/mask.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/merge.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/options.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/overview.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/rasterize.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/rm.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/sample.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/shapes.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/stack.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/transform.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/warp.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/__init__.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/main.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/options.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/helpers.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/edit_info.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/insp.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/stack.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/rio/warp.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_base.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_io.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_features.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_env.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_warp.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_fill.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_err.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_example.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_crs.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/shutil.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/__init__.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/dtypes.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/enums.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/compat.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/control.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/crs.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/errors.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/coords.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/env.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/path.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/transform.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/profiles.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/windows.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/drivers.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/io.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/sample.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/vrt.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/features.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/warp.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/fill.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/mask.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/plot.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/merge.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/tools.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/rasterio/_shim.so -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/README.rst -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__init__.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/conftest.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/389225main_sw_1965_1024.jpg -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/README.rst -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.byte.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB.nc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB2.byte.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGB2.byte.tif.msk -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/RGBA.byte.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/alpha.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/box.cpg -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/box.dbf -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/box.prj -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/box.shp -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/box.shx -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/cogeo.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/files.zip -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/float.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/float_nan.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/green.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/green.tif.ovr -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/no_band.h5 -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/red.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/red.tif.ovr -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/rgb1.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/rgb2.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/rgb3.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/rgb4.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/rgb_deflate.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/rgb_lzw.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/rotated.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/shade.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/white-gemini-iv.vrt -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/world.byte.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/world.rgb.tif -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/data/white-gemini-iv.zip -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/data
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_band.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_band_masks.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_blocks.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_boundless_read.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_checksum.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_cli_main.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_colorinterp.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_colormap.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_complex_dtypes.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_concurrency.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_coords.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_crs.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_dataset.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_dataset_mask.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_dataset_rw.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_deprecated.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_descriptions.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_driver_management.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_driver_policy.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_dtypes.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_env.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_err.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_features.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_fillnodata.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_gcps.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_gdal_raster_io.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_image_structure.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_indexing.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_io_mixins.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_mask.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_mask_creation.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_memoryfile.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_meta.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_no_georef.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_nodata.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_open.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_open_options.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_options.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_overviews.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_pad.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_path.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_plot.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_png.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_profile.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_read.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_read_boundless.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_read_resample.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_reshape_image.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_revolvingdoor.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_blocks.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_calc.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_convert.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_edit_info.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_gcp.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_helpers.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_info.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_insp.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_main.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_mask.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_merge.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_options.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_overview.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_rasterize.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_rm.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_sample.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_shapes.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_stack.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_rio_warp.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_sampling.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_shutil.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_subdatasets.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_tag_item.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_tags.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_threading.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_tools.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_transform.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_units.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_update.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_vrt.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_warnings.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_warp.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_warp_transform.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_warpedvrt.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_windows.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_windows_mixins.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/test_write.py -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__init__.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/conftest.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_band.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_band_masks.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_blocks.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_boundless_read.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_checksum.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_cli_main.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_colorinterp.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_colormap.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_complex_dtypes.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_concurrency.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_coords.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_crs.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_dataset.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_dataset_mask.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_dataset_rw.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_deprecated.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_descriptions.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_driver_management.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_driver_policy.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_dtypes.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_env.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_err.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_features.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_fillnodata.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_gcps.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_gdal_raster_io.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_image_structure.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_indexing.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_io_mixins.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_mask.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_mask_creation.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_memoryfile.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_meta.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_no_georef.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_nodata.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_open.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_open_options.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_options.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_overviews.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_pad.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_path.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_plot.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_png.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_profile.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_read.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_read_boundless.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_read_resample.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_reshape_image.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_revolvingdoor.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_blocks.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_calc.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_convert.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_edit_info.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_gcp.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_helpers.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_info.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_insp.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_main.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_mask.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_merge.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_options.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_overview.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_rasterize.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_rm.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_sample.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_shapes.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_stack.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_rio_warp.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_sampling.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_shutil.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_subdatasets.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_tag_item.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_tags.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_threading.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_tools.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_transform.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_units.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_update.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_vrt.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_warnings.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_warp.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_warp_transform.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_warpedvrt.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_windows.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_windows_mixins.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/tests/__pycache__/test_write.cpython-27-PYTEST.pyc -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__pycache__
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/d4a34ce7c01b8373
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/b8a1f6de0cbebe69
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/6cc369892434282e
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/6cc369892434282e/05fe405753166f12 -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/6cc369892434282e
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/aa7ef286553b82aa
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/fcc423621a55b9ba
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/5a088e75eb82d87e
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/5a088e75eb82d87e/deb6c11e1971aa61 -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/5a088e75eb82d87e
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/0f8c12b990cfc88f
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/cc201550483e8067
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/2d0f42a061bff130
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/2d0f42a061bff130/deb6c11e1971aa61 -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/2d0f42a061bff130
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/b93aee63e0d64d72
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/9c3de5d2df089f8d
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/3c39c94b66917a46
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/3c39c94b66917a46/deb6c11e1971aa61 -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/3c39c94b66917a46
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/dda87b1c92262210
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/589c83a635e0bc06
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/5f3036ca3e453317
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/5f3036ca3e453317/deb6c11e1971aa61 -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/5f3036ca3e453317
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/a76e397a42482b88
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/6d48d77afd8eda8e
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/a8f41733f7c7d90e
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/a8f41733f7c7d90e/deb6c11e1971aa61 -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/a8f41733f7c7d90e
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/c1906ea8df5e7a1d
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/bc464ba53fcb5dfb
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/1b8b99665b1aa672
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/1b8b99665b1aa672/40bf0c6cf2807a6e -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/1b8b99665b1aa672
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/3f0f3d9f40a033c9
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/faf9fa01ac7673b9
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/9de2428e9d4a1409
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/9de2428e9d4a1409/40bf0c6cf2807a6e -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/9de2428e9d4a1409
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/b267bca1fc840a7f
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/ef8df1a27dba9f9d
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/9c637ad1efa779b9
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/9c637ad1efa779b9/40bf0c6cf2807a6e -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/9c637ad1efa779b9
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/6bae00451dc9ce12
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/dc8b9dda807d53db
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/8a83665e76805ca7
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/8a83665e76805ca7/8696cf0f4655636c -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/8a83665e76805ca7
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/65bd368d9668116c
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/e99f2f71889a4ad2
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/d83177309ccf8998
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/d83177309ccf8998/b8b17ad613463c3c -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/d83177309ccf8998
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/b0b51c1caba434c3
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/d9e8a5e63d4c9f42
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/23dc7f5a3c95c4c4
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/23dc7f5a3c95c4c4/b8b17ad613463c3c -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/23dc7f5a3c95c4c4
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/cc39c5de9746ed92
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/7fda96e775a31a84
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/bd654f4b4753a1ad
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/bd654f4b4753a1ad/b8b17ad613463c3c -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/bd654f4b4753a1ad
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/32061f32376960a9
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/9a451a013031171a
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/db68a3c34af7a126
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/db68a3c34af7a126/b8b17ad613463c3c -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/db68a3c34af7a126
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/248d9414d2010a76
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/eb254fe3fac363bd
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/5ba708a6a9552b98
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/5ba708a6a9552b98/b8b17ad613463c3c -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/5ba708a6a9552b98
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/5f5477695158ebf9
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/180dff5ca01f0e9b
creating /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/828d795e8d25e410
copying /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_rasterio/build/.hypothesis/examples/828d795e8d25e410/b8b17ad613463c3c -> /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/.hypothesis/examples/828d795e8d25e410
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/__init__.py to __init__.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/compat.py to compat.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/control.py to control.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/coords.py to coords.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/crs.py to crs.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/drivers.py to drivers.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/dtypes.py to dtypes.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/enums.py to enums.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/env.py to env.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/errors.py to errors.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/features.py to features.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/fill.py to fill.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/io.py to io.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/mask.py to mask.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/merge.py to merge.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/path.py to path.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/plot.py to plot.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/profiles.py to profiles.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/sample.py to sample.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/tools.py to tools.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/transform.py to transform.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/vrt.py to vrt.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/warp.py to warp.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/windows.py to windows.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/__init__.py to __init__.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/blocks.py to blocks.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/bounds.py to bounds.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/calc.py to calc.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/clip.py to clip.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/convert.py to convert.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/edit_info.py to edit_info.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/env.py to env.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/gcps.py to gcps.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/helpers.py to helpers.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/info.py to info.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/insp.py to insp.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/main.py to main.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/mask.py to mask.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/merge.py to merge.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/options.py to options.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/overview.py to overview.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/rasterize.py to rasterize.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/rm.py to rm.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/sample.py to sample.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/shapes.py to shapes.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/stack.py to stack.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/transform.py to transform.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio/rio/warp.py to warp.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/__init__.py to __init__.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/conftest.py to conftest.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_band.py to test_band.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_band_masks.py to test_band_masks.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_blocks.py to test_blocks.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_boundless_read.py to test_boundless_read.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_checksum.py to test_checksum.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_cli_main.py to test_cli_main.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_colorinterp.py to test_colorinterp.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_colormap.py to test_colormap.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_complex_dtypes.py to test_complex_dtypes.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_concurrency.py to test_concurrency.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_coords.py to test_coords.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_crs.py to test_crs.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_dataset.py to test_dataset.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_dataset_mask.py to test_dataset_mask.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_dataset_rw.py to test_dataset_rw.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_deprecated.py to test_deprecated.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_descriptions.py to test_descriptions.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_driver_management.py to test_driver_management.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_driver_policy.py to test_driver_policy.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_dtypes.py to test_dtypes.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_env.py to test_env.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_err.py to test_err.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_features.py to test_features.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_fillnodata.py to test_fillnodata.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_gcps.py to test_gcps.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_gdal_raster_io.py to test_gdal_raster_io.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_image_structure.py to test_image_structure.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_indexing.py to test_indexing.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_io_mixins.py to test_io_mixins.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_mask.py to test_mask.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_mask_creation.py to test_mask_creation.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_memoryfile.py to test_memoryfile.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_meta.py to test_meta.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_no_georef.py to test_no_georef.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_nodata.py to test_nodata.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_open.py to test_open.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_open_options.py to test_open_options.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_options.py to test_options.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_overviews.py to test_overviews.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_pad.py to test_pad.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_path.py to test_path.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_plot.py to test_plot.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_png.py to test_png.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_profile.py to test_profile.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_read.py to test_read.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_read_boundless.py to test_read_boundless.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_read_resample.py to test_read_resample.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_reshape_image.py to test_reshape_image.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_revolvingdoor.py to test_revolvingdoor.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_blocks.py to test_rio_blocks.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_calc.py to test_rio_calc.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_convert.py to test_rio_convert.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_edit_info.py to test_rio_edit_info.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_gcp.py to test_rio_gcp.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_helpers.py to test_rio_helpers.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_info.py to test_rio_info.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_insp.py to test_rio_insp.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_main.py to test_rio_main.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_mask.py to test_rio_mask.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_merge.py to test_rio_merge.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_options.py to test_rio_options.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_overview.py to test_rio_overview.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_rasterize.py to test_rio_rasterize.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_rm.py to test_rio_rm.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_sample.py to test_rio_sample.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_shapes.py to test_rio_shapes.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_stack.py to test_rio_stack.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_rio_warp.py to test_rio_warp.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_sampling.py to test_sampling.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_shutil.py to test_shutil.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_subdatasets.py to test_subdatasets.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_tag_item.py to test_tag_item.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_tags.py to test_tags.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_threading.py to test_threading.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_tools.py to test_tools.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_transform.py to test_transform.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_units.py to test_units.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_update.py to test_update.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_vrt.py to test_vrt.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_warnings.py to test_warnings.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_warp.py to test_warp.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_warp_transform.py to test_warp_transform.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_warpedvrt.py to test_warpedvrt.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_windows.py to test_windows.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_windows_mixins.py to test_windows_mixins.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/tests/test_write.py to test_write.pyc
running install_egg_info
Copying rasterio.egg-info to /<<PKGBUILDDIR>>/debian/python-rasterio/usr/lib/python2.7/dist-packages/rasterio-1.0.3.egg-info
Skipping SOURCES.txt
running install_scripts
Installing rasterio script to /<<PKGBUILDDIR>>/debian/python-rasterio/usr/bin
I: pybuild base:217: /usr/bin/python3 setup.py install --root /<<PKGBUILDDIR>>/debian/python3-rasterio 
INFO:root:GDAL API version obtained from gdal-config: 2.3.1
INFO:root:MANIFEST.in found, presume a repo, cythonizing...
running install
running build
running build_py
warning: rasterio/gdal.pxi:17:4: 'CPLErr' redeclared 
warning: rasterio/gdal.pxi:116:4: 'GDALDataType' redeclared 
warning: rasterio/gdal.pxi:131:4: 'GDALAccess' redeclared 
warning: rasterio/gdal.pxi:135:4: 'GDALRWFlag' redeclared 
warning: rasterio/gdal.pxi:139:4: 'GDALRIOResampleAlg' redeclared 
warning: rasterio/gdal.pxi:149:4: 'GDALColorInterp' redeclared 
warning: rasterio/gdal.pxi:387:4: 'GDALResampleAlg' redeclared 
warning: rasterio/gdal.pxi:18:8: 'CE_None' redeclared 
warning: rasterio/gdal.pxi:19:8: 'CE_Debug' redeclared 
warning: rasterio/gdal.pxi:20:8: 'CE_Warning' redeclared 
warning: rasterio/gdal.pxi:21:8: 'CE_Failure' redeclared 
warning: rasterio/gdal.pxi:22:8: 'CE_Fatal' redeclared 
warning: rasterio/gdal.pxi:26:4: 'CPLErrorHandler' redeclared 
warning: rasterio/gdal.pxi:31:30: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:32:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:53:4: 'vsi_l_offset' redeclared 
warning: rasterio/gdal.pxi:54:4: 'VSILFILE' redeclared 
warning: rasterio/gdal.pxi:75:4: 'OGRCoordinateTransformationH' redeclared 
warning: rasterio/gdal.pxi:76:4: 'OGRSpatialReferenceH' redeclared 
warning: rasterio/gdal.pxi:105:4: 'GDALMajorObjectH' redeclared 
warning: rasterio/gdal.pxi:106:4: 'GDALDatasetH' redeclared 
warning: rasterio/gdal.pxi:107:4: 'GDALRasterBandH' redeclared 
warning: rasterio/gdal.pxi:108:4: 'GDALDriverH' redeclared 
warning: rasterio/gdal.pxi:109:4: 'GDALColorTableH' redeclared 
warning: rasterio/gdal.pxi:110:4: 'GDALRasterAttributeTableH' redeclared 
warning: rasterio/gdal.pxi:111:4: 'GDALAsyncReaderH' redeclared 
warning: rasterio/gdal.pxi:113:4: 'GSpacing' redeclared 
warning: rasterio/gdal.pxi:114:4: 'GIntBig' redeclared 
warning: rasterio/gdal.pxi:117:8: 'GDT_Unknown' redeclared 
warning: rasterio/gdal.pxi:118:8: 'GDT_Byte' redeclared 
warning: rasterio/gdal.pxi:119:8: 'GDT_UInt16' redeclared 
warning: rasterio/gdal.pxi:120:8: 'GDT_Int16' redeclared 
warning: rasterio/gdal.pxi:121:8: 'GDT_UInt32' redeclared 
warning: rasterio/gdal.pxi:122:8: 'GDT_Int32' redeclared 
warning: rasterio/gdal.pxi:123:8: 'GDT_Float32' redeclared 
warning: rasterio/gdal.pxi:124:8: 'GDT_Float64' redeclared 
warning: rasterio/gdal.pxi:125:8: 'GDT_CInt16' redeclared 
warning: rasterio/gdal.pxi:126:8: 'GDT_CInt32' redeclared 
warning: rasterio/gdal.pxi:127:8: 'GDT_CFloat32' redeclared 
warning: rasterio/gdal.pxi:128:8: 'GDT_CFloat64' redeclared 
warning: rasterio/gdal.pxi:129:8: 'GDT_TypeCount' redeclared 
warning: rasterio/gdal.pxi:132:8: 'GA_ReadOnly' redeclared 
warning: rasterio/gdal.pxi:133:8: 'GA_Update' redeclared 
warning: rasterio/gdal.pxi:136:8: 'GF_Read' redeclared 
warning: rasterio/gdal.pxi:137:8: 'GF_Write' redeclared 
warning: rasterio/gdal.pxi:140:8: 'GRIORA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:141:8: 'GRIORA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:142:8: 'GRIORA_Cubic' redeclared 
warning: rasterio/gdal.pxi:143:8: 'GRIORA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:144:8: 'GRIORA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:145:8: 'GRIORA_Average' redeclared 
warning: rasterio/gdal.pxi:146:8: 'GRIORA_Mode' redeclared 
warning: rasterio/gdal.pxi:147:8: 'GRIORA_Gauss' redeclared 
warning: rasterio/gdal.pxi:150:8: 'GCI_Undefined' redeclared 
warning: rasterio/gdal.pxi:151:8: 'GCI_GrayIndex' redeclared 
warning: rasterio/gdal.pxi:152:8: 'GCI_PaletteIndex' redeclared 
warning: rasterio/gdal.pxi:153:8: 'GCI_RedBand' redeclared 
warning: rasterio/gdal.pxi:154:8: 'GCI_GreenBand' redeclared 
warning: rasterio/gdal.pxi:155:8: 'GCI_BlueBand' redeclared 
warning: rasterio/gdal.pxi:156:8: 'GCI_AlphaBand' redeclared 
warning: rasterio/gdal.pxi:157:8: 'GCI_HueBand' redeclared 
warning: rasterio/gdal.pxi:158:8: 'GCI_SaturationBand' redeclared 
warning: rasterio/gdal.pxi:159:8: 'GCI_LightnessBand' redeclared 
warning: rasterio/gdal.pxi:160:8: 'GCI_CyanBand' redeclared 
warning: rasterio/gdal.pxi:161:8: 'GCI_YCbCr_YBand' redeclared 
warning: rasterio/gdal.pxi:162:8: 'GCI_YCbCr_CbBand' redeclared 
warning: rasterio/gdal.pxi:163:8: 'GCI_YCbCr_CrBand' redeclared 
warning: rasterio/gdal.pxi:164:8: 'GCI_Max' redeclared 
warning: rasterio/gdal.pxi:190:25: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:191:31: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:205:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:220:27: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:242:40: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:255:22: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:264:28: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:266:32: Function signature does not match previous declaration
warning: rasterio/gdal.pxi:271:4: 'OGRLayerH' redeclared 
warning: rasterio/gdal.pxi:272:4: 'OGRDataSourceH' redeclared 
warning: rasterio/gdal.pxi:273:4: 'OGRSFDriverH' redeclared 
warning: rasterio/gdal.pxi:274:4: 'OGRFieldDefnH' redeclared 
warning: rasterio/gdal.pxi:275:4: 'OGRFeatureDefnH' redeclared 
warning: rasterio/gdal.pxi:276:4: 'OGRFeatureH' redeclared 
warning: rasterio/gdal.pxi:277:4: 'OGRGeometryH' redeclared 
warning: rasterio/gdal.pxi:279:4: 'OGRErr' redeclared 
warning: rasterio/gdal.pxi:388:8: 'GRA_NearestNeighbour' redeclared 
warning: rasterio/gdal.pxi:389:8: 'GRA_Bilinear' redeclared 
warning: rasterio/gdal.pxi:390:8: 'GRA_Cubic' redeclared 
warning: rasterio/gdal.pxi:391:8: 'GRA_CubicSpline' redeclared 
warning: rasterio/gdal.pxi:392:8: 'GRA_Lanczos' redeclared 
warning: rasterio/gdal.pxi:393:8: 'GRA_Average' redeclared 
warning: rasterio/gdal.pxi:394:8: 'GRA_Mode' redeclared 
warning: rasterio/gdal.pxi:396:4: 'GDALMaskFunc' redeclared 
warning: rasterio/gdal.pxi:401:4: 'GDALTransformerFunc' redeclared 
warning: rasterio/gdal.pxi:460:40: Function signature does not match previous declaration
warning: rasterio/shim_rasterioex.pxi:123:32: Use boundscheck(False) for faster access
INFO:root:Generating grammar tables from /usr/lib/python3.6/lib2to3/Grammar.txt
INFO:root:Generating grammar tables from /usr/lib/python3.6/lib2to3/PatternGrammar.txt
running egg_info
writing rasterio.egg-info/PKG-INFO
writing dependency_links to rasterio.egg-info/dependency_links.txt
writing entry points to rasterio.egg-info/entry_points.txt
writing requirements to rasterio.egg-info/requires.txt
writing top-level names to rasterio.egg-info/top_level.txt
reading manifest file 'rasterio.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.tif' found under directory 'tests/data'
warning: no files found matching '*.txt' under directory 'tests/data'
writing manifest file 'rasterio.egg-info/SOURCES.txt'
running build_ext
building 'rasterio._shim' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/gdal -I/usr/include/python3.6m -c rasterio/_shim.c -o build/temp.linux-armhf-3.6/rasterio/_shim.o -Wno-unused-parameter -Wno-unused-function
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1816:0,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from rasterio/_shim.c:618:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
  ^~~~~~~
rasterio/_shim.c: In function '__pyx_f_8rasterio_5_shim_open_dataset':
rasterio/_shim.c:4375:64: warning: passing argument 3 of 'GDALOpenEx' from incompatible pointer type [-Wincompatible-pointer-types]
         __pyx_v_hds = GDALOpenEx(__pyx_v_fname, __pyx_v_flags, __pyx_v_drivers, __pyx_v_options, NULL);
                                                                ^~~~~~~~~~~~~~~
In file included from rasterio/_shim.c:613:0:
/usr/include/gdal/gdal.h:520:34: note: expected 'const char * const*' but argument is of type 'char **'
 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
                                  ^~~~~~~~~~
rasterio/_shim.c:4375:81: warning: passing argument 4 of 'GDALOpenEx' from incompatible pointer type [-Wincompatible-pointer-types]
         __pyx_v_hds = GDALOpenEx(__pyx_v_fname, __pyx_v_flags, __pyx_v_drivers, __pyx_v_options, NULL);
                                                                                 ^~~~~~~~~~~~~~~
In file included from rasterio/_shim.c:613:0:
/usr/include/gdal/gdal.h:520:34: note: expected 'const char * const*' but argument is of type 'char **'
 GDALDatasetH CPL_DLL CPL_STDCALL GDALOpenEx( const char* pszFilename,
                                  ^~~~~~~~~~
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armhf-3.6/rasterio/_shim.o -lgdal -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_shim.cpython-36m-arm-linux-gnueabihf.so
running install_lib
creating /<<PKGBUILDDIR>>/debian/python3-rasterio/usr
creating /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib
creating /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6
creating /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages
creating /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/__init__.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/compat.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/control.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/coords.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/crs.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/drivers.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/dtypes.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/enums.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/env.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/errors.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/features.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/fill.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/io.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/mask.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/merge.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/path.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/plot.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/profiles.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/sample.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/tools.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/transform.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/vrt.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/warp.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/windows.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
creating /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/__init__.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/blocks.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/bounds.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/calc.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/clip.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/convert.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/edit_info.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/env.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/gcps.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/helpers.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/info.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/insp.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/main.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/mask.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/merge.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/options.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/overview.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/rasterize.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/rm.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/sample.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/shapes.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/stack.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/transform.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/rio/warp.py -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_base.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_io.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_features.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_env.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_warp.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_fill.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_err.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_example.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_crs.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/shutil.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
copying /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6_rasterio/build/rasterio/_shim.cpython-36m-arm-linux-gnueabihf.so -> /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/__init__.py to __init__.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/compat.py to compat.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/control.py to control.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/coords.py to coords.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/crs.py to crs.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/drivers.py to drivers.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/dtypes.py to dtypes.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/enums.py to enums.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/env.py to env.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/errors.py to errors.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/features.py to features.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/fill.py to fill.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/io.py to io.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/mask.py to mask.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/merge.py to merge.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/path.py to path.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/plot.py to plot.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/profiles.py to profiles.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/sample.py to sample.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/tools.py to tools.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/transform.py to transform.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/vrt.py to vrt.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/warp.py to warp.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/windows.py to windows.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/__init__.py to __init__.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/blocks.py to blocks.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/bounds.py to bounds.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/calc.py to calc.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/clip.py to clip.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/convert.py to convert.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/edit_info.py to edit_info.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/env.py to env.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/gcps.py to gcps.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/helpers.py to helpers.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/info.py to info.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/insp.py to insp.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/main.py to main.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/mask.py to mask.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/merge.py to merge.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/options.py to options.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/overview.py to overview.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/rasterize.py to rasterize.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/rm.py to rm.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/sample.py to sample.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/shapes.py to shapes.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/stack.py to stack.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/transform.py to transform.cpython-36.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio/rio/warp.py to warp.cpython-36.pyc
running install_egg_info
Copying rasterio.egg-info to /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/lib/python3.6/dist-packages/rasterio-1.0.3.egg-info
Skipping SOURCES.txt
running install_scripts
Installing rasterio script to /<<PKGBUILDDIR>>/debian/python3-rasterio/usr/bin
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
rm -f -r debian/python3-rasterio/usr/bin
rm -f -r debian/python-rasterio/usr/bin
rm -f -r debian/*/usr/lib/python*/dist-packages/.hypothesis/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -a -O--buildsystem=pybuild -O--parallel
   dh_installchangelogs -a -O--buildsystem=pybuild -O--parallel
   dh_installexamples -a -O--buildsystem=pybuild -O--parallel
   dh_installman -a -O--buildsystem=pybuild -O--parallel
   dh_installcatalogs -a -O--buildsystem=pybuild -O--parallel
   dh_installcron -a -O--buildsystem=pybuild -O--parallel
   dh_installdebconf -a -O--buildsystem=pybuild -O--parallel
   dh_installemacsen -a -O--buildsystem=pybuild -O--parallel
   dh_installifupdown -a -O--buildsystem=pybuild -O--parallel
   dh_installinfo -a -O--buildsystem=pybuild -O--parallel
   debian/rules override_dh_python2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_python2 -ppython-rasterio
I: dh_python2 fs:329: renaming _base.so to _base.arm-linux-gnueabihf.so
I: dh_python2 fs:329: renaming _crs.so to _crs.arm-linux-gnueabihf.so
I: dh_python2 fs:329: renaming _env.so to _env.arm-linux-gnueabihf.so
I: dh_python2 fs:329: renaming _err.so to _err.arm-linux-gnueabihf.so
I: dh_python2 fs:329: renaming _example.so to _example.arm-linux-gnueabihf.so
I: dh_python2 fs:329: renaming _features.so to _features.arm-linux-gnueabihf.so
I: dh_python2 fs:329: renaming _fill.so to _fill.arm-linux-gnueabihf.so
I: dh_python2 fs:329: renaming _io.so to _io.arm-linux-gnueabihf.so
I: dh_python2 fs:329: renaming _shim.so to _shim.arm-linux-gnueabihf.so
I: dh_python2 fs:329: renaming _warp.so to _warp.arm-linux-gnueabihf.so
I: dh_python2 fs:329: renaming shutil.so to shutil.arm-linux-gnueabihf.so
dh_numpy -ppython-rasterio
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_python3
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_python3 -ppython3-rasterio -prasterio
dh_numpy3 -ppython3-rasterio -prasterio
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installinit -a -O--buildsystem=pybuild -O--parallel
   dh_installmenu -a -O--buildsystem=pybuild -O--parallel
   dh_installmime -a -O--buildsystem=pybuild -O--parallel
   dh_installmodules -a -O--buildsystem=pybuild -O--parallel
   dh_installlogcheck -a -O--buildsystem=pybuild -O--parallel
   dh_installlogrotate -a -O--buildsystem=pybuild -O--parallel
   dh_installpam -a -O--buildsystem=pybuild -O--parallel
   dh_installppp -a -O--buildsystem=pybuild -O--parallel
   dh_installudev -a -O--buildsystem=pybuild -O--parallel
   dh_installgsettings -a -O--buildsystem=pybuild -O--parallel
   dh_bugfiles -a -O--buildsystem=pybuild -O--parallel
   dh_ucf -a -O--buildsystem=pybuild -O--parallel
   dh_lintian -a -O--buildsystem=pybuild -O--parallel
   dh_gconf -a -O--buildsystem=pybuild -O--parallel
   dh_icons -a -O--buildsystem=pybuild -O--parallel
   dh_perl -a -O--buildsystem=pybuild -O--parallel
   dh_usrlocal -a -O--buildsystem=pybuild -O--parallel
   dh_link -a -O--buildsystem=pybuild -O--parallel
   dh_installwm -a -O--buildsystem=pybuild -O--parallel
   dh_installxfonts -a -O--buildsystem=pybuild -O--parallel
   dh_strip_nondeterminism -a -O--buildsystem=pybuild -O--parallel
   dh_compress -a -O--buildsystem=pybuild -O--parallel
   dh_fixperms -a -O--buildsystem=pybuild -O--parallel
   dh_missing -a -O--buildsystem=pybuild -O--parallel
   dh_strip -a -O--buildsystem=pybuild -O--parallel
   dh_makeshlibs -a -O--buildsystem=pybuild -O--parallel
   dh_shlibdeps -a -O--buildsystem=pybuild -O--parallel
   dh_installdeb -a -O--buildsystem=pybuild -O--parallel
   dh_gencontrol -a -O--buildsystem=pybuild -O--parallel
dpkg-gencontrol: warning: package python-rasterio: unused substitution variable ${python:Provides}
dpkg-gencontrol: warning: package python-rasterio: unused substitution variable ${python:Versions}
dpkg-gencontrol: warning: package python3-rasterio: unused substitution variable ${python3:Provides}
dpkg-gencontrol: warning: package python3-rasterio: unused substitution variable ${python3:Versions}
dpkg-gencontrol: warning: package python-rasterio: unused substitution variable ${python:Provides}
dpkg-gencontrol: warning: package python-rasterio: unused substitution variable ${python:Versions}
dpkg-gencontrol: warning: package python3-rasterio: unused substitution variable ${python3:Provides}
dpkg-gencontrol: warning: package python3-rasterio: unused substitution variable ${python3:Versions}
   dh_md5sums -a -O--buildsystem=pybuild -O--parallel
   dh_builddeb -a -O--buildsystem=pybuild -O--parallel
dpkg-deb: building package 'python-rasterio-dbgsym' in '../python-rasterio-dbgsym_1.0.3-1_armhf.deb'.
dpkg-deb: building package 'python3-rasterio' in '../python3-rasterio_1.0.3-1_armhf.deb'.
dpkg-deb: building package 'python-rasterio' in '../python-rasterio_1.0.3-1_armhf.deb'.
dpkg-deb: building package 'python3-rasterio-dbgsym' in '../python3-rasterio-dbgsym_1.0.3-1_armhf.deb'.
 dpkg-genbuildinfo --build=any
 dpkg-genchanges --build=any -mRaspbian wandboard test autobuilder <root@raspbian.org> >../rasterio_1.0.3-1_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build rasterio-1.0.3
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2018-08-04T07:07:42Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Post Build Chroot                                                            |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


rasterio_1.0.3-1_armhf.changes:
-------------------------------

Format: 1.8
Date: Thu, 02 Aug 2018 07:08:13 +0200
Source: rasterio
Binary: python-rasterio python3-rasterio rasterio
Architecture: armhf
Version: 1.0.3-1
Distribution: buster-staging
Urgency: medium
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Bas Couwenberg <sebastic@debian.org>
Description:
 python-rasterio - Python 2 API for using geospatial raster data with Numpy
 python3-rasterio - Python 3 API for using geospatial raster data with Numpy
 rasterio   - Command line tool for investigating geospatial rasters
Changes:
 rasterio (1.0.3-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.
Checksums-Sha1:
 afcf2a1199cb8320569e169eadf1a0479a60c269 2070460 python-rasterio-dbgsym_1.0.3-1_armhf.deb
 e46bcff3d055fa931d0d4bbf786dd35ee193e60d 672708 python-rasterio_1.0.3-1_armhf.deb
 74bf7699f52dacadb13e15e6a914f327dfde3570 2493872 python3-rasterio-dbgsym_1.0.3-1_armhf.deb
 59d7f4eb63492a2a856c04344a109392f7ba17df 674680 python3-rasterio_1.0.3-1_armhf.deb
 1bcb17f601a2004454acd506b79c0b4f8c4cb445 13836 rasterio_1.0.3-1_armhf.buildinfo
Checksums-Sha256:
 f4bb8e537bfc7eaf55066ea64fdb8429fa8daff830cc9a2d3afe1be3f59d3bb2 2070460 python-rasterio-dbgsym_1.0.3-1_armhf.deb
 456c389e15414efafeee5ec48a6265b7a0ac20a70fce10f61bc910aa5882e5c7 672708 python-rasterio_1.0.3-1_armhf.deb
 9325c15fd593f4bb6a5591009dafb722119cc291ee89b52abc0a8a1419223011 2493872 python3-rasterio-dbgsym_1.0.3-1_armhf.deb
 56fb727cfe425341434f3fa1488a3c0ee7d7d41127ac38971aba98aff80b34d6 674680 python3-rasterio_1.0.3-1_armhf.deb
 bbbe5f3deccdff944f4c3527560707938c123d1a3f0e3d1faf10f6aa6449a49b 13836 rasterio_1.0.3-1_armhf.buildinfo
Files:
 897186215799f74010d688afe0f9a5a5 2070460 debug optional python-rasterio-dbgsym_1.0.3-1_armhf.deb
 eafc78aac16784b922f676c4f0ad63c5 672708 python optional python-rasterio_1.0.3-1_armhf.deb
 4d8ae9fcf69dec0b3929a9943701c83f 2493872 debug optional python3-rasterio-dbgsym_1.0.3-1_armhf.deb
 786da0062f316ce42db4e70117bce17f 674680 python optional python3-rasterio_1.0.3-1_armhf.deb
 f3399bdcb4e7f1f129524645ab8a4ede 13836 python optional rasterio_1.0.3-1_armhf.buildinfo

+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


python-rasterio-dbgsym_1.0.3-1_armhf.deb
----------------------------------------

 new Debian package, version 2.0.
 size 2070460 bytes: control archive=1052 bytes.
     794 bytes,    12 lines      control              
    1166 bytes,    11 lines      md5sums              
 Package: python-rasterio-dbgsym
 Source: rasterio
 Version: 1.0.3-1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
 Installed-Size: 2413
 Depends: python-rasterio (= 1.0.3-1)
 Section: debug
 Priority: optional
 Description: debug symbols for python-rasterio
 Build-Ids: 0488cf89e62d85c04abf46d3209af2dd963c355c 49675e6a95c810ad9ea9c2a4e78387e5287dc092 660fd1dda6735c2968caafa48980af2727584cc2 73a8705f589ca25b6eedc33be28d5670f0b28964 81972da1e97920bbb80be6b4cdf77884beebb648 abf4b0ca5f6ff5227b2983a468c42f68f5509883 b4e2b0b2c0ae6fb484d95b9c6c19147917906809 c3fe21e9656bec76269fa2345536369a6f68ad77 db9e891c0196f596ce1f286b38fc2f723208c651 ea9071b537462a3b0f17d53e345a4972e01b5da7 ffa82e75ccb7d0372c730d85f19469a21d4aed94

drwxr-xr-x root/root         0 2018-08-02 05:08 ./
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/04/
-rw-r--r-- root/root    205380 2018-08-02 05:08 ./usr/lib/debug/.build-id/04/88cf89e62d85c04abf46d3209af2dd963c355c.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/49/
-rw-r--r-- root/root    129168 2018-08-02 05:08 ./usr/lib/debug/.build-id/49/675e6a95c810ad9ea9c2a4e78387e5287dc092.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/66/
-rw-r--r-- root/root    568600 2018-08-02 05:08 ./usr/lib/debug/.build-id/66/0fd1dda6735c2968caafa48980af2727584cc2.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/73/
-rw-r--r-- root/root    192932 2018-08-02 05:08 ./usr/lib/debug/.build-id/73/a8705f589ca25b6eedc33be28d5670f0b28964.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/81/
-rw-r--r-- root/root    161576 2018-08-02 05:08 ./usr/lib/debug/.build-id/81/972da1e97920bbb80be6b4cdf77884beebb648.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/ab/
-rw-r--r-- root/root    135188 2018-08-02 05:08 ./usr/lib/debug/.build-id/ab/f4b0ca5f6ff5227b2983a468c42f68f5509883.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/b4/
-rw-r--r-- root/root     97840 2018-08-02 05:08 ./usr/lib/debug/.build-id/b4/e2b0b2c0ae6fb484d95b9c6c19147917906809.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/c3/
-rw-r--r-- root/root     54992 2018-08-02 05:08 ./usr/lib/debug/.build-id/c3/fe21e9656bec76269fa2345536369a6f68ad77.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/db/
-rw-r--r-- root/root     64620 2018-08-02 05:08 ./usr/lib/debug/.build-id/db/9e891c0196f596ce1f286b38fc2f723208c651.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/ea/
-rw-r--r-- root/root    392744 2018-08-02 05:08 ./usr/lib/debug/.build-id/ea/9071b537462a3b0f17d53e345a4972e01b5da7.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/ff/
-rw-r--r-- root/root    441068 2018-08-02 05:08 ./usr/lib/debug/.build-id/ff/a82e75ccb7d0372c730d85f19469a21d4aed94.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/share/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/share/doc/
lrwxrwxrwx root/root         0 2018-08-02 05:08 ./usr/share/doc/python-rasterio-dbgsym -> python-rasterio


python-rasterio_1.0.3-1_armhf.deb
---------------------------------

 new Debian package, version 2.0.
 size 672708 bytes: control archive=2816 bytes.
     995 bytes,    18 lines      control              
    6162 bytes,    68 lines      md5sums              
     165 bytes,     9 lines   *  postinst             #!/bin/sh
     269 bytes,    14 lines   *  prerm                #!/bin/sh
 Package: python-rasterio
 Source: rasterio
 Version: 1.0.3-1
 Architecture: armhf
 Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
 Installed-Size: 2773
 Depends: gdal-abi-2-3-0, libc6 (>= 2.4), libgcc1 (>= 1:3.5), libgdal20 (>= 2.1.0), libstdc++6 (>= 5.2), python (<< 2.8), python (>= 2.7~), python-affine, python-attr, python-click-plugins, python-cligj, python-enum34, python-numpy (>= 1:1.14.3), python-numpy-abi9, python-snuggs, python:any (<< 2.8), python:any (>= 2.7~)
 Section: python
 Priority: optional
 Homepage: https://github.com/mapbox/rasterio
 Description: Python 2 API for using geospatial raster data with Numpy
  Rasterio reads and writes geospatial raster datasets.
  .
  Rasterio employs GDAL under the hood for file I/O and raster formatting.
  Its functions typically accept and return Numpy ndarrays. Rasterio is designed
  to make working with geospatial raster data more productive and more fun.
  .
  This package contains the Python 2 version of the library.

drwxr-xr-x root/root         0 2018-08-02 05:08 ./
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/python2.7/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio-1.0.3.egg-info/
-rw-r--r-- root/root     14752 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio-1.0.3.egg-info/PKG-INFO
-rw-r--r-- root/root         1 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio-1.0.3.egg-info/dependency_links.txt
-rw-r--r-- root/root       912 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio-1.0.3.egg-info/entry_points.txt
-rw-r--r-- root/root         1 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio-1.0.3.egg-info/not-zip-safe
-rw-r--r-- root/root       345 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio-1.0.3.egg-info/requires.txt
-rw-r--r-- root/root         9 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio-1.0.3.egg-info/top_level.txt
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/
-rw-r--r-- root/root     10137 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/__init__.py
-rw-r--r-- root/root    454300 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/_base.arm-linux-gnueabihf.so
-rw-r--r-- root/root    130004 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/_crs.arm-linux-gnueabihf.so
-rw-r--r-- root/root    132168 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/_env.arm-linux-gnueabihf.so
-rw-r--r-- root/root     60660 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/_err.arm-linux-gnueabihf.so
-rw-r--r-- root/root    140328 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/_example.arm-linux-gnueabihf.so
-rw-r--r-- root/root    212096 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/_features.arm-linux-gnueabihf.so
-rw-r--r-- root/root     34868 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/_fill.arm-linux-gnueabihf.so
-rw-r--r-- root/root    649060 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/_io.arm-linux-gnueabihf.so
-rw-r--r-- root/root    164876 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/_shim.arm-linux-gnueabihf.so
-rw-r--r-- root/root    410568 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/_warp.arm-linux-gnueabihf.so
-rw-r--r-- root/root       669 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/compat.py
-rw-r--r-- root/root      2074 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/control.py
-rw-r--r-- root/root      1472 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/coords.py
-rw-r--r-- root/root      2488 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/crs.py
-rw-r--r-- root/root       873 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/drivers.py
-rw-r--r-- root/root      4498 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/dtypes.py
-rw-r--r-- root/root      1833 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/enums.py
-rw-r--r-- root/root     19625 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/env.py
-rw-r--r-- root/root      2885 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/errors.py
-rw-r--r-- root/root     21852 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/features.py
-rw-r--r-- root/root      2761 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/fill.py
-rw-r--r-- root/root      6068 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/io.py
-rw-r--r-- root/root      7337 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/mask.py
-rw-r--r-- root/root      6548 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/merge.py
-rw-r--r-- root/root      4528 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/path.py
-rw-r--r-- root/root     10528 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/plot.py
-rw-r--r-- root/root      1363 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/profiles.py
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/rio/
-rw-r--r-- root/root        50 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/__init__.py
-rw-r--r-- root/root      4934 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/blocks.py
-rw-r--r-- root/root      3927 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/bounds.py
-rw-r--r-- root/root      5143 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/calc.py
-rw-r--r-- root/root      4895 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/clip.py
-rw-r--r-- root/root      3108 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/convert.py
-rw-r--r-- root/root      9174 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/edit_info.py
-rw-r--r-- root/root       961 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/env.py
-rw-r--r-- root/root      3711 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/gcps.py
-rw-r--r-- root/root      3461 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/helpers.py
-rw-r--r-- root/root      5312 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/info.py
-rw-r--r-- root/root      2790 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/insp.py
-rw-r--r-- root/root      2484 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/main.py
-rw-r--r-- root/root      4573 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/mask.py
-rw-r--r-- root/root      2529 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/merge.py
-rw-r--r-- root/root     11969 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/options.py
-rw-r--r-- root/root      3631 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/overview.py
-rw-r--r-- root/root     10047 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/rasterize.py
-rw-r--r-- root/root       936 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/rm.py
-rw-r--r-- root/root      2526 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/sample.py
-rw-r--r-- root/root      4997 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/shapes.py
-rw-r--r-- root/root      3963 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/stack.py
-rw-r--r-- root/root      1901 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/transform.py
-rw-r--r-- root/root     13135 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/rio/warp.py
-rw-r--r-- root/root       649 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/sample.py
-rw-r--r-- root/root     91112 2018-08-02 05:08 ./usr/lib/python2.7/dist-packages/rasterio/shutil.arm-linux-gnueabihf.so
-rw-r--r-- root/root      2211 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/tools.py
-rw-r--r-- root/root      7261 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/transform.py
-rw-r--r-- root/root      6658 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/vrt.py
-rw-r--r-- root/root     16775 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/warp.py
-rw-r--r-- root/root     20728 2018-08-01 01:49 ./usr/lib/python2.7/dist-packages/rasterio/windows.py
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/share/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/share/doc/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/share/doc/python-rasterio/
-rw-r--r-- root/root      1781 2018-08-02 05:08 ./usr/share/doc/python-rasterio/changelog.Debian.gz
-rw-r--r-- root/root     15835 2018-08-01 01:49 ./usr/share/doc/python-rasterio/changelog.gz
-rw-r--r-- root/root      4289 2018-01-21 09:45 ./usr/share/doc/python-rasterio/copyright


python3-rasterio-dbgsym_1.0.3-1_armhf.deb
-----------------------------------------

 new Debian package, version 2.0.
 size 2493872 bytes: control archive=1056 bytes.
     797 bytes,    12 lines      control              
    1166 bytes,    11 lines      md5sums              
 Package: python3-rasterio-dbgsym
 Source: rasterio
 Version: 1.0.3-1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
 Installed-Size: 2826
 Depends: python3-rasterio (= 1.0.3-1)
 Section: debug
 Priority: optional
 Description: debug symbols for python3-rasterio
 Build-Ids: 1a2eeccea3aef69fae8f520eb7f827d6a9984824 1e36cf695da54bf2eaa9ba748cb464b22e0b9a0f 40474c62853608bf661227dbefada1b45f72050e 4661e2343e2004a129259dd58f91d011dc35c972 4b40ea50e503464703e3538131667e77727ae820 a093527db48f8d4af0f8043b02cf53b9b4575fb0 b11e94a72966788fcb822aaa3408b9b10c170d9e cb0776cc3b1c35eb8c4535efd4e3c80108df28ba cbf3823947018986c3e26f9fb2ef9b6b7a60f436 ef7ace2d6edba10ad830b6b5027afe554fd8a523 f16c3785617729908cfbd7ceb87f49020b704cf0

drwxr-xr-x root/root         0 2018-08-02 05:08 ./
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/1a/
-rw-r--r-- root/root    161972 2018-08-02 05:08 ./usr/lib/debug/.build-id/1a/2eeccea3aef69fae8f520eb7f827d6a9984824.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/1e/
-rw-r--r-- root/root    242720 2018-08-02 05:08 ./usr/lib/debug/.build-id/1e/36cf695da54bf2eaa9ba748cb464b22e0b9a0f.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/40/
-rw-r--r-- root/root    676208 2018-08-02 05:08 ./usr/lib/debug/.build-id/40/474c62853608bf661227dbefada1b45f72050e.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/46/
-rw-r--r-- root/root    530796 2018-08-02 05:08 ./usr/lib/debug/.build-id/46/61e2343e2004a129259dd58f91d011dc35c972.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/4b/
-rw-r--r-- root/root    201792 2018-08-02 05:08 ./usr/lib/debug/.build-id/4b/40ea50e503464703e3538131667e77727ae820.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/a0/
-rw-r--r-- root/root     72924 2018-08-02 05:08 ./usr/lib/debug/.build-id/a0/93527db48f8d4af0f8043b02cf53b9b4575fb0.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/b1/
-rw-r--r-- root/root    157044 2018-08-02 05:08 ./usr/lib/debug/.build-id/b1/1e94a72966788fcb822aaa3408b9b10c170d9e.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/cb/
-rw-r--r-- root/root     62080 2018-08-02 05:08 ./usr/lib/debug/.build-id/cb/0776cc3b1c35eb8c4535efd4e3c80108df28ba.debug
-rw-r--r-- root/root    460708 2018-08-02 05:08 ./usr/lib/debug/.build-id/cb/f3823947018986c3e26f9fb2ef9b6b7a60f436.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/ef/
-rw-r--r-- root/root    180516 2018-08-02 05:08 ./usr/lib/debug/.build-id/ef/7ace2d6edba10ad830b6b5027afe554fd8a523.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/debug/.build-id/f1/
-rw-r--r-- root/root    120440 2018-08-02 05:08 ./usr/lib/debug/.build-id/f1/6c3785617729908cfbd7ceb87f49020b704cf0.debug
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/share/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/share/doc/
lrwxrwxrwx root/root         0 2018-08-02 05:08 ./usr/share/doc/python3-rasterio-dbgsym -> python3-rasterio


python3-rasterio_1.0.3-1_armhf.deb
----------------------------------

 new Debian package, version 2.0.
 size 674680 bytes: control archive=2916 bytes.
    1003 bytes,    18 lines      control              
    6167 bytes,    68 lines      md5sums              
     168 bytes,     9 lines   *  postinst             #!/bin/sh
     407 bytes,    12 lines   *  prerm                #!/bin/sh
 Package: python3-rasterio
 Source: rasterio
 Version: 1.0.3-1
 Architecture: armhf
 Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
 Installed-Size: 2788
 Depends: gdal-abi-2-3-0, libc6 (>= 2.4), libgcc1 (>= 1:3.5), libgdal20 (>= 2.1.0), libstdc++6 (>= 5.2), python3 (<< 3.7), python3 (>= 3.6~), python3-affine (>= 1.3.0), python3-attr (>= 16.0.0), python3-click-plugins, python3-cligj (>= 0.2), python3-numpy (>= 1:1.14.3), python3-numpy-abi9, python3-snuggs (>= 1.4.1), python3:any
 Section: python
 Priority: optional
 Homepage: https://github.com/mapbox/rasterio
 Description: Python 3 API for using geospatial raster data with Numpy
  Rasterio reads and writes geospatial raster datasets.
  .
  Rasterio employs GDAL under the hood for file I/O and raster formatting.
  Its functions typically accept and return Numpy ndarrays. Rasterio is designed
  to make working with geospatial raster data more productive and more fun.
  .
  This package contains the Python 3 version of the library.

drwxr-xr-x root/root         0 2018-08-02 05:08 ./
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/python3/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/python3/dist-packages/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio-1.0.3.egg-info/
-rw-r--r-- root/root     14752 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio-1.0.3.egg-info/PKG-INFO
-rw-r--r-- root/root         1 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio-1.0.3.egg-info/dependency_links.txt
-rw-r--r-- root/root       912 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio-1.0.3.egg-info/entry_points.txt
-rw-r--r-- root/root         1 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio-1.0.3.egg-info/not-zip-safe
-rw-r--r-- root/root       329 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio-1.0.3.egg-info/requires.txt
-rw-r--r-- root/root         9 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio-1.0.3.egg-info/top_level.txt
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/
-rw-r--r-- root/root     10137 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/__init__.py
-rw-r--r-- root/root    466676 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/_base.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root    134176 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/_crs.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root    136344 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/_env.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root     60716 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/_err.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root    140364 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/_example.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root    216280 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/_features.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root     39016 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/_fill.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root    649172 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/_io.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root    152624 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/_shim.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root    402452 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/_warp.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root       669 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/compat.py
-rw-r--r-- root/root      2074 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/control.py
-rw-r--r-- root/root      1472 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/coords.py
-rw-r--r-- root/root      2488 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/crs.py
-rw-r--r-- root/root       873 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/drivers.py
-rw-r--r-- root/root      4498 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/dtypes.py
-rw-r--r-- root/root      1833 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/enums.py
-rw-r--r-- root/root     19625 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/env.py
-rw-r--r-- root/root      2885 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/errors.py
-rw-r--r-- root/root     21852 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/features.py
-rw-r--r-- root/root      2761 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/fill.py
-rw-r--r-- root/root      6068 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/io.py
-rw-r--r-- root/root      7337 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/mask.py
-rw-r--r-- root/root      6548 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/merge.py
-rw-r--r-- root/root      4528 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/path.py
-rw-r--r-- root/root     10528 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/plot.py
-rw-r--r-- root/root      1363 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/profiles.py
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/rio/
-rw-r--r-- root/root        50 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/__init__.py
-rw-r--r-- root/root      4934 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/blocks.py
-rw-r--r-- root/root      3927 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/bounds.py
-rw-r--r-- root/root      5143 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/calc.py
-rw-r--r-- root/root      4895 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/clip.py
-rw-r--r-- root/root      3108 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/convert.py
-rw-r--r-- root/root      9174 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/edit_info.py
-rw-r--r-- root/root       961 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/env.py
-rw-r--r-- root/root      3711 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/gcps.py
-rw-r--r-- root/root      3461 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/helpers.py
-rw-r--r-- root/root      5312 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/info.py
-rw-r--r-- root/root      2790 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/insp.py
-rw-r--r-- root/root      2484 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/main.py
-rw-r--r-- root/root      4573 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/mask.py
-rw-r--r-- root/root      2529 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/merge.py
-rw-r--r-- root/root     11969 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/options.py
-rw-r--r-- root/root      3631 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/overview.py
-rw-r--r-- root/root     10047 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/rasterize.py
-rw-r--r-- root/root       936 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/rm.py
-rw-r--r-- root/root      2526 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/sample.py
-rw-r--r-- root/root      4997 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/shapes.py
-rw-r--r-- root/root      3963 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/stack.py
-rw-r--r-- root/root      1901 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/transform.py
-rw-r--r-- root/root     13135 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/rio/warp.py
-rw-r--r-- root/root       649 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/sample.py
-rw-r--r-- root/root     95292 2018-08-02 05:08 ./usr/lib/python3/dist-packages/rasterio/shutil.cpython-36m-arm-linux-gnueabihf.so
-rw-r--r-- root/root      2211 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/tools.py
-rw-r--r-- root/root      7261 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/transform.py
-rw-r--r-- root/root      6658 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/vrt.py
-rw-r--r-- root/root     16775 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/warp.py
-rw-r--r-- root/root     20728 2018-08-01 01:49 ./usr/lib/python3/dist-packages/rasterio/windows.py
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/share/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/share/doc/
drwxr-xr-x root/root         0 2018-08-02 05:08 ./usr/share/doc/python3-rasterio/
-rw-r--r-- root/root      1781 2018-08-02 05:08 ./usr/share/doc/python3-rasterio/changelog.Debian.gz
-rw-r--r-- root/root     15835 2018-08-01 01:49 ./usr/share/doc/python3-rasterio/changelog.gz
-rw-r--r-- root/root      4289 2018-01-21 09:45 ./usr/share/doc/python3-rasterio/copyright


+------------------------------------------------------------------------------+
| Post Build                                                                   |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 111284
Build-Time: 2527
Distribution: buster-staging
Host Architecture: armhf
Install-Time: 2095
Job: rasterio_1.0.3-1
Machine Architecture: armhf
Package: rasterio
Package-Time: 4682
Source-Version: 1.0.3-1
Space: 111284
Status: successful
Version: 1.0.3-1
--------------------------------------------------------------------------------
Finished at 2018-08-04T07:07:42Z
Build needed 01:18:02, 111284k disc space