You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "hudi-bot (via GitHub)" <gi...@apache.org> on 2025/11/30 12:07:26 UTC

[I] All Azure CI jobs should use same linux version in the test runner image [hudi]

hudi-bot opened a new issue, #16955:
URL: https://github.com/apache/hudi/issues/16955

   Ever since the GH actions upgrded the linux kernel version in [https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250406.1]
   
   the tests in `UT hudi-hadoop-common & Hudi Utilities others` job started failing, e.g. [https://dev.azure.com/apachehudi/hudi-oss-ci/_build/results?buildId=4742&view=logs&j=d8698f62-59df-5d60-659e-8e4b90e4e5ba&t=7e6a176b-fa3b-5e2b-bced-8d295e83a4a8&l=12623]
   
   
   
   Issue was mitigated by pinning that particular job to a specific version - [https://github.com/apache/hudi/pull/13124.] This is an interim solution. Ideally, we would like to use the same os version for all jobs. As part of this task, we should also investigate how we can avoid MockMaker to reuse the same jvm, if possible. The upgrade led to the following error:
   {code:java}
   	at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<init>(InlineDelegateByteBuddyMockMaker.java:246)
   	at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.<init>(InlineByteBuddyMockMaker.java:25)
   	... 87 more
   Caused by: java.lang.IllegalStateException: Error during attachment using: net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound@169c6d89
   	at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:636)
   	at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:609)
   	at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:561)
   	at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:538)
   	at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<clinit>(InlineDelegateByteBuddyMockMaker.java:117)
   	... 88 more
   Caused by: java.lang.reflect.InvocationTargetException
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at net.bytebuddy.agent.Attacher.install(Attacher.java:106)
   	at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:631)
   	... 92 more
   Caused by: java.lang.UnsatisfiedLinkError: Native Library /opt/java/openjdk/jre/lib/amd64/libattach.so already loaded in another classloader
   	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1900)
   	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1838)
   	at java.lang.Runtime.loadLibrary0(Runtime.java:843)
   	at java.lang.System.loadLibrary(System.java:1136)
   	at sun.tools.attach.LinuxVirtualMachine.<clinit>(LinuxVirtualMachine.java:343)
   	at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
   	at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:208)
   	... 98 more
    {code}
   
   ## JIRA info
   
   - Link: https://issues.apache.org/jira/browse/HUDI-9287
   - Type: Test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] All Azure CI jobs should use same linux version in the test runner image [hudi]

Posted by "rangareddy (via GitHub)" <gi...@apache.org>.
rangareddy commented on issue #16955:
URL: https://github.com/apache/hudi/issues/16955#issuecomment-5391435404

   This issue was reviewed as part of the JIRA-migrated backlog triage (HUDI-9287).
   
   **Findings: still open. The linked PR is merged, but it is not the fix.**
   
   The PR(s) linked to this issue are merged, but each carries a **different JIRA key** from this ticket - they are the change this ticket was filed to follow up on:
   
   - #13124 - `[MINOR] Force UT hudi-hadoop-common & Hudi Utilities others Azure CI to use ubun` (no JIRA key), merged 2025-04-09
   
   That distinction is worth stating explicitly, because a merged linked PR reads like a resolution. Across this whole batch of 134 issues, 43 linked PRs were checked and **not one merged PR carries its own issue's JIRA key** - so none of these tickets can be closed on that basis.
   
   Keeping this open.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] All Azure CI jobs should use same linux version in the test runner image [hudi]

Posted by "rangareddy (via GitHub)" <gi...@apache.org>.
rangareddy closed issue #16955: All Azure CI jobs should use same linux version in the test runner image
URL: https://github.com/apache/hudi/issues/16955


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] All Azure CI jobs should use same linux version in the test runner image [hudi]

Posted by "rangareddy (via GitHub)" <gi...@apache.org>.
rangareddy commented on issue #16955:
URL: https://github.com/apache/hudi/issues/16955#issuecomment-5408504121

   **Correcting my earlier comment on this issue: it was wrong. This is fixed, and I'm closing it.**
   
   My previous note said the linked merged PR was not the fix and that this remained open. That reasoning was based on the linked PR carrying a different JIRA key, which was the wrong signal here - because the linked PR is what *caused* the inconsistency, and the fix was a later, unlinked revert.
   
   **Current state on `master`.** `azure-pipelines-20230430.yml` declares exactly one runner image, at the pool level:
   
   ```yaml
   pool:
     vmImage: 'ubuntu-22.04'
   ```
   
   That is the only `vmImage` declaration in the file - there is no per-job override, and the string `ubuntu-24` no longer appears anywhere in the pipeline. So every Azure CI job runs on the same linux version, which is what this ticket asked for.
   
   **How it got here:**
   
   | commit | PR | date | effect |
   | --- | --- | --- | --- |
   | `a8d1aa2c17d5` | #13124 | 2025-04-09 | forced `UT hudi-hadoop-common & Hudi Utilities others` to ubuntu-24 - **introduced** the divergence |
   | `bb41db29c1dc` | #13283 | 2025-05-09 | `[MINOR] Reverting ubuntu version override` - **removed** it |
   
   PR #13124's own description called the override "a temporary workaround", and #13283 duly reverted it a month later. Confirmed `bb41db29c1dc` is an ancestor of current `master`.
   
   So the underlying ubuntu-22.04 kernel problem that prompted the workaround was resolved by other means, and the pipeline is back to a single consistent image.
   
   Closing as fixed. Worth resolving JIRA HUDI-9287 to match. If the intent was broader - pinning the image version explicitly so a future runner-image upgrade cannot reintroduce this - that is worth a fresh ticket, since it is a different requirement from consistency across jobs.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org