Skip to content

feat(KONFLUX-6960): Introduce hourly jobs #1534

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

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

jhutar
Copy link
Collaborator

@jhutar jhutar commented Mar 14, 2025

Description

This introduces new hourly job as discussed with Gal to measure build speed on each main cluster and the changes needed along the way.

Issue ticket number and link

https://issues.redhat.com/browse/KONFLUX-6960

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected) - but hopefully not :-)

How Has This Been Tested?

It is running already for few weeks in my fork.

@openshift-ci openshift-ci bot requested review from Dannyb48 and kasemAlem March 14, 2025 12:41
Copy link

openshift-ci bot commented Mar 14, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tisutisu for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@jhutar
Copy link
Collaborator Author

jhutar commented Mar 18, 2025

/retest

1 similar comment
@jhutar
Copy link
Collaborator Author

jhutar commented Mar 18, 2025

/retest

@jhutar
Copy link
Collaborator Author

jhutar commented Mar 28, 2025

e2e test failed:

Summarizing 2 Failures:
  [FAIL] [integration-service-suite Status Reporting of Integration tests] with status reporting of Integration tests in CheckRuns when Integration PipelineRuns are created [It] should eventually complete successfully [integration-service, github-status-reporting]
  /tmp/tmp.MRoPsrol3V/tests/integration-service/status-reporting-to-pullrequest.go:162
  [FAIL] [build-service-suite Build service E2E tests] test pac with multiple components using same repository when components are created in same namespace [It] merging the PR should be successful [build-service, pac-build, multi-component]
  /tmp/tmp.MRoPsrol3V/tests/build/build.go:775

Ran 292 of 367 Specs in 1960.709 seconds
FAIL! -- 290 Passed | 2 Failed | 26 Pending | 49 Skipped

jhutar added 19 commits March 28, 2025 15:27
…"task"] not in self.data_pipelineruns[pod["pipelinerun"]]["taskRuns"]: KeyError: 'taskRuns''
@konflux-ci-qe-bot
Copy link

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

PipelineRun Name Status Rerun command Build Log Test Log
konflux-e2e-vmzl6 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-vmzl6

Test results analysis

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

➡️ [failed] [It] [integration-service-suite Integration Service E2E tests] with happy path for general flow of Integration service when a new Component is created triggers a build PipelineRun [integration-service]

Click to view logs

Unexpected error:
    <*errors.StatusError | 0xc000610140>: 
    Internal error occurred: failed calling webhook "vintegrationtestscenario.kb.io": failed to call webhook: Post "https://integration-service-webhook-service.integration-service.svc:443/validate-appstudio-redhat-com-v1beta2-integrationtestscenario?timeout=10s": context deadline exceeded
    {
        ErrStatus: {
            TypeMeta: {Kind: "", APIVersion: ""},
            ListMeta: {
                SelfLink: "",
                ResourceVersion: "",
                Continue: "",
                RemainingItemCount: nil,
            },
            Status: "Failure",
            Message: "Internal error occurred: failed calling webhook \"vintegrationtestscenario.kb.io\": failed to call webhook: Post \"https://integration-service-webhook-service.integration-service.svc:443/validate-appstudio-redhat-com-v1beta2-integrationtestscenario?timeout=10s\": context deadline exceeded",
            Reason: "InternalError",
            Details: {
                Name: "",
                Group: "",
                Kind: "",
                UID: "",
                Causes: [
                    {
                        Type: "",
                        Message: "failed calling webhook \"vintegrationtestscenario.kb.io\": failed to call webhook: Post \"https://integration-service-webhook-service.integration-service.svc:443/validate-appstudio-redhat-com-v1beta2-integrationtestscenario?timeout=10s\": context deadline exceeded",
                        Field: "",
                    },
                ],
                RetryAfterSeconds: 0,
            },
            Code: 500,
        },
    }
occurred

➡️ [failed] [It] [release-service-suite Release service tenant pipeline] Post-release verification verifies that a Release CR should have been created in the dev namespace [release-service, tenant]

Click to view logs

Unexpected error:
    <*errors.StatusError | 0xc000df74a0>: 
    Internal error occurred: failed calling webhook "mauthor.kb.io": failed to call webhook: Post "https://release-service-webhook-service.release-service.svc:443/mutate-appstudio-redhat-com-v1alpha1-author?timeout=10s": context deadline exceeded
    {
        ErrStatus: {
            TypeMeta: {Kind: "", APIVersion: ""},
            ListMeta: {
                SelfLink: "",
                ResourceVersion: "",
                Continue: "",
                RemainingItemCount: nil,
            },
            Status: "Failure",
            Message: "Internal error occurred: failed calling webhook \"mauthor.kb.io\": failed to call webhook: Post \"https://release-service-webhook-service.release-service.svc:443/mutate-appstudio-redhat-com-v1alpha1-author?timeout=10s\": context deadline exceeded",
            Reason: "InternalError",
            Details: {
                Name: "",
                Group: "",
                Kind: "",
                UID: "",
                Causes: [
                    {
                        Type: "",
                        Message: "failed calling webhook \"mauthor.kb.io\": failed to call webhook: Post \"https://release-service-webhook-service.release-service.svc:443/mutate-appstudio-redhat-com-v1alpha1-author?timeout=10s\": context deadline exceeded",
                        Field: "",
                    },
                ],
                RetryAfterSeconds: 0,
            },
            Code: 500,
        },
    }
occurred

➡️ [failed] [It] [release-service-suite [HACBS-2469]test-releaseplan-owner-ref-added] ReleasePlan verification verifies that the ReleasePlan has an owner reference for the application [release-service, releaseplan-ownerref]

Click to view logs

Unexpected error:
    <*errors.StatusError | 0xc000acd7c0>: 
    Internal error occurred: failed calling webhook "vreleaseplan.kb.io": failed to call webhook: Post "https://release-service-webhook-service.release-service.svc:443/validate-appstudio-redhat-com-v1alpha1-releaseplan?timeout=10s": context deadline exceeded
    {
        ErrStatus: {
            TypeMeta: {Kind: "", APIVersion: ""},
            ListMeta: {
                SelfLink: "",
                ResourceVersion: "",
                Continue: "",
                RemainingItemCount: nil,
            },
            Status: "Failure",
            Message: "Internal error occurred: failed calling webhook \"vreleaseplan.kb.io\": failed to call webhook: Post \"https://release-service-webhook-service.release-service.svc:443/validate-appstudio-redhat-com-v1alpha1-releaseplan?timeout=10s\": context deadline exceeded",
            Reason: "InternalError",
            Details: {
                Name: "",
                Group: "",
                Kind: "",
                UID: "",
                Causes: [
                    {
                        Type: "",
                        Message: "failed calling webhook \"vreleaseplan.kb.io\": failed to call webhook: Post \"https://release-service-webhook-service.release-service.svc:443/validate-appstudio-redhat-com-v1alpha1-releaseplan?timeout=10s\": context deadline exceeded",
                        Field: "",
                    },
                ],
                RetryAfterSeconds: 0,
            },
            Code: 500,
        },
    }
occurred

➡️ [failed] [It] [release-service-suite Release service happy path] Post-release verification verifies that a Release CR should have been created in the dev namespace [release-service, happy-path]

Click to view logs

Unexpected error:
    <*errors.StatusError | 0xc001276dc0>: 
    Internal error occurred: failed calling webhook "vreleaseplanadmission.kb.io": failed to call webhook: Post "https://release-service-webhook-service.release-service.svc:443/validate-appstudio-redhat-com-v1alpha1-releaseplanadmission?timeout=10s": context deadline exceeded
    {
        ErrStatus: {
            TypeMeta: {Kind: "", APIVersion: ""},
            ListMeta: {
                SelfLink: "",
                ResourceVersion: "",
                Continue: "",
                RemainingItemCount: nil,
            },
            Status: "Failure",
            Message: "Internal error occurred: failed calling webhook \"vreleaseplanadmission.kb.io\": failed to call webhook: Post \"https://release-service-webhook-service.release-service.svc:443/validate-appstudio-redhat-com-v1alpha1-releaseplanadmission?timeout=10s\": context deadline exceeded",
            Reason: "InternalError",
            Details: {
                Name: "",
                Group: "",
                Kind: "",
                UID: "",
                Causes: [
                    {
                        Type: "",
                        Message: "failed calling webhook \"vreleaseplanadmission.kb.io\": failed to call webhook: Post \"https://release-service-webhook-service.release-service.svc:443/validate-appstudio-redhat-com-v1alpha1-releaseplanadmission?timeout=10s\": context deadline exceeded",
                        Field: "",
                    },
                ],
                RetryAfterSeconds: 0,
            },
            Code: 500,
        },
    }
occurred

➡️ [failed] [It] [release-service-suite [HACBS-2360] Release CR fails when missing ReleasePlan and ReleasePlanAdmission.] post-release verification. missing ReleasePlan makes a Release CR set as failed in both IsReleased and IsValid with a proper message to user. [release-service, release-neg, negMissingReleasePlan]

Click to view logs

Unexpected error:
    <*errors.StatusError | 0xc000f02460>: 
    Internal error occurred: failed calling webhook "mrelease.kb.io": failed to call webhook: Post "https://release-service-webhook-service.release-service.svc:443/mutate-appstudio-redhat-com-v1alpha1-release?timeout=10s": context deadline exceeded
    {
        ErrStatus: {
            TypeMeta: {Kind: "", APIVersion: ""},
            ListMeta: {
                SelfLink: "",
                ResourceVersion: "",
                Continue: "",
                RemainingItemCount: nil,
            },
            Status: "Failure",
            Message: "Internal error occurred: failed calling webhook \"mrelease.kb.io\": failed to call webhook: Post \"https://release-service-webhook-service.release-service.svc:443/mutate-appstudio-redhat-com-v1alpha1-release?timeout=10s\": context deadline exceeded",
            Reason: "InternalError",
            Details: {
                Name: "",
                Group: "",
                Kind: "",
                UID: "",
                Causes: [
                    {
                        Type: "",
                        Message: "failed calling webhook \"mrelease.kb.io\": failed to call webhook: Post \"https://release-service-webhook-service.release-service.svc:443/mutate-appstudio-redhat-com-v1alpha1-release?timeout=10s\": context deadline exceeded",
                        Field: "",
                    },
                ],
                RetryAfterSeconds: 0,
            },
            Code: 500,
        },
    }
occurred

➡️ [failed] [It] [integration-service-suite Integration Service E2E tests] with happy path for general flow of Integration service with ephemeral environment when a new Component is created verifies if the build PipelineRun contains the finalizer [integration-service, integration-env]

Click to view logs

Timed out after 60.001s.
timeout when waiting for finalizer to be added
Expected success, but got an error:
    <*errors.errorString | 0xc000ddb8e0>: 
    build pipelineRun integration-env-qiej-tenant/test-component-pac-ehodus-on-pull-request-lp958 doesn't contain the finalizer: test.appstudio.openshift.io/pipelinerun yet
    {
        s: "build pipelineRun integration-env-qiej-tenant/test-component-pac-ehodus-on-pull-request-lp958 doesn't contain the finalizer: test.appstudio.openshift.io/pipelinerun yet",
    }

➡️ [failed] [It] [konflux-demo-suite] Maven project - Default build when Build PipelineRun completes successfully should find the related Snapshot CR [konflux, upstream-konflux]

Click to view logs

Timed out after 240.000s.
timed out when trying to check if the Snapshot exists for PipelineRun konflux-heqw-tenant/konflux-demo-component-wdos-on-push-pmrkk
Expected success, but got an error:
    <*errors.errorString | 0xc0008121a0>: 
    no snapshot found for component '', pipelineRun 'konflux-demo-component-wdos-on-push-pmrkk' in 'konflux-heqw-tenant' namespace
    {
        s: "no snapshot found for component '', pipelineRun 'konflux-demo-component-wdos-on-push-pmrkk' in 'konflux-heqw-tenant' namespace",
    }

➡️ [failed] [It] [integration-service-suite Status Reporting of Integration tests] with status reporting of Integration tests in CheckRuns when the PaC build pipelineRun run succeeded checks if the Snapshot is created [integration-service, github-status-reporting]

Click to view logs

Unexpected error:
    : 
    context deadline exceeded
    {}
occurred

➡️ [failed] [It] [integration-service-suite Gitlab Status Reporting of Integration tests] Gitlab with status reporting of Integration tests in the assosiated merge request when the PaC build pipelineRun run succeeded checks if the Snapshot is created [integration-service, gitlab-status-reporting]

Click to view logs

Unexpected error:
    : 
    context deadline exceeded
    {}
occurred

➡️ [failed] [It] [integration-service-suite Creation of group snapshots for monorepo and multiple repos] with status reporting of Integration tests in CheckRuns when the Build PLRA is finished successfully checks if the Snapshot is created [integration-service, group-snapshot-creation]

Click to view logs

Unexpected error:
    : 
    context deadline exceeded
    {}
occurred

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

Successfully merging this pull request may close these issues.

2 participants