Details
-
Bug
-
Resolution: Fixed
-
P3
-
11, 17, 19, 20
-
b24
-
x86_64
-
windows
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8318927 | 17.0.10 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8297178 | 17.0.7-oracle | Dukebot | P3 | Resolved | Fixed | b01 |
JDK-8297758 | 17.0.6-oracle | Dukebot | P3 | Resolved | Fixed | b08 |
JDK-8297177 | 11.0.19-oracle | kiran kumar J | P3 | Resolved | Fixed | b01 |
JDK-8298179 | 11.0.18-oracle | kiran kumar J | P3 | Resolved | Fixed | b09 |
JDK-8297770 | 8u361-perf | Dukebot | P3 | Resolved | Fixed | b16 |
Description
java/io/File/GetXSpace.java
Here's a snippet from the log file:
#section:main
----------messages:(4/211)----------
command: main -Djava.security.manager=allow GetXSpace
reason: User specified action: run main/othervm -Djava.security.manager=allow GetXSpace
Mode: othervm [/othervm specified]
elapsed time (seconds): 0.41
----------configuration:(0/0)----------
----------System.out:(32/1682)*----------
--- Testing df
C:/cygwin 157277340 106383716 50893624 68% /
SecurityManager = null
C:/cygwin:
df total= 161051996160 free = 0 usable = 52115070976
getX total= 161051996160 free = 52115070976 usable = 52115070976
SecurityManager = GetXSpace$Allow
C:/cygwin:
df total= 161051996160 free = 0 usable = 52115070976
getX total= 161051996160 free = 52115070976 usable = 52115070976
SecurityManager = GetXSpace$DenyFSA
C:/cygwin:
getTotalSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
getFreeSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
getUsableSpace: "java.lang.SecurityException: sorry - getFileSystemAttributes" thrown as expected
SecurityManager = GetXSpace$DenyRead
C:/cygwin:
getTotalSpace: "java.lang.SecurityException: sorry - checkRead()" thrown as expected
getFreeSpace: "java.lang.SecurityException: sorry - checkRead()" thrown as expected
getUsableSpace: "java.lang.SecurityException: sorry - checkRead()" thrown as expected
all 26 tests passed
--- Testing c:\\sb\\prod\\1659592958\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\tmp\\4552725401030746762\\8312758356040035656\\foo14892501083129272171.tmp
C: 52428800 1535176 50893624 3% /cygdrive/c
c:\\sb\\prod\\1659592958\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\tmp\\4552725401030746762\\8312758356040035656\\foo14892501083129272171.tmp:
df total= 53687091200 free = 0 usable = 52115070976
getX total= 161051996160 free = 52115070976 usable = 52115070976
----------System.err:(17/1469)*----------
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by GetXSpace (file:/C:/sb/prod/1659592958/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/3/java/io/File/GetXSpace.d/)
WARNING: Please consider reporting this to the maintainers of GetXSpace
WARNING: System::setSecurityManager will be removed in a future release
FAILED: 'c:\\sb\\prod\\1659592958\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\tmp\\4552725401030746762\\8312758356040035656\\foo14892501083129272171.tmp': 53687091200 != 161051996160
4 tests: 1 failure(s); first: java.lang.RuntimeException: 'c:\\sb\\prod\\1659592958\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\tmp\\4552725401030746762\\8312758356040035656\\foo14892501083129272171.tmp': 53687091200 != 161051996160
java.lang.RuntimeException: 1 test(s) failed
at GetXSpace.main(GetXSpace.java:452)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 test(s) failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 test(s) failed
----------rerun:(40/5672)*----------
Please note that this failure msg:
FAILED: 'c:\\sb\\prod\\1659592958\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\tmp\\4552725401030746762\\8312758356040035656\\foo14892501083129272171.tmp': 53687091200 != 161051996160
is not very helpful. We have two values that are expected to
match, but we have no idea from this output what the values
represent.
I'm starting this bug off as a P3 since this is a Tier2 failure.
Attachments
Issue Links
- backported by
-
JDK-8297177 java/io/File/GetXSpace.java fails with "53687091200 != 161051996160"
- Resolved
-
JDK-8297178 java/io/File/GetXSpace.java fails with "53687091200 != 161051996160"
- Resolved
-
JDK-8297758 java/io/File/GetXSpace.java fails with "53687091200 != 161051996160"
- Resolved
-
JDK-8297770 java/io/File/GetXSpace.java fails with "53687091200 != 161051996160"
- Resolved
-
JDK-8298179 java/io/File/GetXSpace.java fails with "53687091200 != 161051996160"
- Resolved
-
JDK-8318927 java/io/File/GetXSpace.java fails with "53687091200 != 161051996160"
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/f85053f5
-
Commit openjdk/jdk/749335d3
-
Review openjdk/jdk17u-dev/1912
-
Review openjdk/jdk/9856