Diff of the two buildlogs: -- --- b1/build.log 2025-01-19 14:25:15.695128079 +0000 +++ b2/build.log 2025-01-19 14:29:25.039877868 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Feb 21 08:44:02 -12 2026 -I: pbuilder-time-stamp: 1771706642 +I: Current time: Sun Feb 22 10:48:18 +14 2026 +I: pbuilder-time-stamp: 1771706898 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,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/753067/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1370048/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-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 Feb 21 20:48 /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/1370048/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1370048/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='fb3e708c34a54826802a749d2eea0726' - 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='753067' - PS1='# ' - PS2='> ' + INVOCATION_ID=8c46cedc2db34a079ba4b540d4c4822b + 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=1370048 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.wAC8Zxps/pbuilderrc_Yg4U --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.wAC8Zxps/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.wAC8Zxps/pbuilderrc_XN90 --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.wAC8Zxps/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-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/753067/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1370048/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -535,7 +567,7 @@ Get: 385 http://deb.debian.org/debian unstable/main arm64 python3-webtest all 3.0.2-1 [35.2 kB] Get: 386 http://deb.debian.org/debian unstable/main arm64 python3-werkzeug all 3.1.3-2 [207 kB] Get: 387 http://deb.debian.org/debian unstable/main arm64 python3-yaml arm64 6.0.2-1+b1 [148 kB] -Fetched 162 MB in 1s (169 MB/s) +Fetched 162 MB in 1s (179 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-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 ... 19965 files and directories currently installed.) @@ -1776,8 +1808,8 @@ Setting up tzdata (2025a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Feb 21 20:44:53 UTC 2026. -Universal Time is now: Sat Feb 21 20:44:53 UTC 2026. +Local time is now: Sat Feb 21 20:49:03 UTC 2026. +Universal Time is now: Sat Feb 21 20:49:03 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up mariadb-common (1:11.4.4-3) ... @@ -2142,7 +2174,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/1370048/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1370048/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 @@ -5107,7 +5143,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%] @@ -5123,12 +5159,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( @@ -5155,7 +5191,7 @@ ________________ TestUtilWMSCapabilities.test_service_exception ________________ -self = +self = def test_service_exception(self): self.args = [ @@ -5189,10 +5225,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): @@ -5257,7 +5293,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, @@ -5294,7 +5330,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 @@ -5329,10 +5365,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): @@ -5414,10 +5450,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): @@ -5471,7 +5507,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_capabilities(self): self.args = [ @@ -5519,10 +5555,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): @@ -5587,7 +5623,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, @@ -5624,7 +5660,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 @@ -5659,10 +5695,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): @@ -5744,10 +5780,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): @@ -5801,7 +5837,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_130capabilities(self): self.args = [ @@ -5849,7 +5885,7 @@ mapproxy/script/wms_capabilities.py:123: SystemExit ____________________ TestUtilWMSCapabilities.test_key_error ____________________ -self = +self = def test_key_error(self): self.args = [ @@ -5878,10 +5914,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 0xffff90accdc0>.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 0xffffa0738640>.getvalue mapproxy/test/system/test_util_wms_capabilities.py:182: AssertionError ----------------------------- Captured stdout call ----------------------------- @@ -5889,10 +5925,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): @@ -5957,7 +5993,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, @@ -5994,7 +6030,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 @@ -6029,10 +6065,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): @@ -6086,7 +6122,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): @@ -6120,10 +6156,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): @@ -6177,8 +6213,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: @@ -6218,10 +6254,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): @@ -6279,10 +6315,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): @@ -6347,7 +6383,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, @@ -6384,7 +6420,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 @@ -6419,10 +6455,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): @@ -6476,7 +6512,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): @@ -6510,10 +6546,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): @@ -6567,8 +6603,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: @@ -6609,10 +6645,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): @@ -6666,8 +6702,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: @@ -6691,10 +6727,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): @@ -6759,7 +6795,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, @@ -6796,7 +6832,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 @@ -6831,10 +6867,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): @@ -6888,7 +6924,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): @@ -6922,10 +6958,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): @@ -6979,10 +7015,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@') @@ -7032,10 +7068,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): @@ -7093,10 +7129,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): @@ -7161,7 +7197,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, @@ -7198,7 +7234,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 @@ -7233,10 +7269,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): @@ -7290,7 +7326,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): @@ -7324,10 +7360,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): @@ -7381,8 +7417,8 @@ During handling of the above exception, another exception occurred: -self = -client = +self = +client = def test_http_error_handler(self, client): error_handler = HTTPSourceErrorHandler() @@ -7447,10 +7483,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): @@ -7508,10 +7544,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): @@ -7576,7 +7612,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, @@ -7613,7 +7649,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): @@ -7647,10 +7683,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): @@ -7704,7 +7740,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'}, @@ -7729,10 +7765,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): @@ -7788,10 +7824,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): @@ -7856,7 +7892,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, @@ -7893,7 +7929,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): @@ -7927,10 +7963,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): @@ -7984,7 +8020,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'}, @@ -8009,10 +8045,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): @@ -8068,10 +8104,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): @@ -8136,7 +8172,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, @@ -8173,7 +8209,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): @@ -8207,10 +8243,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): @@ -8264,7 +8300,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -8290,10 +8326,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): @@ -8347,7 +8383,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -8381,10 +8417,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): @@ -8449,7 +8485,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, @@ -8486,7 +8522,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): @@ -8520,10 +8556,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): @@ -8577,7 +8613,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -8603,10 +8639,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): @@ -8660,7 +8696,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -8694,11 +8730,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): @@ -8765,7 +8801,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, @@ -8802,7 +8838,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): @@ -8836,11 +8872,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): @@ -8894,7 +8930,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -8921,11 +8957,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): @@ -8979,7 +9015,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -9011,11 +9047,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): @@ -9082,7 +9118,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, @@ -9119,7 +9155,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): @@ -9153,11 +9189,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): @@ -9211,7 +9247,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -9238,11 +9274,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): @@ -9295,11 +9331,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): @@ -9366,7 +9402,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, @@ -9403,7 +9439,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): @@ -9437,11 +9473,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): @@ -9495,7 +9531,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -9524,11 +9560,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): @@ -9581,11 +9617,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): @@ -9652,7 +9688,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, @@ -9689,7 +9725,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): @@ -9723,11 +9759,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): @@ -9781,7 +9817,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -9807,11 +9843,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): @@ -9864,11 +9900,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): @@ -9935,7 +9971,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, @@ -9972,7 +10008,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): @@ -10006,11 +10042,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): @@ -10064,7 +10100,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -10096,11 +10132,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): @@ -10154,7 +10190,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -10191,10 +10227,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): @@ -10295,7 +10331,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): @@ -10327,10 +10363,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): @@ -10384,7 +10420,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}, @@ -10415,10 +10451,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): @@ -10472,7 +10508,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}, @@ -10494,10 +10530,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): @@ -10562,7 +10598,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, @@ -10599,7 +10635,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): @@ -10633,10 +10669,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): @@ -10690,7 +10726,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_off(self): """ @@ -10732,10 +10768,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): @@ -10791,10 +10827,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): @@ -10859,7 +10895,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, @@ -10896,7 +10932,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): @@ -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): @@ -10987,7 +11023,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_on(self): """ @@ -11037,10 +11073,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): @@ -11096,10 +11132,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): @@ -11164,7 +11200,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, @@ -11201,7 +11237,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 @@ -11236,10 +11272,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): @@ -11293,7 +11329,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') @@ -11327,10 +11363,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): @@ -11386,10 +11422,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): @@ -11454,7 +11490,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, @@ -11491,7 +11527,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 @@ -11526,10 +11562,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): @@ -11583,7 +11619,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') @@ -11617,10 +11653,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): @@ -11676,10 +11712,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): @@ -11744,7 +11780,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, @@ -11781,7 +11817,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 @@ -11816,10 +11852,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): @@ -11873,7 +11909,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') @@ -11907,10 +11943,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): @@ -11966,10 +12002,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): @@ -12034,7 +12070,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, @@ -12071,7 +12107,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 @@ -12106,10 +12142,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): @@ -12163,7 +12199,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') @@ -12197,10 +12233,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): @@ -12256,10 +12292,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): @@ -12324,7 +12360,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, @@ -12361,7 +12397,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 @@ -12396,10 +12432,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): @@ -12453,7 +12489,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_bbox(self): grid = tile_grid(4326) @@ -12488,10 +12524,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): @@ -12547,10 +12583,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): @@ -12615,7 +12651,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, @@ -12652,7 +12688,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 @@ -12687,10 +12723,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): @@ -12744,8 +12780,8 @@ During handling of the above exception, another exception occurred: -self = -caplog = <_pytest.logging.LogCaptureFixture object at 0xffff91923e30> +self = +caplog = <_pytest.logging.LogCaptureFixture object at 0xffffa06968a0> def test_no_image(self, caplog): try: @@ -12777,10 +12813,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): @@ -12836,10 +12872,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): @@ -12904,7 +12940,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, @@ -12941,7 +12977,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): @@ -12975,10 +13011,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): @@ -13032,7 +13068,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): @@ -13092,10 +13128,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): @@ -13149,7 +13185,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_cacheable_response(self): error_handler = HTTPSourceErrorHandler() @@ -13203,10 +13239,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): @@ -13264,10 +13300,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): @@ -13332,7 +13368,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, @@ -13369,7 +13405,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): @@ -13403,10 +13439,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): @@ -13460,7 +13496,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): @@ -13520,10 +13556,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): @@ -13577,7 +13613,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_image_response(self): error_handler = HTTPSourceErrorHandler() @@ -13631,10 +13667,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): @@ -13692,10 +13728,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): @@ -13760,7 +13796,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, @@ -13797,7 +13833,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): @@ -13831,10 +13867,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): @@ -13888,7 +13924,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): @@ -13948,10 +13984,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): @@ -14005,7 +14041,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_multiple_image_responses(self): error_handler = HTTPSourceErrorHandler() @@ -14069,10 +14105,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): @@ -14128,25 +14164,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 @@ -14215,9 +14232,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: 25 warnings +mapproxy/test/system/test_seed.py: 26 warnings mapproxy/test/system/test_util_export.py: 3 warnings - /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=776943) 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=1390845) 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 @@ -14260,9 +14277,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, 211 warnings in 64.52s (0:01:04) = += 30 failed, 1739 passed, 145 skipped, 2 xfailed, 212 warnings in 64.25s (0:01:04) = 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 I: pybuild pybuild:308: mkdir -p /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.13_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.13_mapproxy/build/mapproxy I: pybuild base:311: cd /build/reproducible-path/mapproxy-3.1.3+dfsg/.pybuild/cpython3_3.13_mapproxy/build; python3.13 -m pytest @@ -14413,7 +14428,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%] @@ -14429,12 +14444,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( @@ -14461,7 +14476,7 @@ ________________ TestUtilWMSCapabilities.test_service_exception ________________ -self = +self = def test_service_exception(self): self.args = [ @@ -14495,10 +14510,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): @@ -14563,7 +14578,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, @@ -14600,7 +14615,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 @@ -14635,10 +14650,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): @@ -14720,10 +14735,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): @@ -14777,7 +14792,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_capabilities(self): self.args = [ @@ -14825,10 +14840,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): @@ -14893,7 +14908,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, @@ -14930,7 +14945,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 @@ -14965,10 +14980,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): @@ -15050,10 +15065,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): @@ -15107,7 +15122,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_parse_130capabilities(self): self.args = [ @@ -15155,7 +15170,7 @@ mapproxy/script/wms_capabilities.py:123: SystemExit ____________________ TestUtilWMSCapabilities.test_key_error ____________________ -self = +self = def test_key_error(self): self.args = [ @@ -15184,10 +15199,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 0xffff8a982d40>.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 0xffff8244aa40>.getvalue mapproxy/test/system/test_util_wms_capabilities.py:182: AssertionError ----------------------------- Captured stdout call ----------------------------- @@ -15195,10 +15210,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): @@ -15263,7 +15278,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, @@ -15300,7 +15315,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 @@ -15335,10 +15350,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): @@ -15392,7 +15407,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): @@ -15426,10 +15441,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): @@ -15483,8 +15498,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: @@ -15524,10 +15539,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): @@ -15585,10 +15600,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): @@ -15653,7 +15668,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, @@ -15690,7 +15705,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 @@ -15725,10 +15740,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): @@ -15782,7 +15797,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): @@ -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: @@ -15915,10 +15930,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): @@ -15972,8 +15987,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: @@ -15997,10 +16012,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): @@ -16065,7 +16080,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, @@ -16102,7 +16117,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 @@ -16137,10 +16152,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): @@ -16194,7 +16209,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): @@ -16228,10 +16243,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): @@ -16285,10 +16300,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@') @@ -16338,10 +16353,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): @@ -16399,10 +16414,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): @@ -16467,7 +16482,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, @@ -16504,7 +16519,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 @@ -16539,10 +16554,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): @@ -16596,7 +16611,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): @@ -16630,10 +16645,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): @@ -16687,8 +16702,8 @@ During handling of the above exception, another exception occurred: -self = -client = +self = +client = def test_http_error_handler(self, client): error_handler = HTTPSourceErrorHandler() @@ -16753,10 +16768,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): @@ -16814,10 +16829,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): @@ -16882,7 +16897,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, @@ -16919,7 +16934,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): @@ -16953,10 +16968,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): @@ -17010,7 +17025,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'}, @@ -17035,10 +17050,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): @@ -17094,10 +17109,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): @@ -17162,7 +17177,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, @@ -17199,7 +17214,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): @@ -17233,10 +17248,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): @@ -17290,7 +17305,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'}, @@ -17315,10 +17330,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): @@ -17374,10 +17389,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): @@ -17442,7 +17457,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, @@ -17479,7 +17494,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): @@ -17513,10 +17528,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): @@ -17570,7 +17585,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -17596,10 +17611,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): @@ -17653,7 +17668,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_response(self): try: @@ -17687,10 +17702,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): @@ -17755,7 +17770,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, @@ -17792,7 +17807,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): @@ -17826,10 +17841,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): @@ -17883,7 +17898,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -17909,10 +17924,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): @@ -17966,7 +17981,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_internal_error_hide_error_details(self): try: @@ -18000,11 +18015,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): @@ -18071,7 +18086,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, @@ -18108,7 +18123,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): @@ -18142,11 +18157,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): @@ -18200,7 +18215,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -18227,11 +18242,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): @@ -18285,7 +18300,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -18317,11 +18332,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): @@ -18388,7 +18403,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, @@ -18425,7 +18440,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): @@ -18459,11 +18474,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): @@ -18517,7 +18532,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -18544,11 +18559,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): @@ -18601,11 +18616,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): @@ -18672,7 +18687,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, @@ -18709,7 +18724,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): @@ -18743,11 +18758,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): @@ -18801,7 +18816,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -18830,11 +18845,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): @@ -18887,11 +18902,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): @@ -18958,7 +18973,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, @@ -18995,7 +19010,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): @@ -19029,11 +19044,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): @@ -19087,7 +19102,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -19113,11 +19128,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): @@ -19170,11 +19185,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): @@ -19241,7 +19256,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, @@ -19278,7 +19293,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): @@ -19312,11 +19327,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): @@ -19370,7 +19385,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -19402,11 +19417,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): @@ -19460,7 +19475,7 @@ During handling of the above exception, another exception occurred: -self = +self = @pytest.mark.online @pytest.mark.flaky(reruns=5, reruns_delay=2) @@ -19497,10 +19512,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): @@ -19601,7 +19616,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): @@ -19633,10 +19648,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): @@ -19690,7 +19705,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}, @@ -19721,10 +19736,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): @@ -19778,7 +19793,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}, @@ -19800,10 +19815,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): @@ -19868,7 +19883,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, @@ -19905,7 +19920,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): @@ -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): @@ -19996,7 +20011,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_off(self): """ @@ -20038,10 +20053,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): @@ -20097,10 +20112,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): @@ -20165,7 +20180,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, @@ -20202,7 +20217,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): @@ -20236,10 +20251,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): @@ -20293,7 +20308,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_manage_cookies_on(self): """ @@ -20343,10 +20358,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): @@ -20402,10 +20417,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): @@ -20470,7 +20485,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, @@ -20507,7 +20522,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 @@ -20542,10 +20557,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): @@ -20599,7 +20614,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') @@ -20633,10 +20648,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): @@ -20692,10 +20707,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): @@ -20760,7 +20775,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, @@ -20797,7 +20812,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 @@ -20832,10 +20847,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): @@ -20889,7 +20904,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') @@ -20923,10 +20938,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): @@ -20982,10 +20997,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): @@ -21050,7 +21065,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, @@ -21087,7 +21102,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 @@ -21122,10 +21137,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): @@ -21179,7 +21194,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') @@ -21213,10 +21228,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): @@ -21272,10 +21287,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): @@ -21340,7 +21355,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, @@ -21377,7 +21392,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 @@ -21412,10 +21427,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): @@ -21469,7 +21484,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') @@ -21503,10 +21518,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): @@ -21562,10 +21577,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): @@ -21630,7 +21645,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, @@ -21667,7 +21682,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 @@ -21702,10 +21717,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): @@ -21759,7 +21774,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_bbox(self): grid = tile_grid(4326) @@ -21794,10 +21809,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): @@ -21853,10 +21868,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): @@ -21921,7 +21936,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, @@ -21958,7 +21973,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 @@ -21993,10 +22008,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): @@ -22050,8 +22065,8 @@ During handling of the above exception, another exception occurred: -self = -caplog = <_pytest.logging.LogCaptureFixture object at 0xffff8af6bb60> +self = +caplog = <_pytest.logging.LogCaptureFixture object at 0xffff82b9f8c0> def test_no_image(self, caplog): try: @@ -22083,10 +22098,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): @@ -22142,10 +22157,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): @@ -22210,7 +22225,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, @@ -22247,7 +22262,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): @@ -22281,10 +22296,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): @@ -22338,7 +22353,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): @@ -22398,10 +22413,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): @@ -22455,7 +22470,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_cacheable_response(self): error_handler = HTTPSourceErrorHandler() @@ -22509,10 +22524,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): @@ -22570,10 +22585,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): @@ -22638,7 +22653,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, @@ -22675,7 +22690,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): @@ -22709,10 +22724,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): @@ -22766,7 +22781,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): @@ -22826,10 +22841,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): @@ -22883,7 +22898,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_image_response(self): error_handler = HTTPSourceErrorHandler() @@ -22937,10 +22952,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): @@ -22998,10 +23013,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): @@ -23066,7 +23081,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, @@ -23103,7 +23118,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): @@ -23137,10 +23152,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): @@ -23194,7 +23209,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): @@ -23254,10 +23269,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): @@ -23311,7 +23326,7 @@ During handling of the above exception, another exception occurred: -self = +self = def test_multiple_image_responses(self): error_handler = HTTPSourceErrorHandler() @@ -23375,10 +23390,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): @@ -23434,25 +23449,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 @@ -23527,9 +23523,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: 28 warnings +mapproxy/test/system/test_seed.py: 26 warnings mapproxy/test/system/test_util_export.py: 3 warnings - /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=788741) 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=1398121) 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 @@ -23572,9 +23568,7 @@ FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_cacheable_response FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_image_response FAILED mapproxy/test/unit/test_tiled_source.py::TestTileClientOnError::test_multiple_image_responses -FAILED mapproxy/test/unit/test_times.py::test_timestamp_from_isodate - assert... -FAILED mapproxy/util/times.py::mapproxy.util.times.timestamp_from_isodate -= 32 failed, 1737 passed, 145 skipped, 2 xfailed, 365 warnings in 70.15s (0:01:10) = += 30 failed, 1739 passed, 145 skipped, 2 xfailed, 363 warnings in 62.52s (0:01:02) = 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 dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13 Ignoring test failures @@ -27586,12 +27580,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/1370048/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1370048/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/753067 and its subdirectories -I: Current time: Sat Feb 21 08:48:14 -12 2026 -I: pbuilder-time-stamp: 1771706894 +I: removing directory /srv/workspace/pbuilder/1370048 and its subdirectories +I: Current time: Sun Feb 22 10:52:23 +14 2026 +I: pbuilder-time-stamp: 1771707143