mvn clean verify -Ptestes-integracao -Dphantomjs.binary.path=~/Documentos/alura/Carreira-DevOps/Integracao-Continua/phantomjs-2.1.1-linux-x86_64/bin/phantomjs [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building argentum-web 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ argentum-web --- [INFO] Deleting /home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/target [INFO] [INFO] --- jacoco-maven-plugin:0.7.6.201602180812:prepare-agent (default) @ argentum-web --- [INFO] argLine set to -javaagent:/home/cefs1984/.m2/repository/org/jacoco/org.jacoco.agent/0.7.6.201602180812/org.jacoco.agent-0.7.6.201602180812-runtime.jar=destfile=/home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/target/jacoco.exec [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ argentum-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ argentum-web --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 13 source files to /home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ argentum-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ argentum-web --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to /home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ argentum-web --- [INFO] Surefire report directory: /home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running br.com.caelum.argentum.modelo.CandlestickFactoryTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 sec Running br.com.caelum.argentum.modelo.NegociacaoTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running br.com.caelum.argentum.indicadores.MediaMovelSimplesTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec Running br.com.caelum.argentum.indicadores.MediaMovelPonderadaTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec Running br.com.caelum.argentum.reader.LeitorXMLTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.087 sec Results : Tests run: 13, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-surefire-report-plugin:2.19.1:report-only (default) @ argentum-web --- [WARNING] Unable to locate Test Source XRef to link to - DISABLED [INFO] [INFO] --- maven-war-plugin:2.6:war (default-war) @ argentum-web --- [INFO] Packaging webapp [INFO] Assembling webapp [argentum-web] in [/home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/target/argentum-web] [INFO] Processing war project [INFO] Copying webapp resources [/home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/src/main/webapp] [INFO] Webapp assembled in [128 msecs] [INFO] Building war: /home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/target/argentum-web.war [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:integration-test (default) @ argentum-web --- ------------------------------------------------------- T E S T S ------------------------------------------------------- Running br.com.caelum.argentum.bean.FiltraNegociacoesIT ago 28, 2017 11:39:12 PM org.apache.coyote.AbstractProtocol init INFORMAÇÕES: Initializing ProtocolHandler ["http-bio-8888"] ago 28, 2017 11:39:12 PM org.apache.catalina.core.StandardService startInternal INFORMAÇÕES: Starting service arquillian-tomcat-embedded-7 ago 28, 2017 11:39:12 PM org.apache.catalina.core.StandardEngine startInternal INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/7.0.64 ago 28, 2017 11:39:12 PM org.apache.coyote.AbstractProtocol start INFORMAÇÕES: Starting ProtocolHandler ["http-bio-8888"] ago 28, 2017 11:39:18 PM org.apache.catalina.startup.HostConfig deployWAR INFORMAÇÕES: Deploying web application archive /home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/target/tomcat-embedded-7/webapps/ROOT.war ago 28, 2017 11:39:18 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFORMAÇÕES: No global web.xml found ago 28, 2017 11:39:21 PM org.apache.catalina.startup.TldConfig execute INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. ago 28, 2017 11:39:21 PM com.sun.faces.config.ConfigureListener contextInitialized INFORMAÇÕES: Inicializando Mojarra 2.2.6 ( 20140304-1537 https://svn.java.net/svn/mojarra~svn/tags/2.2.6@12949) para o contexto '' ago 28, 2017 11:39:22 PM com.sun.faces.spi.InjectionProviderFactory createInstance INFORMAÇÕES: JSF1048: Anotações PostConstruct/PreDestroy presentes. Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas. ago 28, 2017 11:39:22 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation GRAVE: Unknow type constant pool 18 at position 27 ago 28, 2017 11:39:22 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation GRAVE: Unknow type constant pool 0 at position 28 ago 28, 2017 11:39:22 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation GRAVE: Unknow type constant pool 0 at position 29 ago 28, 2017 11:39:22 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation GRAVE: Unknow type constant pool 0 at position 30 ago 28, 2017 11:39:22 PM com.sun.faces.config.JavaClassScanningAnnotationScanner$ConstantPoolInfo containsAnnotation GRAVE: Unknow type constant pool -85 at position 31 ago 28, 2017 11:39:24 PM org.primefaces.webapp.PostConstructApplicationEventListener processEvent INFORMAÇÕES: Running on PrimeFaces 5.3 ago 28, 2017 11:39:24 PM org.primefaces.webapp.PostConstructApplicationEventListener processEvent INFORMAÇÕES: Running on PrimeFaces 5.3 ago 28, 2017 11:39:24 PM org.apache.catalina.startup.HostConfig deployWAR INFORMAÇÕES: Deployment of web application archive /home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/target/tomcat-embedded-7/webapps/ROOT.war has finished in 6,357 ms Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 16.458 sec <<< FAILURE! - in br.com.caelum.argentum.bean.FiltraNegociacoesIT verificaResultadosFiltradosNaTabela(br.com.caelum.argentum.bean.FiltraNegociacoesIT) Time elapsed: 0.948 sec <<< ERROR! java.lang.IllegalStateException: The driver executable does not exist: /home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/~/Documentos/alura/Carreira-DevOps/Integracao-Continua/phantomjs-2.1.1-linux-x86_64/bin/phantomjs at br.com.caelum.argentum.bean.FiltraNegociacoesIT.iniciaPhantomJs(FiltraNegociacoesIT.java:137) at br.com.caelum.argentum.bean.FiltraNegociacoesIT.iniciaNavegador(FiltraNegociacoesIT.java:63) ago 28, 2017 11:39:25 PM org.apache.coyote.AbstractProtocol pause INFORMAÇÕES: Pausing ProtocolHandler ["http-bio-8888"] ago 28, 2017 11:39:25 PM org.apache.catalina.core.StandardService stopInternal INFORMAÇÕES: Stopping service arquillian-tomcat-embedded-7 ago 28, 2017 11:39:25 PM org.apache.coyote.AbstractProtocol stop INFORMAÇÕES: Stopping ProtocolHandler ["http-bio-8888"] Results : Tests in error: FiltraNegociacoesIT.iniciaNavegador:63->iniciaPhantomJs:137 » IllegalState The... Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] --- maven-pmd-plugin:3.6:pmd (default) @ argentum-web --- [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] [INFO] --- jacoco-maven-plugin:0.7.6.201602180812:report (default) @ argentum-web --- [INFO] Analyzed bundle 'argentum-web' with 12 classes [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:verify (default) @ argentum-web --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 32.857 s [INFO] Finished at: 2017-08-28T23:39:29-03:00 [INFO] Final Memory: 40M/331M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (default) on project argentum-web: There are test failures. [ERROR] [ERROR] Please refer to /home/cefs1984/Documentos/alura/Carreira-DevOps/Integracao-Continua/projeto/argentum-web/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException