Created
March 23, 2017 10:38
-
-
Save dieterrosch/badd693eee65b490159780daf45c17dc to your computer and use it in GitHub Desktop.
Arquillian error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 12:35:15.558 [main] DEBUG io.fabric8.kubernetes.client.Config - Found for Kubernetes config at: [/home/dieter/.kube/config]. | |
| Initializing Session:805810ad-bfb0-4f1c-9028-354afa2bd431 | |
| java.lang.NullPointerException | |
| at java.util.Hashtable.put(Hashtable.java:459) | |
| at java.util.Properties.setProperty(Properties.java:166) | |
| at java.lang.System.setProperty(System.java:796) | |
| at io.fabric8.arquillian.kubernetes.SessionListener.start(SessionListener.java:83) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.lang.reflect.Method.invoke(Method.java:498) | |
| at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) | |
| at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) | |
| at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) | |
| at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145) | |
| at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116) | |
| at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67) | |
| at io.fabric8.arquillian.kubernetes.SuiteListener.start(SuiteListener.java:44) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.lang.reflect.Method.invoke(Method.java:498) | |
| at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) | |
| at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) | |
| at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) | |
| at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.lang.reflect.Method.invoke(Method.java:498) | |
| at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96) | |
| at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) | |
| at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145) | |
| at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116) | |
| at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:75) | |
| at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:116) | |
| at org.junit.runner.JUnitCore.run(JUnitCore.java:137) | |
| at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) | |
| at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51) | |
| at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237) | |
| at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) | |
| Test ignored. | |
| Disconnected from the target VM, address: '127.0.0.1:41859', transport: 'socket' | |
| Process finished with exit code 255 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package co.za.turfsport.feeds.betgenius.splittermapper.MyTests; | |
| import co.za.turfsport.feeds.betgenius.splittermapper.IntegrationTestCategory; | |
| import io.fabric8.kubernetes.client.KubernetesClient; | |
| import org.jboss.arquillian.junit.Arquillian; | |
| import org.jboss.arquillian.test.api.ArquillianResource; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; | |
| import org.junit.experimental.categories.Category; | |
| import static io.fabric8.kubernetes.assertions.Assertions.assertThat; | |
| @RunWith(Arquillian.class) | |
| @Category(IntegrationTestCategory.class) | |
| public class KubernetesIntegrationTest { | |
| @ArquillianResource | |
| KubernetesClient client; | |
| @Test | |
| public void testRunningPodStaysUp() throws Exception { | |
| assertThat(client).deployments().pods().isPodReadyForPeriod(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>co.za.turfsport</groupId> | |
| <artifactId>feeds-bg-splitmap-node</artifactId> | |
| <version>4.8.0-RELEASE</version> | |
| </parent> | |
| <artifactId>feeds-bg-splitmap-main</artifactId> | |
| <version>4.8.0-RELEASE</version> | |
| <packaging>jar</packaging> | |
| <properties> | |
| <mainClass>co.za.turfsport.feeds.betgenius.splittermapper.FeedsBetgeniusSplitterMapperServiceApplication</mainClass> | |
| <sonar.exclusions>co/za/turfsport/feed/betgenius/entities/**.*,co/za/turfsport/feeds/betgenius/splittermapper/configuration/**.*,co/za/turfsport/feeds/betgenius/splittermapper/**.*</sonar.exclusions> | |
| </properties> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>co.za.turfsport</groupId> | |
| <artifactId>turfsport-dropwizard-bom</artifactId> | |
| <version>3.0.0-SNAPSHOT</version> | |
| <type>pom</type> | |
| <scope>import</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.arquillian.cube</groupId> | |
| <artifactId>arquillian-cube-bom</artifactId> | |
| <version>1.0.0.Alpha19</version> | |
| <scope>import</scope> | |
| <type>pom</type> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.arquillian.cube</groupId> | |
| <artifactId>arquillian-cube-kubernetes</artifactId> | |
| <!--<version>1.0.0.Alpha19</version>--> | |
| <type>pom</type> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.smoketurner</groupId> | |
| <artifactId>dropwizard-swagger</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.dropwizard</groupId> | |
| <artifactId>dropwizard-core</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.bazaarvoice.dropwizard</groupId> | |
| <artifactId>dropwizard-configurable-assets-bundle</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.inject</groupId> | |
| <artifactId>guice</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>co.za.turfsport</groupId> | |
| <artifactId>data-access</artifactId> | |
| <version>10.53.0-RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>co.za.turfsport</groupId> | |
| <artifactId>service-bus</artifactId> | |
| <version>10.53.0-RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <artifactId>security</artifactId> | |
| <groupId>co.za.turfsport</groupId> | |
| <version>10.53.0-RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>co.za.turfsport</groupId> | |
| <artifactId>platform-management</artifactId> | |
| <version>10.53.0-RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>co.za.turfsport</groupId> | |
| <artifactId>exceptions</artifactId> | |
| <version>10.53.0-RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>co.za.turfsport</groupId> | |
| <artifactId>feeds-bg-http-adapter-messages</artifactId> | |
| <version>3.8.0-RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>co.za.turfsport</groupId> | |
| <artifactId>feeds-bg-fixture-handler-messages</artifactId> | |
| <version>2.3.0-RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>co.za.turfsport</groupId> | |
| <artifactId>feeds-bg-contingency-handler-service-messages</artifactId> | |
| <version>2.3.0-RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.mockito</groupId> | |
| <artifactId>mockito-all</artifactId> | |
| <version>1.9.5</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>ch.qos.logback</groupId> | |
| <artifactId>logback-classic</artifactId> | |
| <version>1.1.9</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.fabric8</groupId> | |
| <artifactId>fabric8-arquillian</artifactId> | |
| <version>2.2.205</version> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>co.za.turfsport</groupId> | |
| <artifactId>s3-upload-maven-plugin</artifactId> | |
| <version>1.0.0-SNAPSHOT</version> | |
| <configuration> | |
| <sources> | |
| <param>${project.basedir}/target/fabric8/deployment.yml</param> | |
| <param>${project.basedir}/target/fabric8/service.yml</param> | |
| <param>${project.basedir}/target/fabric8/ingress.yml</param> | |
| </sources> | |
| <bucketName>phoenix.k8s.resources</bucketName> | |
| <prefix>feeds/manager/bg/${project.parent.artifactId}/${project.version}/</prefix> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <useIncrementalCompilation>false</useIncrementalCompilation> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <version>2.4.1</version> | |
| <configuration> | |
| <createDependencyReducedPom>true</createDependencyReducedPom> | |
| <transformers> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
| <mainClass>${mainClass}</mainClass> | |
| </transformer> | |
| </transformers> | |
| <!-- exclude signed Manifests --> | |
| <filters> | |
| <filter> | |
| <artifact>*:*</artifact> | |
| <excludes> | |
| <exclude>META-INF/*.SF</exclude> | |
| <exclude>META-INF/*.DSA</exclude> | |
| <exclude>META-INF/*.RSA</exclude> | |
| </excludes> | |
| </filter> | |
| </filters> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>io.fabric8</groupId> | |
| <artifactId>fabric8-maven-plugin</artifactId> | |
| <configuration> | |
| <useColor>true</useColor> | |
| <images> | |
| <image> | |
| <alias>${project.artifactId}</alias> | |
| <name>${docker.repo}/${project.parent.artifactId}:${project.version}</name> | |
| <registry>${env.docker.deployment.registry}</registry> | |
| <build> | |
| <from>openjdk:alpine</from> | |
| <ports> | |
| <port>8080</port> | |
| <port>8081</port> | |
| </ports> | |
| <entryPoint> | |
| <!-- exec form for ENTRYPOINT --> | |
| <exec> | |
| <arg>java</arg> | |
| <arg>-Xms32M</arg> | |
| <arg>-Xmx128M</arg> | |
| <arg>-jar</arg> | |
| <arg>/opt/service/${project.build.finalName}.jar</arg> | |
| <arg>server</arg> | |
| <arg>/opt/service/config.yml</arg> | |
| </exec> | |
| </entryPoint> | |
| <assembly> | |
| <mode>dir</mode> | |
| <basedir>/opt/service</basedir> | |
| <descriptor>assembly.xml</descriptor> | |
| </assembly> | |
| </build> | |
| <!--<run>--> | |
| <!--<namingStrategy>alias</namingStrategy>--> | |
| <!--<ports>--> | |
| <!--<port>${service.host.address}:${service.host.port}:8080</port>--> | |
| <!--<port>${service.host.address}:${service.host.adminPort}:8081</port>--> | |
| <!--</ports>--> | |
| <!--<wait>--> | |
| <!--<http>--> | |
| <!--<url>http://${service.host.address}:${service.host.port}/admin/ping</url>--> | |
| <!--</http>--> | |
| <!--<time>100000</time>--> | |
| <!--</wait>--> | |
| <!--<log>--> | |
| <!--<prefix>${project.artifactId}</prefix>--> | |
| <!--<color>cyan</color>--> | |
| <!--</log>--> | |
| <!--<!–<links>–>--> | |
| <!--<!–<link>rabbitmq:rabbitmq</link>–>--> | |
| <!--<!–</links>–>--> | |
| <!--<memory>335544320</memory>--> | |
| <!--<memorySwap>-1</memorySwap>--> | |
| <!--</run>--> | |
| </image> | |
| <!-- End-to-End tests --> | |
| <!--<name>turfsport/feeds-rabbitmq:1.0.1-SNAPSHOT</name>--> | |
| <!--<registry>${docker.registry}</registry>--> | |
| <!--<run>--> | |
| <!--<ports>--> | |
| <!--<port>${rabbit.host}:${rabbit.port}:5672</port>--> | |
| <!--<port>${rabbit.host}:${rabbit.port.mng}:15672</port>--> | |
| <!--</ports>--> | |
| <!--<wait>--> | |
| <!--<http>--> | |
| <!--<url>http://${rabbit.host}:${rabbit.port.mng}</url>--> | |
| <!--<method>GET</method>--> | |
| <!--<status>200</status>--> | |
| <!--</http>--> | |
| <!--<time>60000</time>--> | |
| <!--</wait>--> | |
| <!--</run>--> | |
| <!--</image>--> | |
| </images> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>resource</goal> | |
| <goal>build</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!--<plugin>--> | |
| <!--<groupId>io.fabric8</groupId>--> | |
| <!--<artifactId>docker-maven-plugin</artifactId>--> | |
| <!--<version>0.14.2</version>--> | |
| <!--<configuration>--> | |
| <!--<useColor>true</useColor>--> | |
| <!--<images>--> | |
| <!--<image>--> | |
| <!--<alias>${project.artifactId}</alias>--> | |
| <!--<name>${docker.repo}/${project.parent.artifactId}:${project.version}</name>--> | |
| <!--<registry>${env.docker.deployment.registry}</registry>--> | |
| <!--<build>--> | |
| <!--<from>openjdk:alpine</from>--> | |
| <!--<ports>--> | |
| <!--<port>8080</port>--> | |
| <!--<port>8081</port>--> | |
| <!--</ports>--> | |
| <!--<entryPoint>--> | |
| <!--<!– exec form for ENTRYPOINT –>--> | |
| <!--<exec>--> | |
| <!--<arg>java</arg>--> | |
| <!--<arg>-Xms32M</arg>--> | |
| <!--<arg>-Xmx128M</arg>--> | |
| <!--<arg>-jar</arg>--> | |
| <!--<arg>/opt/service/${project.build.finalName}.jar</arg>--> | |
| <!--<arg>server</arg>--> | |
| <!--<arg>/opt/service/config.yml</arg>--> | |
| <!--</exec>--> | |
| <!--</entryPoint>--> | |
| <!--<assembly>--> | |
| <!--<mode>dir</mode>--> | |
| <!--<basedir>/opt/service</basedir>--> | |
| <!--<descriptor>assembly.xml</descriptor>--> | |
| <!--</assembly>--> | |
| <!--</build>--> | |
| <!--<run>--> | |
| <!--<namingStrategy>alias</namingStrategy>--> | |
| <!--<ports>--> | |
| <!--<port>${service.host.address}:${service.host.port}:8080</port>--> | |
| <!--<port>${service.host.address}:${service.host.adminPort}:8081</port>--> | |
| <!--</ports>--> | |
| <!--<wait>--> | |
| <!--<http>--> | |
| <!--<url>http://${service.host.address}:${service.host.port}/admin/ping</url>--> | |
| <!--</http>--> | |
| <!--<time>100000</time>--> | |
| <!--</wait>--> | |
| <!--<log>--> | |
| <!--<prefix>${project.artifactId}</prefix>--> | |
| <!--<color>cyan</color>--> | |
| <!--</log>--> | |
| <!--<links>--> | |
| <!--<link>feeds-rabbitmq:feeds-rabbitmq</link>--> | |
| <!--</links>--> | |
| <!--<memory>335544320</memory>--> | |
| <!--<memorySwap>-1</memorySwap>--> | |
| <!--</run>--> | |
| <!--</image>--> | |
| <!--<image>--> | |
| <!--<alias>feeds-rabbitmq</alias>--> | |
| <!--<name>turfsport/feeds-rabbitmq:1.0.1-SNAPSHOT</name>--> | |
| <!--<registry>${docker.registry}</registry>--> | |
| <!--<run>--> | |
| <!--<ports>--> | |
| <!--<port>${rabbit.host}:${rabbit.port}:5672</port>--> | |
| <!--<port>${rabbit.host}:${rabbit.port.mng}:15672</port>--> | |
| <!--</ports>--> | |
| <!--<wait>--> | |
| <!--<http>--> | |
| <!--<url>http://${rabbit.host}:${rabbit.port.mng}</url>--> | |
| <!--<method>GET</method>--> | |
| <!--<status>200</status>--> | |
| <!--</http>--> | |
| <!--<time>60000</time>--> | |
| <!--</wait>--> | |
| <!--</run>--> | |
| <!--</image>--> | |
| <!--</images>--> | |
| <!--</configuration>--> | |
| <!--<executions>--> | |
| <!--<execution>--> | |
| <!--<id>start</id>--> | |
| <!--<phase>pre-integration-test</phase>--> | |
| <!--<goals>--> | |
| <!--<goal>build</goal>--> | |
| <!--<goal>stop</goal>--> | |
| <!--<goal>start</goal>--> | |
| <!--</goals>--> | |
| <!--</execution>--> | |
| <!--<execution>--> | |
| <!--<id>stop</id>--> | |
| <!--<phase>post-integration-test</phase>--> | |
| <!--<goals>--> | |
| <!--<goal>stop</goal>--> | |
| <!--</goals>--> | |
| <!--</execution>--> | |
| <!--</executions>--> | |
| <!--</plugin>--> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <version>1.9.1</version> | |
| <executions> | |
| <execution> | |
| <phase>generate-sources</phase> | |
| <goals> | |
| <goal>add-source</goal> | |
| </goals> | |
| <configuration> | |
| <sources> | |
| <source>src/main/java</source> | |
| <source>target/generated-sources/</source> | |
| </sources> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>jaxb2-maven-plugin</artifactId> | |
| <version>2.2</version> | |
| <executions> | |
| <execution> | |
| <id>xjc-bg</id> | |
| <phase>generate-sources</phase> | |
| <goals> | |
| <goal>xjc</goal> | |
| </goals> | |
| <configuration> | |
| <packageName>co.za.turfsport.feed.betgenius.entities</packageName> | |
| <sources> | |
| <source>src/main/resources/schema</source> | |
| </sources> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-failsafe-plugin</artifactId> | |
| <version>2.19.1</version> | |
| <configuration> | |
| <!--<argLine>${argLine}</argLine>--> | |
| <includes> | |
| <include>**/*.java</include> | |
| </includes> | |
| <groups>co.za.turfsport.feeds.betgenius.splittermapper.IntegrationTestCategory</groups> | |
| <systemPropertyVariables> | |
| <!-- | |
| Injected by docker plugin during `pre-integration-test`. | |
| Requires full `integration-test` or `verify`, | |
| not just `failsafe:integration-test`. | |
| --> | |
| <rabbit.host>192.168.99.100</rabbit.host> | |
| <rabbit.port>5672</rabbit.port> | |
| </systemPropertyVariables> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <phase>integration-test</phase> | |
| <goals> | |
| <goal>integration-test</goal> | |
| <goal>verify</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <version>2.19.1</version> | |
| <configuration> | |
| <!--<argLine>${argLine}</argLine>--> | |
| <excludedGroups>co.za.turfsport.feeds.betgenius.splittermapper.IntegrationTestCategory</excludedGroups> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| <testResources> | |
| <testResource> | |
| <directory>src/test/resources</directory> | |
| <filtering>true</filtering> | |
| </testResource> | |
| </testResources> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment