Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EF027200B7E for ; Tue, 23 Aug 2016 03:11:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EDB31160AB3; Tue, 23 Aug 2016 01:11:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 16C16160ABC for ; Tue, 23 Aug 2016 03:11:21 +0200 (CEST) Received: (qmail 94421 invoked by uid 500); 23 Aug 2016 01:11:21 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 94072 invoked by uid 99); 23 Aug 2016 01:11:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 01:11:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DA2A12C014C for ; Tue, 23 Aug 2016 01:11:20 +0000 (UTC) Date: Tue, 23 Aug 2016 01:11:20 +0000 (UTC) From: "Tibor Digana (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SUREFIRE-1245) Unable to run TestNG tests using maven surefire plugin. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 23 Aug 2016 01:11:23 -0000 [ https://issues.apache.org/jira/browse/SUREFIRE-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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 > > > > > > > > > > > > > > > > > > > > > > > Here is my pom.xml > > 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} > > > > > > org.eclipse.jetty > jetty-maven-plugin > 9.2.10.v20150310 > > ${project.build.directory}/site/allure-maven-plugin > stop > 1234 > > > > > > true > > > ru.yandex.qatools.allure > allure-maven-plugin > 2.5 > > ${allure.version} > > > > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)