[prev in list] [next in list] [prev in thread] [next in thread] 

List:       esb-java-dev
Subject:    [Carbon-dev] Test failure in EC2Client??
From:       Ruwan Linton <ruwan () wso2 ! com>
Date:       2009-11-24 10:20:32
Message-ID: 4B0BB0A0.4030303 () wso2 ! com
[Download RAW message or body]

There seems to be a test failure in ec2client module of the carbon
components, surefire report attached. Is this local to me??

Thanks,
Ruwan

-- 
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan@wso2.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org



["org.wso2.carbon.ec2client.EC2ClientTest.txt" (text/plain)]

-------------------------------------------------------------------------------
Test set: org.wso2.carbon.ec2client.EC2ClientTest
-------------------------------------------------------------------------------
Tests run: 11, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 1.421 sec <<< \
FAILURE! testDescribeImages(org.wso2.carbon.ec2client.EC2ClientTest)  Time elapsed: \
                1.074 sec  <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more

testRunAndTerminateInstances(org.wso2.carbon.ec2client.EC2ClientTest)  Time elapsed: \
                0.049 sec  <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more

testAssociateAddress(org.wso2.carbon.ec2client.EC2ClientTest)  Time elapsed: 0.03 sec \
                <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more

testDescribeInstances(org.wso2.carbon.ec2client.EC2ClientTest)  Time elapsed: 0.024 \
                sec  <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more

testDescribeRunningAndPendingInstances(org.wso2.carbon.ec2client.EC2ClientTest)  Time \
                elapsed: 0.036 sec  <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more

testDescribeNonExistentInstance(org.wso2.carbon.ec2client.EC2ClientTest)  Time \
                elapsed: 0.009 sec  <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more

testDescribeAvailabilityZones(org.wso2.carbon.ec2client.EC2ClientTest)  Time elapsed: \
                0.01 sec  <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more

testDescribeSecurityGroups(org.wso2.carbon.ec2client.EC2ClientTest)  Time elapsed: \
                0.016 sec  <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more

testRebootInstance(org.wso2.carbon.ec2client.EC2ClientTest)  Time elapsed: 0.02 sec  \
                <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more

testDescribeInstance(org.wso2.carbon.ec2client.EC2ClientTest)  Time elapsed: 0.011 \
                sec  <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more

testDescribeKeyPairs(org.wso2.carbon.ec2client.EC2ClientTest)  Time elapsed: 0.011 \
                sec  <<< ERROR!
org.wso2.carbon.ec2client.EC2Exception: Cannot read decoded bytes
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:228)
	at org.wso2.carbon.ec2client.EC2Client.init(EC2Client.java:209)
	at org.wso2.carbon.ec2client.EC2Client.<init>(EC2Client.java:157)
	at org.wso2.carbon.ec2client.EC2ClientTest.setUp(EC2ClientTest.java:71)
	at junit.framework.TestCase.runBare(TestCase.java:128)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.io.FileNotFoundException: ${pk_file} (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at java.io.FileReader.<init>(FileReader.java:41)
	at org.wso2.carbon.ec2client.utils.PKCS1.readWrappedBody(PKCS1.java:107)
	at org.wso2.carbon.ec2client.utils.PKCS1.readDecodedBytes(PKCS1.java:137)
	at org.wso2.carbon.ec2client.EC2Client.pem2der(EC2Client.java:224)
	... 24 more



_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic