Greetings:
I'm trying to run the build-mysql test from PTS version 2.8.1 on a Ubuntu 10.04 Server distribution.
I installed the 2.8.1 version of PTS from the Debian/Ubuntu package on the Download page. This is a fresh Ubuntu 10.04 install with only build-essential, php5-cli, and php5-gd packages (and their dependencies) installed.
I ran the following commands to install the build-mysql test:
phoronix-test-suite install-test build-mysql
phoronix-test-suite install-dependencies build-mysql
And ran the test:
phoronix-test-suite run build-mysql
Which returns the following results:
Would you like to save these test results (Y/n): n
Timed MySQL Compilation:
build-mysql
Test 1 of 1
Expected Trial Run Count: 3
Running Pre-Test Script @ 22:10:59
Started Run 1 @ 22:11:30
The test did not produce a result.
Running Interim-Test Script @ 22:11:33
Started Run 2 @ 22:11:35
The test did not produce a result.
Running Interim-Test Script @ 22:11:36
Started Run 3 @ 22:11:38
The test did not produce a result.
Running Post-Test Script @ 22:11:38
Test Results:
Average: 0 Seconds
This test failed to run properly.
As a troubleshooting step, I took the source code bundle that was downloaded as part of the test and tried to build it by hand. The following steps worked as expected (they built successfully)
tar xzvf ~/.phoronix-test-suite/installed-tests/build-mysql/mysql-5.1.30.tar.gz
cd mysql-5.1.30
./configure
make all
So I don't think that there's anything fundamentally broken with the system. I checked the documentation and found the debug-run command, so I ran that and it returned the following:
phoronix-test-suite debug-run build-mysql
Would you like to save these test results (Y/n): n
Running Pre-Test Script
========================================
Timed MySQL Compilation (Run 1 of 3)
========================================
Test Run Command: cd /home/scott/.phoronix-test-suite/installed-tests/build-mysql/ && ./build-mysql 2>&1
Making all in .
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
71d70
< KILL_QUERY= 254,
make[2]: *** [do_abi_check] Error 1
make[1]: *** [abi_check] Error 2
make: *** [all-recursive] Error 1
Test Result Value:
The test did not produce a result.
Running Interim-Test Script
========================================
Timed MySQL Compilation (Run 2 of 3)
========================================
Test Run Command: cd /home/scott/.phoronix-test-suite/installed-tests/build-mysql/ && ./build-mysql 2>&1
Making all in .
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
71d70
< KILL_QUERY= 254,
make[2]: *** [do_abi_check] Error 1
make[1]: *** [abi_check] Error 2
make: *** [all-recursive] Error 1
Test Result Value:
The test did not produce a result.
Running Interim-Test Script
========================================
Timed MySQL Compilation (Run 3 of 3)
========================================
Test Run Command: cd /home/scott/.phoronix-test-suite/installed-tests/build-mysql/ && ./build-mysql 2>&1
Making all in .
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
71d70
< KILL_QUERY= 254,
make[2]: *** [do_abi_check] Error 1
make[1]: *** [abi_check] Error 2
make: *** [all-recursive] Error 1
Test Result Value:
The test did not produce a result.
Running Post-Test Script
########################################
Timed MySQL Compilation:
Time To Compile
Average: 0 Seconds
########################################
The following tests failed to properly run:
- build-mysql: Time To Compile
I can reproduce this error by trying to build the code if I insert a make clean command after configure and before make all:
tar xzvf ~/.phoronix-test-suite/installed-tests/build-mysql/mysql-5.1.30.tar.gz
cd mysql-5.1.30
./configure
make clean
make all
Making all in .
make[1]: Entering directory `/home/scott/temp/mysql-5.1.30'
make abi_headers="include/mysql/plugin.h include/mysql.h" do_abi_check
make[2]: Entering directory `/home/scott/temp/mysql-5.1.30'
set -ex; \
for file in include/mysql/plugin.h include/mysql.h; do \
gcc -E -nostdinc -dI \
-I./include \
-I./include/mysql \
-I./sql \
-I./include \
-I./include/mysql \
-I./sql \
$file 2>/dev/null | \
/bin/sed -e '/^# /d' \
-e '/^[ ]*$/d' \
-e '/^#pragma GCC set_debug_pwd/d' \
-e '/^#ident/d' > \
./abi_check.out; \
/usr/bin/diff -w $file.pp ./abi_check.out; \
/bin/rm ./abi_check.out; \
done
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
71d70
< KILL_QUERY= 254,
make[2]: *** [do_abi_check] Error 1
make[2]: Leaving directory `/home/scott/temp/mysql-5.1.30'
make[1]: *** [abi_check] Error 2
make[1]: Leaving directory `/home/scott/temp/mysql-5.1.30'
make: *** [all-recursive] Error 1
I assume that this test works for others on other platforms. I'm not sure where or how to add a conditional to remove the make clean from the test. I'm not familiar enough with PTS to know exactly how this test inherits from the generic build tests or how to adjust the manner in which this works. I looked through the documentation, but it's a little barren when you get deep into the details.
If anyone can point me in the proper direction to make these changes, I would appreciate it.
-Scott
I'm trying to run the build-mysql test from PTS version 2.8.1 on a Ubuntu 10.04 Server distribution.
I installed the 2.8.1 version of PTS from the Debian/Ubuntu package on the Download page. This is a fresh Ubuntu 10.04 install with only build-essential, php5-cli, and php5-gd packages (and their dependencies) installed.
I ran the following commands to install the build-mysql test:
phoronix-test-suite install-test build-mysql
phoronix-test-suite install-dependencies build-mysql
And ran the test:
phoronix-test-suite run build-mysql
Which returns the following results:
Would you like to save these test results (Y/n): n
Timed MySQL Compilation:
build-mysql
Test 1 of 1
Expected Trial Run Count: 3
Running Pre-Test Script @ 22:10:59
Started Run 1 @ 22:11:30
The test did not produce a result.
Running Interim-Test Script @ 22:11:33
Started Run 2 @ 22:11:35
The test did not produce a result.
Running Interim-Test Script @ 22:11:36
Started Run 3 @ 22:11:38
The test did not produce a result.
Running Post-Test Script @ 22:11:38
Test Results:
Average: 0 Seconds
This test failed to run properly.
As a troubleshooting step, I took the source code bundle that was downloaded as part of the test and tried to build it by hand. The following steps worked as expected (they built successfully)
tar xzvf ~/.phoronix-test-suite/installed-tests/build-mysql/mysql-5.1.30.tar.gz
cd mysql-5.1.30
./configure
make all
So I don't think that there's anything fundamentally broken with the system. I checked the documentation and found the debug-run command, so I ran that and it returned the following:
phoronix-test-suite debug-run build-mysql
Would you like to save these test results (Y/n): n
Running Pre-Test Script
========================================
Timed MySQL Compilation (Run 1 of 3)
========================================
Test Run Command: cd /home/scott/.phoronix-test-suite/installed-tests/build-mysql/ && ./build-mysql 2>&1
Making all in .
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
71d70
< KILL_QUERY= 254,
make[2]: *** [do_abi_check] Error 1
make[1]: *** [abi_check] Error 2
make: *** [all-recursive] Error 1
Test Result Value:
The test did not produce a result.
Running Interim-Test Script
========================================
Timed MySQL Compilation (Run 2 of 3)
========================================
Test Run Command: cd /home/scott/.phoronix-test-suite/installed-tests/build-mysql/ && ./build-mysql 2>&1
Making all in .
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
71d70
< KILL_QUERY= 254,
make[2]: *** [do_abi_check] Error 1
make[1]: *** [abi_check] Error 2
make: *** [all-recursive] Error 1
Test Result Value:
The test did not produce a result.
Running Interim-Test Script
========================================
Timed MySQL Compilation (Run 3 of 3)
========================================
Test Run Command: cd /home/scott/.phoronix-test-suite/installed-tests/build-mysql/ && ./build-mysql 2>&1
Making all in .
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
71d70
< KILL_QUERY= 254,
make[2]: *** [do_abi_check] Error 1
make[1]: *** [abi_check] Error 2
make: *** [all-recursive] Error 1
Test Result Value:
The test did not produce a result.
Running Post-Test Script
########################################
Timed MySQL Compilation:
Time To Compile
Average: 0 Seconds
########################################
The following tests failed to properly run:
- build-mysql: Time To Compile
I can reproduce this error by trying to build the code if I insert a make clean command after configure and before make all:
tar xzvf ~/.phoronix-test-suite/installed-tests/build-mysql/mysql-5.1.30.tar.gz
cd mysql-5.1.30
./configure
make clean
make all
Making all in .
make[1]: Entering directory `/home/scott/temp/mysql-5.1.30'
make abi_headers="include/mysql/plugin.h include/mysql.h" do_abi_check
make[2]: Entering directory `/home/scott/temp/mysql-5.1.30'
set -ex; \
for file in include/mysql/plugin.h include/mysql.h; do \
gcc -E -nostdinc -dI \
-I./include \
-I./include/mysql \
-I./sql \
-I./include \
-I./include/mysql \
-I./sql \
$file 2>/dev/null | \
/bin/sed -e '/^# /d' \
-e '/^[ ]*$/d' \
-e '/^#pragma GCC set_debug_pwd/d' \
-e '/^#ident/d' > \
./abi_check.out; \
/usr/bin/diff -w $file.pp ./abi_check.out; \
/bin/rm ./abi_check.out; \
done
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
+ for file in include/mysql/plugin.h include/mysql.h
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
71d70
< KILL_QUERY= 254,
make[2]: *** [do_abi_check] Error 1
make[2]: Leaving directory `/home/scott/temp/mysql-5.1.30'
make[1]: *** [abi_check] Error 2
make[1]: Leaving directory `/home/scott/temp/mysql-5.1.30'
make: *** [all-recursive] Error 1
I assume that this test works for others on other platforms. I'm not sure where or how to add a conditional to remove the make clean from the test. I'm not familiar enough with PTS to know exactly how this test inherits from the generic build tests or how to adjust the manner in which this works. I looked through the documentation, but it's a little barren when you get deep into the details.
If anyone can point me in the proper direction to make these changes, I would appreciate it.
-Scott