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

Run test/Table_Tests in native image mode #12006

Open
JaroslavTulach opened this issue Jan 7, 2025 · 6 comments
Open

Run test/Table_Tests in native image mode #12006

JaroslavTulach opened this issue Jan 7, 2025 · 6 comments
Assignees
Labels
-compiler -libs Libraries: New libraries to be implemented

Comments

@JaroslavTulach
Copy link
Member

JaroslavTulach commented Jan 7, 2025

Now when support for shared libraries for Standard.Image is in

we can work on running test/Table_Tests in native image mode.

One suggested change:

diff --git build.sbt build.sbt
index e13b2b32d9..4466fd02b0 100644
--- build.sbt
+++ build.sbt
@@ -3626,6 +3626,7 @@ lazy val `engine-runner` = project
       val stdLibsJars =
         `base-polyglot-root`.listFiles("*.jar").map(_.getAbsolutePath()) ++
         `image-polyglot-root`.listFiles("*.jar").map(_.getAbsolutePath()) ++
+        `database-polyglot-root`.listFiles("*.jar").map(_.getAbsolutePath()) ++
         `table-polyglot-root`.listFiles("*.jar").map(_.getAbsolutePath())
       core ++ stdLibsJars
     },
@JaroslavTulach JaroslavTulach converted this from a draft issue Jan 7, 2025
@JaroslavTulach JaroslavTulach added -compiler -libs Libraries: New libraries to be implemented labels Jan 7, 2025
@JaroslavTulach JaroslavTulach moved this from ❓New to 📤 Backlog in Issues Board Jan 7, 2025
@hubertp hubertp moved this from 📤 Backlog to 🔧 Implementation in Issues Board Jan 9, 2025
@hubertp hubertp moved this from 🔧 Implementation to 📤 Backlog in Issues Board Jan 9, 2025
@hubertp hubertp moved this from 📤 Backlog to 🔧 Implementation in Issues Board Jan 15, 2025
@enso-bot
Copy link

enso-bot bot commented Jan 17, 2025

Hubert Plociniczak reports a new STANDUP for the provided date (2025-01-15):

Progress: Switched to building NI for Table_Tests. Dealing with classpath issues when std-database and dependencies are being included. Attempting to debug generated NI. It should be finished by 2025-01-21.

Next Day: Next day I will be working on the #12006 task. Continue investigating classpath issue.

@enso-bot
Copy link

enso-bot bot commented Jan 19, 2025

Hubert Plociniczak reports a new STANDUP for the provided date (2025-01-16):

Progress: Identified sqlite-jdbc dependency as the main culprit of NI failures. Working on a workaround. It should be finished by 2025-01-21.

Next Day: Next day I will be working on the #12006 task. Continue investigating NI integration.

@enso-bot
Copy link

enso-bot bot commented Jan 20, 2025

Hubert Plociniczak reports a new STANDUP for the provided date (2025-01-17):

Progress: Resolved main blocker in std-database dependencies via custom NI args. Continuing with updating reflection config to pass all tests. It should be finished by 2025-01-21.

Next Day: Next day I will be working on the #12006 task. Continue investigating NI integration.

@hubertp
Copy link
Collaborator

hubertp commented Jan 22, 2025

Reached a point where most resource/reflection issues have been resolved, but now segfaulting when running Table_Tests:

Fatal error reported via JNI: Could not allocate library name

Printing instructions (ip=0x0000584647fbf10e):
  0x0000584647fbf00e: 0x00 0x90 0x48 0x8b 0x7c 0x24 0x10 0xe9 0x3a 0xff 0xff 0xff 0x48 0x89 0x6c 0x24
  0x0000584647fbf01e: 0x38 0x48 0x89 0x54 0x24 0x18 0x48 0x89 0x4c 0x24 0x20 0x4c 0x89 0x6c 0x24 0x28
  0x0000584647fbf02e: 0x4c 0x89 0x64 0x24 0x30 0x48 0x89 0x5c 0x24 0x40 0x48 0x89 0x7c 0x24 0x10 0xeb
...

@enso-bot
Copy link

enso-bot bot commented Jan 22, 2025

Hubert Plociniczak reports a new STANDUP for the provided date (2025-01-20):

Progress: Continued updating resources configs to reduce the amount of failures. Slow but steady. It should be finished by 2025-01-21.

Next Day: Next day I will be working on the #12006 task. Continue investigating NI integration.

@enso-bot
Copy link

enso-bot bot commented Jan 22, 2025

Hubert Plociniczak reports a new STANDUP for yesterday (2025-01-21):

Progress: Got stuck on cryptic segmentation failures when running NI. Setting up plan for hybrid execution of Language Server. It should be finished by 2025-01-21.

Next Day: Next day I will be working on the #12006 task. Continue investigating NI integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-compiler -libs Libraries: New libraries to be implemented
Projects
Status: 🔧 Implementation
Development

No branches or pull requests

2 participants