grouper-users - RE: [grouper-users] Grouper 2.1.3: errors with "gsh.sh -test -all"
Subject: Grouper Users - Open Discussion List
RE: [grouper-users] Grouper 2.1.3: errors with "gsh.sh -test -all"
- From: Chris Hyzer <>
- To: Dominique Petitpierre <>, "" <>
- Subject: RE: [grouper-users] Grouper 2.1.3: errors with "gsh.sh -test -all"
- Date: Thu, 31 Jan 2013 00:29:35 +0000
- Accept-language: en-US
I just ran all the tests of 2.1.3 against oracle and it worked fine.
If the tests run individually, but not in the suite, then Im not concerned...
there might be differences with caches and with clearing out the DB all of
the sudden, or other that would not happen in real life.
Also, I think Junit doesn’t guarantee the order that tests are run, so they
are different each time, which makes things different, or again with caching,
if tests take longer, they can behave a little different.
OK (2157 tests)
The only change I made was to grouper.hibernate.properties
hibernate.connection.url = jdbc:oracle:thin:@localhost:1521:xe
hibernate.connection.username = grouper2_1
# If you are using an empty password, depending upon your version of
# Java and Ant you may need to specify a password of "".
# Note: you can keep passwords external and encrypted:
hibernate.connection.password = **********
On Behalf Of Dominique Petitpierre
Sent: Wednesday, January 30, 2013 10:53 AM
Subject: [grouper-users] Grouper 2.1.3: errors with "gsh.sh -test -all"
after an initial install of Grouper 2.1.3, executing "gsh.sh -test
-all" reports errors (cf annexe gsh.sh_-test_-all.out1). Curiously
these errors vary from one run to the other although I cannot see what
could be different in the context (cf annexe gsh.sh_-test_-all.out2);
there was even a run without errors but it could not be reproduced.
When the test classes that reported the errors are subsequently run
independently (e.g. "gsh.sh -test subj.TestSubjectFinder", cf annexe
gsh.sh_-test_subj.TestSubjectFinder.out1 ) there are no errors.
It occurs both after a reinitialisation from scratch ("gsh.sh
-registry -noprompt -droponly -runscript", "gsh.sh -registry -noprompt
-runsqlfile ddlScripts/grouperDdl_20130125_17_07_25_123.sql" or after
a reset "gsh.sh -registry -reset").
One thing that is curious is that the output of the test command is
not always in the same order, as if some tests were run concurrently.
- What could be the cause of the errors?
- Why do the symptoms vary?
OS: Solaris 11.0 x86
java version: "1.7.0_11"
Oracle DB version: 11.2.0
It occurs with both distributions grouper.apiBinary-2.1.3 and
grouper.api-2.1.3. Only two configuration files have been minimally
modified: conf/grouper.hibernate.properties and bin/setenv.sh. All the
other configuration files are as distributed.
Thanks in advance for your help!
Mr Dominique Petitpierre, user=Dominique.Petitpierre domain=unige.ch
IT Division, University of Geneva, Switzerland
- [grouper-users] Grouper 2.1.3: errors with "gsh.sh -test -all", Dominique Petitpierre, 01/30/2013
- RE: [grouper-users] Grouper 2.1.3: errors with "gsh.sh -test -all", Chris Hyzer, 01/30/2013
Archive powered by MHonArc 2.6.16.