-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.2
-
x86
-
windows_2000
Name: iaR10016 Date: 06/17/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b27, JDK1.4.2-b25, JDK1.4.2-b24, JDK1.4.1-b21
Testbase : RegTest-test
Platform[s] : Windows 2000 Pro
switch/Mode : -server
Falling test[s]: java/rmi/activation/ActivationGroupDesc/useExecPolicy/UseDefaultExecPolicy.java
RegTest-test java/rmi/activation/ActivationGroupDesc/useExecPolicy/UseDefaultExecPolicy.java test fails intermittently
with JDK1.4.2-b26, JDK1.5.0-b08 on Windows 2000 Pro. When I run the test with JDK1.4.1 it fails with timeout.
I am not able to reproduce the failure on other machines.
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/rmi/activation/ActivationGroupDesc/useExecPolicy/UseDefaultExecPolicy.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b24/regtest/win32/win2000_-server_smp_linux-2/workDir/test/java/rmi/activation/ActivationGroupDesc/useExecPolicy/UseDefaultExecPolicy.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
RESULT_DIR=`pwd`
WORK_DIR=$RESULT_DIR/workDir/test
REPORT_DIR=$RESULT_DIR/reportDir
JT_HOME="h:/java/jct"
JAVA_HOME="h:/java/jdk1.4.2/win32"
TEST_BASE_PATH="h:/java/regtest/test"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-server"
TESTVMOPTS="-server"
CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar;$JT_HOME/jemmy/jemmy.jar"
mkdir -p $WORK_DIR/scratch 2>&1
mkdir -p $WORK_DIR/jtData 2>&1
mkdir -p $REPORT_DIR 2>&1
#rm $WORK_DIR/jtData/ResultCache.jtw 2>&1
cd $WORK_DIR/scratch
$JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,PATH=${SHELL%/*},TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-2" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/java/rmi/activation/ActivationGroupDesc/useExecPolicy/UseDefaultExecPolicy.java"
--- script end ---
Script output:
==============
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:compile
----------messages:(3/220)*----------
command: compile h:\java\regtest\test\java\rmi\activation\ActivationGroupDesc\useExecPolicy\..\..\..\testlibrary\RMID.java
reason: .class file out of date or does not exist
elapsed time (seconds): 2.734
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:compile
----------messages:(3/233)*----------
command: compile h:\java\regtest\test\java\rmi\activation\ActivationGroupDesc\useExecPolicy\..\..\..\testlibrary\ActivationLibrary.java
reason: .class file out of date or does not exist
elapsed time (seconds): 2.423
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:compile
----------messages:(3/226)*----------
command: compile h:\java\regtest\test\java\rmi\activation\ActivationGroupDesc\useExecPolicy\..\..\..\testlibrary\TestParams.java
reason: .class file out of date or does not exist
elapsed time (seconds): 2.283
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/113)----------
command: build ActivateMe
reason: User specified action: run build ActivateMe
elapsed time (seconds): 0.011
result: Passed. No need to compile: ActivateMe.java
#section:build
----------messages:(3/112)----------
command: build ExecPolicy
reason: User specified action: run build ExecPolicy
elapsed time (seconds): 0.01
result: Passed. No need to compile: ExecPolicy.java
#section:build
----------messages:(3/132)----------
command: build UseDefaultExecPolicy
reason: User specified action: run build UseDefaultExecPolicy
elapsed time (seconds): 0.01
result: Passed. No need to compile: UseDefaultExecPolicy.java
#section:build
----------messages:(3/141)----------
command: build UseDefaultExecPolicy_Stub
reason: User specified action: run build UseDefaultExecPolicy_Stub
elapsed time (seconds): 0.0
result: Passed. No need to compile: UseDefaultExecPolicy_Stub.java
#section:build
----------messages:(3/108)----------
command: build UseDefaultExecPolicy
reason: Named class compiled on demand
elapsed time (seconds): 0.01
result: Passed. No need to compile: UseDefaultExecPolicy.java
#section:main
----------messages:(3/174)----------
command: main UseDefaultExecPolicy
reason: User specified action: run main/othervm/policy=security.policy/timeout=240 UseDefaultExecPolicy
elapsed time (seconds): 46.066
----------System.out:(3/37)----------
Regression test for bug 4308570
----------System.err:(43/3333)*----------
RMID: starting rmid...
JAVAVM: command = c:\j2sdk1.4.2\jre\bin\java -Djava.security.policy=h:\java\regtest\test\java\rmi\activation\ActivationGroupDesc\useExecPolicy\rmid.security.policy
-Dsun.rmi.server.activation.debugExec=true -Dtest.src=h:\java\regtest\test\java\rmi\activation\ActivationGroupDesc\useExecPolicy
-Dtest.classes=H:\results_full\mantis\b24\regtest\win32\win2000_linux-2\workDir\test\classes\java\rmi\activation\ActivationGroupDesc\useExecPolicy -Djava.rmi.server.logLevel=v
sun.rmi.server.Activation -port 1098 -log H:\results_full\mantis\b24\regtest\win32\win2000_linux-2\workDir\test\scratch\.\log
-C-Dtest.src=h:\java\regtest\test\java\rmi\activation\ActivationGroupDesc\useExecPolicy
-C-Dtest.classes=H:\results_full\mantis\b24\regtest\win32\win2000_linux-2\workDir\test\classes\java\rmi\activation\ActivationGroupDesc\useExecPolicy
# Activation.main: an exception occurred: The mounted file system does not support extended attributes
# java.io.IOException: The mounted file system does not support extended attributes
# at java.io.RandomAccessFile.setLength(Native Method)
# at sun.rmi.log.ReliableLog.recoverUpdates(ReliableLog.java:696)
# at sun.rmi.log.ReliableLog.recover(ReliableLog.java:201)
# at sun.rmi.server.Activation.startActivation(Activation.java:142)
# at sun.rmi.server.Activation.main(Activation.java:2064)
JAVAVM: finished starting vm.
TEST FAILED: start rmid failed... giving up
TEST FAILED:
Test failed with: TEST FAILED: start rmid failed... giving up
TestFailedException: TEST FAILED: start rmid failed... giving up
at TestLibrary.bomb(TestLibrary.java:68)
at RMID.start(RMID.java:204)
at RMID.start(RMID.java:172)
at UseDefaultExecPolicy.main(UseDefaultExecPolicy.java:55)
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 com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:534)
ACTIVATION_LIBRARY: tried to shutdown when rmid was not running
TEST FAILED: rmid not destroyed in: 60000 milliseconds
TestFailedException: TEST FAILED: rmid not destroyed in: 60000 milliseconds
at TestLibrary.bomb(TestLibrary.java:68)
at TestLibrary.bomb(TestLibrary.java:71)
at ActivationLibrary.rmidCleanup(ActivationLibrary.java:127)
at UseDefaultExecPolicy.main(UseDefaultExecPolicy.java:145)
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 com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:534)
JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: rmid not destroyed in: 60000 milliseconds
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: TestFailedException: TEST FAILED: rmid not destroyed in: 60000 milliseconds
result: Failed. Execution failed: `main' threw exception: TestFailedException: TEST FAILED: rmid not destroyed in: 60000 milliseconds
test result: Failed. Execution failed: `main' threw exception: TestFailedException: TEST FAILED: rmid not destroyed in: 60000 milliseconds
Specific machine info:
======================
Hostname: linux-2
OS: Windows 2000 Pro
======================================================================
- duplicates
-
JDK-4732964 can't start rmid when log directory is on mounted Samba network drive
-
- Closed
-
- relates to
-
JDK-4697249 java/rmi regression testcases are failing on windows platform
-
- Closed
-