Skip to content

flaky installation on ci server #882

@geyuqiu

Description

@geyuqiu
$ ./mvnw com.github.eirslett:frontend-maven-plugin:install-node-and-npm -DnodeVersion=v12.13.1 -DnpmVersion=6.13.4 -Dmaven.repo.local=$MAVEN_USER_HOME
[ERROR] The archive file .../.maven/com/github/eirslett/node/12.13.1/node-12.13.1-linux-x64.tar.gz
is corrupted and will be deleted. Please try the build again.
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.8.0:
install-node-and-npm (default-cli) on project cbkop-gui-unified: Could not extract the Node archive:
Could not extract archive: '.../.maven/com/github/eirslett/node/12.13.1/node-12.13.1-linux-x64.tar.gz': EOFException -> [Help 1]

Do you want to request a feature or report a bug?
bug
What is the current behavior?
because of a "failure" ci-setup, every push is built under the same directory
flaky behavior: most of the time successfully
suggested fix
the archive maybe corrupted before
and reinstallation should be clearing the old outdated / corrupted files?
question: try rm -rf .maven before installation ?
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
runs smoothly every time
Please mention your frontend-maven-plugin and operating system version.
Red hat linux: 7
frontend-maven-plugin: 1.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions