Playwright (1.45.2) Jenkins Pipeline Issue-Typescript

dimitri dey - Aug 1 - - Dev Community

pipeline {
agent { docker { image 'mcr.microsoft.com/playwright:v1.45.2-jammy' } }
stages {
stage('e2e-tests') {
steps {
sh 'npm ci'
sh 'npx playwright test'
}
}
}
}

Getting Below Issue -

$ docker top 0be1e38b53f00d00bb87eda13fe6d9ab7024d17397cb25838c086a7a4bb3e92a -eo pid,comm
[Pipeline] {
[Pipeline] stage
[Pipeline] { (tests)
[Pipeline] sh

  • npm ci

# node[17]: std::unique_ptr node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start() at ../src/node_platform.cc:68
# Assertion failed: (0) == (uv_thread_create(t.get(), start_thread, this))

----- Native stack trace -----

1: 0xcba1e7 node::Assert(node::AssertionInfo const&) [node]
2: 0xd39a6e node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [node]
3: 0xd39b4c node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
4: 0xc6e2f7 [node]
5: 0xc6f854 node::Start(int, char**) [node]
6: 0x7f2fedf3bd90 [/lib/x86_64-linux-gnu/libc.so.6]
7: 0x7f2fedf3be40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
8: 0xbc430e _start [node]
Aborted (core dumped)

.
Terabox Video Player