canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #04511
[Bug 2071423] Re: Fix python3 reduce usage for ubuntu_performance_lkp on Noble
It's been moved to functools. This module is available on Focal as well.
** Tags added: ubuntu-performance-lkp
** Merge proposal linked:
https://code.launchpad.net/~cypressyew/+git/autotest-client-tests/+merge/468404
--
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/2071423
Title:
Fix python3 reduce usage for ubuntu_performance_lkp on Noble
Status in ubuntu-kernel-tests:
In Progress
Bug description:
ubuntu_performance_lkp test on Noble will fail with:
File "/home/ubuntu/autotest/client/tests/ubuntu_performance_lkp/ubuntu_performance_lkp.py", line 617, in run_once
stddev = sqrt(float(reduce(lambda x, y: x + y, map(lambda x: (x - average) ** 2, values))) / (len(values) - 1))
^^^^^^
NameError: name 'reduce' is not defined
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2071423/+subscriptions
References