Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] gsh.sh -test TestStem failure

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] gsh.sh -test TestStem failure


Chronological Thread 
  • From: Shilen Patel <>
  • To: Dominique Petitpierre <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] gsh.sh -test TestStem failure
  • Date: Fri, 10 Aug 2012 00:09:07 +0000
  • Accept-language: en-US

Hi,

Do the tests still fail if you use the default grouper.properties file?
Based on the first line of the stderr output, it seems like you may have
made changes there.

Thanks!

-- Shilen


On 8/9/12 7:17 PM, "Dominique Petitpierre"
<>
wrote:

>Hello,
>
>after installing Grouper 2.1.1 running "gsh.sh -test -all" produces
>many errors and failures. To narrow the search range for clues I tried
>to run just one set of tests like this:
>
># cleanup the DB:
>$GROUPER_HOME/bin/gsh.sh -registry -droponly -runscript
># reinitialize the schema:
>$GROUPER_HOME/bin/gsh.sh -registry -noprompt -runsqlfile
>grouperDdl_20120808_15_51_05_967.sql > & gsh-runsqlfile.out
># run one class of tests:
>( $GROUPER_HOME/bin/gsh.sh -test TestStem >
>/var/tmp/gsh.sh_-test_TestStem.out ) > &
>/var/tmp/gsh.sh_-test_TestStem.err
>
>This ends with one failure (the full stdout and stderr output are in
>annexe):
>
>testGetChildGroups2(edu.internet2.middleware.grouper.TestStem)junit.framew
>ork.AssertionFailedError:
>Expecting groups of size: 6 but received size: 7...
>
>There is no corresponding error in
>$GROUPER_HOME/logs/grouper_error.log
>
>Context:
>Grouper 2.1.1 (unpacked from
>http://www.internet2.edu/grouper/release/2.1.1/grouper.apiBinary-2.1.1.tar
>.gz)
>Java 1.6.0_33
>DB: Oracle 10g
>OS: Oracle Solaris 11 11/11 X86
>Specific config in grouper.hibernate.properties:
>hibernate.connection.driver_class = oracle.jdbc.driver.OracleDriver
>hibernate.dialect = org.hibernate.dialect.Oracle10gDialect
>hibernate.connection.password =
>/usr/local/grouper/conf/pw1.encrypted.tx
>hibernate.connection.username = grouperuser
>hibernate.connection.url =
>jdbc:oracle:thin:@dbhost.unige.ch:1521:dbinstance
>
>- Where could the problem be? (
>- What could I do next? (e.g. raise the log level somewhere)?
>
>Thanks in advance for your help!
>
>Dominique
>--
>Mr Dominique Petitpierre, user=Dominique.Petitpierre domain=unige.ch
>IT Division, University of Geneva, Switzerland




Archive powered by MHonArc 2.6.16.

Top of Page