Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 45994 invoked from network); 20 Jul 2006 22:26:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jul 2006 22:26:31 -0000 Received: (qmail 66218 invoked by uid 500); 20 Jul 2006 22:26:28 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 66187 invoked by uid 500); 20 Jul 2006 22:26:27 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 66176 invoked by uid 99); 20 Jul 2006 22:26:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 15:26:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 15:26:26 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 655F741000C for ; Thu, 20 Jul 2006 22:24:14 +0000 (GMT) Message-ID: <64332.1153434254412.JavaMail.jira@brutus> Date: Thu, 20 Jul 2006 15:24:14 -0700 (PDT) From: "Jason Dillon (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-2211) Enable tests (geronimo-security :: **/ConfigurationEntryTest.java) In-Reply-To: <14479108.1153432153935.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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