[Commented] (MINVOKER-241) [REGRESSION]: Timeout IT's will break

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Commented] (MINVOKER-241) [REGRESSION]: Timeout IT's will break

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/MINVOKER-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16740826#comment-16740826 ]

Robert Scholte commented on MINVOKER-241:
-----------------------------------------

[timeoutInSeconds|https://maven.apache.org/plugins/maven-invoker-plugin/run-mojo.html#timeoutInSeconds] was a property introduced in 3.0.2, so it had no effect with 3.0.1. Upgrading the plugin makes this property kick in action.

> [REGRESSION]: Timeout IT's will break
> -------------------------------------
>
>                 Key: MINVOKER-241
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-241
>             Project: Maven Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Karl Heinz Marbaise
>            Priority: Major
>             Fix For: 3.1.1
>
>
> Using maven-invoker-plugin version 3.1.0 the following result for an IT of the maven-invoker-plugin itself( command I used:
> {{mvn clean verify -Prun-its -Drat.ignoreErrors=true -Dhttps.protocols=TLSv1.2 -Dinvoker.test=exec-timeout-invoker-level}}):
> {noformat}
> [INFO] --- maven-invoker-plugin:3.1.0:install (integration-test) @ maven-invoker-plugin ---
> [INFO] Installing /Users/kama/ws-git-maven/plugins/maven-invoker-plugin/pom.xml to /Users/kama/ws-git-maven/plugins/maven-invoker-plugin/target/local-repo/org/apache/maven/plugins/maven-invoker-plugin/3.1.1-SNAPSHOT/maven-invoker-plugin-3.1.1-SNAPSHOT.pom
> [INFO] Installing /Users/kama/ws-git-maven/plugins/maven-invoker-plugin/target/maven-invoker-plugin-3.1.1-SNAPSHOT.jar to /Users/kama/ws-git-maven/plugins/maven-invoker-plugin/target/local-repo/org/apache/maven/plugins/maven-invoker-plugin/3.1.1-SNAPSHOT/maven-invoker-plugin-3.1.1-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-invoker-plugin:3.1.0:integration-test (integration-test) @ maven-invoker-plugin ---
> [INFO] Building: exec-timeout-invoker-level/pom.xml
> [INFO]           exec-timeout-invoker-level/pom.xml ............... FAILED (2.0 s)
> [INFO]   The Maven invocation failed. Error while executing external command, process killed.
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-invoker-plugin ---
> [INFO] There are 2 errors reported by Checkstyle 6.18 with config/maven_checks.xml ruleset.
> [INFO] Ignored 2 errors, 0 violation remaining.
> [INFO]
> [INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ maven-invoker-plugin ---
> [INFO] -------------------------------------------------
> [INFO] Build Summary:
> [INFO]   Passed: 0, Failed: 0, Errors: 1, Skipped: 0
> [INFO] -------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> {noformat}
> Using the same command but using maven-invoker-plugin 3.0.1 instead:
> {noformat}
> [INFO] --- maven-invoker-plugin:3.0.1:install (integration-test) @ maven-invoker-plugin ---
> [INFO] Installing /Users/kama/ws-git-maven/plugins/maven-invoker-plugin/pom.xml to /Users/kama/ws-git-maven/plugins/maven-invoker-plugin/target/local-repo/org/apache/maven/plugins/maven-invoker-plugin/3.1.1-SNAPSHOT/maven-invoker-plugin-3.1.1-SNAPSHOT.pom
> [INFO] Installing /Users/kama/ws-git-maven/plugins/maven-invoker-plugin/target/maven-invoker-plugin-3.1.1-SNAPSHOT.jar to /Users/kama/ws-git-maven/plugins/maven-invoker-plugin/target/local-repo/org/apache/maven/plugins/maven-invoker-plugin/3.1.1-SNAPSHOT/maven-invoker-plugin-3.1.1-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-invoker-plugin:3.0.1:integration-test (integration-test) @ maven-invoker-plugin ---
> [INFO] Running Setup Jobs
> [INFO] Building: exec-timeout-invoker-level/pom.xml
> [INFO]           exec-timeout-invoker-level/pom.xml ............... SUCCESS (8.2 s)
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-invoker-plugin ---
> [INFO] There are 2 errors reported by Checkstyle 6.18 with config/maven_checks.xml ruleset.
> [INFO] Ignored 2 errors, 0 violation remaining.
> [INFO]
> [INFO] --- maven-invoker-plugin:3.0.1:verify (integration-test) @ maven-invoker-plugin ---
> [INFO] -------------------------------------------------
> [INFO] Build Summary:
> [INFO]   Passed: 1, Failed: 0, Errors: 0, Skipped: 0
> [INFO] -------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 29.182 s
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)