I am trying to upload the results of bugfinder analysis downloaded from server to the Polyspace Access. But I keep getting this error

조회 수: 9 (최근 30일)
C:\RTC\Athapa_ws1\vcm_app\Polyspace\Polyspace launch files>polyspace-access -host usdc-ppoly1 -protocol http -login loginName -encrypted-password Password -create-project myTestProject Connecting to http://usdc-ppoly1:9443 Connecting as loginName PROJECT_EXISTS myTestProject Command Completed
C:\RTC\Athapa_ws1\vcm_app\Polyspace\Polyspace launch files>polyspace-access -host usdc-ppoly1 -protocol http -login loginName -encrypted-password Password -upload ./Bug_finder_results -project myTestProject Error: Results generated with the desktop application can only be uploaded to Polyspace Access from the desktop user interface Try 'polyspace-access -h' for more information Press any key to continue . . .

채택된 답변

Anirban
Anirban 2019년 10월 31일
편집: Anirban 2019년 10월 31일
To use the polyspace-access command to upload results, the results must have been generated using one of the Polyspace Server products, Polyspace Bug Finder Server or Polyspace Code Prover Server, or equivalently, the commands polyspace-bug-finder-server or polyspace-code-prover-server.
Your error message implies that you ran the analysis using the Polyspace desktop products, Polyspace Bug Finder or Polyspace Code Prover. You might have run the analysis using one of the commands polyspace-bug-finder or polyspace-code-prover or run the analysis in the user interface of the desktop products. In either of those cases, you cannot upload the results automatically using the polyspace-access command. You have to upload them individually from the Polyspace user interface. See here: https://www.mathworks.com/help/polyspace_bug_finder_access/gs/upload-results.html
The idea is: the Polyspace Server-Access products serve as a pair for post-submit automation. See here: https://www.mathworks.com/help/polyspace_bug_finder_server/gs/polyspace-products-for-code-analysis-and-verification.html
The desktop products are meant to be run on individual developer's desktops, prior to code submission. Although the desktop products also support automation workflows, an automation that includes upload to Polyspace Access, is not supported. With the desktop products, you are meant to run an analysis and view the results all on the desktop.
However, you might have a license for both the desktop and server products. In this case, you can use the user interface of the desktop products to configure an analysis, get the analysis working and then generate scripts that you run with the server products. See here: https://www.mathworks.com/help/polyspace_bug_finder_server/ug/create-command-line-script-from-project-file.html

추가 답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by