ankidroid / ankidroid/Anki-Android

flaky screenshot test: Extracted file was not found... `/tmp/librsdroid-[hash]`

Đang mở
#21,769 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
CI
Ngôn ngữ chính
Kotlin
Star
11.8k
Fork
2.9k
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
171

Mô tả

```
AllPermissionsExplanationScreenshotTest > allPermissionsExplanationLandscape[LIGHT,PHONE] FAILED
java.lang.RuntimeException: java.io.FileNotFoundException: Extracted file was not found. Maybe the temp folder was deleted. Please try again: '/tmp/librsdroid-1b12c976a559e3fe6e9bd6216fba67267bf62cdd.so'
at net.ankiweb.rsdroid.testing.RustBackendLoader.loadPath(RustBackendLoader.kt:106)
at net.ankiweb.rsdroid.testing.RustBackendLoader.load(RustBackendLoader.kt:87)
at net.ankiweb.rsdroid.testing.RustBackendLoader.ensureSetup(RustBackendLoader.kt:59)
at com.ichi2.anki.RobolectricTest.maybeSetupBackend(RobolectricTest.kt:446)
at com.ichi2.anki.RobolectricTest.setUp(RobolectricTest.kt:156)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.robolectric.internal.TimeLimitedStatement.evaluate(TimeLimitedStatement.java:38)
at com.ichi2.testutils.common.FailOnUnhandledExceptionRule$apply$1.evaluate(FailOnUnhandledExceptionRule.kt:47)
at com.google.testing.junit.testparameterinjector.PluggableTestRunner$ContextMethodRule$1.evaluate(PluggableTestRunner.java:429)
at org.robolectric.internal.SandboxTestRunner.executeInSandbox(SandboxTestRunner.java:494)
at org.robolectric.internal.SandboxTestRunner.access$900(SandboxTestRunner.java:67)
at org.robolectric.internal.SandboxTestRunner$7.evaluate(SandboxTestRunner.java:442)
at org.robolectric.internal.SandboxTestRunner.access$600(SandboxTestRunner.java:67)
at org.robolectric.internal.SandboxTestRunner$6.evaluate(SandboxTestRunner.java:333)
at org.robolectric.internal.SandboxTestRunner$3.evaluate(SandboxTestRunner.java:233)
at org.robolectric.internal.SandboxTestRunner$5.lambda$evaluate$0(SandboxTestRunner.java:317)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:101)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)

Caused by:
java.io.FileNotFoundException: Extracted file was not found. Maybe the temp folder was deleted. Please try again: '/tmp/librsdroid-1b12c976a559e3fe6e9bd6216fba67267bf62cdd.so'
at net.ankiweb.rsdroid.testing.RustBackendLoader.loadPath(RustBackendLoader.kt:105)
... 20 more
```

https://github.com/ankidroid/Anki-Android/actions/runs/34057291120/attempts/1?pr=21768

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.