Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test fails on fedora36 with gdal 3.4 #47983

Closed
2 tasks
t0b3 opened this issue Mar 27, 2022 · 3 comments
Closed
2 tasks

test fails on fedora36 with gdal 3.4 #47983

t0b3 opened this issue Mar 27, 2022 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS testsuite Issue related to testsuite Upstream Needs changes in an upstream library (like Qt, Proj, GDAL, ...)

Comments

@t0b3
Copy link
Contributor

t0b3 commented Mar 27, 2022

What is the bug or the crash?

preparing #47887 on fedora 36 with gdal 3.4 the following test fails with:

FAIL!  : TestQgsGdalProvider::testGdalProviderQuerySublayersFastScan() '!res.at( 0 ).skippedContainerScan()' returned FALSE. ()
   Loc: [/root/QGIS/tests/src/core/testqgsgdalprovider.cpp(650)]

there are more errors logged however not failing the GVERIFY

ERROR 1: The transformation is already "north up" or a transformation between pixel/line and georeferenced coordinates cannot be computed for /var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/raster/rgb_with_mask.tif. There is no affine transformation and no GCPs. Specify transformation option SRC_METHOD=NO_GEOTRANSFORM to bypass this check.
PASS   : TestQgsGdalProvider::mask()
ERROR 1: The transformation is already "north up" or a transformation between pixel/line and georeferenced coordinates cannot be computed for /var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/raster/gtiff_tags.tif. There is no affine transformation and no GCPs. Specify transformation option SRC_METHOD=NO_GEOTRANSFORM to bypass this check.
PASS   : TestQgsGdalProvider::bandName()
PASS   : TestQgsGdalProvider::bandNameNoDescription()
ERROR 1: The transformation is already "north up" or a transformation between pixel/line and georeferenced coordinates cannot be computed for /var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/raster/gtiff_desc.tif. There is no affine transformation and no GCPs. Specify transformation option SRC_METHOD=NO_GEOTRANSFORM to bypass this check.
PASS   : TestQgsGdalProvider::bandNameWithDescription()
PASS   : TestQgsGdalProvider::interactionBetweenRasterChangeAndCache()
PASS   : TestQgsGdalProvider::scale0()
QWARN  : TestQgsGdalProvider::transformCoordinates() Logged warning: Creating Warped VRT.
PASS   : TestQgsGdalProvider::transformCoordinates()
Warning 1: The dataset has several variables that could be identified as vector fields, but not all share the same primary dimension. Consequently they will be ignored.
ERROR 1: The transformation is already "north up" or a transformation between pixel/line and georeferenced coordinates cannot be computed for NETCDF:"/var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/mesh/trap_steady_05_3D.nc":cell_node. There is no affine transformation and no GCPs. Specify transformation option SRC_METHOD=NO_GEOTRANSFORM to bypass this check.
Warning 1: The dataset has several variables that could be identified as vector fields, but not all share the same primary dimension. Consequently they will be ignored.
ERROR 1: The transformation is already "north up" or a transformation between pixel/line and georeferenced coordinates cannot be computed for NETCDF:"/var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/mesh/trap_steady_05_3D.nc":layerface_Z. There is no affine transformation and no GCPs. Specify transformation option SRC_METHOD=NO_GEOTRANSFORM to bypass this check.
Warning 1: The dataset has several variables that could be identified as vector fields, but not all share the same primary dimension. Consequently they will be ignored.
ERROR 1: The transformation is already "north up" or a transformation between pixel/line and georeferenced coordinates cannot be computed for NETCDF:"/var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/mesh/trap_steady_05_3D.nc":cell_node. There is no affine transformation and no GCPs. Specify transformation option SRC_METHOD=NO_GEOTRANSFORM to bypass this check.
Warning 1: The dataset has several variables that could be identified as vector fields, but not all share the same primary dimension. Consequently they will be ignored.
ERROR 1: The transformation is already "north up" or a transformation between pixel/line and georeferenced coordinates cannot be computed for NETCDF:"/var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/mesh/trap_steady_05_3D.nc":layerface_Z. There is no affine transformation and no GCPs. Specify transformation option SRC_METHOD=NO_GEOTRANSFORM to bypass this check.
Warning 1: Unable to save auxiliary information in /vsitar//var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/zip/testtar.tgz/folder/folder2/landsat_b2.tif.aux.xml.
Warning 1: Unable to save auxiliary information in /vsitar//var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/zip/testtar.tgz/landsat_b1.tif.aux.xml.
ERROR 1: Only read-only mode is supported for /vsitar
ERROR 1: Failed to write .vrt file in FlushCache(bool bAtClosing).
Warning 1: Unable to save auxiliary information in /vsitar//var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/zip/testtar.tgz/landsat_b1.tif.aux.xml.
Warning 1: Unable to save auxiliary information in /vsitar//var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/zip/testtar.tgz/folder/folder2/landsat_b2.tif.aux.xml.
Warning 1: Unable to save auxiliary information in /vsitar//var/tmp/portage/sci-geosciences/qgis-3.24.1/work/qgis-3.24.1/tests/testdata/zip/testtar.tgz/landsat_b1.tif.aux.xml.
PASS   : TestQgsGdalProvider::testGdalProviderQuerySublayers()

details see https://cdash.orfeo-toolbox.org/testDetails.php?test=35755199&build=94845

Steps to reproduce the issue

run tests on fedora36 with gdal 3.4
see ci pipeline of #47887

Versions

master

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

failing condition

QVERIFY( !res.at( 0 ).skippedContainerScan() );

@t0b3 t0b3 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Mar 27, 2022
t0b3 added a commit to t0b3/QGIS that referenced this issue Mar 29, 2022
@t0b3
Copy link
Contributor Author

t0b3 commented Mar 29, 2022

@Pedro-Murteira occurs even w/o grass. related to testsuite and upstream gdal.

@Pedro-Murteira Pedro-Murteira added testsuite Issue related to testsuite Upstream Needs changes in an upstream library (like Qt, Proj, GDAL, ...) labels Mar 29, 2022
@Pedro-Murteira
Copy link

@Pedro-Murteira occurs even w/o grass. related to testsuite and upstream gdal.

Thank you, I added those labels aswell.

@t0b3
Copy link
Contributor Author

t0b3 commented Apr 13, 2022

Closed by #48128

@t0b3 t0b3 closed this as completed Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS testsuite Issue related to testsuite Upstream Needs changes in an upstream library (like Qt, Proj, GDAL, ...)
Projects
None yet
Development

No branches or pull requests

2 participants