Tests

Workflow/Acceptance test. Currently in Jenkins

Eden Workflows

make clean
make build
./eden config add default
./eden config set default --key=eve.accel --value=false
./eden test ./tests/workflow

Individual tests to be developed / supported. 

Each test is a separate folder in eden/tests.



  • Build



  1.  

    1. Eden

Success: Build without errors



  • Create config



Success: Config created. Config is displayed using eden config get 



  • Eve onboard 



Success: check eve onboarded using eden status



  • Eve ssh



Success: able to run ‘ls’ command via ssh



  • Eve update



Success: Read eve version before and after the update from eve using ssh



  • Display logs



Success: Get 1 log message



  • Display metrics 



Success: Get 1 metric message



  • Display events



Success: Get 1 event message



  • Run container (nginx) & delete container



Success: Load a web page & get a web page 



  • Run container (wordpress) & delete container



Success: Load a web page & get a web page 



  • Run VM (ubuntu)  & delete VM



Success: ssh to VM and run ls command



  • Run VM (ubuntu + VNC) & delete container



Success: VNC to VM 



  • Run containers/VM:

  • vary CPU number

  • vary disk size 

  • vary networking

  • vary exposed ports



Success: get resources on machines 



  • Firewall enable



Success: restrict specific ports



  • Create too many containers to consume all resources

Success: run as expected until fail.

  • Test resources  

Wifi

Audio

Com port

USB boot

VideoCard

Eth

Success: get the resource inside docker/VM

  • InterApp communication

Success: send data from one app and recieve on the other. MySQL + mysql client



  • Run a set of microservices 

Success: run Hadoop