{"action":"created","issue":{"url":"https://api.github.com/repos/allure-framework/allure-core/issues/655","labels_url":"https://api.github.com/repos/allure-framework/allure-core/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/allure-framework/allure-core/issues/655/comments","events_url":"https://api.github.com/repos/allure-framework/allure-core/issues/655/events","html_url":"https://github.com/allure-framework/allure-core/issues/655","id":102399172,"number":655,"title":"Jenkins report incorrectly states 0 suites/tests and all passing","user":{"login":"tiffanyplourde","id":6705328,"avatar_url":"https://avatars.githubusercontent.com/u/6705328?v=3","gravatar_id":"","url":"https://api.github.com/users/tiffanyplourde","html_url":"https://github.com/tiffanyplourde","followers_url":"https://api.github.com/users/tiffanyplourde/followers","following_url":"https://api.github.com/users/tiffanyplourde/following{/other_user}","gists_url":"https://api.github.com/users/tiffanyplourde/gists{/gist_id}","starred_url":"https://api.github.com/users/tiffanyplourde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiffanyplourde/subscriptions","organizations_url":"https://api.github.com/users/tiffanyplourde/orgs","repos_url":"https://api.github.com/users/tiffanyplourde/repos","events_url":"https://api.github.com/users/tiffanyplourde/events{/privacy}","received_events_url":"https://api.github.com/users/tiffanyplourde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-21T15:02:13Z","updated_at":"2015-08-24T19:01:21Z","closed_at":null,"body":"I'm trying to use the Allure Test Reporting Framework with JUnit 4, Maven, and Jenkins. I've updated my pom.xml with the necessary dependencies and when I build the project in Jenkins, the Allure report is attached to the build, but it shows 0 test suites and 0 tests, all passing, with no other information.\r\n\r\nThere are a couple dozen tests that should be showing as broken, and a few legitimately passing. I am using the default settings for the Jenkins Allure plugin. The XML reports are being generated in the correct directory after test runs; they just don't seem to actually populate the report attached to the build.\r\n\r\nFollowing is the console output in Jenkins with the stacktrace:\r\n\r\n```\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project project-platform: There are test failures.\r\n[ERROR] \r\n[ERROR] Please refer to /usr/share/tomcat/.jenkins/workspace/testingprojectplatform/target/surefire-reports for the individual test results.\r\n[ERROR] -> [Help 1]\r\norg.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project project-platform: There are test failures.\r\n\r\nPlease refer to /usr/share/tomcat/.jenkins/workspace/testingprojectplatform/target/surefire-reports for the individual test results.\r\n    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)\r\n    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)\r\n    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)\r\n    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)\r\n    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)\r\n    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)\r\n    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)\r\n    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)\r\n    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)\r\n    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)\r\n    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)\r\n    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n    at java.lang.reflect.Method.invoke(Method.java:606)\r\n    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)\r\n    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)\r\n    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)\r\n    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)\r\nCaused by: org.apache.maven.plugin.MojoFailureException: There are test failures.\r\n\r\nPlease refer to /usr/share/tomcat/.jenkins/workspace/testingprojectplatform/target/surefire-reports for the individual test results.\r\n    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)\r\n    at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:254)\r\n    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:854)\r\n    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:722)\r\n    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)\r\n    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)\r\n    ... 19 more\r\n[ERROR] \r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException\r\nBuild step 'Invoke top-level Maven targets' marked build as failure\r\nAllure Report Generation: started\r\nAllure Report Generation: find directories by mask [target/surefire-reports/]\r\nAllure Report Generation: found allure result directories [/usr/share/tomcat/.jenkins/workspace/testingprojectplatform/target/surefire-reports]\r\nAllure Report Generation: copy founded directories in directory [/usr/share/tomcat/.jenkins/workspace/testingprojectplatform/allure4540046437484771478.tmp/results]\r\nAllure Report Generation: generate report from directory [/usr/share/tomcat/.jenkins/workspace/testingprojectplatform/allure4540046437484771478.tmp]\r\nAllure Report Generation: proxy settings [active:'false', host:'null', port:'0', username:'null', password: '']\r\nAllure Report Generation: attach report link to build and project\r\nAllure Report Generation: completed\r\nSkipped archiving because build is not successful\r\nFinished: FAILURE\r\n```\r\n\r\nHere is what I added to my pom.xml:\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<project xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n        xmlns=\"http://maven.apache.org/POM/4.0.0\"\r\n        xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\r\n    <modelVersion>4.0.0</modelVersion>\r\n\r\n    <groupId>lutherconsulting.com</groupId>\r\n    <artifactId>aphirm-platform</artifactId>\r\n    <version>0.1-SNAPSHOT</version>\r\n    <packaging>war</packaging>\r\n    <properties>\r\n        <cucumber.version>1.2.2</cucumber.version>\r\n        <junit.version>4.12</junit.version>\r\n        <spring.version>4.1.4.RELEASE</spring.version>\r\n        <jersey.version>2.15</jersey.version>\r\n        <orient.version>2.0.12</orient.version>\r\n        <aspectj.version>1.8.6</aspectj.version>\r\n        <allure.version>1.4.15</allure.version>\r\n    </properties>\r\n    <dependencies>\r\n        <dependency>\r\n            <groupId>junit</groupId>\r\n            <artifactId>junit</artifactId>\r\n            <version>${junit.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n\r\n        <!-- Cucumber dependencies-->\r\n        <dependency>\r\n            <groupId>info.cukes</groupId>\r\n            <artifactId>cucumber-core</artifactId>\r\n            <version>${cucumber.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>info.cukes</groupId>\r\n            <artifactId>cucumber-java</artifactId>\r\n            <scope>test</scope>\r\n            <version>${cucumber.version}</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>info.cukes</groupId>\r\n            <artifactId>cucumber-junit</artifactId>\r\n            <version>${cucumber.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>info.cukes</groupId>\r\n            <artifactId>cucumber-jvm</artifactId>\r\n            <version>${cucumber.version}</version>\r\n            <type>pom</type>\r\n            <scope>test</scope>\r\n        </dependency>\r\n\r\n        <!-- Jersey requirements -->\r\n        <dependency>\r\n            <groupId>org.glassfish.jersey.containers</groupId>\r\n            <artifactId>jersey-container-grizzly2-http</artifactId>\r\n            <version>${jersey.version}</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.glassfish.jersey.test-framework</groupId>\r\n            <artifactId>jersey-test-framework-core</artifactId>\r\n            <version>${jersey.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>org.glassfish.jersey.containers</groupId>\r\n            <artifactId>jersey-container-grizzly2-servlet</artifactId>\r\n            <version>${jersey.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.glassfish.jersey.test-framework.providers</groupId>\r\n            <artifactId>jersey-test-framework-provider-grizzly2</artifactId>\r\n            <version>${jersey.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.glassfish.jersey.containers</groupId>\r\n            <artifactId>jersey-container-jdk-http</artifactId>\r\n            <version>${jersey.version}</version>\r\n            <scope>test</scope>\r\n\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.glassfish.jersey.containers</groupId>\r\n            <artifactId>jersey-container-servlet</artifactId>\r\n            <version>${jersey.version}</version>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>org.glassfish.jersey.media</groupId>\r\n            <artifactId>jersey-media-json-jackson</artifactId>\r\n            <version>${jersey.version}</version>\r\n        </dependency>\r\n\r\n        <!-- Selenium requirements -->\r\n        <dependency>\r\n            <groupId>org.seleniumhq.selenium</groupId>\r\n            <artifactId>selenium-java</artifactId>\r\n            <version>2.45.0</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n\r\n        <!-- Allure requirements -->\r\n        <dependency>\r\n            <groupId>ru.yandex.qatools.allure</groupId>\r\n            <artifactId>allure-junit-adaptor</artifactId>\r\n            <version>${allure.version}</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>commons-beanutils</groupId>\r\n            <artifactId>commons-beanutils</artifactId>\r\n            <version>1.9.2</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n\r\n        <!-- Orient requirements -->\r\n        <dependency>\r\n            <groupId>com.orientechnologies</groupId>\r\n            <artifactId>orientdb-core</artifactId>\r\n            <version>${orient.version}</version>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>com.orientechnologies</groupId>\r\n            <artifactId>orientdb-graphdb</artifactId>\r\n            <version>${orient.version}</version>\r\n            <exclusions>\r\n                <exclusion>\r\n                    <artifactId>commons-beanutils</artifactId>\r\n                    <groupId>commons-beanutils</groupId>\r\n                </exclusion>\r\n            </exclusions>\r\n        </dependency>\r\n\r\n\r\n        <!-- Customized version, for liquibase support -->\r\n        <!--<dependency>\r\n            <groupId>com.orientechnologies</groupId>\r\n            <artifactId>orientdb-jdbc</artifactId>\r\n            <version>2.0.3-SNAPSHOT</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.liquibase.ext</groupId>\r\n            <artifactId>liquibase-nochangeloglock</artifactId>\r\n            <version>1.1</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>orientdb-liquibase-ext</groupId>\r\n            <artifactId>orientdb-liquibase-ext</artifactId>\r\n            <version>0.1.0-SNAPSHOT</version>\r\n        </dependency>-->\r\n\r\n\r\n        <!-- INCLUDE THIS IF YOU'RE CONNECTING TO THE SERVER THROUGH THE REMOTE ENGINE -->\r\n        <dependency>\r\n            <groupId>com.orientechnologies</groupId>\r\n            <artifactId>orientdb-client</artifactId>\r\n            <version>${orient.version}</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>org.liquibase</groupId>\r\n            <artifactId>liquibase-core</artifactId>\r\n            <version>3.3.2</version>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>com.google.guava</groupId>\r\n            <artifactId>guava</artifactId>\r\n            <version>18.0</version>\r\n        </dependency>\r\n        <dependency>\r\n            <groupId>com.google.code.gson</groupId>\r\n            <artifactId>gson</artifactId>\r\n            <version>2.3.1</version>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>lutherconsulting.com</groupId>\r\n            <artifactId>aphirm-dbupdate</artifactId>\r\n            <version>0.1-SNAPSHOT</version>\r\n            <scope>test</scope>\r\n            <optional>true</optional>\r\n        </dependency>\r\n\r\n        <dependency>\r\n            <groupId>org.apache.logging.log4j</groupId>\r\n            <artifactId>log4j-core</artifactId>\r\n            <version>2.3</version>\r\n        </dependency>\r\n    </dependencies>\r\n\r\n    <build>\r\n        <plugins>\r\n            <plugin>\r\n                <groupId>org.apache.maven.plugins</groupId>\r\n                <artifactId>maven-compiler-plugin</artifactId>\r\n                <version>3.3</version>\r\n                <configuration>\r\n                    <source>1.7</source>\r\n                    <target>1.7</target>\r\n                </configuration>\r\n            </plugin>\r\n            <plugin>\r\n                <groupId>org.apache.maven.plugins</groupId>\r\n                <artifactId>maven-war-plugin</artifactId>\r\n                <version>2.6</version>\r\n            </plugin>\r\n            <!-- Allure plugins -->\r\n            <plugin>\r\n                <groupId>org.apache.maven.plugins</groupId>\r\n                <artifactId>maven-surefire-plugin</artifactId>\r\n                <version>2.18.1</version>\r\n                <configuration>\r\n                    <testFailureIgnore>false</testFailureIgnore>\r\n                    <argLine>\r\n                        -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar\r\n                    </argLine>\r\n                    <properties>\r\n                        <property>\r\n                            <name>listener</name>\r\n                            <value>ru.yandex.qatools.allure.junit.AllureRunListener</value>\r\n                        </property>\r\n                    </properties>\r\n                </configuration>\r\n                <dependencies>\r\n                    <dependency>\r\n                        <groupId>org.aspectj</groupId>\r\n                        <artifactId>aspectjweaver</artifactId>\r\n                        <version>${aspectj.version}</version>\r\n                    </dependency>\r\n                </dependencies>\r\n            </plugin>\r\n        </plugins>\r\n\r\n\r\n        <finalName>project-platform</finalName>\r\n    </build>\r\n</project>\r\n```\r\n\r\nAny wisdom is much appreciated! Thanks!"},"comment":{"url":"https://api.github.com/repos/allure-framework/allure-core/issues/comments/134340283","html_url":"https://github.com/allure-framework/allure-core/issues/655#issuecomment-134340283","issue_url":"https://api.github.com/repos/allure-framework/allure-core/issues/655","id":134340283,"user":{"login":"tiffanyplourde","id":6705328,"avatar_url":"https://avatars.githubusercontent.com/u/6705328?v=3","gravatar_id":"","url":"https://api.github.com/users/tiffanyplourde","html_url":"https://github.com/tiffanyplourde","followers_url":"https://api.github.com/users/tiffanyplourde/followers","following_url":"https://api.github.com/users/tiffanyplourde/following{/other_user}","gists_url":"https://api.github.com/users/tiffanyplourde/gists{/gist_id}","starred_url":"https://api.github.com/users/tiffanyplourde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiffanyplourde/subscriptions","organizations_url":"https://api.github.com/users/tiffanyplourde/orgs","repos_url":"https://api.github.com/users/tiffanyplourde/repos","events_url":"https://api.github.com/users/tiffanyplourde/events{/privacy}","received_events_url":"https://api.github.com/users/tiffanyplourde/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T19:01:21Z","updated_at":"2015-08-24T19:01:21Z","body":"@clicman Thank you! What version of allure should I use if I don't want to use the cucumber-jvm-adaptor snapshot?\r\n\r\n@prodigy007 Thank you!"}}