Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 182557

Summary: emerge =dev-db/mysql-5.0.42 with FEATURES="test" fails
Product: Gentoo Linux Reporter: SG00 <s4uliu5>
Component: [OLD] ServerAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description SG00 2007-06-19 09:12:11 UTC
emerge fails to upgrade mysql from 5.0.38 to 5.0.42 if make.conf contains

FEATURES="sandbox ccache distlocks test"

It fails because tests fail

make: *** [test-ps] Error 1
 * test-ps failed

!!! ERROR: dev-db/mysql-5.0.42 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_test
  ebuild.sh, line 1027:   Called qa_call 'src_test'
  ebuild.sh, line 44:   Called src_test
  mysql-5.0.42.ebuild, line 69:   Called die


Reproducible: Always

Steps to Reproduce:
1. emerge =dev-db/mysql-5.0.42

Actual Results:  
*ALL* tests from mysql test suite fail.


Expected Results:  
Tests should not fail as with mysql-5.0.38.

Everything works on 5.0.38.

Mysql tests log file /var/tmp/portage/dev-db/mysql-5.0.42/work/mysql/mysql-test/var/log/master.err shows

CURRENT_TEST: alias
070619  9:14:21 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!

070619  9:14:21 [ERROR] Aborting

070619  9:14:21 [Note] /var/tmp/portage/dev-db/mysql-5.0.42/work/mysql/sql/mysqld: Shutdown complete

an many same errors
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-06-21 01:13:05 UTC
You must use FEATURES=userpriv for testing!