Giter VIP home page Giter VIP logo

docker-volume-rdma's People

Contributors

jacobingalls avatar jeremycastillo avatar jjalfaro9 avatar johnstarich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-volume-rdma's Issues

Error running benchmarks: No such file or directory

http://donate03.ece.utexas.edu/job/docker-volume-rdma/36/console

Running Scenario: wordpress

[INFO] Testing wordpress/
[INFO] Starting benchmark...
mysql uses an image, skipping
wordpress uses an image, skipping
Building bench
Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
[INFO] Bringing up Test Fixture [No Volumes]...
The Docker Engine version is less than the minimum required by Compose. Your current project requires a Docker Engine of version 1.13.0 or greater.
[INFO] Collecting...
mv: cannot stat '/tmp/bench_results/result.json': No such file or directory
cat: bench_results.json: No such file or directory
[INFO] 
[INFO] Stopping...

Add Integration Tests

We need a way to make sure than when we run ./run.sh ... that it is starting a web server and listening to requests.

We should perform integration testing on the api generally, db, and on-disk driver.

For example.

  • Create a new volume
POST /VolumeDriver.Create 
{Name: "foo"}

ensuring that it gets a 200 {Err:""} back.

  • Verify that the plugin knows about it
POST /VolumeDriver.List
{}

Ensuring that we get:

{ Volumes: [
    {Name: foo, ...}
]}
  • Verify the db knows about it
echo "SELECT * FROM volumes;" | mysql -uroot -p<password> rdma

ensuring that our volume exits.

We will want to run tests like this for every feature. Think of them like unit tests, but for the actual APIs. For querying the API we can use cURL.

Initial Benchmarking

Begin to to do baseline benchmarking for project.

  • Benchmark applications without volumes
  • Benchmark applications with normal volumes
  • Benchmark applications with volumes on NFS/GlusterFS

Testing to plugin

Now that we have a rough idea of the plugin, lets make sure things are working.
Let's aim for 90% Coverage on all Go files.

GlusterFS install

Setting up ssd and/or ram disk

  • 4 slots on servers in UTA. 1 slot in use w/ 4GB DDR3 ram stick.
  • Jacob has offered to bring in personal ssd.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.