Source: glean-parser
Version: 5.1.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@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 build
> echo "version = '5.1.2'" > glean_parser/_glean_parser_version.py
> cp glean_parser/_glean_parser_version.py tests/
> dh build --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.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/lint.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/parser.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/markdown.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/_glean_parser_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/__main__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/coverage.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/pings.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/data_review.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/javascript.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/metrics.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/tags.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/kotlin.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/translate.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/rust.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/validate_ping.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> copying glean_parser/swift.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser
> running egg_info
> creating glean_parser.egg-info
> writing glean_parser.egg-info/PKG-INFO
> writing dependency_links to glean_parser.egg-info/dependency_links.txt
> writing entry points to glean_parser.egg-info/entry_points.txt
> writing requirements to glean_parser.egg-info/requires.txt
> writing top-level names to glean_parser.egg-info/top_level.txt
> writing manifest file 'glean_parser.egg-info/SOURCES.txt'
> reading manifest file 'glean_parser.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found under 
> directory '*'
> warning: no previously-included files matching '*.py[co]' found under 
> directory '*'
> warning: no files found matching '*.jpg' under directory 'docs'
> warning: no files found matching '*.png' under directory 'docs'
> warning: no files found matching '*.gif' under directory 'docs'
> adding license file 'LICENSE'
> adding license file 'AUTHORS.md'
> writing manifest file 'glean_parser.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: 
> SetuptoolsDeprecationWarning:     Installing 'glean_parser.schemas' as data 
> is deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'glean_parser.schemas' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'glean_parser.schemas' has been automatically added to the distribution 
> only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'glean_parser.schemas' is included as a package by 
> using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: 
> SetuptoolsDeprecationWarning:     Installing 'glean_parser.templates' as data 
> is deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'glean_parser.templates' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'glean_parser.templates' has been automatically added to the distribution 
> only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'glean_parser.templates' is included as a package 
> by using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/schemas
> copying glean_parser/schemas/metrics.1-0-0.schema.yaml -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/schemas
> copying glean_parser/schemas/metrics.2-0-0.schema.yaml -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/schemas
> copying glean_parser/schemas/pings.1-0-0.schema.yaml -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/schemas
> copying glean_parser/schemas/pings.2-0-0.schema.yaml -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/schemas
> copying glean_parser/schemas/tags.1-0-0.schema.yaml -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/schemas
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/templates
> copying glean_parser/templates/javascript.buildinfo.jinja2 -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/templates
> copying glean_parser/templates/javascript.jinja2 -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/templates
> copying glean_parser/templates/kotlin.buildinfo.jinja2 -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/templates
> copying glean_parser/templates/kotlin.geckoview.jinja2 -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/templates
> copying glean_parser/templates/kotlin.jinja2 -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/templates
> copying glean_parser/templates/markdown.jinja2 -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/templates
> copying glean_parser/templates/qmldir.jinja2 -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/templates
> copying glean_parser/templates/rust.jinja2 -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/templates
> copying glean_parser/templates/swift.jinja2 -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/glean_parser/templates
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; 
> python3.10 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 173 items
> 
> tests/test_cli.py .............                                          [  
> 7%]
> tests/test_javascript.py ................                                [ 
> 16%]
> tests/test_kotlin.py ...........                                         [ 
> 23%]
> tests/test_lint.py ......F................                               [ 
> 36%]
> tests/test_markdown.py ..........                                        [ 
> 42%]
> tests/test_metrics.py .........                                          [ 
> 47%]
> tests/test_parser.py ..........................................          [ 
> 71%]
> tests/test_pings.py ......                                               [ 
> 75%]
> tests/test_rust.py ......                                                [ 
> 78%]
> tests/test_swift.py ............                                         [ 
> 85%]
> tests/test_tags.py ....                                                  [ 
> 87%]
> tests/test_translate.py .............                                    [ 
> 95%]
> tests/test_utils.py .......                                              [ 
> 99%]
> tests/test_validate_ping.py .                                            
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ________________________________ test_yaml_lint 
> ________________________________
> 
> capsys = <_pytest.capture.CaptureFixture object at 0x7f6af695c850>
> 
>     def test_yaml_lint(capsys):
>         """Tests yamllint on files with nits."""
>         file_paths = [ROOT / "data" / "core.yaml", ROOT / "data" / 
> "yaml_nits.yamlx"]
>     
>         nits = lint.lint_yaml_files(file_paths)
>     
> >       assert len(nits) == 3
> E       assert 2 == 3
> E        +  where 2 = len([9:4: wrong indentation: expected 4 but found 3 
> (indentation), 10:20: syntax error: mapping values are not allowed here 
> (syntax)])
> 
> tests/test_lint.py:207: AssertionError
> ----------------------------- Captured stderr call 
> -----------------------------
> Sorry, Glean found some glinter nits:
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/data/yaml_nits.yamlx 
> (9:4) - wrong indentation: expected 4 but found 3 (indentation)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tests/data/yaml_nits.yamlx 
> (10:20) - syntax error: mapping values are not allowed here (syntax)
> 
> Please fix the above nits to continue.
> =========================== short test summary info 
> ============================
> FAILED tests/test_lint.py::test_yaml_lint - assert 2 == 3
> ======================== 1 failed, 172 passed in 9.63s 
> =========================
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/glean-parser_5.1.2-1_unstable.log

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

Reply via email to