river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patricia Shanahan <p...@acm.org>
Subject qa.run failures
Date Tue, 02 Nov 2010 07:47:27 GMT
I started an "ant qa.run" with the latest trunk everything. It is 
getting numerous permission-related failures. The failures persist 
despite rebooting the virtual machine and doing a clean build. Are there 
any changes in how to run the tests?

Here's an example:

      [java] Running 
com/sun/jini/test/spec/loader/pref/preferredClassLoader/Constructor.td
      [java] Time is Tue Nov 02 00:36:56 PDT 2010
      [java] Starting test in separate process with command:
      [java] /usr/lib/jvm/java-6-openjdk/jre/bin/java 
-Djava.security.policy=file:/home/pats/River/qa/src/com/sun/jini/test/spec/loader/pref/preferredClassLoader/loader.policy

-cp 
/home/pats/River/qa/lib/jiniharness.jar:/home/pats/River/qa/lib/jinitests.jar:/home/pats/River/lib/jsk-platform.jar:/home/pats/River/lib/jsk-lib.jar

-client 
-Djava.ext.dirs=/usr/lib/jvm/java-6-openjdk/jre/lib/ext:/usr/java/packages/lib/ext:/home/pats/River/qa/lib-ext:/home/pats/River/lib-ext

-Dcom.sun.jini.jsk.port=8080 -Dcom.sun.jini.qa.port=9081 
-Dcom.sun.jini.jsk.home=/home/pats/River 
-Dcom.sun.jini.qa.home=/home/pats/River/qa 
-Dcom.sun.jini.qa.harness.harnessJar=/home/pats/River/qa/lib/jiniharness.jar 
-Dcom.sun.jini.qa.harness.testJar=/home/pats/River/qa/lib/jinitests.jar 
-Dcom.sun.jini.qa.harness.runjiniserver=false 
-Dcom.sun.jini.qa.harness.runkitserver=false 
-Djava.security.properties=file:/home/pats/River/qa/harness/trust/dynamic-policy.properties

-Dcom.sun.jini.qa.harness.testhosts= 
-Djava.util.logging.config.file=/home/pats/River/qa/src/com/sun/jini/test/resources/qa1.logging

-Dcom.sun.jini.test.home=/home/pats/River/qa 
-Dcom.sun.jini.test.port=8082 
-Dcom.sun.jini.qa.harness.policies=file:/home/pats/River/qa/src/com/sun/jini/test/resources/jinitest.policy

-Djava.ext.dirs=/usr/lib/jvm/java-6-openjdk/jre/lib/ext:/usr/java/packages/lib/ext:/home/pats/River/qa/lib-ext:/home/pats/River/lib-ext

com.sun.jini.qa.harness.MasterTest 
com/sun/jini/test/spec/loader/pref/preferredClassLoader/Constructor.td
      [java] Exception in thread "main" 
java.lang.ExceptionInInitializerError
      [java] 	at 
com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:101)
      [java] Caused by: java.security.AccessControlException: access 
denied (java.lang.RuntimePermission getenv.SOUL)
      [java] 	at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
      [java] 	at 
java.security.AccessController.checkPermission(AccessController.java:553)
      [java] 	at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
      [java] 	at java.lang.System.getenv(System.java:846)
      [java] 	at 
com.sun.jini.qa.harness.HeartOfTheMachine.<clinit>(HeartOfTheMachine.java:19)
      [java] 	... 1 more
      [java]

Mime
View raw message