See <https://builds.apache.org/job/oozie-trunk-precommit-build/3086/>

------------------------------------------
[...truncated 2393 lines...]
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/docs/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oozie-docs 
---
[INFO] Compiling 1 source file to 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/docs/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
oozie-docs ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/docs/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
oozie-docs ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.2:test (default-test) @ oozie-docs ---
[INFO] Tests are skipped.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Oozie WebApp 4.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oozie-webapp ---
[INFO] Deleting 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/webapp/target>
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ oozie-webapp 
---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
oozie-webapp ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oozie-webapp 
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
oozie-webapp ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/webapp/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
oozie-webapp ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.2:test (default-test) @ oozie-webapp ---
[INFO] Tests are skipped.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Oozie Tools 4.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oozie-tools ---
[INFO] Deleting 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/target>
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ oozie-tools ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
oozie-tools ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oozie-tools 
---
[INFO] Compiling 2 source files to 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/target/classes>
[WARNING] 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/src/main/java/org/apache/oozie/tools/OozieSharelibCLI.java>:[156,20]
 [deprecation] getConf() in Services has been deprecated
[WARNING] 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/src/main/java/org/apache/oozie/tools/OozieSharelibCLI.java>:[158,20]
 [deprecation] getConf() in Services has been deprecated
[WARNING] 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/src/main/java/org/apache/oozie/tools/OozieDBCLI.java>:[166,37]
 [deprecation] getConf() in Services has been deprecated
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
oozie-tools ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
oozie-tools ---
[INFO] Compiling 6 source files to 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/target/test-classes>
[WARNING] 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/tools/src/test/java/org/apache/oozie/tools/TestOozieSharelibCLI.java>:[196,20]
 [deprecation] getConf() in Services has been deprecated
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.2:test (default-test) @ oozie-tools ---
[INFO] Tests are skipped.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Oozie MiniOozie 4.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oozie-mini ---
[INFO] Deleting 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/minitest/target>
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ oozie-mini ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
oozie-mini ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/minitest/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oozie-mini 
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
oozie-mini ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
oozie-mini ---
[INFO] Compiling 1 source file to 
<https://builds.apache.org/job/oozie-trunk-precommit-build/ws/minitest/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.2:test (default-test) @ oozie-mini ---
[INFO] Tests are skipped.
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Oozie WorkflowGenerator 4.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.orange.links:gwt-links:jar:1.3-SNAPSHOT is missing, 
no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Oozie Main .................................. SUCCESS [  0.921 s]
[INFO] Apache Oozie Hadoop Utils .......................... SUCCESS [  1.361 s]
[INFO] Apache Oozie Hadoop Distcp hadoop-1-4.3.0-SNAPSHOT . SUCCESS [  0.065 s]
[INFO] Apache Oozie Hadoop Auth hadoop-1-4.3.0-SNAPSHOT ... SUCCESS [  0.199 s]
[INFO] Apache Oozie Hadoop Libs ........................... SUCCESS [  0.028 s]
[INFO] Apache Oozie Client ................................ SUCCESS [  5.427 s]
[INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [  2.617 s]
[INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [  2.909 s]
[INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [  1.058 s]
[INFO] Apache Oozie Core .................................. SUCCESS [ 24.120 s]
[INFO] Apache Oozie Share Lib Streaming ................... SUCCESS [  6.186 s]
[INFO] Apache Oozie Share Lib Pig ......................... SUCCESS [  4.074 s]
[INFO] Apache Oozie Share Lib Hive ........................ SUCCESS [  4.576 s]
[INFO] Apache Oozie Share Lib Hive 2 ...................... SUCCESS [  4.386 s]
[INFO] Apache Oozie Share Lib Sqoop ....................... SUCCESS [  3.292 s]
[INFO] Apache Oozie Examples .............................. SUCCESS [  4.297 s]
[INFO] Apache Oozie Share Lib Spark ....................... SUCCESS [  6.699 s]
[INFO] Apache Oozie Share Lib ............................. SUCCESS [  0.018 s]
[INFO] Apache Oozie Docs .................................. SUCCESS [  0.710 s]
[INFO] Apache Oozie WebApp ................................ SUCCESS [  1.372 s]
[INFO] Apache Oozie Tools ................................. SUCCESS [  4.364 s]
[INFO] Apache Oozie MiniOozie ............................. SUCCESS [  1.657 s]
[INFO] Apache Oozie WorkflowGenerator ..................... FAILURE [  0.040 s]
[INFO] Apache Oozie Distro ................................ SKIPPED
[INFO] Apache Oozie ZooKeeper Security Tests .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:22 min
[INFO] Finished at: 2016-07-28T02:18:31+00:00
[INFO] Final Memory: 56M/1052M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project oozie-workflowgenerator: Could not 
resolve dependencies for project 
org.apache.oozie:oozie-workflowgenerator:war:4.3.0-SNAPSHOT: Failure to find 
com.orange.links:gwt-links:jar:1.3-SNAPSHOT in 
http://gwt-links.googlecode.com/svn/repository was cached in the local 
repository, resolution will not be reattempted until the update interval of 
gwt-links has elapsed or updates are forced -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :oozie-workflowgenerator
  Running test-patch task BACKWARDS_COMPATIBILITY
  Running test-patch task TESTS
  Running test-patch task DISTRO

Applying patch

Checking patch 
core/src/main/java/org/apache/oozie/action/email/EmailActionExecutor.java...
error: while searching for:
    public static final String EMAIL_SMTP_USER = CONF_PREFIX + "smtp.username";
    public static final String EMAIL_SMTP_PASS = CONF_PREFIX + "smtp.password";
    public static final String EMAIL_SMTP_FROM = CONF_PREFIX + "from.address";
    public static final String EMAIL_ATTACHMENT_ENABLED = CONF_PREFIX + 
"attachment.enabled";

    private final static String TO = "to";

error: patch failed: 
core/src/main/java/org/apache/oozie/action/email/EmailActionExecutor.java:74
error: 
core/src/main/java/org/apache/oozie/action/email/EmailActionExecutor.java: 
patch does not apply
Checking patch 
core/src/main/java/org/apache/oozie/service/ConfigurationService.java...
Hunk #2 succeeded at 167 (offset 1 line).
Hunk #3 succeeded at 492 (offset 16 lines).
Checking patch 
core/src/main/java/org/apache/oozie/service/HCatAccessorService.java...
Checking patch 
core/src/main/java/org/apache/oozie/sla/listener/SLAEmailEventListener.java...
error: while searching for:

        oozieBaseUrl = ConfigurationService.get(conf, OOZIE_BASE_URL);
        // Get SMTP properties from the configuration used in Email Action
        String smtpHost = conf.get(EmailActionExecutor.EMAIL_SMTP_HOST, 
SMTP_HOST_DEFAULT);
        String smtpPort = conf.get(EmailActionExecutor.EMAIL_SMTP_PORT, 
SMTP_PORT_DEFAULT);
        Boolean smtpAuth = conf.getBoolean(EmailActionExecutor.EMAIL_SMTP_AUTH, 
SMTP_AUTH_DEFAULT);
        String smtpUser = conf.get(EmailActionExecutor.EMAIL_SMTP_USER, "");
        String smtpPassword = 
ConfigurationService.getPassword(EmailActionExecutor.EMAIL_SMTP_PASS);
        String smtpConnectTimeout = conf.get(SMTP_CONNECTION_TIMEOUT, 
SMTP_CONNECTION_TIMEOUT_DEFAULT);
        String smtpTimeout = conf.get(SMTP_TIMEOUT, SMTP_TIMEOUT_DEFAULT);

        int blacklistTimeOut = 
Integer.valueOf(conf.get(BLACKLIST_CACHE_TIMEOUT, 
BLACKLIST_CACHE_TIMEOUT_DEFAULT));
        blacklistFailCount = Integer.valueOf(conf.get(BLACKLIST_FAIL_COUNT, 
BLACKLIST_FAIL_COUNT_DEFAULT));

        // blacklist email addresses causing SendFailedException with cache 
timeout
        blackList = CacheBuilder.newBuilder()

error: patch failed: 
core/src/main/java/org/apache/oozie/sla/listener/SLAEmailEventListener.java:103
error: 
core/src/main/java/org/apache/oozie/sla/listener/SLAEmailEventListener.java: 
patch does not apply
Checking patch core/src/main/resources/oozie-default.xml...
Hunk #1 succeeded at 211 (offset 42 lines).
Hunk #2 succeeded at 2804 (offset 234 lines).
Checking patch docs/src/site/twiki/DG_EmailActionExtension.twiki...
error: while searching for:
it looks for:

=oozie.email.smtp.host= - The host where the email action may find the SMTP 
server (localhost by default).
=oozie.email.smtp.port= - The port to connect to for the SMTP server (25 by 
default).
=oozie.email.from.address= - The from address to be used for mailing all emails 
(oozie@localhost by default).
=oozie.email.smtp.auth= - Boolean property that toggles if authentication is to 
be done or not. (false by default).
=oozie.email.smtp.username= - If authentication is enabled, the username to 
login as (empty by default).
=oozie.email.smtp.password= - If authentication is enabled, the username's 
password (empty by default).

*Example:*

<verbatim>

error: patch failed: docs/src/site/twiki/DG_EmailActionExtension.twiki:56
error: docs/src/site/twiki/DG_EmailActionExtension.twiki: patch does not apply
Checking patch 
src/main/java/org/apache/oozie/action/email/EmailActionExecutor.java...
error: src/main/java/org/apache/oozie/action/email/EmailActionExecutor.java: No 
such file or directory
Checking patch 
src/main/java/org/apache/oozie/service/ConfigurationService.java...
error: src/main/java/org/apache/oozie/service/ConfigurationService.java: No 
such file or directory
Checking patch 
src/main/java/org/apache/oozie/service/HCatAccessorService.java...
error: src/main/java/org/apache/oozie/service/HCatAccessorService.java: No such 
file or directory
Checking patch 
src/main/java/org/apache/oozie/sla/listener/SLAEmailEventListener.java...
error: src/main/java/org/apache/oozie/sla/listener/SLAEmailEventListener.java: 
No such file or directory
Checking patch src/main/resources/oozie-default.xml...
error: src/main/resources/oozie-default.xml: No such file or directory
Checking patch src/site/twiki/DG_EmailActionExtension.twiki...
error: src/site/twiki/DG_EmailActionExtension.twiki: No such file or directory
Patch failed to apply to head of branch

Adding comment to JIRA
Comment added.

test-patch exit code: 1

Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?

Reply via email to