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 failures on armhf #338

Closed
sebastic opened this issue Jun 3, 2019 · 1 comment
Closed

Test failures on armhf #338

sebastic opened this issue Jun 3, 2019 · 1 comment
Labels
help wanted installation-issues Issue related to installation problems.

Comments

@sebastic
Copy link
Contributor

sebastic commented Jun 3, 2019

The Debian package build for pyproj 2.2.0 failed on armhf due to test failures:

I: pybuild base:217: cd /<<BUILDDIR>>/python-pyproj-2.2.0+ds/.pybuild/cpython2_2.7_pyproj/build; python2.7 -m pytest test
============================= test session starts ==============================
platform linux2 -- Python 2.7.16, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: /<<BUILDDIR>>/python-pyproj-2.2.0+ds, inifile:
plugins: cov-2.6.0
collected 195 items

test/test_awips221.py .                                                  [  0%]
test/test_crs.py ....................................................... [ 28%]
.....................................................                    [ 55%]
test/test_crs_cf.py ...............                                      [ 63%]
test/test_datadir.py .......                                             [ 67%]
test/test_datum.py .                                                     [ 67%]
test/test_datum_shift.py ....                                            [ 69%]
test/test_doctest_wrapper.py F                                           [ 70%]
test/test_exception_logging.py ..                                        [ 71%]
test/test_geod.py ..                                                     [ 72%]
test/test_list.py .....                                                  [ 74%]
test/test_pickle.py .                                                    [ 75%]
test/test_proj.py ....                                                   [ 77%]
test/test_transform.py .                                                 [ 77%]
test/test_transformer.py ...........................................     [100%]

=================================== FAILURES ===================================
________________________________ test_doctests _________________________________

    def test_doctests():
        failure_count = pyproj.test()
        # if the below line fails, doctests have failed
>       assert (
            failure_count == 0
        ), "{0} of the doctests in " "lib/pyproj/__init__.py failed".format(failure_count)
E       AssertionError: 6 of the doctests in lib/pyproj/__init__.py failed
E       assert 6 == 0

test/test_doctest_wrapper.py:12: AssertionError
----------------------------- Captured stdout call -----------------------------
**********************************************************************
File "pyproj/transformer.py", line 466, in pyproj.transformer.transform
Failed example:
    '%9.3f %11.3f' % (x1,y1)
Expected:
    '569704.566 4269024.671'
Got:
    '430295.434 -15726905.215'
**********************************************************************
File "pyproj/transformer.py", line 468, in pyproj.transformer.transform
Failed example:
    '%9.3f %11.3f' % (x2,y2)
Expected:
    '569722.342 4268814.028'
Got:
    '      inf         inf'
**********************************************************************
File "pyproj/transformer.py", line 470, in pyproj.transformer.transform
Failed example:
    '%8.3f %5.3f' % p2(x2,y2,inverse=True)
Expected:
    ' -92.200 38.567'
Got:
    '1000000000000000019884624838656.000 1000000000000000019884624838656.000'
**********************************************************************
File "pyproj/transformer.py", line 478, in pyproj.transformer.transform
Failed example:
    '%9.3f %9.3f %9.3f %11.3f %11.3f %11.3f' % xy
Expected:
    '567703.344 351730.944 728553.093 4298200.739 4353698.725 4292319.005'
Got:
    '432296.656 648269.056 271446.907 -15697729.147 -15642231.161 -15703610.881'
**********************************************************************
File "pyproj/transformer.py", line 481, in pyproj.transformer.transform
Failed example:
    '%9.3f %9.3f %9.3f %11.3f %11.3f %11.3f' % xy
Expected:
    '567721.149 351747.558 728569.133 4297989.112 4353489.645 4292106.305'
Got:
    '      inf       inf       inf         inf         inf         inf'
**********************************************************************
File "pyproj/transformer.py", line 485, in pyproj.transformer.transform
Failed example:
    '%8.3f %8.3f %8.3f %5.3f %5.3f %5.3f' % xy
Expected:
    ' -92.220  -94.720  -90.370 38.830 39.320 38.750'
Got:
    '1000000000000000019884624838656.000 1000000000000000019884624838656.000 1000000000000000019884624838656.000 1000000000000000019884624838656.000 1000000000000000019884624838656.000 1000000000000000019884624838656.000'
**********************************************************************
1 items had failures:
   6 of  32 in pyproj.transformer.transform
***Test Failed*** 6 failures.
==================== 1 failed, 194 passed in 29.07 seconds =====================
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /<<BUILDDIR>>/python-pyproj-2.2.0+ds/.pybuild/cpython2_2.7_pyproj/build; python2.7 -m pytest test

Full buildlog

@snowman2 snowman2 added installation-issues Issue related to installation problems. help wanted labels Jun 3, 2019
@snowman2
Copy link
Member

Closing due to #331.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted installation-issues Issue related to installation problems.
Projects
None yet
Development

No branches or pull requests

2 participants