aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/specifications/trending/environment.yaml
blob: b2e8cc639a0ff9cfc66c05eb86e07059f56646a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
################################################################################
###                          E N V I R O N M E N T                           ###
################################################################################

- type: "environment"

  spec-files:
    - "specifications/trending/data_sets.yaml"
    - "specifications/trending/layouts.yaml"
    - "specifications/trending/elements.yaml"

  paths:
    # Top level directories:
    ## Working directory
    DIR[WORKING]: "_tmp"
    ## Build directories
    DIR[BUILD,HTML]: "_build"
    ## Static .rst files
    DIR[RST]: "../../../docs/cpta"

    # Static html content
    DIR[STATIC]: "{DIR[BUILD,HTML]}/_static"
    DIR[STATIC,VPP]: "{DIR[STATIC]}/vpp"
    DIR[STATIC,ARCH]: "{DIR[STATIC]}/archive"

    # Working directories
    ## Input data files (.zip, .xml)
    DIR[WORKING,DATA]: "{DIR[WORKING]}/data"
    ## Static source files from git
    DIR[WORKING,SRC]: "{DIR[WORKING]}/src"
    DIR[WORKING,SRC,STATIC]: "{DIR[WORKING,SRC]}/_static"

    # .css patch file
    DIR[CSS_PATCH_FILE]: "{DIR[STATIC]}/theme_overrides.css"
    DIR[CSS_PATCH_FILE2]: "{DIR[WORKING,SRC,STATIC]}/theme_overrides.css"

  urls:
    URL[JENKINS,CSIT]: "https://jenkins.fd.io/view/csit/job"

  make-dirs:
  # List the directories which are created while preparing the environment.
  # All directories MUST be defined in "paths" section.
  - "DIR[WORKING,DATA]"
  - "DIR[WORKING,SRC,STATIC]"
  - "DIR[BUILD,HTML]"
  - "DIR[STATIC,VPP]"
  - "DIR[STATIC,ARCH]"
  build-dirs:
  # List the directories where the results (build) is stored.
  # All directories MUST be defined in "paths" section.
  - "DIR[BUILD,HTML]"

  testbeds:
    "10.30.51.74": "LF-3n-ALT-34"
    "10.30.51.82": "LF-2n-ICX-212"
    "10.30.51.84": "LF-2n-ICX-213"
    "10.30.51.86": "LF-2n-ICX-214"
    "10.30.51.88": "LF-2n-ICX-215"
    "10.30.51.77": "LF-3n-ICX-37"
    "10.30.51.80": "LF-3n-ICX-38"
    "10.30.51.45": "LF-2n-SKX-21"
    "10.30.51.53": "LF-2n-SKX-22"
    "10.30.51.55": "LF-2n-SKX-23"
    "10.30.51.57": "LF-2n-SKX-24"
    "10.32.8.19": "LF-2n-CLX-27"
    "10.32.8.21": "LF-2n-CLX-28"
    "10.32.8.23": "LF-2n-CLX-29"
    "10.30.51.48": "LF-3n-SKX-31"
    "10.30.51.60": "LF-3n-SKX-32"
    "10.30.51.49": "LF-3n-TSH-33"
    "10.32.8.25": "LF-2n-ZN2-210"
    "10.32.8.10": "LF-DNV"

  # Data sources are used in this order:
  data-sources:
    # XML
    - type: "xml"
      url: "https://s3-logs.fd.io/vex-yul-rot-jenkins-1"
      path: "{job}/{build}/{filename}"
      file-name: "output_info.xml.gz"
      file-format: ".gz"
      enabled: True

  archive-inputs: False

  reverse-input: True  # Needed for trending, not important for the report

  # Number of days from now to the past. Only files generated in this
  # time period are used.
  # Only for trending
  time-period: 180

  mapping-file: ""

  ignore-list: ""

  alerting:

    alerts:

      # Jenkins job sends the email with failed tests.
      # Pre-requisites:
      # - Jenkins job is configured to send emails in "Post-build Actions" -->
      #   "Editable Email Notification".
      jenkins-send-failed-tests:
        title: "Trending: Failed Tests"
        type: "failed-tests"
        way: "jenkins"
        include:
          - "last-failed-tests-vpp-3n-alt-mrr"
          - "last-failed-tests-vpp-2n-icx-mrr"
          - "last-failed-tests-vpp-3n-icx-mrr"
          - "last-failed-tests-vpp-2n-skx-mrr"
          - "last-failed-tests-vpp-3n-skx-mrr"
          - "last-failed-tests-vpp-2n-clx-mrr"
          - "last-failed-tests-vpp-2n-zn2-mrr"
          - "last-failed-tests-vpp-3n-tsh-mrr"
          - "last-failed-tests-vpp-2n-tx2-mrr"
          - "last-failed-tests-vpp-2n-dnv-mrr"
          - "last-failed-tests-vpp-3n-dnv-mrr"
          - "last-failed-tests-vpp-2n-aws-mrr"
          - "last-failed-tests-dpdk-2n-skx-mrr"
          - "last-failed-tests-dpdk-3n-skx-mrr"
          - "last-failed-tests-dpdk-2n-clx-mrr"
          - "last-failed-tests-dpdk-3n-tsh-mrr"
          - "last-failed-tests-dpdk-2n-tx2-mrr"
          - "last-failed-tests-vpp-2n-skx-ndrpdr"
          - "last-failed-tests-vpp-3n-skx-ndrpdr"
          - "last-failed-tests-vpp-2n-clx-ndrpdr"
          - "last-failed-tests-trex-2n-skx-ndrpdr"
        urls:
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-alt"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-icx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-icx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-clx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-zn2"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-tsh"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-tx2"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-2n-dnv"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master-3n-dnv"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-weekly-master-2n-aws"
          - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-2n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-3n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-2n-clx"
          - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-3n-tsh"
          - "https://jenkins.fd.io/view/csit/job/csit-dpdk-perf-mrr-weekly-master-2n-tx2"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-2n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-3n-skx"
          - "https://jenkins.fd.io/view/csit/job/csit-vpp-perf-ndrpdr-weekly-master-2n-clx"
          - "https://jenkins.fd.io/view/csit/job/csit-trex-perf-ndrpdr-weekly-master-2n-skx"
        url-details: "https://s3-docs.fd.io/csit/master/trending/introduction/failures.html"

    configurations:
      # Configuration of the email notifications.
      email:
        # SMTP server
        server: "localhost"
        # List of recipients.
        address-to:
        - "csit-report@lists.fd.io"
        # Sender
        address-from: "testuser@testserver.com"

      # Configuration of notifications sent by Jenkins.
      jenkins:
        # The directory in the workspace where the generated data is stored and
        # then read by Jenkins job.
        output-dir: "_build/_static/vpp"
        # The name of the output files. ASCII text and HTML formats are
        # generated.
        output-file: "trending-failed-tests"
        # If defined, all output files are zipped into this file.
        zip-output: "failed-tests.tar.gz"

################################################################################
###                               S T A T I C                                ###
################################################################################

- type: "static"
  src-path: "{DIR[RST]}"
  dst-path: "{DIR[WORKING,SRC]}"

################################################################################
###                               O U T P U T                                ###
################################################################################

- type: "output"
  arch-file-format:
    - ".gz"
    - ".zip"
  output: "trending"
  format:
    html:
    - full