Summary

Tests Errors Failures Skipped Success Rate Time
362 0 0 0 100% 169.326

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Skipped Success Rate Time
entropy.execution.driver 38 0 0 0 100% 0.072
entropy.decision 37 0 0 0 100% 0.283
entropy.monitoring.ganglia 12 0 0 0 100% 3.017
entropy.tool 7 0 0 0 100% 0.004
entropy.monitoring 4 0 0 0 100% 0.002
entropy 3 0 0 0 100% 0.043
entropy.plan 51 0 0 0 100% 60.967
entropy.configuration.parser 15 0 0 0 100% 0.284
entropy.observatory 8 0 0 0 100% 0.031
entropy.constraintsSolver 21 0 0 0 100% 0.053
entropy.configuration 50 0 0 0 100% 0.014
entropy.controlLoop 16 0 0 0 100% 86.08
entropy.constraintsSolver.constraint 5 0 0 0 100% 0.465
entropy.execution 5 0 0 0 100% 17.996
entropy.plan.graph 7 0 0 0 100% 0.006
entropy.plan.action 83 0 0 0 100% 0.009

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

entropy.execution.driver

Class Tests Errors Failures Skipped Success Rate Time
TestSSHStop 3 0 0 0 100% 0.001
TestSSHMigration 2 0 0 0 100% 0.001
TestSSHDriver 4 0 0 0 100% 0.001
TestSSHRun 3 0 0 0 100% 0.003
TestXenGuestResume 1 0 0 0 100% 0
TestXenGuestSuspend 1 0 0 0 100% 0
TestXenGuestMigration 1 0 0 0 100% 0
TestXenAPIDriver 2 0 0 0 100% 0
TestSSHResume 2 0 0 0 100% 0.001
TestDriverFactory 16 0 0 0 100% 0.005
TestWoLStartup 2 0 0 0 100% 0.006
TestXenRPCClient 1 0 0 0 100% 0.054

entropy.decision

Class Tests Errors Failures Skipped Success Rate Time
TestVirtualMachinesPackingProblem 4 0 0 0 100% 0.108
TestRunningLeaseSelectorProblem 10 0 0 0 100% 0.12
TestDecisionModuleFactory 6 0 0 0 100% 0.003
TestFirstFitRunningLeaseSelector 6 0 0 0 100% 0.024
TestVirtualMachinesAssignmentProblem 1 0 0 0 100% 0.005
TestFirstFitPlacement 4 0 0 0 100% 0.006
TestDecisionModule 2 0 0 0 100% 0.002
TestConfigurationChecker 4 0 0 0 100% 0.015

entropy.monitoring.ganglia

Class Tests Errors Failures Skipped Success Rate Time
TestGangliaMetaXMLParser 9 0 0 0 100% 0.39
TestGangliaConfigurationAdapter 3 0 0 0 100% 2.627

entropy.tool

Class Tests Errors Failures Skipped Success Rate Time
TestEntropyProperties 7 0 0 0 100% 0.004

entropy.monitoring

Class Tests Errors Failures Skipped Success Rate Time
TestConfigurationAdapterFactory 4 0 0 0 100% 0.002

entropy

Class Tests Errors Failures Skipped Success Rate Time
TestEntropy 3 0 0 0 100% 0.043

entropy.plan

Class Tests Errors Failures Skipped Success Rate Time
TestPlanFactory 6 0 0 0 100% 0.004
TestActionsPool 2 0 0 0 100% 0
TestImpactCost 3 0 0 0 100% 0
TestDefaultPlanner 13 0 0 0 100% 0.006
TestReconfigurationPlan 5 0 0 0 100% 0.002
TestActionsSequence 9 0 0 0 100% 0.003
TestLeasePlanner 3 0 0 0 100% 0.005
TestVirtualMachinesReplacementProblem 3 0 0 0 100% 60.032
TestReorganizationProblem 7 0 0 0 100% 0.915

entropy.configuration.parser

Class Tests Errors Failures Skipped Success Rate Time
TestConfigurationParser 4 0 0 0 100% 0.278
TestVirtualMachineParser 6 0 0 0 100% 0.004
TestNodeParser 4 0 0 0 100% 0.001
TestLeaseParser 1 0 0 0 100% 0.001

entropy.observatory

Class Tests Errors Failures Skipped Success Rate Time
TestObservatory 3 0 0 0 100% 0.001
TestFifoLeasesManager 3 0 0 0 100% 0.024
TestSuspendRecorder 2 0 0 0 100% 0.006

entropy.constraintsSolver

Class Tests Errors Failures Skipped Success Rate Time
TestChocoSolver 21 0 0 0 100% 0.053

entropy.configuration

Class Tests Errors Failures Skipped Success Rate Time
TestConfiguration 19 0 0 0 100% 0.008
TestVirtualMachine 5 0 0 0 100% 0.001
TestNode 5 0 0 0 100% 0.001
TestManagedElement 4 0 0 0 100% 0.002
TestManagedElementComparator 3 0 0 0 100% 0.001
TestLease 4 0 0 0 100% 0
TestManagedElementSet 10 0 0 0 100% 0.001

entropy.controlLoop

Class Tests Errors Failures Skipped Success Rate Time
TestDynamicConsolidation 3 0 0 0 100% 33.471
TestControlLoopFactory 4 0 0 0 100% 0.002
TestControlLoop 4 0 0 0 100% 13.174
TestDynamicLeaseManagement 5 0 0 0 100% 39.433

entropy.constraintsSolver.constraint

Class Tests Errors Failures Skipped Success Rate Time
TestIntKnapsackConstraint 2 0 0 0 100% 0.385
TestAtMostNValue 2 0 0 0 100% 0.035
TestAdvancedBooleanChanneling 1 0 0 0 100% 0.045

entropy.execution

Class Tests Errors Failures Skipped Success Rate Time
TestReconfigurationExecuter 3 0 0 0 100% 11.791
TestShiftedParallelDriverExecutor 1 0 0 0 100% 4.334
TestParallelDriversExecutor 1 0 0 0 100% 1.871

entropy.plan.graph

Class Tests Errors Failures Skipped Success Rate Time
TestReconfigurationGraph 5 0 0 0 100% 0.006
TestEdge 2 0 0 0 100% 0

entropy.plan.action

Class Tests Errors Failures Skipped Success Rate Time
TestNodeAction 10 0 0 0 100% 0.003
TestShutdown 10 0 0 0 100% 0.001
TestSuspend 11 0 0 0 100% 0.001
TestVirtualMachineAction 4 0 0 0 100% 0.001
TestStop 8 0 0 0 100% 0
TestStartup 8 0 0 0 100% 0.001
TestRun 8 0 0 0 100% 0
TestResume 11 0 0 0 100% 0
TestMigrate 13 0 0 0 100% 0.002

Test Cases

TestSSHStop

testGetCommandToExecute 0.001
testGetRemoteHostname 0
testDefaultProperties 0

TestVirtualMachinesPackingProblem

test 0.004
testPoolOfConfigurations 0.036
testPoolOfConfigurations 0.026
testPoolOfConfigurations 0.042

TestPlanFactory

testDefaultProperties 0.001
testInvalidCreation 0.001
testVMRPCreation 0.001
testVMPlanner 0.001
testLeasePlanner 0
testReorganizationProblem 0

TestDynamicConsolidation

testRunLoopWithNonViable 2.558
testRunLoopWithNoChange 0.012
testRunLoopWithViableButNonMinimal 30.901

TestConfiguration

testToString 0
testGetUnusedNodes 0
testCopyConstructor 0.001
testEquals 0
testGetRunnings 0
testRemove 0
testGetOnlines 0.001
testSetSleepOn 0.001
testGetSleepingLocation 0.001
testAddOffline 0.001
testGetWaitings 0.001
testAddOnline 0.001
testGetUsedNodes 0
testNotEquals 0
testSetRunOn 0
testGetSleepings 0.001
testGetPosition 0
testGetRunningLocation 0
testAddWaiting 0

TestRunningLeaseSelectorProblem

testWithEmptyCluster 0.004
testValidAppend3 0.008
testWithDisappeared 0.005
testValidAppend1 0.015
testValidAppend2 0.007
testInvalidAppend1 0.004
testWithOverloadedCluster 0.009
testCompute2 0.018
testFromExistantConfiguration 0.026
testCompute1 0.024

TestSSHMigration

testGetRemoteHostname 0
testGetCommandToExecute 0.001

TestDecisionModuleFactory

testUseSimplification 0.001
testDefaultProperties 0.001
testInvalidImplementation 0.001
testVMPPCreation 0
testVMAPCreation 0
testFFDCreation 0

TestSSHDriver

testGets 0
testGetsWithoutUsername 0
testWithDefaultProperties 0.001
testToString 0

TestReconfigurationGraph

testIngoingsAndOutgoings 0.005
testCheckTemporaryHost 0
testRemoveVirtualMachine 0
testMaximumSimultaneousFeasibleIncoming 0.001
testRoot 0

TestVirtualMachine

testMemoryTotal 0
testNbOfCPUs 0.001
testCPUConsumption 0
testEquals 0
testCopyConstructor 0

TestSSHRun

testGetCommandToExecute 0.001
testDefaultProperties 0.001
testGetRemoteHostname 0.001

TestXenGuestResume

testDefaultProperties 0

TestGangliaMetaXMLParser

checkVirtualMachineMetricsParsing 0.029
testExtractionWithNoNodes 0.017
testWithNodesBlackList 0.214
checkAssignmentsParsing 0.024
testExtractionWithNoVirtualMachines 0.019
checkAssignmentsParsingWithInvalidAssignemnt 0.029
testUpToDateDatasExclusion 0.022
checkNodeMetricsParsing 0.019
checkCPUConsumptionComputation 0.017

TestConfigurationParser

testWriting 0.275
testGood 0.001
testWithUnknownVirtualMachine 0.001
testWithUnknownNode 0.001

TestIntKnapsackConstraint

testKnapsack 0.385
testSolveSameSize 0

TestFirstFitRunningLeaseSelector

testValidAppend1 0.001
testValidAppend3 0.001
testCompute2 0.002
testCompute1 0.002
testInvalidAppend1 0.007
testValidAppend2 0.011

TestXenGuestSuspend

testDefaultProperties 0

TestReconfigurationExecuter

testExecuteInParralelWithSuccess 1.982
testGo 8.186
testExecuteInParralelWithFails 1.623

TestObservatory

testSendDecorate 0.001
testGetObservations 0
testReportAction 0

TestNode

testCPUCapacity 0
testEquals 0
testCopyConstructor 0.001
testNbOfCPUs 0
testMemoryTotal 0

TestFifoLeasesManager

testSimpleScanLeases 0.015
testDecorate 0.008
testAppend 0.001

TestManagedElement

testIsEquivalent 0.001
testGetName 0
testValues 0.001
testEquals 0

TestActionsPool

testToString 0
testSize 0

TestVirtualMachinesAssignmentProblem

checkBehavior 0.005

TestNodeAction

testIsCompatibleWith 0
testIsIncompatibleWith 0.001
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0.001
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testGets 0.001

TestVirtualMachineParser

testMalformedString 0.003
testWriteWithLeaseID 0
testWithLeaseID 0.001
testWrongNumber 0
testGood 0
testBadNumberSyntax 0

TestImpactCost

testReconfigurationCost 0
testGetCostOfAPool 0
testGetLocalCost 0

TestShiftedParallelDriverExecutor

testSynchro 4.334

TestChocoSolver

testVMsAreAllAssigned 0.006
testSolveWithNoSolution 0.009
testGetInitialConfiguration 0.001
testMustBeRunning 0.001
testViabilityWithRelatedConstraint 0.001
testDenyVirtualMachinesOnNodes 0.002
testSolveWithExistingSolution 0.004
testAssignOnDifferentNodes 0.001
testMustBeStopped 0.001
testSolveWithTimeoutWithoutSolution 0.003
checkAssignmentVars 0.002
testSetMaximumVirtualMachinesOn 0.004
testAssignOnSameNode 0.006
testViabilityWithNoRelatedConstraint 0.001
testMustBeOnFarm 0.003
testGetResultingConfiguration 0.001
checkNodeResourcesVar 0.001
testComplexAssignment 0.002
testRestrictVirtualMachineOnNodes 0.001
testDefaultViability 0.001
checkVirtualMachineResourcesValue 0.002

TestShutdown

testEquals 0
testIsCompatibleWith 0
testApply 0
testToDotString 0
testGets 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0.001
testUndo 0
testToString 0

TestControlLoopFactory

testLeaseManagement 0
testWithBadImpl 0.001
testDefaultProperties 0.001
testDynamicConsolidationImpl 0

TestDefaultPlanner

testSimplePlanWithDependencies 0.001
testResumeDetection 0
beautifulTest 0
testComplexActionsSequencing 0.001
testMigrationDetection 0
testSuspendDetection 0.001
testBasicConfiguration 0
testDisjointCycle 0.002
testRunDetection 0
testVirtualMachineSwap 0.001
testSimplePlanWithoutDependencies 0
testStopDetection 0
testLongCycle 0

TestFirstFitPlacement

testConfigurationCoherence 0.001
testStandard 0.003
testWithNoSolution 0.001
testFirstFitDecrease 0.001

TestReconfigurationPlan

checkToString 0.001
testInvalidAppend 0.001
testValidAppend 0
checkGetDotGraph 0
testGetResultConf 0

TestDecisionModule

testGetObservations 0.001
testTimeout 0.001

TestActionsSequence

testToDotString 0
testUndo 0.001
testAddOrdering 0
testIsCompatibleWith 0.001
testToString 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testSimpleAdd 0.001
testApply 0

TestConfigurationAdapterFactory

testIgnoreListLoading 0.001
testInvalidCreation 0.001
testGangliaCreation 0
testDefaultProperties 0

TestNodeParser

testGood 0.001
testBadNumberSyntax 0
testWrongNumber 0
testMalformedString 0

TestEntropyProperties

testIsDefined 0
testGetOptionalProperty 0.001
testGetRequiredPropertyWithIncorrectFormat 0.001
testWithUnknownFile 0
testGetOptionalPropertyWithWrongFormat 0
testGetRequiredPropertyWithExistantProperty 0.001
testGetRequiredPropertyWithUnknownProperty 0.001

TestAtMostNValue

testSolve1 0.003
testDominationQueen 0.032

TestSuspend

testToString 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0.001
testIsIncompatibleWith 0
testUndo 0
testToDotString 0
testIsCompatibleWith 0
testApply 0

TestManagedElementComparator

testEquivalent 0.001
testWithNulls 0
testNonEquivalent 0

TestLeasePlanner

complexTest 0.003
testGroupLeaseActions 0.001
testSuspends 0.001

TestLeaseParser

parseGoodLease 0.001

TestEntropy

testWithBadArgs 0.022
testWithNoArgs 0.002
testWithBadProperties 0.019

TestVirtualMachineAction

testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsCompatibleWith 0.001
testGets 0

TestVirtualMachinesReplacementProblem

simpleTest 0.016
testWithNoMigrations 0.005
testPoolOfConfigurations 60.011

TestControlLoop

testGetConnection 2.12
testRegisterUnregisterWithExistantRegistry 2.018
testRegisterUnregisterWithInexistantRegistry 2.014
testRemoteManagement 7.022

TestXenGuestMigration

testDefaultProperties 0

TestXenAPIDriver

testToString 0
testGets 0

TestStop

testApply 0
testIsCompatibleWith 0
testToDotString 0
testToString 0
testUndo 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0

TestSSHResume

testGetRemoteHostname 0
testGetCommandToExecute 0.001

TestStartup

testToString 0
testIsIncompatibleWith 0
testToDotString 0
testApply 0
testEquals 0.001
testGets 0
testUndo 0
testIsCompatibleWith 0

TestRun

testUndo 0
testToString 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsCompatibleWith 0
testToDotString 0
testApply 0

TestDriverFactory

testBadActions 0.001
testBadActions 0.001
testBadActions 0
testBadActions 0.001
testBadActions 0
testBadActions 0
testBadActions 0
testBadActions 0
testGoodAction 0.001
testGoodAction 0
testGoodAction 0
testGoodAction 0
testGoodAction 0
testGoodAction 0
testGoodAction 0
testGoodAction 0.001

TestResume

testUndo 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testToString 0
testApply 0
testToDotString 0
testIsCompatibleWith 0

TestDynamicLeaseManagement

testWithDefaultProperties 0.048
testRLSlauncherAfterFails 25.821
test 0.045
testStartup 2.004
testRLSlauncherAfterTimeout 11.515

TestMigrate

testApply 0
testGets 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testIsIncompatibleWith 0.001
testIsIncompatibleWith 0
testIsIncompatibleWith 0
testUndo 0
testToDotString 0
testIsCompatibleWith 0.001
testToString 0
testEquals 0

TestEdge

testGets 0
testEquals 0

TestLease

testGets 0
testRemove 0
testAdd 0
testEquals 0

TestReorganizationProblem

testWithOnlySuspend 0.011
testPlanReduction 0.033
complexTest 0.603
testWithOnlyResume 0.143
testWithOnlyStartups 0.067
testCleaning 0.005
testWithOnlyMigration 0.053

TestManagedElementSet

testEquals 0
testCopyConstructor 0.001
testGetFromName 0
testRemove 0
testAdd 0
testAddAll 0
testGetEquivalents 0
testGetMaximum 0
testGetDifferentElements 0
testGetMinimum 0

TestParallelDriversExecutor

testSynchro 1.871

TestWoLStartup

testOnNodeWithoutMAC 0.001
testSend 0.005

TestGangliaConfigurationAdapter

testReadXMLDump 1.141
testGets 0.001
testExtractConfiguration 1.485

TestSuspendRecorder

testDecorate 0.004
testReport 0.002

TestAdvancedBooleanChanneling

test 0.045

TestConfigurationChecker

testCheckWithCPUOverloaded 0.004
complexTest 0.004
testCheckWithMemoryOverloaded 0.004
testCheckConfigurationViability 0.003

TestXenRPCClient

testGets 0.054