Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] tiny problem, api build 1.30 rc1

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] tiny problem, api build 1.30 rc1


Chronological Thread 
  • From: Gary Chapman <>
  • To:
  • Subject: Re: [grouper-dev] tiny problem, api build 1.30 rc1
  • Date: Tue, 22 Apr 2008 23:03:18 -0400

Did this:

% ant -D"haltonerror=no" test

and got the below. I'm sure I've made a number of configuration changes
since the earlier run.

test:

[echo] *** results can be found in
/apps/grouper/grouper-api-1.3.0-rc1/dist/test ***

[junit] Running edu.internet2.middleware.grouper.SuiteDefault

[junit] Tests run: 164, Failures: 0, Errors: 1, Time elapsed: 2,531.108
sec

BUILD FAILED
/apps/grouper/grouper-api-1.3.0-rc1/build.xml:650: Test
edu.internet2.middleware.grouper.SuiteDefault failed

The only error stuff I see in the log file
TEST-edu.internet2.middleware.grouper.SuiteDefault.xml is:

<testcase classname="edu.internet2.middleware.grouper.Test_subj_SubjectResolver"
name="test_getSource_getJDBCSourceAdapter" time="0.173">
<error message="Cant find source with id: &apos;jdbc&apos;, Possible source id&apos;s: &apos;g:gsa&apos;, &apos;nyuperson&apos;,
&apos;g:isa&apos;, " type="edu.internet2.middleware.subject.SourceUnavailableException">edu.internet2.middleware.subject.SourceUnavailableException:
Cant find source with id: &apos;jdbc&apos;, Possible source id&apos;s: &apos;g:gsa&apos;, &apos;nyuperson&apos;, &apos;g:isa&apos;,
at
edu.internet2.middleware.grouper.subj.SourcesXmlResolver.getSource(SourcesXmlResolver.java:228)
at
edu.internet2.middleware.grouper.subj.CachingResolver.getSource(CachingResolver.java:242)
at
edu.internet2.middleware.grouper.subj.ValidatingResolver.getSource(ValidatingResolver.java:163)
at
edu.internet2.middleware.grouper.Test_subj_SubjectResolver.test_getSource_getJDBCSourceAdapter(Unknown
Source)
Caused by: edu.internet2.middleware.subject.SourceUnavailableException:
Source not found.
at
edu.internet2.middleware.subject.provider.SourceManager.getSource(Unknown
Source)
at
edu.internet2.middleware.grouper.subj.SourcesXmlResolver.getSource(SourcesXmlResolver.java:226)
... 20 more
</error>
</testcase>

Tom Barton wrote:
Gary,

I'm sure we haven't tested in that precise environment.

Because your testing stopped at the first error, could you rerun the test suite as

ant -D"haltonerror=no" test

so that we can determine if any other tests also fail in your environment?

Thanks,
Tom

Gary Chapman wrote:
Saw this tiny flaw in a nearly flawless build. Using Solaris 9,
java version "1.5.0_15".


% ant test
[echo] ** results can be found in /apps/grouper/grouper-api-1.3.0-rc1/dist/test **

[mkdir] Created dir: /apps/grouper/grouper-api-1.3.0-rc1/dist/test
[junit] Running edu.internet2.middleware.grouper.SuiteDefault
[junit] Tests run: 427, Failures: 0, Errors: 1, Time elapsed: 65.042 sec <---


And from the file /apps/grouper/grouper-api-1.3.0-rc1/dist/test:

<testcase classname="edu.internet2.middleware.grouper.TestGroupTypes" name="testAddExistingField" time="0.045">
<error type="java.lang.NullPointerException">java.lang.NullPointerException
at edu.internet2.middleware.grouper.SessionHelper.stop(Unknown Source)
at edu.internet2.middleware.grouper.TestGroupTypes.testAddExistingField(Unknown Source)
</error>
</testcase>






Archive powered by MHonArc 2.6.16.

Top of Page