You are not logged in.

#1 2009-11-17 20:18:48

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

[solved in git] phoronix-test-suite: how to get it working?

I installed it and it does not really work.

[chris@chrispc ~]$ phoronix-test-suite system-info

====================================
Phoronix Test Suite v2.2.0 (Bardu)
System Information
====================================

PHP Notice:  Undefined offset: 1 in /usr/share/phoronix-test-suite/pts-core/objects/phodevi/phodevi_gpu.php on line 568
Hardware:
Processor: AMD Athlon II X2 240 @ 2.81GHz (Total Cores: 2), Motherboard: Gigabyte M61PME-S2, Chipset: nVidia MCP61, System Memory: 1009MB, Disk: 500GB WDC WD5000KS-00M, Graphics: GeForce 6600 128MB

PHP Warning:  file_get_contents(): Filename cannot be empty in /usr/share/phoronix-test-suite/pts-core/objects/phodevi/phodevi_system.php on line 591
Software:
OS: Arch, Kernel: 2.6.31-ARCH (i686), Desktop: Xfce 4.6.1, Display Server: X.Org Server 1.7.1.901 (1.7.2 RC 1), OpenGL: 2.1.2 NVIDIA 190.42, Compiler: GCC 4.4.2, File-System: ext3, Screen Resolution: 1680x1050

This is the most clear output I got until now. Note that the output is already messed with errors.

I can't list the tests:

[chris@chrispc ~]$ phoronix-test-suite list-tests

====================================
Phoronix Test Suite - Tests
====================================

PHP Warning:  array_merge(): Argument #2 is not an array in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 695
PHP Warning:  array_unique() expects parameter 1 to be array, null given in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 695
PHP Warning:  asort() expects parameter 1 to be array, null given in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 696
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 698
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/phoronix-test-suite/pts-core/options/list_tests.php on line 28

I can't install-all:

[chris@chrispc ~]$ phoronix-test-suite install-all

Checking For Needed External Dependencies.
PHP Warning:  array_merge(): Argument #2 is not an array in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 695
PHP Warning:  array_unique() expects parameter 1 to be array, null given in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 695
PHP Warning:  asort() expects parameter 1 to be array, null given in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 696
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 698
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 735
PHP Warning:  array_merge(): Argument #2 is not an array in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 695
PHP Warning:  array_unique() expects parameter 1 to be array, null given in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 695
PHP Warning:  asort() expects parameter 1 to be array, null given in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 696
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 698
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_tests.php on line 735

====================================
Not Recognized: all
====================================

I actually was able to download a test:

[chris@chrispc ~]$ phoronix-test-suite install byte

Checking For Needed External Dependencies.
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/phoronix-test-suite/pts-core/library/pts-functions_shell.php on line 150
PHP Warning:  array_merge(): Argument #1 is not an array in /usr/share/phoronix-test-suite/pts-core/library/pts-includes-install.php on line 602
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/phoronix-test-suite/pts-core/library/pts-includes-install.php on line 604

====================================
Downloading Files: byte
Estimated Download Size: 0.17 MB
====================================

But it is not really working:

====================================
BYTE Unix Benchmark (Run 1 of 1)
====================================

Flavor of UNIX is not known.
Please define FLAVOR in Run script

#############################################
BYTE Unix Benchmark:
Computational Test: Floating-Point Arithmetic


Average: 0.00 LPS
#############################################

PHP Warning:  Invalid argument supplied for foreach() in /usr/share/phoronix-test-suite/pts-core/library/pts-includes-run.php on line 210

and it aborts.


And of course I can't start the gui because there is no working php-gtk (php-gtk in AUR depends on php <5.3)

phoronix-test-suite seems to be in much worse condition than most of the software in AUR, yet it is in community.

Am I doing it wrong or is phoronix-test-suite really hardly working?

Last edited by Cdh (2009-11-19 20:25:26)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2 2009-11-17 21:02:50

apaige
Member
Registered: 2008-06-15
Posts: 96

Re: [solved in git] phoronix-test-suite: how to get it working?

All those errors stem from the fact that PTS (wrongly) assumes the PHP glob() function always returns an array, when it can also return false. For some reason, glob() on your system returns false, and that breaks every piece of code in PTS that expects it to return an array, even if it's empty.

Edit: wow, it's been reported 9 months ago, and the bugs are still there hmm

Last edited by apaige (2009-11-17 21:09:17)

Offline

#3 2009-11-19 07:59:22

DuGi
Member
From: Silesia
Registered: 2008-12-23
Posts: 8

Re: [solved in git] phoronix-test-suite: how to get it working?

i have the same error... previous version of PTS works fine for me.

Last edited by DuGi (2009-11-19 07:59:44)


Powered by AMD, NVidia & Arch64 smile

Offline

#4 2009-11-19 10:41:29

apaige
Member
Registered: 2008-06-15
Posts: 96

Re: [solved in git] phoronix-test-suite: how to get it working?

CdH, the author is asking for your input on the matter.

Offline

#5 2009-11-19 20:00:47

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: [solved in git] phoronix-test-suite: how to get it working?

$ pacman -Q php
php 5.3.0-5

php.ini is all default except for fix pathinfo which is needed for lighttpd to run php as fastcgi:
http://omploader.org/vMnQzdQ

(don't want to register there just for the single post... I guess he reads this thread too when it is linked to here)


edit:
I tried the .tar.gz from http://www.phoronix-test-suite.com/?k=downloads
It works a bit better:

[chris@chrispc ~]$ phoronix-test-suite system-info

====================================
Phoronix Test Suite v2.2.0 (Bardu)
System Information
====================================

Hardware:
Processor: AMD Athlon II X2 240 @ 2.81GHz (Total Cores: 2), Motherboard: Gigabyte M61PME-S2, Chipset: nVidia MCP61, System Memory: 1009MB, Disk: 500GB WDC WD5000KS-00M, Graphics: GeForce 6600 128MB

Software:
OS: Arch, Kernel: 2.6.31-ARCH (i686), Desktop: KDE 4.3.3, Display Server: X.Org Server 1.7.1.901 (1.7.2 RC 1), OpenGL: 2.1.2 NVIDIA 190.42, Compiler: GCC 4.4.2, File-System: ext3, Screen Resolution: 1680x1050

My Desktop is not kde but xfce without login manager but that's not so important.

All the other errors still remain.


edit2:
I downloaded the git version
git-clone http://www.phorogit.com/repo/phoronix-test-suite.git
(actually a typo? git-clone instead of git clone?)
And it seems to work. First time running phoronix-test-suite system-info gave the messed up output but since then it works.

I would suggest putting a recent git build in the repos.

Last edited by Cdh (2009-11-19 20:23:34)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

Board footer

Powered by FluxBB