SpecialTempFile.java FAILED in Test_openjdk8_hs_extended.openjdk_x86-64_windows_testList_0
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
**Failing Test Info**
Test Name: java/io/File/createTempFile/SpecialTempFile.java
Test Duration: 0.42 seconds
Machine it fails on: Windows Server 2025 - Azure Dynamic Node
Machines it passes on (if intermittent): Windows Server 2022 - Azure Dynamic Node
**Jenkins Test Job Info**
Jenkins Test Job Name: Test_openjdk8_hs_extended.openjdk_x86-64_windows_testList_0
Jenkins Test Job URL: https://ci.adoptium.net/job/Test_openjdk8_hs_extended.openjdk_x86-64_windows_testList_1/63/
TRSS link for the build (if available): https://trss.adoptium.net/allTestsInfo?buildId=6a85fab24e4e710078fcf41f&limit=1
**Deep History Link from TRSS (if available)** https://trss.adoptium.net/deepHistory?testId=6a85fb894e4e710078fcf9ca
** Rerun in Grinder Link (if available) or Steps to Reproduce**
[Grinder rerun link](https://ci.adoptium.net/job/Grinder/parambuild/?SDK_RESOURCE=customized&TARGET=jdk_custom&BASE_DOCKER_REGISTRY_CREDENTIAL_ID=&TEST_FLAG=&UPSTREAM_TEST_JOB_NAME=Test_openjdk8_hs_extended.openjdk_x86-64_windows&MODE=ENTRYPOINT&DOCKER_REQUIRED=false&ACTIVE_NODE_TIMEOUT=10&VENDOR_TEST_DIRS=%2Ftest%2Fsystem&EXTRA_DOCKER_ARGS=&TKG_OWNER_BRANCH=adoptium%3Amaster&OPENJ9_SYSTEMTEST_OWNER_BRANCH=eclipse%3Amaster&PLATFORM=x86-64_windows&GENERATE_JOBS=false&KEEP_REPORTDIR=true&PERSONAL_BUILD=false&DOCKER_REGISTRY_DIR=&ADOPTOPENJDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Faqa-tests.git&RERUN_ITERATIONS=0&SETUP_JCK_RUN=false&DOCKER_REGISTRY_URL_CREDENTIAL_ID=&LABEL=&EXTRA_OPTIONS=&CUSTOMIZED_SDK_URL=https%3A%2F%2Fci.adoptium.net%2Fjob%2Fbuild-scripts%2Fjob%2Fjobs%2Fjob%2Frelease%2Fjob%2Fjobs%2Fjob%2Fjdk8u%2Fjob%2Fjdk8u-release-windows-x64-temurin%2F49%2F%2Fartifact%2Fworkspace%2Ftarget%2FOpenJDK8U-jdk_x64_windows_hotspot_8u504b01.zip+https%3A%2F%2Fci.adoptium.net%2Fjob%2Fbuild-scripts%2Fjob%2Fjobs%2Fjob%2Frelease%2Fjob%2Fjobs%2Fjob%2Fjdk8u%2Fjob%2Fjdk8u-release-windows-x64-temurin%2F49%2F%2Fartifact%2Fworkspace%2Ftarget%2FOpenJDK8U-sbom_x64_windows_hotspot_8u504b01.json&BUILD_IDENTIFIER=&JENKINS_KEY=&ADOPTOPENJDK_BRANCH=v1.0.14.1-release&LIGHT_WEIGHT_CHECKOUT=false&BUILD_TYPE=release&USE_JRE=false&ARTIFACTORY_SERVER=&KEEP_WORKSPACE=false&JDK_VERSION=8&USER_CREDENTIALS_ID=&DOCKER_REGISTRY_URL=&ITERATIONS=1&VENDOR_TEST_REPOS=https%3A%2F%2Fgithub.com%2Fadoptium%2Ftemurin-build&JCK_GIT_BRANCH=master&JDK_REPO=&JCK_GIT_REPO=&OPENJ9_BRANCH=master&OPENJ9_SHA=&VENDOR_TEST_BRANCHES=v2026.08.01&OPENJ9_REPO=https%3A%2F%2Fgithub.com%2Feclipse-openj9%2Fopenj9.git&UPSTREAM_JOB_NAME=&CLOUD_PROVIDER=azure&CUSTOM_TARGET=java%2Fio%2FFile%2FcreateTempFile%2FSpecialTempFile.java&VENDOR_TEST_SHAS=&JDK_BRANCH=&LABEL_ADDITION=&ARTIFACTORY_REPO=&ARTIFACTORY_ROOT_DIR=&UPSTREAM_TEST_JOB_NUMBER=261&DOCKERIMAGE_TAG=&TEST_TIME=&JDK_IMPL=hotspot&SSH_AGENT_CREDENTIAL=&AUTO_DETECT=true&SLACK_CHANNEL=aqavit-bot&DYNAMIC_COMPILE=false&RELATED_NODES=&ADOPTOPENJDK_SYSTEMTEST_OWNER_BRANCH=adoptium%3Amaster&APPLICATION_OPTIONS=&CUSTOMIZED_SDK_URL_CREDENTIAL_ID=eclipse_temurin_bot_email_and_token&ARCHIVE_TEST_RESULTS=false&NUM_MACHINES=&OPENJDK_SHA=&TRSS_URL=&RERUN_FAILURE=false&USE_TESTENV_PROPERTIES=true&BUILD_LIST=openjdk&ADDITIONAL_ARTIFACTS_REQUIRED=&UPSTREAM_JOB_NUMBER=&STF_OWNER_BRANCH=adoptium%3Amaster&TIME_LIMIT=10&JVM_OPTIONS=&PARALLEL=None)
**Java Version output (from console output)**
```
00:34:10.802 openjdk version "1.8.0_504"
00:34:10.802 OpenJDK Runtime Environment (Temurin)(build 1.8.0_504-b01)
00:34:10.802 OpenJDK 64-Bit Server VM (Temurin)(build 25.504-b01, mixed mode)
```
**Relevant Console Output (showing exceptions/errors/crashes)**
```
00:37:36.561 In test ReservedName, creating temp file with prefix, LPT1.package.zip, suffix, .temp, in dir, null
00:37:36.561 STDERR:
00:37:36.561 java.lang.RuntimeException: IOException is expected
00:37:36.561 at SpecialTempFile.test(SpecialTempFile.java:76)
00:37:36.561 at SpecialTempFile.main(SpecialTempFile.java:109)
00:37:36.561 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
00:37:36.561 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
00:37:36.561 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
00:37:36.561 at java.lang.reflect.Method.invoke(Method.java:498)
00:37:36.561 at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
00:37:36.561 at java.lang.Thread.run(Thread.java:750)
```
**Attach or link to relevant artifacts**
Looks like this issue: https://bugs.openjdk.org/browse/JDK-8274122
Could also be related to thius issue(although this one was backported to jdk8): https://bugs.openjdk.org/browse/JDK-8347740
[SpecialTempFile.zip](https://github.com/user-attachments/files/31374842/SpecialTempFile.zip)
Notes:
- The failing tests happened on Windows Server 2025.
- Sophia's passing grinder ran on Windows Server 2022: https://ci.adoptium.net/job/Grinder/17997/
- Upstream issue [JDK-8274122](https://bugs.openjdk.org/browse/JDK-8274122):
- Has the same symptom.
- Was not backported to JDK8
- Is related to Windows 11.
Contributor guide
Research direction
Start with java/io/File/createTempFile/SpecialTempFile.java, especially the failing assertion at SpecialTempFile.java:76, and inspect the attached output and test archive. Rerun the Grinder job while comparing Windows Server 2022 and 2025, then read JDK-8274122 and JDK-8347740. Done means the test correctly handles the Windows 2025 behavior and passes without losing its intended coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- operating-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 56/100