Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
41fe579c
Commit
41fe579c
authored
8 years ago
by
Alexander Polcyn
Browse files
Options
Downloads
Patches
Plain Diff
always render junit xml report after perf tests
parent
d1cfffe7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/run_tests/run_performance_tests.py
+3
-2
3 additions, 2 deletions
tools/run_tests/run_performance_tests.py
with
3 additions
and
2 deletions
tools/run_tests/run_performance_tests.py
+
3
−
2
View file @
41fe579c
...
@@ -591,12 +591,13 @@ if perf_cmd and not args.skip_generate_flamegraphs:
...
@@ -591,12 +591,13 @@ if perf_cmd and not args.skip_generate_flamegraphs:
# write the index fil to the output dir, with all profiles from all scenarios/workers
# write the index fil to the output dir, with all profiles from all scenarios/workers
report_utils
.
render_perf_profiling_results
(
'
%s/index.html
'
%
args
.
flame_graph_reports
,
profile_output_files
)
report_utils
.
render_perf_profiling_results
(
'
%s/index.html
'
%
args
.
flame_graph_reports
,
profile_output_files
)
report_utils
.
render_junit_xml_report
(
merged_resultset
,
args
.
xml_report
,
suite_name
=
'
benchmarks
'
)
if
total_scenario_failures
>
0
or
qps_workers_killed
>
0
:
if
total_scenario_failures
>
0
or
qps_workers_killed
>
0
:
print
(
'
%s scenarios failed and %s qps worker jobs killed
'
%
(
total_scenario_failures
,
qps_workers_killed
))
print
(
'
%s scenarios failed and %s qps worker jobs killed
'
%
(
total_scenario_failures
,
qps_workers_killed
))
sys
.
exit
(
1
)
sys
.
exit
(
1
)
report_utils
.
render_junit_xml_report
(
merged_resultset
,
args
.
xml_report
,
suite_name
=
'
benchmarks
'
)
if
perf_report_failures
>
0
:
if
perf_report_failures
>
0
:
print
(
'
%s perf profile collection jobs failed
'
%
perf_report_failures
)
print
(
'
%s perf profile collection jobs failed
'
%
perf_report_failures
)
sys
.
exit
(
1
)
sys
.
exit
(
1
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment