Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933532 - media-libs/libaom-3.8.1 tests hang with full CPU usage
Summary: media-libs/libaom-3.8.1 tests hang with full CPU usage
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-04 15:32 UTC by Marco Sirabella
Modified: 2024-09-27 18:04 UTC (History)
4 users (show)

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


Attachments
emerge --info '=media-libs/libaom-3.8.1 (emerge-info-libaom.txt,8.69 KB, text/plain)
2024-06-04 15:33 UTC, Marco Sirabella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Sirabella 2024-06-04 15:32:07 UTC
It's been a few hours since any log last got written to.

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                               
  734 portage   20   0  789696 164424  10368 R  85.0   0.5 108:21.57 test_libaom                                                                                           
  729 portage   20   0  789696 164388  10112 R  84.7   0.5 108:16.56 test_libaom                                                                                           
  735 portage   20   0  789696 164172  10112 R  84.4   0.5 108:19.75 test_libaom                                                                                           
  736 portage   20   0  889572 262516  10496 R  84.1   0.8 108:19.50 test_libaom                                                                                           
  731 portage   20   0  889552 262980  10368 R  83.7   0.8 108:07.10 test_libaom                                                                                           
  730 portage   20   0  789700 164428  10368 R  82.4   0.5 108:27.40 test_libaom                                                                                           
  733 portage   20   0  789696 164604  10368 R  82.1   0.5 108:19.43 test_libaom                                                                                           
  737 portage   20   0  889576 262340  10240 R  81.7   0.8 108:16.96 test_libaom                                                                                           
  732 portage   20   0  889540 262336  10112 R  80.7   0.8 108:24.73 test_libaom
Comment 1 Marco Sirabella 2024-06-04 15:33:07 UTC
Created attachment 895068 [details]
emerge --info '=media-libs/libaom-3.8.1
Comment 2 Ionen Wolkens gentoo-dev 2024-06-04 16:00:46 UTC
Haven't measured myself but these tests are known to take several hours, encoding with libaom is very slow by design (it's the reference implementation and not meant to be fast).
Comment 3 Marco Sirabella 2024-06-04 16:46:33 UTC
Most of my confusion stems from both the build logs not saying they're done building & the lack of reporting/logging from the tests themselves. The files in the package's logging dir haven't been touched for 5 hours with tests still running.
Comment 4 Gabi Falk 2024-09-27 16:52:36 UTC
[==========] 9999 tests from 87 test suites ran. (26869680 ms total)
[  PASSED  ] 9999 tests.

It took almost 7 and a half hours on my i5-9400.
Comment 5 Ionen Wolkens gentoo-dev 2024-09-27 18:04:00 UTC
Guess one could argue that skipping most tests downstream (or at least most of the slower ones) would be worthwhile, not to have unnecessary maintainer+stabilization burden potentially leading to just ignoring tests entirely.

That aside, I do discourage any users from running these :)