Package: src:haproxy-log-analysis
Version: 6.0.0~a4-1
Severity: important
Tags: ftbfs forky sid
User: [email protected]
Usertags: ftbfs-during-forky-support-period

Dear maintainer:

During a rebuild of all packages in unstable with the system clock set
at 2030-08-09 (estimated to be three years after the release date of forky),
this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/ftbfs-future/

About the archive rebuild: This is an effort to keep forky free from
FTBFS bugs during its lifetime as a supported distribution, as
explained here for trixie:

https://lists.debian.org/debian-devel/2024/05/msg00414.html

This category of bugs is considered to be RC for forky, but I will
wait two months from now before raising to serious to give people a
little bit more time to fix them.

The build was made using sbuild and a reduced chroot with only
build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:haproxy-log-analysis, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" 
module
I: pybuild base:384: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_haproxy-log-analysis  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        This deprecation is overdue, please update your project and remove 
deprecated
        calls to avoid build errors in the future.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  corresp(dist, value, root_dir)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU General Public License v3 (GPLv3)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU General Public License v3 (GPLv3)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/haproxy
copying src/haproxy/main.py -> build/lib/haproxy
copying src/haproxy/logfile.py -> build/lib/haproxy
copying src/haproxy/line.py -> build/lib/haproxy
copying src/haproxy/filters.py -> build/lib/haproxy
copying src/haproxy/utils.py -> build/lib/haproxy
copying src/haproxy/commands.py -> build/lib/haproxy
copying src/haproxy/__init__.py -> build/lib/haproxy
running egg_info
creating src/haproxy_log_analysis.egg-info
writing src/haproxy_log_analysis.egg-info/PKG-INFO
writing dependency_links to 
src/haproxy_log_analysis.egg-info/dependency_links.txt
writing entry points to src/haproxy_log_analysis.egg-info/entry_points.txt
writing top-level names to src/haproxy_log_analysis.egg-info/top_level.txt
writing manifest file 'src/haproxy_log_analysis.egg-info/SOURCES.txt'
reading manifest file 'src/haproxy_log_analysis.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '.flake8'
warning: no previously-included files found matching '*.txt'
warning: no previously-included files found matching '*.yaml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '*.py' found under directory 
'docs'
warning: no previously-included files matching '*.rst' found under directory 
'docs'
warning: no previously-included files matching 'Makefile' found under directory 
'docs'
warning: no previously-included files matching '*.log' found under directory 
'tests'
adding license file 'LICENSE'
writing manifest file 'src/haproxy_log_analysis.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/haproxy
copying build/lib/haproxy/main.py -> build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/logfile.py -> build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/line.py -> build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/filters.py -> build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/utils.py -> build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/commands.py -> 
build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/__init__.py -> 
build/bdist.linux-x86_64/wheel/./haproxy
running install_egg_info
Copying src/haproxy_log_analysis.egg-info to 
build/bdist.linux-x86_64/wheel/./haproxy_log_analysis-6.0.0a4.egg-info
running install_scripts
creating 
build/bdist.linux-x86_64/wheel/haproxy_log_analysis-6.0.0a4.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_haproxy-log-analysis/.tmp-q6qnlou5/haproxy_log_analysis-6.0.0a4-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'haproxy/__init__.py'
adding 'haproxy/commands.py'
adding 'haproxy/filters.py'
adding 'haproxy/line.py'
adding 'haproxy/logfile.py'
adding 'haproxy/main.py'
adding 'haproxy/utils.py'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/licenses/LICENSE'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/METADATA'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/WHEEL'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/entry_points.txt'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/top_level.txt'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built haproxy_log_analysis-6.0.0a4-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build" 
module
I: pybuild base:384: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_haproxy-log-analysis  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        This deprecation is overdue, please update your project and remove 
deprecated
        calls to avoid build errors in the future.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  corresp(dist, value, root_dir)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU General Public License v3 (GPLv3)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: GNU General Public License v3 (GPLv3)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
running egg_info
writing src/haproxy_log_analysis.egg-info/PKG-INFO
writing dependency_links to 
src/haproxy_log_analysis.egg-info/dependency_links.txt
writing entry points to src/haproxy_log_analysis.egg-info/entry_points.txt
writing top-level names to src/haproxy_log_analysis.egg-info/top_level.txt
reading manifest file 'src/haproxy_log_analysis.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '.flake8'
warning: no previously-included files found matching '*.txt'
warning: no previously-included files found matching '*.yaml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '*.py' found under directory 
'docs'
warning: no previously-included files matching '*.rst' found under directory 
'docs'
warning: no previously-included files matching 'Makefile' found under directory 
'docs'
warning: no previously-included files matching '*.log' found under directory 
'tests'
adding license file 'LICENSE'
writing manifest file 'src/haproxy_log_analysis.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/haproxy
copying build/lib/haproxy/main.py -> build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/logfile.py -> build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/line.py -> build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/filters.py -> build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/utils.py -> build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/commands.py -> 
build/bdist.linux-x86_64/wheel/./haproxy
copying build/lib/haproxy/__init__.py -> 
build/bdist.linux-x86_64/wheel/./haproxy
running install_egg_info
Copying src/haproxy_log_analysis.egg-info to 
build/bdist.linux-x86_64/wheel/./haproxy_log_analysis-6.0.0a4.egg-info
running install_scripts
creating 
build/bdist.linux-x86_64/wheel/haproxy_log_analysis-6.0.0a4.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_haproxy-log-analysis/.tmp-gmramkmi/haproxy_log_analysis-6.0.0a4-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'haproxy/__init__.py'
adding 'haproxy/commands.py'
adding 'haproxy/filters.py'
adding 'haproxy/line.py'
adding 'haproxy/logfile.py'
adding 'haproxy/main.py'
adding 'haproxy/utils.py'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/licenses/LICENSE'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/METADATA'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/WHEEL'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/entry_points.txt'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/top_level.txt'
adding 'haproxy_log_analysis-6.0.0a4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built haproxy_log_analysis-6.0.0a4-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:384: cd 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_haproxy-log-analysis/build'; 
python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.3, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.4
collected 292 items

tests/test_argparse.py .........................                         [  8%]
tests/test_commands.py ................................................. [ 25%]
.............F..F.                                                       [ 31%]
tests/test_filters.py .................................................. [ 48%]
.........                                                                [ 51%]
tests/test_log_file.py ...............                                   [ 56%]
tests/test_log_line.py ..............................                    [ 67%]
tests/test_main.py ........                                              [ 69%]
tests/test_regex.py ..............................................       [ 85%]
tests/test_utils.py ..........................................           [100%]

=================================== FAILURES ===================================
____________________ test_requests_per_minute_output[json] _____________________

line_factory = <tests.conftest.LinesGenerator object at 0x7f6e14a44710>
capsys = <_pytest.capture.CaptureFixture object at 0x7f6e14a04bd0>
output = 'json'

    @pytest.mark.parametrize('output', [None, 'json'])
    def test_requests_per_minute_output(line_factory, capsys, output):
        """Test the RequestsPerMinute command.
    
        It counts how many requests have been made per minute.
        """
        cmd = commands.RequestsPerMinute()
        now = datetime.now()
        for time in (now, now + timedelta(hours=2)):
            cmd(line_factory(accept_date=f'{time:%d/%b/%Y:%H:%M:%S.%f}'))
        name = cmd.command_line_name().upper()
        cmd.results(output=output)
        output_text = capsys.readouterr().out
        if output == 'json':
            assert f'{{"{name}": ' in output_text
            # this is quite fuzzy to not have to fiddle with the date formatting
            # change it once we hit 2030 :)
>           assert ':00": 1}, {"202' in output_text
E           assert ':00": 1}, {"202' in '{"REQUESTS_PER_MINUTE": 
[{"2030-08-09T13:00:00": 1}, {"2030-08-09T15:00:00": 1}]}\n'

tests/test_commands.py:745: AssertionError
_____________________ test_requests_per_hour_output[json] ______________________

line_factory = <tests.conftest.LinesGenerator object at 0x7f6e14a46f30>
capsys = <_pytest.capture.CaptureFixture object at 0x7f6e14e81ed0>
output = 'json'

    @pytest.mark.parametrize('output', [None, 'json'])
    def test_requests_per_hour_output(line_factory, capsys, output):
        """Test the RequestsPerHour command.
    
        It counts how many requests have been made per hour.
        """
        cmd = commands.RequestsPerHour()
        now = datetime.now()
        for time in (now, now + timedelta(hours=2)):
            cmd(line_factory(accept_date=f'{time:%d/%b/%Y:%H:%M:%S.%f}'))
        name = cmd.command_line_name().upper()
        cmd.results(output=output)
        output_text = capsys.readouterr().out
        if output == 'json':
            assert f'{{"{name}": ' in output_text
            # this is quite fuzzy to not have to fiddle with the date formatting
            # change it once we hit 2030 :)
>           assert ':00": 1}, {"202' in output_text
E           assert ':00": 1}, {"202' in '{"REQUESTS_PER_HOUR": 
[{"2030-08-09T13:00:00": 1}, {"2030-08-09T15:00:00": 1}]}\n'

tests/test_commands.py:799: AssertionError
=========================== short test summary info ============================
FAILED tests/test_commands.py::test_requests_per_minute_output[json] - assert...
FAILED tests/test_commands.py::test_requests_per_hour_output[json] - assert '...
======================== 2 failed, 290 passed in 0.76s =========================
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_haproxy-log-analysis/build'; 
python3.14 -m pytest tests
I: pybuild base:384: cd 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_haproxy-log-analysis/build'; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.4
collected 292 items

tests/test_argparse.py .........................                         [  8%]
tests/test_commands.py ................................................. [ 25%]
.............F..F.                                                       [ 31%]
tests/test_filters.py .................................................. [ 48%]
.........                                                                [ 51%]
tests/test_log_file.py ...............                                   [ 56%]
tests/test_log_line.py ..............................                    [ 67%]
tests/test_main.py ........                                              [ 69%]
tests/test_regex.py ..............................................       [ 85%]
tests/test_utils.py ..........................................           [100%]

=================================== FAILURES ===================================
____________________ test_requests_per_minute_output[json] _____________________

line_factory = <tests.conftest.LinesGenerator object at 0x7f55514c3170>
capsys = <_pytest.capture.CaptureFixture object at 0x7f55514b27d0>
output = 'json'

    @pytest.mark.parametrize('output', [None, 'json'])
    def test_requests_per_minute_output(line_factory, capsys, output):
        """Test the RequestsPerMinute command.
    
        It counts how many requests have been made per minute.
        """
        cmd = commands.RequestsPerMinute()
        now = datetime.now()
        for time in (now, now + timedelta(hours=2)):
            cmd(line_factory(accept_date=f'{time:%d/%b/%Y:%H:%M:%S.%f}'))
        name = cmd.command_line_name().upper()
        cmd.results(output=output)
        output_text = capsys.readouterr().out
        if output == 'json':
            assert f'{{"{name}": ' in output_text
            # this is quite fuzzy to not have to fiddle with the date formatting
            # change it once we hit 2030 :)
>           assert ':00": 1}, {"202' in output_text
E           assert ':00": 1}, {"202' in '{"REQUESTS_PER_MINUTE": 
[{"2030-08-09T13:00:00": 1}, {"2030-08-09T15:00:00": 1}]}\n'

tests/test_commands.py:745: AssertionError
_____________________ test_requests_per_hour_output[json] ______________________

line_factory = <tests.conftest.LinesGenerator object at 0x7f55514c0fb0>
capsys = <_pytest.capture.CaptureFixture object at 0x7f55514b0d50>
output = 'json'

    @pytest.mark.parametrize('output', [None, 'json'])
    def test_requests_per_hour_output(line_factory, capsys, output):
        """Test the RequestsPerHour command.
    
        It counts how many requests have been made per hour.
        """
        cmd = commands.RequestsPerHour()
        now = datetime.now()
        for time in (now, now + timedelta(hours=2)):
            cmd(line_factory(accept_date=f'{time:%d/%b/%Y:%H:%M:%S.%f}'))
        name = cmd.command_line_name().upper()
        cmd.results(output=output)
        output_text = capsys.readouterr().out
        if output == 'json':
            assert f'{{"{name}": ' in output_text
            # this is quite fuzzy to not have to fiddle with the date formatting
            # change it once we hit 2030 :)
>           assert ':00": 1}, {"202' in output_text
E           assert ':00": 1}, {"202' in '{"REQUESTS_PER_HOUR": 
[{"2030-08-09T13:00:00": 1}, {"2030-08-09T15:00:00": 1}]}\n'

tests/test_commands.py:799: AssertionError
=========================== short test summary info ============================
FAILED tests/test_commands.py::test_requests_per_minute_output[json] - assert...
FAILED tests/test_commands.py::test_requests_per_hour_output[json] - assert '...
======================== 2 failed, 290 passed in 0.48s =========================
E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_haproxy-log-analysis/build'; 
python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to