| Summary: | phoronix-test-suite fails to download tests and for some to compile them | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Aurelian R <arusanu> |
| Component: | RPM Packages | Assignee: | David GEIGER <geiger.david68210> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | phoronix-test-suite-10.0.1-1.mga8.noarch | CVE: | |
| Status comment: | |||
| Attachments: |
Patch for pts that works for 10.0.1 version and also 10.2.0(latest released)
spec file for pts-10.2.0( can be downgraded to current cauldron version) |
||
Hi, thanks for reporting this. Assigned to the package maintainer. (Please set the status to 'assigned' if you are working on it) Assignee:
bugsquad =>
geiger.david68210 Curl error can be dirty fixed by changing line 303 in source file phoronix-test-suite/pts-core/objects/pts-network.php from " $downloaded_float = $download_size == 0 ? 0 : $downloaded / $download_size; " to something like " $downloaded_float = $download_size; " This fix does affect some cosmetics of phoronix-test-suite, but the program completes the downloads fine and allows the test to be installed and run just fine. It seems that the latest version of curl mainly works in pts only sometimes fails. Regarding n-queens benchmark error mentioned in comment0, it turns out that the installation of n-queens required static libs to be available on my Mga8 system, which of course they weren't at that time. Regards. Created attachment 12191 [details]
Patch for pts that works for 10.0.1 version and also 10.2.0(latest released)
Created attachment 12192 [details]
spec file for pts-10.2.0( can be downgraded to current cauldron version)
Fixed with phoronix-test-suite-10.0.1-2.mga8! This will do just fine for now, better have the core software working than not at all :). Regards. Status:
NEW =>
RESOLVED There is a new version that solves the main curl/php issues for Mageia 8. https://github.com/phoronix-test-suite/phoronix-test-suite/releases/tag/v10.2.1 Building and testing this last version went smoothly for my system(no need for patching). Regards. Resolution:
WORKSFORME =>
(none) Ok thanks for this info! So freeze push asked for this new release. While most issues are solved it seems that the gui interface is broken. However, the gui interface is not maintained anymore in pts( this is stated in the message printed while starting "phoronix-test-suite gui" from a terminal). I suspect the gui interface is affected by changes in php, because with the same package version it works fine in Mga7 with php7 while in Mga8 it hangs in connecting to websocket server. I don't think this is a bug as it is an unsupported feature of the software which is clearly stated by it. This comment is here just to point out this unsupported feature, nothing more. Unless, of course, someone is brave to fix it for MGA8 :). I think this bug should be closed as the package is working fine from my point of view. Closing of this bug as fixed! Resolution:
(none) =>
FIXED |
Description of problem: phoronix-test-suite fails to download new tests and for some to compile them. It used to work fine few weeks or couple of months back. Steps to Reproduce: 1. Install phoronix-test-suite (if it was already installed and used then just move or delete $(HOME)/.phoronix-test-suite ) 2. run "$ phoronix-test-suite" to initialize and add any optional modules to it if you like 2. Run a benchmark test like y-cruncher or n-queens. Erros are spawn when downloading the files: $ phoronix-test-suite benchmark y-cruncher Phoronix Test Suite v10.0.1 To Install: pts/y-cruncher-1.1.0 Determining File Requirements ......................................................................................................................................................................................................... Searching Download Caches ............................................................................................................................................................................................................. 1 Test To Install 1 File To Download [26.39MB] 150MB Of Disk Space Is Needed 4 Seconds Estimated Install Time pts/y-cruncher-1.1.0: Test Installation 1 of 1 1 File Needed [26.39 MB] Downloading: y-cruncher-v0.7.8.9503-static.tar.xz [26.39MB] PHP Fatal error: Uncaught TypeError: Unsupported operand types: int / CurlHandle in /usr/share/phoronix-test-suite/pts-core/objects/pts_network.php:303 Stack trace: #0 [internal function]: pts_network::curl_status_callback() #1 /usr/share/phoronix-test-suite/pts-core/objects/pts_network.php(187): curl_exec() #2 /usr/share/phoronix-test-suite/pts-core/objects/pts_network.php(113): pts_network::curl_download() #3 /usr/share/phoronix-test-suite/pts-core/objects/client/pts_test_installer.php(413): pts_network::download_file() #4 /usr/share/phoronix-test-suite/pts-core/objects/client/pts_test_installer.php(794): pts_test_installer::download_test_files() #5 /usr/share/phoronix-test-suite/pts-core/objects/client/pts_test_installer.php(150): pts_test_installer::install_test_process() #6 /usr/share/phoronix-test-suite/pts-core/objects/client/pts_test_installer.php(76): pts_test_installer::start_install() #7 /usr/share/phoronix-test-suite/pts-core/commands/benchmark.php(40): pts_test_installer::standard_install() #8 /usr/share/phoronix-test-suite/pts-core/objects/client/pts_client.php(1562): benchmark::run() #9 /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php(155): pts_client::execute_command() #10 {main} thrown in /usr/share/phoronix-test-suite/pts-core/objects/pts_network.php on line 303 3. Manually downloading (http://www.numberworld.org/y-cruncher/versions.html) y-cruncher%20v0.7.8.9503-static.tar.xz to $(HOME)/.phoronix-test-suite/download-cache allows the test to be installed and to complete the benchmark. However, this is not working for the n-queens test( and maybe other basic tests), as it fails to compile it, but this is another issue. The download errors may be related to the new version of php or curl as they look like the only ones involved. Even the latest git version of phoronix-test-suite(which had some php8 fixes) has identical errors. 4. Always