Skip to content

experimental_ad_unit_widget_test.dart failures blocking Flutter into packages roll #165347

Closed

Description

@camsim99

I'm seeing consistent failures of https://github.com/flutter/packages/blob/main/packages/google_adsense/example/integration_test/experimental_ad_unit_widget_test.dart in the Flutter into packages roller:

Failure Details:
Failure in method: Responsive (with adFormat) ad units reflow flutter
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following TestFailure was thrown running a test:
Expected: <137.0>
  Actual: <1.0>

When the exception was thrown, this was the stack:
at module0.Error._throwWithCurrentStackTrace (http://localhost:7357/main.dart.wasm:wasm-function[792]:0xf433c)
    at module0.fail (http://localhost:7357/main.dart.wasm:wasm-function[14984]:0x1eaa52)
    at module0._expect (http://localhost:7357/main.dart.wasm:wasm-function[14974]:0x1ea8d6)
    at module0.expect (http://localhost:7357/main.dart.wasm:wasm-function[14973]:0x1ea7da)
    at module0.expect (http://localhost:7357/main.dart.wasm:wasm-function[14928]:0x1e9c7c)
    at module0.main closure at file:///b/s/w/ir/x/w/packages/packages/google_adsense/example/integration_test/experimental_ad_unit_widget_test.dart:37:9 inner (http://localhost:7357/main.dart.wasm:wasm-function[28265]:0x30af9f)
    at module0._awaitHelper closure at org-dartlang-sdk:///dart-sdk/lib/_internal/wasm/lib/async_patch.dart:95:5 (http://localhost:7357/main.dart.wasm:wasm-function[1715]:0x1027b0)
    at module0.closure wrapper at org-dartlang-sdk:///dart-sdk/lib/_internal/wasm/lib/async_patch.dart:95:5 trampoline (http://localhost:7357/main.dart.wasm:wasm-function[1720]:0x10284a)

The test description was:
  Responsive (with adFormat) ad units reflow flutter
═════════════════════════════════════════════════════════════════

Latest roll attempt: https://github.com/flutter/packages/pull/8886. Example failing build: https://ci.chromium.org/ui/p/flutter/builders/try/Linux_web%20web_platform_tests_wasm_shard_1%20master/722/overview.

Did some testing and notice it fails more consistently after #164748 than before.

Activity

  1. added
    in triagePresently being triaged by the triage team
    a: tests"flutter test", flutter_test, or one of our tests
    platform-webWeb applications specifically
    fyi-ecosystemFor the attention of Ecosystem team
    team-webOwned by Web platform team
    and removed
    in triagePresently being triaged by the triage team
    on Mar 18, 2025
  2. stuartmorgan-g commented on Mar 18, 2025

    @stuartmorgan-g
    Contributor

    Looks like there was a revert. /cc @ditman (current gardener) to validate whether this is resolved in the roller.

  3. eyebrowsoffire commented on Mar 18, 2025

    @eyebrowsoffire
    Contributor

    If we do determine that the revert fixed it, let's please leave this open for me to investigate this issue before relanding the skwasm dynamic threading stuff.

  4. added
    P1High-priority issues at the top of the work list
    triaged-webTriaged by Web platform team
    on Mar 26, 2025
  5. yjbanov commented on Apr 2, 2025

    @yjbanov
    Contributor

    The culprit was reverted, and the reland is landing with a fix. Closing.

  6. added
    r: fixedIssue is closed as already fixed in a newer version
    on Apr 3, 2025
  7. github-actions commented on Apr 17, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P1High-priority issues at the top of the work lista: tests"flutter test", flutter_test, or one of our testsp: google_adsenseAdSense ads for Flutter webplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions