Git Product home page Git Product logo

llvm-zorg's People

Contributors

aaupov avatar adrian-prantl avatar christiankuehnel avatar chyingo avatar cunningbaldrick avatar davidspickett avatar ddunbar avatar dwblaikie avatar dyung avatar ericwf avatar eugenis avatar gkistanova avatar gottesmm avatar gribozavr avatar jdevlieghere avatar joker-eph avatar jplehr avatar kcc avatar kwk avatar matzeb avatar maxim-kuvyrkov avatar rengolin avatar rnk avatar rovka avatar simoll avatar tobiasgrosser avatar vitalybuka avatar vonosmas avatar vvereschaka avatar weliveindetail avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

llvm-zorg's Issues

setup lit is incompatible with setuptools 60 and newer

When the host system uses setuptools 60 or newer, the setup lit step always fails with:

  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
    raise AttributeError(attr)
AttributeError: install_layout. Did you mean: 'install_platlib'?

Additional warnings during the setup of lit shows that there are more incompatibilities to be expected with future versions of setuptools.

Downgrading setuptools to version 59 fixes the problem.

Full backtrace:

/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/bin/python /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/lnt/setup.py develop
 in dir /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox (timeout 1200 secs)
 watching logfiles {}
 argv: [b'/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/bin/python', b'/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/lnt/setup.py', b'develop']
 environment:
  HOME=/var/lib/buildbot
  INVOCATION_ID=dd51c1c309ba443e9df565763ab364e1
  JOURNAL_STREAM=8:28636007
  LANG=en_US.UTF-8
  LOGNAME=buildbot
  MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/system-buildbot\x2dworker.slice/[email protected]/memory.pressure
  MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
  PWD=/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox
  SYSTEMD_EXEC_PID=672374
  USER=buildbot
 using PTY: False
running develop
/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  easy_install.initialize_options(self)
/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
running egg_info
writing LNT.egg-info/PKG-INFO
writing dependency_links to LNT.egg-info/dependency_links.txt
writing entry points to LNT.egg-info/entry_points.txt
writing requirements to LNT.egg-info/requires.txt
writing top-level names to LNT.egg-info/top_level.txt
reading manifest file 'LNT.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'tests/*/Output'
no previously-included directories found matching 'tests/*/*/Output'
adding license file 'LICENSE.TXT'
writing manifest file 'LNT.egg-info/SOURCES.txt'
running build_ext
Creating /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/LNT.egg-link (link to .)
Adding LNT 0.4.2.dev0 to easy-install.pth file
Installing lnt script to /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/bin

Installed /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/lnt
Processing dependencies for LNT==0.4.2.dev0
Searching for typing
Reading https://pypi.org/simple/typing/
Downloading https://files.pythonhosted.org/packages/f2/5d/865e17349564eb1772688d8afc5e3081a5964c640d64d1d2880ebaed002d/typing-3.10.0.0-py3-none-any.whl#sha256=12fbdfbe7d6cca1a42e485229afcb0b0c8259258cfb919b8a5e2a5c953742f89
Best match: typing 3.10.0.0
Processing typing-3.10.0.0-py3-none-any.whl
Installing typing-3.10.0.0-py3-none-any.whl to /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages
Adding typing 3.10.0.0 to easy-install.pth file

Installed /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/typing-3.10.0.0-py3.11.egg
Searching for six
Reading https://pypi.org/simple/six/
Downloading https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl#sha256=8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254
Best match: six 1.16.0
Processing six-1.16.0-py2.py3-none-any.whl
Installing six-1.16.0-py2.py3-none-any.whl to /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages
Adding six 1.16.0 to easy-install.pth file
detected new path './typing-3.10.0.0-py3.11.egg'

Installed /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/six-1.16.0-py3.11.egg
Searching for requests
Reading https://pypi.org/simple/requests/
Downloading https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl#sha256=58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f
Best match: requests 2.31.0
Processing requests-2.31.0-py3-none-any.whl
Installing requests-2.31.0-py3-none-any.whl to /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages
Adding requests 2.31.0 to easy-install.pth file
detected new path './six-1.16.0-py3.11.egg'

Installed /var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/requests-2.31.0-py3.11.egg
Searching for pyyaml==5.1.2
Reading https://pypi.org/simple/pyyaml/
Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz#sha256=01adf0b6c6f61bd11af6e10ca52b7d4057dd0be0343eb9283c878cf3af56aee4
Best match: PyYAML 5.1.2
Processing PyYAML-5.1.2.tar.gz
Writing /tmp/easy_install-ij5eex4l/PyYAML-5.1.2/setup.cfg
Running PyYAML-5.1.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ij5eex4l/PyYAML-5.1.2/egg-dist-tmp-nvw2ce40
/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!

        ********************************************************************************
        The license_file parameter is deprecated, use license_files instead.

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

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  parsed = self.parsers.get(option_name, lambda x: x)(value)
/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
Traceback (most recent call last):
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 156, in save_modules
    yield saved
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 198, in setup_context
    yield
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 259, in run_setup
    _execfile(setup_script, ns)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 46, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-ij5eex4l/PyYAML-5.1.2/setup.py", line 291, in <module>
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/bdist_egg.py", line 167, in run
    cmd = self.call_command('install_lib', warn_dir=0)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/bdist_egg.py", line 153, in call_command
    self.run_command(cmdname)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.ensure_finalized()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
    self.finalize_options()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/install_lib.py", line 17, in finalize_options
    self.set_undefined_options('install',('install_layout','install_layout'))
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 296, in set_undefined_options
    setattr(self, dst_option, getattr(src_cmd_obj, src_option))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
    raise AttributeError(attr)
AttributeError: install_layout. Did you mean: 'install_platlib'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/lnt/setup.py", line 34, in <module>
    setup(
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/__init__.py", line 107, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/develop.py", line 34, in run
    self.install_for_development()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/develop.py", line 124, in install_for_development
    self.process_distribution(None, self.dist, not self.no_deps)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/easy_install.py", line 812, in process_distribution
    distros = WorkingSet([]).resolve(
              ^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
    dist = self._resolve_dist(
           ^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/pkg_resources/__init__.py", line 865, in _resolve_dist
    dist = best[req.key] = env.best_match(
                           ^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1135, in best_match
    return self.obtain(req, installer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1147, in obtain
    return installer(requirement)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/easy_install.py", line 737, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/easy_install.py", line 762, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/easy_install.py", line 956, in install_eggs
    return self.build_and_install(setup_script, setup_base)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/easy_install.py", line 1230, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/easy_install.py", line 1216, in run_setup
    run_setup(setup_script, args)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 249, in run_setup
    with setup_context(setup_dir):
  File "/usr/lib/python3.11/contextlib.py", line 158, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 190, in setup_context
    with save_modules():
  File "/usr/lib/python3.11/contextlib.py", line 158, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 169, in save_modules
    saved_exc.resume()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 143, in resume
    raise exc.with_traceback(self._tb)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 156, in save_modules
    yield saved
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 198, in setup_context
    yield
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 259, in run_setup
    _execfile(setup_script, ns)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/sandbox.py", line 46, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-ij5eex4l/PyYAML-5.1.2/setup.py", line 291, in <module>
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/bdist_egg.py", line 167, in run
    cmd = self.call_command('install_lib', warn_dir=0)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/bdist_egg.py", line 153, in call_command
    self.run_command(cmdname)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command
    super().run_command(command)
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.ensure_finalized()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
    self.finalize_options()
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/command/install_lib.py", line 17, in finalize_options
    self.set_undefined_options('install',('install_layout','install_layout'))
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 296, in set_undefined_options
    setattr(self, dst_option, getattr(src_cmd_obj, src_option))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/buildbot/workers/debian-stadler-sparc64/clang-sparc64-linux/test/sandbox/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
    raise AttributeError(attr)
AttributeError: install_layout
program finished with exit code 1
elapsedTime=9.198554

Unclear buildbot failure email

Reported by @jayfoad for an email from the rv64gc-qemu-user-single-stage bot (administered by me). The relevant build failure is this one.

Issues with the email:

  • It doesn't include the reason for test failure that is present in the web ui (stdout vs stderr issue?). Namely these lines

command timed out: 1200 seconds without output running [b'ninja', b'check-all'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=11612.025770

  • The summary line "BUILD FAILED: failed 72275 expected passes 195 expected failures 1311 unsupported tests (failure)" is confusing/misleading.

As this bot doesn't have anything exotic in terms of its buildbot config (ref) I'd assume this is a generic buildbot/llvm-zorg issue, but of course would love to hear if there's anything I'm missing on my end.

As I noted in a separate email thread, the mooted "gatekeeper" bot support would be a huge help in avoiding builder runs that identify an issue not specific to that builder that's been fixed in the mean time. Though that wouldn't directly fix the fact the generated email was confusing in this case.

How to test changes to buildbot?

I am trying to add a reporter to the buildbot configuration so a comment tagging the authors is created on a commit for which a build has failed. However, this is my first time touching buildbot configs and while I am slowly starting to understand how buildbot works, I have no idea how to actually test my code.

Is this even possible? If not, how does one create changes? @gkistanova maybe you would know?

Incorrect parsing of the failed LLVM/Clang Unit test names for the failed log titles.

When few tests get failed within the single unit test, the buildbot prepares each log with the same title for each failed test (see screenshots below). As example the check step got few failed tests for ADTTests unit test and all of them got the same LLVM-Unit::93 title. The buildbot needs to get a proper test name for the failure log title.

A list of failed unit test logs with the same titles:
llvm-failed-test-logs

A list of real name of the failed unit tests:
llvm-real-failed-test-list

The screenshots are for the following build: https://lab.llvm.org/buildbot/#/builders/86/builds/66095

To reproduce the problem on the builder in case the provided link got expired:

  • open builder UI: https://lab.llvm.org/buildbot/#/builders/86
  • click Force Build button at the top right corner
  • select revision field
  • enter revision: 4ae51570806ba5c5fcabe6d6dcbe52e3a5d5453b
  • specify a clean build
  • click Start Build button

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.