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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: coverity-plugin
    • Environment:
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          cyliew Chung Yee Liew created issue -
          cyliew Chung Yee Liew made changes -
          Field Original Value New Value
          Description 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.
          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.
          cyliew Chung Yee Liew made changes -
          Description 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.
          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.
          cmayeux Caleb Mayeux made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 147625 ] JNJira + In-Review [ 192505 ]
          shami Shami Willms made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: