Comments (7)
I got curious again by #52959 (comment) and indeed this doesn't reproduce on 07f481c but does on 91661ec so it looks like something in #52293 introduced this flakiness as well / aka probably it's the same root cause.
from node.
I'm able to reproduce locally: running the test 100'000 times, I got 6 timeouts. If I add a console.log("pass")
at the end of the file, it gets printed even when the test times out. Adding process.exit();
does not help.
from node.
I also investigated this a bit earlier. I was able to reproduce it quite consistently with just a 1000 runs and reduced it to this:
'use strict';
require('../common');
const assert = require('assert');
const { constants: { MAX_STRING_LENGTH } } = require('buffer');
const len = MAX_STRING_LENGTH + 1;
const message = {
code: 'ERR_STRING_TOO_LONG',
name: 'Error',
};
assert.throws(() => Buffer(len).toString('utf8'), message);
assert.throws(() => Buffer(len).toString('utf8'), message);
Removing either the second buffer.toString
call, the ../common
import, adding a console.log('pass')
at the end or using a debug build will make it not reproduce anymore. 🙃 🤔
from node.
Could we try to add --no-warnings
CLI flag and see if that would have any effect? EDIT: nope, I tried with both --no-warnings
and --no-deprecation
, and I was still getting timeouts
from node.
@fahrradflucht can you try with the --jitless
flag?
from node.
@fahrradflucht can you try with the
--jitless
flag?
It indeed does not reproduce with --jitless
on 91661ec.
from node.
I got curious again by #52959 (comment) and indeed this doesn't reproduce on 07f481c but does on 91661ec so it looks like something in #52293 introduced this flakiness as well / aka probably it's the same root cause.
Actually, I'm sorry, I think I have to take this back. I now reproduced a bunch of times on 07f481c as well. It might happen less prior to the v8 update, but it can be reproduced as well.
from node.
Related Issues (20)
- nro dame hight
- Node js is executing files with wrong and different extensions. HOT 2
- c-ares update script broken by c-ares 1.30.0 HOT 1
- Clear kResourceStore in timers and intervals HOT 4
- Intl.DateTimeFormat range error when passing UTC offset to timeZone option HOT 2
- `deepStrictEqual` fails for Sets that contain both object references and equivalent object values HOT 8
- NodeJS unconditionally uses AVX512 instructions even if they are disabled HOT 3
- Allow parseArgs options to have an optional value HOT 4
- fetch timeouts when fetching any substack page (ConnectTimeoutError) HOT 3
- v22.3.0 compilation failure on Windows HOT 1
- ESLint Error [ERR_INTERNAL_ASSERTION]: Code: ERR_MODULE_NOT_FOUND HOT 2
- Node command doesn't work on MacOS Sequoia HOT 6
- node_mksnapshot debug build segfault
- [Bug]: use pm2 and --experimental-permission, throw Error: Access to this API has been restricted HOT 8
- t.assert is not a function HOT 5
- polyfillDispose Bug HOT 2
- Link anchor issue on Process page HOT 5
- import order causes an ERR_INTERNAL_ASSERTION error HOT 5
- HTTP agent timeout overridden by previous keep-alive:timeout value
- [--env-file] Space between = and " will cause the value to be parsed as an unquoted string HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.