Diff of the two buildlogs: -- --- b1/build.log 2024-05-10 11:37:40.757196030 +0000 +++ b2/build.log 2024-05-10 11:46:14.451306367 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 9 23:32:52 -12 2024 -I: pbuilder-time-stamp: 1715340772 +I: Current time: Fri Jun 13 08:00:44 +14 2025 +I: pbuilder-time-stamp: 1749751244 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying javascript.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/512115/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1785712/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 12 18:00 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1785712/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1785712/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='b18f113dcf034f27b22713c40d6b7486' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='512115' - PS1='# ' - PS2='> ' + INVOCATION_ID=18d7691fadd940ada751ecd00896b4f5 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1785712 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.UjyK6muP/pbuilderrc_GqEY --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UjyK6muP/b1 --logfile b1/build.log mapproxy_2.0.2+dfsg-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.UjyK6muP/pbuilderrc_c8C5 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UjyK6muP/b2 --logfile b2/build.log mapproxy_2.0.2+dfsg-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 8 11:23 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/512115/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 10 17:47 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1785712/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -485,7 +517,7 @@ Get: 329 http://deb.debian.org/debian trixie/main arm64 python3-webob all 1:1.8.7-1 [88.2 kB] Get: 330 http://deb.debian.org/debian trixie/main arm64 python3-webtest all 3.0.0-3 [34.6 kB] Get: 331 http://deb.debian.org/debian trixie/main arm64 python3-yaml arm64 6.0.1-2 [153 kB] -Fetched 152 MB in 1s (152 MB/s) +Fetched 152 MB in 1s (116 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19744 files and directories currently installed.) @@ -1555,8 +1587,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri May 10 11:33:58 UTC 2024. -Universal Time is now: Fri May 10 11:33:58 UTC 2024. +Local time is now: Thu Jun 12 18:02:29 UTC 2025. +Universal Time is now: Thu Jun 12 18:02:29 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up mariadb-common (1:10.11.7-4) ... @@ -1871,7 +1903,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mapproxy-2.0.2+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mapproxy_2.0.2+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/1785712/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1785712/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mapproxy-2.0.2+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mapproxy_2.0.2+dfsg-1_source.changes dpkg-buildpackage: info: source package mapproxy dpkg-buildpackage: info: source version 2.0.2+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -4951,7 +4987,7 @@ mapproxy/test/unit/test_srs.py ........ssss.................... [ 94%] mapproxy/test/unit/test_tiled_source.py FFF [ 94%] mapproxy/test/unit/test_tilefilter.py . [ 94%] -mapproxy/test/unit/test_times.py F [ 94%] +mapproxy/test/unit/test_times.py . [ 94%] mapproxy/test/unit/test_timeutils.py ..... [ 95%] mapproxy/test/unit/test_util_conf_utils.py ........ [ 95%] mapproxy/test/unit/test_utils.py ....................... [ 96%] @@ -4959,7 +4995,7 @@ mapproxy/test/unit/test_wms_layer.py ..... [ 97%] mapproxy/test/unit/test_yaml.py ..... [ 97%] mapproxy/util/collections.py . [ 97%] -mapproxy/util/times.py .F [ 97%] +mapproxy/util/times.py .. [ 97%] mapproxy/util/ext/local.py .. [ 97%] mapproxy/util/ext/odict.py .. [ 97%] mapproxy/util/ext/dictspec/spec.py ..... [ 98%] @@ -4972,7 +5008,7 @@ =================================== FAILURES =================================== ______________ TestUtilWMSCapabilities.test_request_not_parsable _______________ -self = +self = def test_request_not_parsable(self): with mock_httpd( @@ -4999,7 +5035,7 @@ ________________ TestUtilWMSCapabilities.test_service_exception ________________ -self = +self = def test_service_exception(self): self.args = [ @@ -5033,10 +5069,10 @@ _______________ TestUtilWMSCapabilities.test_parse_capabilities ________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -5101,7 +5137,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -5138,7 +5174,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1' data = None, method = None @@ -5173,10 +5209,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -5258,10 +5294,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -5315,7 +5351,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_capabilities(self): self.args = [ @@ -5366,10 +5402,10 @@ ______________ TestUtilWMSCapabilities.test_parse_130capabilities ______________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -5434,7 +5470,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -5471,7 +5507,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.3.0' data = None, method = None @@ -5506,10 +5542,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -5591,10 +5627,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -5648,7 +5684,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_130capabilities(self): self.args = [ @@ -5699,7 +5735,7 @@ ____________________ TestUtilWMSCapabilities.test_key_error ____________________ -self = +self = def test_key_error(self): self.args = [ @@ -5728,10 +5764,10 @@ > assert err.getvalue().startswith("XML-Element has no such attribute") E assert False -E + where False = ('XML-Element has no such attribute') -E + where = 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n'.startswith -E + where 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n' = () -E + where = <_io.StringIO object at 0xffff9d33fa00>.getvalue +E + where False = ('XML-Element has no such attribute') +E + where = 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n'.startswith +E + where 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n' = () +E + where = <_io.StringIO object at 0xffff8140b7c0>.getvalue mapproxy/test/system/test_util_wms_capabilities.py:182: AssertionError ----------------------------- Captured stdout call ----------------------------- @@ -5739,10 +5775,10 @@ _____________________ TestWMSSourceWithClient.test_get_map _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -5807,7 +5843,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -5844,7 +5880,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -5879,10 +5915,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -5936,7 +5972,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -5970,10 +6006,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -6027,8 +6063,8 @@ During handling of the above exception, another exception occurred: -self = -source = +self = +source = def test_get_map(self, source): with tmp_image((512, 512)) as img: @@ -6068,10 +6104,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -6129,10 +6165,10 @@ WARNING mapproxy.source.wms:wms.py:99 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused _________ TestWMSSourceWithClient.test_get_map_non_image_content_type __________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -6197,7 +6233,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -6234,7 +6270,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -6269,10 +6305,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -6326,7 +6362,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -6360,10 +6396,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -6417,8 +6453,8 @@ During handling of the above exception, another exception occurred: -self = -source = +self = +source = def test_get_map_non_image_content_type(self, source): with tmp_image((512, 512)) as img: @@ -6459,10 +6495,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -6516,8 +6552,8 @@ During handling of the above exception, another exception occurred: -self = -source = +self = +source = def test_get_map_non_image_content_type(self, source): with tmp_image((512, 512)) as img: @@ -6541,10 +6577,10 @@ WARNING mapproxy.source.wms:wms.py:99 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused ___________________ TestWMSSourceWithClient.test_basic_auth ____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -6609,7 +6645,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -6646,7 +6682,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -6681,10 +6717,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -6738,7 +6774,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -6772,10 +6808,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -6829,10 +6865,10 @@ During handling of the above exception, another exception occurred: -self = +self = req_template = WMS111MapRequest(param=WMSMapRequestParams(param=NoCaseMultiDict([('format', ['image/png']), ('layers', ['foo'])])), url='http://127.0.0.1:56413/service?') -client = -source = +client = +source = def test_basic_auth(self, req_template, client, source): http_client = HTTPClient(req_template.url, username='foo', password='bar@') @@ -6881,10 +6917,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -6942,10 +6978,10 @@ WARNING mapproxy.source.wms:wms.py:99 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused _______________ TestWMSSourceWithClient.test_http_error_handler ________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -7010,7 +7046,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -7047,7 +7083,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -7082,10 +7118,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -7139,7 +7175,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -7173,10 +7209,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -7230,8 +7266,8 @@ During handling of the above exception, another exception occurred: -self = -client = +self = +client = def test_http_error_handler(self, client): error_handler = HTTPSourceErrorHandler() @@ -7296,10 +7332,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -7357,10 +7393,10 @@ WARNING mapproxy.source.wms:wms.py:99 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused ___________________________ TestHTTPClient.test_post ___________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Content-Length': '7', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:56413', ...} def do_open(self, http_class, req, **http_conn_args): @@ -7425,7 +7461,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -7462,7 +7498,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service', data = b'foo=bar', method = None def open(self, url, data=None, method=None): @@ -7496,10 +7532,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Content-Length': '7', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:56413', ...} def do_open(self, http_class, req, **http_conn_args): @@ -7553,7 +7589,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_post(self): with mock_httpd(TESTSERVER_ADDRESS, [({'path': '/service?foo=bar', 'method': 'POST'}, @@ -7578,10 +7614,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Content-Length': '7', 'Content-Type': 'application/x-www-form-urlencoded', 'Host': '127.0.0.1:56413', ...} def do_open(self, http_class, req, **http_conn_args): @@ -7637,10 +7673,10 @@ ___________________________ TestHTTPClient.test_head ___________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -7705,7 +7741,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -7742,7 +7778,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service', data = None, method = 'HEAD' def open(self, url, data=None, method=None): @@ -7776,10 +7812,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -7833,7 +7869,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.skipif(sys.version_info < (3,), reason='HEAD request not supported by BaseHTTPRequestHandler in Py 2') def test_head(self): @@ -7859,10 +7895,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -7918,10 +7954,10 @@ _________________ TestHTTPClient.test_internal_error_response __________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -7986,7 +8022,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -8023,7 +8059,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -8057,10 +8093,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -8114,7 +8150,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -8140,10 +8176,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -8197,7 +8233,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -8231,10 +8267,10 @@ ____________ TestHTTPClient.test_internal_error_hide_error_details _____________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -8299,7 +8335,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -8336,7 +8372,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -8370,10 +8406,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -8427,7 +8463,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -8453,10 +8489,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -8510,7 +8546,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -8544,11 +8580,11 @@ ___________________ TestHTTPClient.test_https_untrusted_root ___________________ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -8615,7 +8651,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -8652,7 +8688,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -8686,11 +8722,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -8744,7 +8780,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_untrusted_root(self): @@ -8772,11 +8808,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -8830,7 +8866,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_untrusted_root(self): @@ -8863,11 +8899,11 @@ mapproxy/test/helper.py:142: AssertionError ______________________ TestHTTPClient.test_https_insecure ______________________ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -8934,7 +8970,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -8971,7 +9007,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -9005,11 +9041,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -9063,7 +9099,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_insecure(self): @@ -9089,11 +9125,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -9146,11 +9182,11 @@ /usr/lib/python3.12/urllib/request.py:1347: HTTPClientError _________________ TestHTTPClient.test_https_valid_ca_cert_file _________________ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -9217,7 +9253,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -9254,7 +9290,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://www.google.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -9288,11 +9324,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -9346,7 +9382,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_valid_ca_cert_file(self): @@ -9374,11 +9410,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -9431,11 +9467,11 @@ /usr/lib/python3.12/urllib/request.py:1347: HTTPClientError _________________ TestHTTPClient.test_https_valid_default_cert _________________ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -9502,7 +9538,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -9539,7 +9575,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://www.google.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -9573,11 +9609,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -9631,7 +9667,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_valid_default_cert(self): @@ -9659,11 +9695,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'www.google.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -9716,11 +9752,11 @@ /usr/lib/python3.12/urllib/request.py:1347: HTTPClientError ____________________ TestHTTPClient.test_https_invalid_cert ____________________ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -9787,7 +9823,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -9824,7 +9860,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -9858,11 +9894,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -9916,7 +9952,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_invalid_cert(self): @@ -9947,11 +9983,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'untrusted-root.badssl.com', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -10005,7 +10041,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_invalid_cert(self): @@ -10041,10 +10077,10 @@ mapproxy/test/helper.py:142: AssertionError _________________________ TestHTTPClient.test_timeouts _________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -10145,7 +10181,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -10177,10 +10213,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -10234,7 +10270,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_timeouts(self): test_req = ({'path': '/', 'req_assert_function': lambda x: time.sleep(0.9) or True}, @@ -10267,10 +10303,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -10324,7 +10360,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_timeouts(self): test_req = ({'path': '/', 'req_assert_function': lambda x: time.sleep(0.9) or True}, @@ -10348,10 +10384,10 @@ ____________________ TestHTTPClient.test_manage_cookies_off ____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -10416,7 +10452,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -10453,7 +10489,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -10487,10 +10523,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -10544,7 +10580,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_off(self): """ @@ -10586,10 +10622,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -10645,10 +10681,10 @@ ____________________ TestHTTPClient.test_manage_cookies_on _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -10713,7 +10749,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -10750,7 +10786,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -10784,10 +10820,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -10841,7 +10877,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_on(self): """ @@ -10891,10 +10927,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -10950,10 +10986,10 @@ _________________________ TestTileClient.test_tc_path __________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -11018,7 +11054,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -11055,7 +11091,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/09/000/000/005/000/000/013.png', data = None method = None @@ -11090,10 +11126,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -11147,7 +11183,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_tc_path(self): template = TileURLTemplate(TESTSERVER_URL + '/%(tc_path)s.png') @@ -11181,10 +11217,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -11240,10 +11276,10 @@ _________________________ TestTileClient.test_quadkey __________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -11308,7 +11344,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -11345,7 +11381,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/key=000002303&format=png', data = None method = None @@ -11380,10 +11416,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -11437,7 +11473,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_quadkey(self): template = TileURLTemplate(TESTSERVER_URL + '/key=%(quadkey)s&format=%(format)s') @@ -11471,10 +11507,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -11530,10 +11566,10 @@ ___________________________ TestTileClient.test_xyz ____________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -11598,7 +11634,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -11635,7 +11671,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/x=5&y=13&z=9&format=png', data = None method = None @@ -11670,10 +11706,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -11727,7 +11763,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_xyz(self): template = TileURLTemplate(TESTSERVER_URL + '/x=%(x)s&y=%(y)s&z=%(z)s&format=%(format)s') @@ -11761,10 +11797,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -11820,10 +11856,10 @@ _____________________ TestTileClient.test_arcgiscache_path _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -11888,7 +11924,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -11925,7 +11961,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/L09/R0000000d/C00000005.png', data = None method = None @@ -11960,10 +11996,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -12017,7 +12053,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_arcgiscache_path(self): template = TileURLTemplate(TESTSERVER_URL + '/%(arcgiscache_path)s.png') @@ -12051,10 +12087,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -12110,10 +12146,10 @@ ___________________________ TestTileClient.test_bbox ___________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -12178,7 +12214,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -12215,7 +12251,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?BBOX=-180.00000000,0.00000000,-90.00000000,90.00000000' data = None, method = None @@ -12250,10 +12286,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -12307,7 +12343,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_bbox(self): grid = tile_grid(4326) @@ -12342,10 +12378,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -12401,10 +12437,10 @@ _________________________ TestWMSClient.test_no_image __________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -12469,7 +12505,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -12506,7 +12542,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?map=foo&layers=foo&transparent=true&bbox=-200000,-200000,200000,200000&width=512&height=512&srs=EPSG%3A900913&format=image%2Fpng&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -12541,10 +12577,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -12598,8 +12634,8 @@ During handling of the above exception, another exception occurred: -self = -caplog = <_pytest.logging.LogCaptureFixture object at 0xffff9d639fa0> +self = +caplog = <_pytest.logging.LogCaptureFixture object at 0xffff808a25d0> def test_no_image(self, caplog): try: @@ -12632,10 +12668,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -12691,10 +12727,10 @@ ________________ TestTileClientOnError.test_cacheable_response _________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -12759,7 +12795,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -12796,7 +12832,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -12830,10 +12866,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -12887,7 +12923,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=[-180, -90, 0, 90], size=(256, 256), srs=SRS('EPSG:4326'), format=png, dimensions={)} def get_map(self, query): @@ -12947,10 +12983,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -13004,7 +13040,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_cacheable_response(self): error_handler = HTTPSourceErrorHandler() @@ -13058,10 +13094,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -13119,10 +13155,10 @@ WARNING mapproxy.source.tile:tile.py:81 could not retrieve tile: No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused __________________ TestTileClientOnError.test_image_response ___________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -13187,7 +13223,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -13224,7 +13260,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -13258,10 +13294,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -13315,7 +13351,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=[-180, -90, 0, 90], size=(256, 256), srs=SRS('EPSG:4326'), format=png, dimensions={)} def get_map(self, query): @@ -13375,10 +13411,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -13432,7 +13468,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_image_response(self): error_handler = HTTPSourceErrorHandler() @@ -13486,10 +13522,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -13547,10 +13583,10 @@ WARNING mapproxy.source.tile:tile.py:81 could not retrieve tile: No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused _____________ TestTileClientOnError.test_multiple_image_responses ______________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -13615,7 +13651,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -13652,7 +13688,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -13686,10 +13722,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -13743,7 +13779,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=[-180, -90, 0, 90], size=(256, 256), srs=SRS('EPSG:4326'), format=png, dimensions={)} def get_map(self, query): @@ -13803,10 +13839,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -13860,7 +13896,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_multiple_image_responses(self): error_handler = HTTPSourceErrorHandler() @@ -13924,10 +13960,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': '127.0.0.1:56413', 'User-Agent': 'MapProxy-unknown_version'} def do_open(self, http_class, req, **http_conn_args): @@ -13983,25 +14019,6 @@ ------------------------------ Captured log call ------------------------------- WARNING mapproxy.source.tile:tile.py:81 could not retrieve tile: No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused -_________________________ test_timestamp_from_isodate __________________________ - - def test_timestamp_from_isodate(): - ts = timestamp_from_isodate("2009-06-09T10:57:00") -> assert (1244537820.0 - 14 * 3600) < ts < (1244537820.0 + 14 * 3600) -E assert 1244588220.0 < (1244537820.0 + (14 * 3600)) - -mapproxy/test/unit/test_times.py:22: AssertionError -_____________ [doctest] mapproxy.util.times.timestamp_from_isodate _____________ -061 -062 >>> ts = timestamp_from_isodate('2009-06-09T10:57:00') -063 >>> # we don't know which timezone the test will run -064 >>> (1244537820.0 - 14 * 3600) < ts < (1244537820.0 + 14 * 3600) -Expected: - True -Got: - False - -/build/reproducible-path/mapproxy-2.0.2+dfsg/.pybuild/cpython3_3.12_mapproxy/build/mapproxy/util/times.py:64: DocTestFailure =============================== warnings summary =============================== mapproxy/template.py:20 /build/reproducible-path/mapproxy-2.0.2+dfsg/.pybuild/cpython3_3.12_mapproxy/build/mapproxy/template.py:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html @@ -14098,9 +14115,9 @@ /build/reproducible-path/mapproxy-2.0.2+dfsg/.pybuild/cpython3_3.12_mapproxy/build/mapproxy/util/geom.py:146: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead. elif geom.type == 'MultiPolygon': -mapproxy/test/system/test_seed.py: 25 warnings +mapproxy/test/system/test_seed.py: 31 warnings mapproxy/test/system/test_util_export.py: 3 warnings - /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=549106) is multi-threaded, use of fork() may lead to deadlocks in the child. + /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=1826275) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() mapproxy/test/unit/test_cache.py::TestTileManagerLocking::test_concurrent @@ -14235,9 +14252,7 @@ FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_cacheable_response FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_image_response FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_multiple_image_responses -FAILED mapproxy/test/unit/test_times.py::test_timestamp_from_isodate - assert... -FAILED mapproxy/util/times.py::mapproxy.util.times.timestamp_from_isodate -= 32 failed, 1652 passed, 139 skipped, 2 xfailed, 272 warnings in 64.75s (0:01:04) = += 30 failed, 1654 passed, 139 skipped, 2 xfailed, 278 warnings in 113.48s (0:01:53) = E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/mapproxy-2.0.2+dfsg/.pybuild/cpython3_3.12_mapproxy/build; python3.12 -m pytest I: pybuild pybuild:308: mkdir -p /build/reproducible-path/mapproxy-2.0.2+dfsg/.pybuild/cpython3_3.11_mapproxy/build/mapproxy && cp -r /build/reproducible-path/mapproxy-2.0.2+dfsg/mapproxy/test /build/reproducible-path/mapproxy-2.0.2+dfsg/.pybuild/cpython3_3.11_mapproxy/build/mapproxy I: pybuild base:311: cd /build/reproducible-path/mapproxy-2.0.2+dfsg/.pybuild/cpython3_3.11_mapproxy/build; python3.11 -m pytest @@ -14384,7 +14399,7 @@ mapproxy/test/unit/test_srs.py ........ssss.................... [ 94%] mapproxy/test/unit/test_tiled_source.py FFF [ 94%] mapproxy/test/unit/test_tilefilter.py . [ 94%] -mapproxy/test/unit/test_times.py F [ 94%] +mapproxy/test/unit/test_times.py . [ 94%] mapproxy/test/unit/test_timeutils.py ..... [ 95%] mapproxy/test/unit/test_util_conf_utils.py ........ [ 95%] mapproxy/test/unit/test_utils.py ....................... [ 96%] @@ -14392,7 +14407,7 @@ mapproxy/test/unit/test_wms_layer.py ..... [ 97%] mapproxy/test/unit/test_yaml.py ..... [ 97%] mapproxy/util/collections.py . [ 97%] -mapproxy/util/times.py .F [ 97%] +mapproxy/util/times.py .. [ 97%] mapproxy/util/ext/local.py .. [ 97%] mapproxy/util/ext/odict.py .. [ 97%] mapproxy/util/ext/dictspec/spec.py ..... [ 98%] @@ -14405,7 +14420,7 @@ =================================== FAILURES =================================== ______________ TestUtilWMSCapabilities.test_request_not_parsable _______________ -self = +self = def test_request_not_parsable(self): with mock_httpd( @@ -14432,7 +14447,7 @@ ________________ TestUtilWMSCapabilities.test_service_exception ________________ -self = +self = def test_service_exception(self): self.args = [ @@ -14466,10 +14481,10 @@ _______________ TestUtilWMSCapabilities.test_parse_capabilities ________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -14533,7 +14548,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -14570,7 +14585,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1' data = None, method = None @@ -14605,10 +14620,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -14689,10 +14704,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -14745,7 +14760,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_capabilities(self): self.args = [ @@ -14796,10 +14811,10 @@ ______________ TestUtilWMSCapabilities.test_parse_130capabilities ______________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -14863,7 +14878,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -14900,7 +14915,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.3.0' data = None, method = None @@ -14935,10 +14950,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15019,10 +15034,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15075,7 +15090,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_130capabilities(self): self.args = [ @@ -15126,7 +15141,7 @@ ____________________ TestUtilWMSCapabilities.test_key_error ____________________ -self = +self = def test_key_error(self): self.args = [ @@ -15155,10 +15170,10 @@ > assert err.getvalue().startswith("XML-Element has no such attribute") E assert False -E + where False = ('XML-Element has no such attribute') -E + where = 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n'.startswith -E + where 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n' = () -E + where = <_io.StringIO object at 0xffff9805ca60>.getvalue +E + where False = ('XML-Element has no such attribute') +E + where = 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n'.startswith +E + where 'ERROR: No response from URL "http://127.0.0.1:56413/service?request=GetCapabilities&service=WMS&version=1.1.1": Connection refused\n' = () +E + where = <_io.StringIO object at 0xffffa817feb0>.getvalue mapproxy/test/system/test_util_wms_capabilities.py:182: AssertionError ----------------------------- Captured stdout call ----------------------------- @@ -15166,10 +15181,10 @@ _____________________ TestWMSSourceWithClient.test_get_map _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15233,7 +15248,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -15270,7 +15285,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -15305,10 +15320,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15361,7 +15376,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -15395,10 +15410,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15451,8 +15466,8 @@ During handling of the above exception, another exception occurred: -self = -source = +self = +source = def test_get_map(self, source): with tmp_image((512, 512)) as img: @@ -15492,10 +15507,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15552,10 +15567,10 @@ WARNING mapproxy.source.wms:wms.py:99 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused _________ TestWMSSourceWithClient.test_get_map_non_image_content_type __________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15619,7 +15634,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -15656,7 +15671,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -15691,10 +15706,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15747,7 +15762,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -15781,10 +15796,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15837,8 +15852,8 @@ During handling of the above exception, another exception occurred: -self = -source = +self = +source = def test_get_map_non_image_content_type(self, source): with tmp_image((512, 512)) as img: @@ -15879,10 +15894,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -15935,8 +15950,8 @@ During handling of the above exception, another exception occurred: -self = -source = +self = +source = def test_get_map_non_image_content_type(self, source): with tmp_image((512, 512)) as img: @@ -15960,10 +15975,10 @@ WARNING mapproxy.source.wms:wms.py:99 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused ___________________ TestWMSSourceWithClient.test_basic_auth ____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16027,7 +16042,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -16064,7 +16079,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -16099,10 +16114,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16155,7 +16170,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -16189,10 +16204,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16245,10 +16260,10 @@ During handling of the above exception, another exception occurred: -self = +self = req_template = WMS111MapRequest(param=WMSMapRequestParams(param=NoCaseMultiDict([('format', ['image/png']), ('layers', ['foo'])])), url='http://127.0.0.1:56413/service?') -client = -source = +client = +source = def test_basic_auth(self, req_template, client, source): http_client = HTTPClient(req_template.url, username='foo', password='bar@') @@ -16297,10 +16312,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16357,10 +16372,10 @@ WARNING mapproxy.source.wms:wms.py:99 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused _______________ TestWMSSourceWithClient.test_http_error_handler ________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16424,7 +16439,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -16461,7 +16476,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -16496,10 +16511,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16552,7 +16567,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=(0.0, 10.0, 10.0, 20.0), size=(512, 512), srs=SRS('EPSG:4326'), format=image/png, dimensions={)} def get_map(self, query): @@ -16586,10 +16601,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16642,8 +16657,8 @@ During handling of the above exception, another exception occurred: -self = -client = +self = +client = def test_http_error_handler(self, client): error_handler = HTTPSourceErrorHandler() @@ -16708,10 +16723,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16768,10 +16783,10 @@ WARNING mapproxy.source.wms:wms.py:99 could not retrieve WMS map: No response from URL "http://127.0.0.1:56413/service?format=image%2Fpng&layers=foo&bbox=0.0,10.0,10.0,20.0&width=512&height=512&srs=EPSG%3A4326&request=GetMap&version=1.1.1&service=WMS&styles=": Connection refused ___________________________ TestHTTPClient.test_post ___________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16835,7 +16850,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -16872,7 +16887,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service', data = b'foo=bar', method = None def open(self, url, data=None, method=None): @@ -16906,10 +16921,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -16962,7 +16977,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_post(self): with mock_httpd(TESTSERVER_ADDRESS, [({'path': '/service?foo=bar', 'method': 'POST'}, @@ -16987,10 +17002,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17045,10 +17060,10 @@ ___________________________ TestHTTPClient.test_head ___________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17112,7 +17127,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -17149,7 +17164,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service', data = None, method = 'HEAD' def open(self, url, data=None, method=None): @@ -17183,10 +17198,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17239,7 +17254,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.skipif(sys.version_info < (3,), reason='HEAD request not supported by BaseHTTPRequestHandler in Py 2') def test_head(self): @@ -17265,10 +17280,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17323,10 +17338,10 @@ _________________ TestHTTPClient.test_internal_error_response __________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17390,7 +17405,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -17427,7 +17442,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -17461,10 +17476,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17517,7 +17532,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -17543,10 +17558,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17599,7 +17614,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -17633,10 +17648,10 @@ ____________ TestHTTPClient.test_internal_error_hide_error_details _____________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17700,7 +17715,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -17737,7 +17752,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -17771,10 +17786,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17827,7 +17842,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -17853,10 +17868,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -17909,7 +17924,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -17943,11 +17958,11 @@ ___________________ TestHTTPClient.test_https_untrusted_root ___________________ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -18014,7 +18029,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -18051,7 +18066,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -18085,11 +18100,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -18143,7 +18158,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_untrusted_root(self): @@ -18171,11 +18186,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -18229,7 +18244,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_untrusted_root(self): @@ -18262,11 +18277,11 @@ mapproxy/test/helper.py:142: AssertionError ______________________ TestHTTPClient.test_https_insecure ______________________ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -18333,7 +18348,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -18370,7 +18385,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -18404,11 +18419,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -18462,7 +18477,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_insecure(self): @@ -18488,11 +18503,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -18545,11 +18560,11 @@ /usr/lib/python3.11/urllib/request.py:1351: HTTPClientError _________________ TestHTTPClient.test_https_valid_ca_cert_file _________________ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -18616,7 +18631,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -18653,7 +18668,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://www.google.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -18687,11 +18702,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -18745,7 +18760,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_valid_ca_cert_file(self): @@ -18773,11 +18788,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -18830,11 +18845,11 @@ /usr/lib/python3.11/urllib/request.py:1351: HTTPClientError _________________ TestHTTPClient.test_https_valid_default_cert _________________ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -18901,7 +18916,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -18938,7 +18953,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://www.google.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -18972,11 +18987,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -19030,7 +19045,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_valid_default_cert(self): @@ -19058,11 +19073,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -19115,11 +19130,11 @@ /usr/lib/python3.11/urllib/request.py:1351: HTTPClientError ____________________ TestHTTPClient.test_https_invalid_cert ____________________ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -19186,7 +19201,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -19223,7 +19238,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'https://untrusted-root.badssl.com/', data = None, method = None def open(self, url, data=None, method=None): @@ -19257,11 +19272,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -19315,7 +19330,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_invalid_cert(self): @@ -19346,11 +19361,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'check_hostname': None, 'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'check_hostname': None, 'context': } +host = '127.0.0.1:9', h = tunnel_headers = {}, proxy_auth_hdr = 'Proxy-Authorization' def do_open(self, http_class, req, **http_conn_args): @@ -19404,7 +19419,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online def test_https_invalid_cert(self): @@ -19440,10 +19455,10 @@ mapproxy/test/helper.py:142: AssertionError _________________________ TestHTTPClient.test_timeouts _________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -19543,7 +19558,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -19575,10 +19590,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -19631,7 +19646,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_timeouts(self): test_req = ({'path': '/', 'req_assert_function': lambda x: time.sleep(0.9) or True}, @@ -19664,10 +19679,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -19720,7 +19735,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_timeouts(self): test_req = ({'path': '/', 'req_assert_function': lambda x: time.sleep(0.9) or True}, @@ -19744,10 +19759,10 @@ ____________________ TestHTTPClient.test_manage_cookies_off ____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -19811,7 +19826,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -19848,7 +19863,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -19882,10 +19897,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -19938,7 +19953,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_off(self): """ @@ -19980,10 +19995,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20038,10 +20053,10 @@ ____________________ TestHTTPClient.test_manage_cookies_on _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20105,7 +20120,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -20142,7 +20157,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/', data = None, method = None def open(self, url, data=None, method=None): @@ -20176,10 +20191,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20232,7 +20247,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_on(self): """ @@ -20282,10 +20297,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20340,10 +20355,10 @@ _________________________ TestTileClient.test_tc_path __________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20407,7 +20422,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -20444,7 +20459,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/09/000/000/005/000/000/013.png', data = None method = None @@ -20479,10 +20494,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20535,7 +20550,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_tc_path(self): template = TileURLTemplate(TESTSERVER_URL + '/%(tc_path)s.png') @@ -20569,10 +20584,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20627,10 +20642,10 @@ _________________________ TestTileClient.test_quadkey __________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20694,7 +20709,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -20731,7 +20746,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/key=000002303&format=png', data = None method = None @@ -20766,10 +20781,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20822,7 +20837,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_quadkey(self): template = TileURLTemplate(TESTSERVER_URL + '/key=%(quadkey)s&format=%(format)s') @@ -20856,10 +20871,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20914,10 +20929,10 @@ ___________________________ TestTileClient.test_xyz ____________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -20981,7 +20996,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -21018,7 +21033,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/x=5&y=13&z=9&format=png', data = None method = None @@ -21053,10 +21068,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21109,7 +21124,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_xyz(self): template = TileURLTemplate(TESTSERVER_URL + '/x=%(x)s&y=%(y)s&z=%(z)s&format=%(format)s') @@ -21143,10 +21158,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21201,10 +21216,10 @@ _____________________ TestTileClient.test_arcgiscache_path _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21268,7 +21283,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -21305,7 +21320,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/L09/R0000000d/C00000005.png', data = None method = None @@ -21340,10 +21355,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21396,7 +21411,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_arcgiscache_path(self): template = TileURLTemplate(TESTSERVER_URL + '/%(arcgiscache_path)s.png') @@ -21430,10 +21445,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21488,10 +21503,10 @@ ___________________________ TestTileClient.test_bbox ___________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21555,7 +21570,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -21592,7 +21607,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?BBOX=-180.00000000,0.00000000,-90.00000000,90.00000000' data = None, method = None @@ -21627,10 +21642,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21683,7 +21698,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_bbox(self): grid = tile_grid(4326) @@ -21718,10 +21733,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21776,10 +21791,10 @@ _________________________ TestWMSClient.test_no_image __________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21843,7 +21858,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -21880,7 +21895,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/service?map=foo&layers=foo&transparent=true&bbox=-200000,-200000,200000,200000&width=512&height=512&srs=EPSG%3A900913&format=image%2Fpng&request=GetMap&version=1.1.1&service=WMS&styles=' data = None, method = None @@ -21915,10 +21930,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -21971,8 +21986,8 @@ During handling of the above exception, another exception occurred: -self = -caplog = <_pytest.logging.LogCaptureFixture object at 0xffff97568650> +self = +caplog = <_pytest.logging.LogCaptureFixture object at 0xffffa8829b50> def test_no_image(self, caplog): try: @@ -22005,10 +22020,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -22063,10 +22078,10 @@ ________________ TestTileClientOnError.test_cacheable_response _________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -22130,7 +22145,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -22167,7 +22182,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -22201,10 +22216,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -22257,7 +22272,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=[-180, -90, 0, 90], size=(256, 256), srs=SRS('EPSG:4326'), format=png, dimensions={)} def get_map(self, query): @@ -22317,10 +22332,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -22373,7 +22388,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_cacheable_response(self): error_handler = HTTPSourceErrorHandler() @@ -22427,10 +22442,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -22487,10 +22502,10 @@ WARNING mapproxy.source.tile:tile.py:81 could not retrieve tile: No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused __________________ TestTileClientOnError.test_image_response ___________________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -22554,7 +22569,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -22591,7 +22606,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -22625,10 +22640,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -22681,7 +22696,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=[-180, -90, 0, 90], size=(256, 256), srs=SRS('EPSG:4326'), format=png, dimensions={)} def get_map(self, query): @@ -22741,10 +22756,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -22797,7 +22812,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_image_response(self): error_handler = HTTPSourceErrorHandler() @@ -22851,10 +22866,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -22911,10 +22926,10 @@ WARNING mapproxy.source.tile:tile.py:81 could not retrieve tile: No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused _____________ TestTileClientOnError.test_multiple_image_responses ______________ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -22978,7 +22993,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -23015,7 +23030,7 @@ During handling of the above exception, another exception occurred: -self = +self = url = 'http://127.0.0.1:56413/1/0/0.png', data = None, method = None def open(self, url, data=None, method=None): @@ -23049,10 +23064,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -23105,7 +23120,7 @@ During handling of the above exception, another exception occurred: -self = +self = query = MapQuery(bbox=[-180, -90, 0, 90], size=(256, 256), srs=SRS('EPSG:4326'), format=png, dimensions={)} def get_map(self, query): @@ -23165,10 +23180,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -23221,7 +23236,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_multiple_image_responses(self): error_handler = HTTPSourceErrorHandler() @@ -23285,10 +23300,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = '127.0.0.1:9', h = +req = , http_conn_args = {} +host = '127.0.0.1:9', h = def do_open(self, http_class, req, **http_conn_args): """Return an HTTPResponse object for the request, using http_class. @@ -23343,25 +23358,6 @@ ------------------------------ Captured log call ------------------------------- WARNING mapproxy.source.tile:tile.py:81 could not retrieve tile: No response from URL "http://127.0.0.1:56413/1/0/0.png": Connection refused -_________________________ test_timestamp_from_isodate __________________________ - - def test_timestamp_from_isodate(): - ts = timestamp_from_isodate("2009-06-09T10:57:00") -> assert (1244537820.0 - 14 * 3600) < ts < (1244537820.0 + 14 * 3600) -E assert 1244588220.0 < (1244537820.0 + (14 * 3600)) - -mapproxy/test/unit/test_times.py:22: AssertionError -_____________ [doctest] mapproxy.util.times.timestamp_from_isodate _____________ -061 -062 >>> ts = timestamp_from_isodate('2009-06-09T10:57:00') -063 >>> # we don't know which timezone the test will run -064 >>> (1244537820.0 - 14 * 3600) < ts < (1244537820.0 + 14 * 3600) -Expected: - True -Got: - False - -/build/reproducible-path/mapproxy-2.0.2+dfsg/.pybuild/cpython3_3.11_mapproxy/build/mapproxy/util/times.py:64: DocTestFailure =============================== warnings summary =============================== mapproxy/template.py:20 /build/reproducible-path/mapproxy-2.0.2+dfsg/.pybuild/cpython3_3.11_mapproxy/build/mapproxy/template.py:20: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html @@ -23572,9 +23568,7 @@ FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_cacheable_response FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_image_response FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_multiple_image_responses -FAILED mapproxy/test/unit/test_times.py::test_timestamp_from_isodate - assert... -FAILED mapproxy/util/times.py::mapproxy.util.times.timestamp_from_isodate -= 32 failed, 1652 passed, 139 skipped, 2 xfailed, 129 warnings in 67.13s (0:01:07) = += 30 failed, 1654 passed, 139 skipped, 2 xfailed, 129 warnings in 115.80s (0:01:55) = E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/mapproxy-2.0.2+dfsg/.pybuild/cpython3_3.11_mapproxy/build; python3.11 -m pytest dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13 Ignoring test failures @@ -27562,10 +27556,10 @@ make[1]: Leaving directory '/build/reproducible-path/mapproxy-2.0.2+dfsg' dh_installdocs -O--buildsystem=pybuild dh_sphinxdoc -O--buildsystem=pybuild -dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/js/jquery-fix.js +dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/bootstrap-3.4.1/js/bootstrap.min.js dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/js/jquery-1.12.4.min.js +dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/js/jquery-fix.js dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/bootstrap-sphinx.js -dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/mapproxy-doc/usr/share/doc/mapproxy/html/_static/bootstrap-3.4.1/js/bootstrap.min.js dh_installchangelogs -O--buildsystem=pybuild dh_installman -O--buildsystem=pybuild dh_python3 -O--buildsystem=pybuild @@ -27582,9 +27576,9 @@ dpkg-gencontrol: warning: package mapproxy-doc: substitution variable ${sphinxdoc:Built-Using} unused, but is defined dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild +dpkg-deb: building package 'mapproxy-doc' in '../mapproxy-doc_2.0.2+dfsg-1_all.deb'. dpkg-deb: building package 'python3-mapproxy' in '../python3-mapproxy_2.0.2+dfsg-1_all.deb'. dpkg-deb: building package 'mapproxy' in '../mapproxy_2.0.2+dfsg-1_all.deb'. -dpkg-deb: building package 'mapproxy-doc' in '../mapproxy-doc_2.0.2+dfsg-1_all.deb'. dpkg-genbuildinfo --build=binary -O../mapproxy_2.0.2+dfsg-1_arm64.buildinfo dpkg-genchanges --build=binary -O../mapproxy_2.0.2+dfsg-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -27592,12 +27586,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1785712/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1785712/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/512115 and its subdirectories -I: Current time: Thu May 9 23:37:39 -12 2024 -I: pbuilder-time-stamp: 1715341059 +I: removing directory /srv/workspace/pbuilder/1785712 and its subdirectories +I: Current time: Fri Jun 13 08:09:13 +14 2025 +I: pbuilder-time-stamp: 1749751753