Source: tryton-server, tryton-modules-stock-supply
Control: found -1 tryton-server/5.0.19-1
Control: found -1 tryton-modules-stock-supply/5.0.4-1
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of tryton-server the autopkgtest of
tryton-modules-stock-supply fails in testing when that autopkgtest is
run with the binary packages of tryton-server from unstable. It passes
when run with only packages from testing. In tabular form:
pass fail
tryton-server from testing 5.0.19-1
tryton-modules-stock-supply from testing 5.0.4-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of tryton-server to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=tryton-server
https://ci.debian.net/data/autopkgtest/testing/amd64/t/tryton-modules-stock-supply/4784547/log.gz
======================================================================
FAIL:
/usr/lib/python3/dist-packages/trytond/modules/stock_supply/tests/scenario_stock_supply_purchase_request.rst
Doctest: scenario_stock_supply_purchase_request.rst
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.8/doctest.py", line 2197, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for
scenario_stock_supply_purchase_request.rst
File
"/usr/lib/python3/dist-packages/trytond/modules/stock_supply/tests/scenario_stock_supply_purchase_request.rst",
line 0
----------------------------------------------------------------------
File
"/usr/lib/python3/dist-packages/trytond/modules/stock_supply/tests/scenario_stock_supply_purchase_request.rst",
line 167, in scenario_stock_supply_purchase_request.rst
Failed example:
create_purchase = Wizard('purchase.request.create_purchase', [pr])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.8/doctest.py", line 1329, in __run
exec(compile(example.source, filename, "single",
File "<doctest scenario_stock_supply_purchase_request.rst[102]>",
line 1, in <module>
create_purchase = Wizard('purchase.request.create_purchase', [pr])
File "/usr/lib/python3/dist-packages/proteus/__init__.py", line
1169, in __init__
self.execute(self.start_state)
File "/usr/lib/python3/dist-packages/proteus/__init__.py", line
1195, in execute
result = self._proxy.execute(self.session_id, data, self.state,
File "/usr/lib/python3/dist-packages/proteus/config.py", line 195,
in __call__
result = rpc.result(meth(*args, **kwargs))
File "/usr/lib/python3/dist-packages/trytond/wizard/wizard.py",
line 280, in execute
cls.check_access()
File "/usr/lib/python3/dist-packages/trytond/wizard/wizard.py",
line 242, in check_access
ModelAccess.check(model, 'write')
File "/usr/lib/python3/dist-packages/trytond/ir/model.py", line
522, in check
cls.raise_user_error(mode, model_name)
File "/usr/lib/python3/dist-packages/trytond/error.py", line 74,
in raise_user_error
raise UserError(error)
trytond.exceptions.UserError: You can not write in this document!
(purchase.request) -
Attachment:
signature.asc
Description: OpenPGP digital signature