[ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all ]
Jason Dillon updated GERONIMO-2211: ----------------------------------- Description: A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom). The test fails with (on the console): {noformat} DEBUG [main] Starting boot DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running DEBUG [main] Booted DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopped to starting DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from starting to running DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopped to starting DEBUG [main] Installed Geronimo login configuration DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from starting to running DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopped to starting DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from starting to running DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopped to starting DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242 clients can connect to: tcp://0.0.0.0:4242 DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from starting to running DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopped to starting DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from starting to running DEBUG [main] Added Application Configuration Entry properties-client DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopped to starting DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesSecurityRealm because no targets are running for reference LoginModuleConfiguration matching the patterns test/foo/1/car?name=PropertiesLoginModuleUse DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopped to starting DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from starting to running DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopped to starting DEBUG [main] Waiting to start test/foo/1/car?name=AuditLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=UPCredLoginModuleUse DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from stopped to starting DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from starting to running DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopped to starting DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=AuditLoginModuleUse DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopped to starting DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from starting to running DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped to starting DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from starting to running DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=AuditLoginModule DEBUG [main] Parent is running: parent=test/foo/1/car?name=AuditLoginModule DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from starting to running DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=PropertiesLoginModule DEBUG [main] Parent is running: parent=test/foo/1/car?name=PropertiesLoginModule DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from starting to running DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=ServerInfo DEBUG [main] Parent is running: parent=test/foo/1/car?name=ServerInfo DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=TestLoginService DEBUG [main] Parent is running: parent=test/foo/1/car?name=TestLoginService DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from starting to running DEBUG [main] Added Application Configuration Entry properties-realm DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from running to stopping DEBUG [main] Stopped remote login service. DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopping to stopped DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from running to stopping DEBUG [main] Removed Application Configuration Entry properties-realm DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopping to stopped DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from running to stopping DEBUG [main] Checking if child is running: child=test/foo/1/car?name=UPCredLoginModuleUse DEBUG [main] Stopping child: child=test/foo/1/car?name=UPCredLoginModuleUse DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from running to stopping DEBUG [main] Checking if child is running: child=test/foo/1/car?name=AuditLoginModuleUse DEBUG [main] Stopping child: child=test/foo/1/car?name=AuditLoginModuleUse DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from running to stopping DEBUG [main] Checking if child is running: child=test/foo/1/car?name=PropertiesLoginModuleUse DEBUG [main] Stopping child: child=test/foo/1/car?name=PropertiesLoginModuleUse DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from running to stopping DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopping to stopped DEBUG [main] Stopped child: child=test/foo/1/car?name=PropertiesLoginModuleUse DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopping to stopped DEBUG [main] Stopped child: child=test/foo/1/car?name=AuditLoginModuleUse DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopping to stopped DEBUG [main] Stopped child: child=test/foo/1/car?name=UPCredLoginModuleUse DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopping to stopped DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from running to stopping DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopping to stopped DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from running to stopping DEBUG [main] Removed Application Configuration Entry properties-client DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopping to stopped DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from running to stopping DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopping to stopped DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from running to stopping DEBUG [main] Uninstalled Geronimo login configuration DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopping to stopped DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from running to stopping DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopping to stopped DEBUG [main] Starting kernel shutdown DEBUG [main] Kernel shutdown complete {noformat} And in the surefire report: {noformat} ------------------------------------------------------------------------------- Test set: org.apache.geronimo.security.jaas.ConfigurationEntryTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.498 sec <<< FAILURE! test(org.apache.geronimo.security.jaas.ConfigurationEntryTest) Time elapsed: 4.356 sec <<< ERROR! javax.security.auth.login.LoginException: Error filling callback list at org.apache.geronimo.security.jaas.client.ServerLoginProxy.login(ServerLoginProxy.java:78) at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.performLogin(JaasLoginCoordinator.java:199) at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.login(JaasLoginCoordinator.java:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607) at javax.security.auth.login.LoginContext.login(LoginContext.java:534) at org.apache.geronimo.security.jaas.ConfigurationEntryTest.test(ConfigurationEntryTest.java:83) {noformat} was:A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom). > Enable tests (geronimo-security :: **/ConfigurationEntryTest.java) > ------------------------------------------------------------------ > > Key: GERONIMO-2211 > URL: http://issues.apache.org/jira/browse/GERONIMO-2211 > Project: Geronimo > Issue Type: Sub-task > Security Level: public(Regular issues) > Affects Versions: 1.2 > Reporter: Jason Dillon > Fix For: 1.2 > > > A few tests failed in non-obvious ways when run under the m2 build. Need > someone who knows these tests better to inspect, resolve and enable the test > (remove the test exclusions in the pom). > The test fails with (on the console): > {noformat} > DEBUG [main] Starting boot > DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State > changed from stopped to starting > DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State > changed from starting to running > DEBUG [main] Booted > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State > changed from stopped to starting > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State > changed from starting to running > DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration > State changed from stopped to starting > DEBUG [main] Installed Geronimo login configuration > DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration > State changed from starting to running > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService > State changed from stopped to starting > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService > State changed from starting to running > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopped > to starting > DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242 clients can > connect to: tcp://0.0.0.0:4242 > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from > starting to running > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=client-ConfigurationEntry State changed from stopped to > starting > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=client-ConfigurationEntry State changed from starting to > running > DEBUG [main] Added Application Configuration Entry properties-client > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=PropertiesSecurityRealm State changed from stopped to > starting > DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesSecurityRealm > because no targets are running for reference LoginModuleConfiguration > matching the patterns test/foo/1/car?name=PropertiesLoginModuleUse > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule > State changed from stopped to starting > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule > State changed from starting to running > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse > State changed from stopped to starting > DEBUG [main] Waiting to start test/foo/1/car?name=AuditLoginModuleUse because > no targets are running for reference Next matching the patterns > test/foo/1/car?name=UPCredLoginModuleUse > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=PropertiesLoginModule State changed from stopped to > starting > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=PropertiesLoginModule State changed from starting to > running > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopped to > starting > DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesLoginModuleUse > because no targets are running for reference Next matching the patterns > test/foo/1/car?name=AuditLoginModuleUse > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule > State changed from stopped to starting > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule > State changed from starting to running > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse > State changed from stopped to starting > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse > State changed from starting to running > DEBUG [main] Checking if parent is running: > parent=test/foo/1/car?name=AuditLoginModule > DEBUG [main] Parent is running: parent=test/foo/1/car?name=AuditLoginModule > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse > State changed from starting to running > DEBUG [main] Checking if parent is running: > parent=test/foo/1/car?name=PropertiesLoginModule > DEBUG [main] Parent is running: > parent=test/foo/1/car?name=PropertiesLoginModule > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=PropertiesLoginModuleUse State changed from starting to > running > DEBUG [main] Checking if parent is running: > parent=test/foo/1/car?name=ServerInfo > DEBUG [main] Parent is running: parent=test/foo/1/car?name=ServerInfo > DEBUG [main] Checking if parent is running: > parent=test/foo/1/car?name=TestLoginService > DEBUG [main] Parent is running: parent=test/foo/1/car?name=TestLoginService > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=PropertiesSecurityRealm State changed from starting to > running > DEBUG [main] Added Application Configuration Entry properties-realm > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from running > to stopping > DEBUG [main] Stopped remote login service. > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from > stopping to stopped > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=PropertiesSecurityRealm State changed from running to > stopping > DEBUG [main] Removed Application Configuration Entry properties-realm > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=PropertiesSecurityRealm State changed from stopping to > stopped > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule > State changed from running to stopping > DEBUG [main] Checking if child is running: > child=test/foo/1/car?name=UPCredLoginModuleUse > DEBUG [main] Stopping child: child=test/foo/1/car?name=UPCredLoginModuleUse > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse > State changed from running to stopping > DEBUG [main] Checking if child is running: > child=test/foo/1/car?name=AuditLoginModuleUse > DEBUG [main] Stopping child: child=test/foo/1/car?name=AuditLoginModuleUse > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse > State changed from running to stopping > DEBUG [main] Checking if child is running: > child=test/foo/1/car?name=PropertiesLoginModuleUse > DEBUG [main] Stopping child: > child=test/foo/1/car?name=PropertiesLoginModuleUse > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=PropertiesLoginModuleUse State changed from running to > stopping > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopping to > stopped > DEBUG [main] Stopped child: > child=test/foo/1/car?name=PropertiesLoginModuleUse > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse > State changed from stopping to stopped > DEBUG [main] Stopped child: child=test/foo/1/car?name=AuditLoginModuleUse > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse > State changed from stopping to stopped > DEBUG [main] Stopped child: child=test/foo/1/car?name=UPCredLoginModuleUse > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule > State changed from stopping to stopped > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule > State changed from running to stopping > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule > State changed from stopping to stopped > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=client-ConfigurationEntry State changed from running to > stopping > DEBUG [main] Removed Application Configuration Entry properties-client > DEBUG [main] GBeanInstanceState for: > test/foo/1/car?name=client-ConfigurationEntry State changed from stopping to > stopped > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService > State changed from running to stopping > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService > State changed from stopping to stopped > DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration > State changed from running to stopping > DEBUG [main] Uninstalled Geronimo login configuration > DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration > State changed from stopping to stopped > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State > changed from running to stopping > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State > changed from stopping to stopped > DEBUG [main] Starting kernel shutdown > DEBUG [main] Kernel shutdown complete > {noformat} > And in the surefire report: > {noformat} > ------------------------------------------------------------------------------- > Test set: org.apache.geronimo.security.jaas.ConfigurationEntryTest > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.498 sec <<< > FAILURE! > test(org.apache.geronimo.security.jaas.ConfigurationEntryTest) Time elapsed: > 4.356 sec <<< ERROR! > javax.security.auth.login.LoginException: Error filling callback list > at > org.apache.geronimo.security.jaas.client.ServerLoginProxy.login(ServerLoginProxy.java:78) > at > org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.performLogin(JaasLoginCoordinator.java:199) > at > org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.login(JaasLoginCoordinator.java:120) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675) > at > javax.security.auth.login.LoginContext.access$000(LoginContext.java:129) > at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610) > at java.security.AccessController.doPrivileged(Native Method) > at > javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607) > at javax.security.auth.login.LoginContext.login(LoginContext.java:534) > at > org.apache.geronimo.security.jaas.ConfigurationEntryTest.test(ConfigurationEntryTest.java:83) > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira