Skip to content

Fuzz testing of different unknown combinations for BOSH v2

Notifications You must be signed in to change notification settings

terrorform/bosh-fuzz-tests

 
 

Repository files navigation

README

To install:

cd ~/workspace
git clone [email protected]:cloudfoundry-incubator/bosh-fuzz-tests.git
cd bosh-fuzz-tests/src/github.com/cloudfoundry-incubator/bosh-fuzz-tests

To run ginkgo (to test changes):

go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
bin/env ginkgo -r .

To run fuzz tests locally with BOSH director from local source (/Users/pivotal/workspace/bosh or as defined in config.json):

cp ~/workspace/bosh-fuzz-tests/assets/ssl/* /tmp/
DB=postgresql bin/env go run main.go ~/workspace/bosh-fuzz-tests/config.json

Note, on the local workstation this will leave processes behind. To clean up those processes you can try:

kill $(ps aux | egrep "nats-server|bosh-fuzz-tests|bin/bosh-director|bosh-config-server-executable" | grep -v grep | awk '{print $2}')

To re-create failures seen on Concourse:

  • Search for Seeding with and copy the seed number
  • Copy the parameters section from ci/concourse-config.json to config.json
  • Run the following command:
bin/env go run main.go ~/workspace/bosh-fuzz-tests/config.json <SEED_NUMBER>

About

Fuzz testing of different unknown combinations for BOSH v2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.7%
  • Shell 1.3%