canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #05764
[Bug 2089633] [NEW] fips_test failed with "AttributeError: module 'string' has no attribute 'letters'" on Noble
Public bug reported:
This is a followup of bug 2068609.
After fixing the platform module issue in there, test results revealed
some other stuff that we need to fix, the test is now failing with:
Traceback (most recent call last):
File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function
return func(*args, **dargs)
^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/autotest/client/shared/test.py", line 290, in execute
self._call_run_once(constraints, profile_only,
File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once
self.run_once(*args, **dargs)
File "/home/ubuntu/autotest/client/tests/fips_test/fips_test.py", line 57, in run_once
self.do_test()
File "/home/ubuntu/autotest/client/tests/fips_test/fips_test.py", line 114, in do_test
self.console = run_tail('virsh console "%s"' % self.remote_name,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/autotest/client/shared/aexpect.py", line 390, in run_tail
process = Tail(command=command,
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/autotest/client/shared/aexpect.py", line 866, in __init__
Spawn.__init__(self, command, a_id, auto_close, echo, linesep)
File "/home/ubuntu/autotest/client/shared/aexpect.py", line 518, in __init__
self.a_id = a_id or utils.generate_random_string(8)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/autotest/client/shared/utils.py", line 2278, in generate_random_string
chars = string.letters + string.digits + string.punctuation
^^^^^^^^^^^^^^
AttributeError: module 'string' has no attribute 'letters'
We need some compatibility fix in autotest.
** Affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
** Tags: 6.8 fips-test noble
--
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2089633
Title:
fips_test failed with "AttributeError: module 'string' has no
attribute 'letters'" on Noble
Status in ubuntu-kernel-tests:
New
Bug description:
This is a followup of bug 2068609.
After fixing the platform module issue in there, test results revealed
some other stuff that we need to fix, the test is now failing with:
Traceback (most recent call last):
File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function
return func(*args, **dargs)
^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/autotest/client/shared/test.py", line 290, in execute
self._call_run_once(constraints, profile_only,
File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once
self.run_once(*args, **dargs)
File "/home/ubuntu/autotest/client/tests/fips_test/fips_test.py", line 57, in run_once
self.do_test()
File "/home/ubuntu/autotest/client/tests/fips_test/fips_test.py", line 114, in do_test
self.console = run_tail('virsh console "%s"' % self.remote_name,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/autotest/client/shared/aexpect.py", line 390, in run_tail
process = Tail(command=command,
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/autotest/client/shared/aexpect.py", line 866, in __init__
Spawn.__init__(self, command, a_id, auto_close, echo, linesep)
File "/home/ubuntu/autotest/client/shared/aexpect.py", line 518, in __init__
self.a_id = a_id or utils.generate_random_string(8)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/autotest/client/shared/utils.py", line 2278, in generate_random_string
chars = string.letters + string.digits + string.punctuation
^^^^^^^^^^^^^^
AttributeError: module 'string' has no attribute 'letters'
We need some compatibility fix in autotest.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2089633/+subscriptions
Follow ups