featureprofiles icon indicating copy to clipboard operation
featureprofiles copied to clipboard

healthz parameters for cisco

Open karthikeya-remilla opened this issue 1 year ago • 18 comments

a. added the process "ifmgr" for test purposes and chassis component name "Rack 0" for Cisco The test intent is to kill a process and perform Healthz operations post that. So functionally any software process is valid for this purpose on Cisco IOS-XR platform b. Origin as "openconfig" for healthz RPCs

karthikeya-remilla avatar Jul 25 '24 18:07 karthikeya-remilla

Pull Request Functional Test Report for #3326 / a92702ed5514c9221be3e246016146bf73daf030

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
status
status
status
gNOI-5.3: Copying Debug Files
gNOI-3.2: Per-Component Reboot
gNOI-3.3: Supervisor Switchover
gNOI-3.4: Chassis Reboot Status and Reboot Cancellation
af6492c0 Log
Cisco 8000E status
status
status
status
gNOI-5.3: Copying Debug Files
gNOI-3.2: Per-Component Reboot
gNOI-3.3: Supervisor Switchover
gNOI-3.4: Chassis Reboot Status and Reboot Cancellation
257a95e4 Log
Cisco XRd status
status
status
status
gNOI-5.3: Copying Debug Files
gNOI-3.2: Per-Component Reboot
gNOI-3.3: Supervisor Switchover
gNOI-3.4: Chassis Reboot Status and Reboot Cancellation
01398f7a Log
Juniper ncPTX status
status
status
status
gNOI-5.3: Copying Debug Files
gNOI-3.2: Per-Component Reboot
gNOI-3.3: Supervisor Switchover
gNOI-3.4: Chassis Reboot Status and Reboot Cancellation
583ccbc2 Log
Nokia SR Linux status
status
status
status
gNOI-5.3: Copying Debug Files
gNOI-3.2: Per-Component Reboot
gNOI-3.3: Supervisor Switchover
gNOI-3.4: Chassis Reboot Status and Reboot Cancellation
20e0a0a2 Log
Openconfig Lemming status
status
status
status
gNOI-5.3: Copying Debug Files
gNOI-3.2: Per-Component Reboot
gNOI-3.3: Supervisor Switchover
gNOI-3.4: Chassis Reboot Status and Reboot Cancellation
a0bf8cb5 Log

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
status
status
status
gNOI-5.3: Copying Debug Files
gNOI-3.2: Per-Component Reboot
gNOI-3.3: Supervisor Switchover
gNOI-3.4: Chassis Reboot Status and Reboot Cancellation
Cisco 8808 status
status
status
status
gNOI-5.3: Copying Debug Files
gNOI-3.2: Per-Component Reboot
gNOI-3.3: Supervisor Switchover
gNOI-3.4: Chassis Reboot Status and Reboot Cancellation
Juniper PTX10008 status
status
status
status
gNOI-5.3: Copying Debug Files
gNOI-3.2: Per-Component Reboot
gNOI-3.3: Supervisor Switchover
gNOI-3.4: Chassis Reboot Status and Reboot Cancellation
Nokia 7250 IXR-10e status
status
status
status
gNOI-5.3: Copying Debug Files
gNOI-3.2: Per-Component Reboot
gNOI-3.3: Supervisor Switchover
gNOI-3.4: Chassis Reboot Status and Reboot Cancellation

Help

OpenConfigBot avatar Jul 25 '24 18:07 OpenConfigBot

Pull Request Test Coverage Report for Build 11375744222

Details

  • 0 of 8 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 55.268%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/components/components.go 0 8 0.0%
<!-- Total: 0 8
Totals Coverage Status
Change from base Build 11375559091: 0.0%
Covered Lines: 1983
Relevant Lines: 3588

💛 - Coveralls

coveralls avatar Jul 25 '24 18:07 coveralls

/fptest cisco-xrd

dplore avatar Jul 25 '24 22:07 dplore

@dplore could you please merge this if accepted?

karthikeya-remilla avatar Aug 08 '24 09:08 karthikeya-remilla

/fptest cisco-xrd

dplore avatar Aug 13 '24 20:08 dplore

/fptest cisco-8808

dplore avatar Aug 13 '24 21:08 dplore

/fptest cisco-8000e

dplore avatar Aug 13 '24 21:08 dplore

/fptest cisco-8000e

dplore avatar Aug 14 '24 15:08 dplore

/fptest all

dplore avatar Aug 14 '24 15:08 dplore

/fptest cisco-8808

dplore avatar Aug 14 '24 16:08 dplore

@karthikeya-remilla this test is not passing on Cisco in our environment. Before we can merge, I'd like to see this passing. What are we missing?

Details

``` # show version

Wed Aug 14 15:09:11.997 PDT Cisco IOS XR Software, Version 24.3.1.28I LNT Copyright (c) 2013-2024 by Cisco Systems, Inc.

Build Information: Built By : sajshah Built On : Thu Aug 08 10:33:18 UTC 2024 Build Host : iox-ucs-002 Workspace : /auto/iox-ucs-002-san2/prod/24.3.1.28I.SIT_IMAGE/8000/ws Version : 24.3.1.28I Label : 24.3.1.28I-EFT2_rev2

=== RUN TestCopyingDebugFiles third_party/openconfig/featureprofiles/feature/gnoi/system/tests/copying_debug_files_test/copying_debug_files_test.go:67: *** Fetching gNOI clients for xx27.den85... third_party/openconfig/featureprofiles/feature/gnoi/system/tests/copying_debug_files_test/copying_debug_files_test.go:73: process bgp not found on device --- FAIL: TestCopyingDebugFiles (18.11s) === RUN TestChassisComponentArtifacts third_party/openconfig/featureprofiles/feature/gnoi/system/tests/copying_debug_files_test/copying_debug_files_test.go:120: *** Fetching gNOI clients for xx27.den85...

third_party/openconfig/featureprofiles/feature/gnoi/system/tests/copying_debug_files_test/copying_debug_files_test.go:137: Executing Healthz Check RPC for component Rack 0
third_party/openconfig/featureprofiles/feature/gnoi/system/tests/copying_debug_files_test/copying_debug_files_test.go:140: Unexpected error on executing Healthz Check RPC: rpc error: code = Unimplemented desc = error on request {
    path: {
      origin: "openconfig"
      elem: {
        name: "components"
      }
      elem: {
        name: "component"
        key: {
          key: "name"
          value: "Rack 0"
        }
      }
    }
    }: unknown service gnoi.healthz.Healthz

--- FAIL: TestChassisComponentArtifacts (0.76s) FAIL


</p>
</details> 

dplore avatar Aug 14 '24 22:08 dplore

ALso, I realize this is not directly part of your PR, but can you fix the following static checks?

https://github.com/openconfig/featureprofiles/actions/runs/10386614180/job/28769839021?pr=3326

Error: internal/core/core.go:215:10: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
Error: tools/internal/ocpaths/ocpaths_test.go:167:5: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
Error: Process completed with exit code 1.

dplore avatar Aug 14 '24 22:08 dplore

@karthikeya-remilla this test is not passing on Cisco in our environment. Before we can merge, I'd like to see this passing. What are we missing?

This is a 24.4.1 feature. This failure is expected on 24.3.1

karthikeya-remilla avatar Aug 19 '24 16:08 karthikeya-remilla

Please note test is not passing in our environment and static check fix

Please review the logic while I work on static check and merge conflicts in metadata.pb.go.

karthikeya-remilla avatar Aug 23 '24 11:08 karthikeya-remilla

updated PR description

karthikeya-remilla avatar Aug 27 '24 07:08 karthikeya-remilla

Hi @karthikeya-remilla can you resolve the merge conflict with proto/metadata_go_proto/metadata.pb.go? I will and merge this after resolved.

dplore avatar Aug 27 '24 17:08 dplore

Hi @karthikeya-remilla can you resolve the merge conflict with proto/metadata_go_proto/metadata.pb.go? I will and merge this after resolved.

Hi @dplore , resolved the conflicts. Could you please check now as the FR is delivered?

karthikeya-remilla avatar Sep 05 '24 12:09 karthikeya-remilla

@karthikeya-remilla there are a few static check errors to be resolved.

I am not sure why we seeing this panic in go test? Are you seeing that when you run locally @karthikeya-remilla ?

Ref to broken github check: https://github.com/openconfig/featureprofiles/actions/runs/10744182024/job/29800536390?pr=3326#step:6:443

dplore avatar Sep 07 '24 00:09 dplore

/fptest cisco-8000e

dplore avatar Oct 08 '24 01:10 dplore

/fptest cisco-8000e /fptest cisco-xrd

dplore avatar Oct 08 '24 17:10 dplore

/fptest cisco-8000e /fptest cisco-xrd

dplore avatar Oct 16 '24 02:10 dplore

/fptest virtual

dplore avatar Oct 16 '24 23:10 dplore