Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-24083

Test Failure: GRC: Test export CSV functionality in GRC pages RHACM4K-52041: GRC: Policies lis...

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Test Failure Report

      Test Name: GRC: Test export CSV functionality in GRC pages RHACM4K-52041: GRC: Policies list can be exported as CSV file from UI
      Framework: junit
      Test Suite: GRC: Test export CSV functionality in GRC pages
      Test Class: RHACM4K-52041: GRC: Policies list can be exported as CSV file from UI

      Failure Message

      Timed out retrying after 120000ms: expected '<dd.pf-v5-c-description-list__description>' to contain text 'Policy is placed on hub or managed clusters with label acm-virt-config=acm-dr-virt-config-file-name. Creates a velero Schedule for all virtualmachines.kubevirt.io resources with a cluster.open-cluster-management.io/backup-vm label.', but the text was 'Policy is placed on hub or managed clusters with label acm-virt-config=acm-dr-virt-config-file-name.Creates a velero Schedule for all virtualmachines.kubevirt.io resources with a cluster.open-cluster-management.io/backup-vm label.'
      

      Root Cause Analysis

      Confidence Score: 0.95
      Error Category: assertion
      Severity: low

      Root Cause:
      The test is failing due to a missing space after "acm-dr-virt-config-file-name." in the policy description text. The expected text has a space before "Creates" but the actual text shows "acm-dr-virt-config-file-name.Creates" (no space between the period and "Creates").

      Suggested Fix:
      Fix the text formatting in the policy description to include the missing space. This could be either in the source data that generates this description or in the UI template that renders it.

      Code Example:

      ```javascript
      // In the policy description template or data source:
      // Change from:
      'Policy is placed on hub or managed clusters with label acm-virt-config=acm-dr-virt-config-file-name.Creates a velero Schedule...'
      
      // To:
      'Policy is placed on hub or managed clusters with label acm-virt-config=acm-dr-virt-config-file-name. Creates a velero Schedule...'
      //                                                                              ^ Add space here
      ```
      
      Or update the test expectation if the current format is intentional:
      ```javascript
      // Update test assertion to match actual format:
      .should('contain.text', 'Policy is placed on hub or managed clusters with label acm-virt-config=acm-dr-virt-config-file-name.Creates a velero Schedule...')
      ```
      

      Fix Suggestion Status

      ❌ Fix suggestion failed: Claude CLI timeout after 120 seconds

      Metadata

      Analyzed At: 2025-09-10T10:39:22.604957
      Fix Suggested At: 2025-09-10T10:43:14.519190

      ============================================================

      Updated Analysis - 2025-09-12 16:13:08

      Test Name: GRC: Test export CSV functionality in GRC pages RHACM4K-52041: GRC: Policies list can be exported as CSV file from UI
      Framework: junit
      Test Suite: GRC: Test export CSV functionality in GRC pages
      Test Class: RHACM4K-52041: GRC: Policies list can be exported as CSV file from UI

      Failure Message

      Timed out retrying after 120000ms: expected '<dd.pf-v5-c-description-list__description>' to contain text 'Policy is placed on hub or managed clusters with label acm-virt-config=acm-dr-virt-config-file-name. Creates a velero Schedule for all virtualmachines.kubevirt.io resources with a cluster.open-cluster-management.io/backup-vm label.', but the text was 'Policy is placed on hub or managed clusters with label acm-virt-config=acm-dr-virt-config-file-name.Creates a velero Schedule for all virtualmachines.kubevirt.io resources with a cluster.open-cluster-management.io/backup-vm label.'
      

      Root Cause Analysis

      Confidence Score: 0.95
      Error Category: assertion
      Severity: low

      Root Cause:
      The test is failing due to a missing space after "acm-dr-virt-config-file-name." in the policy description text. The expected text has a space before "Creates" but the actual text shows "acm-dr-virt-config-file-name.Creates" (no space between the period and "Creates").

      Suggested Fix:
      Fix the text formatting in the policy description to include the missing space. This could be either in the source data that generates this description or in the UI template that renders it.

      Code Example:

      ```javascript
      // In the policy description template or data source:
      // Change from:
      'Policy is placed on hub or managed clusters with label acm-virt-config=acm-dr-virt-config-file-name.Creates a velero Schedule...'
      
      // To:
      'Policy is placed on hub or managed clusters with label acm-virt-config=acm-dr-virt-config-file-name. Creates a velero Schedule...'
      //                                                                              ^ Add space here
      ```
      
      Or update the test expectation if the current format is intentional:
      ```javascript
      // Update test assertion to match actual format:
      .should('contain.text', 'Policy is placed on hub or managed clusters with label acm-virt-config=acm-dr-virt-config-file-name.Creates a velero Schedule...')
      ```
      

      Fix Suggestion Status

      ❌ Fix suggestion failed: Claude CLI timeout after 120 seconds

      Metadata

      Analyzed At: 2025-09-10T10:39:22.604957
      Fix Suggested At: 2025-09-10T10:43:14.519190

              Unassigned Unassigned
              rhn-support-vboulos Vincent Boulos
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: