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

KUBESAW-12: Convert the health-check goroutine into ToolchainCluster controller #1010

Merged
merged 10 commits into from
Apr 23, 2024

Conversation

fbm3307
Copy link
Contributor

@fbm3307 fbm3307 commented Apr 10, 2024

@fbm3307
Copy link
Contributor Author

fbm3307 commented Apr 12, 2024

/test e2e

1 similar comment
@fbm3307
Copy link
Contributor Author

fbm3307 commented Apr 15, 2024

/test e2e

@fbm3307
Copy link
Contributor Author

fbm3307 commented Apr 16, 2024

/test e2e

@rsoaresd
Copy link
Contributor

Hello @fbm3307,

The last run (1780159346131341312) failed with:

=== RUN   TestToolchainClusterE2E/create_new_ToolchainCluster_based_on_'host'_with_incorrect_data_and_expect_to_be_offline
    awaitility.go:539: waiting for toolchaincluster in namespace 'toolchain-host-16094520' to match criteria
    toolchaincluster_test.go:113: 
        	Error Trace:	/tmp/toolchain-e2e/test/e2e/toolchaincluster_test.go:113
        	Error:      	Received unexpected error:
        	            	timed out waiting for the condition
        	Test:       	TestToolchainClusterE2E/create_new_ToolchainCluster_based_on_'host'_with_incorrect_data_and_expect_to_be_offline
--- FAIL: TestToolchainClusterE2E (124.34s)
    --- PASS: TestToolchainClusterE2E/create_new_ToolchainCluster_based_on_'host'_with_correct_data_and_expect_to_be_ready (2.94s)
    --- FAIL: TestToolchainClusterE2E/create_new_ToolchainCluster_based_on_'host'_with_incorrect_data_and_expect_to_be_offline (121.39s)

When looking at this PR history, we can observe that 1778725233843245056 failed with the same error. The other runs related to this PR failed due to infra issues.

From this search query, we can see that happens only in this PR. So, very likely is PR specific. Hope it helps :)

Signed-off-by: Feny Mehta <[email protected]>
@fbm3307
Copy link
Contributor Author

fbm3307 commented Apr 17, 2024

Hello @fbm3307,

The last run (1780159346131341312) failed with:

=== RUN   TestToolchainClusterE2E/create_new_ToolchainCluster_based_on_'host'_with_incorrect_data_and_expect_to_be_offline
    awaitility.go:539: waiting for toolchaincluster in namespace 'toolchain-host-16094520' to match criteria
    toolchaincluster_test.go:113: 
        	Error Trace:	/tmp/toolchain-e2e/test/e2e/toolchaincluster_test.go:113
        	Error:      	Received unexpected error:
        	            	timed out waiting for the condition
        	Test:       	TestToolchainClusterE2E/create_new_ToolchainCluster_based_on_'host'_with_incorrect_data_and_expect_to_be_offline
--- FAIL: TestToolchainClusterE2E (124.34s)
    --- PASS: TestToolchainClusterE2E/create_new_ToolchainCluster_based_on_'host'_with_correct_data_and_expect_to_be_ready (2.94s)
    --- FAIL: TestToolchainClusterE2E/create_new_ToolchainCluster_based_on_'host'_with_incorrect_data_and_expect_to_be_offline (121.39s)

When looking at this PR history, we can observe that 1778725233843245056 failed with the same error. The other runs related to this PR failed due to infra issues.

From this search query, we can see that happens only in this PR. So, very likely is PR specific. Hope it helps :)

Hey @rsoaresd Thanks for looking into this, but it passed this time, i dont think it was related to my PR, but it was flaky

Signer-off-by: Feny Mehta <[email protected]>
@fbm3307
Copy link
Contributor Author

fbm3307 commented Apr 17, 2024

/test e2e

@MatousJobanek
Copy link
Contributor

Hey @rsoaresd Thanks for looking into this, but it passed this time, i dont think it was related to my PR, but it was flaky

TBH, I haven't seen this error (failed test) ever before. I doubt that it would be an old flaky test. This error seems to be rather caused by the changes in the PR.

Copy link
Contributor

@MatousJobanek MatousJobanek left a comment

Choose a reason for hiding this comment

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

Could you please update the dependency to point to the latest version in your toolchain-common PR?

main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
Signed-off-by: Feny Mehta <[email protected]>
@fbm3307 fbm3307 requested a review from MatousJobanek April 18, 2024 16:12
main.go Outdated Show resolved Hide resolved
Signed-off-by: Feny Mehta <[email protected]>
Copy link
Contributor

@MatousJobanek MatousJobanek left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@rajivnathan rajivnathan left a comment

Choose a reason for hiding this comment

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

👍

Copy link

openshift-ci bot commented Apr 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fbm3307, filariow, MatousJobanek, mfrancisc, rajivnathan

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

@fbm3307
Copy link
Contributor Author

fbm3307 commented Apr 19, 2024

/test e2e

Copy link

sonarcloud bot commented Apr 22, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented Apr 22, 2024

Codecov Report

Merging #1010 (e835a91) into master (6a7e692) will increase coverage by 0.02%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1010      +/-   ##
==========================================
+ Coverage   84.58%   84.60%   +0.02%     
==========================================
  Files          55       55              
  Lines        4852     4852              
==========================================
+ Hits         4104     4105       +1     
+ Misses        575      574       -1     
  Partials      173      173              

see 1 file with indirect coverage changes

@fbm3307 fbm3307 merged commit 11831df into codeready-toolchain:master Apr 23, 2024
12 of 13 checks passed
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.

7 participants