Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

DeviceConsistencyTest > testDeviceConsistency FAILED #65

Open
blackgnezdo opened this issue Jan 12, 2020 · 0 comments
Open

DeviceConsistencyTest > testDeviceConsistency FAILED #65

blackgnezdo opened this issue Jan 12, 2020 · 0 comments

Comments

@blackgnezdo
Copy link

I attempted to gradle build --info and hit the following error. It is not surprise considering the code in question is not implemented. My question is if this test is expected to be failing and should be annotated as such.

Starting process 'Gradle Test Executor 18'. Working directory: ~/libsignal-protocol-java/java Command: /usr/local/jdk-1.8.0/bin/java -Djava.security.manager=worker.org.gradle.process.internal.worker.child.BootstrapSecurityManager -Dorg.gradle.native=false -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -ea -cp ~/.gradle/caches/5.6.2/workerMain/gradle-worker.jar worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 18'
Successfully started process 'Gradle Test Executor 18'

org.whispersystems.libsignal.devices.DeviceConsistencyTest > testDeviceConsistency FAILED
    java.lang.AssertionError: NYI
        at org.whispersystems.curve25519.BaseJavaCurve25519Provider.calculateVrfSignature(BaseJavaCurve25519Provider.java:77)
        at org.whispersystems.curve25519.JavaCurve25519Provider.calculateVrfSignature(JavaCurve25519Provider.java:13)
        at org.whispersystems.curve25519.OpportunisticCurve25519Provider.calculateVrfSignature(OpportunisticCurve25519Provider.java:68)
        at org.whispersystems.curve25519.Curve25519.calculateVrfSignature(Curve25519.java:133)
        at org.whispersystems.libsignal.ecc.Curve.calculateVrfSignature(Curve.java:120)
        at org.whispersystems.libsignal.protocol.DeviceConsistencyMessage.<init>(DeviceConsistencyMessage.java:23)
        at org.whispersystems.libsignal.devices.DeviceConsistencyTest.testDeviceConsistency(DeviceConsistencyTest.java:41)

Gradle Test Executor 18 finished executing tests.

I ran this at fde96d2 with minor patches on OpenBSD:

diff --git a/java/build.gradle b/java/build.gradle
index 99455dd..9d51ba0 100644
--- a/java/build.gradle
+++ b/java/build.gradle
@@ -41,7 +41,7 @@ dependencies {
 
 protobuf {
     protoc {
-        artifact = 'com.google.protobuf:protoc:3.10.0'
+        path = '/usr/local/bin/protoc'
     }
     generateProtoTasks {
         all().each { task ->
diff --git a/settings.gradle b/settings.gradle
index 7412250..4a565e5 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1 +1 @@
-include ':java', ':android', ':tests'
+include ':java', ':tests'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant