sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

nextjs-14 (latest) Test Failed

Open github-actions[bot] opened this issue 1 year ago • 3 comments

Canary tests failed: https://github.com/getsentry/sentry-javascript/actions/runs/9239191102

github-actions[bot] avatar May 24 '24 00:05 github-actions[bot]

> [email protected] test:dev /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/e2e-tests/test-applications/nextjs-14
> TEST_ENV=development playwright test


Running 11 tests using 4 workers

[WebServer]  ⨯ app/generation-functions/page.tsx (19:11) @ Module.generateMetadata$1
[WebServer]  ⨯ Error: generateMetadata Error
    at Module.generateMetadata$1 (./app/generation-functions/page.tsx:38:15)
    at AsyncLocalStorage.run (node:async_hooks:338:14)
    at AsyncLocalStorage.run (node:async_hooks:338:14)
    at AsyncLocalStorage.run (node:async_hooks:338:14)
    at AsyncLocalStorage.run (node:async_hooks:338:14)
    at AsyncLocalStorage.run (node:async_hooks:338:14)
    at AsyncLocalStorage.run (node:async_hooks:338:14)
digest: "3669906938"
  17 |
  18 |   if (searchParams['shouldThrowInGenerateMetadata']) {
> 19 |     throw new Error('generateMetadata Error');
     |           ^
  20 |   }
  21 |
  22 |   return {

@lforst anything we have to take a look at?

AbhiPrasad avatar May 24 '24 10:05 AbhiPrasad

The code logs you pasted are unrelated to the failure. Seems like fetch instrumentation is broken :/

lforst avatar May 24 '24 10:05 lforst

Woops you're right - could we disable this in the meantime then? Otherwise we're going to keep creating new issues for Canary tests.

AbhiPrasad avatar May 24 '24 11:05 AbhiPrasad