Dies Koper created JCLOUDS-86:
---------------------------------
Summary: fgcp: two compute live tests intermittently fail to ssh
in, testConcurrentUseOfComputeServiceToCreateNodes and
testAScriptExecutionAfterBootWithBasicTemplate
Key: JCLOUDS-86
URL: https://issues.apache.org/jira/browse/JCLOUDS-86
Project: jclouds
Issue Type: Task
Reporter: Dies Koper
gaul suggested on irc that I open a JIRA with remaining tasks for fgcp:
1. Intermittent test failure
2. Clean up apis (few WIP comments, WPI methods)
3. Add more apis
1. When I run the live tests, I usually get: Tests run: 113, Failures: 1,
Errors: 0, Skipped: 0
The failure is sometimes in testConcurrentUseOfComputeServiceToCreateNodes ,
sometimes in testAScriptExecutionAfterBootWithBasicTemplate, with the same
error:
java.util.NoSuchElementException: could not connect to any ip address port 22
on node {id=UZXC0GRT-ZG8ZJCJ07-S-0529, providerId=UZXC0GRT-ZG8ZJCJ07-S-0529,
name=
twin1-fe1, location={scope=NETWORK, id=UZXC0GRT-ZG8ZJCJ07-N-DMZ,
description=DMZ, parent=UZXC0GRT-ZG8ZJCJ07}, group=twin1,
imageId=IMG_I7BXIFH6T3TRZ5BOPNF3, os=
{family=centos, name=CentOS 6.2 64bit (English), arch=pv, version=6.2,
description=CentOS 6.2 64bit (English), is64Bit=true}, status=RUNNING,
loginPort=22, privateAddresses=[192.168.0.12], hardware={id=islanda-cbrm_140,
providerId=islanda-cbrm_140, name=economy, processors=[{cores=1.0, speed=1.0}],
ram=1700, supportsImage=is64Bit()}, loginUser=root}
at
org.jclouds.compute.util.ConcurrentOpenSocketFinder.findOpenSocketOnNode(ConcurrentOpenSocketFinder.java:106)
at
org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:132)
...
When I run them by themselves (i.e. disable all other tests (except dependency
testCompareSizes of course)), they both pass. When I run them in the Eclipse
debugger, they pass.
I believe the ssh timeout is 300 sec, more than enough.
2. API cleanup:
- VirtualDCApi has some commented out annotations from when I was experimenting
with jaxb vs sax
- BuiltinServerApi and FirewallApi/LoadBalancerApi (and corresponding domain
classes), I was looking at moving FW and SLB specific methods to their own
specific classes and improve method names, usability.
3. FGCP API has more APIs which we could add.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira