Comments (14)
@catenacyber thanks, the problem was my gitlab shared runner which was configured wrong
from clusterfuzzlite.
Do you mean you had to use Docker in Docker instead of sibling docker ?
cf https://google.github.io/clusterfuzzlite/running-clusterfuzzlite/gitlab/#gitlab-runner
cf https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-socket-binding
from clusterfuzzlite.
Do you mean you had to use Docker in Docker instead of sibling docker ? cf https://google.github.io/clusterfuzzlite/running-clusterfuzzlite/gitlab/#gitlab-runner cf https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-socket-binding
I think so yeah. And there was an issue about clusterfuzzlite [address] not being a stage
from clusterfuzzlite.
So, what do you expect ?
To document the docker-in-docker setup ?
If I remember correctly, at one point, you said you did not want it documented, because it was poor performance compared to sibling docker...
And there was an issue about clusterfuzzlite [address] not being a stage
Right, my workaround was to use stage: build
as it is ont of de the default stages
Do you want a PR about this ?
from clusterfuzzlite.
This issue blocks me also.
But @jonathanmetzman your CI/CD is also not working after using the new gitlab-ci.yaml?
from clusterfuzzlite.
This issue blocks me also.
@tesslinger did you change the stage
to be test
?
What version of Gitlab are you using ?
from clusterfuzzlite.
More people complaining to me about this on discord.
So, what do you expect ?
I expect that the example file can be copied and pasted into a repo and works.
The instructions need to be self contained and explain exactly how to get CFL working...even if it uses the less performant technique (docker in docker), it's much more important that it works than it telling people how to optimize the set up.
from clusterfuzzlite.
I expect that the example file can be copied and pasted into a repo and works.
So, I gather that you want it to work on gitlab.com shared runners.
I do not think that there exists a gitlab shared runner with Docker socket binding as required in https://google.github.io/clusterfuzzlite/running-clusterfuzzlite/gitlab/#gitlab-runner
Do you want me to highlight more this requirement in the doc ?
Furthermore, we can document the Docker-in-docker process. (cf #70 (comment) )
I can try it next week.
That is likely adding to the right place in .gitlab-ci.yml
variables:
DOCKER_HOST: "tcp://docker:2375"
DOCKER_IN_DOCKER: "true"
services:
- docker:dind
But this does not work on hosted gitlab in my experience.
from clusterfuzzlite.
I can also do some example project on gitlab.com if you wish ;-)
from clusterfuzzlite.
I expect that the example file can be copied and pasted into a repo and works.
So, I gather that you want it to work on gitlab.com shared runners.
Shared runners are the default for free users right? Then yes definitely!
I do not think that there exists a gitlab shared runner with Docker socket binding as required in https://google.github.io/clusterfuzzlite/running-clusterfuzzlite/gitlab/#gitlab-runner
Do you want me to highlight more this requirement in the doc ?
I think we need to make this doc as simple as possible for the main users, so if all free users use shared runners I think the example should just be copy-pastable based off that. If the solution for shared runners (docker-in-docker) is suboptimal and fancier users don't have to pay this cost that we can document that.
Furthermore, we can document the Docker-in-docker process. (cf #70 (comment) )
I can try it next week.
That is likely adding to the right place in .gitlab-ci.yml
variables: DOCKER_HOST: "tcp://docker:2375" DOCKER_IN_DOCKER: "true" services: - docker:dind
I have a PR doing thsi I think #112
But this does not work on hosted gitlab in my experience.
again, i think it's more important that we support users using the default settings. We can have a section with copy-pastable exampels for enterprise users but I think it's critical that we support non-enterprise users (especially since people will probably try out CFL using a non-enterprise account and quit if it doesn't work for them)
from clusterfuzzlite.
I think the example should just be copy-pastable based off that
Some things need to be configured in the Gitlab UI (such as the schedules) and cannot be copy pasted
I did #113 to document the Gitlab.com as TL;DR and pushed further the fancy self-managed Gitlab stuff
from clusterfuzzlite.
so - for me basically the problem was the configuration of the Gitlab runner. If you want, I can provide a PR with the example Gitlab runner config to use docker in docker.
In my opinion not everyone uses the Gitlab shared runners, but a self hosted solution.
I think I will get to it next week.
from clusterfuzzlite.
@tesslinger Am I understanding correctly that you use a self-hosted solution ?
And you did not manage to configure a Gitlab runner with sibling dockers ?
from clusterfuzzlite.
Can we close this issue? Seems to be resolved.
from clusterfuzzlite.
Related Issues (20)
- Investigate providing reusable workflows for GitHub users
- build.sh example for go test -fuzz HOT 16
- Failing to build python project HOT 1
- run fuzzers with -jobs (or -workers?) for parallelism HOT 6
- ClusterfuzzLite does not check out submodules HOT 2
- Affordances for "local maxima" in coverage HOT 4
- Requesting addition of AFL++ Fuzzer Engine. HOT 5
- Document how to provide dictionaries and seed corpus to fuzzers HOT 6
- Empty Coverage Reports using ClusterFuzzLite with Prow and GO
- Allow to customize FUZZ_SECONDS option per target HOT 2
- Minimal gitlab configuration is failing to cp to default $OUT HOT 13
- Demo or sample project for Python? HOT 2
- Timeout in pruning job HOT 2
- Possible to continue fuzzing despite errors? HOT 2
- CFLite seems to fail to download the latest builds due to "Bad credentials" HOT 2
- Undefined references to C++ standard library symbols HOT 13
- There doesn't seem to be a way to use the latest docker images (without the "v1" tag) HOT 4
- Mention in docs that OSS-Fuzz has a lot of examples to learn from
- jazzer_driver not available in local infra/helper.py run_fuzzer command HOT 5
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 clusterfuzzlite.