Skip to content

Jan CPU arm linux node specific test issues with jdk8 runtime/os/AvailableProcessors.java testcase #4228

Open

Description

@andrew-m-leonard

jdk8 runtime/os/AvailableProcessors.java testcase for arm linux only works on one node
Ref: adoptium/aqa-tests#6837 (comment)

Grinder link :
https://ci.adoptium.net/job/Grinder/parambuild/?SDK_RESOURCE=upstream&TARGET=hotspot_custom&TEST_FLAG=&UPSTREAM_TEST_JOB_NAME=&DOCKER_REQUIRED=false&ACTIVE_NODE_TIMEOUT=5&VENDOR_TEST_DIRS=&EXTRA_DOCKER_ARGS=&TKG_OWNER_BRANCH=adoptium%3Amaster&OPENJ9_SYSTEMTEST_OWNER_BRANCH=eclipse%3Amaster&PLATFORM=arm_linux&GENERATE_JOBS=true&KEEP_REPORTDIR=true&PERSONAL_BUILD=false&ADOPTOPENJDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Faqa-tests.git&RERUN_ITERATIONS=0&LABEL=test-docker-ubuntu2404-armv7-1&EXTRA_OPTIONS=&CUSTOMIZED_SDK_URL=&BUILD_IDENTIFIER=&ADOPTOPENJDK_BRANCH=v1.0.11-release&LIGHT_WEIGHT_CHECKOUT=false&NON_AQA_TEST_REPOS=&USE_JRE=false&ARTIFACTORY_SERVER=&KEEP_WORKSPACE=false&USER_CREDENTIALS_ID=&JDK_VERSION=8&ITERATIONS=1&VENDOR_TEST_REPOS=&JDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Faarch32-jdk8u&OPENJ9_BRANCH=master&OPENJ9_SHA=&JCK_GIT_REPO=&VENDOR_TEST_BRANCHES=&OPENJ9_REPO=https%3A%2F%2Fgithub.com%2Feclipse-openj9%2Fopenj9.git&UPSTREAM_JOB_NAME=build-scripts%2Fjobs%2Frelease%2Fjobs%2Fjdk8u%2Fjdk8u-release-linux-arm-temurin&CLOUD_PROVIDER=&PLATFORM_AND_MACHINE=&CUSTOM_TARGET=runtime%2Fos%2FAvailableProcessors.java&VENDOR_TEST_SHAS=&JDK_BRANCH=&TEST_IMAGES_REQUIRED=true&LABEL_ADDITION=&ARTIFACTORY_REPO=&ARTIFACTORY_ROOT_DIR=&UPSTREAM_TEST_JOB_NUMBER=&DOCKERIMAGE_TAG=&JDK_IMPL=hotspot&TEST_TIME=&SSH_AGENT_CREDENTIAL=&AUTO_DETECT=true&SLACK_CHANNEL=aqavit-bot&DYNAMIC_COMPILE=false&ADOPTOPENJDK_SYSTEMTEST_OWNER_BRANCH=adoptium%3Amaster&APPLICATION_OPTIONS=&CUSTOMIZED_SDK_URL_CREDENTIAL_ID=eclipse_temurin_bot_email_and_token&ARCHIVE_TEST_RESULTS=false&OPENJDK_SHA=&NUM_MACHINES=&RERUN_FAILURE=false&BUILD_LIST=openjdk&USE_TESTENV_PROPERTIES=true&UPSTREAM_JOB_NUMBER=22&STF_OWNER_BRANCH=adoptium%3Amaster&TIME_LIMIT=25&JVM_OPTIONS=&PARALLEL=None

Activity

  1. adamfarley commented on Mar 30, 2026

    @adamfarley
    Contributor

    The latest arm failure on jdk8 for AvailableProcessors is this one:

    https://ci.adoptium.net/job/Test_openjdk8_hs_extended.openjdk_arm_linux/154/

    20:21:51  STDERR:
    20:21:51   stdout: [active_processor_count: sched_getaffinity processor count: 2
    20:21:51  active_processor_count: determined by OSContainer: 2
    20:21:51  active_processor_count: sched_getaffinity processor count: 2
    20:21:51  active_processor_count: determined by OSContainer: 2
    20:21:51  active_processor_count: sched_getaffinity processor count: 2
    20:21:51  active_processor_count: determined by OSContainer: 2
    20:21:51  ];
    20:21:51   stderr: [Exception in thread "main" java.lang.Error: Expected 3 processors, but found 2
    20:21:51  	at AvailableProcessors.checkProcessors(AvailableProcessors.java:100)
    20:21:51  	at AvailableProcessors.main(AvailableProcessors.java:47)
    20:21:51  ]
    20:21:51   exitValue = 1
    20:21:51  
    20:21:51  java.lang.RuntimeException: 'Found expected processors: ' missing from stdout/stderr 
    20:21:51  
    20:21:51  	at com.oracle.java.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:134)
    20:21:51  	at AvailableProcessors.main(AvailableProcessors.java:92)
    20:21:51  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    20:21:51  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    20:21:51  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    20:21:51  	at java.lang.reflect.Method.invoke(Method.java:498)
    20:21:51  	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
    20:21:51  	at java.lang.Thread.run(Thread.java:750)
    20:21:51  
    20:21:51  JavaTest Message: Test threw exception: java.lang.RuntimeException
    20:21:51  JavaTest Message: shutting down test
    20:21:51  
    20:21:51  
    20:21:51  TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Found expected processors: ' missing from stdout/stderr
    

    Adding this comment to help differentiate this issue from #4100

  2. adamfarley commented on Aug 24, 2026

    @adamfarley
    Contributor

    Symptom seen on JDK11 arm32 tests:
    adoptium/aqa-tests#7599 (comment)

    Rerun passed on test-docker-ubuntu2404-armv7-9, and the original failed twice on test-docker-ubuntu2404-armv7-10.

  3. adamfarley commented on Aug 24, 2026

    @adamfarley
    Contributor

    AvailableProcessors.jtr.txt - jtr from failed run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions