adoptium / infrastructure

This repo contains all information about machine maintenance.
Apache License 2.0
85 stars 101 forks source link

s390x jdk_other tests fail No route to host (Receive failed) #1992

Closed lumpfish closed 1 year ago

lumpfish commented 3 years ago

s390x_linux extended.openjdk target jdk_other fails with

javax.naming.CommunicationException: DNS error [Root exception is java.net.SocketException: No route to host (Receive failed)]; remaining name ''

Example failing job: https://ci.adoptopenjdk.net/job/Test_openjdk16_j9_extended.openjdk_s390x_linux/9/consoleFull

Looks like it occurs on both hotspot and openj9, all releases and all s390x machines - so I'm guessing it's a machine setup issue on the marist machines.

To rerun the test: https://ci.adoptopenjdk.net/job/Grinder/parambuild/?JDK_VERSION=16&JDK_IMPL=openj9&JDK_VENDOR=adoptopenjdk&BUILD_LIST=openjdk&PLATFORM=s390x_linux_mixed&TARGET=jdk_other_1

Full output of failing test:


11:11:11  ===============================================
11:11:11  Running test jdk_other_1 ...
11:11:11  ===============================================
11:11:11  jdk_other_1 Start Time: Mon Mar  1 11:11:01 2021 Epoch Time (ms): 1614597061159
11:11:11  "/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:destroyAll; "/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done";
11:11:11  JVMSHRC005I No shared class caches available
11:11:11  JVMSHRC005I No shared class caches available
11:11:11  cache cleanup done
11:11:11  variation: Mode650
11:11:11  JVM_OPTIONS:  -XX:-UseCompressedOops 
11:11:11  { itercnt=1; \
11:11:11  mkdir -p "/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/../TKG/output_16145965772431/jdk_other_1"; \
11:11:11  cd "/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/../TKG/output_16145965772431/jdk_other_1"; \
11:11:11  "/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \
11:11:11  -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:2 -vmoptions:"-Xmx512m  -XX:-UseCompressedOops " \
11:11:11  -w ""/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/../TKG/output_16145965772431/jdk_other_1"/work" \
11:11:11  -r "/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/../../jvmtest/openjdk/report" \
11:11:11  -jdk:"/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image" \
11:11:11  -exclude:"/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \
11:11:11  -exclude:"/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/../../jvmtest/openjdk/ProblemList_openjdk16-openj9.txt" \
11:11:11  "/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_other"; \
11:11:11  if [ $? -eq 0 ] ; then echo ""; echo "jdk_other_1""_PASSED"; echo ""; cd /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/..;  else echo ""; echo "jdk_other_1""_FAILED"; echo ""; fi; } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/../TKG/output_16145965772431/TestTargetResult";
11:11:11  Directory "/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/../TKG/output_16145965772431/jdk_other_1/work" not found: creating
11:11:11  XML output with verification to /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work
11:11:17  --------------------------------------------------
11:11:17  TEST: com/sun/jndi/dns/ConfigTests/Timeout.java
11:11:17  TEST JDK: /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image
11:11:17  
11:11:17  ACTION: build -- Passed. Build successful
11:11:17  REASON: Named class compiled on demand
11:11:17  TIME:   0.427 seconds
11:11:17  messages:
11:11:17  command: build Timeout
11:11:17  reason: Named class compiled on demand
11:11:17  Test directory:
11:11:17    compile: Timeout
11:11:17  elapsed time (seconds): 0.427
11:11:17  
11:11:17  ACTION: compile -- Passed. Compilation successful
11:11:17  REASON: .class file out of date or does not exist
11:11:17  TIME:   0.427 seconds
11:11:17  messages:
11:11:17  command: compile /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java
11:11:17  reason: .class file out of date or does not exist
11:11:17  Additional options from @modules: --add-modules java.base --add-exports java.base/sun.security.util=ALL-UNNAMED
11:11:17  Mode: agentvm
11:11:17  Agent id: 2
11:11:17  elapsed time (seconds): 0.427
11:11:17  configuration:
11:11:17  Boot Layer (javac runtime environment)
11:11:17    class path: /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/jtreg/lib/javatest.jar 
11:11:17                /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar 
11:11:17    patch:      java.base /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/patches/java.base
11:11:17  
11:11:17  javac compilation environment
11:11:17    add modules: java.base                   
11:11:17    add exports: java.base/sun.security.util ALL-UNNAMED
11:11:17    source path: /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests 
11:11:17                 /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib 
11:11:17    class path:  /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests 
11:11:17                 /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d 
11:11:17                 /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/lib 
11:11:17  
11:11:17  rerun:
11:11:17  cd /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/scratch/1 && \
11:11:17  DISPLAY=:0 \
11:11:17  HOME=/home/jenkins \
11:11:17  LANG=en_US.UTF-8 \
11:11:17  PATH=/bin:/usr/bin:/usr/sbin \
11:11:17      /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image/bin/javac \
11:11:17          -J-ea \
11:11:17          -J-esa \
11:11:17          -J-Xmx512m \
11:11:17          -J-XX:-UseCompressedOops \
11:11:17          -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \
11:11:17          -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \
11:11:17          -J-Dtest.compiler.opts= \
11:11:17          -J-Dtest.java.opts= \
11:11:17          -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image \
11:11:17          -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image \
11:11:17          -J-Dtest.timeout.factor=8.0 \
11:11:17          -J-Dtest.root=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk \
11:11:17          -J-Dtest.name=com/sun/jndi/dns/ConfigTests/Timeout.java \
11:11:17          -J-Dtest.file=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java \
11:11:17          -J-Dtest.src=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests \
11:11:17          -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib \
11:11:17          -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d \
11:11:17          -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/lib \
11:11:17          -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/lib \
11:11:17          -J-Dtest.modules=java.base/sun.security.util \
11:11:17          --add-modules java.base \
11:11:17          --add-exports java.base/sun.security.util=ALL-UNNAMED \
11:11:17          -d /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d \
11:11:17          -sourcepath /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib \
11:11:17          -classpath /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/lib /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java
11:11:17  direct:
11:11:17  /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib/DNSTracer.java:24: warning: HexDumpEncoder is internal proprietary API and may be removed in a future release
11:11:17  import sun.security.util.HexDumpEncoder;
11:11:17                          ^
11:11:17  /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib/DNSServer.java:24: warning: HexDumpEncoder is internal proprietary API and may be removed in a future release
11:11:17  import sun.security.util.HexDumpEncoder;
11:11:17                          ^
11:11:17  /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib/DNSTracer.java:53: warning: HexDumpEncoder is internal proprietary API and may be removed in a future release
11:11:17      static HexDumpEncoder encoder = new HexDumpEncoder();
11:11:17             ^
11:11:17  /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib/DNSTracer.java:53: warning: HexDumpEncoder is internal proprietary API and may be removed in a future release
11:11:17      static HexDumpEncoder encoder = new HexDumpEncoder();
11:11:17                                          ^
11:11:17  /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib/DNSServer.java:85: warning: HexDumpEncoder is internal proprietary API and may be removed in a future release
11:11:17      static HexDumpEncoder encoder = new HexDumpEncoder();
11:11:17             ^
11:11:17  /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib/DNSServer.java:85: warning: HexDumpEncoder is internal proprietary API and may be removed in a future release
11:11:17      static HexDumpEncoder encoder = new HexDumpEncoder();
11:11:17                                          ^
11:11:17  6 warnings
11:11:17  
11:11:17  ACTION: main -- Failed. Execution failed: `main' threw exception: javax.naming.CommunicationException: DNS error [Root exception is java.net.NoRouteToHostException: No route to host]; remaining name ''
11:11:17  REASON: User specified action: run main Timeout 
11:11:17  TIME:   2.568 seconds
11:11:17  messages:
11:11:17  command: main Timeout
11:11:17  reason: User specified action: run main Timeout 
11:11:17  Mode: agentvm
11:11:17  Agent id: 4
11:11:17  Additional exports to unnamed modules from @modules: java.base/sun.security.util
11:11:17  elapsed time (seconds): 2.568
11:11:17  configuration:
11:11:17  Boot Layer
11:11:17    class path: /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/jtreg/lib/javatest.jar 
11:11:17                /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar 
11:11:17                /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/jtreg/lib/junit.jar 
11:11:17                /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/jtreg/lib/testng.jar 
11:11:17                /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/jtreg/lib/jcommander.jar 
11:11:17    patch:      java.base /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/patches/java.base
11:11:17  
11:11:17  Test Layer
11:11:17    add exports: java.base/sun.security.util ALL-UNNAMED
11:11:17    class path:  /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d 
11:11:17                 /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests 
11:11:17                 /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/lib 
11:11:17                 /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib 
11:11:17  
11:11:17  rerun:
11:11:17  cd /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/scratch/1 && \
11:11:17  DISPLAY=:0 \
11:11:17  HOME=/home/jenkins \
11:11:17  LANG=en_US.UTF-8 \
11:11:17  PATH=/bin:/usr/bin:/usr/sbin \
11:11:17      /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image/bin/java \
11:11:17          -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops' \
11:11:17          -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops' \
11:11:17          -Dtest.compiler.opts= \
11:11:17          -Dtest.java.opts= \
11:11:17          -Dtest.jdk=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image \
11:11:17          -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdkbinary/j2sdk-image \
11:11:17          -Dtest.timeout.factor=8.0 \
11:11:17          -Dtest.root=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk \
11:11:17          -Dtest.name=com/sun/jndi/dns/ConfigTests/Timeout.java \
11:11:17          -Dtest.file=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java \
11:11:17          -Dtest.src=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests \
11:11:17          -Dtest.src.path=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib \
11:11:17          -Dtest.classes=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d \
11:11:17          -Dtest.class.path=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/lib \
11:11:17          -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/lib \
11:11:17          -Dtest.modules=java.base/sun.security.util \
11:11:17          -classpath /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/ConfigTests/Timeout.d:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/ConfigTests:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work/classes/1/com/sun/jndi/dns/lib:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/openjdk/openjdk-jdk/test/jdk/com/sun/jndi/dns/lib:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/jtreg/lib/jtreg.jar \
11:11:17          Timeout
11:11:17  STDERR:
11:11:17  javax.naming.CommunicationException: DNS error [Root exception is java.net.NoRouteToHostException: No route to host]; remaining name ''
11:11:17    at jdk.naming.dns/com.sun.jndi.dns.DnsClient.query(DnsClient.java:316)
11:11:17    at jdk.naming.dns/com.sun.jndi.dns.Resolver.query(Resolver.java:81)
11:11:17    at jdk.naming.dns/com.sun.jndi.dns.DnsContext.c_getAttributes(DnsContext.java:434)
11:11:17    at java.naming/com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(ComponentDirContext.java:235)
11:11:17    at java.naming/com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:141)
11:11:17    at java.naming/com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(PartialCompositeDirContext.java:129)
11:11:17    at java.naming/javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:171)
11:11:17    at java.naming/javax.naming.directory.InitialDirContext.getAttributes(InitialDirContext.java:166)
11:11:17    at Timeout.runTest(Timeout.java:78)
11:11:17    at TestBase.launch(TestBase.java:82)
11:11:17    at TestBase.run(TestBase.java:50)
11:11:17    at Timeout.main(Timeout.java:61)
11:11:17    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:11:17    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
11:11:17    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:11:17    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
11:11:17    at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
11:11:17    at java.base/java.lang.Thread.run(Thread.java:853)
11:11:17  Caused by: java.net.NoRouteToHostException: No route to host
11:11:17    at java.base/sun.nio.ch.DatagramChannelImpl.receive0(Native Method)
11:11:17    at java.base/sun.nio.ch.DatagramChannelImpl.receiveIntoNativeBuffer(DatagramChannelImpl.java:747)
11:11:17    at java.base/sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:725)
11:11:17    at java.base/sun.nio.ch.DatagramChannelImpl.trustedBlockingReceive(DatagramChannelImpl.java:703)
11:11:17    at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:630)
11:11:17    at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:239)
11:11:17    at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:567)
11:11:17    at jdk.naming.dns/com.sun.jndi.dns.DnsClient.doUdpQuery(DnsClient.java:426)
11:11:17    at jdk.naming.dns/com.sun.jndi.dns.DnsClient.query(DnsClient.java:214)
11:11:17    ... 17 more
11:11:17  
11:11:17  JavaTest Message: Test threw exception: javax.naming.CommunicationException
11:11:17  JavaTest Message: shutting down test
11:11:17  
11:11:17  STDOUT:
11:11:17  Skip local DNS Server creation 
11:11:17  
11:11:17  TEST RESULT: Failed. Execution failed: `main' threw exception: javax.naming.CommunicationException: DNS error [Root exception is java.net.NoRouteToHostException: No route to host]; remaining name ''
11:11:17  --------------------------------------------------
11:14:34  Test results: passed: 260; failed: 1
11:14:34  Report written to /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/report/html/report.html
11:14:34  Results written to /home/jenkins/workspace/Test_openjdk16_j9_extended.openjdk_s390x_linux/openjdk-tests/TKG/output_16145965772431/jdk_other_1/work
11:14:34  Error: Some tests failed or other problems occurred.
11:14:34  
11:14:34  jdk_other_1_FAILED```
lumpfish commented 3 years ago

To run just this failing test: https://ci.adoptopenjdk.net/job/Grinder/parambuild/?JDK_VERSION=11&JDK_IMPL=hotspot&JDK_VENDOR=adoptopenjdk&BUILD_LIST=openjdk&PLATFORM=s390x_linux_xl&CUSTOM_TARGET=test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java&TARGET=jdk_custom_1

Haroon-Khel commented 3 years ago

To run just this failing test: https://ci.adoptopenjdk.net/job/Grinder/parambuild/?JDK_VERSION=11&JDK_IMPL=hotspot&JDK_VENDOR=adoptopenjdk&BUILD_LIST=openjdk&PLATFORM=s390x_linux_xl&CUSTOM_TARGET=test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java&TARGET=jdk_custom_1

@lumpfish Using PLATFORM=s390x_linux instead of s390x_linux_xl, I can get this test to pass on all Marist machines. An example on build-marist-rhel77-s390x-2

When using PLATFORM=s390x_linux_xl however the job has trouble uncompressing the jdk binary

12:56:48  _ENCODE_FILE_NEW=UNTAGGED curl -OLJSks  https://api.adoptopenjdk.net/v3/binary/latest/11/ea/linux/s390x/jdk/hotspot/large/adoptopenjdk
12:56:48  _ENCODE_FILE_NEW=UNTAGGED curl -OLJSks  https://api.adoptopenjdk.net/v3/binary/latest/11/ea/linux/s390x/testimage/hotspot/large/adoptopenjdk
12:56:49  Uncompressing file: adoptopenjdk ...
12:56:49  
12:56:49  gzip: adoptopenjdk: not in gzip format
12:56:49  tar: This does not look like a tar archive
12:56:49  tar: Exiting with failure status due to previous errors

Is it because there isnt an XL version available here? https://adoptopenjdk.net/nightly.html

lumpfish commented 3 years ago

There is no _xl any more - don't include that suffix specifying the platform. I'll look into why the link (which I took from the end of a failing job) contains the _xl. It may be that something needs fixing.

lumpfish commented 3 years ago

This is the job I took the command line from: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/21/parameters/ The input PLATFORM parameter does not include _xlso there's an issue somewhere with the code which creates the rerun command.

sxa commented 3 years ago

@lumpfish Yes it's something that needs fixing - Andrew and I have seen that elsewhere (in fact we hit it on the "how to investigate build/test failures" call this morning. I think I mentioned it at least in passing to @smlambert somewhere, but can't remember if we created an issue on it (Clearly, if we didn't, that was an oversight and we need one). I had another one today that had a _mixed suffix on the re-run link which also had to be removed.

sxa commented 3 years ago

@lumpfish Can you see if you can reproduce it again? If not, we'll have to put this into the "random network glitch" bucket (I need a label for that...)

lumpfish commented 3 years ago

I just reran the test and it passed. Did you fix anything? This issue was raised on 2nd March, but my chase up was 14th April (https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1992#issuecomment-818580435), so if it's a 'glitch' it's a recurring one.

Haroon-Khel commented 3 years ago

Since March 2, the playbooks have been run on all linux machines, as per https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1990. This may have fixed it

sxa commented 3 years ago

This may have fixed it

Not if the error has been seen in the last week as suggested by https://github.com/AdoptOpenJDK/openjdk-tests/issues/2360 (looks like the same failure).

I've queued up 100 of @lumpfish's test case at https://ci.adoptopenjdk.net/job/Grinder/92/consoleFull (Takes about 3 minutes per iteration so will be churning for a while) - we can see if it shows as intermittent. Tagging https://github.com/AdoptOpenJDK/openjdk-build/issues/1450 as it seems likely this is an intermittent failure.

[EDIT: Yes it is showing up on that run]

sxa commented 3 years ago

@lumpfish Using PLATFORM=s390x_linux instead of s390x_linux_xl, I can get this test to pass on all Marist machines. An example on build-marist-rhel77-s390x-2

@Haroon-Khel Can you compare my grinder with yours - it seems to be failing on every iteration on my run

Haroon-Khel commented 3 years ago

I used Simon's comment from 2 days ago to recreate the failing test, while you used the link in the first comment. I think the latter may be a better way to recreate the failing tests seeing as all of mine passed. The differences between the two are yours uses openj9 jdk 16 while mine uses hotspot jdk11, and yours runs the target jdk_other_1 while mine runs the custom target test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java

Haroon-Khel commented 3 years ago

I dont think the cause is due to an error in /etc/hosts as that file on test-marist-ubuntu1604-s390x-2X, the machine youre running your tests on, doesnt look corrupted. I suspect a firewall issue. Is there evidence of this test passing on marist machines in the past?

lumpfish commented 3 years ago

The reason we're getting different results is that if the test is resubmitted via the jdk_custom url it doesn't actually run the requested test (note the /home/jenkins/workspace/Grinder/openjdk-tests/TKG/../openjdk/openjdk-jdk/test/jdk/java/math/BigInteger/BigIntegerTest.java in the test output below).

16:39:34  ===============================================
16:39:34  Running test jdk_custom_1 ...
16:39:34  ===============================================
16:39:34  jdk_custom_1 Start Time: Thu Apr 15 15:39:33 2021 Epoch Time (ms): 1618501173425
16:39:34  "/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:destroyAll; "/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done";
16:39:34  
16:39:34  Attempting to destroy all caches in cacheDir /home/jenkins/javasharedresources/
16:39:34  
16:39:34  JVMSHRC806I Compressed references persistent shared cache "sharedcc_jenkins" has been destroyed. Use option -Xnocompressedrefs if you want to destroy a non-compressed references cache.
16:39:34  JVMSHRC807I Non-compressed references persistent shared cache "sharedcc_jenkins" has been destroyed. Use option -Xcompressedrefs if you want to destroy a compressed references cache.
16:39:34  JVMSHRC005I No shared class caches available
16:39:34  cache cleanup done
16:39:34  variation: Mode650
16:39:34  JVM_OPTIONS:  -XX:-UseCompressedOops 
16:39:34  { itercnt=1; \
16:39:34  mkdir -p "/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../TKG/output_16185011733385/jdk_custom_1"; \
16:39:34  cd "/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../TKG/output_16185011733385/jdk_custom_1"; \
16:39:34  "/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \
16:39:34  -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:2 -nativepath:"/home/jenkins/workspace/Grinder/openjdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m  -XX:-UseCompressedOops " \
16:39:34  -timeoutHandler:jtreg.openj9.CoreDumpTimeoutHandler -timeoutHandlerDir:"/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../TKG/lib/openj9jtregtimeouthandler.jar" \
16:39:34  -w ""/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../TKG/output_16185011733385/jdk_custom_1"/work" \
16:39:34  -r "/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../../jvmtest/openjdk/report" \
16:39:34  -jdk:"/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image" \
16:39:34  "/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../openjdk/openjdk-jdk/test/jdk/java/math/BigInteger/BigIntegerTest.java"; \
16:39:34  if [ $? -eq 0 ] ; then echo ""; echo "jdk_custom_1""_PASSED"; echo ""; cd /home/jenkins/workspace/Grinder/openjdk-tests/TKG/..;  else echo ""; echo "jdk_custom_1""_FAILED"; echo ""; fi; } 2>&1 | tee -a "/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../TKG/output_16185011733385/TestTargetResult";
16:39:35  Directory "/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../TKG/output_16185011733385/jdk_custom_1/work" not found: creating
16:39:35  Directory "/home/jenkins/workspace/Grinder/openjdk-tests/TKG/../../jvmtest/openjdk/report" not found: creating
16:39:37  XML output with verification to /home/jenkins/workspace/Grinder/openjdk-tests/TKG/output_16185011733385/jdk_custom_1/work
16:40:16  Test results: passed: 1
16:40:19  Report written to /home/jenkins/workspace/Grinder/jvmtest/openjdk/report/html/report.html
16:40:19  Results written to /home/jenkins/workspace/Grinder/openjdk-tests/TKG/output_16185011733385/jdk_custom_1/work
16:40:19  
16:40:19  jdk_custom_1_PASSED
lumpfish commented 3 years ago

The problem lies with the generated link again. It inserts TARGET=jdk_custom_1, but if that is specified the wrong test is executed. Running the test with

https://ci.adoptopenjdk.net/job/Grinder/parambuild/?JDK_VERSION=11&JDK_IMPL=hotspot&JDK_VENDOR=adoptopenjdk&BUILD_LIST=openjdk&PLATFORM=s390x_linux&CUSTOM_TARGET=test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java&TARGET=jdk_custom

works (that is, the test fails).

smlambert commented 3 years ago

The rerun link simply captures all params of the last run. It is on the user to then adjust the parameters accordingly. It exists as a convenience to help prepopulate params. I can remove it if its causing confusion (you would use Jenkins Rebuild link in the same way).

lumpfish commented 3 years ago

"The rerun link simply captures all params of the last run."

By 'last run' do you mean the parameters the job was submitted with? The original test was run with TARGET=jdk_custom. but the generated link contains TARGET=jdk_custom_1, which is the 'variation' target of the failing test. (I am surmising that the CUSTOM_TARGET parameter is not recognised if the TARGET is not jdk_custom.

lumpfish commented 3 years ago

Raised https://github.com/AdoptOpenJDK/openjdk-tests/issues/2527 for the issue with the incorrect test being run.

Haroon-Khel commented 3 years ago

The test code can be found at https://github.com/adoptium/jdk11u/blob/master/test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java

As far as I can tell, the test tries to connect to a mock/non existent dns server at 10.0.0.0:9 intentionally and waits for the request to timeout. On a passing test, expected timeout is 7750ms.

Testing on build-marist-rhel77-s390x-1, the test will pass randomly, and then return to failing with

javax.naming.CommunicationException: DNS error [Root exception is java.net.NoRouteToHostException: No route to host]; remaining name '' at jdk.naming.dns/com.sun.jndi.dns.DnsClient.query(DnsClient.java:316) at jdk.naming.dns/com.sun.jndi.dns.Resolver.query(Resolver.java:81)

Haroon-Khel commented 3 years ago

Sometimes the test will fail because the request times out too quickly

sxa commented 3 years ago

@Haroon-Khel @smlambert Will this need some timeout parameter changes on those tests?

sxa commented 2 years ago

Running with 20 iterations at https://ci.adoptopenjdk.net/job/Grinder/1461/

sxa commented 2 years ago

Hmmm those are giving me Error: Cannot find file: /home/jenkins/workspace/Grinder/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/test/jdk/com/sun/jndi/dns/ConfigTests/Timeout.java

jdekonin commented 1 year ago

Finding this same type of failure on the new Marist systems being setup at OpenJ9, but only on the Redhat 7 systems. Ubuntu 20 installations work as expected. The older Redhat 7 systems from Marist do not have this No route to host failure. https://github.com/eclipse-openj9/openj9/issues/15998

Haroon-Khel commented 1 year ago

Rerunning this for the sake of fresh grinders

Haroon-Khel commented 1 year ago

I ran those grinders using https://github.com/adoptium/infrastructure/issues/1992#issuecomment-820560087 which look to be the correct instructions as they failed for Simon. They all pass now