Comments (6)
I tried a remote cache (CAS) in the same environment also.
I suppose CAS works well.
from bazel-buildfarm.
This issue might be somewhat related to #1749
from bazel-buildfarm.
I just tried the helm install with minikube, with our recommended port forwarding specification, had no trouble building your example program.
Using bazel-buildfarm-server.bazel-buildfarm.svc as a name to contact the running service implies that you have some association between the cluster and the client bazel environment - are you sure that you can contact it - see bf-cat - at all for Capabilities (the most basic communication) on the port indicated? After verifying that bazel-buildfarm-server.bazel-buildfarm.svc
resolves, of course.
from bazel-buildfarm.
bazel-buildfarm-server.bazel-buildfarm.svc is resolved.
% kubectl get svc -n bazel-buildfarm
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
bazel-buildfarm-redis-headless ClusterIP None <none> 6379/TCP 112d
bazel-buildfarm-redis-master ClusterIP 10.100.239.216 <none> 6379/TCP 112d
bazel-buildfarm-redis-replicas ClusterIP 10.100.51.9 <none> 6379/TCP 112d
bazel-buildfarm-server ClusterIP 10.100.76.80 <none> 8980/TCP,9090/TCP 112d
bazel-buildfarm-shard-worker ClusterIP 10.100.6.122 <none> 8982/TCP,9090/TCP 112d
% kubectl exec -it aaos-app-7f8479b66d-qwr9b -- nslookup bazel-buildfarm-server.bazel-buildfarm.svc
Server: 10.100.0.10
Address: 10.100.0.10#53
Name: bazel-buildfarm-server.bazel-buildfarm.svc.cluster.local
Address: 10.100.76.80
And as I wrote above, it seems that CAS works fine. Just not working remote_execition
only.
$ bazel clean
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.
$ bazel run --remote_cache=grpc://bazel-buildfarm-server.bazel-buildfarm.svc:8980 :main
INFO: Invocation ID: 4e7c1beb-3f46-4032-b6bb-f0061b2e42bd
INFO: Analyzed target //:main (83 packages loaded, 382 targets configured).
INFO: Found 1 target...
Target //:main up-to-date:
bazel-bin/main
INFO: Elapsed time: 0.477s, Critical Path: 0.06s
INFO: 7 processes: 2 remote cache hit, 5 internal.
INFO: Build completed successfully, 7 total actions
INFO: Running command line: bazel-bin/main
Hello, World!2
INFO: 7 processes: 2 remote cache hit, 5 internal.
from bazel-buildfarm.
Hmm... possiblly it depends on the configuration of K8s cluster ???
My Buildfarm is on AWS EKS.
I'll try this on my AzureAKS and Minikube.
from bazel-buildfarm.
Additional info:
I have two EKS clusters that are installed Buildfarm.
The one doesn't work RBE as I reported here.
But ... the other works well.
Even though I can't catch the difference between each cluster, I agree that Buildfarm works well on EKS.
I close this until I get some information for now. And I'll explore some more details.
from bazel-buildfarm.
Related Issues (20)
- Work directory should be added automatically as an input directory HOT 3
- Many `WARNING: DEADLINE_EXCEEDED: write` logs from buildfarm-server. HOT 2
- [Bazel CI] gaussian_distribution_test is failing at Bazel@HEAD HOT 1
- No logs HOT 4
- Running a server on Linux and build on MacOS HOT 3
- buildfarm-worker on Windows Server 2022 fails to clean up operation files HOT 3
- if redisUri is empty, java.lang.NullPointerException error occurred HOT 1
- [Bazel CI] Build Error: No repository for `@com_google_protobuf_javalite` in module `grpc-java` without bazel_dep or use_repo HOT 6
- Do deployments via Helm work as RBE ? HOT 5
- make execution-policy=as-nobody the default on Linux
- [ZstdCompression] Read request with offset incorrectly fails with not_found error and removes blob
- [Bazel CI] apt-get and integration tests are failing with Bazel@HEAD HOT 1
- Tips on learning buildfarm? HOT 2
- Implement Fetch 'Push' Service
- Support http_header: prefix in Fetch Qualifiers
- bazel.canonical_id unsupported in Asset Fetch API HOT 1
- ERROR: error running 'git fetch origin refs/heads/*:refs/remotes/origin/* refs/tags/*:refs/tags/*' while working with @build_buildfarm~: HOT 2
- Updated from java17 to java21 to use the new server and worker causes JVM to shutdown
- Fetch service does not properly handle missing content-length HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-buildfarm.