[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-10-08 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15558650#comment-15558650
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~hemanth.BS]
Can you see https://issues.apache.org/jira/browse/SUREFIRE-1222 as a Hint?
If you use {{ProcessBuilder}} or some other library in your project 
dependencies the build may hang. For more information see the last few comments 
in SUREFIRE-1222.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-09-19 Thread Julien Herr (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15504248#comment-15504248
 ] 

Julien Herr commented on SUREFIRE-1245:
---

Ok!

A solution could be to activate a higher log level of TestNG. It should be 
provide more details.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-09-19 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15503969#comment-15503969
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~juherr]
by "hidden in testng"
I meant that the suite executes classes but there is no evidence in the logs 
which particular class is actually running.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
>

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-09-19 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15503963#comment-15503963
 ] 

Tibor Digana commented on SUREFIRE-1245:


You mean OOM?
This can be.
How is {{forkMode}} or {{forkCount}} set? If it is one forked JVM then you can 
very easily find the process and profile the process via jconsole from JDK.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-09-19 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502640#comment-15502640
 ] 

Hemanth commented on SUREFIRE-1245:
---

Hmm. I will try to replicate these tests in junit these weekend




> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 
> 
> 
> 
>

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-09-19 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502598#comment-15502598
 ] 

Tibor Digana commented on SUREFIRE-1245:


I am really not able to find root cause why these tests hang. I am more 
convinced about Selenium timeout issues as I wrote above or problem that 
somebody overrides std/out via {{java.lang.System.setOut(...)}}.
You wrote that:
>>I ran in 2.18 and 2.17 and I am facing the same issue.
This is different from my previous experiences of Surefire running at Mac. 
Other users reported that Surefire 2.19 at Mac hangs but it does not hang in 
2.18.x. This was fixed in 2.19.1. We found only one difference between x86_64 
and Mac that the GC is different, delays and race conditions change and CPU 
cache coherence is different. So I used locks without performance enhancements 
and this was the fix.

Now this issue is different because it does not have these symptoms that 2.18.x 
does not hang. Here every version of Surefire hangs.
In other bugs there was reason why it hangs, because ping feature was 
introduced and bi-directional communication between maven process and forked 
surefire processes.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-09-19 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502397#comment-15502397
 ] 

Hemanth commented on SUREFIRE-1245:
---

@julian and @tibor : will do
I kind of have an intuition that since there is a lot of static memory,
it's a Java and Mac issue. I don't know I am just guessing.




> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
>

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-09-18 Thread Julien Herr (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502267#comment-15502267
 ] 

Julien Herr commented on SUREFIRE-1245:
---

Tibor, what do you mean by "hidden in testng"? 

As I understand the problem now, everything works well (testng tests run by 
surefire or failsafe)  except with surefire on mac. 
I suppose it is working with other runners like ide or command line or gradle. 
Hermanth, could you try some other runners and provide the results ? 

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-09-18 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502004#comment-15502004
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~hemanth.BS]
Can you rewrite {{TestSuite}} to JUnit?
The execution will be more under control of surefire because now it is hidden 
in TestNG.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-08-31 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15452484#comment-15452484
 ] 

Hemanth commented on SUREFIRE-1245:
---

I just wanted to tell you that the same project works fine in windows. Only
in mac there is an issue.




> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 
>   

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-08-31 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15451703#comment-15451703
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~hemanth.BS]
You mean project [1]?
I did clone of Etna in May 21st and AFAIK the build was successful.
[1] https://bitbucket.org/hemanthsridhar/etna
I remember your {{testng.xml}}.
I think we should start again. What should I do?

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-08-30 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15451191#comment-15451191
 ] 

Hemanth commented on SUREFIRE-1245:
---

Sorry for the late reply TIBOR. Caught up with alot of work.
I don't know why the bad file descriptor issue is coming. I have used
explicit waits on a regular basis. Haven't I given you the project that
replicates this issue? If I haven't I will give you again.




> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-08-30 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15450570#comment-15450570
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~hemanth.BS]
Please answer my questions above in Jira; otherwise I have to consider this 
issue as no interest on your side and close it which means you can still reopen 
it again.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-08-22 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15431912#comment-15431912
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~hemanth.BS]
Do you have time for this issue?
What about first of all fix the timeout problem connecting to remote browser 
and then surefire.
See {{java.net.SocketException: Bad file descriptor}}. This happens when socket 
is closed. Any idea what could close it?
See this article 
http://stackoverflow.com/questions/9731291/how-to-set-selenium-webdriver-get-timeout
It is mentioned that the load can be blocked for very long time. Did you try to 
setup implicit/explicit timeout?

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
>   

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-08-13 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15420093#comment-15420093
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~hemanth.BS]

Both plugins _failsafe_ and _surefire_ are from the same project.
So I am wondering that one hangs and the other does not.
The next strange thing is that you however use _testng.xml_ but this suite has 
one test class and the intermediate process when the methods are running are 
controlled by TestNG and not by Surefire. Our plugins only wait for the 
testng.xml done.
So for me the interesting would be to see inside the stacktrace and this class 
but I could not find it anymore:
at org.etna.maincontroller.MainController.run(MainController.java:227)

What about to make another try and remove listeners and keep using only
_class name="org.etna.modules.ShopByBrandsModuleTest"/>_
Would it make any difference?

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
>

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-21 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15295249#comment-15295249
 ] 

Hemanth commented on SUREFIRE-1245:
---

Didn't work. One of the TestNG guys hado given this as a solution. Check the 
issue raised there. He has suggested the same article. 

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-21 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15295139#comment-15295139
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~hemanth.BS]
Check it out with -Djava.awt.headless=true and let me know 
the result on Mac, see the article
https://somethingididnotknow.wordpress.com/2014/07/23/forkedbooter-steals-window-focus-on-mac-os-while-maven-is-running/

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-21 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15294937#comment-15294937
 ] 

Hemanth commented on SUREFIRE-1245:
---

And I am using mvn clean install / mvn clean test 

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 
> 
> 
> 
> 
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-21 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15294935#comment-15294935
 ] 

Hemanth commented on SUREFIRE-1245:
---

FYI , I need the clean phase to be executed since the allure reports get 
generated in the target folder.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 
>  

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-21 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15294913#comment-15294913
 ] 

Tibor Digana commented on SUREFIRE-1245:


I started mvn test and the project did not hang.
I will try to simulate the issue.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 
> 
>

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-21 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15294901#comment-15294901
 ] 

Hemanth commented on SUREFIRE-1245:
---

Here is the log for proof.

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
inhouse.NewStandardEcommerceTemplate ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 47 source files to 
/Users/hemanthsridhar/Projects/UnilogProjects/etna/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
inhouse.NewStandardEcommerceTemplate ---
[INFO] Surefire report directory: 
/Users/hemanthsridhar/Projects/UnilogProjects/etna/target/surefire-reports

---
 T E S T S
---
objc[503]: Class JavaLaunchHelper is implemented in both 
/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/jre/bin/java 
and 
/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/jre/lib/libinstrument.dylib.
 One of the two will be used. Which one is undefined.
Running TestSuite
[AppClassLoader@18b4aac2] warning javax.* types are not being woven because the 
weaver option '-Xset:weaveJavaxPackages=true' has not been specified
log4j:WARN No appenders could be found for logger 
(org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating 
with the remote browser. It may have died.
Build info: version: '2.53.0', revision: 
'35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host: 'Hemanths-MacBook-Pro.local', ip: '192.168.0.8', os.name: 
'Mac OS X', os.arch: 'x86_64', os.version: '10.11.4', java.version: '1.8.0_77'
Driver info: driver.version: FirefoxDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false, 
handlesAlerts=true, databaseEnabled=true, version=46.0.1, platform=MAC, 
nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, 
locationContextEnabled=true, browserName=firefox, takesScreenshot=true, 
javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: e8c3769e-09e0-b440-9d3c-041e2856a2e2
at 
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665)
at 
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:701)
at 
org.openqa.selenium.firefox.FirefoxDriver.getScreenshotAs(FirefoxDriver.java:341)
at 
org.etna.maincontroller.MainController.saveScreenshot(MainController.java:239)
at org.etna.maincontroller.MainController.run(MainController.java:227)
at 
org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:209)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)
at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at 
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:295)
at 
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)
at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:90)
at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.net.SocketException: Bad file descriptor
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at 
org.apache.http.impl.conn.LoggingOutputStream.write(LoggingOutputStream.java:77)
   

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-21 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15294887#comment-15294887
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~hemanth.BS]
Do you have the same symptoms https://github.com/cbeust/testng/issues/1040
I can force throwing same exception at (TestNGExecutor.java:281) and we will 
see it the code hangs.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-21 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15294884#comment-15294884
 ] 

Hemanth commented on SUREFIRE-1245:
---

Hi Tibor. You can clone from bitbucket https://bitbucket.org/hemanthsridhar/etna

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 
> 
> 
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-21 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15294878#comment-15294878
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~hemanth.BS]
I need a project zip attached with sources as well to reproduce this issue.
Can you run the same project with surefire 2.18 and let me know the outcome?

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Assignee: Tibor Digana
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
>   

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-11 Thread Julien Herr (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15280298#comment-15280298
 ] 

Julien Herr commented on SUREFIRE-1245:
---

IMO, it is not a surefire or testng issue. 

Follow discussion on the testng issue: 
https://github.com/cbeust/testng/issues/1040

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-10 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15279062#comment-15279062
 ] 

Tibor Digana commented on SUREFIRE-1245:


I did run your project, you can find me in [Maven Project 
Team|https://maven.apache.org/team-list.html].

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 
> 
> 
>  

[jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin.

2016-05-10 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15278754#comment-15278754
 ] 

Hemanth commented on SUREFIRE-1245:
---

[~tibor17] I just checked (ran the code) from IDE again. I am receiving 
unreachable browser exception again. I don't know how the tests executed the 
last time when I checked. Apologies for this as well. Just reported whatever I 
faced. 

Can you provide me your email id so that I can add you to my private bit bucket 
account? you can clone the project and replicate it.

> Unable to run TestNG tests using maven surefire plugin.
> ---
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Priority: Blocker
> Attachments: pom.xml, testng.xml
>
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
>

[jira] [Commented] (SUREFIRE-1245) Unable to run testNG tests using maven surefire plugin

2016-05-10 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15277748#comment-15277748
 ] 

Tibor Digana commented on SUREFIRE-1245:


Please attach effective pom as attached file - not in comment.
We had this problem but it is gone in 2.19.1.
We consider the suites xml file as one test because the TestNG library takes 
over the xml file and we do not control the flow of tests specified in xml.
So it means that you IDE Eclipse, IDEA or whatever tool runs another version of 
TestNG.
Pls check it out again and try to discover errors in TestNG logs which are in 
target folder of particular POM.
It can be that some parent pom has pluginManagement where this plugin has 
nested dependency surefire-junit4 or surefire-junit47 with older version.

> Unable to run testNG tests using maven surefire plugin
> --
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Priority: Blocker
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run testNG tests using maven surefire plugin

2016-05-09 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15277580#comment-15277580
 ] 

Hemanth commented on SUREFIRE-1245:
---

It stops In the middle of the test. I will have to discuss with my employer
whether I can disclose about the project. All tests don't finish their job.
The suite just stops. And provides unreachable browser exception.
(Happening only in MAC). But like I said I have  8 classes each class
containing 20 to 50 tests each.



> Unable to run testNG tests using maven surefire plugin
> --
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Priority: Blocker
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run testNG tests using maven surefire plugin

2016-05-09 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15276941#comment-15276941
 ] 

Tibor Digana commented on SUREFIRE-1245:


Did all tests finish their job?
Does the plugin hang in the middle of testset or it hangs after the last test 
has finished?
Please make a zip file containing your project and attach it in JIRA.

> Unable to run testNG tests using maven surefire plugin
> --
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Priority: Blocker
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run testNG tests using maven surefire plugin

2016-05-09 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15276807#comment-15276807
 ] 

Hemanth commented on SUREFIRE-1245:
---

I think there is some problem with the forkedbooter. Otherwise I don't see any 
other explanation on how my tests work fine in failsafe plugin. 

> Unable to run testNG tests using maven surefire plugin
> --
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Priority: Blocker
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
> aspectjweaver
> ${aspectj.version}
> 
> 
> 
> 
> 

[jira] [Commented] (SUREFIRE-1245) Unable to run testNG tests using maven surefire plugin

2016-05-08 Thread Hemanth (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15275748#comment-15275748
 ] 

Hemanth commented on SUREFIRE-1245:
---

If you see my pom I am using the latest version of surefire. This is
happening only in mac.. I ran the same code in Windows and it is working
fine. In mac if all my @Test are in one class only then it will work. If it
is in a different class then it stops execution after a while providing
unreachable browser exception.
If I use failsafe plugin it is working fine.
Again this is happening only in mac. Surefire is working fine in windows.

https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15275687#comment-15275687
]
influence of Selenium, etc.
fine but suddenly stops working and gives me unreachable browser exception.
The same tests finishes off its execution using failsafe plugin like a
charm, but my reporting tool is kind of dependent on the surefire plugin.
Running it by testng.xml(Right clicking and clicking on run as testng suite
is working fine as well). If there is any mistake that I have done in the
pom.xml please help me out as well. Please look into this issue.
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
 
-javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
 
${project.build.directory}/site/allure-maven-plugin


> Unable to run testNG tests using maven surefire plugin
> --
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Priority: Blocker
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
>  

[jira] [Commented] (SUREFIRE-1245) Unable to run testNG tests using maven surefire plugin

2016-05-08 Thread Tibor Digana (JIRA)

[ 
https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15275687#comment-15275687
 ] 

Tibor Digana commented on SUREFIRE-1245:


[~hemanth.BS]
1. What version of surefure you use?
2. Pls check it out with the latest version 2.19.1.
3. attach a project to reproduce this issue on my side as well
4. check it out with all test methods been empty. This is to isolate influence 
of Selenium, etc.

> Unable to run testNG tests using maven surefire plugin
> --
>
> Key: SUREFIRE-1245
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1245
> Project: Maven Surefire
>  Issue Type: Bug
>Reporter: Hemanth
>Priority: Blocker
>
> I am having testng.xml with around 8 classes. The suite will be running fine 
> but suddenly stops working and gives me unreachable browser exception. The 
> same tests finishes off its execution using failsafe plugin like a charm, but 
> my reporting tool is kind of dependent on the surefire plugin. Running it by 
> testng.xml(Right clicking and clicking on run as testng suite is working fine 
> as well). If there is any mistake that I have done in the pom.xml please help 
> me out as well. Please look into this issue.
> Here is a testng.xml
> 
> http://testng.org/testng-1.0.dtd;>
> 
>  
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
>  
>  
> Here is my pom.xml
> 
> 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;>
> 4.0.0
> 
> ETNA
> inhouse.NewStandardEcommerceTemplate
> 1.0-SNAPSHOT
> 
>   1.8
> 1.5.0.RC2
> 1.8.5
> 2.53.0
>  1.7.7
> 
> ETNA
> New standard ecommerce template
> 
>
> com.fasterxml.jackson.core
> jackson-databind
> 2.7.0
>   
> 
> 
>   com.pojosontheweb
>   monte-repack
>   1.0
>   
> 
>   org.testng
>   testng
>   6.9.10
>   test
> 
> 
> 
> 
>   com.jayway.restassured
>   rest-assured
>   2.9.0
>   
> 
> org.seleniumhq.selenium
> selenium-firefox-driver
> ${version.selenium}
> 
> 
> 
> 
>   org.apache.poi
>   poi
>   3.13
> 
> 
> 
> org.apache.poi
> poi-ooxml
> 3.13
> 
> 
>   org.apache.poi
>   poi-ooxml-schemas
>   3.13
> 
> 
>   
>   org.zeroturnaround
>   zt-zip
>   1.7
>   
>  
> 
>   javax.mail
>   mail
>   1.4.7
> 
> 
> 
> 
> org.seleniumhq.selenium
> selenium-java
> ${version.selenium}
> test
> 
> 
> 
>   org.seleniumhq.selenium
>   selenium-server
>   ${version.selenium}
> 
> 
> 
> 
> ru.yandex.qatools.allure
> allure-testng-adaptor
> ${allure.version}
> 
> 
> junit
> junit
> 
> 
> 
>  
> 
> org.hamcrest
> hamcrest-all
> 1.3
> 
> 
>  
>   com.google.code.gson
>   gson
>   2.3.1
>   
>   
>
> org.slf4j
> slf4j-api
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> slf4j-log4j12
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jul-to-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> org.slf4j
> jcl-over-slf4j
> ${version.slf4j}
> test
> 
> 
> 
> 
> 
>   
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.1
> 
> ${compiler.version}
> ${compiler.version}
> 
> 
>   
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
>   
>testng.xml
>
> 
> 
> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
> 
> 
> 
> 
> org.aspectj
>