[
https://issues.apache.org/jira/browse/IGNITE-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15799717#comment-15799717
]
Denis Magda commented on IGNITE-1585:
-------------------------------------
In addition, Apache GCE test suite fails on TeamCity all the time
http://ci.ignite.apache.org/viewLog.html?buildId=409918&
Most likely the test fails because a security key is not available under this
path
/home/teamcity/test_keys/gridgain-gce-key.p12
Refer to "env.test.gce.p12.path" parameter from this page:
http://ci.ignite.apache.org/admin/editBuildParams.html?id=buildType:IgniteTests_Gce
The key must be propagated to all the testing machines.
The same has to be done to fix the originally reported issue related to Apache
Cloud test suite. To make this suite workable all the machines have to have
this key "/home/teamcity/test_keys/gridgain-gce-key.json". Look here for
details:
http://ci.ignite.apache.org/admin/editBuildParams.html?id=buildType:IgniteTests_Cloud
> [Test Failed] TcpDiscoveryCloudIpFinderSelfTest.testGoogleComputeEngine
> -----------------------------------------------------------------------
>
> Key: IGNITE-1585
> URL: https://issues.apache.org/jira/browse/IGNITE-1585
> Project: Ignite
> Issue Type: Test
> Affects Versions: 1.5.0.final
> Reporter: Anton Vinogradov
> Priority: Critical
> Labels: Muted_test
> Fix For: 2.0
>
>
> There is no guarantee that test failure will be produced each test run,
> please analyze logs in case of reproduction problem:
> org.apache.ignite.spi.IgniteSpiException: Failed to get registered addresses
> for the provider: google-compute-engine
> at
> com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229)
> at
> org.jclouds.compute.internal.FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.checkGroup(FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.java:124)
> at
> org.jclouds.compute.internal.FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.sharedNameForGroup(FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.java:120)
> at
> org.jclouds.googlecomputeengine.compute.functions.FirewallTagNamingConvention$Factory.get(FirewallTagNamingConvention.java:39)
> at
> org.jclouds.googlecomputeengine.compute.functions.InstanceToNodeMetadata.apply(InstanceToNodeMetadata.java:68)
> at
> org.jclouds.googlecomputeengine.compute.functions.InstanceToNodeMetadata.apply(InstanceToNodeMetadata.java:43)
> at
> com.google.common.base.Functions$FunctionComposition.apply(Functions.java:211)
> at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
> at
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
> at com.google.common.collect.Iterators$7.computeNext(Iterators.java:646)
> at
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
> at
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
> at com.google.common.collect.Iterators.addAll(Iterators.java:356)
> at com.google.common.collect.Iterables.addAll(Iterables.java:350)
> at com.google.common.collect.Sets.newLinkedHashSet(Sets.java:328)
> at
> org.jclouds.compute.internal.BaseComputeService.listNodesDetailsMatching(BaseComputeService.java:359)
> at
> org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudIpFinder.getRegisteredAddresses(TcpDiscoveryCloudIpFinder.java:190)
> at
> org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudIpFinderSelfTest.testCloudProvider(TcpDiscoveryCloudIpFinderSelfTest.java:106)
> at
> org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudIpFinderSelfTest.testGoogleComputeEngine(TcpDiscoveryCloudIpFinderSelfTest.java:71)
> ------- Stdout: -------
> Configured log4j from:
> /opt/TeamcityAgent/work/871ff4a46e450b13/modules/core/src/test/config/log4j-test.xml
> [14:19:49,901][INFO ][main][root] >>> Starting test class:
> TcpDiscoveryCloudIpFinderSelfTest <<<
> [14:19:49,944][INFO ][main][root] >>> Starting test: testGoogleComputeEngine
> <<<
> [14:19:49,945][INFO ][test-runner][root] Testing provider:
> google-compute-engine
> [14:19:52,312][INFO ][main][root] >>> Stopping test: testGoogleComputeEngine
> in 2367 ms <<<
> ------- Stderr: -------
> [14:19:52,310][ERROR][main][root] Test failed.
> class org.apache.ignite.spi.IgniteSpiException: Failed to get registered
> addresses for the provider: google-compute-engine
> at
> org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudIpFinder.getRegisteredAddresses(TcpDiscoveryCloudIpFinder.java:210)
> at
> org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudIpFinderSelfTest.testCloudProvider(TcpDiscoveryCloudIpFinderSelfTest.java:106)
> at
> org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudIpFinderSelfTest.testGoogleComputeEngine(TcpDiscoveryCloudIpFinderSelfTest.java:71)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at junit.framework.TestCase.runTest(TestCase.java:176)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1665)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:111)
> at
> org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:1603)
> Caused by: java.lang.NullPointerException: group
> at
> com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229)
> at
> org.jclouds.compute.internal.FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.checkGroup(FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.java:124)
> at
> org.jclouds.compute.internal.FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.sharedNameForGroup(FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.java:120)
> at
> org.jclouds.googlecomputeengine.compute.functions.FirewallTagNamingConvention$Factory.get(FirewallTagNamingConvention.java:39)
> at
> org.jclouds.googlecomputeengine.compute.functions.InstanceToNodeMetadata.apply(InstanceToNodeMetadata.java:68)
> at
> org.jclouds.googlecomputeengine.compute.functions.InstanceToNodeMetadata.apply(InstanceToNodeMetadata.java:43)
> at
> com.google.common.base.Functions$FunctionComposition.apply(Functions.java:211)
> at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
> at
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
> at com.google.common.collect.Iterators$7.computeNext(Iterators.java:646)
> at
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
> at
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
> at com.google.common.collect.Iterators.addAll(Iterators.java:356)
> at com.google.common.collect.Iterables.addAll(Iterables.java:350)
> at com.google.common.collect.Sets.newLinkedHashSet(Sets.java:328)
> at
> org.jclouds.compute.internal.BaseComputeService.listNodesDetailsMatching(BaseComputeService.java:359)
> at
> org.apache.ignite.spi.discovery.tcp.ipfinder.cloud.TcpDiscoveryCloudIpFinder.getRegisteredAddresses(TcpDiscoveryCloudIpFinder.java:190)
> ... 10 more
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)