grouper-users - [grouper-users] Re: test -all errors
Subject: Grouper Users - Open Discussion List
List archive
- From: Dick Visser <>
- To:
- Subject: [grouper-users] Re: test -all errors
- Date: Wed, 25 Jul 2012 12:46:50 +0200
On 25 July 2012 10:52, Dick Visser
<>
wrote:
> hi
>
> I'm running gsh.sh -test -all on a pristine 2.1.1, which an empty
> Postgres database.
> This errors before the tests even begin - any idea what is wrong here?
If I still say 'y', then the tests complete, with warnings but no errors.
See attached log.
Anything I should be worried about?
--
Dick Visser
System & Networking Engineer
TERENA Secretariat
Singel 468 D, 1017 AW Amsterdam
The Netherlands
Using GROUPER_HOME: /opt/GROUPER_2_1_1/grouper
Using GROUPER_CONF: /opt/GROUPER_2_1_1/grouper/conf
Using JAVA: java
using MEMORY: 64m-750m
Grouper starting up: version: 2.1.1, build date: 2012/07/25 10:47:37, env:
<no label configured>
grouper.properties read from:
/opt/GROUPER_2_1_1/grouper/conf/grouper.properties
Grouper current directory is: /opt/GROUPER_2_1_1/grouper
log4j.properties read from: /opt/GROUPER_2_1_1/grouper/conf/log4j.properties
Grouper is logging to file:
/opt/GROUPER_2_1_1/grouper/logs/grouper_error.log, at min level WARN for
package: edu.internet2.middleware.grouper, based on log4j.properties
grouper.hibernate.properties:
/opt/GROUPER_2_1_1/grouper/conf/grouper.hibernate.properties
grouper.hibernate.properties:
grouper_user@jdbc:postgresql://ip6-localhost:5432/grouper
sources.xml read from: /opt/GROUPER_2_1_1/grouper/conf/sources.xml
sources.xml groupersource id: g:gsa
sources.xml groupersource id: grouperEntities
sources.xml jdbc source id: jdbc: GrouperJdbcConnectionProvider
Couldnt startup grouper: Problem adding include/exclude type:
addIncludeExclude
java.lang.RuntimeException: Problem adding include/exclude type:
addIncludeExclude
at
edu.internet2.middleware.grouper.misc.GrouperStartup.initIncludeExcludeType(GrouperStartup.java:379)
at
edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:144)
at
edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.initializeSchemaForTests(RegistryInitializeSchema.java:248)
at
edu.internet2.middleware.grouper.helper.GrouperTest.setupTests(GrouperTest.java:840)
at edu.internet2.middleware.grouper.AllTests.suite(AllTests.java:177)
at edu.internet2.middleware.grouper.AllTests.main(AllTests.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: edu.internet2.middleware.grouper.internal.dao.GrouperDAOException:
Problem in HibernateSession: HibernateSession: isNew: true, isReadonly: true,
grouperTransactionType: READONLY_NEW,
Exception in uniqueResult: (class edu.internet2.middleware.grouper.Member),
ByHqlStatic, query: 'from Member as m where m.subjectIdDb = :sid
and m.subjectSourceIdDb = :source and m.subjectTypeId = :type',
cacheable: true, cacheRegion:
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.FindBySubject,
tx type: null, tx type: nullBind var[0]: 'Param (class java.lang.String):
'sid'->'GrouperSystem', Bind var[1]: 'Param (class java.lang.String):
'type'->'application'Bind var[2]: 'Param (class java.lang.String):
'source'->'g:isa',
at
edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:495)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:581)
at
edu.internet2.middleware.grouper.hibernate.ByHqlStatic.uniqueResult(ByHqlStatic.java:323)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.findBySubject(Hib3MemberDAO.java:217)
at
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.findBySubject(Hib3MemberDAO.java:199)
at
edu.internet2.middleware.grouper.MemberFinder.internal_findOrCreateBySubject(MemberFinder.java:345)
at
edu.internet2.middleware.grouper.MemberFinder.internal_findBySubject(MemberFinder.java:309)
at
edu.internet2.middleware.grouper.GrouperSession.start(GrouperSession.java:428)
at
edu.internet2.middleware.grouper.GrouperSession.startRootSession(GrouperSession.java:378)
at
edu.internet2.middleware.grouper.misc.GrouperStartup.initIncludeExcludeType(GrouperStartup.java:319)
... 12 more
Caused by: org.hibernate.exception.SQLGrammarException: could not execute
query
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.doList(Loader.java:2536)
at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2319)
at org.hibernate.loader.Loader.list(Loader.java:2268)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)
at
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
at
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:890)
at
edu.internet2.middleware.grouper.hibernate.ByHql.uniqueResult(ByHql.java:257)
at
edu.internet2.middleware.grouper.hibernate.ByHqlStatic$1.callback(ByHqlStatic.java:332)
at
edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:571)
... 20 more
Caused by: org.postgresql.util.PSQLException: ERROR: relation
"grouper_members" does not exist
Position: 693
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
at
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
at org.hibernate.loader.Loader.doQuery(Loader.java:802)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
at org.hibernate.loader.Loader.doList(Loader.java:2533)
... 31 more
(note, might need to type in your response multiple times (Java stdin is
flaky))
(note, you can whitelist or blacklist db urls and users in the
grouper.properties)
Are you sure you want to schemaexport all tables
(dropThenCreate=T,writeAndRunScript=T) in db user 'grouper_user', db url
'jdbc:postgresql://ip6-localhost:5432/grouper'? (y|n):
Continuing...
Grouper note: auto-created attributeDefName:
etc:attribute:attrExternalSubjectInvite:externalSubjectInvite
Grouper note: auto-created attributeDefName:
etc:attribute:attrExternalSubjectInvite:externalSubjectInviteExpireDate
Grouper note: auto-created attributeDefName:
etc:attribute:attrExternalSubjectInvite:externalSubjectInviteDate
Grouper note: auto-created attributeDefName:
etc:attribute:attrExternalSubjectInvite:externalSubjectEmailAddress
Grouper note: auto-created attributeDefName:
etc:attribute:attrExternalSubjectInvite:externalSubjectInviteGroupUuids
Grouper note: auto-created attributeDefName:
etc:attribute:attrExternalSubjectInvite:externalSubjectInviteMemberId
Grouper note: auto-created attributeDefName:
etc:attribute:attrExternalSubjectInvite:externalSubjectInviteUuid
Grouper note: auto-created attributeDefName:
etc:attribute:attrExternalSubjectInvite:externalSubjectInviteEmailWhenRegistered
Grouper note: auto-created attributeDefName:
etc:attribute:attrExternalSubjectInvite:externalSubjectInviteEmail
Grouper note: auto-created attributeDefName: etc:attribute:rules:rule
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleActAsSubjectId
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleActAsSubjectIdentifier
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleActAsSubjectSourceId
Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckType
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleCheckOwnerId
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleCheckOwnerName
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleCheckStemScope
Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckArg0
Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckArg1
Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfOwnerId
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleIfOwnerName
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleIfConditionEl
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleIfConditionEnum
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleIfConditionEnumArg0
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleIfConditionEnumArg1
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleIfStemScope
Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEl
Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEnum
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleThenEnumArg0
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleThenEnumArg1
Grouper note: auto-created attributeDefName:
etc:attribute:rules:ruleThenEnumArg2
Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleValid
Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleRunDaemon
Grouper note: auto-created attributeDefName:
etc:attribute:permissionLimits:limitExpression
Grouper note: auto-created attributeDefName:
etc:attribute:permissionLimits:limitIpOnNetworks
Grouper note: auto-created attributeDefName:
etc:attribute:permissionLimits:limitIpOnNetworkRealm
Grouper note: auto-created attributeDefName:
etc:attribute:permissionLimits:limitLabelsContain
Grouper note: auto-created attributeDefName:
etc:attribute:permissionLimits:limitAmountLessThan
Grouper note: auto-created attributeDefName:
etc:attribute:permissionLimits:limitAmountLessThanOrEqual
Grouper note: auto-created attributeDefName:
etc:attribute:permissionLimits:limitWeekday9to5
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoader
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderType
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderDbName
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderScheduleType
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderQuartzCron
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderIntervalSeconds
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderPriority
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderAttrsLike
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderAttrQuery
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderAttrSetQuery
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderActionQuery
Grouper note: auto-created attributeDefName:
etc:attribute:attrLoader:attributeLoaderActionSetQuery
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdap
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapType
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapServerId
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapFilter
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapQuartzCron
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapSearchDn
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapSubjectAttribute
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapSourceId
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapSubjectIdType
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapAndGroups
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapSearchScope
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapPriority
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapGroupsLike
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapGroupAttribute
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapExtraAttributes
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapErrorUnresolvable
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapGroupNameExpression
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapGroupDisplayNameExpression
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapGroupDescriptionExpression
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapSubjectExpression
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapGroupTypes
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapReaders
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapViewers
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapAdmins
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapUpdaters
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapOptins
Grouper note: auto-created attributeDefName:
etc:attribute:loaderLdap:grouperLoaderLdapOptouts
Grouper note: auto-created attributeDefName:
etc:attribute:entities:entitySubjectIdentifier
.........................................
.........................................
.........................db prompting has been disabled (e.g. due to
testing), so this user 'grouper_user' and url
'jdbc:postgresql://ip6-localhost:5432/grouper' are allowed for: delete all
grouper data
................
..............Would obliterate stem: test
Would obliterate stem: test:sub2
Would obliterate stem: test:sub2:sub22
Would be done deleting group: test:sub2:sub22:testGroup
Would be done deleting group: test:sub2:sub22:testGroup2
Would be done deleting group: test:sub2:sub22:testGroup3
Would be done deleting attributeDef: test:sub2:sub22:testAttributeDef
Would be done deleting attributeDef: test:sub2:sub22:testAttributeDef2
Would be done deleting attributeDef: test:sub2:sub22:testAttributeDef3
Would be done obliterating stem: test:sub2:sub22
Would be done deleting group: test:sub2:testGroup
Would be done deleting group: test:sub2:testGroup2
Would be done deleting group: test:sub2:testGroup3
Would be done deleting attributeDef: test:sub2:testAttributeDef
Would be done deleting attributeDef: test:sub2:testAttributeDef2
Would be done deleting attributeDef: test:sub2:testAttributeDef3
Would be done obliterating stem: test:sub2
Would obliterate stem: test:sub1
Would obliterate stem: test:sub1:sub12
Would be done deleting group: test:sub1:sub12:testGroup
Would be done deleting group: test:sub1:sub12:testGroup2
Would be done deleting group: test:sub1:sub12:testGroup3
Would be done deleting attributeDef: test:sub1:sub12:testAttributeDef
Would be done deleting attributeDef: test:sub1:sub12:testAttributeDef2
Would be done deleting attributeDef: test:sub1:sub12:testAttributeDef3
Would be done obliterating stem: test:sub1:sub12
Would be done deleting group: test:sub1:testGroup
Would be done deleting group: test:sub1:testGroup2
Would be done deleting group: test:sub1:testGroup3
Would be done deleting attributeDef: test:sub1:testAttributeDef
Would be done deleting attributeDef: test:sub1:testAttributeDef2
Would be done deleting attributeDef: test:sub1:testAttributeDef3
Would be done obliterating stem: test:sub1
Would be done deleting group: test:testGroup
Would be done deleting group: test:testGroup2
Would be done deleting group: test:testGroup3
Would be done deleting attributeDefName: test:testSub2AttributeDefName
Would be done deleting attributeDefName: test:testSub2223AttributeDefName
Would be done deleting attributeDefName: test:testAttributeDefName
Would be done deleting attributeDefName: test:testAttributeDefName2
Would be done deleting attributeDefName: test:testAttributeDefName3
Would be done deleting attributeDefName: test:testSub1AttributeDefName
Would be done deleting attributeDefName: test:testSub12AttributeDefName
Would be done deleting attributeDefName: test:testSub13AttributeDefName
Would be done deleting attributeDefName: test:testSub22AttributeDefName
Would be done deleting attributeDefName: test:testSub23AttributeDefName
Would be done deleting attributeDefName: test:testSub112AttributeDefName
Would be done deleting attributeDefName: test:testSub122AttributeDefName
Would be done deleting attributeDefName: test:testSub123AttributeDefName
Would be done deleting attributeDefName: test:testSub222AttributeDefName
Would be done deleting attributeDefName: test:testSub2222AttributeDefName
Would be done deleting attributeDef: test:testAttributeDef
Would be done deleting attributeDef: test:testAttributeDef2
Would be done deleting attributeDef: test:testAttributeDef3
Would be done obliterating stem: test
...........................
......null
...................................
.........................................
.........................................
.........................................
.........................................
..................................loader ran successfully, inserted 3
memberships, deleted 0 memberships, total membership count: 3
loader ran successfully, inserted 0 memberships, deleted 0 memberships, total
membership count: 3
.......
........member_uuid='7d365e87c1084ba49e4072c38e31cf3b'
subject='a'/'person'/'jdbc' group='i2:a:a list='customList' delete
.member_uuid='db077991d8f24ca392a0dffb380c315a' subject='a'/'person'/'jdbc'
group='i2:a:a list='admins' delete
member_uuid='db077991d8f24ca392a0dffb380c315a' subject='a'/'person'/'jdbc'
group='i2:a:a list='optins' delete
member_uuid='db077991d8f24ca392a0dffb380c315a' subject='a'/'person'/'jdbc'
group='i2:a:a list='optouts' delete
member_uuid='db077991d8f24ca392a0dffb380c315a' subject='a'/'person'/'jdbc'
group='i2:a:a list='readers' delete
member_uuid='db077991d8f24ca392a0dffb380c315a' subject='a'/'person'/'jdbc'
group='i2:a:a list='updaters' delete
member_uuid='db077991d8f24ca392a0dffb380c315a' subject='a'/'person'/'jdbc'
group='i2:a:a list='viewers' delete
.member_uuid='6db834db71cc401d9217bc380a1d5bff' subject='a'/'person'/'jdbc'
stem='i2 list='creators' delete
member_uuid='6db834db71cc401d9217bc380a1d5bff' subject='a'/'person'/'jdbc'
stem='i2 list='stemmers' delete
.member_uuid='5a541f0acef6462d8ef3af45ac25295d' subject='a'/'person'/'jdbc'
group='i2:a:a list='members' delete
..............................
.........................................
.........................................
.........................................
.........................................
.........{
"esbEvent":[
{
"sourceId":"g:isa",
"subjectId":"GrouperSystem"
}
]
}
................................
.........F................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
...........................
Searching for missing self groupSets for attribute defs
Found 0 missing groupSets
Searching for all composite groups to cache for later use
Searching for missing self groupSets for groups
Found 0 missing groupSets
Searching for missing self groupSets for stems
Found 0 missing groupSets
Searching for missing immediate groupSets where the owner is an attribute def
Found 0 missing groupSets
Searching for missing immediate groupSets where the owner is a group
Found 0 missing groupSets
Searching for missing immediate groupSets where the owner is a stem
Found 0 missing groupSets
..............
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
..........F..F..F.F.F.F.F.F......................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.....Rule 0: attributeAssignTypeId: 17a4fafb45394830b002691429d22398,
actAsSourceId: g:isa, actAsSubjectId: GrouperSystem, checkOwnerName: stem:c,
checkType: membershipRemove, ifConditionEnum:
thisGroupHasImmediateEnabledMembership, thenEl:
${ruleElUtils.removeMemberFromGroupId(ownerGroupId, memberId)},
Rule 1: attributeAssignTypeId: 58b15ceba1c8447383c970713c144d12,
actAsSourceId: g:isa, actAsSubjectId: GrouperSystem, checkOwnerName: stem:b,
checkType: membershipRemove, ifConditionEnum:
thisGroupHasImmediateEnabledMembership, thenEl:
${ruleElUtils.removeMemberFromGroupId(ownerGroupId, memberId)},
..........Rule 0: attributeAssignTypeId: 70ca2520d4f4437e8df6c7df09b04bf5,
actAsSourceId: g:isa, actAsSubjectId: GrouperSystem, checkOwnerName: stem:c,
checkType: membershipRemove, ifConditionEnum:
thisGroupHasImmediateEnabledMembership, thenEl:
${ruleElUtils.removeMemberFromGroupId(ownerGroupId, memberId)},
Rule 1: attributeAssignTypeId: 3394fabff4e545de8c42f2fba5aa8c9b,
actAsSourceId: g:isa, actAsSubjectId: GrouperSystem, checkOwnerName: stem:b,
checkType: membershipRemove, ifConditionEnum:
thisGroupHasImmediateEnabledMembership, thenEl:
${ruleElUtils.removeMemberFromGroupId(ownerGroupId, memberId)},
..........................
..........{
"RuleDefinition":{
"actAs":{
"sourceId":"source",
"subjectId":"subjectId"
},
"check":{
"checkOwnerId":"a group",
"checkType":"flattenedMembershipRemove"
},
"ifCondition":{
"ifConditionEl":"if condition"
},
"runDaemonBoolean":true,
"then":{
"thenEl":"then part"
}
}
}
...............................
.........................................
Took: 35ms
.Took: 42ms
.Took: 20ms
.......................................
............................{"id":"g:isa","initParams":{"subjectVirtualAttribute_0_searchAttribute0":"${subject.name},${subject.id}","subjectVirtualAttribute_1_sortAttribute1":"test1","subjectVirtualAttribute_2_searchAttribute2":"test6","sortAttribute4":"sortAttribute4","sortAttribute3":"sortAttribute3","sortAttribute2":"sortAttribute2","sortAttribute1":"sortAttribute1","subjectVirtualAttribute_1_searchAttribute1":"test5","sortAttribute0":"sortAttribute0","subjectVirtualAttribute_2_sortAttribute2":"test2","subjectVirtualAttribute_4_searchAttribute4":"test8","subjectVirtualAttribute_4_sortAttribute4":"test4","subjectVirtualAttribute_3_searchAttribute3":"test7","searchAttribute4":"searchAttribute4","searchAttribute3":"searchAttribute3","searchAttribute2":"searchAttribute2","searchAttribute1":"searchAttribute1","subjectVirtualAttribute_3_sortAttribute3":"test3","searchAttribute0":"searchAttribute0","subjectVirtualAttribute_0_sortAttribute0":"${subject.name}"},"internalAttributes":["searchAttribute2","sortAttribute0","searchAttribute3","sortAttribute1","searchAttribute0","searchAttribute1","sortAttribute4","sortAttribute2","sortAttribute3","searchAttribute4"],"name":"Grouper:
Internal Source
Adapter","subjectType":null,"subjectTypes":[{"name":"application"}]}
.............
.........................................
.........................................
......................................userAudit export: Exported 79 auditTypes
userAudit export: Exported auditEntries: 21 / 200 ( 10%) 12:07:09.801
userAudit export: Exported auditEntries: 41 / 200 ( 20%) 12:07:09.817
userAudit export: Exported auditEntries: 61 / 200 ( 30%) 12:07:09.832
userAudit export: Exported auditEntries: 81 / 200 ( 40%) 12:07:09.847
userAudit export: Exported auditEntries: 101 / 200 ( 50%) 12:07:09.862
userAudit export: Exported auditEntries: 121 / 200 ( 60%) 12:07:09.877
userAudit export: Exported auditEntries: 141 / 200 ( 70%) 12:07:09.892
userAudit export: Exported auditEntries: 161 / 200 ( 80%) 12:07:09.908
userAudit export: Exported auditEntries: 181 / 200 ( 90%) 12:07:09.924
userAudit export: Exported auditEntries: 200 / 200 (100%) 12:07:09.937
userAudit import: reading document:
/opt/GROUPER_2_1_1/grouper/testUserAuditExport.xml, version: 2.1.1
userAudit import: completed with members: total: 1, new: 0, existing: 1,
changed: 0
userAudit import: completed with auditTypes: total: 79, new: 0, existing:
79, changed: 0
userAudit import: completed with auditEntries: total: 200, new: 0, existing:
200, changed: 0
userAudit import: reading document:
/opt/GROUPER_2_1_1/grouper/testUserAuditExport.xml, version: 2.1.1
userAudit import: completed with members: total: 1, new: 0, existing: 1,
changed: 0
userAudit import: completed with auditTypes: total: 79, new: 79, existing:
0, changed: 0
userAudit import: completed with auditEntries: total: 200, new: 200,
existing: 0, changed: 0
...
............Starting: 628 records in the DB to be exported (not exact, might
be less)
DONE: 12:07:33: exported 299 records to: a string
Starting: 418 records in the DB to be exported (not exact, might be less)
DONE: 12:07:34: exported 88 records to: a string
Starting: 418 records in the DB to be exported (not exact, might be less)
DONE: 12:07:35: exported 88 records to: a string
grouper import: reading document: string, version: 2.1.1
XML file contains 88 records
12:07:35: Beginning import: database contains 628 records
Ending import: processed 88 records
Ending import: database contains 628 records
Ending import: 0 inserts, 0 updates, and 88 skipped records
DONE: 12:07:36: imported 88 records from: string
.Starting: 514 records in the DB to be exported (not exact, might be less)
DONE: 12:07:41: exported 514 records to: a string
Starting: 514 records in the DB to be exported (not exact, might be less)
DONE: 12:07:43: exported 514 records to: a string
grouper import: reading document: string, version: 2.1.1
XML file contains 514 records
12:07:43: Beginning import: database contains 514 records
Ending import: processed 514 records
Ending import: database contains 514 records
Ending import: 0 inserts, 0 updates, and 514 skipped records
DONE: 12:07:44: imported 514 records from: string
.......................
Time: 4,140.218
There were 9 failures:
1)
test_getProperty_validProperty(edu.internet2.middleware.grouper.cfg.Test_dao_hibernate_HibernateDaoConfig)junit.framework.AssertionFailedError:
null
at
edu.internet2.middleware.grouper.cfg.Test_dao_hibernate_HibernateDaoConfig.test_getProperty_validProperty(Test_dao_hibernate_HibernateDaoConfig.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at edu.internet2.middleware.grouper.AllTests.main(AllTests.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
2)
testPersonMember(edu.internet2.middleware.grouper.member.TestMemberAttributes)junit.framework.ComparisonFailure:
null expected:<[name.test.subject.0]> but was:<[bogus]>
at
edu.internet2.middleware.grouper.member.TestMemberAttributes.testPersonMember(TestMemberAttributes.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at edu.internet2.middleware.grouper.AllTests.main(AllTests.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
3)
testInternalMembersNonDefaultAttributes(edu.internet2.middleware.grouper.member.TestMemberAttributes)junit.framework.ComparisonFailure:
null expected:<test1> but was:<null>
at
edu.internet2.middleware.grouper.member.TestMemberAttributes.testInternalMembersNonDefaultAttributes(TestMemberAttributes.java:312)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at edu.internet2.middleware.grouper.AllTests.main(AllTests.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
4)
testGroupUpdateDescription(edu.internet2.middleware.grouper.member.TestMemberAttributes)junit.framework.ComparisonFailure:
null expected:<Test Description> but was:<null>
at
edu.internet2.middleware.grouper.member.TestMemberAttributes.testGroupUpdateDescription(TestMemberAttributes.java:428)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at edu.internet2.middleware.grouper.AllTests.main(AllTests.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
5)
testGroupUpdateDisplayExtension(edu.internet2.middleware.grouper.member.TestMemberAttributes)junit.framework.ComparisonFailure:
null expected:<Test Display[2]> but was:<Test Display[]>
at
edu.internet2.middleware.grouper.member.TestMemberAttributes.testGroupUpdateDisplayExtension(TestMemberAttributes.java:454)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at edu.internet2.middleware.grouper.AllTests.main(AllTests.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
6)
testGroupRename(edu.internet2.middleware.grouper.member.TestMemberAttributes)junit.framework.ComparisonFailure:
null expected:<edu:Test[2]> but was:<edu:Test[]>
at
edu.internet2.middleware.grouper.member.TestMemberAttributes.testGroupRename(TestMemberAttributes.java:475)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at edu.internet2.middleware.grouper.AllTests.main(AllTests.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
7)
testGroupMove(edu.internet2.middleware.grouper.member.TestMemberAttributes)junit.framework.ComparisonFailure:
null expected:<edu[2]:Test> but was:<edu[]:Test>
at
edu.internet2.middleware.grouper.member.TestMemberAttributes.testGroupMove(TestMemberAttributes.java:498)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at edu.internet2.middleware.grouper.AllTests.main(AllTests.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
8)
testStemRename(edu.internet2.middleware.grouper.member.TestMemberAttributes)junit.framework.ComparisonFailure:
null expected:<edu[3]:Test> but was:<edu[]:Test>
at
edu.internet2.middleware.grouper.member.TestMemberAttributes.testStemRename(TestMemberAttributes.java:523)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at edu.internet2.middleware.grouper.AllTests.main(AllTests.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
9)
testStemDisplayExtensionUpdate(edu.internet2.middleware.grouper.member.TestMemberAttributes)junit.framework.ComparisonFailure:
null expected:<edu:test,edu[3]:test display,> but
was:<edu:test,edu[cation]:test display,>
at
edu.internet2.middleware.grouper.member.TestMemberAttributes.testStemDisplayExtensionUpdate(TestMemberAttributes.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at edu.internet2.middleware.grouper.AllTests.main(AllTests.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:204)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:144)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
FAILURES!!!
Tests run: 2168, Failures: 9, Errors: 0
- [grouper-users] test -all errors, Dick Visser, 07/25/2012
- [grouper-users] Re: test -all errors, Dick Visser, 07/25/2012
- RE: [grouper-users] test -all errors, Chris Hyzer, 07/26/2012
Archive powered by MHonArc 2.6.16.