Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16797

Coverity plugin insert cov-build commands into perforce workspace causing P4 to fail

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • coverity-plugin

      While Not using Coverity Plugin:
      Building in workspace C:\Program Files (x86)\Jenkins\jobs\Demo\workspace
      Using master perforce client: coverity_demo_win
      [workspace] $ "C:\Program Files\Perforce\p4.exe" -P 2724A1B5872D6C885C36A8633DEEEE3A workspace -o coverity_demo_win
      'Don't update client' is set. Not saving the client changes.
      Note: .repository directory in workspace (if exists) is skipped during clean.
      Quickly cleaning workspace...
      .
      .
      .
      .
      Build succeeded.
      .
      .
      .
      .
      Time Elapsed 00:01:28.86

      While Using Coverity Plugin:
      Building in workspace C:\Program Files (x86)\Jenkins\jobs\Demo\workspace
      Using master perforce client: coverity_demo_Win
      [workspace] $ "C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-build" --dir C:\Demo\coverity --instrument --encoding UTF-8 --enable-pch C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe C:\demo\win32\vc10\demotest.sln /p:configuration=Release /p:platform=x64 /nr:false "C:\Program Files\Perforce\p4.exe" workspace -o coverity_demo_win

          • Perforce client workspace 'coverity_demo_win' doesn't exist.
          • Please create it, or allow Jenkins to manage clients on it's own.
          • If the client name mentioned above is not what you expected,
          • check your 'Client name format for slaves' advanced config option.
            ERROR: Error accessing perforce workspace.
            Finished: FAILURE

      Please note workspace "coverity_demo_win" does exist.
      The error occur while coverity plugin is enable.
      When Coverity plugin is disable Perforce were able to sync & build without any issue.

      Coverity plugin interfere with perforce commands.

          [JENKINS-16797] Coverity plugin insert cov-build commands into perforce workspace causing P4 to fail

          Chung Yee Liew created issue -
          Chung Yee Liew made changes -
          Description Original: While Not using Coverity Plugin
          Building in workspace C:\Program Files (x86)\Jenkins\jobs\Demo\workspace
          Using master perforce client: coverity_demo_win
          [workspace] $ "C:\Program Files\Perforce\p4.exe" -P 2724A1B5872D6C885C36A8633DEEEE3A workspace -o coverity_demo_win
          'Don't update client' is set. Not saving the client changes.
          Note: .repository directory in workspace (if exists) is skipped during clean.
          Quickly cleaning workspace...
          .
          .
          .
          .
          Build succeeded.
          .
          .
          .
          .
          Time Elapsed 00:01:28.86

          While Using Coverity Plugin:
          Building in workspace C:\Program Files (x86)\Jenkins\jobs\Demo\workspace
          Using master perforce client: coverity_demo_Win
          [workspace] $ "C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-build" --dir C:\Demo\coverity --instrument --encoding UTF-8 --enable-pch C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe C:\demo\win32\vc10\demotest.sln /p:configuration=Release /p:platform=x64 /nr:false "C:\Program Files\Perforce\p4.exe" workspace -o coverity_demo_win
          *** Perforce client workspace 'coverity_demo_win' doesn't exist.
          *** Please create it, or allow Jenkins to manage clients on it's own.
          *** If the client name mentioned above is not what you expected,
          *** check your 'Client name format for slaves' advanced config option.
          ERROR: Error accessing perforce workspace.
          Finished: FAILURE

          Please note workspace "coverity_demo_win" does exist.
          The error occur while coverity plugin is enable.
          When Coverity plugin is disable Perforce plugin were about to sync & build without any issue.

          Coverity plugin interfere with perforce commands.
          New: While Not using Coverity Plugin:
          Building in workspace C:\Program Files (x86)\Jenkins\jobs\Demo\workspace
          Using master perforce client: coverity_demo_win
          [workspace] $ "C:\Program Files\Perforce\p4.exe" -P 2724A1B5872D6C885C36A8633DEEEE3A workspace -o coverity_demo_win
          'Don't update client' is set. Not saving the client changes.
          Note: .repository directory in workspace (if exists) is skipped during clean.
          Quickly cleaning workspace...
          .
          .
          .
          .
          Build succeeded.
          .
          .
          .
          .
          Time Elapsed 00:01:28.86

          While Using Coverity Plugin:
          Building in workspace C:\Program Files (x86)\Jenkins\jobs\Demo\workspace
          Using master perforce client: coverity_demo_Win
          [workspace] $ "C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-build" --dir C:\Demo\coverity --instrument --encoding UTF-8 --enable-pch C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe C:\demo\win32\vc10\demotest.sln /p:configuration=Release /p:platform=x64 /nr:false "C:\Program Files\Perforce\p4.exe" workspace -o coverity_demo_win
          *** Perforce client workspace 'coverity_demo_win' doesn't exist.
          *** Please create it, or allow Jenkins to manage clients on it's own.
          *** If the client name mentioned above is not what you expected,
          *** check your 'Client name format for slaves' advanced config option.
          ERROR: Error accessing perforce workspace.
          Finished: FAILURE

          Please note workspace "coverity_demo_win" does exist.
          The error occur while coverity plugin is enable.
          When Coverity plugin is disable Perforce plugin were about to sync & build without any issue.

          Coverity plugin interfere with perforce commands.
          Chung Yee Liew made changes -
          Description Original: While Not using Coverity Plugin:
          Building in workspace C:\Program Files (x86)\Jenkins\jobs\Demo\workspace
          Using master perforce client: coverity_demo_win
          [workspace] $ "C:\Program Files\Perforce\p4.exe" -P 2724A1B5872D6C885C36A8633DEEEE3A workspace -o coverity_demo_win
          'Don't update client' is set. Not saving the client changes.
          Note: .repository directory in workspace (if exists) is skipped during clean.
          Quickly cleaning workspace...
          .
          .
          .
          .
          Build succeeded.
          .
          .
          .
          .
          Time Elapsed 00:01:28.86

          While Using Coverity Plugin:
          Building in workspace C:\Program Files (x86)\Jenkins\jobs\Demo\workspace
          Using master perforce client: coverity_demo_Win
          [workspace] $ "C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-build" --dir C:\Demo\coverity --instrument --encoding UTF-8 --enable-pch C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe C:\demo\win32\vc10\demotest.sln /p:configuration=Release /p:platform=x64 /nr:false "C:\Program Files\Perforce\p4.exe" workspace -o coverity_demo_win
          *** Perforce client workspace 'coverity_demo_win' doesn't exist.
          *** Please create it, or allow Jenkins to manage clients on it's own.
          *** If the client name mentioned above is not what you expected,
          *** check your 'Client name format for slaves' advanced config option.
          ERROR: Error accessing perforce workspace.
          Finished: FAILURE

          Please note workspace "coverity_demo_win" does exist.
          The error occur while coverity plugin is enable.
          When Coverity plugin is disable Perforce plugin were about to sync & build without any issue.

          Coverity plugin interfere with perforce commands.
          New: While Not using Coverity Plugin:
          Building in workspace C:\Program Files (x86)\Jenkins\jobs\Demo\workspace
          Using master perforce client: coverity_demo_win
          [workspace] $ "C:\Program Files\Perforce\p4.exe" -P 2724A1B5872D6C885C36A8633DEEEE3A workspace -o coverity_demo_win
          'Don't update client' is set. Not saving the client changes.
          Note: .repository directory in workspace (if exists) is skipped during clean.
          Quickly cleaning workspace...
          .
          .
          .
          .
          Build succeeded.
          .
          .
          .
          .
          Time Elapsed 00:01:28.86

          While Using Coverity Plugin:
          Building in workspace C:\Program Files (x86)\Jenkins\jobs\Demo\workspace
          Using master perforce client: coverity_demo_Win
          [workspace] $ "C:\Program Files\Coverity\Coverity Static Analysis\bin\cov-build" --dir C:\Demo\coverity --instrument --encoding UTF-8 --enable-pch C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe C:\demo\win32\vc10\demotest.sln /p:configuration=Release /p:platform=x64 /nr:false "C:\Program Files\Perforce\p4.exe" workspace -o coverity_demo_win
          *** Perforce client workspace 'coverity_demo_win' doesn't exist.
          *** Please create it, or allow Jenkins to manage clients on it's own.
          *** If the client name mentioned above is not what you expected,
          *** check your 'Client name format for slaves' advanced config option.
          ERROR: Error accessing perforce workspace.
          Finished: FAILURE

          Please note workspace "coverity_demo_win" does exist.
          The error occur while coverity plugin is enable.
          When Coverity plugin is disable Perforce were able to sync & build without any issue.

          Coverity plugin interfere with perforce commands.
          Caleb Mayeux made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 147625 ] New: JNJira + In-Review [ 192505 ]
          Shami Willms made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            Unassigned Unassigned
            cyliew Chung Yee Liew
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: