[Git][debian-gis-team/mapproxy][master] Update xfail.patch with tests failing on s390x.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sat Mar 22 17:29:27 GMT 2025



Bas Couwenberg pushed to branch master at Debian GIS Project / mapproxy


Commits:
815299aa by Bas Couwenberg at 2025-03-22T18:29:18+01:00
Update xfail.patch with tests failing on s390x.

- - - - -


2 changed files:

- debian/changelog
- debian/patches/xfail.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+mapproxy (4.0.0+dfsg-2) UNRELEASED; urgency=medium
+
+  * Update xfail.patch with tests failing on s390x.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 22 Mar 2025 18:28:25 +0100
+
 mapproxy (4.0.0+dfsg-1) unstable; urgency=medium
 
   * Update xfail.patch with tests failing in reprotest.


=====================================
debian/patches/xfail.patch
=====================================
@@ -22,7 +22,15 @@ Forwarded: not-needed
      def test_direct_layer_non_image_response(self, app):
          self.common_map_req.params["layers"] = "direct"
          expected_req = (
-@@ -987,6 +988,7 @@ class TestWMS110(SysTest):
+@@ -414,6 +415,7 @@ class TestWMS111(SysTest):
+ 
+             assert validate_with_dtd(xml, "wms/1.1.1/exception_1_1_1.dtd")
+ 
++    @pytest.mark.xfail(strict=False, reason="RequestsMismatchError")
+     def test_get_map_non_image_response(self, app, cache_dir):
+         expected_req = (
+             {
+@@ -987,6 +989,7 @@ class TestWMS110(SysTest):
          assert "No response from URL" in xml.xpath("//ServiceException/text()")[0]
          assert validate_with_dtd(xml, "wms/1.1.0/exception_1_1_0.dtd")
  
@@ -30,7 +38,7 @@ Forwarded: not-needed
      @pytest.mark.flaky(reruns=5, reruns_delay=2)
      def test_get_map(self, app, cache_dir):
          with tmp_image((256, 256), format="jpeg") as img:
-@@ -1238,6 +1240,7 @@ class TestWMS100(SysTest):
+@@ -1238,6 +1241,7 @@ class TestWMS100(SysTest):
          xml = resp.lxml
          assert "No response from URL" in xml.xpath("//WMTException/text()")[0]
  
@@ -38,7 +46,7 @@ Forwarded: not-needed
      @pytest.mark.flaky(reruns=5, reruns_delay=2)
      def test_get_map(self, app, cache_dir):
          with tmp_image((256, 256), format="jpeg") as img:
-@@ -1473,6 +1476,7 @@ class TestWMS130(SysTest):
+@@ -1473,6 +1477,7 @@ class TestWMS130(SysTest):
          )
          assert validate_with_xsd(xml, xsd_name="wms/1.3.0/exceptions_1_3_0.xsd")
  
@@ -125,3 +133,21 @@ Forwarded: not-needed
  
  def parse_httpdate(date):
      date = parsedate(date)
+--- a/mapproxy/test/unit/test_image.py
++++ b/mapproxy/test/unit/test_image.py
+@@ -324,6 +324,7 @@ class TestMergeAll(object):
+         assert img.size == (300, 300)
+         assert img.getcolors() == [(80000, (255, 255, 255)), (10000, (0, 0, 0))]
+ 
++    @pytest.mark.xfail(strict=False, reason="Fails on s390x")
+     def test_invalid_tile(self):
+         self.cleanup_tiles = [create_tmp_image_file((100, 100)) for _ in range(9)]
+         self.tiles = [ImageSource(tile) for tile in self.cleanup_tiles]
+@@ -743,6 +744,7 @@ class TestMakeTransparent(object):
+         colors = img.getcolors()
+         assert colors == [(1600, (130, 140, 120, 255)), (900, (130, 150, 120, 0))]
+ 
++    @pytest.mark.xfail(strict=False, reason="Fails on s390x")
+     def test_no_match(self):
+         img = self._make_test_image()
+         img = make_transparent(img, (130, 160, 120), tolerance=5)



View it on GitLab: https://salsa.debian.org/debian-gis-team/mapproxy/-/commit/815299aa36034c7e5ee2d825b36c0e9ff95e42d0

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/mapproxy/-/commit/815299aa36034c7e5ee2d825b36c0e9ff95e42d0
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20250322/ff768c8c/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list