← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2071423] Re: Fix python3 reduce usage for ubuntu_performance_lkp on Noble

 

** Changed in: ubuntu-kernel-tests
     Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: ubuntu-kernel-tests
       Status: New => In Progress

-- 
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