Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775530 - dev-python/psutil-5.7.3 - fails psutil.tests.test_linux.TestSystemCPUCountPhysical.test_method_2, psutil.tests.test_linux.TestSystemCPUFrequency.test_emulate_use_cpuinfo tests
Summary: dev-python/psutil-5.7.3 - fails psutil.tests.test_linux.TestSystemCPUCountPhy...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 756568
  Show dependency tree
 
Reported: 2021-03-11 20:18 UTC by ernsteiswuerfel
Modified: 2022-03-31 11:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (psutil-5.7.3:20210311-193501.log,67.62 KB, text/plain)
2021-03-11 20:18 UTC, ernsteiswuerfel
Details
emerge --info (file_775530.txt,5.83 KB, text/plain)
2021-03-11 20:19 UTC, ernsteiswuerfel
Details
psutil-5.7.3 test fail on ARCH=riscv (psutil-5.7.3:20211130-023438.log,54.04 KB, text/x-log)
2021-11-30 03:01 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-03-11 20:18:30 UTC
Created attachment 690867 [details]
build.log

Posting a new bug as these are not the same tests failing as in the other psutil bugs.

[..]
======================================================================
FAIL: psutil.tests.test_linux.TestSystemCPUCountPhysical.test_method_2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/psutil-5.7.3/work/psutil-5.7.3/psutil/tests/test_linux.py", line 748, in test_method_2
    self.assertEqual(meth_1, meth_2)
AssertionError: 8 != None

======================================================================
FAIL: psutil.tests.test_linux.TestSystemCPUFrequency.test_emulate_use_cpuinfo
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/psutil-5.7.3/work/psutil-5.7.3/psutil/tests/test_linux.py", line 794, in test_emulate_use_cpuinfo
    assert ret
AssertionError

----------------------------------------------------------------------
Ran 620 tests in 21.163s

FAILED (failures=2, skipped=195)
Comment 1 ernsteiswuerfel archtester 2021-03-11 20:19:01 UTC
Created attachment 690870 [details]
emerge --info
Comment 2 Yixun Lan archtester gentoo-dev 2021-11-30 03:01:38 UTC
Created attachment 757028 [details]
psutil-5.7.3 test fail on ARCH=riscv


also got failure on ARCH=riscv


======================================================================
FAIL: psutil.tests.test_linux.TestSystemCPUCountPhysical.test_method_2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/psutil-5.7.3/work/psutil-5.7.3/psutil/tests/test_linux.py", line 748, in test_method_2
    self.assertEqual(meth_1, meth_2)
AssertionError: 1 != None

======================================================================
FAIL: psutil.tests.test_linux.TestSystemCPUFrequency.test_emulate_use_cpuinfo
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/psutil-5.7.3/work/psutil-5.7.3/psutil/tests/test_linux.py", line 794, in test_emulate_use_cpuinfo
    assert ret
AssertionError

======================================================================
FAIL: psutil.tests.test_contracts.TestAvailProcessAPIs.test_io_counters
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/psutil-5.7.3/work/psutil-5.7.3/psutil/tests/test_contracts.py", line 166, in test_io_counters
    self.assertEqual(hasit, False if MACOS or SUNOS else True)
AssertionError: False != True

======================================================================
FAIL: psutil.tests.test_contracts.TestFetchAllProcesses.test_all