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

Revert "Update kubebuilder to the latest working version" #7632

Merged
merged 5 commits into from
May 28, 2024

Conversation

sk593
Copy link
Contributor

@sk593 sk593 commented May 23, 2024

Reverts #7629

This was fixed as per the convo in kubernetes-sigs/controller-runtime#2838. It looks like the binaries weren't released for the version of Kubernetes that we were using (they had up until 1.24 but we were using 1.23)

Fixes: #7630

@sk593 sk593 requested review from a team as code owners May 23, 2024 18:33
@sk593 sk593 marked this pull request as draft May 23, 2024 18:33
Copy link

github-actions bot commented May 23, 2024

Unit Tests

3 194 tests  ±0   3 188 ✅ ±0   3m 53s ⏱️ -7s
  259 suites ±0       6 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 25e5365. ± Comparison against base commit f7ef3b2.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.05%. Comparing base (f7ef3b2) to head (25e5365).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7632      +/-   ##
==========================================
- Coverage   61.07%   61.05%   -0.02%     
==========================================
  Files         517      517              
  Lines       26556    26556              
==========================================
- Hits        16218    16214       -4     
- Misses       8916     8918       +2     
- Partials     1422     1424       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -49,7 +49,7 @@ test: test-get-envtools ## Runs unit tests, excluding kubernetes controller test
.PHONY: test-get-envtools
test-get-envtools:
@echo "$(ARROW) Installing Kubebuilder test tools..."
$(call go-install-tool,$(ENV_SETUP),sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.0.0-20240521074430-fbb7d370bebc)
$(call go-install-tool,$(ENV_SETUP),sigs.k8s.io/controller-runtime/tools/setup-envtest@latest)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to update the Kubernetes version? or do that separately?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it makes sense to address them at the same time. I'll add that update to this PR

rynowak
rynowak previously approved these changes May 23, 2024
Copy link
Contributor

@rynowak rynowak left a comment

Choose a reason for hiding this comment

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

Code change looks good!

@rynowak
Copy link
Contributor

rynowak commented May 23, 2024

@sk593 - looks like your DCO signoff is missing, can you fix that and then I'll launch the functional tests?

@sk593 sk593 force-pushed the revert-7629-update-kubebuilder branch from d72d107 to 7929cf6 Compare May 23, 2024 19:49
@sk593 sk593 temporarily deployed to functional-tests May 24, 2024 17:20 — with GitHub Actions Inactive
@sk593 sk593 changed the title [testing] Revert "Update kubebuilder to the latest working version" Revert "Update kubebuilder to the latest working version" May 24, 2024
@sk593 sk593 marked this pull request as ready for review May 24, 2024 17:40
@radius-functional-tests
Copy link

radius-functional-tests bot commented May 24, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository radius-project/radius
Commit ref 6ea0171
Unique ID funceb388661d7
Image tag pr-funceb388661d7
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funceb388661d7
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funceb388661d7
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funceb388661d7
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funceb388661d7
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting msgrp functional tests...
⌛ Starting samples functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting kubernetes functional tests...
⌛ Starting ucp functional tests...
⌛ Starting shared functional tests...
⌛ Starting datastoresrp functional tests...
⌛ Starting cli functional tests...
✅ msgrp functional tests succeeded
✅ kubernetes functional tests succeeded
✅ samples functional tests succeeded
✅ ucp functional tests succeeded
✅ daprrp functional tests succeeded
✅ datastoresrp functional tests succeeded
✅ cli functional tests succeeded
✅ shared functional tests succeeded

@ytimocin ytimocin force-pushed the revert-7629-update-kubebuilder branch from 6ea0171 to 44b825d Compare May 25, 2024 09:42
@radius-functional-tests
Copy link

radius-functional-tests bot commented May 25, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository radius-project/radius
Commit ref 44b825d
Unique ID func22f71f18be
Image tag pr-func22f71f18be
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func22f71f18be
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-func22f71f18be
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func22f71f18be
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func22f71f18be
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting daprrp functional tests...
⌛ Starting msgrp functional tests...
⌛ Starting ucp functional tests...
⌛ Starting datastoresrp functional tests...
⌛ Starting kubernetes functional tests...
⌛ Starting cli functional tests...
⌛ Starting samples functional tests...
⌛ Starting shared functional tests...
✅ msgrp functional tests succeeded
✅ kubernetes functional tests succeeded
✅ daprrp functional tests succeeded
✅ samples functional tests succeeded
❌ ucp functional test failed. Please check the logs for more details
❌ cli functional test cancelled. Please check the logs for more details
❌ shared functional test cancelled. Please check the logs for more details

rynowak
rynowak previously approved these changes May 28, 2024
Copy link
Contributor

@rynowak rynowak left a comment

Choose a reason for hiding this comment

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

:shipit: - looks great thanks!

@rynowak
Copy link
Contributor

rynowak commented May 28, 2024

Looks like DCO is missing.

sk593 and others added 2 commits May 28, 2024 09:18
This reverts commit 4cacb58.

Signed-off-by: sk593 <shruthikumar@microsoft.com>
Signed-off-by: sk593 <shruthikumar@microsoft.com>
@sk593 sk593 temporarily deployed to functional-tests May 28, 2024 16:18 — with GitHub Actions Inactive
@sk593
Copy link
Contributor Author

sk593 commented May 28, 2024

Looks like DCO is missing.

whoops, branch should be updated now

@radius-functional-tests
Copy link

radius-functional-tests bot commented May 28, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository radius-project/radius
Commit ref 753bc09
Unique ID funccca5d54990
Image tag pr-funccca5d54990
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funccca5d54990
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funccca5d54990
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funccca5d54990
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funccca5d54990
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting msgrp functional tests...
⌛ Starting ucp functional tests...
⌛ Starting kubernetes functional tests...
⌛ Starting samples functional tests...
⌛ Starting cli functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting datastoresrp functional tests...
⌛ Starting shared functional tests...
✅ msgrp functional tests succeeded
✅ kubernetes functional tests succeeded
✅ samples functional tests succeeded
✅ cli functional tests succeeded
✅ daprrp functional tests succeeded
✅ datastoresrp functional tests succeeded
✅ shared functional tests succeeded

@sk593 sk593 temporarily deployed to functional-tests May 28, 2024 19:04 — with GitHub Actions Inactive
@radius-functional-tests
Copy link

radius-functional-tests bot commented May 28, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository radius-project/radius
Commit ref 25e5365
Unique ID func0640dc3a1a
Image tag pr-func0640dc3a1a
Click here to see the list of tools in the current test run
  • gotestsum 1.10.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.1.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func0640dc3a1a
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-func0640dc3a1a
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func0640dc3a1a
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func0640dc3a1a
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting cli functional tests...
⌛ Starting datastoresrp functional tests...
⌛ Starting ucp functional tests...
⌛ Starting msgrp functional tests...
⌛ Starting shared functional tests...
⌛ Starting daprrp functional tests...
⌛ Starting samples functional tests...
⌛ Starting kubernetes functional tests...
✅ msgrp functional tests succeeded
✅ samples functional tests succeeded
✅ ucp functional tests succeeded
✅ kubernetes functional tests succeeded
✅ daprrp functional tests succeeded
✅ datastoresrp functional tests succeeded
✅ cli functional tests succeeded
✅ shared functional tests succeeded

@sk593 sk593 merged commit 2b2b9d9 into main May 28, 2024
19 checks passed
@sk593 sk593 deleted the revert-7629-update-kubebuilder branch May 28, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make test setup-envtest unable to find version for linux
3 participants