Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes: Memory not getting released - Failed to adjust OOM score of renderer with pid 610. Permission denied. #29563

Open
nemonemi opened this issue May 23, 2024 · 16 comments
Assignees
Labels
browser: chromium stage: needs information Not enough info to reproduce the issue type: performance 🏃‍♀️ Performance related

Comments

@nemonemi
Copy link

nemonemi commented May 23, 2024

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.
image

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.

@nemonemi nemonemi changed the title Memory not getting released Memory not getting released - Failed to adjust OOM score of renderer with pid 610. Permission denied. May 23, 2024
@jennifer-shehane jennifer-shehane added type: performance 🏃‍♀️ Performance related stage: needs investigating Someone from Cypress needs to look at this labels May 23, 2024
@nemonemi
Copy link
Author

nemonemi commented Jun 4, 2024

If this keeps growing, we won't be able to simply crank up the memory limit, nor, in my opinion, should it be consuming so many resources for such a simple application/test suite.

@jennifer-shehane
Copy link
Member

@nemonemi Can you provide the simple test case for us to run and reproduce?

@nemonemi
Copy link
Author

nemonemi commented Jun 5, 2024

@jennifer-shehane, as stated at the beginning of the ticket, it is not.

If we understood what was causing the issue, then we would, perhaps, be able to resolve it ourselves or provide more information.
If there is some other information that you need, that is missing here, please let me know how to obtain it, and it will be added to the ticket.

@jennifer-shehane
Copy link
Member

We need a way to run the code or similar code that reproduces this situation in order to debug.

@nemonemi
Copy link
Author

nemonemi commented Jun 6, 2024

For more details, I have referenced this ticket #26175 which shows the same error.

If this one cannot be worked on, can at least the other one be resolved?

@jennifer-shehane
Copy link
Member

@nemonemi Thanks for linking that discussion.

@jennifer-shehane jennifer-shehane changed the title Memory not getting released - Failed to adjust OOM score of renderer with pid 610. Permission denied. Kubernetes: Memory not getting released - Failed to adjust OOM score of renderer with pid 610. Permission denied. Jul 29, 2024
@jennifer-shehane
Copy link
Member

Can someone provide a reproducible example? What repo to run + how it's being run. I have Kubernetes running on Docker desktop with a cypress/included 13.3.1 image. I'm running a series of tests that actually do crash Chrome do to the memory consumption, but I'm not seeing this permission error.

@jennifer-shehane jennifer-shehane added stage: needs information Not enough info to reproduce the issue and removed stage: needs investigating Someone from Cypress needs to look at this labels Jul 30, 2024
@jasonmw77
Copy link

I have experienced this issue with electron as well

@AndyWendt
Copy link

AndyWendt commented Aug 6, 2024

We have the same issue using Electron on Bitbucket Pipelines. Cypress for Vue Component testing. Only one test fails.

@jennifer-shehane
Copy link
Member

We'll need a repo to run in order to investigate.

@joh-klein
Copy link

@MikeMcC399
Copy link
Contributor

@joh-klein

This chromium issue is related: Suppress failed to trigger oom adjust warning on kubernetes by default

Thanks for providing that Chromium link! According to the last entry in that issue, the Chromium folks want to pass the issue back to Cypress.

@AndroidLabs-org
Copy link

Same happened with bitbucket pipelines. Config of pipeline:

image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1

pipelines:
  default:
    - step:
        caches:
          - npm
          - cypress
          - node
        script:
          - npm install
          - npx cypress install
          - npm run start:ci
          - npm run test:ci
        artifacts:
          - cypress/screenshots/**
          - cypress/videos/**
definitions:
  caches:
    npm: $HOME/.npm
    cypress: $HOME/.cache/Cypress

@bahunov
Copy link

bahunov commented Oct 9, 2024

Seeing same issue here as well cypress v11

@markrity
Copy link

We are encountering the same error while running in a self-hosted environment using actions-runner-controller/actions-runner-controller.

Cypress:        13.15.0                                                                        
Browser:        Chrome 130 (headless)                                                          
Node Version:   v20.18.0 (/usr/local/bin/node)                                                 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser: chromium stage: needs information Not enough info to reproduce the issue type: performance 🏃‍♀️ Performance related
Projects
None yet
Development

No branches or pull requests

9 participants