Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(KFLUXDP-140): Add logic to the tekton task that add a new step to send results to sealights #1493

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

flacatus
Copy link
Collaborator

Description

Adds sealights stepactions to e2e tests.

Issue ticket number and link

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
  • I have updated labels (if needed)

…o send results to sealights and add SEALIGHTS_TOKEN env to installation
@flacatus
Copy link
Collaborator Author

/retest

3 similar comments
@flacatus
Copy link
Collaborator Author

/retest

@flacatus
Copy link
Collaborator Author

/retest

@flacatus
Copy link
Collaborator Author

/retest

Copy link
Member

@psturc psturc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link

openshift-ci bot commented Jan 28, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: psturc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@flacatus
Copy link
Collaborator Author

/retest

1 similar comment
@flacatus
Copy link
Collaborator Author

/retest

@flacatus flacatus merged commit 3116e43 into konflux-ci:main Jan 28, 2025
11 of 13 checks passed
@konflux-ci-qe-bot
Copy link

@flacatus: The following test has Failed, say /retest to rerun failed tests.

PipelineRun Name Status Rerun command Build Log Test Log
konflux-e2e-tmc6z Failed /retest View Pipeline Log View Test Logs

Inspecting Test Artifacts

To inspect your test artifacts, follow these steps:

  1. Install ORAS (see the ORAS installation guide).
  2. Download artifacts with the following commands:
mkdir -p oras-artifacts
cd oras-artifacts
oras pull quay.io/konflux-test-storage/konflux-team/e2e-tests:konflux-e2e-tmc6z

Test results analysis

🚨 Error occurred while running the E2E tests, list of failed Spec(s):

➡️ [failed] [It] [build-service-suite Build service E2E tests] test of component update with renovate gitlab when components are created in same namespace the PipelineRun should eventually finish successfully for parent component [build-service, renovate, multi-component]

Click to view logs

Expected success, but got an error:
    <*errors.errorString | 0xc001483280>: 
    
     pod: gl-multi-component-parent-skee-on-pull-request-624jn-init-pod | init container: prepare
    2025/01/28 15:46:38 Entrypoint initialization
    
     pod: gl-multi-component-parent-skee-on-pull-request-624jn-init-pod | init container: place-scripts
    2025/01/28 15:46:39 Decoded script /tekton/scripts/script-0-z47xt
    
    pod: gl-multi-component-parent-skee-on-pull-request-624jn-init-pod | container step-init: 
    Build Initialize: quay.io/redhat-appstudio-qe/build-e2e-ddbt-tenant/gl-multi-component-parent-skee:on-pr-d7cd85a7b6cfb6bf21132281d61137fc628db3dc
    
    Determine if Image Already Exists
    
    {
        s: "\n pod: gl-multi-component-parent-skee-on-pull-request-624jn-init-pod | init container: prepare\n2025/01/28 15:46:38 Entrypoint initialization\n\n pod: gl-multi-component-parent-skee-on-pull-request-624jn-init-pod | init container: place-scripts\n2025/01/28 15:46:39 Decoded script /tekton/scripts/script-0-z47xt\n\npod: gl-multi-component-parent-skee-on-pull-request-624jn-init-pod | container step-init: \nBuild Initialize: quay.io/redhat-appstudio-qe/build-e2e-ddbt-tenant/gl-multi-component-parent-skee:on-pr-d7cd85a7b6cfb6bf21132281d61137fc628db3dc\n\nDetermine if Image Already Exists\n",
    }

➡️ [failed] [It] [build-service-suite Build service E2E tests] test PaC component build gitlab when the PaC init branch is updated PipelineRun should eventually finish [build-service, github-webhook, pac-build, pipeline, image-controller, build-custom-branch]

Click to view logs

Expected success, but got an error:
    <*errors.errorString | 0xc00147c0c0>: 
    
     pod: gl-test-custom-branch-iohqpb-on-pull-request-bmjpp-init-pod | init container: prepare
    2025/01/28 15:52:45 Entrypoint initialization
    
     pod: gl-test-custom-branch-iohqpb-on-pull-request-bmjpp-init-pod | init container: place-scripts
    2025/01/28 15:52:46 Decoded script /tekton/scripts/script-0-f7ksq
    
    pod: gl-test-custom-branch-iohqpb-on-pull-request-bmjpp-init-pod | container step-init: 
    Build Initialize: quay.io/redhat-appstudio-qe/build-e2e-bibk-tenant/gl-test-custom-branch-iohqpb:on-pr-668b10fb08d3d66a29c06e8b6222d36eb38eef95
    
    Determine if Image Already Exists
    
     pod: gl-test-custom-branch-iohqpb-on-pull-request-npnwh-init-pod | init container: prepare
    2025/01/28 15:49:49 Entrypoint initialization
    
     pod: gl-test-custom-branch-iohqpb-on-pull-request-npnwh-init-pod | init container: place-scripts
    2025/01/28 15:49:50 Decoded script /tekton/scripts/script-0-m9x9v
    
    pod: gl-test-custom-branch-iohqpb-on-pull-request-npnwh-init-pod | container step-init: 
    Build Initialize: quay.io/redhat-appstudio-qe/build-e2e-bibk-tenant/gl-test-custom-branch-iohqpb:on-pr-37c43c2c7db9884663a3a77840680dda8444dc77
    
    Determine if Image Already Exists
    
    {
        s: "\n pod: gl-test-custom-branch-iohqpb-on-pull-request-bmjpp-init-pod | init container: prepare\n2025/01/28 15:52:45 Entrypoint initialization\n\n pod: gl-test-custom-branch-iohqpb-on-pull-request-bmjpp-init-pod | init container: place-scripts\n2025/01/28 15:52:46 Decoded script /tekton/scripts/script-0-f7ksq\n\npod: gl-test-custom-branch-iohqpb-on-pull-request-bmjpp-init-pod | container step-init: \nBuild Initialize: quay.io/redhat-appstudio-qe/build-e2e-bibk-tenant/gl-test-custom-branch-iohqpb:on-pr-668b10fb08d3d66a29c06e8b6222d36eb38eef95\n\nDetermine if Image Already Exists\n\n pod: gl-test-custom-branch-iohqpb-on-pull-request-npnwh-init-pod | init container: prepare\n2025/01/28 15:49:49 Entrypoint initialization\n\n pod: gl-test-custom-branch-iohqpb-on-pull-request-npnwh-init-pod | init container: place-scripts\n2025/01/28 15:49:50 Decoded script /tekton/scripts/script-0-m9x9v\n\npod: gl-test-custom-branch-iohqpb-on-pull-request-npnwh-init-pod | container step-init: \nBuild Initialize: quay.io/redhat-appstudio-qe/build-e2e-bibk-tenant/gl-test-custom-branch-iohqpb:on-pr-37c43c2c7db9884663a3a77840680dda8444dc77\n\nDetermine if Image Already Exists\n",
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants