Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64 mac jdk11/18 : jdk_nio consistently failed on test-macstadium-macos11-arm64-2 #2682

Open
sophia-guo opened this issue Jul 20, 2022 · 11 comments

Comments

@sophia-guo
Copy link

sophia-guo commented Jul 20, 2022

aarch64 mac jdk11 : jdk_nio consistently failed on test-macstadium-macos11-arm64-2

  • test suite/name : jdk_nio
  • a link into recent Test_ job on Test_openjdk11_hs_extended.openjdk_aarch64_mac_testList_0
  • Hyperlink to re-run in Grinder: rerunLink
  • Is there an existing issue elsewhere covering this?
  • Which machine(s) does it work on? test-macstadium-macos11-arm64-1
  • Which machine(s) does it fail on?test-macstadium-macos11-arm64-2

Any other details:
https://trss.adoptium.net/deepHistory?testId=62d7d4f9250c3c428ca02918
adoptium/aqa-tests#3868 (comment)

@sophia-guo
Copy link
Author

@sxa @Haroon-Khel

@sxa
Copy link
Member

sxa commented Jul 20, 2022

@sophia-guo I guess that since we have a machine it passes on this is not critical for the release?
Also can you add in a grinder re-run link into the description template please?

@smlambert
Copy link
Contributor

Added link above, and here Rerun Failed target in Grinder on same machine

@sophia-guo
Copy link
Author

@sxa not critical. Just a note might hit the same issue for other release version.

@sxa
Copy link
Member

sxa commented Jul 20, 2022

Agreed. Although I think it's best that we take that penalty for this cycle and re-run as Grinders if required given the limited number of systems we have just now.

@sophia-guo sophia-guo changed the title aarch64 mac jdk11 : jdk_nio consistently failed on test-macstadium-macos11-arm64-2 aarch64 mac jdk11/18 : jdk_nio consistently failed on test-macstadium-macos11-arm64-2 Jul 21, 2022
@sxa sxa added this to the 2024-11 (November) milestone Nov 5, 2024
@sxa sxa removed this from Adoptium Backlog Nov 5, 2024
@sxa
Copy link
Member

sxa commented Nov 22, 2024

Referenced machine is no longer present in the CI and has been replaced with orka machines - re-running on those:

Noting that it's not clear from this issue what the original failure was.

@sxa
Copy link
Member

sxa commented Nov 22, 2024

Also noting that https://ci.adoptium.net/job/Test_openjdk11_hs_extended.openjdk_aarch64_mac/ seems to be passing jdk_nio consistently.

@sxa
Copy link
Member

sxa commented Nov 25, 2024

Some more tests:

@sxa
Copy link
Member

sxa commented Nov 25, 2024

Upstream issue showing a similar error with other tests: https://bugs.openjdk.org/browse/JDK-8144003
As per that bug it has been raised with Apple - Issue ID FB15368430

Based on that issue, here are other affected tests:

  • java/nio/channels/DatagramChannel/AdaptorMulticasting.java
  • java/nio/channels/DatagramChannel/Promiscuous.java

Grinder with all three tests:

  • aarch64 jdk11 (No AdapterMulticasting as it's not in 11) - Failed 1/200: Promiscous had Exec format error. BasicMulticast failed but for another reason (2/1/197)
  • aarch64 jdk21 Both failed 1/200 but not with Exec format error (1/1/198)
  • x64 jdk21 Stuck - aborted (2/1/135)
  • x64 jdk21 AdapterMulticasting passed all runs. Other two failed 1/200 but not with Exec format error (11/1/188)
  • aarch64 jdk17 Both failed 1/200 but not with Exec format error (0/1/199)
  • aarch64 jdk24 All three tests failed 195/200 times. (5/195/0)

Numbers in brackets are from curl -s https://ci.adoptium.net/job/Grinder/11840/consoleText | egrep '_PASSED|_FAILED' | grep -v echo | cut -d' ' -f2 | uniq -c and shows when it's passing and failing in the run, so e.g. 11/1/188 means that the first 11 passed, one failed, then 188 passed. Apart frmo teh jdk24 one, most seem to have had a single failure towards the start of the run.

@sxa sxa moved this from Todo to Paused/Blocked in 2024 4Q Adoptium Plan Nov 25, 2024
@sxa
Copy link
Member

sxa commented Nov 25, 2024

Noting that due to other problems - most recently adoptium/temurin-build#4058 - we haven't had a jdk11u/mac/aarch64 build for a while and so there is a lack of reliable recent history of this execution (I couldn't easily track down anything in TRSS for it)

@sxa
Copy link
Member

sxa commented Nov 29, 2024

Based on grep -ir 'exec format error' Test*mac* on the jenkins server, this has been seen in:

All of them have java.net.SocketException: Resource busy (setsockopt failed) for BasicMulticast Test and java.net.SocketException: Exec format error (setsockopt failed) in the AdapterMulticasting one. The exception is for the last two (note - only 2/3 of the jdk23 ones) where BasicMulticast passed ok.

@sxa sxa self-assigned this Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Paused/Blocked
Development

No branches or pull requests

3 participants