Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-19234

Wicket JavaScript tests fail due to NPM bug

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Buildbot
    • Labels:
      None
    • Project:
      Wicket

      Description

      Apache Wicket JavaScript tests started failing due to some NPM (Node Package Manager) bug:

      https://ci.apache.org/builders/wicket-master/builds/1177/steps/compile/logs/stdio

      {code}
      INFO] --- frontend-maven-plugin:1.8.0:npm (npm install) @ wicket-js-tests ---
      [INFO] Running 'npm install' in /home/buildslave/slave/wicket-master/build/testing/wicket-js-tests
      [INFO] npm ERR! correctMkdir failed to make directory /home/dfoulks/.npm/_locks
      [INFO] npm ERR! code EACCES
      [INFO] npm ERR! syscall mkdir
      [INFO] npm ERR! path /home/dfoulks/.npm
      [INFO] npm ERR! errno -13
      [INFO] npm ERR!
      [INFO] npm ERR! Your cache folder contains root-owned files, due to a bug in
      [INFO] npm ERR! previous versions of npm which has since been addressed.
      [INFO] npm ERR!
      [INFO] npm ERR! To permanently fix this problem, please run:
      [INFO] npm ERR! sudo chown -R 998:999 "/home/dfoulks/.npm"

      {code}

      Could someone with the respective permissions fix the ownership of this folder ?
      Thank you!

        Attachments

          Activity

            People

            • Assignee:
              dfoulks Drew Foulks
              Reporter:
              mgrigorov Martin Tzvetanov Grigorov

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment