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

2 Unit tests failing - org.signal.core.util.concurrent.LatestPrioritizedSerialExecutorTest > execute_replacesDupes FAILED and org.signal.core.util.concurrent.LatestPrioritizedSerialExecutorTest > execute_sortsInPriorityOrder FAILED #13807

Open
3 tasks done
andyundercurrent opened this issue Nov 21, 2024 · 0 comments

Comments

@andyundercurrent
Copy link

Guidelines

  • I have searched searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • This isn't a feature request or a discussion topic

Bug description

I cloned the repo on macos and I get some unit test failures when trying to build.

org.signal.core.util.concurrent.LatestPrioritizedSerialExecutorTest > execute_replacesDupes FAILED
    org.mockito.exceptions.base.MockitoException at LatestPrioritizedSerialExecutorTest.java:47
        Caused by: org.mockito.exceptions.base.MockitoException at LatestPrioritizedSerialExecutorTest.java:47
            Caused by: java.lang.IllegalStateException at LatestPrioritizedSerialExecutorTest.java:47
                Caused by: java.lang.IllegalArgumentException at LatestPrioritizedSerialExecutorTest.java:47

org.signal.core.util.concurrent.LatestPrioritizedSerialExecutorTest > execute_sortsInPriorityOrder FAILED
    org.mockito.exceptions.base.MockitoException at LatestPrioritizedSerialExecutorTest.java:20
        Caused by: org.mockito.exceptions.base.MockitoException at LatestPrioritizedSerialExecutorTest.java:20
            Caused by: java.lang.IllegalStateException at LatestPrioritizedSerialExecutorTest.java:20
                Caused by: java.lang.IllegalArgumentException at LatestPrioritizedSerialExecutorTest.java:20

175 tests completed, 2 failed, 2 skipped
 ./gradlew build
> Task :core-util-jvm:compileTestKotlin
w: file:///Users/andrewtriboletti/undercurrent/Signal-Android/core-util-jvm/src/test/java/org/signal/core/util/ResettableLazyTests.kt:78:15 Variable 'x' is never used

> Task :core-util:compileDebugUnitTestJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :core-util:testDebugUnitTest

org.signal.core.util.concurrent.LatestPrioritizedSerialExecutorTest > execute_replacesDupes FAILED
    org.mockito.exceptions.base.MockitoException at LatestPrioritizedSerialExecutorTest.java:47
        Caused by: org.mockito.exceptions.base.MockitoException at LatestPrioritizedSerialExecutorTest.java:47
            Caused by: java.lang.IllegalStateException at LatestPrioritizedSerialExecutorTest.java:47
                Caused by: java.lang.IllegalArgumentException at LatestPrioritizedSerialExecutorTest.java:47

org.signal.core.util.concurrent.LatestPrioritizedSerialExecutorTest > execute_sortsInPriorityOrder FAILED
    org.mockito.exceptions.base.MockitoException at LatestPrioritizedSerialExecutorTest.java:20
        Caused by: org.mockito.exceptions.base.MockitoException at LatestPrioritizedSerialExecutorTest.java:20
            Caused by: java.lang.IllegalStateException at LatestPrioritizedSerialExecutorTest.java:20
                Caused by: java.lang.IllegalArgumentException at LatestPrioritizedSerialExecutorTest.java:20

175 tests completed, 2 failed, 2 skipped

> Task :core-util:testDebugUnitTest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core-util:testDebugUnitTest'.
> There were failing tests. See the report at: file:///Users/andrewtriboletti/undercurrent/Signal-Android/core-util/build/reports/tests/testDebugUnitTest/index.html

* Try:
> Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 10m 15s
494 actionable tasks: 494 executed
(base) andrewtriboletti@Andrews-MacBook-Pro Signal-Android %

Screenshots

No response

Device

No response

Android version

No response

Signal version

No response

Link to debug log

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant