-
Notifications
You must be signed in to change notification settings - Fork 324
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
Could not load the cache metadata at Hello_World.meta
in HelloWorldCacheTest
#11196
Comments
Luckily the test collects logs, inspects them and searches for predefined words. When it fails, it prints the log and we can inspect them. Printing the logs in a correct run can be achieved with: enso.master$ git diff
diff --git engine/runtime-integration-tests/src/test/java/org/enso/interpreter/caches/HelloWorldCacheTest.java engine/runtime-integration-tests/src/test/java/org/enso/interpreter/caches/HelloWorldCacheTest.java
index 77ce983116..efc4be3292 100644
--- engine/runtime-integration-tests/src/test/java/org/enso/interpreter/caches/HelloWorldCacheTest.java
+++ engine/runtime-integration-tests/src/test/java/org/enso/interpreter/caches/HelloWorldCacheTest.java
@@ -39,7 +39,7 @@ public class HelloWorldCacheTest {
containsString("Deserializing module"),
containsString("Hello_World"),
containsString("from IR file: true")));
- }
+ assertTrue("OK:\n" + secondMsgs, false);}
private static String executeOnce(File src) throws Exception {
var backLog = new ByteArrayOutputStream(); let's compare the logs: The only common log is:
then there is a difference. For same reason the CI failure |
Hello_World.meta
in HelloWorldCacheTest
Additional logs to explain why
is the file missing? Is it corrupted? Does it have wrong time stamp? Might explain why the test fails. |
The PR makes simple build.sbt cleanups yet we get an assertion failure in
runtime-integration-tests
:https://github.com/enso-org/enso/actions/runs/11057308790/job/30720802542?pr=11170#step:7:6304
The text was updated successfully, but these errors were encountered: