Open testvasd opened 5 years ago
Hi,
Espresso tests with coverage stuck after running all the tests. I have to force stop the app manually to finish the task.
Here is what I see:
In logcat: 1-25 10:00:08.938 27943-27969/com.test.debug I/TestRunner: run finished: 278 tests, 71 failed, 0 ignored 01-25 10:00:11.285 27943-27962/com.test.debug I/BranchSDK: returned {} 01-25 10:00:31.830 27943-27969/com.test.debug I/MonitoringInstr: waitForActivitiesToComplete() took: 0ms 01-25 10:00:31.831 1588-2135/system_process W/WindowManager: Attempted to remove non-existing token: android.os.Binder@9cd6d9a 01-25 10:00:31.834 27943-27943/com.test.debugI/MonitoringInstr: Activities that are still in CREATED to STOPPED: 0 01-25 10:00:31.839 27943-27969/com.test.debug E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 4574692) 01-25 10:00:59.559 1225-1286/? D/hwcomposer: hw_composer sent 3308 syncs in 60s 01-25 10:01:59.550 1225-1286/? D/hwcomposer: hw_composer sent 3306 syncs in 60s 01-25 10:02:01.539 1916-32035/com.google.android.gms.persistent E/WakeLock: GCM_HB_ALARM release without a matched acquire! 01-25 10:02:59.555 1225-1286/? D/hwcomposer: hw_composer sent 3309 syncs in 60s 01-25 10:03:59.556 1225-1286/? D/hwcomposer: hw_composer sent 3310 syncs in 60s
In output I am seeing this over and over: 10:02:45.600 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running 10:02:45.601 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 10:02:45.601 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 10:02:45.601 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 10:02:45.602 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 10:02:45.602 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 10:02:45.602 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 10:02:47.109 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 4601053184} 10:02:47.109 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 4601053184} 10:02:47.109 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 5726797824, Committed: 4952948736} 10:02:52.108 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 4597641216} 10:02:52.108 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 4597641216}
Here is my spoon configuration dependencies { // classpath "com.jaredsburrows:gradle-spoon-plugin:1.5.0" }
In app.gradle apply plugin: "com.jaredsburrows.spoon" spoon { debug = true // grantAllPermissions = true if (project.hasProperty('spoonClassName')) { className = project.spoonClassName } if (project.hasProperty('testSize')) { testSize = project.testSize } noAnimations = true codeCoverage = true
clearAppDataBeforeEachTest = true if (project.hasProperty('coverage')) { codeCoverage = true singleInstrumentationCall = true } grantAll = true
}
dependencies { // androidTestImplementation "com.squareup.spoon:spoon-client:2.0.0-SNAPSHOT" }
Can you let me know what is the issue?
Thanks!
Hi,
Espresso tests with coverage stuck after running all the tests. I have to force stop the app manually to finish the task.
Here is what I see:
In logcat: 1-25 10:00:08.938 27943-27969/com.test.debug I/TestRunner: run finished: 278 tests, 71 failed, 0 ignored 01-25 10:00:11.285 27943-27962/com.test.debug I/BranchSDK: returned {} 01-25 10:00:31.830 27943-27969/com.test.debug I/MonitoringInstr: waitForActivitiesToComplete() took: 0ms 01-25 10:00:31.831 1588-2135/system_process W/WindowManager: Attempted to remove non-existing token: android.os.Binder@9cd6d9a 01-25 10:00:31.834 27943-27943/com.test.debugI/MonitoringInstr: Activities that are still in CREATED to STOPPED: 0 01-25 10:00:31.839 27943-27969/com.test.debug E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 4574692) 01-25 10:00:59.559 1225-1286/? D/hwcomposer: hw_composer sent 3308 syncs in 60s 01-25 10:01:59.550 1225-1286/? D/hwcomposer: hw_composer sent 3306 syncs in 60s 01-25 10:02:01.539 1916-32035/com.google.android.gms.persistent E/WakeLock: GCM_HB_ALARM release without a matched acquire! 01-25 10:02:59.555 1225-1286/? D/hwcomposer: hw_composer sent 3309 syncs in 60s 01-25 10:03:59.556 1225-1286/? D/hwcomposer: hw_composer sent 3310 syncs in 60s
In output I am seeing this over and over: 10:02:45.600 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running 10:02:45.601 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 10:02:45.601 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 10:02:45.601 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 10:02:45.602 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 10:02:45.602 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 10:02:45.602 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 10:02:47.109 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 4601053184} 10:02:47.109 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 4601053184} 10:02:47.109 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 5726797824, Committed: 4952948736} 10:02:52.108 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17179869184, Free: 4597641216} 10:02:52.108 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 17179869184, Free: 4597641216}
Here is my spoon configuration dependencies { // classpath "com.jaredsburrows:gradle-spoon-plugin:1.5.0" }
In app.gradle apply plugin: "com.jaredsburrows.spoon" spoon { debug = true // grantAllPermissions = true if (project.hasProperty('spoonClassName')) { className = project.spoonClassName } if (project.hasProperty('testSize')) { testSize = project.testSize } noAnimations = true codeCoverage = true
}
dependencies { // androidTestImplementation "com.squareup.spoon:spoon-client:2.0.0-SNAPSHOT" }
Can you let me know what is the issue?
Thanks!