ITADN

Test failures on i386

#306Opensebastic 创建于 2025-10-21
S
sebasticcommented
The Debian package build for 4.2.0 failed due to test failures: ``` =================================== FAILURES =================================== ________________________ test_simple_update_no_windback ________________________ runner = <function runner.<locals>._run at 0xef2de488> test_data = <function test_data.<locals>._mkfile at 0xef2d76b8> def test_simple_update_no_windback(runner, test_data): outfile = test_data("n1 v1 t2070-05-06T19:30:00Z") > assert 0 == runner('--wind-back', 0, outfile) E AssertionError: assert 0 == 3 E + where 3 = <function runner.<locals>._run at 0xef2de488>('--wind-back', 0, '/tmp/pytest-of-sbuild/pytest-0/test_simple_update_no_windback0/2b3c76bf-06e4-4d9f-a07e-95322b52a5cd.opl') test/test_pyosmium_up-to-date.py:61: AssertionError ------------------------------ Captured log call ------------------------------- INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/000.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/070.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/105.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/052.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/078.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/091.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/098.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/101.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/050.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/075.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/088.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/094.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/097.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/099.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/100.state.txt HTTP/1.1" 200 - ERROR root:pyosmium_up_to_date.py:94 No starting point found for time 1969-12-31 23:59:59+00:00 on server http://localhost:36151/ _________________________ test_simple_update_override __________________________ runner = <function runner.<locals>._run at 0xef2de398> test_data = <function test_data.<locals>._mkfile at 0xef3e8a28> def test_simple_update_override(runner, test_data): outfile = test_data("n1 v1 t2070-05-06T19:30:00Z") > assert 0 == runner(outfile) E AssertionError: assert 0 == 3 E + where 3 = <function runner.<locals>._run at 0xef2de398>('/tmp/pytest-of-sbuild/pytest-0/test_simple_update_override0/28b6c641-2b47-458c-8bd8-3a98b1d87648.opl') test/test_pyosmium_up-to-date.py:73: AssertionError ------------------------------ Captured log call ------------------------------- INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/000.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/070.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/105.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/052.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/078.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/091.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/098.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/101.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/050.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/075.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/088.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/094.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/097.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/099.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/100.state.txt HTTP/1.1" 200 - ERROR root:pyosmium_up_to_date.py:94 No starting point found for time 1969-12-31 22:59:59+00:00 on server http://localhost:36151/ _________________________ test_simple_update_new_file __________________________ runner = <function runner.<locals>._run at 0xef2ca208> replication_server = 'http://localhost:36151/' test_data = <function test_data.<locals>._mkfile at 0xef2d72a8> tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_simple_update_new_file0') def test_simple_update_new_file(runner, replication_server, test_data, tmp_path): outfile = test_data("n1 v1 t2070-05-06T19:30:00Z") newfile = tmp_path / f"{uuid.uuid4()}.pbf" > assert 0 == runner('-o', str(newfile), outfile) E AssertionError: assert 0 == 3 E + where 3 = <function runner.<locals>._run at 0xef2ca208>('-o', '/tmp/pytest-of-sbuild/pytest-0/test_simple_update_new_file0/c5d5373e-6b99-4e50-b9ec-9f066024fa3b.pbf', '/tmp/pytest-of-sbuild/pytest-0/test_simple_update_new_file0/9054683f-b927-47eb-aedc-919464b6a35e.opl') E + where '/tmp/pytest-of-sbuild/pytest-0/test_simple_update_new_file0/c5d5373e-6b99-4e50-b9ec-9f066024fa3b.pbf' = str(PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_simple_update_new_file0/c5d5373e-6b99-4e50-b9ec-9f066024fa3b.pbf')) test/test_pyosmium_up-to-date.py:86: AssertionError ------------------------------ Captured log call ------------------------------- INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/000.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/070.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/105.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/052.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/078.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/091.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/098.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/101.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/050.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/075.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/088.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/094.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/097.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/099.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/100.state.txt HTTP/1.1" 200 - ERROR root:pyosmium_up_to_date.py:94 No starting point found for time 1969-12-31 22:59:59+00:00 on server http://localhost:36151/ ____________________________ test_update_sequences _____________________________ runner = <function runner.<locals>._run at 0xef2ca168> test_data = <function test_data.<locals>._mkfile at 0xef3c7078> tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_update_sequences0') def test_update_sequences(runner, test_data, tmp_path): outfile = test_data("n1 v1 t2070-05-05T10:30:00Z") newfile = tmp_path / f"{uuid.uuid4()}.pbf" > assert 0 == runner('--end-id', '110', '-o', str(newfile), outfile) E AssertionError: assert 0 == 3 E + where 3 = <function runner.<locals>._run at 0xef2ca168>('--end-id', '110', '-o', '/tmp/pytest-of-sbuild/pytest-0/test_update_sequences0/c369319e-69a5-4ede-8ff6-626b73f558a0.pbf', '/tmp/pytest-of-sbuild/pytest-0/test_update_sequences0/cfd18c32-c0b5-49b4-98f9-dab4948dbf0a.opl') E + where '/tmp/pytest-of-sbuild/pytest-0/test_update_sequences0/c369319e-69a5-4ede-8ff6-626b73f558a0.pbf' = str(PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_update_sequences0/c369319e-69a5-4ede-8ff6-626b73f558a0.pbf')) test/test_pyosmium_up-to-date.py:110: AssertionError ------------------------------ Captured log call ------------------------------- INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/000.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/070.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/105.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/052.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/078.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/091.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/098.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/101.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/050.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/075.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/088.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/094.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/097.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/099.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/100.state.txt HTTP/1.1" 200 - ERROR root:pyosmium_up_to_date.py:94 No starting point found for time 1969-12-31 22:59:59+00:00 on server http://localhost:36151/ _____________________ test_update_with_endid[107-None-107] _____________________ test_data = <function test_data.<locals>._mkfile at 0xef3c71b8> runner = <function runner.<locals>._run at 0xef2ca578>, end_id = 107 max_size = None, actual_end = 107 @pytest.mark.parametrize('end_id,max_size,actual_end', [(107, None, 107), (None, 1, 108), (105, 1, 105), (110, 1, 108)]) def test_update_with_endid(test_data, runner, end_id, max_size, actual_end): outfile = test_data("n1 v1 t2070-05-05T06:30:00Z") params = [outfile] if end_id is not None: params.extend(('--end-id', end_id)) if max_size is not None: params.extend(('-s', max_size)) > assert (0 if end_id == actual_end else 1) == runner(*params) E AssertionError: assert 0 == 3 E + where 3 = <function runner.<locals>._run at 0xef2ca578>(*['/tmp/pytest-of-sbuild/pytest-0/test_update_with_endid_107_Non0/cb47eabf-cefc-4976-b42b-406d71dad675.opl', '--end-id', 107]) test/test_pyosmium_up-to-date.py:147: AssertionError ------------------------------ Captured log call ------------------------------- INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/000.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/070.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/105.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/052.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/078.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/091.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/098.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/101.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/050.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/075.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/088.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/094.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/097.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/099.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:50] "GET /000/000/100.state.txt HTTP/1.1" 200 - ERROR root:pyosmium_up_to_date.py:94 No starting point found for time 1969-12-31 22:59:59+00:00 on server http://localhost:36151/ ______________________ test_update_with_endid[None-1-108] ______________________ test_data = <function test_data.<locals>._mkfile at 0xef3c7668> runner = <function runner.<locals>._run at 0xef2ca758>, end_id = None max_size = 1, actual_end = 108 @pytest.mark.parametrize('end_id,max_size,actual_end', [(107, None, 107), (None, 1, 108), (105, 1, 105), (110, 1, 108)]) def test_update_with_endid(test_data, runner, end_id, max_size, actual_end): outfile = test_data("n1 v1 t2070-05-05T06:30:00Z") params = [outfile] if end_id is not None: params.extend(('--end-id', end_id)) if max_size is not None: params.extend(('-s', max_size)) > assert (0 if end_id == actual_end else 1) == runner(*params) E AssertionError: assert 1 == 3 E + where 3 = <function runner.<locals>._run at 0xef2ca758>(*['/tmp/pytest-of-sbuild/pytest-0/test_update_with_endid_None_1_0/a2a428ff-6a82-4f33-b9d2-a00756405dbf.opl', '-s', 1]) test/test_pyosmium_up-to-date.py:147: AssertionError ------------------------------ Captured log call ------------------------------- INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/000.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/070.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/105.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/052.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/078.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/091.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/098.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/101.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/050.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/075.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/088.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/094.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/097.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/099.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/100.state.txt HTTP/1.1" 200 - ERROR root:pyosmium_up_to_date.py:94 No starting point found for time 1969-12-31 22:59:59+00:00 on server http://localhost:36151/ ______________________ test_update_with_endid[105-1-105] _______________________ test_data = <function test_data.<locals>._mkfile at 0xef3c7848> runner = <function runner.<locals>._run at 0xef2ca9d8>, end_id = 105 max_size = 1, actual_end = 105 @pytest.mark.parametrize('end_id,max_size,actual_end', [(107, None, 107), (None, 1, 108), (105, 1, 105), (110, 1, 108)]) def test_update_with_endid(test_data, runner, end_id, max_size, actual_end): outfile = test_data("n1 v1 t2070-05-05T06:30:00Z") params = [outfile] if end_id is not None: params.extend(('--end-id', end_id)) if max_size is not None: params.extend(('-s', max_size)) > assert (0 if end_id == actual_end else 1) == runner(*params) E AssertionError: assert 0 == 3 E + where 3 = <function runner.<locals>._run at 0xef2ca9d8>(*['/tmp/pytest-of-sbuild/pytest-0/test_update_with_endid_105_1_10/32323de2-276f-426b-85af-69c7b48d67aa.opl', '--end-id', 105, '-s', 1]) test/test_pyosmium_up-to-date.py:147: AssertionError ------------------------------ Captured log call ------------------------------- INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/000.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/070.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/105.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/052.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/078.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/091.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/098.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/101.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/050.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/075.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/088.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/094.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/097.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/099.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/100.state.txt HTTP/1.1" 200 - ERROR root:pyosmium_up_to_date.py:94 No starting point found for time 1969-12-31 22:59:59+00:00 on server http://localhost:36151/ ______________________ test_update_with_endid[110-1-108] _______________________ test_data = <function test_data.<locals>._mkfile at 0xef3c77f8> runner = <function runner.<locals>._run at 0xef2ca618>, end_id = 110 max_size = 1, actual_end = 108 @pytest.mark.parametrize('end_id,max_size,actual_end', [(107, None, 107), (None, 1, 108), (105, 1, 105), (110, 1, 108)]) def test_update_with_endid(test_data, runner, end_id, max_size, actual_end): outfile = test_data("n1 v1 t2070-05-05T06:30:00Z") params = [outfile] if end_id is not None: params.extend(('--end-id', end_id)) if max_size is not None: params.extend(('-s', max_size)) > assert (0 if end_id == actual_end else 1) == runner(*params) E AssertionError: assert 1 == 3 E + where 3 = <function runner.<locals>._run at 0xef2ca618>(*['/tmp/pytest-of-sbuild/pytest-0/test_update_with_endid_110_1_10/07b3a4e3-a175-4519-a37b-aa1f44dc4c1b.opl', '--end-id', 110, '-s', 1]) test/test_pyosmium_up-to-date.py:147: AssertionError ------------------------------ Captured log call ------------------------------- INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/000.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/070.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/105.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/052.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/078.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/091.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/098.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/101.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/050.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/075.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/088.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/094.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/097.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/099.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/100.state.txt HTTP/1.1" 200 - ERROR root:pyosmium_up_to_date.py:94 No starting point found for time 1969-12-31 22:59:59+00:00 on server http://localhost:36151/ ___________________________ test_update_with_enddate ___________________________ test_data = <function test_data.<locals>._mkfile at 0xef3c7f28> runner = <function runner.<locals>._run at 0xef2ca028> tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_update_with_enddate0') def test_update_with_enddate(test_data, runner, tmp_path): outfile = test_data("n1 v1 t2070-05-05T06:30:00Z") newfile = tmp_path / f"{uuid.uuid4()}.pbf" > assert 0 == runner('-E', '2070-05-05T09:30:00Z', '-o', newfile, outfile) E AssertionError: assert 0 == 3 E + where 3 = <function runner.<locals>._run at 0xef2ca028>('-E', '2070-05-05T09:30:00Z', '-o', PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_update_with_enddate0/19a4479a-5d41-43e8-9526-e9f6a4f272c7.pbf'), '/tmp/pytest-of-sbuild/pytest-0/test_update_with_enddate0/9b1e701b-dc29-4656-a43f-56d083fcfc2e.opl') test/test_pyosmium_up-to-date.py:159: AssertionError ------------------------------ Captured log call ------------------------------- INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/000.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/070.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/105.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/052.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/078.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/091.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/098.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/101.state.txt HTTP/1.1" 200 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/050.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/075.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/088.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/094.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/097.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/099.state.txt HTTP/1.1" 404 - INFO werkzeug:_internal.py:97 127.0.0.1 - - [21/Oct/2025 19:04:51] "GET /000/000/100.state.txt HTTP/1.1" 200 - ERROR root:pyosmium_up_to_date.py:94 No starting point found for time 1969-12-31 22:59:59+00:00 on server http://localhost:36151/ =============================== warnings summary =============================== test/test_area.py:18 /build/reproducible-path/pyosmium-4.2.0/.pybuild/cpython3_3.13_pyosmium/build/test/test_area.py:18: PytestUnknownMarkWarning: Unknown pytest.mark.thread_unsafe - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.thread_unsafe test/test_dangling_references.py:12 /build/reproducible-path/pyosmium-4.2.0/.pybuild/cpython3_3.13_pyosmium/build/test/test_dangling_references.py:12: PytestUnknownMarkWarning: Unknown pytest.mark.iterations - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html pytestmark = pytest.mark.iterations(1) test/test_replication.py:22 /build/reproducible-path/pyosmium-4.2.0/.pybuild/cpython3_3.13_pyosmium/build/test/test_replication.py:22: PytestUnknownMarkWarning: Unknown pytest.mark.thread_unsafe - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html pytestmark = [pytest.mark.thread_unsafe, pytest.mark.iterations(1)] test/test_replication.py:22 /build/reproducible-path/pyosmium-4.2.0/.pybuild/cpython3_3.13_pyosmium/build/test/test_replication.py:22: PytestUnknownMarkWarning: Unknown pytest.mark.iterations - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html pytestmark = [pytest.mark.thread_unsafe, pytest.mark.iterations(1)] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/test_pyosmium_up-to-date.py::test_simple_update_no_windback - AssertionError: assert 0 == 3 + where 3 = <function runner.<locals>._run at 0xef2de488>('--wind-back', 0, '/tmp/pytest-of-sbuild/pytest-0/test_simple_update_no_windback0/2b3c76bf-06e4-4d9f-a07e-95322b52a5cd.opl') FAILED test/test_pyosmium_up-to-date.py::test_simple_update_override - AssertionError: assert 0 == 3 + where 3 = <function runner.<locals>._run at 0xef2de398>('/tmp/pytest-of-sbuild/pytest-0/test_simple_update_override0/28b6c641-2b47-458c-8bd8-3a98b1d87648.opl') FAILED test/test_pyosmium_up-to-date.py::test_simple_update_new_file - AssertionError: assert 0 == 3 + where 3 = <function runner.<locals>._run at 0xef2ca208>('-o', '/tmp/pytest-of-sbuild/pytest-0/test_simple_update_new_file0/c5d5373e-6b99-4e50-b9ec-9f066024fa3b.pbf', '/tmp/pytest-of-sbuild/pytest-0/test_simple_update_new_file0/9054683f-b927-47eb-aedc-919464b6a35e.opl') + where '/tmp/pytest-of-sbuild/pytest-0/test_simple_update_new_file0/c5d5373e-6b99-4e50-b9ec-9f066024fa3b.pbf' = str(PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_simple_update_new_file0/c5d5373e-6b99-4e50-b9ec-9f066024fa3b.pbf')) FAILED test/test_pyosmium_up-to-date.py::test_update_sequences - AssertionError: assert 0 == 3 + where 3 = <function runner.<locals>._run at 0xef2ca168>('--end-id', '110', '-o', '/tmp/pytest-of-sbuild/pytest-0/test_update_sequences0/c369319e-69a5-4ede-8ff6-626b73f558a0.pbf', '/tmp/pytest-of-sbuild/pytest-0/test_update_sequences0/cfd18c32-c0b5-49b4-98f9-dab4948dbf0a.opl') + where '/tmp/pytest-of-sbuild/pytest-0/test_update_sequences0/c369319e-69a5-4ede-8ff6-626b73f558a0.pbf' = str(PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_update_sequences0/c369319e-69a5-4ede-8ff6-626b73f558a0.pbf')) FAILED test/test_pyosmium_up-to-date.py::test_update_with_endid[107-None-107] - AssertionError: assert 0 == 3 + where 3 = <function runner.<locals>._run at 0xef2ca578>(*['/tmp/pytest-of-sbuild/pytest-0/test_update_with_endid_107_Non0/cb47eabf-cefc-4976-b42b-406d71dad675.opl', '--end-id', 107]) FAILED test/test_pyosmium_up-to-date.py::test_update_with_endid[None-1-108] - AssertionError: assert 1 == 3 + where 3 = <function runner.<locals>._run at 0xef2ca758>(*['/tmp/pytest-of-sbuild/pytest-0/test_update_with_endid_None_1_0/a2a428ff-6a82-4f33-b9d2-a00756405dbf.opl', '-s', 1]) FAILED test/test_pyosmium_up-to-date.py::test_update_with_endid[105-1-105] - AssertionError: assert 0 == 3 + where 3 = <function runner.<locals>._run at 0xef2ca9d8>(*['/tmp/pytest-of-sbuild/pytest-0/test_update_with_endid_105_1_10/32323de2-276f-426b-85af-69c7b48d67aa.opl', '--end-id', 105, '-s', 1]) FAILED test/test_pyosmium_up-to-date.py::test_update_with_endid[110-1-108] - AssertionError: assert 1 == 3 + where 3 = <function runner.<locals>._run at 0xef2ca618>(*['/tmp/pytest-of-sbuild/pytest-0/test_update_with_endid_110_1_10/07b3a4e3-a175-4519-a37b-aa1f44dc4c1b.opl', '--end-id', 110, '-s', 1]) FAILED test/test_pyosmium_up-to-date.py::test_update_with_enddate - AssertionError: assert 0 == 3 + where 3 = <function runner.<locals>._run at 0xef2ca028>('-E', '2070-05-05T09:30:00Z', '-o', PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_update_with_enddate0/19a4479a-5d41-43e8-9526-e9f6a4f272c7.pbf'), '/tmp/pytest-of-sbuild/pytest-0/test_update_with_enddate0/9b1e701b-dc29-4656-a43f-56d083fcfc2e.opl') ================== 9 failed, 384 passed, 4 warnings in 50.78s ================== ``` [Full buildlog](https://buildd.debian.org/status/fetch.php?pkg=pyosmium&arch=i386&ver=4.2.0-1&stamp=1761073513&raw=0), also failed in [Salsa CI](https://salsa.debian.org/debian-gis-team/pyosmium/-/jobs/8481634). Should we stop bothering with 32-bit architectures?
0 条评论