prestodb / presto

The official home of the Presto distributed SQL query engine for big data
http://prestodb.io
Apache License 2.0
16.04k stars 5.37k forks source link

Flakiness while trying to download Nodejs during Presto Build in CI #23573

Open imjalpreet opened 2 months ago

imjalpreet commented 2 months ago
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.15.0:install-node-and-yarn (install node and yarn) on project presto-ui: Could not download Node.js: Could not download https://nodejs.org/dist/v18.20.2/node-v18.20.2-linux-x64.tar.gz: Premature end of Content-Length delimited message body (expected: 44,323,820; received: 9,609,216) -> [Help 1]

I have seen this flakiness more frequently over the last week.

Some examples: https://app.circleci.com/pipelines/github/prestodb/presto/19642/workflows/bcab4431-b172-43d4-a362-4bb6d2af09bd/jobs/78839

Multiple Modules failed here: https://github.com/prestodb/presto/actions/runs/10632754758/job/29476377068

elharo commented 2 months ago

I've seen this too. Trying to embed the node build system into the Maven system is indeed painful. We need an improved com.github.eirslett:frontend-maven-plugin or an entirely different way to build all this that only downloads tools from Maven Central.