Bug#1026733: pytroll-schedule: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 3.10" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Dec 20 17:29:48 GMT 2022


Source: pytroll-schedule
Version: 0.6.0-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py config 
> running config
> I: pybuild base:240: python3.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.11 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/graph.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/drawing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/compare.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/satpass.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/spherical.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/schedule.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/helper_functions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/boundary.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/combine.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> copying trollsched/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched/tests
> copying trollsched/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched/tests
> copying trollsched/tests/test_schedule.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched/tests
> copying trollsched/tests/test_satpass.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched/tests
> copying trollsched/tests/test_spherical.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/trollsched/tests
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/graph.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/drawing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/compare.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/satpass.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/spherical.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/schedule.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/helper_functions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/boundary.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/combine.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> copying trollsched/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched/tests
> copying trollsched/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched/tests
> copying trollsched/tests/test_schedule.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched/tests
> copying trollsched/tests/test_satpass.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched/tests
> copying trollsched/tests/test_spherical.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/trollsched/tests
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest /<<PKGBUILDDIR>>/trollsched/tests
> ============================= test session starts ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 39 items
> 
> ../../../trollsched/tests/test_satpass.py ......                         [ 15%]
> ../../../trollsched/tests/test_schedule.py ..........                    [ 41%]
> ../../../trollsched/tests/test_spherical.py F......................      [100%]
> 
> =================================== FAILURES ===================================
> ________________________ TestSCoordinate.test_distance _________________________
> 
> self = <trollsched.tests.test_spherical.TestSCoordinate testMethod=test_distance>
> 
>     def test_distance(self):
>         """Test Vincenty formula
>         """
>         d = SCoordinate(0, 0).distance(SCoordinate(1, 1))
> >       self.assertEquals(d, 1.2745557823062943)
> E       AssertionError: 1.2745557823062945 != 1.2745557823062943
> 
> ../../../trollsched/tests/test_spherical.py:40: AssertionError
> =============================== warnings summary ===============================
> trollsched/tests/test_satpass.py: 12 warnings
>   /usr/lib/python3/dist-packages/pyresample/boundary.py:124: PendingDeprecationWarning: 'AreaDefBoundary' will be removed in the future. Use the Swath/AreaDefinition 'boundary' method instead!.
>     warnings.warn("'AreaDefBoundary' will be removed in the future. " +
> 
> trollsched/tests/test_schedule.py::TestTools::test_conflicting_passes
>   /<<PKGBUILDDIR>>/trollsched/tests/test_schedule.py:90: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(
> 
> trollsched/tests/test_schedule.py::TestTools::test_conflicting_passes
>   /<<PKGBUILDDIR>>/trollsched/tests/test_schedule.py:92: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(
> 
> trollsched/tests/test_schedule.py::TestUtils::test_fermi
>   /<<PKGBUILDDIR>>/trollsched/tests/test_schedule.py:148: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(fermia(0.25), 0.875)
> 
> trollsched/tests/test_schedule.py::TestUtils::test_fermi
>   /<<PKGBUILDDIR>>/trollsched/tests/test_schedule.py:149: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(fermib(0.25), 0.5)
> 
> trollsched/tests/test_spherical.py::TestSCoordinate::test_distance
>   /<<PKGBUILDDIR>>/trollsched/tests/test_spherical.py:40: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(d, 1.2745557823062943)
> 
> trollsched/tests/test_spherical.py::TestArc::test_intersection
>   /<<PKGBUILDDIR>>/trollsched/tests/test_spherical.py:205: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(arc1.intersection(arc2), inter)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED ../../../trollsched/tests/test_spherical.py::TestSCoordinate::test_distance
> ================== 1 failed, 38 passed, 18 warnings in 39.57s ==================
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest /<<PKGBUILDDIR>>/trollsched/tests
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest /<<PKGBUILDDIR>>/trollsched/tests
> ============================= test session starts ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 39 items
> 
> ../../../trollsched/tests/test_satpass.py ......                         [ 15%]
> ../../../trollsched/tests/test_schedule.py ..........                    [ 41%]
> ../../../trollsched/tests/test_spherical.py F......................      [100%]
> 
> =================================== FAILURES ===================================
> ________________________ TestSCoordinate.test_distance _________________________
> 
> self = <trollsched.tests.test_spherical.TestSCoordinate testMethod=test_distance>
> 
>     def test_distance(self):
>         """Test Vincenty formula
>         """
>         d = SCoordinate(0, 0).distance(SCoordinate(1, 1))
> >       self.assertEquals(d, 1.2745557823062943)
> E       AssertionError: 1.2745557823062945 != 1.2745557823062943
> 
> ../../../trollsched/tests/test_spherical.py:40: AssertionError
> =============================== warnings summary ===============================
> trollsched/tests/test_satpass.py: 12 warnings
>   /usr/lib/python3/dist-packages/pyresample/boundary.py:124: PendingDeprecationWarning: 'AreaDefBoundary' will be removed in the future. Use the Swath/AreaDefinition 'boundary' method instead!.
>     warnings.warn("'AreaDefBoundary' will be removed in the future. " +
> 
> trollsched/tests/test_schedule.py::TestTools::test_conflicting_passes
>   /<<PKGBUILDDIR>>/trollsched/tests/test_schedule.py:90: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(
> 
> trollsched/tests/test_schedule.py::TestTools::test_conflicting_passes
>   /<<PKGBUILDDIR>>/trollsched/tests/test_schedule.py:92: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(
> 
> trollsched/tests/test_schedule.py::TestUtils::test_fermi
>   /<<PKGBUILDDIR>>/trollsched/tests/test_schedule.py:148: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(fermia(0.25), 0.875)
> 
> trollsched/tests/test_schedule.py::TestUtils::test_fermi
>   /<<PKGBUILDDIR>>/trollsched/tests/test_schedule.py:149: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(fermib(0.25), 0.5)
> 
> trollsched/tests/test_spherical.py::TestSCoordinate::test_distance
>   /<<PKGBUILDDIR>>/trollsched/tests/test_spherical.py:40: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(d, 1.2745557823062943)
> 
> trollsched/tests/test_spherical.py::TestArc::test_intersection
>   /<<PKGBUILDDIR>>/trollsched/tests/test_spherical.py:205: DeprecationWarning: Please use assertEqual instead.
>     self.assertEquals(arc1.intersection(arc2), inter)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED ../../../trollsched/tests/test_spherical.py::TestSCoordinate::test_distance
> ================== 1 failed, 38 passed, 18 warnings in 43.95s ==================
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest /<<PKGBUILDDIR>>/trollsched/tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 3.10" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/pytroll-schedule_0.6.0-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&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 mark 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