android-components icon indicating copy to clipboard operation
android-components copied to clipboard

Intermittent test failure service-glean - Execution failed for task ':service-glean:testReleaseUnitTest'. > Process 'Gradle Test Executor 1' finished with non-zero exit value 134

Open Archaeopteryx opened this issue 3 years ago • 0 comments

Firebase Test Run:

https://treeherder.mozilla.org/logviewer?job_id=362440108&repo=android-components

Stacktrace:

SUITE: mozilla.components.service.glean.GleanTest
  TEST: Glean correctly initializes and records a metric
    [Robolectric] mozilla.components.service.glean.GleanTest.Glean correctly initializes and records a metric: sdk=28; resources=binary
    I/MonitoringInstr: Instrumentation started!
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 1
    I/glean/MetricsPingSched: The application just updated. Send metrics ping now.
    I/glean/MetricsPingSched: Collecting the 'metrics' ping, now = 1640576396999, startup = true, reason = upgrade
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 1
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 1
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 0
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 0
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 0
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 0
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 0
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 0
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 1
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 1
    I/CursorWindowStats: Created a new Cursor. # Open Cursors=1 (# cursors opened by this proc=1)
    D/SQLiteCursor: received count(*) from native_fill_window: 0
thread '<unnamed>' panicked at 'No database found', glean-core/src/lib.rs:563:34
    D/glean/MetricsPingSched: Scheduling the 'metrics' ping in 87603001ms
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
  SKIPPED


> Task :service-glean:testReleaseUnitTest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':service-glean:testReleaseUnitTest'.
> Process 'Gradle Test Executor 1' finished with non-zero exit value 134
  This problem might be caused by incorrect test process configuration.
  Please refer to the test execution section in the User Manual at https://docs.gradle.org/7.0.2/userguide/java_testing.html#sec:test_execution

Build: https://github.com/mozilla-mobile/android-components/commit/3ddd36a8ade5ff44fcd505e9155c21b9176c6809

┆Issue is synchronized with this Jira Task

Archaeopteryx avatar Dec 27 '21 09:12 Archaeopteryx