-
Bug
-
Resolution: Fixed
-
P3
-
6
-
None
-
beta
-
generic
-
generic
-
Verified
JCE Regression test case:
cipher/des/CompareDesCore.sh
is hard-coded to write/read regression test case source dir for compiled
binary, which will cause test case fail. When executing test, it's supposed to
work on test work dir.
An error log:
#Test Results (version 2)
#Wed Nov 17 21:58:45 PST 2004
#checksum:3f0ffb0fc860f021
#-----testdescription-----
$file=/.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS/cipher/des/CompareDesCore.sh
$root=/.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS
author=Valerie Peng set a few environment variables so that the shell-script can run stand-alone in the source directory
keywords=bug0000000 shell
run=USER_SPECIFIED shell/timeout=600 CompareDesCore.sh\n
source=CompareDesCore.sh
title=CompareDesCore
#-----environment-----
#-----testresult-----
description=file:///.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS/cipher/des/CompareDesCore.sh
end=Wed Nov 17 21:58:45 PST 2004
environment=regtest
execStatus=Failed. Execution failed: exit code 1
javatestOS=Linux 2.4.21-15.ELsmp (i386)
javatestVersion=2.1.6
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages shell
start=Wed Nov 17 21:58:44 PST 2004
status=Failed. Execution failed: exit code 1
test=cipher/des/CompareDesCore.sh
work=/.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_regression_results/linux-i586/jce/JTwork/cipher/des
#section:script_messages
----------messages:(4/300)----------
JDK under test: (/net/sqesvr-nfs.sfbay.sun.com/j2se-sqe/scratch/sec/test_exec/pit_build/linux-i586/j2sdk-image)
java version "1.6.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-internal-wetmore_15_nov_2004_18_32)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b12, mixed mode)
#section:shell
----------messages:(3/136)----------
command: shell CompareDesCore.sh
reason: User specified action: run shell/timeout=600 CompareDesCore.sh
elapsed time (seconds): 1.281
----------System.out:(0/0)----------
----------System.err:(6/588)----------
/.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS/cipher/des/CompareDesCore.java:16: error while writing CompareDesCore: /.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS/cipher/des/CompareDesCore.class (Permission denied)
class CompareDesCore {
^
1 error
Exception in thread "main" java.lang.NoClassDefFoundError: CompareDesCore
rm: cannot remove `/.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS/cipher/des/CompareDesCore.class': No such file or directory
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
###@###.### 2004-11-18 22:16:31 GMT
cipher/des/CompareDesCore.sh
is hard-coded to write/read regression test case source dir for compiled
binary, which will cause test case fail. When executing test, it's supposed to
work on test work dir.
An error log:
#Test Results (version 2)
#Wed Nov 17 21:58:45 PST 2004
#checksum:3f0ffb0fc860f021
#-----testdescription-----
$file=/.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS/cipher/des/CompareDesCore.sh
$root=/.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS
author=Valerie Peng set a few environment variables so that the shell-script can run stand-alone in the source directory
keywords=bug0000000 shell
run=USER_SPECIFIED shell/timeout=600 CompareDesCore.sh\n
source=CompareDesCore.sh
title=CompareDesCore
#-----environment-----
#-----testresult-----
description=file:///.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS/cipher/des/CompareDesCore.sh
end=Wed Nov 17 21:58:45 PST 2004
environment=regtest
execStatus=Failed. Execution failed: exit code 1
javatestOS=Linux 2.4.21-15.ELsmp (i386)
javatestVersion=2.1.6
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages shell
start=Wed Nov 17 21:58:44 PST 2004
status=Failed. Execution failed: exit code 1
test=cipher/des/CompareDesCore.sh
work=/.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_regression_results/linux-i586/jce/JTwork/cipher/des
#section:script_messages
----------messages:(4/300)----------
JDK under test: (/net/sqesvr-nfs.sfbay.sun.com/j2se-sqe/scratch/sec/test_exec/pit_build/linux-i586/j2sdk-image)
java version "1.6.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-internal-wetmore_15_nov_2004_18_32)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b12, mixed mode)
#section:shell
----------messages:(3/136)----------
command: shell CompareDesCore.sh
reason: User specified action: run shell/timeout=600 CompareDesCore.sh
elapsed time (seconds): 1.281
----------System.out:(0/0)----------
----------System.err:(6/588)----------
/.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS/cipher/des/CompareDesCore.java:16: error while writing CompareDesCore: /.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS/cipher/des/CompareDesCore.class (Permission denied)
class CompareDesCore {
^
1 error
Exception in thread "main" java.lang.NoClassDefFoundError: CompareDesCore
rm: cannot remove `/.automount/sqesvr-nfs.sfbay.sun.com/root/j2se-sqe/scratch/sec/test_exec/pit_build/JCE_TESTS/cipher/des/CompareDesCore.class': No such file or directory
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
###@###.### 2004-11-18 22:16:31 GMT