Clusters with the click

Build: #123 failed Changes by 3 people

Build result summary

Details

Completed
Duration
4 minutes
Labels
None
Revision
b510516611f9edeb5d79f653b052f847f14fefb6 b510516611f9edeb5d79f653b052f847f14fefb6
Total tests
559
Fixed in
#124 (Changes by Chris Gianelloni)

Responsible

  • albert albert Automatically assigned

Code commits

Author Commit Message Commit date
albertshau <albert@cask.co> albertshau <albert@cask.co> b510516611f9edeb5d79f653b052f847f14fefb6 b510516611f9edeb5d79f653b052f847f14fefb6 Merge pull request #717 from cybervisiontech/rest-client-integration-tests
COOPR-548 Plugins Rest client integration tests
Alina Makogon <amakogon@cybervisiontech.com> Alina Makogon <amakogon@cybervisiontech.com> 18265f755b327c86f8d4336f1d90cc2b24dd1553 18265f755b327c86f8d4336f1d90cc2b24dd1553 COOPR-548: Added integration tests for Plugins Rest Client.
yura <ytolochkevych@cybervision.com> yura <ytolochkevych@cybervision.com> 1a226bca8a22975fa8dcc0ce6a461bf8ae1d56f8 1a226bca8a22975fa8dcc0ce6a461bf8ae1d56f8 fix delete resource method
yura <ytolochkevych@cybervision.com> yura <ytolochkevych@cybervision.com> b125c5ac8e5defb94e0e6a6def94859cd08b2114 b125c5ac8e5defb94e0e6a6def94859cd08b2114 fix delete resource method
Alina Makogon <amakogon@cybervisiontech.com> Alina Makogon <amakogon@cybervisiontech.com> 6754e3fafa0fc8839d6927ccf3681f8ad4f6717f 6754e3fafa0fc8839d6927ccf3681f8ad4f6717f COOPR-526: Fixed compilation error after merge.

Tests

New test failures 26
Status Test View job Duration
Collapse Failed AddServicesOnClusterCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
clusterClient.addServicesOnCluster(
    "test",
    <any>
);
-> at co.cask.coopr.shell.command.AddServicesOnClusterCommandTest.executeTest(AddServicesOnClusterCommandTest.java:37)

(8 more lines...)
Collapse Failed CreateClusterCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
clusterClient.createCluster(<any>);
-> at co.cask.coopr.shell.command.CreateClusterCommandTest.executeTest(CreateClusterCommandTest.java:38)

However, there were other interactions with this mock:
-> at co.cask.coopr.shell.command.GetClusterConfigCommand.execute(GetClusterConfigCommand.java:44)
-> at co.cask.coopr.shell.command.GetClusterCommand.execute(GetClusterCommand.java:44)
(5 more lines...)
Collapse Failed DeleteClusterCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
clusterClient.deleteCluster("test", <any>);
-> at co.cask.coopr.shell.command.DeleteClusterCommandTest.executeTest(DeleteClusterCommandTest.java:37)

However, there were other interactions with this mock:
-> at co.cask.coopr.shell.command.GetClusterConfigCommand.execute(GetClusterConfigCommand.java:44)
-> at co.cask.coopr.shell.command.GetClusterCommand.execute(GetClusterCommand.java:44)
(7 more lines...)
Collapse Failed DeleteClusterTemplateCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
adminClient.deleteClusterTemplate(
    "template"
);
-> at co.cask.coopr.shell.command.DeleteClusterTemplateCommandTest.executeTest(DeleteClusterTemplateCommandTest.java:36)
Actual invocation has different arguments:
adminClient.deleteClusterTemplate(
(9 more lines...)
Collapse Failed DeleteHardwareTypeCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
adminClient.deleteHardwareType("type");
-> at co.cask.coopr.shell.command.DeleteHardwareTypeCommandTest.executeTest(DeleteHardwareTypeCommandTest.java:36)
Actual invocation has different arguments:
adminClient.deleteHardwareType(""type"");
-> at co.cask.coopr.shell.command.DeleteHardwareTypeCommand.execute(DeleteHardwareTypeCommand.java:44)

(5 more lines...)
Collapse Failed DeleteImageTypeCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
adminClient.deleteImageType("type");
-> at co.cask.coopr.shell.command.DeleteImageTypeCommandTest.executeTest(DeleteImageTypeCommandTest.java:36)
Actual invocation has different arguments:
adminClient.deleteImageType(""type"");
-> at co.cask.coopr.shell.command.DeleteImageTypeCommand.execute(DeleteImageTypeCommand.java:44)

(5 more lines...)
Collapse Failed DeleteProviderCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
adminClient.deleteProvider("name");
-> at co.cask.coopr.shell.command.DeleteProviderCommandTest.executeTest(DeleteProviderCommandTest.java:36)
Actual invocation has different arguments:
adminClient.deleteProvider(""name"");
-> at co.cask.coopr.shell.command.DeleteProviderCommand.execute(DeleteProviderCommand.java:44)

(5 more lines...)
Collapse Failed DeleteServiceCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
adminClient.deleteService("name");
-> at co.cask.coopr.shell.command.DeleteServiceCommandTest.executeTest(DeleteServiceCommandTest.java:36)
Actual invocation has different arguments:
adminClient.deleteService(""name"");
-> at co.cask.coopr.shell.command.DeleteServiceCommand.execute(DeleteServiceCommand.java:44)

(5 more lines...)
Collapse Failed GetClusterCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
clusterClient.getCluster("id");
-> at co.cask.coopr.shell.command.GetClusterCommandTest.executeTest(GetClusterCommandTest.java:36)
Actual invocation has different arguments:
clusterClient.getCluster(""id"");
-> at co.cask.coopr.shell.command.GetClusterCommand.execute(GetClusterCommand.java:44)

(5 more lines...)
Collapse Failed GetClusterConfigCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
clusterClient.getClusterConfig("config");
-> at co.cask.coopr.shell.command.GetClusterConfigCommandTest.executeTest(GetClusterConfigCommandTest.java:36)
Actual invocation has different arguments:
clusterClient.getClusterConfig(""config"");
-> at co.cask.coopr.shell.command.GetClusterConfigCommand.execute(GetClusterConfigCommand.java:44)

(5 more lines...)
Collapse Failed GetClusterStatusCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
clusterClient.getClusterStatus("status");
-> at co.cask.coopr.shell.command.GetClusterStatusCommandTest.executeTest(GetClusterStatusCommandTest.java:36)
Actual invocation has different arguments:
clusterClient.getClusterStatus(""status"");
-> at co.cask.coopr.shell.command.GetClusterStatusCommand.execute(GetClusterStatusCommand.java:44)

(5 more lines...)
Collapse Failed GetClusterTemplateCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
adminClient.getClusterTemplate("template");
-> at co.cask.coopr.shell.command.GetClusterTemplateCommandTest.executeTest(GetClusterTemplateCommandTest.java:36)
Actual invocation has different arguments:
adminClient.getClusterTemplate(""template"");
-> at co.cask.coopr.shell.command.GetClusterTemplateCommand.execute(GetClusterTemplateCommand.java:44)

(5 more lines...)
Collapse Failed GetHardwareTypeCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
adminClient.getHardwareType("name");
-> at co.cask.coopr.shell.command.GetHardwareTypeCommandTest.executeTest(GetHardwareTypeCommandTest.java:36)
Actual invocation has different arguments:
adminClient.getHardwareType(""name"");
-> at co.cask.coopr.shell.command.GetHardwareTypeCommand.execute(GetHardwareTypeCommand.java:44)

(5 more lines...)
Collapse Failed GetImageTypeCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
adminClient.getImageType("name");
-> at co.cask.coopr.shell.command.GetImageTypeCommandTest.executeTest(GetImageTypeCommandTest.java:36)
Actual invocation has different arguments:
adminClient.getImageType(""name"");
-> at co.cask.coopr.shell.command.GetImageTypeCommand.execute(GetImageTypeCommand.java:44)

(5 more lines...)
Collapse Failed GetProviderCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
adminClient.getProvider("name");
-> at co.cask.coopr.shell.command.GetProviderCommandTest.executeTest(GetProviderCommandTest.java:36)
Actual invocation has different arguments:
adminClient.getProvider(""name"");
-> at co.cask.coopr.shell.command.GetProviderCommand.execute(GetProviderCommand.java:44)

(5 more lines...)
Collapse Failed GetServiceCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
adminClient.getService("name");
-> at co.cask.coopr.shell.command.GetServiceCommandTest.executeTest(GetServiceCommandTest.java:36)
Actual invocation has different arguments:
adminClient.getService(""name"");
-> at co.cask.coopr.shell.command.GetServiceCommand.execute(GetServiceCommand.java:44)

(5 more lines...)
Collapse Failed ListClusterServicesCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
clusterClient.getClusterServices("id");
-> at co.cask.coopr.shell.command.ListClusterServicesCommandTest.executeTest(ListClusterServicesCommandTest.java:36)
Actual invocation has different arguments:
clusterClient.getClusterServices(""id"");
-> at co.cask.coopr.shell.command.ListClusterServicesCommand.execute(ListClusterServicesCommand.java:44)

(5 more lines...)
Collapse Failed RestartServiceOnClusterCommandTest executeTestNoOptional History
Default Job < 1 sec
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
clusterClient.restartServiceOnCluster(
    "cluster1",
    "service1"
);
-> at co.cask.coopr.shell.command.RestartServiceOnClusterCommandTest.executeTestNoOptional(RestartServiceOnClusterCommandTest.java:39)
Actually, there were zero interactions with this mock.
(2 more lines...)
Collapse Failed RestartServiceOnClusterCommandTest executeTestWithOptional History
Default Job < 1 sec
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
clusterClient.restartServiceOnCluster(
    "cluster2",
    "service2",
    <any>
);
-> at co.cask.coopr.shell.command.RestartServiceOnClusterCommandTest.executeTestWithOptional(RestartServiceOnClusterCommandTest.java:46)
(3 more lines...)
Collapse Failed SetClusterConfigCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
clusterClient.setClusterConfig("id", <any>);
-> at co.cask.coopr.shell.command.SetClusterConfigCommandTest.executeTest(SetClusterConfigCommandTest.java:37)

However, there were other interactions with this mock:
-> at co.cask.coopr.shell.command.GetClusterConfigCommand.execute(GetClusterConfigCommand.java:44)
-> at co.cask.coopr.shell.command.GetClusterCommand.execute(GetClusterCommand.java:44)
(5 more lines...)
Collapse Failed SetClusterExpireTimeCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
clusterClient.setClusterExpireTime(
    "id",
    1
);
-> at co.cask.coopr.shell.command.SetClusterExpireTimeCommandTest.executeTest(SetClusterExpireTimeCommandTest.java:36)
Actual invocation has different arguments:
(11 more lines...)
Collapse Failed StartServiceOnClusterCommandTest executeTestWithOptional History
Default Job < 1 sec
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
clusterClient.startServiceOnCluster(
    "cluster2",
    "service2",
    <any>
);
-> at co.cask.coopr.shell.command.StartServiceOnClusterCommandTest.executeTestWithOptional(StartServiceOnClusterCommandTest.java:45)
(5 more lines...)
Collapse Failed StartServiceOnClusterCommandTest executeTestNoOptional History
Default Job < 1 sec
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
clusterClient.startServiceOnCluster(
    "cluster1",
    "service1"
);
-> at co.cask.coopr.shell.command.StartServiceOnClusterCommandTest.executeTestNoOptional(StartServiceOnClusterCommandTest.java:38)

(4 more lines...)
Collapse Failed StopServiceOnClusterCommandTest executeTestNoOptional History
Default Job < 1 sec
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
clusterClient.stopServiceOnCluster(
    "cluster1",
    "service1"
);
-> at co.cask.coopr.shell.command.StopServiceOnClusterCommandTest.executeTestNoOptional(StopServiceOnClusterCommandTest.java:38)

(8 more lines...)
Collapse Failed StopServiceOnClusterCommandTest executeTestWithOptional History
Default Job < 1 sec
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
clusterClient.stopServiceOnCluster(
    "cluster2",
    "service2",
    <any>
);
-> at co.cask.coopr.shell.command.StopServiceOnClusterCommandTest.executeTestWithOptional(StopServiceOnClusterCommandTest.java:45)
(9 more lines...)
Collapse Failed SyncClusterTemplateCommandTest executeTest History
Default Job < 1 sec
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: 
Argument(s) are different! Wanted:
clusterClient.syncClusterTemplate("id");
-> at co.cask.coopr.shell.command.SyncClusterTemplateCommandTest.executeTest(SyncClusterTemplateCommandTest.java:36)
Actual invocation has different arguments:
clusterClient.syncClusterTemplate(""id"");
-> at co.cask.coopr.shell.command.SyncClusterTemplateCommand.execute(SyncClusterTemplateCommand.java:44)

(5 more lines...)

JIRA issues

IssueDescriptionStatus
Unknown Issue TypeCOOPR-526Could not obtain issue details from JIRA
Unknown Issue TypeCOOPR-548Could not obtain issue details from JIRA