Skip to content

include stdio in error message#30358

Merged
kodiakhq[bot] merged 3 commits intocanaryfrom
ci/add-stdio-to-error
Oct 27, 2021
Merged

include stdio in error message#30358
kodiakhq[bot] merged 3 commits intocanaryfrom
ci/add-stdio-to-error

Conversation

@sokra
Copy link
Copy Markdown
Member

@sokra sokra commented Oct 26, 2021

Improve CI experience

@ijjk ijjk added the created-by: Next.js team PRs by the Next.js team. label Oct 26, 2021
@ijjk

This comment has been minimized.

@ijjk

This comment has been minimized.

@ijjk
Copy link
Copy Markdown
Member

ijjk commented Oct 26, 2021

Failing test suites

Commit: dc10e9c

test/e2e/prerender.test.ts

  • Prerender > should navigate between pages successfully
  • Prerender > should SSR normal page correctly
  • Prerender > should SSR incremental page correctly
  • Prerender > should SSR blocking path correctly (blocking)
  • Prerender > should SSR blocking path correctly (pre-rendered)
  • Prerender > should have gsp in NEXT_DATA
  • Prerender > should not have gsp in NEXT_DATA for non-GSP page
  • Prerender > should not supply query values to params or useRouter non-dynamic page SSR
  • Prerender > should not supply query values to params in /_next/data request
  • Prerender > should not supply query values to params or useRouter dynamic page SSR
  • Prerender > should return data correctly
  • Prerender > should return data correctly for dynamic page
  • Prerender > should return data correctly for dynamic page (non-seeded)
  • Prerender > should use correct caching headers for a revalidate page
  • Prerender > should navigate to a normal page and back
  • Prerender > should parse query values on mount correctly
  • Prerender > should reload page on failed data request
  • Prerender > should SSR dynamic page with brackets in param as object
  • Prerender > should navigate to dynamic page with brackets in param as object
  • Prerender > should SSR dynamic page with brackets in param as string
  • Prerender > should navigate to dynamic page with brackets in param as string
  • Prerender > should not return data for fallback: false and missing dynamic page
  • Prerender > should server prerendered path correctly for SSG pages that starts with api-docs
  • Prerender > should render correctly for SSG pages that starts with api-docs
  • Prerender > should return data correctly for SSG pages that starts with api-docs
  • Prerender > should SSR catch-all page with brackets in param as string
  • Prerender > should navigate to catch-all page with brackets in param as string
  • Prerender > should SSR catch-all page with brackets in param as object
  • Prerender > should navigate to catch-all page with brackets in param as object
  • Prerender > should support prerendered catchall route
  • Prerender > should support lazy catchall route
  • Prerender > should support nested lazy catchall route
  • Prerender > should support prerendered catchall-explicit route (nested)
  • Prerender > should support prerendered catchall-explicit route (single)
  • Prerender > should handle fallback only page correctly HTML
  • Prerender > should handle fallback only page correctly data
  • Prerender > should 404 for a missing catchall explicit route
  • Prerender > should 404 for an invalid data url
  • Prerender > should allow rewriting to SSG page with fallback: false
  • Prerender > should allow rewriting to SSG page with fallback: 'blocking'
  • Prerender > should fetch /_next/data correctly with mismatched href and as
  • Prerender > should not error when rewriting to fallback dynamic SSG page
  • Prerender > should use correct caching headers for a no-revalidate page
  • Prerender > should not show error for invalid JSON returned from getStaticProps on SSR
  • Prerender > should not show error for invalid JSON returned from getStaticProps on CST
  • Prerender > outputs dataRoutes in routes-manifest correctly
  • Prerender > outputs a prerender-manifest correctly
  • Prerender > outputs prerendered files correctly
  • Prerender > should handle de-duping correctly
  • Prerender > should not revalidate when set to false
  • Prerender > should not revalidate when set to false in blocking fallback mode
  • Prerender > should handle revalidating HTML correctly
  • Prerender > should handle revalidating JSON correctly
  • Prerender > should handle revalidating HTML correctly with blocking
  • Prerender > should handle revalidating JSON correctly with blocking
  • Prerender > should handle revalidating HTML correctly with blocking and seed
  • Prerender > should handle revalidating JSON correctly with blocking and seed
  • Prerender > should not fetch prerender data on mount
  • Prerender > should not error when flushing cache files
  • Prerender > should not have attempted sending invalid payload
  • Prerender > should of formatted build output correctly
  • Prerender > should output traces
Expand output

● Prerender › should navigate between pages successfully

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should SSR normal page correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should SSR incremental page correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should SSR blocking path correctly (blocking)

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should SSR blocking path correctly (pre-rendered)

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should have gsp in NEXT_DATA

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not have gsp in NEXT_DATA for non-GSP page

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not supply query values to params or useRouter non-dynamic page SSR

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not supply query values to params in /_next/data request

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not supply query values to params or useRouter dynamic page SSR

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should return data correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should return data correctly for dynamic page

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should return data correctly for dynamic page (non-seeded)

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should use correct caching headers for a revalidate page

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should navigate to a normal page and back

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should parse query values on mount correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should reload page on failed data request

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should SSR dynamic page with brackets in param as object

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should navigate to dynamic page with brackets in param as object

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should SSR dynamic page with brackets in param as string

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should navigate to dynamic page with brackets in param as string

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not return data for fallback: false and missing dynamic page

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should server prerendered path correctly for SSG pages that starts with api-docs

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should render correctly for SSG pages that starts with api-docs

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should return data correctly for SSG pages that starts with api-docs

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should SSR catch-all page with brackets in param as string

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should navigate to catch-all page with brackets in param as string

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should SSR catch-all page with brackets in param as object

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should navigate to catch-all page with brackets in param as object

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should reload page on failed data request, and retry

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should support prerendered catchall route

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should support lazy catchall route

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should support nested lazy catchall route

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should support prerendered catchall-explicit route (nested)

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should support prerendered catchall-explicit route (single)

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should handle fallback only page correctly HTML

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should handle fallback only page correctly data

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should 404 for a missing catchall explicit route

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should 404 for an invalid data url

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should allow rewriting to SSG page with fallback: false

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should allow rewriting to SSG page with fallback: 'blocking'

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should fetch /_next/data correctly with mismatched href and as

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not error when rewriting to fallback dynamic SSG page

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should use correct caching headers for a no-revalidate page

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not show error for invalid JSON returned from getStaticProps on SSR

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not show error for invalid JSON returned from getStaticProps on CST

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › outputs dataRoutes in routes-manifest correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › outputs a prerender-manifest correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › outputs prerendered files correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should handle de-duping correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not revalidate when set to false

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not revalidate when set to false in blocking fallback mode

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should handle revalidating HTML correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should handle revalidating JSON correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should handle revalidating HTML correctly with blocking

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should handle revalidating JSON correctly with blocking

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should handle revalidating HTML correctly with blocking and seed

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should handle revalidating JSON correctly with blocking and seed

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not fetch prerender data on mount

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not error when flushing cache files

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should not have attempted sending invalid payload

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should of formatted build output correctly

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Prerender › should output traces

thrown: "Exceeded timeout of 90000 ms for a hook.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  19 |   let next: NextInstance
  20 |
> 21 |   beforeAll(async () => {
     |   ^
  22 |     next = await createNext({
  23 |       files: {
  24 |         pages: new FileRef(join(__dirname, 'prerender/pages')),

  at e2e/prerender.test.ts:21:3
  at Object.<anonymous> (e2e/prerender.test.ts:18:1)

● Test suite failed to run

TypeError: Cannot read property 'destroy' of undefined

  48 |     })
  49 |   })
> 50 |   afterAll(() => next.destroy())
     |                       ^
  51 |
  52 |   function isCachingHeader(cacheControl) {
  53 |     return !cacheControl || !/no-store/.test(cacheControl)

  at e2e/prerender.test.ts:50:23

● Test suite failed to run

next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished

  77 |     if (nextInstance) {
  78 |       await nextInstance.destroy()
> 79 |       throw new Error(
     |             ^
  80 |         `next instance not destroyed before exiting, make sure to call .destroy() after the tests after finished`
  81 |       )
  82 |     }

  at lib/e2e-utils.ts:79:13

@ijjk
Copy link
Copy Markdown
Member

ijjk commented Oct 27, 2021

Stats from current PR

Default Build
General Overall increase ⚠️
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
buildDuration 21.8s 23s ⚠️ +1.2s
buildDurationCached 4.2s 4.5s ⚠️ +331ms
nodeModulesSize 207 MB 207 MB ⚠️ +1 B
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
/ failed reqs 0 0
/ total time (seconds) 3.949 3.897 -0.05
/ avg req/sec 633.12 641.48 +8.36
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 2.08 2.093 ⚠️ +0.01
/error-in-render avg req/sec 1202.04 1194.27 ⚠️ -7.77
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
450.HASH.js gzip 179 B 179 B
framework-HASH.js gzip 42.2 kB 42.2 kB
main-HASH.js gzip 28 kB 28 kB
webpack-HASH.js gzip 1.45 kB 1.45 kB
Overall change 71.9 kB 71.9 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
polyfills-a4..dd70.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
_app-HASH.js gzip 1.23 kB 1.23 kB
_error-HASH.js gzip 194 B 194 B
amp-HASH.js gzip 312 B 312 B
css-HASH.js gzip 327 B 327 B
dynamic-HASH.js gzip 2.38 kB 2.38 kB
head-HASH.js gzip 350 B 350 B
hooks-HASH.js gzip 635 B 635 B
image-HASH.js gzip 4.44 kB 4.44 kB
index-HASH.js gzip 263 B 263 B
link-HASH.js gzip 1.87 kB 1.87 kB
routerDirect..HASH.js gzip 321 B 321 B
script-HASH.js gzip 383 B 383 B
withRouter-HASH.js gzip 318 B 318 B
334f979574ae..6f4.css gzip 106 B 106 B
Overall change 13.1 kB 13.1 kB
Client Build Manifests
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
_buildManifest.js gzip 459 B 459 B
Overall change 459 B 459 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
index.html gzip 535 B 535 B
link.html gzip 547 B 547 B
withRouter.html gzip 527 B 527 B
Overall change 1.61 kB 1.61 kB

Default Build with SWC (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
buildDuration 19.2s 18.5s -720ms
buildDurationCached 4.5s 4.6s ⚠️ +134ms
nodeModulesSize 207 MB 207 MB ⚠️ +1 B
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
/ failed reqs 0 0
/ total time (seconds) 4.114 3.901 -0.21
/ avg req/sec 607.74 640.92 +33.18
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 2.041 2.024 -0.02
/error-in-render avg req/sec 1225.12 1235.07 +9.95
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
450.HASH.js gzip 179 B 179 B
framework-HASH.js gzip 42.2 kB 42.2 kB
main-HASH.js gzip 28.2 kB 28.2 kB
webpack-HASH.js gzip 1.43 kB 1.43 kB
Overall change 72 kB 72 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
polyfills-a4..dd70.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
_app-HASH.js gzip 1.22 kB 1.22 kB
_error-HASH.js gzip 180 B 180 B
amp-HASH.js gzip 305 B 305 B
css-HASH.js gzip 321 B 321 B
dynamic-HASH.js gzip 2.38 kB 2.38 kB
head-HASH.js gzip 342 B 342 B
hooks-HASH.js gzip 621 B 621 B
image-HASH.js gzip 4.46 kB 4.46 kB
index-HASH.js gzip 256 B 256 B
link-HASH.js gzip 1.9 kB 1.9 kB
routerDirect..HASH.js gzip 314 B 314 B
script-HASH.js gzip 375 B 375 B
withRouter-HASH.js gzip 309 B 309 B
334f979574ae..6f4.css gzip 106 B 106 B
Overall change 13.1 kB 13.1 kB
Client Build Manifests
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
_buildManifest.js gzip 459 B 459 B
Overall change 459 B 459 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js ci/add-stdio-to-error Change
index.html gzip 535 B 535 B
link.html gzip 547 B 547 B
withRouter.html gzip 529 B 529 B
Overall change 1.61 kB 1.61 kB
Commit: f57b38c

@kodiakhq kodiakhq Bot merged commit 54ae78f into canary Oct 27, 2021
@kodiakhq kodiakhq Bot deleted the ci/add-stdio-to-error branch October 27, 2021 07:33
@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

created-by: Next.js team PRs by the Next.js team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants