Diff of the two buildlogs: -- --- b1/build.log 2024-12-17 14:38:15.725552136 +0000 +++ b2/build.log 2024-12-17 14:43:52.754300690 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 19 08:55:28 -12 2026 -I: pbuilder-time-stamp: 1768856128 +I: Current time: Wed Dec 18 04:38:19 +14 2024 +I: pbuilder-time-stamp: 1734446299 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying past.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1016858/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3927191/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-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 Dec 17 14:38 /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/3927191/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3927191/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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(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='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='ba20198f40a04f40bff9b346b6b6cd9f' - 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='1016858' - PS1='# ' - PS2='> ' + INVOCATION_ID=1c7c45086ddc4c659e2db1cd2ecebeed + 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=3927191 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.LZfHayXT/pbuilderrc_pogh --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.LZfHayXT/b1 --logfile b1/build.log mapproxy_3.1.3+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.LZfHayXT/pbuilderrc_U0oO --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.LZfHayXT/b2 --logfile b2/build.log mapproxy_3.1.3+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 codethink01-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1016858/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3927191/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -516,7 +548,7 @@ Get: 363 http://deb.debian.org/debian unstable/main arm64 python3-webtest all 3.0.0-4 [34.7 kB] Get: 364 http://deb.debian.org/debian unstable/main arm64 python3-werkzeug all 3.1.3-2 [207 kB] Get: 365 http://deb.debian.org/debian unstable/main arm64 python3-yaml arm64 6.0.2-1+b1 [148 kB] -Fetched 152 MB in 1s (137 MB/s) +Fetched 152 MB in 1s (110 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-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 ... 20085 files and directories currently installed.) @@ -1690,8 +1722,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Jan 19 20:57:01 UTC 2026. -Universal Time is now: Mon Jan 19 20:57:01 UTC 2026. +Local time is now: Tue Dec 17 14:39:43 UTC 2024. +Universal Time is now: Tue Dec 17 14:39:43 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up mariadb-common (1:11.4.3-1) ... @@ -2035,7 +2067,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mapproxy-3.1.3+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_3.1.3+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/3927191/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3927191/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mapproxy-3.1.3+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_3.1.3+dfsg-1_source.changes dpkg-buildpackage: info: source package mapproxy dpkg-buildpackage: info: source version 3.1.3+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -5000,7 +5036,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 [ 95%] +mapproxy/test/unit/test_times.py . [ 95%] mapproxy/test/unit/test_timeutils.py ..... [ 95%] mapproxy/test/unit/test_util_conf_utils.py ........ [ 95%] mapproxy/test/unit/test_utils.py ........................ [ 96%] @@ -5016,12 +5052,12 @@ mapproxy/util/ext/tempita/__init__.py ... [ 99%] mapproxy/util/ext/wmsparse/test/test_parse.py ....... [ 99%] mapproxy/util/ext/wmsparse/test/test_util.py . [ 99%] -mapproxy/util/times.py .F [100%] +mapproxy/util/times.py .. [100%] =================================== FAILURES =================================== ______________ TestUtilWMSCapabilities.test_request_not_parsable _______________ -self = +self = def test_request_not_parsable(self): with mock_httpd( @@ -5048,7 +5084,7 @@ ________________ TestUtilWMSCapabilities.test_service_exception ________________ -self = +self = def test_service_exception(self): self.args = [ @@ -5082,10 +5118,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): @@ -5150,7 +5186,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, @@ -5187,7 +5223,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 @@ -5222,10 +5258,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): @@ -5307,10 +5343,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): @@ -5364,7 +5400,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_capabilities(self): self.args = [ @@ -5412,10 +5448,10 @@ mapproxy/script/wms_capabilities.py:123: SystemExit ______________ 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): @@ -5480,7 +5516,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, @@ -5517,7 +5553,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 @@ -5552,10 +5588,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): @@ -5637,10 +5673,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): @@ -5694,7 +5730,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_130capabilities(self): self.args = [ @@ -5742,7 +5778,7 @@ mapproxy/script/wms_capabilities.py:123: SystemExit ____________________ TestUtilWMSCapabilities.test_key_error ____________________ -self = +self = def test_key_error(self): self.args = [ @@ -5771,10 +5807,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 0xffffa84feec0>.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 0xffffa32afc40>.getvalue mapproxy/test/system/test_util_wms_capabilities.py:182: AssertionError ----------------------------- Captured stdout call ----------------------------- @@ -5782,10 +5818,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): @@ -5850,7 +5886,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, @@ -5887,7 +5923,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 @@ -5922,10 +5958,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): @@ -5979,7 +6015,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): @@ -6013,10 +6049,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): @@ -6070,8 +6106,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: @@ -6111,10 +6147,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): @@ -6172,10 +6208,10 @@ WARNING mapproxy.source.wms:wms.py:101 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): @@ -6240,7 +6276,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, @@ -6277,7 +6313,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 @@ -6312,10 +6348,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): @@ -6369,7 +6405,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): @@ -6403,10 +6439,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): @@ -6460,8 +6496,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: @@ -6502,10 +6538,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): @@ -6559,8 +6595,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: @@ -6584,10 +6620,10 @@ WARNING mapproxy.source.wms:wms.py:101 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): @@ -6652,7 +6688,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, @@ -6689,7 +6725,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 @@ -6724,10 +6760,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): @@ -6781,7 +6817,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): @@ -6815,10 +6851,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): @@ -6872,10 +6908,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@') @@ -6925,10 +6961,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): @@ -6986,10 +7022,10 @@ WARNING mapproxy.source.wms:wms.py:101 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): @@ -7054,7 +7090,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, @@ -7091,7 +7127,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 @@ -7126,10 +7162,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): @@ -7183,7 +7219,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): @@ -7217,10 +7253,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): @@ -7274,8 +7310,8 @@ During handling of the above exception, another exception occurred: -self = -client = +self = +client = def test_http_error_handler(self, client): error_handler = HTTPSourceErrorHandler() @@ -7340,10 +7376,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): @@ -7401,10 +7437,10 @@ WARNING mapproxy.source.wms:wms.py:101 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): @@ -7469,7 +7505,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, @@ -7506,7 +7542,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): @@ -7540,10 +7576,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): @@ -7597,7 +7633,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'}, @@ -7622,10 +7658,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): @@ -7681,10 +7717,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): @@ -7749,7 +7785,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, @@ -7786,7 +7822,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): @@ -7820,10 +7856,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): @@ -7877,7 +7913,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_head(self): with mock_httpd(TESTSERVER_ADDRESS, [({'path': '/service', 'method': 'HEAD'}, @@ -7902,10 +7938,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): @@ -7961,10 +7997,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): @@ -8029,7 +8065,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, @@ -8066,7 +8102,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): @@ -8100,10 +8136,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): @@ -8157,7 +8193,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -8183,10 +8219,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): @@ -8240,7 +8276,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -8274,10 +8310,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): @@ -8342,7 +8378,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, @@ -8379,7 +8415,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): @@ -8413,10 +8449,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): @@ -8470,7 +8506,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -8496,10 +8532,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): @@ -8553,7 +8589,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -8587,11 +8623,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): @@ -8658,7 +8694,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, @@ -8695,7 +8731,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): @@ -8729,11 +8765,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): @@ -8787,7 +8823,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -8814,11 +8850,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): @@ -8872,7 +8908,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -8904,11 +8940,11 @@ mapproxy/test/helper.py:175: 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): @@ -8975,7 +9011,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, @@ -9012,7 +9048,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): @@ -9046,11 +9082,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): @@ -9104,7 +9140,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -9131,11 +9167,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): @@ -9188,11 +9224,11 @@ /usr/lib/python3.13/urllib/request.py:1322: 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): @@ -9259,7 +9295,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, @@ -9296,7 +9332,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): @@ -9330,11 +9366,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): @@ -9388,7 +9424,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -9417,11 +9453,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): @@ -9474,11 +9510,11 @@ /usr/lib/python3.13/urllib/request.py:1322: 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): @@ -9545,7 +9581,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, @@ -9582,7 +9618,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): @@ -9616,11 +9652,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): @@ -9674,7 +9710,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -9700,11 +9736,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): @@ -9757,11 +9793,11 @@ /usr/lib/python3.13/urllib/request.py:1322: 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): @@ -9828,7 +9864,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, @@ -9865,7 +9901,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): @@ -9899,11 +9935,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): @@ -9957,7 +9993,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -9989,11 +10025,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): @@ -10047,7 +10083,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -10084,10 +10120,10 @@ mapproxy/test/helper.py:175: 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): @@ -10188,7 +10224,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): @@ -10220,10 +10256,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): @@ -10277,7 +10313,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}, @@ -10308,10 +10344,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): @@ -10365,7 +10401,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}, @@ -10387,10 +10423,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): @@ -10455,7 +10491,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, @@ -10492,7 +10528,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): @@ -10526,10 +10562,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): @@ -10583,7 +10619,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_off(self): """ @@ -10625,10 +10661,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): @@ -10684,10 +10720,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): @@ -10752,7 +10788,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, @@ -10789,7 +10825,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): @@ -10823,10 +10859,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): @@ -10880,7 +10916,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_on(self): """ @@ -10930,10 +10966,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): @@ -10989,10 +11025,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): @@ -11057,7 +11093,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, @@ -11094,7 +11130,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 @@ -11129,10 +11165,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): @@ -11186,7 +11222,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') @@ -11220,10 +11256,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): @@ -11279,10 +11315,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): @@ -11347,7 +11383,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, @@ -11384,7 +11420,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 @@ -11419,10 +11455,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): @@ -11476,7 +11512,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') @@ -11510,10 +11546,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): @@ -11569,10 +11605,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): @@ -11637,7 +11673,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, @@ -11674,7 +11710,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 @@ -11709,10 +11745,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): @@ -11766,7 +11802,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') @@ -11800,10 +11836,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): @@ -11859,10 +11895,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): @@ -11927,7 +11963,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, @@ -11964,7 +12000,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 @@ -11999,10 +12035,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): @@ -12056,7 +12092,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') @@ -12090,10 +12126,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): @@ -12149,10 +12185,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): @@ -12217,7 +12253,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, @@ -12254,7 +12290,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 @@ -12289,10 +12325,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): @@ -12346,7 +12382,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_bbox(self): grid = tile_grid(4326) @@ -12381,10 +12417,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): @@ -12440,10 +12476,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): @@ -12508,7 +12544,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, @@ -12545,7 +12581,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 @@ -12580,10 +12616,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): @@ -12637,8 +12673,8 @@ During handling of the above exception, another exception occurred: -self = -caplog = <_pytest.logging.LogCaptureFixture object at 0xffffa841da90> +self = +caplog = <_pytest.logging.LogCaptureFixture object at 0xffffa325da90> def test_no_image(self, caplog): try: @@ -12670,10 +12706,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): @@ -12729,10 +12765,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): @@ -12797,7 +12833,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, @@ -12834,7 +12870,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): @@ -12868,10 +12904,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): @@ -12925,7 +12961,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): @@ -12985,10 +13021,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): @@ -13042,7 +13078,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_cacheable_response(self): error_handler = HTTPSourceErrorHandler() @@ -13096,10 +13132,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): @@ -13157,10 +13193,10 @@ WARNING mapproxy.source.tile:tile.py:82 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): @@ -13225,7 +13261,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, @@ -13262,7 +13298,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): @@ -13296,10 +13332,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): @@ -13353,7 +13389,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): @@ -13413,10 +13449,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): @@ -13470,7 +13506,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_image_response(self): error_handler = HTTPSourceErrorHandler() @@ -13524,10 +13560,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): @@ -13585,10 +13621,10 @@ WARNING mapproxy.source.tile:tile.py:82 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): @@ -13653,7 +13689,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, @@ -13690,7 +13726,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): @@ -13724,10 +13760,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): @@ -13781,7 +13817,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): @@ -13841,10 +13877,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): @@ -13898,7 +13934,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_multiple_image_responses(self): error_handler = HTTPSourceErrorHandler() @@ -13962,10 +13998,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): @@ -14021,25 +14057,6 @@ ------------------------------ Captured log call ------------------------------- WARNING mapproxy.source.tile:tile.py:82 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 _____________ -064 -065 >>> ts = timestamp_from_isodate('2009-06-09T10:57:00') -066 >>> # we don't know which timezone the test will run -067 >>> (1244537820.0 - 14 * 3600) < ts < (1244537820.0 + 14 * 3600) -Expected: - True -Got: - False - -/build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.13_mapproxy/build/mapproxy/util/times.py:67: DocTestFailure =============================== warnings summary =============================== mapproxy/srs.py:91 /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.13_mapproxy/build/mapproxy/srs.py:91: DeprecationWarning: calling un-configured base_config @@ -14116,9 +14133,9 @@ /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.13_mapproxy/build/mapproxy/cache/mbtiles.py:67: DeprecationWarning: Passing more than 1 positional argument to _sqlite3.Connection() is deprecated. Parameters 'timeout', 'detect_types', 'isolation_level', 'check_same_thread', 'factory', 'cached_statements' and 'uri' will become keyword-only parameters in Python 3.15. self._db_conn_cache.db = sqlite3.connect(self.mbtile_file, self.timeout) -mapproxy/test/system/test_seed.py: 31 warnings +mapproxy/test/system/test_seed.py: 36 warnings mapproxy/test/system/test_util_export.py: 3 warnings - /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=1065869) is multi-threaded, use of fork() may lead to deadlocks in the child. + /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=4024566) 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 @@ -14161,9 +14178,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, 1737 passed, 145 skipped, 2 xfailed, 370 warnings in 75.10s (0:01:15) = += 30 failed, 1739 passed, 145 skipped, 2 xfailed, 375 warnings in 72.96s (0:01:12) = E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.13_mapproxy/build; python3.13 -m pytest I: pybuild pybuild:308: mkdir -p /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.12_mapproxy/build/mapproxy && cp -r /build/reproducible-path/mapproxy-3.1.3+dfsg/mapproxy/test /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.12_mapproxy/build/mapproxy I: pybuild base:311: cd /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.12_mapproxy/build; python3.12 -m pytest @@ -14314,7 +14329,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 [ 95%] +mapproxy/test/unit/test_times.py . [ 95%] mapproxy/test/unit/test_timeutils.py ..... [ 95%] mapproxy/test/unit/test_util_conf_utils.py ........ [ 95%] mapproxy/test/unit/test_utils.py ........................ [ 96%] @@ -14330,12 +14345,12 @@ mapproxy/util/ext/tempita/__init__.py ... [ 99%] mapproxy/util/ext/wmsparse/test/test_parse.py ....... [ 99%] mapproxy/util/ext/wmsparse/test/test_util.py . [ 99%] -mapproxy/util/times.py .F [100%] +mapproxy/util/times.py .. [100%] =================================== FAILURES =================================== ______________ TestUtilWMSCapabilities.test_request_not_parsable _______________ -self = +self = def test_request_not_parsable(self): with mock_httpd( @@ -14362,7 +14377,7 @@ ________________ TestUtilWMSCapabilities.test_service_exception ________________ -self = +self = def test_service_exception(self): self.args = [ @@ -14396,10 +14411,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): @@ -14464,7 +14479,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, @@ -14501,7 +14516,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 @@ -14536,10 +14551,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): @@ -14621,10 +14636,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): @@ -14678,7 +14693,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_capabilities(self): self.args = [ @@ -14726,10 +14741,10 @@ mapproxy/script/wms_capabilities.py:123: SystemExit ______________ 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): @@ -14794,7 +14809,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, @@ -14831,7 +14846,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 @@ -14866,10 +14881,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): @@ -14951,10 +14966,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): @@ -15008,7 +15023,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_130capabilities(self): self.args = [ @@ -15056,7 +15071,7 @@ mapproxy/script/wms_capabilities.py:123: SystemExit ____________________ TestUtilWMSCapabilities.test_key_error ____________________ -self = +self = def test_key_error(self): self.args = [ @@ -15085,10 +15100,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 0xffff89dc2680>.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 0xffff8e7dc940>.getvalue mapproxy/test/system/test_util_wms_capabilities.py:182: AssertionError ----------------------------- Captured stdout call ----------------------------- @@ -15096,10 +15111,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): @@ -15164,7 +15179,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, @@ -15201,7 +15216,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 @@ -15236,10 +15251,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): @@ -15293,7 +15308,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): @@ -15327,10 +15342,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): @@ -15384,8 +15399,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: @@ -15425,10 +15440,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): @@ -15486,10 +15501,10 @@ WARNING mapproxy.source.wms:wms.py:101 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): @@ -15554,7 +15569,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, @@ -15591,7 +15606,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 @@ -15626,10 +15641,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): @@ -15683,7 +15698,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): @@ -15717,10 +15732,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): @@ -15774,8 +15789,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: @@ -15816,10 +15831,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): @@ -15873,8 +15888,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: @@ -15898,10 +15913,10 @@ WARNING mapproxy.source.wms:wms.py:101 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): @@ -15966,7 +15981,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, @@ -16003,7 +16018,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 @@ -16038,10 +16053,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): @@ -16095,7 +16110,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): @@ -16129,10 +16144,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): @@ -16186,10 +16201,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@') @@ -16239,10 +16254,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): @@ -16300,10 +16315,10 @@ WARNING mapproxy.source.wms:wms.py:101 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): @@ -16368,7 +16383,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, @@ -16405,7 +16420,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 @@ -16440,10 +16455,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): @@ -16497,7 +16512,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): @@ -16531,10 +16546,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): @@ -16588,8 +16603,8 @@ During handling of the above exception, another exception occurred: -self = -client = +self = +client = def test_http_error_handler(self, client): error_handler = HTTPSourceErrorHandler() @@ -16654,10 +16669,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): @@ -16715,10 +16730,10 @@ WARNING mapproxy.source.wms:wms.py:101 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): @@ -16783,7 +16798,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, @@ -16820,7 +16835,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): @@ -16854,10 +16869,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): @@ -16911,7 +16926,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'}, @@ -16936,10 +16951,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): @@ -16995,10 +17010,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): @@ -17063,7 +17078,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, @@ -17100,7 +17115,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): @@ -17134,10 +17149,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): @@ -17191,7 +17206,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_head(self): with mock_httpd(TESTSERVER_ADDRESS, [({'path': '/service', 'method': 'HEAD'}, @@ -17216,10 +17231,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): @@ -17275,10 +17290,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): @@ -17343,7 +17358,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, @@ -17380,7 +17395,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): @@ -17414,10 +17429,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): @@ -17471,7 +17486,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -17497,10 +17512,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): @@ -17554,7 +17569,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -17588,10 +17603,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): @@ -17656,7 +17671,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, @@ -17693,7 +17708,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): @@ -17727,10 +17742,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): @@ -17784,7 +17799,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -17810,10 +17825,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): @@ -17867,7 +17882,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -17901,11 +17916,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): @@ -17972,7 +17987,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, @@ -18009,7 +18024,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): @@ -18043,11 +18058,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): @@ -18101,7 +18116,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -18128,11 +18143,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): @@ -18186,7 +18201,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -18218,11 +18233,11 @@ mapproxy/test/helper.py:175: 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): @@ -18289,7 +18304,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, @@ -18326,7 +18341,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): @@ -18360,11 +18375,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): @@ -18418,7 +18433,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -18445,11 +18460,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): @@ -18502,11 +18517,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): @@ -18573,7 +18588,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, @@ -18610,7 +18625,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): @@ -18644,11 +18659,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): @@ -18702,7 +18717,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -18731,11 +18746,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): @@ -18788,11 +18803,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): @@ -18859,7 +18874,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, @@ -18896,7 +18911,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): @@ -18930,11 +18945,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): @@ -18988,7 +19003,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -19014,11 +19029,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): @@ -19071,11 +19086,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): @@ -19142,7 +19157,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, @@ -19179,7 +19194,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): @@ -19213,11 +19228,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): @@ -19271,7 +19286,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -19303,11 +19318,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): @@ -19361,7 +19376,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -19398,10 +19413,10 @@ mapproxy/test/helper.py:175: 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): @@ -19502,7 +19517,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): @@ -19534,10 +19549,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): @@ -19591,7 +19606,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}, @@ -19622,10 +19637,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): @@ -19679,7 +19694,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}, @@ -19701,10 +19716,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): @@ -19769,7 +19784,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, @@ -19806,7 +19821,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): @@ -19840,10 +19855,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): @@ -19897,7 +19912,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_off(self): """ @@ -19939,10 +19954,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): @@ -19998,10 +20013,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): @@ -20066,7 +20081,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, @@ -20103,7 +20118,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): @@ -20137,10 +20152,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): @@ -20194,7 +20209,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_on(self): """ @@ -20244,10 +20259,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): @@ -20303,10 +20318,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): @@ -20371,7 +20386,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, @@ -20408,7 +20423,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 @@ -20443,10 +20458,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): @@ -20500,7 +20515,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') @@ -20534,10 +20549,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): @@ -20593,10 +20608,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): @@ -20661,7 +20676,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, @@ -20698,7 +20713,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 @@ -20733,10 +20748,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): @@ -20790,7 +20805,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') @@ -20824,10 +20839,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): @@ -20883,10 +20898,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): @@ -20951,7 +20966,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, @@ -20988,7 +21003,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 @@ -21023,10 +21038,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): @@ -21080,7 +21095,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') @@ -21114,10 +21129,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): @@ -21173,10 +21188,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): @@ -21241,7 +21256,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, @@ -21278,7 +21293,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 @@ -21313,10 +21328,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): @@ -21370,7 +21385,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') @@ -21404,10 +21419,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): @@ -21463,10 +21478,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): @@ -21531,7 +21546,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, @@ -21568,7 +21583,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 @@ -21603,10 +21618,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): @@ -21660,7 +21675,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_bbox(self): grid = tile_grid(4326) @@ -21695,10 +21710,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): @@ -21754,10 +21769,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): @@ -21822,7 +21837,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, @@ -21859,7 +21874,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 @@ -21894,10 +21909,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): @@ -21951,8 +21966,8 @@ During handling of the above exception, another exception occurred: -self = -caplog = <_pytest.logging.LogCaptureFixture object at 0xffff889926f0> +self = +caplog = <_pytest.logging.LogCaptureFixture object at 0xffff8d27fb30> def test_no_image(self, caplog): try: @@ -21984,10 +21999,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): @@ -22043,10 +22058,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): @@ -22111,7 +22126,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, @@ -22148,7 +22163,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): @@ -22182,10 +22197,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): @@ -22239,7 +22254,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): @@ -22299,10 +22314,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): @@ -22356,7 +22371,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_cacheable_response(self): error_handler = HTTPSourceErrorHandler() @@ -22410,10 +22425,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): @@ -22471,10 +22486,10 @@ WARNING mapproxy.source.tile:tile.py:82 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): @@ -22539,7 +22554,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, @@ -22576,7 +22591,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): @@ -22610,10 +22625,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): @@ -22667,7 +22682,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): @@ -22727,10 +22742,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): @@ -22784,7 +22799,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_image_response(self): error_handler = HTTPSourceErrorHandler() @@ -22838,10 +22853,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): @@ -22899,10 +22914,10 @@ WARNING mapproxy.source.tile:tile.py:82 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): @@ -22967,7 +22982,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, @@ -23004,7 +23019,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): @@ -23038,10 +23053,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): @@ -23095,7 +23110,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): @@ -23155,10 +23170,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): @@ -23212,7 +23227,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_multiple_image_responses(self): error_handler = HTTPSourceErrorHandler() @@ -23276,10 +23291,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): @@ -23335,25 +23350,6 @@ ------------------------------ Captured log call ------------------------------- WARNING mapproxy.source.tile:tile.py:82 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 _____________ -064 -065 >>> ts = timestamp_from_isodate('2009-06-09T10:57:00') -066 >>> # we don't know which timezone the test will run -067 >>> (1244537820.0 - 14 * 3600) < ts < (1244537820.0 + 14 * 3600) -Expected: - True -Got: - False - -/build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.12_mapproxy/build/mapproxy/util/times.py:67: DocTestFailure =============================== warnings summary =============================== mapproxy/srs.py:91 /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.12_mapproxy/build/mapproxy/srs.py:91: DeprecationWarning: calling un-configured base_config @@ -23420,9 +23416,9 @@ /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.12_mapproxy/build/mapproxy/cache/geopackage.py:255: DeprecationWarning: The default datetime adapter is deprecated as of Python 3.12; see the sqlite3 documentation for suggested replacement recipes db.execute(""" -mapproxy/test/system/test_seed.py: 39 warnings +mapproxy/test/system/test_seed.py: 35 warnings mapproxy/test/system/test_util_export.py: 3 warnings - /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=1071606) 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=4088202) 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 @@ -23465,9 +23461,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, 1737 passed, 145 skipped, 2 xfailed, 223 warnings in 81.24s (0:01:21) = += 30 failed, 1739 passed, 145 skipped, 2 xfailed, 219 warnings in 87.31s (0:01:27) = E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.12_mapproxy/build; python3.12 -m pytest dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 Ignoring test failures @@ -27479,12 +27473,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/3927191/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3927191/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/1016858 and its subdirectories -I: Current time: Mon Jan 19 09:01:14 -12 2026 -I: pbuilder-time-stamp: 1768856474 +I: removing directory /srv/workspace/pbuilder/3927191 and its subdirectories +I: Current time: Wed Dec 18 04:43:51 +14 2024 +I: pbuilder-time-stamp: 1734446631