Add commands to debug 75/48975/1
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Thu, 24 May 2018 15:52:25 +0000 (17:52 +0200)
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Thu, 24 May 2018 15:52:25 +0000 (17:52 +0200)
Debug the docker build that is still failing

Issue-ID: CLAMP-150
Change-Id: Iad957e0e1da9d1f96cc287a1434a13a255344c6e
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 8066852..3d4444a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                                        <version>1.6.0</version>
                                                        <executions>
                                                                <execution>
-                                                                               <id>docker_info</id>
+                                                                               <id>docker_info0</id>
                                                                                <phase>validate</phase>
                                                                                <goals>
                                                                                                <goal>exec</goal>
                                                                                </configuration>
                                                                </execution>
                                                                <execution>
-                                                                               <id>docker_info2</id>
+                                                                               <id>docker_info1</id>
                                                                                <phase>validate</phase>
                                                                                <goals>
                                                                                                <goal>exec</goal>
                                                                                                <executable>docker</executable>
                                                                                                <arguments>
                                                                                                                <argument>images</argument>
-                                                                                                               
+                                                                                               </arguments>
+                                                                               </configuration>
+                                                               </execution>
+                                                                       <execution>
+                                                                               <id>docker_info2</id>
+                                                                               <phase>validate</phase>
+                                                                               <goals>
+                                                                                               <goal>exec</goal>
+                                                                               </goals>
+                                                                               <configuration>
+                                                                                               <executable>ls</executable>
+                                                                                               <arguments>
+                                                                                                               <argument>-latr</argument>
+                                                                                                               <argument>/var/run/docker.sock</argument>
+                                                                                               </arguments>
+                                                                               </configuration>
+                                                               </execution>
+
+                                                               <execution>
+                                                                               <id>docker_info3</id>
+                                                                               <phase>validate</phase>
+                                                                               <goals>
+                                                                                               <goal>exec</goal>
+                                                                               </goals>
+                                                                               <configuration>
+                                                                                               <executable>cat</executable>
+                                                                                               <arguments>
+                                                                                                               <argument>/etc/hosts</argument>
+                                                                                               </arguments>
+                                                                               </configuration>
+                                                               </execution>
+                                                               <execution>
+                                                                               <id>docker_info4</id>
+                                                                               <phase>validate</phase>
+                                                                               <goals>
+                                                                                               <goal>exec</goal>
+                                                                               </goals>
+                                                                               <configuration>
+                                                                                               <executable>curl</executable>
+                                                                                               <arguments>
+                                                                                                               <argument>-v</argument> 
+                                                                                                               <argument>http://127.0.0.1:2375/info</argument>
+                                                                                               </arguments>
+                                                                               </configuration>
+                                                               </execution>
+                                                               <execution>
+                                                                               <id>docker_info5</id>
+                                                                               <phase>validate</phase>
+                                                                               <goals>
+                                                                                               <goal>exec</goal>
+                                                                               </goals>
+                                                                               <configuration>
+                                                                                               <executable>netstat</executable>
+                                                                                               <arguments>
+                                                                                                               <argument>-tulnp</argument> 
                                                                                                </arguments>
                                                                                </configuration>
                                                                </execution>