Skip to content

Block postbacks for 5s after redirects #3141

Block postbacks for 5s after redirects

Block postbacks for 5s after redirects #3141

Triggered via pull request September 7, 2024 14:03
Status Failure
Total duration 18m 47s
Artifacts 20

main.yml

on: pull_request
Build all projects without errors
11m 51s
Build all projects without errors
JS unit tests
59s
JS unit tests
Matrix: Build published projects without warnings
Matrix: .NET unit tests
Matrix: UI tests
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 15 warnings
UI tests (firefox, ubuntu-latest, Production, Default)
Request timeout: /tools.json
JS unit tests: src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts#L338
Error: thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:338:1) at Runtime._execModule (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runtime/build/index.js:1439:24) at Runtime._loadModule (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runtime/build/index.js:1022:12) at Runtime.requireModule (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runtime/build/index.js:882:12) at jestAdapter (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at runTestInternal (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/testWorker.js:106:12)
JS unit tests: src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts#L69
Error: expect(received).toBe(expected) // Object.is equality Expected: "validationErrorsChanged" Received: "redirect" at validateEvent (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:69:26) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:382:9)
JS unit tests: src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts#L69
Error: expect(received).toBe(expected) // Object.is equality Expected: "postbackHandlersCompleted" Received: "postbackHandlersStarted" at validateEvent (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:69:26) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:407:9)
JS unit tests: src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts#L69
Error: expect(received).toBe(expected) // Object.is equality Expected: "postbackHandlersCompleted" Received: "postbackHandlersStarted" at validateEvent (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:69:26) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:434:9)
JS unit tests: src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts#L69
Error: expect(received).toBe(expected) // Object.is equality Expected: "newState" Received: "spaNavigating" at validateEvent (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:69:26) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:464:9)
JS unit tests: src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts#L476
Error: thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:476:1) at Runtime._execModule (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runtime/build/index.js:1439:24) at Runtime._loadModule (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runtime/build/index.js:1022:12) at Runtime.requireModule (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runtime/build/index.js:882:12) at jestAdapter (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at runTestInternal (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/node_modules/jest-runner/build/testWorker.js:106:12)
JS unit tests: src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts#L69
Error: expect(received).toBe(expected) // Object.is equality Expected: "spaNavigationFailed" Received: "spaNavigating" at validateEvent (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:69:26) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:518:9) at runNextTicks (node:internal/process/task_queues:61:5) at listOnTimeout (node:internal/timers:528:9) at processTimers (node:internal/timers:502:7)
JS unit tests: src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts#L69
Error: expect(received).toBe(expected) // Object.is equality Expected: "spaNavigationFailed" Received: "spaNavigating" at validateEvent (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:69:26) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:546:9) at runNextTicks (node:internal/process/task_queues:61:5) at listOnTimeout (node:internal/timers:528:9) at processTimers (node:internal/timers:502:7)
JS unit tests: src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts#L69
Error: expect(received).toBe(expected) // Object.is equality Expected: "postbackHandlersCompleted" Received: "postbackHandlersStarted" at validateEvent (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:69:26) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:572:9) at runNextTicks (node:internal/process/task_queues:61:5) at listOnTimeout (node:internal/timers:528:9) at processTimers (node:internal/timers:502:7)
JS unit tests: src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts#L69
Error: expect(received).toBe(expected) // Object.is equality Expected: "postbackHandlersCompleted" Received: "postbackHandlersStarted" at validateEvent (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:69:26) at Object.<anonymous> (/home/runner/work/dotvvm/dotvvm/src/Framework/Framework/Resources/Scripts/tests/eventArgs.test.ts:598:9) at runNextTicks (node:internal/process/task_queues:61:5) at listOnTimeout (node:internal/timers:528:9) at processTimers (node:internal/timers:502:7)
UI tests (chrome, windows-2022, Development, Default)
Process completed with exit code 1.
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
Action failed since 1 tests failed.
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
Process completed with exit code 1.
UI tests (chrome, ubuntu-latest, Production, Default)
Action failed since 1 tests failed.
UI tests (chrome, ubuntu-latest, Production, Default)
Process completed with exit code 1.
UI tests (firefox, ubuntu-latest, Production, Default)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
JS unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
JS unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build published projects without warnings (Release)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
.NET unit tests (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build published projects without warnings (Debug)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
.NET unit tests (macOS-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (chrome, windows-2022, Development, Default)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, microsoft/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
.NET unit tests (windows-2022)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, microsoft/[email protected], actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build all projects without errors
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, microsoft/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (chrome, ubuntu-latest, Production, Default)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UI tests (firefox, ubuntu-latest, Development, Default)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "analyzers-tests-net6.0-Debug-Linux", "analyzers-tests-net6.0-Debug-macOS", "analyzers-tests-net6.0-Debug-Windows", "analyzers-tests-net6.0-Release-Linux", "analyzers-tests-net6.0-Release-macOS", "analyzers-tests-net6.0-Release-Windows", "chrome-tests-Linux-Production-Default", "chrome-tests-Linux-Production-ExperimentalFeaturesTests", "firefox-tests-Linux-Development-Default", "firefox-tests-Linux-Development-ExperimentalFeaturesTests", "framework-tests-net472-Debug-Windows", "framework-tests-net472-Release-Windows", "framework-tests-net8.0-Debug-Linux", "framework-tests-net8.0-Debug-macOS", "framework-tests-net8.0-Debug-Windows", "framework-tests-net8.0-Release-Linux", "framework-tests-net8.0-Release-macOS", "framework-tests-net8.0-Release-Windows", "webforms-adapters-tests-net472-Debug-Windows", "webforms-adapters-tests-net472-Release-Windows". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
analyzers-tests-net6.0-Debug-Linux Expired
67.4 KB
analyzers-tests-net6.0-Debug-Windows Expired
66.7 KB
analyzers-tests-net6.0-Debug-macOS Expired
67.8 KB
analyzers-tests-net6.0-Release-Linux Expired
67.6 KB
analyzers-tests-net6.0-Release-Windows Expired
66.9 KB
analyzers-tests-net6.0-Release-macOS Expired
67.9 KB
chrome-tests-Linux-Production-Default Expired
2.15 MB
chrome-tests-Linux-Production-ExperimentalFeaturesTests Expired
1.98 MB
firefox-tests-Linux-Development-Default Expired
5.96 MB
firefox-tests-Linux-Development-ExperimentalFeaturesTests Expired
4.93 MB
framework-tests-net472-Debug-Windows Expired
2.11 MB
framework-tests-net472-Release-Windows Expired
2.11 MB
framework-tests-net8.0-Debug-Linux Expired
2.15 MB
framework-tests-net8.0-Debug-Windows Expired
2.13 MB
framework-tests-net8.0-Debug-macOS Expired
2.17 MB
framework-tests-net8.0-Release-Linux Expired
2.16 MB
framework-tests-net8.0-Release-Windows Expired
2.13 MB
framework-tests-net8.0-Release-macOS Expired
2.17 MB
webforms-adapters-tests-net472-Debug-Windows Expired
4.86 KB
webforms-adapters-tests-net472-Release-Windows Expired
4.87 KB