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

build: add pummel tests to ci runs #34289

Merged
merged 5 commits into from Apr 10, 2021
Merged

build: add pummel tests to ci runs #34289

merged 5 commits into from Apr 10, 2021

Conversation

@Trott
Copy link
Member

@Trott Trott commented Jul 10, 2020

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
@nodejs-github-bot

This comment has been hidden.

@gengjiawen
Copy link
Member

@gengjiawen gengjiawen commented Jul 10, 2020

ASAN check failed with, since it works in normal test, we may need to skip it in asan, like in

if (process.config.variables.asan)
common.skip('ASAN messes with memory measurements');

Fail log:

AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  assert.ok(maxMem < 64 * 1024 * 1024)

    at process.<anonymous> (/home/runner/work/node/node/test/pummel/test-vm-memleak.js:61:10)
    at process.emit (events.js:326:22) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}
Command: out/Release/node --max_old_space_size=32 /home/runner/work/node/node/test/pummel/test-vm-memleak.js
@Trott

This comment has been hidden.

@Trott
Copy link
Member Author

@Trott Trott commented Jul 12, 2020

ASAN check failed with, since it works in normal test, we may need to skip it in asan, like in

Is this something you're seeing in CI or testing locally?

Same test failed on AIX. https://ci.nodejs.org/job/node-test-commit-aix/31507/nodes=aix71-ppc64/testReport/junit/(root)/test/pummel_test_vm_memleak/

@Trott Trott force-pushed the Trott:pummel-in-ci branch Jul 12, 2020
@nodejs-github-bot

This comment has been hidden.

@Trott Trott force-pushed the Trott:pummel-in-ci branch Jul 14, 2020
@nodejs-github-bot

This comment has been hidden.

@Trott Trott force-pushed the Trott:pummel-in-ci branch Jul 15, 2020
@nodejs-github-bot

This comment has been hidden.

@nodejs-github-bot

This comment has been hidden.

@nodejs-github-bot

This comment has been hidden.

@Trott Trott mentioned this pull request Jul 23, 2020
3 of 4 tasks
@Trott Trott force-pushed the Trott:pummel-in-ci branch Jul 26, 2020
@nodejs-github-bot

This comment has been hidden.

@gengjiawen
Copy link
Member

@gengjiawen gengjiawen commented Jul 27, 2020

on macOS, not sure flaky

Also assert.js:103
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

false !== true

    at Timeout._onTimeout (/Users/runner/work/node/node/test/pummel/test-timers.js:55:10)
    at listOnTimeout (internal/timers.js:555:17)
    at processTimers (internal/timers.js:498:7) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: 'strictEqual'
}
Command: out/Release/node /Users/runner/work/node/node/test/pummel/test-timers.js
@nodejs-github-bot

This comment has been hidden.

@nodejs-github-bot

This comment has been hidden.

@Trott

This comment has been hidden.

@Trott Trott force-pushed the Trott:pummel-in-ci branch Aug 25, 2020
@nodejs-github-bot

This comment has been hidden.

@nodejs-github-bot

This comment has been hidden.

@nodejs-github-bot

This comment has been hidden.

@nodejs-github-bot

This comment has been hidden.

@nodejs-github-bot

This comment has been hidden.

@nodejs-github-bot

This comment has been hidden.

@Trott Trott force-pushed the Trott:pummel-in-ci branch to 8ce487d Sep 21, 2020
@nodejs-github-bot

This comment has been hidden.

Trott added 3 commits Apr 7, 2021
PR-URL: #34289
Reviewed-By: Richard Lau <rlau@redhat.com>
The pummel tests result in the Windows coverage runs in CI to exhaust
memory, so we need to bump up the heap size.

PR-URL: #34289
Reviewed-By: Richard Lau <rlau@redhat.com>
PR-URL: #34289
Reviewed-By: Richard Lau <rlau@redhat.com>
@Trott Trott force-pushed the Trott:pummel-in-ci branch from 0f838b2 to 2853b76 Apr 10, 2021
@Trott
Copy link
Member Author

@Trott Trott commented Apr 10, 2021

Landed in 6a1986d...2853b76

@Trott Trott merged commit 2853b76 into nodejs:master Apr 10, 2021
16 checks passed
16 checks passed
@github-actions
build-tarball
Details
@github-actions
build-windows
Details
@github-actions
coverage-linux
Details
@github-actions
coverage-windows
Details
@github-actions
lint-addon-docs
Details
@github-actions
build-docs
Details
@github-actions
test-asan
Details
@github-actions
test-linux
Details
@github-actions
test-macOS
Details
@github-actions
lint-cpp
Details
@github-actions
lint-md
Details
@github-actions
lint-js
Details
@github-actions
lint-py
Details
@github-actions
lint-sh
Details
@github-actions
lint-codeowners
Details
@github-actions
lint-pr-url
Details
@Trott Trott deleted the Trott:pummel-in-ci branch Apr 10, 2021
@targos
Copy link
Member

@targos targos commented Apr 20, 2021

These tests take quite a long time on the Raspberry Pis (and sometimes fail with a timeout). Could we disable pummel tests on node-test-binary-arm-12+ ?

@Trott
Copy link
Member Author

@Trott Trott commented Apr 20, 2021

These tests take quite a long time on the Raspberry Pis (and sometimes fail with a timeout). Could we disable pummel tests on node-test-binary-arm-12+ ?

Looking at Pi 2 results in https://ci.nodejs.org/job/node-test-binary-arm-12+/10400/, the longest running tests (and how long it took them to run in seconds) are:

  1. pummel/test-crypto-dh-hash-modp18 (700.975)
  2. pummel/test-policy-integrity (696.201)
  3. pummel/test-crypto-dh-hash (451.29)
  4. pummel/test-dh-regr (311.406)
  5. pummel/test-next-tick-infinite-calls (260.476)
  6. parallel/test-webcrypto-derivebits-pbkdf2 (170.465)
  7. parallel/test-heapsnapshot-near-heap-limit (136.232)
  8. sequential/test-net-bytes-per-incoming-chunk-overhead (82.495)
  9. pummel/test-fs-watch-system-limit (75.903)
  10. parallel/test-heapsnapshot-near-heap-limit-bounded (72.233)

I think it makes sense to:

  1. move those above that aren't already in pummel into pummel,
  2. move the pummel tests that only take a second or two to run to somewhere outside of pummel (although we'll need to check them for why they are in pummel in the first place--for example, if it's disk usage, that might warrant staying in pummel even if they only take a few seconds to run)
  3. set up pummel tests to skip on Raspberry Pi.

I'll get to work on this tonight and hopefully have a PR together quickly.

Trott added a commit to Trott/io.js that referenced this pull request Apr 25, 2021
Skipped the longest-running pummel tests on the Raspberry Pi devices in
CI.

Refs: nodejs#34289 (comment)
Trott added a commit to Trott/io.js that referenced this pull request Apr 25, 2021
Move slower tests to pummel and skip on Raspberry Pi devices in CI.

Refs: nodejs#34289 (comment)
Trott added a commit to Trott/io.js that referenced this pull request Apr 27, 2021
Skipped the longest-running pummel tests on the Raspberry Pi devices in
CI.

Refs: nodejs#34289 (comment)

PR-URL: nodejs#38394
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Trott added a commit to Trott/io.js that referenced this pull request Apr 27, 2021
Move slower tests to pummel and skip on Raspberry Pi devices in CI.

Refs: nodejs#34289 (comment)

PR-URL: nodejs#38395
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
targos added a commit that referenced this pull request Apr 29, 2021
Skipped the longest-running pummel tests on the Raspberry Pi devices in
CI.

Refs: #34289 (comment)

PR-URL: #38394
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
targos added a commit that referenced this pull request Apr 29, 2021
Move slower tests to pummel and skip on Raspberry Pi devices in CI.

Refs: #34289 (comment)

PR-URL: #38395
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
targos added a commit that referenced this pull request May 1, 2021
The check for an 800ms window makesw assumptions about a setTimeout()
not running late etc. Remove it.

Refs: #34289

PR-URL: #38060
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
targos added a commit that referenced this pull request May 1, 2021
The test is too slow to run on the Raspberry Pi bots. (It takes over 500
seconds to run on Pi 3 bots and over 900 seconds  on Pi 2 bots.) Skip
it on armv6 and armv7.

Refs: #34289

PR-URL: #38076
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
targos added a commit that referenced this pull request May 1, 2021
The test is too slow to run on the Raspberry Pi bots. (It takes over 900
seconds to run on Pi 3 bots and even more than that on Pi 2 bots.) Skip
it on armv6 and armv7.

Refs: #34289

PR-URL: #34289
Reviewed-By: Richard Lau <rlau@redhat.com>
targos added a commit that referenced this pull request May 1, 2021
ASAN increases memory usage, which in turn messes up the memory leak
test. Skip the test on ASAN.

PR-URL: #34289
Reviewed-By: Richard Lau <rlau@redhat.com>
@danielleadams danielleadams mentioned this pull request May 3, 2021
danielleadams added a commit that referenced this pull request May 8, 2021
The test is too slow to run on the Raspberry Pi bots. (It takes over 900
seconds to run on Pi 3 bots and even more than that on Pi 2 bots.) Skip
it on armv6 and armv7.

Refs: #34289

PR-URL: #34289
Reviewed-By: Richard Lau <rlau@redhat.com>
danielleadams added a commit that referenced this pull request May 8, 2021
ASAN increases memory usage, which in turn messes up the memory leak
test. Skip the test on ASAN.

PR-URL: #34289
Reviewed-By: Richard Lau <rlau@redhat.com>
targos added a commit that referenced this pull request May 30, 2021
Skipped the longest-running pummel tests on the Raspberry Pi devices in
CI.

Refs: #34289 (comment)

PR-URL: #38394
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
targos added a commit that referenced this pull request Jun 5, 2021
Skipped the longest-running pummel tests on the Raspberry Pi devices in
CI.

Refs: #34289 (comment)

PR-URL: #38394
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
targos added a commit that referenced this pull request Jun 5, 2021
Skipped the longest-running pummel tests on the Raspberry Pi devices in
CI.

Refs: #34289 (comment)

PR-URL: #38394
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
targos added a commit that referenced this pull request Jun 11, 2021
Skipped the longest-running pummel tests on the Raspberry Pi devices in
CI.

Refs: #34289 (comment)

PR-URL: #38394
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants