Skip to content

Failing msautotests following update to Ubuntu 24.04 #7243

Open

Description

@geographika

The following tests need to be reviewed, as their output differs considerably when moving from Ubuntu 20.04 to 24.04 (see #7242):

  • SVG symbol
    # RUN_PARMS: wms_get_map_symbol_ext_svg_sld.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-68.125,42,-58.375,48.5&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=200&STYLES=&LAYERS=popplace&sld_body=<StyledLayerDescriptor version=%221.0.0%22><NamedLayer><Name>Popplace</Name><UserStyle><Title>xxx</Title><FeatureTypeStyle><Rule><PointSymbolizer><Geometry><PropertyName>locatedAt</PropertyName></Geometry><Graphic><ExternalGraphic><OnlineResource xlink:type=%22simple%22 xlink:href=%22../misc/data/Road_Works.svg%22/><Format>GIF</Format></ExternalGraphic><Size>10.0</Size></Graphic></PointSymbolizer></Rule></FeatureTypeStyle></UserStyle></NamedLayer></StyledLayerDescriptor>" > [RESULT_DEMIME]
    ea44e50
  • SVG symbol
    # RUN_PARMS: point_svg.svg [MAP2IMG] -m [MAPFILE] -i svg -o [RESULT]
    c66ef57
  • SVG symbols missing - 8fd9eb8
  • SVG symbol size differences bd72534
  • Modified extent (not tiny differences like other cases): 33a844b

Activity

  1. geographika commented on Mar 6, 2025

    @geographika
    MemberAuthor

    As noted in #7250 generated zips don't seem to match their reference output and change on each run. These are currently excluded with a TO_FIX instead of RUN_PARAMS.

     - wxs/run_test.py:41 test[wfs_ogr_wfsogr10_csvzip_zip]
     - wxs/run_test.py:41 test[wfs_ogr_wfsogr10_shapezip_zip_with_headers]
     - wxs/run_test.py:41 test[wfs_ogr_wfsogr10_shapezipmem_zip_with_headers]
     - wxs/run_test.py:41 test[wfs_ogr_wfsogr_addfiles_onelayer_zip]
     - wxs/run_test.py:41 test[wms_simple_kml_wms_get_map_polygon_kmz]
    
  2. msmitherdc commented on Mar 6, 2025

    @msmitherdc
    Contributor

    @geographika could the zip issues be due to compression on the zip files? Maybe just have them be STOR compression to eliminate that?

  3. rouault commented on Mar 6, 2025

    @rouault
    Contributor
  4. geographika commented on Mar 6, 2025

    @geographika
    MemberAuthor

    Thanks both for the suggestions.

    @msmitherdc - is it possible to set the compression on an OUTPUTFORMAT? I tried the following (although could find nothing documenting this), but file outputs were the same (but with differences):

      NAME "SHAPEZIP"
      DRIVER "OGR/ESRI Shapefile"
      MIMETYPE "application/shapefile"
      FORMATOPTION "STORAGE=filesystem"
      FORMATOPTION "FORM=zip"
      FORMATOPTION "FILENAME=result.zip"
      FORMATOPTION "LCO:DBF_DATE_LAST_UPDATE=2018-06-18"
    
      # tried adding the following
      FORMATOPTION "COMPRESS=STOR"
    END
    

    @rouault - a changing timestamp would explain the exact same file size but different content. Is this something that can be set as a FORMATOPTION currently (as with the LCO:DBF_DATE_LAST_UPDATE), or it needs to be read from the Mapfile and code updated to pass it to that function?

  5. rouault commented on Mar 6, 2025

    @rouault
    Contributor

    or it needs to be read from the Mapfile and code updated to pass it to that function?

    yes that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions