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

Investigate Supporting GraalVM #21192

Closed
6 tasks
alzimmermsft opened this issue May 6, 2021 · 9 comments
Closed
6 tasks

Investigate Supporting GraalVM #21192

alzimmermsft opened this issue May 6, 2021 · 9 comments
Assignees
Labels
common common module used by all azure SDKs (e.g. client, Mgmt) EngSys This issue is impacting the engineering system.

Comments

@alzimmermsft
Copy link
Member

alzimmermsft commented May 6, 2021

Investigating having Azure SDKs offering support for GraalVM.

Investigation for GraalVM support:

  • Add testing pipeline that runs on GraalVM.
    • Running on Linux pipeline is fine.
    • Copy common-stage template.
      • Create a new build pipeline off ci.yml.
    • Farm out test failures.
    • Optimisations to compile/runs.
@alzimmermsft alzimmermsft added Client This issue points to a problem in the data-plane of the library. Azure.Core azure-core labels May 6, 2021
@JonathanGiles JonathanGiles self-assigned this May 6, 2021
@stliu
Copy link
Member

stliu commented May 13, 2021

what's the plan of this issue? is it on our roadmap? we're also considering to support sprint native

@benbp
Copy link
Member

benbp commented Jun 23, 2021

The azure pipelines ubuntu 20.04 images recently added Graal CE 21.1.0: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md#graalvm

Assuming that's a workable version to use, then the infra side of things likely won't involve too much more than provisioning a new high mem pool.

Tracking issue for GraalVM on other OS images: actions/runner-images#2197

@JonathanGiles
Copy link
Member

@stliu Let's sync up - I've got a demo that I wanted to show the other week in our meeting that is Spring Native + Azure SDKs running as a native image. I would like to get the Azure Spring Boot Starters supported in my efforts too.

@JonathanGiles
Copy link
Member

@benbp That version is the latest and what we are using for our development - so that is perfect for the ubuntu image. If we could get the same in Windows and MacOS, we're golden.

@joshfree joshfree added this to the [2021] November milestone Jul 7, 2021
@joshfree joshfree added EngSys This issue is impacting the engineering system. common common module used by all azure SDKs (e.g. client, Mgmt) and removed Client This issue points to a problem in the data-plane of the library. Azure.Core azure-core labels Jul 7, 2021
@joshfree
Copy link
Member

joshfree commented Jul 7, 2021

Updating issue for tracking the EngSys part of GraalVM support with a target of ~November for having a pipeline we can run

@srnagar
Copy link
Member

srnagar commented Jul 7, 2021

Related issue - #21735

@benbp
Copy link
Member

benbp commented Jul 8, 2021

I talked with @conniey and @joshfree yesterday, summary:

Once I get some more info from the team on GraalVM environment setup, I'll plug the pieces in to a new pipeline definition (similar to how cosmos tests are forked off archetype-sdk-client). The thinking is the core JVM vs. GraalVM setup might be tedious to unwind from the main template, so while this is still in the experimentation phase, there's no need to generalize the pipeline.

After the new pipeline is set up with preliminary values changed, I'll hand it off back to the java team to iterate on getting it fully working. The target right now is just ubuntu20 support since that's the only agent image with GraalVM pre-installed so far.

We may or may not want to investigate artifact caching depending on how slow the dev loop is due to GraalVM pre-compile times.

@srnagar
Copy link
Member

srnagar commented Mar 17, 2022

We had a sync up with Patrick on the requirements for running GraalVM builds and tests.

@hallipr could you please update this with your findings on whether we can use 1ES pool with a custom image to run GraalVM pipelines?

@alzimmermsft
Copy link
Member Author

Closing as this is tracked by #21735

@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
common common module used by all azure SDKs (e.g. client, Mgmt) EngSys This issue is impacting the engineering system.
Projects
Status: Done
Development

No branches or pull requests

8 participants