Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-3257

Address pre-commit failures

Issue XMLXMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Global JJB

      https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/lf-infra-global-jjb-tox-verify-any/2913/console.log.gz

       

      [INFO] Installing environment for https://github.com/prettier/prettier.
      [INFO] Once installed this environment will be reused.
      [INFO] This may take a few minutes...
      An unexpected error has occurred: CalledProcessError: command: ('/home/jenkins/.cache/pre-commit/repo1mzdii2r/node_env-default/bin/node', '/home/jenkins/.cache/pre-commit/repo1mzdii2r/node_env-default/bin/npm', 'install')
      return code: 1
      expected return code: 0
      stdout: (none)
      stderr:
          npm notice 
          npm notice New patch version of npm available! 7.0.3 -> 7.0.5
          npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.0.5>
          npm notice Run `npm install -g npm@7.0.5` to update!
          npm notice 
          npm ERR! code ERESOLVE
          npm ERR! ERESOLVE unable to resolve dependency tree
          npm ERR! 
          npm ERR! While resolving: prettier@2.0.5
          npm ERR! Found: rollup@2.3.2
          npm ERR! node_modules/rollup
          npm ERR!   dev rollup@"2.3.2" from the root project
          npm ERR! 
          npm ERR! Could not resolve dependency:
          npm ERR! peer rollup@"^1.20.0" from @rollup/plugin-alias@3.0.1
          npm ERR! node_modules/@rollup/plugin-alias
          npm ERR!   dev @rollup/plugin-alias@"3.0.1" from the root project
          npm ERR! 
          npm ERR! Fix the upstream dependency conflict, or retry
          npm ERR! this command with --force, or --legacy-peer-deps
          npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
          npm ERR! 
          npm ERR! See /home/jenkins/.npm/eresolve-report.txt for a full report.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/jenkins/.npm/_logs/2020-10-27T23_58_15_116Z-debug.log
          
      Check the log at /home/jenkins/.cache/pre-commit/pre-commit.log
      ERROR: InvocationError for command /w/workspace/lf-infra-global-jjb-tox-verify-any/.tox/pre-commit/bin/pre-commit run --all-files --show-diff-on-failure (exited with code 1)
      

       

              askb Anil Belur
              askb Anil Belur
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: