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

Attempt to fix flaky storage test #4957

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

maneesht
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 27, 2023

📝 PRs merging into main branch

Our main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released.

@google-oss-bot
Copy link
Contributor

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 27, 2023

Coverage Report 1

Affected Products

  • firebase-storage

    Overall coverage changed from 86.24% (38e6829) to 74.63% (ce7eccd) by -11.61%.

    12 individual files with coverage change

    FilenameBase (38e6829)Merge (ce7eccd)Diff
    ActivityLifecycleListener.java74.14%17.24%-56.90%
    ExponentialBackoffSender.java86.00%58.00%-28.00%
    NetworkRequest.java87.11%78.87%-8.25%
    ResumableUploadByteRequest.java90.91%86.36%-4.55%
    ResumableUploadCancelRequest.java100.00%0.00%-100.00%
    SmartHandler.java92.31%76.92%-15.38%
    StorageException.java69.09%63.16%-5.93%
    StorageReference.java89.94%73.37%-16.57%
    StorageTask.java83.99%63.14%-20.85%
    StorageTaskManager.java100.00%72.97%-27.03%
    TaskListenerImpl.java100.00%88.10%-11.90%
    UploadTask.java83.50%57.57%-25.93%

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/0ECavQlIdz.html

@github-actions
Copy link
Contributor

github-actions bot commented Apr 27, 2023

Unit Test Results

  36 files  +  24    36 suites  +24   1m 14s ⏱️ -5s
108 tests +  61  107 ✔️ +  61  0 💤  - 1  1 +1 
216 runs  +122  215 ✔️ +123  0 💤  - 2  1 +1 

For more details on these failures, see this check.

Results for commit c0d8b21. ± Comparison against base commit 38e6829.

This pull request removes 47 and adds 108 tests. Note that renamed tests count towards both.
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayTest ‑ dismissClickListener_dismissesFiam
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayTest ‑ dismissTimer_onComplete_dismissesFiam
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayTest ‑ fiamClickListener_whenActionUrlProvided_andBrowserAvailable_opensBrowserIntent
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayTest ‑ fiamClickListener_whenActionUrlProvided_andChromeAvailable_opensCustomTab
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayTest ‑ fiamUIListener_whenFiamClicked_receivesOnFiamClick
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayTest ‑ firebaseInAppMessagingUIListener_whenFiamRendered_receivesOnFiamTrigger
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayTest ‑ impressionTimer_onComplete_firesImpressionLogAction
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayTest ‑ inflate_setsActionListenerToDismissFiamOnClick
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayTest ‑ onActivitPaused_clearsListeners
com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplayTest ‑ onActivityNewActivityStarted_displaysFiamInNewActivity
…
com.google.firebase.appcheck.debug.testing.DebugAppCheckTestHelperTest ‑ testDebugAppCheckTestHelper_withDebugProviderDefaultApp_installsDebugProvider
com.google.firebase.appcheck.debug.testing.DebugAppCheckTestHelperTest ‑ testDebugAppCheckTestHelper_withDebugProviderNamedApp_installsDebugProvider
com.google.firebase.appcheck.debug.testing.DebugAppCheckTestHelperTest ‑ testDebugAppCheckTestHelper_withDebugProvider_noPreviousProvider_installsDebugProvider
com.google.firebase.appcheck.debug.testing.FirebaseAppCheckDebugTestingRegistrarTest ‑ testGetComponents
com.google.firebase.storage.AdaptiveStreamBufferTest ‑ advanceCachedBytes
com.google.firebase.storage.AdaptiveStreamBufferTest ‑ advanceStreamBytes
com.google.firebase.storage.AdaptiveStreamBufferTest ‑ bufferReachedEnd
com.google.firebase.storage.AdaptiveStreamBufferTest ‑ bufferResize
com.google.firebase.storage.AdaptiveStreamBufferTest ‑ readStream
com.google.firebase.storage.DeleteTest ‑ deleteBlob
…

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 27, 2023

Size Report 1

Affected Products

  • firebase-storage

    TypeBase (38e6829)Merge (ce7eccd)Diff
    aar115 kB115 kB+180 B (+0.2%)
    apk (release)1.59 MB1.59 MB-92 B (-0.0%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/dz1L4JfVBa.html

@google-oss-bot
Copy link
Contributor

Startup Time Report 1

Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS.

Notes

Startup Times

  • fire-app-check

    DeviceStatisticsDistributions
    oriole-32
    Percentile38e6829ce7eccdDiffSignificant (?)
    p10500 ±517 μs665 ±961 μs+165 μs (+33.0%)NO
    p25523 ±535 μs690 ±990 μs+167 μs (+31.9%)NO
    p50577 ±566 μs752 ±1042 μs+175 μs (+30.3%)NO
    p75655 ±601 μs882 ±1205 μs+228 μs (+34.8%)NO
    p90784 ±709 μs1.09 ±1 ms+307 μs (+39.1%)NO

    20 test runs in comparison
    CommitTest Runs
    38e6829
    • 2023-04-27_22:02:51.104901_scdB
    • 2023-04-27_22:02:51.109816_njlD
    • 2023-04-27_22:02:51.109831_baRx
    • 2023-04-27_22:02:51.109838_MptS
    • 2023-04-27_22:02:51.109843_Rcdp
    • 2023-04-27_22:02:51.109849_cGlt
    • 2023-04-27_22:02:51.109855_BFYI
    • 2023-04-27_22:02:51.109862_ShUj
    • 2023-04-27_22:02:51.109867_ZkfX
    • 2023-04-27_22:02:51.109873_QIoN
    ce7eccd
    • 2023-04-27_23:31:55.816204_OqqG
    • 2023-04-27_23:31:55.819068_suFJ
    • 2023-04-27_23:31:55.819085_aJaV
    • 2023-04-27_23:31:55.819091_cweY
    • 2023-04-27_23:31:55.819097_QcPg
    • 2023-04-27_23:31:55.819103_hFbD
    • 2023-04-27_23:31:55.819109_TLqJ
    • 2023-04-27_23:31:55.819114_WgGd
    • 2023-04-27_23:31:55.819119_tAFk
    • 2023-04-27_23:31:55.819126_aAxz
    redfin-30
    Percentile38e6829ce7eccdDiffSignificant (?)
    p101.77 ±2 ms426 ±136 μs-1.35 ms (-76.0%)NO
    p251.91 ±2 ms464 ±175 μs-1.45 ms (-75.7%)NO
    p502.14 ±3 ms569 ±292 μs-1.57 ms (-73.4%)NO
    p752.44 ±3 ms775 ±508 μs-1.67 ms (-68.3%)NO
    p902.98 ±3 ms1.24 ±1 ms-1.73 ms (-58.2%)NO

    20 test runs in comparison
    CommitTest Runs
    38e6829
    • 2023-04-27_22:02:51.104901_scdB
    • 2023-04-27_22:02:51.109816_njlD
    • 2023-04-27_22:02:51.109831_baRx
    • 2023-04-27_22:02:51.109838_MptS
    • 2023-04-27_22:02:51.109843_Rcdp
    • 2023-04-27_22:02:51.109849_cGlt
    • 2023-04-27_22:02:51.109855_BFYI
    • 2023-04-27_22:02:51.109862_ShUj
    • 2023-04-27_22:02:51.109867_ZkfX
    • 2023-04-27_22:02:51.109873_QIoN
    ce7eccd
    • 2023-04-27_23:31:55.816204_OqqG
    • 2023-04-27_23:31:55.819068_suFJ
    • 2023-04-27_23:31:55.819085_aJaV
    • 2023-04-27_23:31:55.819091_cweY
    • 2023-04-27_23:31:55.819097_QcPg
    • 2023-04-27_23:31:55.819103_hFbD
    • 2023-04-27_23:31:55.819109_TLqJ
    • 2023-04-27_23:31:55.819114_WgGd
    • 2023-04-27_23:31:55.819119_tAFk
    • 2023-04-27_23:31:55.819126_aAxz
  • fire-gcs

    DeviceStatisticsDistributions
    oriole-32
    Percentile38e6829ce7eccdDiffSignificant (?)
    p1037.3 ±6 μs39.2 ±3 μs+1.92 μs (+5.2%)NO
    p2539.8 ±7 μs41.4 ±4 μs+1.61 μs (+4.1%)NO
    p5044.2 ±9 μs45.0 ±5 μs+834 ns (+1.9%)NO
    p7555.6 ±12 μs52.8 ±9 μs-2.81 μs (-5.1%)NO
    p9068.4 ±23 μs62.7 ±14 μs-5.64 μs (-8.2%)NO

    20 test runs in comparison
    CommitTest Runs
    38e6829
    • 2023-04-27_22:02:51.104901_scdB
    • 2023-04-27_22:02:51.109816_njlD
    • 2023-04-27_22:02:51.109831_baRx
    • 2023-04-27_22:02:51.109838_MptS
    • 2023-04-27_22:02:51.109843_Rcdp
    • 2023-04-27_22:02:51.109849_cGlt
    • 2023-04-27_22:02:51.109855_BFYI
    • 2023-04-27_22:02:51.109862_ShUj
    • 2023-04-27_22:02:51.109867_ZkfX
    • 2023-04-27_22:02:51.109873_QIoN
    ce7eccd
    • 2023-04-27_23:31:55.816204_OqqG
    • 2023-04-27_23:31:55.819068_suFJ
    • 2023-04-27_23:31:55.819085_aJaV
    • 2023-04-27_23:31:55.819091_cweY
    • 2023-04-27_23:31:55.819097_QcPg
    • 2023-04-27_23:31:55.819103_hFbD
    • 2023-04-27_23:31:55.819109_TLqJ
    • 2023-04-27_23:31:55.819114_WgGd
    • 2023-04-27_23:31:55.819119_tAFk
    • 2023-04-27_23:31:55.819126_aAxz
    redfin-30
    Percentile38e6829ce7eccdDiffSignificant (?)
    p1090.4 ±11 μs83.5 ±12 μs-6.93 μs (-7.7%)NO
    p2595.1 ±11 μs87.0 ±13 μs-8.08 μs (-8.5%)NO
    p50101 ±11 μs92.9 ±13 μs-8.14 μs (-8.1%)NO
    p75109 ±13 μs103 ±16 μs-5.63 μs (-5.2%)NO
    p90123 ±20 μs122 ±23 μs-448 ns (-0.4%)NO

    20 test runs in comparison
    CommitTest Runs
    38e6829
    • 2023-04-27_22:02:51.104901_scdB
    • 2023-04-27_22:02:51.109816_njlD
    • 2023-04-27_22:02:51.109831_baRx
    • 2023-04-27_22:02:51.109838_MptS
    • 2023-04-27_22:02:51.109843_Rcdp
    • 2023-04-27_22:02:51.109849_cGlt
    • 2023-04-27_22:02:51.109855_BFYI
    • 2023-04-27_22:02:51.109862_ShUj
    • 2023-04-27_22:02:51.109867_ZkfX
    • 2023-04-27_22:02:51.109873_QIoN
    ce7eccd
    • 2023-04-27_23:31:55.816204_OqqG
    • 2023-04-27_23:31:55.819068_suFJ
    • 2023-04-27_23:31:55.819085_aJaV
    • 2023-04-27_23:31:55.819091_cweY
    • 2023-04-27_23:31:55.819097_QcPg
    • 2023-04-27_23:31:55.819103_hFbD
    • 2023-04-27_23:31:55.819109_TLqJ
    • 2023-04-27_23:31:55.819114_WgGd
    • 2023-04-27_23:31:55.819119_tAFk
    • 2023-04-27_23:31:55.819126_aAxz
  • timeToInitialDisplay

    DeviceStatisticsDistributions
    oriole-32
    Percentile38e6829ce7eccdDiffSignificant (?)
    p10193 ±7 ms196 ±3 ms+3.01 ms (+1.6%)NO
    p25199 ±7 ms202 ±3 ms+3.43 ms (+1.7%)NO
    p50206 ±6 ms210 ±4 ms+4.11 ms (+2.0%)NO
    p75213 ±7 ms218 ±6 ms+4.98 ms (+2.3%)NO
    p90222 ±8 ms231 ±8 ms+8.74 ms (+3.9%)NO

    20 test runs in comparison
    CommitTest Runs
    38e6829
    • 2023-04-27_22:02:51.104901_scdB
    • 2023-04-27_22:02:51.109816_njlD
    • 2023-04-27_22:02:51.109831_baRx
    • 2023-04-27_22:02:51.109838_MptS
    • 2023-04-27_22:02:51.109843_Rcdp
    • 2023-04-27_22:02:51.109849_cGlt
    • 2023-04-27_22:02:51.109855_BFYI
    • 2023-04-27_22:02:51.109862_ShUj
    • 2023-04-27_22:02:51.109867_ZkfX
    • 2023-04-27_22:02:51.109873_QIoN
    ce7eccd
    • 2023-04-27_23:31:55.816204_OqqG
    • 2023-04-27_23:31:55.819068_suFJ
    • 2023-04-27_23:31:55.819085_aJaV
    • 2023-04-27_23:31:55.819091_cweY
    • 2023-04-27_23:31:55.819097_QcPg
    • 2023-04-27_23:31:55.819103_hFbD
    • 2023-04-27_23:31:55.819109_TLqJ
    • 2023-04-27_23:31:55.819114_WgGd
    • 2023-04-27_23:31:55.819119_tAFk
    • 2023-04-27_23:31:55.819126_aAxz
    redfin-30
    Percentile38e6829ce7eccdDiffSignificant (?)
    p10234 ±4 ms255 ±7 ms+21.7 ms (+9.3%)MAYBE
    p25239 ±3 ms261 ±7 ms+22.5 ms (+9.4%)MAYBE
    p50246 ±4 ms269 ±7 ms+22.6 ms (+9.2%)MAYBE
    p75254 ±4 ms278 ±8 ms+24.1 ms (+9.5%)MAYBE
    p90263 ±6 ms289 ±9 ms+26.3 ms (+10.0%)MAYBE

    20 test runs in comparison
    CommitTest Runs
    38e6829
    • 2023-04-27_22:02:51.104901_scdB
    • 2023-04-27_22:02:51.109816_njlD
    • 2023-04-27_22:02:51.109831_baRx
    • 2023-04-27_22:02:51.109838_MptS
    • 2023-04-27_22:02:51.109843_Rcdp
    • 2023-04-27_22:02:51.109849_cGlt
    • 2023-04-27_22:02:51.109855_BFYI
    • 2023-04-27_22:02:51.109862_ShUj
    • 2023-04-27_22:02:51.109867_ZkfX
    • 2023-04-27_22:02:51.109873_QIoN
    ce7eccd
    • 2023-04-27_23:31:55.816204_OqqG
    • 2023-04-27_23:31:55.819068_suFJ
    • 2023-04-27_23:31:55.819085_aJaV
    • 2023-04-27_23:31:55.819091_cweY
    • 2023-04-27_23:31:55.819097_QcPg
    • 2023-04-27_23:31:55.819103_hFbD
    • 2023-04-27_23:31:55.819109_TLqJ
    • 2023-04-27_23:31:55.819114_WgGd
    • 2023-04-27_23:31:55.819119_tAFk
    • 2023-04-27_23:31:55.819126_aAxz

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/FK7lY6kSa7/index.html

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

Successfully merging this pull request may close these issues.

2 participants