Kubernetes: Memory not getting released - Failed to adjust OOM score of renderer with pid 610. Permission denied.
Test code to reproduce
It is not possible for us to share the test and source code to reproduce.
One of the messages that seemed related is Failed to adjust OOM score of renderer with pid 610. Permission denied., and I've noticed that there is an unresolved discussion here since more than a year ago.
We have 20 tests that run sequentially. They are all small and isolated.
What we've observed is that memory consumption keeps increasing constantly, as it would appear, in steps.
This occurs, from the current investigation, around the 14th-16th test.
We are using NX and the command looks like this:
yarn nx affected --base=$NX_BASE --head=$NX_HEAD --target=e2e --configuration=development --deployUrl=./ --browser chrome --output-style=stream --parallel=false
And, here is an example of a test
it('shows the General information card with the statuses: In progress and No result yet', () => {
cy.visit(`/${secondProjectId}`, {
headers: Cypress.env('compressionHeaders'),
onBeforeLoad() {
cy.window().then((win) => {
win.featureFlags = { detailScreenRedesign: false };
});
},
});
cy.findByTestId('slcm-fo-project').within(() => {
cy.findByText('Name der Qualifikation')
.parent()
.within(() => {
cy.findByText('Running').should('exist');
});
cy.findByText('Fortschrittsstatus')
.parent()
.within(() => {
cy.findByText('In Bearbeitung').should('exist');
});
cy.findByText('Qualifikationsergebnis')
.parent()
.within(() => {
cy.findByText('Noch kein Ergebnis').should('exist');
});
});
});
Since this is an NX project, there are 3 libraries with Cypress in them, and this is how their configs look like:
const { nxE2EPreset } = require('@nx/cypress/plugins/cypress-preset');
const { defineConfig } = require('cypress');
module.exports = defineConfig({
e2e: {
...nxE2EPreset(__filename, { cypressDir: 'cypress' }),
setupNodeEvents(on, config) {
require('@cypress/code-coverage/task')(on, config);
return config;
},
baseUrl: 'http://localhost:4200',
},
video: false,
screenshotOnRunFailure: false,
viewportWidth: 1920,
viewportHeight: 1080,
experimentalMemoryManagement: true,
env: {
compressionHeaders: { 'Accept-Encoding': 'br, deflate' },
},
});
And our Gitlab pipeline is configured with the following values:
KUBERNETES_CPU_REQUEST: 2000m
KUBERNETES_MEMORY_REQUEST: 8Gi
KUBERNETES_MEMORY_LIMIT: 8Gi
DEBUG: cypress:cli
NODE_OPTIONS: '--max-old-space-size=4096'
Cypress Mode
cypress run
Cypress Version
13.6.6
Browser Version
Chrome 121.0.6167.160
Node version
18.20.3
Operating System
Ubuntu 22.04.3 LTS
Memory Debug Logs
rendererMemoryThreshold: 2147352576, currentAvailableMemory: 9222893568, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468402874, calculateMemoryStatsDuration: 0.982727998867631 } +1s
qualification-project: ✓ handles the correction from no-result search to a search with result, back and forth (3520ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +4s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.385240999981761, testTitle: 'handles the state change when closing and opening the modal dialog', testOrder: 6, garbageCollected: false, timestamp: 1716468403753 } +879ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 17.014226000756025, getRendererMemoryUsageDuration: 17.136270999908447, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 465661952, rendererUsagePercentage: 10.842698986754563, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 9209315328, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468403892, calculateMemoryStatsDuration: 17.155743999406695 } +139ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.6537270005792379, getRendererMemoryUsageDuration: 0.6826320011168718, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 465661952, rendererUsagePercentage: 10.842698986754563, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 9163907072, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468404893, calculateMemoryStatsDuration: 0.7187030017375946 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.7864280007779598, getRendererMemoryUsageDuration: 0.8205340001732111, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 455229440, rendererUsagePercentage: 10.599783311969725, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 9180590080, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468405894, calculateMemoryStatsDuration: 0.8582090009003878 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.8527070004492998, getRendererMemoryUsageDuration: 0.9060929995030165, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 454782976, rendererUsagePercentage: 10.589387627418665, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 9174867968, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468406895, calculateMemoryStatsDuration: 0.9578789994120598 } +1s
qualification-project: ✓ handles the state change when closing and opening the modal dialog (2930ms)
qualification-project: 6 passing (17s)
qualification-project: cypress-verbose:server:browsers:memory end memory profiler +36ms
qualification-project: (Results)
qualification-project: ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
qualification-project: │ Tests: 6 │
qualification-project: │ Passing: 6 │
qualification-project: │ Failing: 0 │
qualification-project: │ Pending: 0 │
qualification-project: │ Skipped: 0 │
qualification-project: │ Screenshots: 0 │
qualification-project: │ Video: false │
qualification-project: │ Duration: 17 seconds │
qualification-project: │ Spec Ran: searching-for-and-viewing-suppliers.cy.ts │
qualification-project: └────────────────────────────────────────────────────────────────────────────────────────────────┘
qualification-project: ────────────────────────────────────────────────────────────────────────────────────────────────────
qualification-project:
qualification-project: Running: steps.cy.ts (10 of 20)
qualification-project: cypress-verbose:server:browsers:memory start memory profiler +6s
qualification-project:
qualification-project: cypress:server:browsers:memory using default memory handler +9s
qualification-project: cypress:server:browsers:memory skipping garbage collection +6ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.3607830014079809, testTitle: 'has the correct order ', testOrder: 1, garbageCollected: false, timestamp: 1716468412554 } +6ms
qualification-project: cypress-verbose:server:browsers:memory getJsHeapSizeLimit took 10.319559000432491ms +5ms
qualification-project: Qualification project steps
qualification-project: cypress-verbose:server:browsers:memory renderer processes found: { pid: 1484, parentPid: 716, name: 'chrome', cpu: 0.008689149788891716, cpuu: 0.007674358572670785, cpus: 0.0010147912162209302, mem: 4.7, priority: 19, memVsz: 1186236492, memRss: 784060, nice: 0, started: '2024-05-23 12:46:46', state: 'running', tty: '', user: 'root', command: 'chrome', params: '--type=renderer --crashpad-handler-pid=708 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/root/.config/Cypress/cy/production/browsers/chrome-stable/run-423 --disable-print-preview --allow-insecure-localhost --change-stack-guard-on-fork=enable --no-sandbox --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --disable-background-timer-throttling --disable-breakpad --enable-automation --enable-precise-memory-info --force-device-scale-factor=1 --remote-debugging-port=35069 --test-type --use-fake-ui-for-media-stream --ozone-platform=headless --disable-gpu-compositing --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=22 --time-ticks-at-unix-epoch=-1716452529084138 --launch-time-ticks=15877852045 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,8592244401481805989,1453908270356433909,262144 --disable-features=PaintHolding,PrivacySandboxSettings4,Translate --variations-seed-version', path: '/opt/google/chrome', group: 'browser' } +76ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 12.800286000594497, getRendererMemoryUsageDuration: 76.42625200003386, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 802877440, rendererUsagePercentage: 18.69458814014527, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8580587520, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468412635, calculateMemoryStatsDuration: 76.47413799911737 } +0ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 2.308467000722885, getRendererMemoryUsageDuration: 2.500799000263214, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 937709568, rendererUsagePercentage: 21.8340848745651, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8423424000, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468413637, calculateMemoryStatsDuration: 2.5455619990825653 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 8.096637001261115, getRendererMemoryUsageDuration: 8.312655000016093, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 423260160, rendererUsagePercentage: 9.855395074162242, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8924061696, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468414648, calculateMemoryStatsDuration: 8.335872000083327 } +1s
qualification-project: ✓ has the correct order (2449ms)
qualification-project: cypress-verbose:server:browsers:memory end memory profiler +642ms
qualification-project: 1 passing (3s)
qualification-project: (Results)
qualification-project: ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
qualification-project: │ Tests: 1 │
qualification-project: │ Passing: 1 │
qualification-project: │ Failing: 0 │
qualification-project: │ Pending: 0 │
qualification-project: │ Skipped: 0 │
qualification-project: │ Screenshots: 0 │
qualification-project: │ Video: false │
qualification-project: │ Duration: 2 seconds │
qualification-project: │ Spec Ran: steps.cy.ts │
qualification-project: └────────────────────────────────────────────────────────────────────────────────────────────────┘
qualification-project: ────────────────────────────────────────────────────────────────────────────────────────────────────
qualification-project:
qualification-project: Running: new-screen-design/add-selected-supplier-to-project.cy.ts (11 of 20)
qualification-project: cypress-verbose:server:browsers:memory start memory profiler +14s
qualification-project:
qualification-project: cypress:server:browsers:memory using default memory handler +17s
qualification-project: cypress:server:browsers:memory skipping garbage collection +11ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.32031700015068054, testTitle: 'adds the selected supplier to the project', testOrder: 1, garbageCollected: false, timestamp: 1716468429099 } +12ms
qualification-project: cypress-verbose:server:browsers:memory getJsHeapSizeLimit took 12.584572000429034ms +2ms
qualification-project: Qualification project - add the selected supplier to the project
qualification-project: cypress-verbose:server:browsers:memory renderer processes found: { pid: 1543, parentPid: 716, name: 'chrome', cpu: 0.014857687744625177, cpuu: 0.012703481419178457, cpus: 0.002154206325446721, mem: 5, priority: 19, memVsz: 1186234876, memRss: 823792, nice: 0, started: '2024-05-23 12:46:55', state: 'running', tty: '', user: 'root', command: 'chrome', params: '--type=renderer --crashpad-handler-pid=708 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/root/.config/Cypress/cy/production/browsers/chrome-stable/run-423 --disable-print-preview --allow-insecure-localhost --change-stack-guard-on-fork=enable --no-sandbox --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --disable-background-timer-throttling --disable-breakpad --enable-automation --enable-precise-memory-info --force-device-scale-factor=1 --remote-debugging-port=35069 --test-type --use-fake-ui-for-media-stream --ozone-platform=headless --disable-gpu-compositing --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=23 --time-ticks-at-unix-epoch=-1716452529084138 --launch-time-ticks=15886211235 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,8592244401481805989,1453908270356433909,262144 --disable-features=PaintHolding,PrivacySandboxSettings4,Translate --variations-seed-version', path: '/opt/google/chrome', group: 'browser' } +57ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 14.698599001392722, getRendererMemoryUsageDuration: 57.74422400072217, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 843563008, rendererUsagePercentage: 19.64193065983031, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8146550784, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468429159, calculateMemoryStatsDuration: 57.779343001544476 } +1ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 3.1825880017131567, getRendererMemoryUsageDuration: 6.853405000641942, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 662036480, rendererUsagePercentage: 15.415178843923579, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8310542336, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468430167, calculateMemoryStatsDuration: 6.914010999724269 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 7.604145999997854, getRendererMemoryUsageDuration: 7.906566001474857, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 623124480, rendererUsagePercentage: 14.509132942684491, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8400023552, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468431177, calculateMemoryStatsDuration: 7.930590998381376 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.8103870004415512, getRendererMemoryUsageDuration: 0.8290170002728701, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 680968192, rendererUsagePercentage: 15.855994018189588, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8372322304, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468432178, calculateMemoryStatsDuration: 0.8723770007491112 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.6253410000354052, getRendererMemoryUsageDuration: 0.6560059990733862, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 716660736, rendererUsagePercentage: 16.687076542757737, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8337645568, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468433179, calculateMemoryStatsDuration: 0.6922539994120598 } +1s
qualification-project: ✓ adds the selected supplier to the project (4318ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +4s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.33368900045752525, testTitle: 'shows the "no such supplier message" when there are no search results', testOrder: 2, garbageCollected: false, timestamp: 1716468433598 } +419ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 27.153768999502063, getRendererMemoryUsageDuration: 27.17282000184059, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 779116544, rendererUsagePercentage: 18.141327900872856, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8251240448, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468434206, calculateMemoryStatsDuration: 27.20226199924946 } +608ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.8695949986577034, getRendererMemoryUsageDuration: 0.893053999170661, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 816353280, rendererUsagePercentage: 19.00836614173228, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8224268288, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468435207, calculateMemoryStatsDuration: 0.9353080000728369 } +1s
qualification-project: ✓ shows the "no such supplier message" when there are no search results (2046ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +2s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.2383789997547865, testTitle: 'fails the addition of a supplier to a project that has been CLOSED in the meantime', testOrder: 3, garbageCollected: false, timestamp: 1716468435731 } +524ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.5589920002967119, getRendererMemoryUsageDuration: 0.5767270009964705, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 849039360, rendererUsagePercentage: 19.76944469877312, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8411369472, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468436207, calculateMemoryStatsDuration: 0.606011999770999 } +476ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.7929580006748438, getRendererMemoryUsageDuration: 0.8079840000718832, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 881549312, rendererUsagePercentage: 20.526422205945188, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8389668864, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468437209, calculateMemoryStatsDuration: 0.8504609987139702 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.6775620002299547, getRendererMemoryUsageDuration: 0.7073090001940727, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 882200576, rendererUsagePercentage: 20.541586553134348, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8409407488, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468438210, calculateMemoryStatsDuration: 0.7438639998435974 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.6822049990296364, getRendererMemoryUsageDuration: 0.7146209999918938, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 878403584, rendererUsagePercentage: 20.453175547823964, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8408403968, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468439211, calculateMemoryStatsDuration: 0.7523599993437529 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.7492720000445843, getRendererMemoryUsageDuration: 0.81254299916327, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 878174208, rendererUsagePercentage: 20.447834645669293, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8414998528, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468440212, calculateMemoryStatsDuration: 0.8516589999198914 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.67128000035882, getRendererMemoryUsageDuration: 0.7051900010555983, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 878317568, rendererUsagePercentage: 20.451172709515962, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8414007296, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468441213, calculateMemoryStatsDuration: 0.7363330014050007 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.9111449997872114, getRendererMemoryUsageDuration: 0.9434300009161234, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 886210560, rendererUsagePercentage: 20.63495696758835, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8411320320, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468442215, calculateMemoryStatsDuration: 0.9811719991266727 } +1s
qualification-project: ✓ fails the addition of a supplier to a project that has been CLOSED in the meantime (7182ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +7s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.4455990009009838, testTitle: 'shows the error snackbar when the action returns errors', testOrder: 4, garbageCollected: false, timestamp: 1716468443019 } +804ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.7876960001885891, getRendererMemoryUsageDuration: 0.8283510003238916, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 926306304, rendererUsagePercentage: 21.568565738875662, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8389394432, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468443216, calculateMemoryStatsDuration: 0.871458999812603 } +197ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.6145190000534058, getRendererMemoryUsageDuration: 0.6262459997087717, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 973557760, rendererUsagePercentage: 22.668791582738205, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8435789824, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468444217, calculateMemoryStatsDuration: 0.6597039997577667 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.7640470005571842, getRendererMemoryUsageDuration: 2.4822920002043247, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 991592448, rendererUsagePercentage: 23.08872001464933, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8429383680, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468445220, calculateMemoryStatsDuration: 2.518827999010682 } +1s
qualification-project: ✓ shows the error snackbar when the action returns errors (2557ms)
qualification-project: 4 passing (17s)
qualification-project: cypress-verbose:server:browsers:memory end memory profiler +631ms
qualification-project: (Results)
qualification-project: ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
qualification-project: │ Tests: 4 │
qualification-project: │ Passing: 4 │
qualification-project: │ Failing: 0 │
qualification-project: │ Pending: 0 │
qualification-project: │ Skipped: 0 │
qualification-project: │ Screenshots: 0 │
qualification-project: │ Video: false │
qualification-project: │ Duration: 16 seconds │
qualification-project: │ Spec Ran: new-screen-design/add-selected-supplier-to-project.cy.ts │
qualification-project: └────────────────────────────────────────────────────────────────────────────────────────────────┘
qualification-project: ────────────────────────────────────────────────────────────────────────────────────────────────────
qualification-project:
qualification-project: Running: new-screen-design/app.cy.ts (12 of 20)
qualification-project: cypress-verbose:server:browsers:memory start memory profiler +14s
qualification-project:
qualification-project: cypress:server:browsers:memory using default memory handler +17s
qualification-project: cypress:server:browsers:memory skipping garbage collection +10ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.3753369990736246, testTitle: 'shows the project breadcrumbs content', testOrder: 1, garbageCollected: false, timestamp: 1716468460323 } +11ms
qualification-project: cypress-verbose:server:browsers:memory getJsHeapSizeLimit took 11.614462999626994ms +1ms
qualification-project: Qualification project - elements
qualification-project: cypress-verbose:server:browsers:memory renderer processes found: { pid: 1543, parentPid: 716, name: 'chrome', cpu: 10.667422647011179, cpuu: 9.816944759436256, cpus: 0.8504778875749232, mem: 5.8, priority: 19, memVsz: 1194947996, memRss: 962004, nice: 0, started: '2024-05-23 12:46:55', state: 'sleeping', tty: '', user: 'root', command: 'chrome', params: '--type=renderer --crashpad-handler-pid=708 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/root/.config/Cypress/cy/production/browsers/chrome-stable/run-423 --disable-print-preview --allow-insecure-localhost --change-stack-guard-on-fork=enable --no-sandbox --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --disable-background-timer-throttling --disable-breakpad --enable-automation --enable-precise-memory-info --force-device-scale-factor=1 --remote-debugging-port=35069 --test-type --use-fake-ui-for-media-stream --ozone-platform=headless --disable-gpu-compositing --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=23 --time-ticks-at-unix-epoch=-1716452529084138 --launch-time-ticks=15886211235 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,8592244401481805989,1453908270356433909,262144 --disable-features=PaintHolding,PrivacySandboxSettings4,Translate --variations-seed-version', path: '/opt/google/chrome', group: 'browser' } +56ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 12.405337000265718, getRendererMemoryUsageDuration: 56.36877699941397, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 985092096, rendererUsagePercentage: 22.937362662516023, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7833432064, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468460381, calculateMemoryStatsDuration: 56.41289000026882 } +1ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.6731969993561506, getRendererMemoryUsageDuration: 0.7337359990924597, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 985092096, rendererUsagePercentage: 22.937362662516023, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7619837952, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468461382, calculateMemoryStatsDuration: 0.7701329998672009 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 15.850074000656605, getRendererMemoryUsageDuration: 20.68575300090015, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 566091776, rendererUsagePercentage: 13.181155771226273, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8055136256, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468462403, calculateMemoryStatsDuration: 20.707186998799443 } +1s
qualification-project: ✓ shows the project breadcrumbs content (2310ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +2s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.7823660001158714, testTitle: 'shows the project navDrawer content', testOrder: 2, garbageCollected: false, timestamp: 1716468462762 } +359ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 6.071634000167251, getRendererMemoryUsageDuration: 6.126197000965476, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 525803520, rendererUsagePercentage: 12.243064457059146, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8049684480, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468463412, calculateMemoryStatsDuration: 6.14504100009799 } +650ms
qualification-project: ✓ shows the project navDrawer content (717ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +816ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.30476600117981434, testTitle: 'handles the missing project ID use case by showing the error screen', testOrder: 3, garbageCollected: false, timestamp: 1716468463578 } +166ms
qualification-project: ✓ handles the missing project ID use case by showing the error screen (753ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +824ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.6421359982341528, testTitle: 'shows the General information card with the statuses: Open and No result yet', testOrder: 4, garbageCollected: false, timestamp: 1716468464401 } +823ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 2.5283949989825487, getRendererMemoryUsageDuration: 2.557608999311924, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 525205504, rendererUsagePercentage: 12.229139962155894, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7982104576, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468464415, calculateMemoryStatsDuration: 2.5747480001300573 } +14ms
qualification-project: ✓ shows the General information card with the statuses: Open and No result yet (520ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +600ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.5533640012145042, testTitle: 'shows the General information card with the statuses: In progress and No result yet', testOrder: 5, garbageCollected: false, timestamp: 1716468465002 } +587ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.6696310006082058, getRendererMemoryUsageDuration: 0.739478999748826, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 525164544, rendererUsagePercentage: 12.228186229628273, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7915937792, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468465416, calculateMemoryStatsDuration: 0.7717630006372929 } +414ms
qualification-project: ✓ shows the General information card with the statuses: In progress and No result yet (518ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +610ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.3688500002026558, testTitle: 'shows the General information card with the statuses: Closed and Qualified', testOrder: 6, garbageCollected: false, timestamp: 1716468465611 } +195ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.5577389989048243, getRendererMemoryUsageDuration: 0.6732400003820658, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 525164544, rendererUsagePercentage: 12.228186229628273, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7959851008, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468466416, calculateMemoryStatsDuration: 0.6912249997258186 } +805ms
qualification-project: ✓ shows the General information card with the statuses: Closed and Qualified (930ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.21361400000751019, testTitle: 'shows the General information card with the statuses: Closed and Rejected', testOrder: 7, garbageCollected: false, timestamp: 1716468466621 } +205ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.8765779994428158, getRendererMemoryUsageDuration: 0.894921001046896, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 525164544, rendererUsagePercentage: 12.228186229628273, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7901364224, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468467417, calculateMemoryStatsDuration: 0.9404670000076294 } +796ms
qualification-project: ✓ shows the General information card with the statuses: Closed and Rejected (798ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +888ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.36237699910998344, testTitle: 'shows the General information card with the statuses: Ready for approval and No result yet', testOrder: 8, garbageCollected: false, timestamp: 1716468467510 } +93ms
qualification-project: ✓ shows the General information card with the statuses: Ready for approval and No result yet (686ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +765ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.3021579999476671, testTitle: 'shows the Supplier card', testOrder: 9, garbageCollected: false, timestamp: 1716468468275 } +765ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 3.033439001068473, getRendererMemoryUsageDuration: 3.047570001333952, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 525164544, rendererUsagePercentage: 12.228186229628273, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7856975872, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468468420, calculateMemoryStatsDuration: 3.0793789997696877 } +145ms
qualification-project: ✓ shows the Supplier card (526ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +601ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.3719580005854368, testTitle: 'has the elements hidden when a closed project is shown', testOrder: 10, garbageCollected: false, timestamp: 1716468468875 } +455ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 7.265430001541972, getRendererMemoryUsageDuration: 7.310794999822974, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 525164544, rendererUsagePercentage: 12.228186229628273, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7816687616, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468469428, calculateMemoryStatsDuration: 7.334026999771595 } +553ms
qualification-project: ✓ has the elements hidden when a closed project is shown (668ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +914ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.4889550004154444, testTitle: 'has the disabled Reject and Qualify buttons when the supplier gets removed', testOrder: 11, garbageCollected: false, timestamp: 1716468469790 } +362ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.774337999522686, getRendererMemoryUsageDuration: 0.8252560012042522, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 525611008, rendererUsagePercentage: 12.238581914179331, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7774912512, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468470429, calculateMemoryStatsDuration: 0.8655810002237558 } +639ms
qualification-project: ✓ has the disabled Reject and Qualify buttons when the supplier gets removed (1221ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.38914600014686584, testTitle: 'has the disabled Reject and Qualify buttons button when a project without a supplier is loaded', testOrder: 12, garbageCollected: false, timestamp: 1716468471077 } +648ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.8464190009981394, getRendererMemoryUsageDuration: 0.8843280002474785, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 525611008, rendererUsagePercentage: 12.238581914179331, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7758438400, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468471430, calculateMemoryStatsDuration: 0.9257049988955259 } +353ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.6815959997475147, getRendererMemoryUsageDuration: 0.7022660002112389, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 525611008, rendererUsagePercentage: 12.238581914179331, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7862153216, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468472431, calculateMemoryStatsDuration: 0.7273900005966425 } +1s
qualification-project: ✓ has the disabled Reject and Qualify buttons button when a project without a supplier is loaded (1898ms)
qualification-project: cypress-verbose:server:browsers:memory end memory profiler +772ms
qualification-project: 12 passing (13s)
qualification-project: (Results)
qualification-project: ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
qualification-project: │ Tests: 12 │
qualification-project: │ Passing: 12 │
qualification-project: │ Failing: 0 │
qualification-project: │ Pending: 0 │
qualification-project: │ Skipped: 0 │
qualification-project: │ Screenshots: 0 │
qualification-project: │ Video: false │
qualification-project: │ Duration: 12 seconds │
qualification-project: │ Spec Ran: new-screen-design/app.cy.ts │
qualification-project: └────────────────────────────────────────────────────────────────────────────────────────────────┘
qualification-project: ────────────────────────────────────────────────────────────────────────────────────────────────────
qualification-project:
qualification-project: Running: new-screen-design/bugfix-assign-supplier-redirect-back-to-overview.c (13 of 20)
qualification-project: y.ts
qualification-project: cypress-verbose:server:browsers:memory start memory profiler +5s
qualification-project:
qualification-project: cypress:server:browsers:memory using default memory handler +7s
qualification-project: cypress:server:browsers:memory skipping garbage collection +6ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.11688899993896484, testTitle: 'stays on the same page, no matter how many times the assign supplier dialog gets closed ', testOrder: 1, garbageCollected: false, timestamp: 1716468478449 } +6ms
qualification-project: cypress-verbose:server:browsers:memory getJsHeapSizeLimit took 7.540718000382185ms +2ms
qualification-project: Qualification project - searching for and viewing suppliers
qualification-project: cypress-verbose:server:browsers:memory renderer processes found: { pid: 1606, parentPid: 716, name: 'chrome', cpu: 21.885474860335197, cpuu: 19.608938547486034, cpus: 2.2765363128491622, mem: 5.2, priority: 19, memVsz: 1207972268, memRss: 852032, nice: 0, started: '2024-05-23 12:47:25', state: 'sleeping', tty: '', user: 'root', command: 'chrome', params: '--type=renderer --crashpad-handler-pid=708 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/root/.config/Cypress/cy/production/browsers/chrome-stable/run-423 --disable-print-preview --allow-insecure-localhost --change-stack-guard-on-fork=enable --no-sandbox --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --disable-background-timer-throttling --disable-breakpad --enable-automation --enable-precise-memory-info --force-device-scale-factor=1 --remote-debugging-port=35069 --test-type --use-fake-ui-for-media-stream --ozone-platform=headless --disable-gpu-compositing --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=24 --time-ticks-at-unix-epoch=-1716452529084138 --launch-time-ticks=15916771604 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,8592244401481805989,1453908270356433909,262144 --disable-features=PaintHolding,PrivacySandboxSettings4,Translate --variations-seed-version', path: '/opt/google/chrome', group: 'browser' } +64ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 18.74444800056517, getRendererMemoryUsageDuration: 63.81320200115442, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 872480768, rendererUsagePercentage: 20.315265824330098, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7661625344, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468478515, calculateMemoryStatsDuration: 63.83761799894273 } +0ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.7220639996230602, getRendererMemoryUsageDuration: 0.96815599873662, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 872480768, rendererUsagePercentage: 20.315265824330098, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7657988096, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468479517, calculateMemoryStatsDuration: 0.999634999781847 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 8.709402000531554, getRendererMemoryUsageDuration: 8.744675999507308, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 872480768, rendererUsagePercentage: 20.315265824330098, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7710420992, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468480529, calculateMemoryStatsDuration: 9.320403000339866 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.7919149994850159, getRendererMemoryUsageDuration: 0.8110760003328323, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 872480768, rendererUsagePercentage: 20.315265824330098, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7941054464, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468481530, calculateMemoryStatsDuration: 0.8548620007932186 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.6131440009921789, getRendererMemoryUsageDuration: 0.6248080004006624, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 872480768, rendererUsagePercentage: 20.315265824330098, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7924269056, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468482531, calculateMemoryStatsDuration: 0.6509459987282753 } +1s
qualification-project: ✓ stays on the same page, no matter how many times the assign supplier dialog gets closed (3995ms)
qualification-project: 1 passing (4s)
qualification-project: cypress-verbose:server:browsers:memory end memory profiler +174ms
qualification-project: (Results)
qualification-project: ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
qualification-project: │ Tests: 1 │
qualification-project: │ Passing: 1 │
qualification-project: │ Failing: 0 │
qualification-project: │ Pending: 0 │
qualification-project: │ Skipped: 0 │
qualification-project: │ Screenshots: 0 │
qualification-project: │ Video: false │
qualification-project: │ Duration: 4 seconds │
qualification-project: │ Spec Ran: new-screen-design/bugfix-assign-supplier-redirect-back-to-overview.cy.ts │
qualification-project: └────────────────────────────────────────────────────────────────────────────────────────────────┘
qualification-project: ────────────────────────────────────────────────────────────────────────────────────────────────────
qualification-project:
qualification-project: Running: new-screen-design/qualification-project-back-button.cy.ts (14 of 20)
qualification-project: cypress-verbose:server:browsers:memory start memory profiler +5s
qualification-project:
qualification-project: cypress:server:browsers:memory using default memory handler +10s
qualification-project: cypress:server:browsers:memory skipping garbage collection +5ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.37266499921679497, testTitle: 'navigates correctly to the Qualifications screen after navigating from Qualifications to Qualification project', testOrder: 1, garbageCollected: false, timestamp: 1716468487966 } +6ms
qualification-project: cypress-verbose:server:browsers:memory getJsHeapSizeLimit took 6.536402000114322ms +1ms
qualification-project: Qualification project back button
qualification-project: cypress-verbose:server:browsers:memory renderer processes found: { pid: 1677, parentPid: 716, name: 'chrome', cpu: 11.273209549071618, cpuu: 10.212201591511937, cpus: 1.0610079575596816, mem: 3.3, priority: 19, memVsz: 1188425536, memRss: 550008, nice: 0, started: '2024-05-23 12:47:53', state: 'sleeping', tty: '', user: 'root', command: 'chrome', params: '--type=renderer --crashpad-handler-pid=708 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/root/.config/Cypress/cy/production/browsers/chrome-stable/run-423 --disable-print-preview --allow-insecure-localhost --change-stack-guard-on-fork=enable --no-sandbox --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --disable-background-timer-throttling --disable-breakpad --enable-automation --enable-precise-memory-info --force-device-scale-factor=1 --remote-debugging-port=35069 --test-type --use-fake-ui-for-media-stream --ozone-platform=headless --disable-gpu-compositing --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=25 --time-ticks-at-unix-epoch=-1716452529084138 --launch-time-ticks=15944123775 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,8592244401481805989,1453908270356433909,262144 --disable-features=PaintHolding,PrivacySandboxSettings4,Translate --variations-seed-version', path: '/opt/google/chrome', group: 'browser' } +58ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 12.527792001143098, getRendererMemoryUsageDuration: 57.919584998860955, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 563208192, rendererUsagePercentage: 13.114013001281815, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 8027406336, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468488025, calculateMemoryStatsDuration: 57.950326999649405 } +0ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 2.9060650002211332, getRendererMemoryUsageDuration: 3.1454949993640184, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 563208192, rendererUsagePercentage: 13.114013001281815, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7842545664, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468489028, calculateMemoryStatsDuration: 3.178438000380993 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 15.082272998988628, getRendererMemoryUsageDuration: 15.384690999984741, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 563208192, rendererUsagePercentage: 13.114013001281815, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7878529024, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468490045, calculateMemoryStatsDuration: 15.405293999239802 } +1s
qualification-project: ✓ navigates correctly to the Qualifications screen after navigating from Qualifications to Qualification project (2891ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +3s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 1.0942110009491444, testTitle: 'navigates correctly to the Qualifications screen after coming cleanly to the Qualification project', testOrder: 2, garbageCollected: false, timestamp: 1716468490966 } +921ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 30.398044001311064, getRendererMemoryUsageDuration: 30.42309700138867, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 563208192, rendererUsagePercentage: 13.114013001281815, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7825915904, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468491100, calculateMemoryStatsDuration: 30.43922599963844 } +134ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.7326120007783175, getRendererMemoryUsageDuration: 0.7801009994000196, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 563208192, rendererUsagePercentage: 13.114013001281815, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7756374016, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468492102, calculateMemoryStatsDuration: 0.8209699988365173 } +1s
qualification-project: ✓ navigates correctly to the Qualifications screen after coming cleanly to the Qualification project (955ms)
qualification-project: 2 passing (4s)
qualification-project: cypress-verbose:server:browsers:memory end memory profiler +41ms
qualification-project: (Results)
qualification-project: ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
qualification-project: │ Tests: 2 │
qualification-project: │ Passing: 2 │
qualification-project: │ Failing: 0 │
qualification-project: │ Pending: 0 │
qualification-project: │ Skipped: 0 │
qualification-project: │ Screenshots: 0 │
qualification-project: │ Video: false │
qualification-project: │ Duration: 4 seconds │
qualification-project: │ Spec Ran: new-screen-design/qualification-project-back-button.cy.ts │
qualification-project: └────────────────────────────────────────────────────────────────────────────────────────────────┘
qualification-project: ────────────────────────────────────────────────────────────────────────────────────────────────────
qualification-project:
qualification-project: Running: new-screen-design/qualification-project-breadcrumbs.cy.ts (15 of 20)
qualification-project: cypress-verbose:server:browsers:memory start memory profiler +5s
qualification-project:
qualification-project: cypress:server:browsers:memory using default memory handler +7s
qualification-project: cypress:server:browsers:memory skipping garbage collection +18ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.4543930012732744, testTitle: 'has the correct items', testOrder: 1, garbageCollected: false, timestamp: 1716468497566 } +20ms
qualification-project: cypress-verbose:server:browsers:memory getJsHeapSizeLimit took 19.29878999851644ms +0ms
qualification-project: Qualification project breadcrumbs
qualification-project: cypress-verbose:server:browsers:memory renderer processes found: { pid: 1802, parentPid: 716, name: 'chrome', cpu: 0.00859581454806125, cpuu: 0.0073971321523683044, cpus: 0.001198682395692945, mem: 4.8, priority: 19, memVsz: 1186238012, memRss: 786404, nice: 0, started: '2024-05-23 12:48:12', state: 'sleeping', tty: '', user: 'root', command: 'chrome', params: '--type=renderer --crashpad-handler-pid=708 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/root/.config/Cypress/cy/production/browsers/chrome-stable/run-423 --disable-print-preview --allow-insecure-localhost --change-stack-guard-on-fork=enable --no-sandbox --disable-dev-shm-usage --autoplay-policy=no-user-gesture-required --disable-background-timer-throttling --disable-breakpad --enable-automation --enable-precise-memory-info --force-device-scale-factor=1 --remote-debugging-port=35069 --test-type --use-fake-ui-for-media-stream --ozone-platform=headless --disable-gpu-compositing --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=27 --time-ticks-at-unix-epoch=-1716452529084138 --launch-time-ticks=15963064662 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,8592244401481805989,1453908270356433909,262144 --disable-features=PaintHolding,PrivacySandboxSettings4,Translate --variations-seed-version', path: '/opt/google/chrome', group: 'browser' } +83ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 16.36163300089538, getRendererMemoryUsageDuration: 82.457419000566, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 805277696, rendererUsagePercentage: 18.75047686626381, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7148961792, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468497649, calculateMemoryStatsDuration: 82.49100299924612 } +0ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.7927809990942478, getRendererMemoryUsageDuration: 0.9872509986162186, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 937578496, rendererUsagePercentage: 21.831032930476713, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 6996070400, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468498651, calculateMemoryStatsDuration: 1.0474389996379614 } +1s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.8779850006103516, getRendererMemoryUsageDuration: 0.8907580003142357, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 420548608, rendererUsagePercentage: 9.79225798083379, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7490392064, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468499652, calculateMemoryStatsDuration: 0.937397001311183 } +1s
qualification-project: ✓ has the correct items (2880ms)
qualification-project: cypress:server:browsers:memory skipping garbage collection +3s
qualification-project: cypress-verbose:server:browsers:memory memory stats: { checkMemoryPressureDuration: 0.41793499886989594, testTitle: 'navigates correctly to the Qualifications screen after clicking the "Qualifikationen" link in the breadcrumbs', testOrder: 2, garbageCollected: false, timestamp: 1716468500583 } +931ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.6596360001713037, getRendererMemoryUsageDuration: 0.6783880013972521, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 479989760, rendererUsagePercentage: 11.17631462491607, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7472623616, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468500653, calculateMemoryStatsDuration: 0.6956970002502203 } +70ms
qualification-project: cypress-verbose:server:browsers:memory memory stats: { getAvailableMemoryDuration: 0.7279989998787642, getRendererMemoryUsageDuration: 0.7841970007866621, jsHeapSizeLimit: 4294705152, totalMemoryLimit: 16766509056, rendererProcessMemRss: 540733440, rendererUsagePercentage: 12.59069996337667, rendererMemoryThreshold: 2147352576, currentAvailableMemory: 7407939584, maxAvailableRendererMemory: 4294705152, shouldCollectGarbage: false, timestamp: 1716468501655, calculateMemoryStatsDuration: 0.8288330007344484 } +1s
qualification-project: ✓ navigates correctly to the Qualifications screen after clicking the "Qualifikationen" link in the breadcrumbs (904ms)
qualification-project: 2 passing (4s)
qualification-project: cypress-verbose:server:browsers:memory end memory profiler +82ms
qualification-project: (Results)
qualification-project: ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
qualification-project: │ Tests: 2 │
qualification-project: │ Passing: 2 │
qualification-project: │ Failing: 0 │
qualification-project: │ Pending: 0 │
qualification-project: │ Skipped: 0 │
qualification-project: │ Screenshots: 0 │
qualification-project: │ Video: false │
qualification-project: │ Duration: 4 seconds │
qualification-project: │ Spec Ran: new-screen-design/qualification-project-breadcrumbs.cy.ts │
qualification-project: └────────────────────────────────────────────────────────────────────────────────────────────────┘
qualification-project: ────────────────────────────────────────────────────────────────────────────────────────────────────
qualification-project:
qualification-project: Running: new-screen-design/qualify-supplier-qualification.cy.ts (16 of 20)
Other
The debug logs were 3 times in size, so I had to truncate it to fit it here. This is the last part of it.
try the reload button? you probably opened vscode before installing the dependencies, so Playwright was not there.
Oh I tried all kind of reloads. I tried "Developer: Reload Window", "TypeScript: Reload Project", and hitting the reload button in the title bar of "Test Explorer". Nothing worked. The latter results in this notification popping up:
Running the suggested command says I'm up to date:
$ npm i --save-dev @playwright/test
up to date, audited 6 packages in 907ms
found 0 vulnerabilities
Did I miss something?
Sounds like you are running those in different environments. Sounds like your vscode is set up with alternative shell / chroot or something like that.
Why do you think so? What's next to progress with investigating the issue? I'm thinking maybe there some logs we can look at to confirm your theory.
The next step would be to obtain a repro that we would be able to execute locally. This sounds like a big breakage and given that this is the only report, it seems to be specific to your configuration. Without being able to repro it, we can't do much. If it was hitting multiple users, we would go further to suggest logging techniques and would even include more logging to try and locate the issue. But as long as this is one report with hundreds of thousands of active users, I'd suggest narrowing it down and sending us a repro.
I also found this issue in one of my local project (no problem before as well as my other projects) Tests not recognized in Test Explorer but can be run in cli.
I also found this issue in one of my local project (no problem before as well as my other projects) Tests not recognized in Test Explorer but can be run in cli.
Could you file a separate issue with a repro? I assume that since other projects work on your system, the problem is specific to the project rather than the environment.
I have the same issue
no tests are displayed anymore in Extension tab
Everything is working fine from cmd, the run, debug, parameters
I have latests playwright and vscode version
@AlexDorha any chance for the repro? Could you follow the BUG issue template and file something we can act on?
@AlexDorha any chance for the repro? Could you follow the BUG issue template and file something we can act on?
Thank you for the reply I will leave a link here with the problem https://github.com/microsoft/playwright/issues/32199
I'm also experiencing this issue.
Version: 1.92.2 (Universal)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 21.6.0
Due to some change in my playwright.config.ts working on figuring out what
To everyone experiencing this issue, it would be helpful to work your way up from a minimal working example (npm init playwright seed project) to the state where it breaks on your system. Thank you for your help!
Thanks for looking at it Pavel, for me this happens if there is anything that throws an exception in playwright.config.ts
An example of the exact thing breaking for me is here
https://github.com/kevswanberg/vs_playwright_config_issue/blob/main/playwright.config.ts#L3
Any exception causes this though.
Thanks for looking at it Pavel, for me this happens if there is anything that throws an exception in playwright.config.ts
In this case CLI should not work as well though, so I wonder if that is a different issue. You probably see this error in VS Code when you open the config file there too.
We don't yell at the users when their config fails to parse because we interpret any file of the form playwright.*.config.[jt]s as Playwright config, while it could be just some stray user's file. We probably could be stricter and assume it is config - that way we can surface this error sooner.
I thank you, Pavel, for being active responder!
To everyone experiencing this issue, it would be helpful to work your way up from a minimal working example (npm init playwright seed project) to the state where it breaks on your system. Thank you for your help!
I assume this is what I did and posted in my original message. I ran the command: npm init playwright@latest --yes -- --quiet --browser=chromium --browser=firefox --browser=webkit --gha --install-deps playwright-intro (Same if you do it through Playwright VS Code extension).
But for the sake of trying to narrowing it down, I ran this npm init playwright seed project and I got the same minimal set of files which I already shared in my repo here: https://github.com/ahmad-elkomey/err-report-playwright-regression/tree/main. (Also posted in my original message). I diff'ed the two directories. The only difference is that seed is working with playwright 1.46.1 while the original one is using 1.46.0. I opened VS Code there by navigating to seed directory and ran code .. Still, tests are not recognized. The whole project isn't.
I understand that you're not planning to exert effort on the matter unless there are numerous reports against the same issue. But if you can point me where I can find the logs (or some troubleshooting tips/ideas) so that maybe this will help me troubleshoot the problem and possibly get it fixed.
To everyone experiencing this issue, it would be helpful to work your way up from a minimal working example (npm init playwright seed project) to the state where it breaks on your system. Thank you for your help!
I have tried this one and it was not working I have made a new playwright project from scratch, using init command and it was not working...
What is strange is the fact that the extension is not able to see the project's browsers anymore There was a checkbox with the browser name, now is not there I have tried to add a new browser and nothing was displayed also
I see the following lines get printed every 0.5 sec. It's flooding the Output window.
2024-08-17 17:27:34.750 [trace] ExtHostCommands#executeCommand _testing.getExplorerSelection
2024-08-17 17:27:35.001 [trace] ExtHostCommands#executeCommand testing.getExplorerSelection
I disabled the extension, the log lines aren't printed after. Enabling the extension back again, the logs get printed again.
I also saw this line after opening a new window:
2024-08-17 17:09:31.476 [info] ExtensionService#_doActivateExtension ms-playwright.playwright, startup: true, activationEvent: 'workspaceContains:**/*playwright*.config.{ts,js,mjs}'
And I found this Unexpected end of JSON input error in logs/20240817T150006/window3/renderer.log. What JSON is it referring to? :thinking:
1 2024-08-17 15:04:37.027 [info] Started local extension host with pid 253426.
2 2024-08-17 15:04:39.742 [info] [perf] Render performance baseline is 36ms
3 2024-08-17 15:04:41.308 [info] Started local extension host with pid 253518.
4 2024-08-17 15:04:43.357 [error] [Extension Host] [Playwright Test]: Unexpected end of JSON input
5 2024-08-17 15:04:45.073 [info] [perf] Render performance baseline is 30ms
6 2024-08-17 15:21:33.033 [error] [Extension Host] [Playwright Test]: Unexpected end of JSON input
7 2024-08-17 15:47:51.281 [warning] SettingsEditor2: Settings not included in settingsLayout.ts: issueReporter.experimental.auxWindow
8 2024-08-17 16:04:40.392 [info] Started local extension host with pid 317506.
9 2024-08-17 16:04:43.496 [info] [perf] Render performance baseline is 29ms
10 2024-08-17 16:04:58.567 [info] Started local extension host with pid 317734.
11 2024-08-17 16:05:00.876 [error] [Extension Host] [Playwright Test]: Unexpected end of JSON input
12 2024-08-17 16:05:01.402 [info] [perf] Render performance baseline is 48ms
13 2024-08-17 16:05:09.671 [info] Started local extension host with pid 318160.
14 2024-08-17 16:05:12.410 [info] [perf] Render performance baseline is 38ms
15 2024-08-17 16:06:06.482 [info] Started local extension host with pid 318668.
16 2024-08-17 16:06:08.697 [error] [Extension Host] [Playwright Test]: Unexpected end of JSON input
17 2024-08-17 16:06:09.710 [info] [perf] Render performance baseline is 30ms
The easiest might be to build the vscode extension yourself to debug this issue further where it throws, setting breakpoints here might be a good start, maybe exceptions get logged in the debugging window.
Thats how you can debug the vscode extension itself when you have playwright-vscode repository open:
General steps:
- https://github.com/microsoft/playwright-vscode
- npm ci
- npm run build
- and then inside vscode you can press the launch button
If you need any help, feel free to ping us here. Thanks for digging!
(This "Unexpected end of JSON input" looks indeed unexpected).
Thanks, Max! This is what I needed.
This is the first time to debug a VS Code extension (actually, this is the first time to use VS Code in debugging at all), and I'm encountering a bit of a problem here and I could use your assistance.
I cloned the repo, added two log statements (2 & 3 in the image below), added two breakpoints (4 & 5 in the image below), and reloaded the window with disabling all extensions (1 in the image below). I then ran the two commands npm ci and npm run build.
I then hit "Run Extension in Playwright folder", which opened a new VS Code window. I hit "Open Folder" button and open playwright test which I have a problem with. This is the folder that has the initiated playwright test and I reported this issue for.
So far so good. Now the problem is that the debugger uses files from out directory and not src. This result in the breakpoints not being reachable and the stack trace is pointing to way too far in line width. As you can see in the image below, the breakpoints are dimmed (1) as unbound. And the stack trace (2 through 5) is pointing to character position, if you take the last line in the stack trace for instance, at 21632.
How can I set VS Code to use source files instead of out build files? I tried to follow VS Code tutorial to do Hello World extension. However, I cannot even run the first command npx --package yo --package generator-code -- yo code successfully; as it's complaining about deprecated libraries and then exists! :cry:
Side Note: I also wanted to share that I confirmed all json files under playwright directory are well formed. I ran this command find -name "*.json" | while read -r json_file; do printf "json file: %s. %s.\n" "${json_file}" "$(cat "${json_file}" | jq > /dev/null 2>&1 && echo "Looks good" || echo "Something seems off")"; done
I cloned the repo, added two log statements (2 & 3 in the image below), added two breakpoints (4 & 5 in the image below), and reloaded the window with disabling all extensions (1 in the image below). I then ran the two commands npm ci and npm run build.
Do npm run watch instead and things should work.
How can I set VS Code to use source files instead of out build files? I tried to follow VS Code tutorial to do Hello World extension. However, I cannot even run the first command npx --package yo --package generator-code -- yo code successfully; as it's complaining about deprecated libraries and then exists! 😢
No need to do that.
The screenshot you shared looks great! If you do npm run watch it should yield to good line numbers.
Fantastic! It did indeed put things in place.
Now, I initially found where the problem is. I'm trying to figure if env being empty is OK, and what's JSON is expected to be stored in pwtInfor. It's throwing the exception here at JSON.parse(pwtInfo).
I think is a problem related to how extension works with new vs code versions I do not think that we have to make debug to extension to see where is the problem..
LIke I said before I have made a fresh install on a new PC for VSCode I have used the init command from playwright to generate the template project I have installed the extension and it was not working How is this still a problem if I have made the setup on a new PC? :)
@ahmad-elkomy great work! I recommend to put a breakpoint here to see what value Node.js has: https://github.com/microsoft/playwright-vscode/blob/655097bd3e295b9894ebe94b190c5aefc4660efb/src/utils.ts#L144
env being empty is ok, since these are just extra env vars, we spread them with the parent env here: https://github.com/microsoft/playwright-vscode/blob/655097bd3e295b9894ebe94b190c5aefc4660efb/src/utils.ts#L96
@AlexDorha please file a separate issue with more details and follow the bug template. Node.js/VSCode version etc are crucial for us to understand it better. We have thousands of users for whom its working - so most likely its a misconfiguration on your system of e.g. Node.js. More than happy to debug it further tho!
@mxschmitt, it's the correct path to node executable.
I see, there might be some incompatibility between our extension and Node.js installed via Snap. There are also known VSCode issues, that if you have VSCode installed via Snap WebKit doesn't work. We recommend installing Node.js via nvm instead. Looking at https://github.com/microsoft/playwright/issues/31558.
We are unfortunately not very experienced with Snap - maybe @AlexDorha is also using snap.
I see, there might be some incompatibility between our extension and Node.js installed via Snap. There are also known VSCode issues, that if you have VSCode installed via Snap WebKit doesn't work. We recommend installing Node.js via nvm instead. Looking at #31558.
We are unfortunately not very experienced with Snap - maybe @AlexDorha is also using snap.
I have raised a bug and the repo here https://github.com/microsoft/playwright/issues/32221
Even I am facing the same issue
The Green run button is not visible for every test
There are no tests shown in the test explorer
And the Add project button is also not functioning
@mxschmitt Any updates on when this issue will be resolved or any workaround? This is a really handy feature and now I have to run the UI mode everytime I have to run a single test