Skip to content

Conversation

akashchi
Copy link
Contributor

@akashchi akashchi commented Sep 23, 2025

@akashchi akashchi added this to the 2025.4 milestone Sep 23, 2025
@akashchi akashchi requested a review from mryzhov September 23, 2025 12:56
@Copilot Copilot AI review requested due to automatic review settings September 23, 2025 12:56
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes redundant arguments from the Coverity static analysis command in the GitHub Actions workflow to simplify the build process.

  • Removed the --fs-capture-search ./openvino.genai argument from the cov-build command

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions github-actions bot added the category: GHA CI based on Github actions label Sep 23, 2025
- name: Build for coverity
run: |
${{ env.COV_TOOL_DIR }}/bin/cov-build --config ${{ env.COV_TOOL_DIR }}/config/coverity_config.xml --tmpdir cov_temp --dir ${BUILD_DIR}/cov-int --fs-capture-search ./openvino.genai sh build.sh
${{ env.COV_TOOL_DIR }}/bin/cov-build --config ${{ env.COV_TOOL_DIR }}/config/coverity_config.xml --tmpdir cov_temp --dir ${BUILD_DIR}/cov-int sh build.sh
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's needed to include python configured by cov-configure --python --no-capture-config-files --version 3

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is needed? --fs-capture-search or ./openvino.genai? If the former, then there should be another argument because
image
Since I do not have the admin rights to any Coverity project, I cannot check the command-line docs. If you could, please provide a replacement argument.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've invited you to the project. Let me know if you need secrets.COVERITY_SECRET_TOKEN value.

They deprecated --fs-capture-search https://documentation.blackduck.com/bundle/coverity-docs-2024.6/page/coverity-analysis/topics/moving_from_filesystem_capture_to_the_coverity_cli.html Will you be able to update the workflow to use the new tool?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is why I removed the argument.
image
As I understand, the latest available version is installed every time. Because of that, the Coverity pipelines started to fail when a newer version was installed with the argument deprecated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, the sole invite to a project is not enough:
image
Admin access is required.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I upgraded your account

@akashchi akashchi requested a review from Wovchena September 24, 2025 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: GHA CI based on Github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants