Comments (4)
According to the Linux Manual ELOOP is returned when pathname was a symbolic link, and flags specified O_NOFOLLOW but not O_PATH. Specifying O_PATH solves the problem for us and does not break any other test.
fd, err := unix.Openat(d.fd, name, unix.O_DIRECTORY|unix.O_NOFOLLOW|unix.O_RDONLY|unix.O_PATH, 0)
We are not yet sure why it works without O_PATH on your system but not on ours but my guess is that it is because RHEL7 is using an older kernel (3.10.0-1127.8.2.el7.x86_64). What do you think @EdSchouten?
My colleague @ehrtro will post a PR with this solution shortly if we do not find anything new and then we will see if this had any affect on your systems.
from bb-storage.
We are not yet sure why it works without O_PATH on your system but not on ours but my guess is that it is because RHEL7 is using an older kernel (3.10.0-1127.8.2.el7.x86_64). What do you think @EdSchouten?
Yeah, it's likely just a bug in older versions of Linux. Let's continue discussing this in #72!
from bb-storage.
For those of you who got this test to pass it would be really helpful if you could provide us with which OS you are running on.
The test currently passes on Ubuntu 18.04 (Linux 4.15.0-76-generic), macOS 10.15, and on Linux-based GitHub Actions workers (container image docker://l.gcr.io/google/bazel:2.1.0
)
from bb-storage.
Thank you for the fast response @EdSchouten.
Then it seems that it has something to do with our environment. I will keep looking.
from bb-storage.
Related Issues (20)
- Revisit deprecation of GCS storage backend HOT 12
- Documentation needed for allowing cache access from different types of bazel clients HOT 1
- Missing shell in bb-storage docker image HOT 1
- Support for compression from buildbarn HOT 5
- Panic in local blockstore write HOT 3
- Doc Update: ISCC / AC storages are only compatible with local replicator HOT 1
- gRPC Client Certificate Refresh Interval is not respected
- Filesystem errors in bb-storage are recorded as "Unknown" in prometheus
- Feature request: Support RSA signed JWTs
- Feature request: Support JWKS for specifying JWT public keys HOT 4
- Failed to fetch file errors in "builds without the bytes" builds in a sharded setup HOT 7
- Failed to create authorization header parser for JWT authentication policy: Unsupported public key type HOT 3
- Cannot open raw block device provisioned by kubernetes when running as non root user HOT 3
- Support connection draining in kubernetes environments HOT 2
- Tunable LogLevels? HOT 3
- Is there any detailed description about config? HOT 6
- Creating buildbarn storage image doesn't work on bazel 7 HOT 2
- JWT: support ALB token format HOT 5
- Load server CA certificates from files for client configuration
- Publish images with arm64 HOT 4
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 bb-storage.