JDK-6175734 : logging/FileHandler testcases fail on EM64t system (1.5.0_01 b03)
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 5.0u1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_suse_sles_8
  • CPU: x86
  • Submitted: 2004-10-07
  • Updated: 2012-10-09
  • Resolved: 2004-11-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0u1Resolved
Related Reports
Duplicate :  
Description
JDK: Tiger Update Release 1 (1.5.0_01 b03)
System:  EM64t (em64t-001.sfbay)
OS:      SLES 9
VM:  Server
Mode/switch: default
Test Fail:  nsk/logging/FileHandler/FileHandler/flhndlr004, flhndlr013, flhndlr015


Test Output:
------------
Unexpedt exception for count -1
java.io.IOexception: Could not get lock for %h/java/%u.log

tlog files:
-----------
/net/jano.sfbay/export/disk20/GammaBase/Bugs/{This bug number}/flhndlr*





#!/bin/sh

LD_LIBRARY_PATH=/net/sqe/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/src/nsk/share/lib/linuxamd64:/net/sqe.sfbay/global/nfs/test_results4/VM/tiger/DTWS/exec1/VM_FULLLOOK-01-WEEKLY-VM-ServerVM-mixed-64BITRHAS3.0AMD-2004-10-01-17-41-28-0745/jdk/linux-amd64/jre/lib/amd64:/net/sqe.sfbay/global/nfs/test_results4/VM/tiger/DTWS/exec1/VM_FULLLOOK-01-WEEKLY-VM-ServerVM-mixed-64BITRHAS3.0AMD-2004-10-01-17-41-28-0745/jdk/linux-amd64/jre/lib/amd64/server
RAS_OPTIONS=
SHELL=/bin/sh
DISPLAY=vmsqe:0.0
CLASSPATH=/.automount/cady/root/sqa/hnguyen/tiger/exec1/em64tAMDvm/RERUN/hnguyen.Linux.i386/flhndlr004:/net/sqe/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/bin/classes:/net/sqe.sfbay/global/nfs/test_results4/VM/tiger/DTWS/exec1/VM_FULLLOOK-01-WEEKLY-VM-ServerVM-mixed-64BITRHAS3.0AMD-2004-10-01-17-41-28-0745/jdk/linux-amd64/lib/tools.jar
PATH=/net/sqe.sfbay/global/nfs/test_results4/VM/tiger/DTWS/exec1/VM_FULLLOOK-01-WEEKLY-VM-ServerVM-mixed-64BITRHAS3.0AMD-2004-10-01-17-41-28-0745/jdk/linux-amd64/bin:/bin:/usr/bin:/net/sqe.sfbay/global/nfs/test_results4/VM/tiger/DTWS/exec1/VM_FULLLOOK-01-WEEKLY-VM-ServerVM-mixed-64BITRHAS3.0AMD-2004-10-01-17-41-28-0745/jdk/linux-amd64/jre/bin
HOME=/root

while [ $# -gt 0 ];
do
  if [ $1 = "-jdk" ]; then
	shift 1
	PATH=${1}/bin:${PATH}
	shift 1
  else
	if [ $1 = "-d" ]; then
	  shift 1
	  if [ $# -gt 0  ]; then
		DISPLAY=$1
		shift 1
	  else
		DISPLAY=:0.0
	  fi
	fi
  fi
done

export LD_LIBRARY_PATH
export RAS_OPTIONS
export SHELL
export DISPLAY
export CLASSPATH
export PATH
export HOME

#annotate TEST javaopt=-server -Xmixed
/net/sqe.sfbay/global/nfs/test_results4/VM/tiger/DTWS/exec1/VM_FULLLOOK-01-WEEKLY-VM-ServerVM-mixed-64BITRHAS3.0AMD-2004-10-01-17-41-28-0745/jdk/linux-amd64/bin/java -server -Xmixed -DHANGINGJAVA6545 -Djava.util.logging.config.file=/net/sqe/global/nfs/test_results4/VM/UNIFIED-DTF/DTWS/suites/VM_FULLLOOK/testbase/src/nsk/logging/FileHandler/FileHandler/flhndlr004/logging.properties nsk.logging.FileHandler.FileHandler.flhndlr004
##Exit status of execution step=97
##!checkExitCode

## FAILURE 2.
## Unexpected exception for limit -2147483648
#java.io.IOException: Couldn't get lock for %h/java%u.log
#	at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
#	at java.util.logging.FileHandler.<init>(FileHandler.java:208)
#	at nsk.logging.FileHandler.FileHandler.flhndlr004.run(flhndlr004.java:45)
#	at nsk.logging.FileHandler.FileHandler.flhndlr004.main(flhndlr004.java:19)
## FAILURE 2.
## Unexpected exception for limit -1
#java.io.IOException: Couldn't get lock for %h/java%u.log
#	at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
#	at java.util.logging.FileHandler.<init>(FileHandler.java:208)
#	at nsk.logging.FileHandler.FileHandler.flhndlr004.run(flhndlr004.java:45)
#	at nsk.logging.FileHandler.FileHandler.flhndlr004.main(flhndlr004.java:19)
## FAILURE 4.
## Unexpected exception for count -2147483648
#java.io.IOException: Couldn't get lock for %h/java%u.log
#	at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
#	at java.util.logging.FileHandler.<init>(FileHandler.java:208)
#	at nsk.logging.FileHandler.FileHandler.flhndlr004.run(flhndlr004.java:75)
#	at nsk.logging.FileHandler.FileHandler.flhndlr004.main(flhndlr004.java:19)
## FAILURE 4.
## Unexpected exception for count -1
#java.io.IOException: Couldn't get lock for %h/java%u.log
#	at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
#	at java.util.logging.FileHandler.<init>(FileHandler.java:208)
#	at nsk.logging.FileHandler.FileHandler.flhndlr004.run(flhndlr004.java:75)
#	at nsk.logging.FileHandler.FileHandler.flhndlr004.main(flhndlr004.java:19)
## FAILURE 4.
## Unexpected exception for count 0
#java.io.IOException: Couldn't get lock for %h/java%u.log
#	at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
#	at java.util.logging.FileHandler.<init>(FileHandler.java:208)
#	at nsk.logging.FileHandler.FileHandler.flhndlr004.run(flhndlr004.java:75)
#	at nsk.logging.FileHandler.FileHandler.flhndlr004.main(flhndlr004.java:19)
## TEST FAILED.
###@###.### 10/7/04 20:14 GMT

Comments
EVALUATION Forward to java/classes_util_logging category. ###@###.### 10/7/04 23:18 GMT Looks like a generic NFS SLES 8 bug see comments ###@###.### 10/8/04 05:26 GMT I don't believe this is an EM64T issue. I believe FileLock is failing and FileLock with SLES 8 over NFS is a known bug for the NIO team. The classpath was loaded over NFS so the home directory probably was too (it was trying to write to home) See 5083626 for details. I would recommend repeating the test not over NFS (would let me post this in comments) ###@###.### 10/8/04 05:30 GMT
07-10-2004