Bug#1020074: rasterio: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:40:21 BST 2022


Source: rasterio
Version: 1.3.2-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test
> I: pybuild pybuild:300: cp -r /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rasterio/build
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rasterio/build; python3.10 -m pytest --ignore tests/test_env.py --ignore tests/test_io.py --ignore tests/test_merge.py --ignore tests/test_rio_blocks.py --ignore tests/test_rio_bounds.py --ignore tests/test_rio_calc.py --ignore tests/test_rio_clip.py --ignore tests/test_rio_convert.py --ignore tests/test_rio_edit_info.py --ignore tests/test_rio_gcp.py --ignore tests/test_rio_helpers.py --ignore tests/test_rio_info.py --ignore tests/test_rio_insp.py --ignore tests/test_rio_main.py --ignore tests/test_rio_mask.py --ignore tests/test_rio_merge.py --ignore tests/test_rio_options.py --ignore tests/test_rio_overview.py --ignore tests/test_rio_rasterize.py --ignore tests/test_rio_rm.py --ignore tests/test_rio_sample.py --ignore tests/test_rio_shapes.py --ignore tests/test_rio_stack.py --ignore tests/test_rio_warp.py --ignore tests/test_session.py --ignore tests/test_warpedvrt.py
> Test data present.
> ============================= test session starts ==============================
> platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: pyproject.toml
> plugins: hypothesis-6.36.0
> collected 1209 items
> 
> tests/test__env.py .................                                     [  1%]
> tests/test__version.py .....                                             [  1%]
> tests/test_band.py .                                                     [  1%]
> tests/test_band_masks.py ...........                                     [  2%]
> tests/test_blocks.py .......................                             [  4%]
> tests/test_boundless_read.py .XX...X..XX.                                [  5%]
> tests/test_checksum.py ......                                            [  6%]
> tests/test_cli_main.py ..                                                [  6%]
> tests/test_colorinterp.py .....xx...............                         [  8%]
> tests/test_colormap.py ..                                                [  8%]
> tests/test_complex_dtypes.py .....                                       [  8%]
> tests/test_coords.py ......                                              [  9%]
> tests/test_creation_options.py .                                         [  9%]
> tests/test_crs.py ...................................................... [ 13%]
> .............................................................            [ 18%]
> tests/test_data_paths.py ..                                              [ 19%]
> tests/test_dataset.py ....................                               [ 20%]
> tests/test_dataset_mask.py ............                                  [ 21%]
> tests/test_dataset_rw.py ...                                             [ 21%]
> tests/test_deprecated.py .                                               [ 22%]
> tests/test_descriptions.py ....                                          [ 22%]
> tests/test_driver_management.py ....                                     [ 22%]
> tests/test_driver_policy.py ..                                           [ 22%]
> tests/test_dtypes.py ..........................                          [ 24%]
> tests/test_enums.py ...........                                          [ 25%]
> tests/test_err.py .....x                                                 [ 26%]
> tests/test_features.py ................................................. [ 30%]
> ..........................s..X.........................................  [ 36%]
> tests/test_filepath.py ...........xx.                                    [ 37%]
> tests/test_fillnodata.py ....                                            [ 37%]
> tests/test_gcps.py .........                                             [ 38%]
> tests/test_gdal_raster_io.py ...................................         [ 41%]
> tests/test_image_structure.py ...............                            [ 42%]
> tests/test_indexing.py .....................                             [ 44%]
> tests/test_int8.py XX...                                                 [ 44%]
> tests/test_io_mixins.py .....                                            [ 45%]
> tests/test_mask.py .......................                               [ 47%]
> tests/test_mask_creation.py .....                                        [ 47%]
> tests/test_memoryfile.py ............................                    [ 49%]
> tests/test_meta.py ..                                                    [ 50%]
> tests/test_no_georef.py ..                                               [ 50%]
> tests/test_nodata.py ......                                              [ 50%]
> tests/test_open.py ......                                                [ 51%]
> tests/test_open_options.py ...                                           [ 51%]
> tests/test_open_overview_level.py .                                      [ 51%]
> tests/test_open_sharing.py ..                                            [ 51%]
> tests/test_options.py .                                                  [ 51%]
> tests/test_overviews.py ..............                                   [ 52%]
> tests/test_pad.py .                                                      [ 53%]
> tests/test_path.py .................................................     [ 57%]
> tests/test_plot.py ssssssssssssssssss..                                  [ 58%]
> tests/test_png.py .                                                      [ 58%]
> tests/test_process_pool_executor.py ..                                   [ 58%]
> tests/test_profile.py ..................                                 [ 60%]
> tests/test_read.py .......................                               [ 62%]
> tests/test_read_boundless.py .............x                              [ 63%]
> tests/test_read_dtype.py ....                                            [ 63%]
> tests/test_read_resample.py ........                                     [ 64%]
> tests/test_reshape_image.py ...                                          [ 64%]
> tests/test_revolvingdoor.py .                                            [ 64%]
> tests/test_rpcs.py ......                                                [ 65%]
> tests/test_sampling.py .........                                         [ 66%]
> tests/test_scale_offset.py ........                                      [ 66%]
> tests/test_show_versions.py ....                                         [ 67%]
> tests/test_shutil.py .................                                   [ 68%]
> tests/test_subdatasets.py s                                              [ 68%]
> tests/test_tag_item.py ...                                               [ 68%]
> tests/test_tag_ns.py .                                                   [ 68%]
> tests/test_tags.py .....                                                 [ 69%]
> tests/test_thread_pool_executor.py ..                                    [ 69%]
> tests/test_threading.py ....                                             [ 69%]
> tests/test_tools.py ..                                                   [ 69%]
> tests/test_transform.py ................................................ [ 73%]
> .............                                                            [ 75%]
> tests/test_units.py ....                                                 [ 75%]
> tests/test_update.py ........                                            [ 76%]
> tests/test_vrt.py ..                                                     [ 76%]
> tests/test_warnings.py .....                                             [ 76%]
> tests/test_warp.py ..................................................... [ 80%]
> ...................................................x.xxxx............... [ 86%]
> .....................F                                                   [ 88%]
> tests/test_warp_transform.py ........................                    [ 90%]
> tests/test_windows.py .................................................. [ 94%]
> ...............                                                          [ 96%]
> tests/test_windows_mixins.py ......                                      [ 96%]
> tests/test_write.py .......................................s.            [100%]
> 
> =================================== FAILURES ===================================
> ______________________________ test_issue2353bis _______________________________
> 
> caplog = <_pytest.logging.LogCaptureFixture object at 0x7fdc50a4ef80>
> 
>     @pytest.mark.skipif(
>         not gdal_version.at_least('3.4'),
>         reason="Requires GDAL 3.4.x")
>     def test_issue2353bis(caplog):
>         """Errors left by a successful transformation are cleaned up."""
>         caplog.set_level(logging.INFO)
>         bounds = [458872.4197335826, -2998046.478919534, 584059.8115540259, -2883810.102037343]
>         with rasterio.Env():
>             transform_bounds("EPSG:6931", "EPSG:4326", *bounds)
> >           assert "Point outside of" in caplog.text
> E           AssertionError: assert 'Point outside of' in ''
> E            +  where '' = <_pytest.logging.LogCaptureFixture object at 0x7fdc50a4ef80>.text
> 
> tests/test_warp.py:2108: AssertionError
> ------------------------------ Captured log call -------------------------------
> DEBUG    rasterio._env:env.py:317 GDAL data files are available at built-in paths.
> DEBUG    rasterio._env:env.py:317 PROJ data files are available at built-in paths.
> DEBUG    rasterio._env:env.py:317 Started GDALEnv: self=<rasterio._env.GDALEnv object at 0x7fdc50a4d450>.
> DEBUG    rasterio._env:env.py:353 Stopped GDALEnv <rasterio._env.GDALEnv object at 0x7fdc50a4d450>.
> =============================== warnings summary ===============================
> rasterio/path.py:15
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rasterio/build/rasterio/path.py:15: RasterioDeprecationWarning: rasterio.path will be removed in version 1.4.
>     warnings.warn(
> 
> rasterio/__init__.py:277: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_blocks.py: 5 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_boundless_read.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_crs.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_dataset_rw.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_dtypes.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_gdal_raster_io.py: 14 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_mask_creation.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_no_georef.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_open_options.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_overviews.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_read.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_rpcs.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_tags.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_write.py: 5 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rasterio/build/rasterio/__init__.py:277: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix will be returned.
>     dataset = DatasetReader(path, driver=driver, sharing=sharing, **kwargs)
> 
> .pybuild/cpython3_3.10_rasterio/build/tests/test_blocks.py: 5 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_complex_dtypes.py: 3 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_creation_options.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_dataset_rw.py: 2 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_descriptions.py: 4 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_dtypes.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_gdal_raster_io.py: 35 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_no_georef.py: 2 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_png.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_profile.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_rpcs.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_scale_offset.py: 8 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_tags.py: 3 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_units.py: 4 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_warp.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_write.py: 22 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rasterio/build/rasterio/__init__.py:287: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix will be returned.
>     dataset = writer(
> 
> .pybuild/cpython3_3.10_rasterio/build/tests/test_boundless_read.py::test_issue2382
> .pybuild/cpython3_3.10_rasterio/build/tests/test_memoryfile.py::test_write_rpcs_to_memfile
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rasterio/build/rasterio/io.py:140: NotGeoreferencedWarning: The given matrix is equal to Affine.identity or its flipped counterpart. GDAL may ignore this matrix and save no geotransform without raising an error. This behavior is somewhat driver-specific.
>     return writer(mempath, 'w+', driver=driver, width=width,
> 
> .pybuild/cpython3_3.10_rasterio/build/tests/test_dataset.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_features.py: 7 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_mask.py: 21 warnings
> .pybuild/cpython3_3.10_rasterio/build/tests/test_no_georef.py: 1 warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_write.py: 2 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rasterio/build/rasterio/__init__.py:287: NotGeoreferencedWarning: The given matrix is equal to Affine.identity or its flipped counterpart. GDAL may ignore this matrix and save no geotransform without raising an error. This behavior is somewhat driver-specific.
>     dataset = writer(
> 
> .pybuild/cpython3_3.10_rasterio/build/tests/test_nodata.py::test_set_mem_inf_nodata
> .pybuild/cpython3_3.10_rasterio/build/tests/test_nodata.py::test_set_mem_nan_nodata
> .pybuild/cpython3_3.10_rasterio/build/tests/test_warnings.py::test_notgeoref_warning
> .pybuild/cpython3_3.10_rasterio/build/tests/test_warnings.py::test_no_notgeoref_warning[None-gcps1-None]
> .pybuild/cpython3_3.10_rasterio/build/tests/test_warnings.py::test_no_notgeoref_warning[None-None-rpcs2]
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rasterio/build/rasterio/io.py:140: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix will be returned.
>     return writer(mempath, 'w+', driver=driver, width=width,
> 
> .pybuild/cpython3_3.10_rasterio/build/tests/test_warnings.py::test_no_notgeoref_warning[transform0-None-None]
> .pybuild/cpython3_3.10_rasterio/build/tests/test_warnings.py::test_no_notgeoref_warning[None-gcps1-None]
> .pybuild/cpython3_3.10_rasterio/build/tests/test_warnings.py::test_no_notgeoref_warning[None-None-rpcs2]
>   /usr/lib/python3/dist-packages/_pytest/python.py:192: PytestRemovedIn8Warning: Passing None has been deprecated.
>   See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases.
>     result = testfunction(**testargs)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_warp.py::test_issue2353bis - AssertionError: assert 'Point ...
> = 1 failed, 1168 passed, 21 skipped, 11 xfailed, 8 xpassed, 173 warnings in 30.71s =
> E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_rasterio/build; python3.10 -m pytest --ignore tests/test_env.py --ignore tests/test_io.py --ignore tests/test_merge.py --ignore tests/test_rio_blocks.py --ignore tests/test_rio_bounds.py --ignore tests/test_rio_calc.py --ignore tests/test_rio_clip.py --ignore tests/test_rio_convert.py --ignore tests/test_rio_edit_info.py --ignore tests/test_rio_gcp.py --ignore tests/test_rio_helpers.py --ignore tests/test_rio_info.py --ignore tests/test_rio_insp.py --ignore tests/test_rio_main.py --ignore tests/test_rio_mask.py --ignore tests/test_rio_merge.py --ignore tests/test_rio_options.py --ignore tests/test_rio_overview.py --ignore tests/test_rio_rasterize.py --ignore tests/test_rio_rm.py --ignore tests/test_rio_sample.py --ignore tests/test_rio_shapes.py --ignore tests/test_rio_stack.py --ignore tests/test_rio_warp.py --ignore tests/test_session.py --ignore tests/test_warpedvrt.py
> dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/rasterio_1.3.2-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-grass-devel mailing list