Package: src:watcher
Version: 15.0.0-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, 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/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
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:watcher, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild --with python3,sphinxdoc
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
python3 setup.py clean
/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:


[... snipped ...]

<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_service.TestServiceObject.test_list
watcher.tests.objects.test_service.TestServiceObject.test_list ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_service.TestServiceObject.test_refresh
watcher.tests.objects.test_service.TestServiceObject.test_refresh ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_service.TestServiceObject.test_save
watcher.tests.objects.test_service.TestServiceObject.test_save ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_service.TestServiceObject.test_soft_delete
watcher.tests.objects.test_service.TestServiceObject.test_soft_delete ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestCreateDeleteStrategyObject.test_create
watcher.tests.objects.test_strategy.TestCreateDeleteStrategyObject.test_create 
... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestCreateDeleteStrategyObject.test_destroy
watcher.tests.objects.test_strategy.TestCreateDeleteStrategyObject.test_destroy 
... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestCreateDeleteStrategyObject.test_soft_delete
watcher.tests.objects.test_strategy.TestCreateDeleteStrategyObject.test_soft_delete
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_bad_uuid(non_eager)
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_bad_uuid(non_eager)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_bad_uuid(eager_with_non_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_bad_uuid(eager_with_non_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_bad_uuid(eager_with_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_bad_uuid(eager_with_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_id(non_eager)
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_id(non_eager)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_id(eager_with_non_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_id(eager_with_non_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_id(eager_with_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_id(eager_with_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_uuid(non_eager)
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_uuid(non_eager)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_uuid(eager_with_non_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_uuid(eager_with_non_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_uuid(eager_with_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_get_by_uuid(eager_with_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_list(non_eager)
watcher.tests.objects.test_strategy.TestStrategyObject.test_list(non_eager) ... 
ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_list(eager_with_non_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_list(eager_with_non_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_list(eager_with_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_list(eager_with_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_refresh(non_eager)
watcher.tests.objects.test_strategy.TestStrategyObject.test_refresh(non_eager) 
... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_refresh(eager_with_non_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_refresh(eager_with_non_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_refresh(eager_with_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_refresh(eager_with_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_save(non_eager)
watcher.tests.objects.test_strategy.TestStrategyObject.test_save(non_eager) ... 
ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_save(eager_with_non_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_save(eager_with_non_eager_load)
 ... ok
<frozen importlib._bootstrap>:530: DeprecationWarning: the load_module() method 
is deprecated and slated for removal in Python 3.15; use exec_module() instead
watcher.tests.objects.test_strategy.TestStrategyObject.test_save(eager_with_eager_load)
watcher.tests.objects.test_strategy.TestStrategyObject.test_save(eager_with_eager_load)
 ... ok

----------------------------------------------------------------------
Ran 190 tests in 5.063s

OK
+ stestr slowest
Test id                                                                         
                       Runtime (s)
-----------------------------------------------------------------------------------------------------
  -----------
watcher.tests.objects.test_objects.TestObject.test_changed_3                    
                       0.105
watcher.tests.objects.test_action.TestActionObject.test_get_bad_id_and_uuid(non_eager)
                 0.046
watcher.tests.objects.test_action_plan.TestStateManager.test_check_expired      
                       0.014
watcher.tests.objects.test_action_plan.TestCreateDeleteActionPlanObject.test_soft_delete
               0.013
watcher.tests.objects.test_action.TestCreateDeleteActionObject.test_create      
                       0.013
watcher.tests.objects.test_action_plan.TestActionPlanObject.test_list(eager_with_eager_load)
           0.013
watcher.tests.objects.test_action_plan.TestActionPlanObject.test_get_by_id(eager_with_non_eager_load)
  0.011
watcher.tests.objects.test_action_plan.TestActionPlanObject.test_refresh(eager_with_non_eager_load)
    0.011
watcher.tests.objects.test_action_plan.TestActionPlanObject.test_refresh(eager_with_eager_load)
        0.011
watcher.tests.objects.test_audit.TestAuditObject.test_refresh(eager_with_eager_load)
                   0.011
+ rm -rf .stestr
rm -rf /<<PKGBUILDDIR>>/debian/python3-watcher/usr/etc
mkdir -p /<<PKGBUILDDIR>>/debian/watcher-common/usr/share/watcher-common
PYTHONPATH=/<<PKGBUILDDIR>>/debian/python3-watcher/usr/lib/python3/dist-packages
 oslo-config-generator \
        --output-file 
/<<PKGBUILDDIR>>/debian/watcher-common/usr/share/watcher-common/watcher.conf \
        --wrap-width 140 \
        --namespace watcher \
        --namespace keystonemiddleware.auth_token \
        --namespace oslo.cache \
        --namespace oslo.concurrency \
        --namespace oslo.db \
        --namespace oslo.log \
        --namespace oslo.messaging \
        --namespace oslo.policy \
        --namespace oslo.reports \
        --namespace oslo.service.periodic_task \
        --namespace oslo.service.service \
        --namespace oslo.service.wsgi
WARNING:stevedore.named:Could not load watcher
pkgos-readd-keystone-authtoken-missing-options 
/<<PKGBUILDDIR>>/debian/watcher-common/usr/share/watcher-common/watcher.conf 
keystone_authtoken watcher
pkgos_inifile: Setting value in 
pkgos-readd-keystone-authtoken-missing-options.UWg4PL:[keystone_authtoken]/www_authenticate_uri
pkgos_inifile: Setting value in 
pkgos-readd-keystone-authtoken-missing-options.UWg4PL:[keystone_authtoken]/auth_type
pkgos_inifile: Setting value in 
pkgos-readd-keystone-authtoken-missing-options.UWg4PL:[keystone_authtoken]/region_name
PYTHONPATH=/<<PKGBUILDDIR>>/debian/python3-watcher/usr/lib/python3/dist-packages
 oslopolicy-sample-generator \
        --output-file 
/<<PKGBUILDDIR>>/debian/watcher-common/usr/share/watcher-common/policy.json \
        --format json \
        --namespace watcher
WARNING:oslo_config.cfg:Deprecated: Option "format" from group "DEFAULT" is 
deprecated for removal (
``policy_file`` support for JSON formatted file is deprecated.
So these tools also deprecate the support of generating or
upgrading policy file in JSON format.
).  Its value may be silently ignored in the future.
WARNING:stevedore.named:Could not load watcher
WARNING:oslo_policy.generator:JSON formatted policy_file support is deprecated 
since Victoria release. You need to use YAML format which will be default in 
future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert 
existing JSON-formatted policy file to YAML-formatted in backward compatible 
way: 
https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
pkgos-fix-config-default 
/<<PKGBUILDDIR>>/debian/watcher-common/usr/share/watcher-common/watcher.conf 
oslo_concurrency lock_path /var/lock/watcher
pkgos_inifile: Setting value in 
/<<PKGBUILDDIR>>/debian/watcher-common/usr/share/watcher-common/watcher.conf:[oslo_concurrency]/lock_path
dh_install
dh_missing --fail-missing
rm -rf debian/python3-watcher/usr/etc
mkdir -p /<<PKGBUILDDIR>>/debian/watcher-api/usr/bin
cp watcher/api/app.wsgi 
/<<PKGBUILDDIR>>/debian/watcher-api/usr/bin/watcher-wsgi-api
# Disable https in default setup, as this makes our CI fail
pkgos-fix-config-default 
/<<PKGBUILDDIR>>/debian/watcher-common/usr/share/watcher-common/watcher.conf 
keystone_authtoken auth_protocol http
pkgos_inifile: Setting value in 
/<<PKGBUILDDIR>>/debian/watcher-common/usr/share/watcher-common/watcher.conf:[keystone_authtoken]/auth_protocol
# Fix the missing sql_connection directive
pkgos-fix-config-default 
/<<PKGBUILDDIR>>/debian/watcher-common/usr/share/watcher-common/watcher.conf 
database sqlite:////var/lib/watcher/watcherdb
pkgos_inifile: Setting value in 
/<<PKGBUILDDIR>>/debian/watcher-common/usr/share/watcher-common/watcher.conf:[database]/sqlite:////var/lib/watcher/watcherdb
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -O--buildsystem=pybuild
   debian/rules override_dh_sphinxdoc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
PYTHON=python3 PYTHONPATH=. python3 -m sphinx  -b html doc/source 
/<<PKGBUILDDIR>>/debian/watcher-doc/usr/share/doc/watcher-doc/html
Running Sphinx v8.2.3
loading translations [en]... done
loading stevedore.sphinxext
/usr/lib/python3/dist-packages/openstackdocstheme/page_context.py:27: 
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
scheduled for removal in a future version. Use timezone-aware objects to 
represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
datetime.UTC).
  _default_last_updated = datetime.datetime.utcfromtimestamp(_timeint)
[openstackdocstheme] version: 3.2.0
[openstackdocstheme] connecting html-page-context event handler
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
/usr/lib/python3/dist-packages/sphinx/builders/html/__init__.py:154: 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docutils 
2.0.
  Specify parser name in the "parser" argument.
  reader: Reader[DocTreeInput] = docutils.readers.doctree.Reader(
[oslo_config.sphinxconfiggen] reading config generator instructions from 
/<<PKGBUILDDIR>>/doc/source/../../etc/watcher/oslo-config-generator/watcher.conf
[oslo_config.sphinxconfiggen] writing sample configuration to 
/<<PKGBUILDDIR>>/doc/source/_static/watcher.conf.sample
/usr/lib/python3/dist-packages/oslo_service/sslutils.py:24: DeprecationWarning: 
The 'oslo_service.sslutils' module usage is deprecated and will be removed in 
version '2026.2': The 'oslo_service.sslutils' module is deprecated and will be 
removed in version 2026.2.
  removals.removed_module(
[openstackdocstheme] using theme from 
/usr/lib/python3/dist-packages/openstackdocstheme/theme
[openstackdocstheme] cannot find git top directory, assuming "."
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 67 source files that are out of date
updating environment: [new config] 67 added, 0 changed, 0 removed
reading sources... [  1%] admin/apache-mod-wsgi
reading sources... [  3%] admin/gmr
reading sources... [  4%] admin/index
reading sources... [  6%] admin/policy
reading sources... [  7%] architecture
reading sources... [  9%] configuration/configuring
reading sources... [ 10%] configuration/index
reading sources... [ 12%] configuration/watcher
loading config file etc/watcher/oslo-config-generator/watcher.conf
/usr/lib/python3/dist-packages/sphinx/directives/patches.py:216: 
PendingDeprecationWarning: The auxiliary function roles.set_classes() is 
obsoleted by roles.normalize_options() and will be removed in Docutils 2.0
  set_classes(self.options)
reading sources... [ 13%] contributor/api_microversion_history
reading sources... [ 15%] contributor/concurrency
/usr/lib/python3/dist-packages/sphinx/directives/patches.py:103: 
PendingDeprecationWarning: The auxiliary function roles.set_classes() is 
obsoleted by roles.normalize_options() and will be removed in Docutils 2.0
  set_classes(self.options)
reading sources... [ 16%] contributor/contributing
reading sources... [ 18%] contributor/devstack
reading sources... [ 19%] contributor/environment
reading sources... [ 21%] contributor/index
reading sources... [ 22%] contributor/notifications
reading sources... [ 24%] contributor/plugin/action-plugin
reading sources... [ 25%] contributor/plugin/base-setup
reading sources... [ 27%] contributor/plugin/cdmc-plugin
reading sources... [ 28%] contributor/plugin/goal-plugin
reading sources... [ 30%] contributor/plugin/index
reading sources... [ 31%] contributor/plugin/planner-plugin
reading sources... [ 33%] contributor/plugin/plugins
documenting plugins from 'watcher_goals'
documenting plugins from 'watcher_scoring_engines'
documenting plugins from 'watcher_scoring_engine_containers'
documenting plugins from 'watcher_strategies'
documenting plugins from 'watcher_actions'
documenting plugins from 'watcher_workflow_engines'
documenting plugins from 'watcher_planners'
documenting plugins from 'watcher_cluster_data_model_collectors'
reading sources... [ 34%] contributor/plugin/scoring-engine-plugin
reading sources... [ 36%] contributor/plugin/strategy-plugin
/usr/lib/python3/dist-packages/sphinx/directives/patches.py:103: 
PendingDeprecationWarning: The auxiliary function roles.set_classes() is 
obsoleted by roles.normalize_options() and will be removed in Docutils 2.0
  set_classes(self.options)
reading sources... [ 37%] contributor/rally_link
reading sources... [ 39%] contributor/release-guide
reading sources... [ 40%] contributor/testing
reading sources... [ 42%] datasources/aetos
reading sources... [ 43%] datasources/grafana
reading sources... [ 45%] datasources/index
reading sources... [ 46%] datasources/prometheus
reading sources... [ 48%] glossary


Versions
========

* Platform:         linux; 
(Linux-6.12.48+deb13-cloud-amd64-x86_64-with-glibc2.41)
* Python version:   3.13.9 (CPython)
* Sphinx version:   8.2.3
* Docutils version: 0.22.2
* Jinja2 version:   3.1.6
* Pygments version: 2.18.0

Last Messages
=============


    reading sources... [ 45%]
    datasources/index

    reading sources... [ 46%]
    datasources/prometheus

    reading sources... [ 48%]
    glossary

Loaded Extensions
=================

* sphinx.ext.mathjax (8.2.3)
* alabaster (0.7.16)
* oslo_config.sphinxext (unknown version)
* sphinx.ext.viewcode (8.2.3)
* sphinxcontrib.pecanwsme.rest (unknown version)
* stevedore.sphinxext (unknown version)
* ext.term (15.0.0)
* ext.versioned_notifications (unknown version)
* oslo_config.sphinxconfiggen (unknown version)
* openstackdocstheme (3.2.0)
* sphinx.ext.autodoc.preserve_defaults (8.2.3)
* sphinx.ext.autodoc.type_comment (8.2.3)
* sphinx.ext.autodoc.typehints (8.2.3)
* sphinx.ext.autodoc (8.2.3)
* sphinx.ext.napoleon (8.2.3)

Traceback
=========

      File "/usr/lib/python3/dist-packages/docutils/nodes.py", line 2095, in 
note_source
        self.current_source = source and os.fspath(source)
                                         ~~~~~~~~~^^^^^^^^
    TypeError: expected str, bytes or os.PathLike object, not function


The full traceback has been saved in:
/tmp/sphinx-err-8n49fbvl.log

To report this error to the developers, please open an issue at 
<https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message 
can be provided next time.
make[1]: *** [debian/rules:91: override_dh_sphinxdoc] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to