Merge ~canonical-kernel-team/+git/autotest-client-tests:phlin/multipass-stddev into ~canonical-kernel-team/+git/autotest-client-tests:master
Proposed by
Po-Hsu Lin
Status: | Merged |
---|---|
Merge reported by: | Po-Hsu Lin |
Merged at revision: | b0d8f3a8e2b9dd35cf051e2b53bfa1708ec9348a |
Proposed branch: | ~canonical-kernel-team/+git/autotest-client-tests:phlin/multipass-stddev |
Merge into: | ~canonical-kernel-team/+git/autotest-client-tests:master |
Diff against target: |
17 lines (+2/-1) 1 file modified
ubuntu_performance_multipass/ubuntu_performance_multipass.py (+2/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis Ginther | Approve | ||
Review via email:
|
Commit message
BugLink: https:/
The formula for sample standard deviation require more than 1 result,
otherwise it will cause a ZeroDivisionError.
Calculate stddev only when we have 2+ results available to avoid this issue.
To post a comment you must log in.
@cypressyew, any idea why we see the multipass test fail to start sometimes. I looked over a couple of recent runs, and we typically see a few of these fail in the beginning. I ended up filing a new bug for this: https:/ /bugs.launchpad .net/ubuntu- kernel- tests/+ bug/2068768
Given the other bug, I'm ok with this fix.