[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1006003: pyparsing breaks ganeti autopkgtest: module 'pyparsing' has no attribute 'operatorPrecedence'



Source: pyparsing, ganeti
Control: found -1 pyparsing/3.0.7-1
Control: found -1 ganeti/3.0.1-4
Severity: serious
Tags: sid bookworm
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 pyparsing the autopkgtest of ganeti fails in testing when that autopkgtest is run with the binary packages of pyparsing from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
pyparsing              from testing    3.0.7-1
ganeti                 from testing    3.0.1-4
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 pyparsing 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=pyparsing

https://ci.debian.net/data/autopkgtest/testing/amd64/g/ganeti/19310148/log.gz


Running ganeti.qlang_unittest.py
EE.....EEE
======================================================================
ERROR: testFilter (__main__.TestMakeFilter)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/ganeti/testsuite/test/py/ganeti.qlang_unittest.py", line 231, in testFilter
    self.assertEqual(qlang.MakeFilter(["foo/bar"], False),
  File "/usr/share/ganeti/default/ganeti/qlang.py", line 331, in MakeFilter
    result = ParseFilter(filter_text)
File "/usr/share/ganeti/default/ganeti/qlang.py", line 255, in ParseFilter
    parser = BuildFilterParser()
File "/usr/share/ganeti/default/ganeti/qlang.py", line 224, in BuildFilterParser
    filter_expr = pyp.operatorPrecedence(condition, [
AttributeError: module 'pyparsing' has no attribute 'operatorPrecedence'

======================================================================
ERROR: testForcedFilter (__main__.TestMakeFilter)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/ganeti/testsuite/test/py/ganeti.qlang_unittest.py", line 224, in testForcedFilter
    self.assertRaises(errors.QueryFilterParseError,
  File "/usr/lib/python3.9/unittest/case.py", line 739, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/usr/lib/python3.9/unittest/case.py", line 201, in handle
    callable_obj(*args, **kwargs)
  File "/usr/share/ganeti/default/ganeti/qlang.py", line 331, in MakeFilter
    result = ParseFilter(filter_text)
File "/usr/share/ganeti/default/ganeti/qlang.py", line 255, in ParseFilter
    parser = BuildFilterParser()
File "/usr/share/ganeti/default/ganeti/qlang.py", line 224, in BuildFilterParser
    filter_expr = pyp.operatorPrecedence(condition, [
AttributeError: module 'pyparsing' has no attribute 'operatorPrecedence'

======================================================================
ERROR: test (__main__.TestParseFilter)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/ganeti/testsuite/test/py/ganeti.qlang_unittest.py", line 64, in setUp
    self.parser = qlang.BuildFilterParser()
File "/usr/share/ganeti/default/ganeti/qlang.py", line 224, in BuildFilterParser
    filter_expr = pyp.operatorPrecedence(condition, [
AttributeError: module 'pyparsing' has no attribute 'operatorPrecedence'

======================================================================
ERROR: testAllFields (__main__.TestParseFilter)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/ganeti/testsuite/test/py/ganeti.qlang_unittest.py", line 64, in setUp
    self.parser = qlang.BuildFilterParser()
File "/usr/share/ganeti/default/ganeti/qlang.py", line 224, in BuildFilterParser
    filter_expr = pyp.operatorPrecedence(condition, [
AttributeError: module 'pyparsing' has no attribute 'operatorPrecedence'

======================================================================
ERROR: testError (__main__.TestParseFilter)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/ganeti/testsuite/test/py/ganeti.qlang_unittest.py", line 64, in setUp
    self.parser = qlang.BuildFilterParser()
File "/usr/share/ganeti/default/ganeti/qlang.py", line 224, in BuildFilterParser
    filter_expr = pyp.operatorPrecedence(condition, [
AttributeError: module 'pyparsing' has no attribute 'operatorPrecedence'

----------------------------------------------------------------------
Ran 10 tests in 0.012s

FAILED (errors=5)

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: