Never mind, it's working now Seems what happened was that it still accessed a stale/cached version of the jar file, after I forced an update the project compiled.
.... [ERROR] Failed to execute goal on project aws-ec2: Could not resolve dependencies for project org.apache.jclouds.provider:aws-ec2:bundle:1.7.1-stratos: Failure to find org.apache.jclouds.api:ec2:jar:tests:1.7.1-stratos in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] From: Nirmal Fernando [mailto:[email protected]] Sent: Friday, April 04, 2014 9:01 PM To: [email protected] Cc: Lahiru Sandaruwan Subject: Re: Build failure Hi Martin, What's the exact error log please? On Sat, Apr 5, 2014 at 9:29 AM, Martin Eppel (meppel) <[email protected]<mailto:[email protected]>> wrote: I just pulled the latest code from master and still see a/the build failure, did you guys check the workaround in or did I miss something ? [INFO] jclouds vcloud api ................................ SUCCESS [36.617s] [INFO] jclouds ec2 api ................................... SUCCESS [12.168s] [INFO] jclouds openstack-nova api ........................ SUCCESS [7.101s] [INFO] jclouds Amazon EC2 provider ....................... FAILURE [0.230s] From: Nirmal Fernando [mailto:[email protected]<mailto:[email protected]>] Sent: Thursday, April 03, 2014 2:31 AM To: [email protected]<mailto:[email protected]> Cc: Lahiru Sandaruwan Subject: Re: Build failure I need to discuss this, but currently not much time. Will do it as soon as possible. On Thu, Apr 3, 2014 at 2:58 PM, Isuru Perera <[email protected]<mailto:[email protected]>> wrote: On Thu, Apr 3, 2014 at 2:12 PM, Nirmal Fernando <[email protected]<mailto:[email protected]>> wrote: I've fixed it with a temporary fixes. I believe that these test cases doesn't make much sense, I'll get clarified them from jclouds community. Okay great. I see the change is to remove dynamically generated security group, for eg: "jclouds#group". This is good as there are no rules for that security group. DId you discuss this change with jclouds? Any ref? I'm just asking as we have to push these changes to jclouds eventually. Thanks! Sorry for the inconvenience. On Thu, Apr 3, 2014 at 1:22 PM, Nirmal Fernando <[email protected]<mailto:[email protected]>> wrote: Ah... sorry .. guys ,.. seems I missed the test case in aws-ec2. I've fixed ec2 test case, but didn't notice that there's a test case in aws-ec2 too. Will fix this asap. On Thu, Apr 3, 2014 at 12:20 PM, Lahiru Sandaruwan <[email protected]<mailto:[email protected]>> wrote: I thought this is due to version update and recently added api is referring to different version. Seems it is not. On Wed, Apr 2, 2014 at 11:36 PM, Isuru Perera <[email protected]<mailto:[email protected]>> wrote: Nirmal, Any idea? On Thu, Apr 3, 2014 at 11:58 AM, Dinesh Bandara <[email protected]<mailto:[email protected]>> wrote: Hi, Getting following error in jclouds Amazon EC2 provider 1.7.1 Tests run: 300, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 6.578 sec <<< FAILURE! testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroupIds(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest) Time elapsed: 0.002 sec <<< FAILURE! java.lang.AssertionError: Sets differ: expected [jclouds#group] but got [] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.assertEquals(Assert.java:710) at org.testng.Assert.assertEquals(Assert.java:688) at org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroupIds(CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.java:820) testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroups(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest) Time elapsed: 0.002 sec <<< FAILURE! java.lang.AssertionError: Sets differ: expected [jclouds#group, group1, group2] but got [group1, group2] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.assertEquals(Assert.java:710) at org.testng.Assert.assertEquals(Assert.java:688) at org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroups(CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest.java:784) Results : Failed tests: testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroupIds(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest): Sets differ: expected [jclouds#group] but got [] testGetSecurityGroupsForTagAndOptions_reusesGroupByDefaultWhenNoPortsAreSpecifiedWhenDoesExistAndAcceptsUserSuppliedGroups(org.jclouds.aws.ec2.compute.strategy.CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptionsTest): Sets differ: expected [jclouds#group, group1, group2] but got [group1, group2] Tests run: 300, Failures: 2, Errors: 0, Skipped: 0 Thanks -- Dinesh Bandara Software Engineer WSO2 Inc.; http://wso2.com<http://wso2.com/> lean.enterprise.middleware -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha<http://about.me/chrishantha> -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: [email protected]<mailto:[email protected]> cell: (+94) 773 325 954<tel:%28%2B94%29%20773%20325%20954> blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/ -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/ -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha<http://about.me/chrishantha> -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/ -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/
