webdetails / pentahoLanguagePacks

Pentaho Language Pack Installer plugins
Other
32 stars 81 forks source link

[BACKLOG-29274] Fix Java Heap Overflow in transformations #144

Closed davidmsantos90 closed 2 years ago

davidmsantos90 commented 5 years ago

@webdetails/millenniumfalcon please review

The behavior changed, when this bug was fixed.

In the "_install_language.ktr" we were using the Get file names step to get a normalized path of the target folder, assuming this was a feature of the step. But when the bug was fixed and the file type started being check, it caused the memory overflow by returning n folders (children of target folder) instead of only 1 (the target folder itself)

wingman-pentaho commented 5 years ago

Build Failed

:x: Something went wrong while validating this pull request.

Build Commands

ant -Dtestreports.dir=bin/reports/unit-test -f build.xml clean-all resolve jacoco && ant -f build.xml checkstyle publish-local
Stdout log
(last 100 lines)
Config enriched: If no api token specified, use environment variable
Config enriched: If source control is github, set git binary path
Config enriched: Set the slackbot url
Config enriched: If github SourceControlType and null StatusUpdateType, use github
Config enriched: If github SourceControlType and StatusUpdaterType and null ApiToken, use the one from SourceRetriever
Config enriched: If github SourceControlType and StatusUpdaterType and null Organization, use the one from SourceRetriever
Config enriched: If github SourceControlType and StatusUpdaterType and null Repository, use the one from SourceRetriever
Config enriched: If github SourceControlType and StatusUpdaterType and null PullRequest, use the one from SourceRetriever
Config enriched: CheckstyleAnalyzer is enabled by default
Retrieving source with org.pentaho.build.buddy.bundles.source.github.SlackbotGithubSourceRetriever@23672cb7
VCS Commands:
clone: [git, clone, --depth=1, --branch, master, https://[GITHUB TOKEN]@github.com/webdetails/pentahoLanguagePacks.git, pentahoLanguagePacks-base-144-c2b74bc3-a696-4525-b8d5-ebfc1b70595d]
fetch: [git, fetch, --depth=2, origin, pull/144/head:pullRequest]
merge: [git, merge, --no-edit, --no-ff, -Xtheirs, -Xignore-space-change, pullRequest]
HEAD is now at 4a9ddf7 Change cyrillic letters to javascript escape characters. (#141)
Merge made by the 'recursive' strategy.
 .gitignore                                         |   10 +-
 endpoints/kettle/admin/_copy_and_encode.ktr        |  705 +++-
 .../kettle/admin/_copy_messages_properties.ktr     | 1525 +++++---
 .../kettle/admin/_copy_wildcard_properties.ktr     |  999 ++++--
 endpoints/kettle/admin/_create_jar.kjb             |  548 ++-
 endpoints/kettle/admin/_create_jar_old.kjb         |  527 ++-
 endpoints/kettle/admin/_get_jar_filename.ktr       |  553 ++-
 endpoints/kettle/admin/_install_language.ktr       | 3737 +++++++++++++-------
 endpoints/kettle/admin/_remove_language.ktr        | 1439 +++++---
 endpoints/kettle/admin/_zip.ktr                    |  726 +++-
 endpoints/kettle/admin/getpackmetadata.ktr         |  741 +++-
 endpoints/kettle/admin/installpack.kjb             |  945 +++--
 endpoints/kettle/admin/removepack.kjb              |  473 ++-
 13 files changed, 9339 insertions(+), 3589 deletions(-)
GithubSourceRetriever file list:
[modified]  .gitignore
[modified]  endpoints/kettle/admin/_copy_and_encode.ktr
[modified]  endpoints/kettle/admin/_copy_messages_properties.ktr
[modified]  endpoints/kettle/admin/_copy_wildcard_properties.ktr
[modified]  endpoints/kettle/admin/_create_jar.kjb
[modified]  endpoints/kettle/admin/_create_jar_old.kjb
[modified]  endpoints/kettle/admin/_get_jar_filename.ktr
[modified]  endpoints/kettle/admin/_install_language.ktr
[modified]  endpoints/kettle/admin/_remove_language.ktr
[modified]  endpoints/kettle/admin/_zip.ktr
[modified]  endpoints/kettle/admin/getpackmetadata.ktr
[modified]  endpoints/kettle/admin/installpack.kjb
[modified]  endpoints/kettle/admin/removepack.kjb
BuildToolDetector guessing ant project because build.xml exists in at the root or in the parent folder of a changed file: .gitignore

Stderr log

(last 100 lines)
Checking out files:  86% (14801/17210)   
Checking out files:  87% (14973/17210)   
Checking out files:  88% (15145/17210)   
Checking out files:  88% (15299/17210)   
Checking out files:  89% (15317/17210)   
Checking out files:  90% (15489/17210)   
Checking out files:  91% (15662/17210)   
Checking out files:  92% (15834/17210)   
Checking out files:  93% (16006/17210)   
Checking out files:  94% (16178/17210)   
Checking out files:  95% (16350/17210)   
Checking out files:  96% (16522/17210)   
Checking out files:  97% (16694/17210)   
Checking out files:  98% (16866/17210)   
Checking out files:  99% (17038/17210)   
Checking out files: 100% (17210/17210)   
Checking out files: 100% (17210/17210), done.
Checking out files:  24% (4255/17210)   
Checking out files:  25% (4303/17210)   
Checking out files:  26% (4475/17210)   
Checking out files:  27% (4647/17210)   
Checking out files:  28% (4819/17210)   
Checking out files:  29% (4991/17210)   
Checking out files:  30% (5163/17210)   
Checking out files:  31% (5336/17210)   
Checking out files:  32% (5508/17210)   
Checking out files:  33% (5680/17210)   
Checking out files:  34% (5852/17210)   
Checking out files:  35% (6024/17210)   
Checking out files:  36% (6196/17210)   
Checking out files:  37% (6368/17210)   
Checking out files:  38% (6540/17210)   
Checking out files:  39% (6712/17210)   
Checking out files:  40% (6884/17210)   
Checking out files:  41% (7057/17210)   
Checking out files:  42% (7229/17210)   
Checking out files:  43% (7401/17210)   
Checking out files:  44% (7573/17210)   
Checking out files:  45% (7745/17210)   
Checking out files:  46% (7917/17210)   
Checking out files:  47% (8089/17210)   
Checking out files:  48% (8261/17210)   
Checking out files:  49% (8433/17210)   
Checking out files:  50% (8605/17210)   
Checking out files:  51% (8778/17210)   
Checking out files:  52% (8950/17210)   
Checking out files:  53% (9122/17210)   
Checking out files:  54% (9294/17210)   
Checking out files:  55% (9466/17210)   
Checking out files:  56% (9638/17210)   
Checking out files:  57% (9810/17210)   
Checking out files:  57% (9950/17210)   
Checking out files:  58% (9982/17210)   
Checking out files:  59% (10154/17210)   
Checking out files:  60% (10326/17210)   
Checking out files:  61% (10499/17210)   
Checking out files:  62% (10671/17210)   
Checking out files:  63% (10843/17210)   
Checking out files:  64% (11015/17210)   
Checking out files:  65% (11187/17210)   
Checking out files:  66% (11359/17210)   
Checking out files:  67% (11531/17210)   
Checking out files:  68% (11703/17210)   
Checking out files:  69% (11875/17210)   
Checking out files:  70% (12047/17210)   
Checking out files:  71% (12220/17210)   
Checking out files:  72% (12392/17210)   
Checking out files:  73% (12564/17210)   
Checking out files:  74% (12736/17210)   
Checking out files:  75% (12908/17210)   
Checking out files:  76% (13080/17210)   
Checking out files:  77% (13252/17210)   
Checking out files:  78% (13424/17210)   
Checking out files:  79% (13596/17210)   
Checking out files:  80% (13768/17210)   
Checking out files:  81% (13941/17210)   
Checking out files:  82% (14113/17210)   
Checking out files:  83% (14285/17210)   
Checking out files:  84% (14457/17210)   
Checking out files:  85% (14629/17210)   
Checking out files:  86% (14801/17210)   
Checking out files:  87% (14973/17210)   
Checking out files:  88% (15145/17210)   
Checking out files:  89% (15317/17210)   
Checking out files:  89% (15420/17210)   
Checking out files:  90% (15489/17210)   
Checking out files:  91% (15662/17210)   
Checking out files:  92% (15834/17210)   
Checking out files:  93% (16006/17210)   
Checking out files:  94% (16178/17210)   
Checking out files:  95% (16350/17210)   
Checking out files:  96% (16522/17210)   
Checking out files:  97% (16694/17210)   
Checking out files:  98% (16866/17210)   
Checking out files:  99% (17038/17210)   
Checking out files: 100% (17210/17210)   
Checking out files: 100% (17210/17210), done.
From https://github.com/webdetails/pentahoLanguagePacks
 * [new ref]         refs/pull/144/head -> pullRequest
java.lang.Exception: java.lang.RuntimeException: org.eclipse.egit.github.core.client.RequestException: Not Found (404)
    at org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl.orchestrate(OrchestratorImpl.java:387)
    at Proxy4950f66e_d83a_409d_a667_cdc6af9db6c1.orchestrate(Unknown Source)
    at org.pentaho.build.buddy.bundles.rest.OrchestratorRestService$1.write(OrchestratorRestService.java:62)
    at org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:172)
    at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1381)
    at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:244)
    at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.processResponse(JAXRSOutInterceptor.java:120)
    at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:83)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
    at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
    at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:253)
    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
    at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:273)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:499)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: org.eclipse.egit.github.core.client.RequestException: Not Found (404)
    at org.pentaho.build.buddy.bundles.source.github.GithubSourceRetriever.onStart(GithubSourceRetriever.java:215)
    at Proxy3c77a439_70dc_4ca1_bc2f_e0945af49fc6.onStart(Unknown Source)
    at org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl.orchestrate(OrchestratorImpl.java:358)
    ... 41 more
Caused by: org.eclipse.egit.github.core.client.RequestException: Not Found (404)
    at org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:552)
    at org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:643)
    at org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
    at org.pentaho.build.buddy.bundles.source.github.GithubCommitService$Delegate$1.post(GithubCommitService.java:50)
    at org.eclipse.egit.github.core.service.CommitService.createStatus(CommitService.java:426)
    at org.pentaho.build.buddy.bundles.source.github.GithubCommitService.createStatus(GithubCommitService.java:35)
    at org.pentaho.build.buddy.bundles.source.github.GithubSourceRetriever.onStart(GithubSourceRetriever.java:203)
    ... 43 more
wingman-pentaho commented 5 years ago

Build Failed

:x: Something went wrong while validating this pull request.

Build Commands

ant -Dtestreports.dir=bin/reports/unit-test -f build.xml clean-all resolve jacoco && ant -f build.xml checkstyle publish-local
Stdout log
(last 100 lines)
Config enriched: If no api token specified, use environment variable
Config enriched: If source control is github, set git binary path
Config enriched: Set the slackbot url
Config enriched: If github SourceControlType and null StatusUpdateType, use github
Config enriched: If github SourceControlType and StatusUpdaterType and null ApiToken, use the one from SourceRetriever
Config enriched: If github SourceControlType and StatusUpdaterType and null Organization, use the one from SourceRetriever
Config enriched: If github SourceControlType and StatusUpdaterType and null Repository, use the one from SourceRetriever
Config enriched: If github SourceControlType and StatusUpdaterType and null PullRequest, use the one from SourceRetriever
Config enriched: CheckstyleAnalyzer is enabled by default
Retrieving source with org.pentaho.build.buddy.bundles.source.github.SlackbotGithubSourceRetriever@23672cb7
VCS Commands:
clone: [git, clone, --depth=1, --branch, master, https://[GITHUB TOKEN]@github.com/webdetails/pentahoLanguagePacks.git, pentahoLanguagePacks-base-144-dc4e5e27-4a06-4489-ba86-8e567bf193ee]
fetch: [git, fetch, --depth=3, origin, pull/144/head:pullRequest]
merge: [git, merge, --no-edit, --no-ff, -Xtheirs, -Xignore-space-change, pullRequest]
HEAD is now at 4a9ddf7 Change cyrillic letters to javascript escape characters. (#141)
Merge made by the 'recursive' strategy.
 .gitignore                                         |   10 +-
 build.properties                                   |    4 +-
 cpk.spring.xml                                     |   20 +-
 cpk.xml                                            |   69 +-
 endpoints/kettle/admin/_copy_and_encode.ktr        |  705 +++-
 .../kettle/admin/_copy_messages_properties.ktr     | 1525 +++++---
 .../kettle/admin/_copy_wildcard_properties.ktr     |  999 ++++--
 endpoints/kettle/admin/_create_jar.kjb             |  548 ++-
 endpoints/kettle/admin/_create_jar_old.kjb         |  527 ++-
 endpoints/kettle/admin/_get_jar_filename.ktr       |  553 ++-
 endpoints/kettle/admin/_install_language.ktr       | 3737 +++++++++++++-------
 endpoints/kettle/admin/_remove_language.ktr        | 1439 +++++---
 endpoints/kettle/admin/_zip.ktr                    |  726 +++-
 endpoints/kettle/admin/getpackmetadata.ktr         |  741 +++-
 endpoints/kettle/admin/installpack.kjb             |  945 +++--
 endpoints/kettle/admin/removepack.kjb              |  473 ++-
 market_entry.xml                                   |   22 +-
 plugin.spring.xml                                  |   25 +-
 plugin.xml                                         |   62 +-
 settings.xml                                       |    4 +-
 tools/bulk_rename.py                               |    7 +-
 tools/generate-language.sh                         |    7 +-
 tools/generate_language_bundle.py                  |    8 +-
 version.xml                                        |    2 +-
 24 files changed, 9467 insertions(+), 3691 deletions(-)
GithubSourceRetriever file list:
[modified]  .gitignore
[modified]  build.properties
[modified]  cpk.spring.xml
[modified]  cpk.xml
[modified]  endpoints/kettle/admin/_copy_and_encode.ktr
[modified]  endpoints/kettle/admin/_copy_messages_properties.ktr
[modified]  endpoints/kettle/admin/_copy_wildcard_properties.ktr
[modified]  endpoints/kettle/admin/_create_jar.kjb
[modified]  endpoints/kettle/admin/_create_jar_old.kjb
[modified]  endpoints/kettle/admin/_get_jar_filename.ktr
[modified]  endpoints/kettle/admin/_install_language.ktr
[modified]  endpoints/kettle/admin/_remove_language.ktr
[modified]  endpoints/kettle/admin/_zip.ktr
[modified]  endpoints/kettle/admin/getpackmetadata.ktr
[modified]  endpoints/kettle/admin/installpack.kjb
[modified]  endpoints/kettle/admin/removepack.kjb
[modified]  market_entry.xml
[modified]  plugin.spring.xml
[modified]  plugin.xml
[modified]  settings.xml
[modified]  tools/bulk_rename.py
[modified]  tools/generate-language.sh
[modified]  tools/generate_language_bundle.py
[modified]  version.xml
BuildToolDetector guessing ant project because build.xml exists in at the root or in the parent folder of a changed file: .gitignore

Stderr log

(last 100 lines)
Checking out files:  85% (14629/17210)   
Checking out files:  86% (14801/17210)   
Checking out files:  87% (14973/17210)   
Checking out files:  88% (15145/17210)   
Checking out files:  89% (15317/17210)   
Checking out files:  89% (15381/17210)   
Checking out files:  90% (15489/17210)   
Checking out files:  91% (15662/17210)   
Checking out files:  92% (15834/17210)   
Checking out files:  93% (16006/17210)   
Checking out files:  94% (16178/17210)   
Checking out files:  95% (16350/17210)   
Checking out files:  96% (16522/17210)   
Checking out files:  97% (16694/17210)   
Checking out files:  98% (16866/17210)   
Checking out files:  99% (17038/17210)   
Checking out files: 100% (17210/17210)   
Checking out files: 100% (17210/17210), done.
Checking out files:  25% (4442/17210)   
Checking out files:  26% (4475/17210)   
Checking out files:  27% (4647/17210)   
Checking out files:  28% (4819/17210)   
Checking out files:  29% (4991/17210)   
Checking out files:  30% (5163/17210)   
Checking out files:  31% (5336/17210)   
Checking out files:  32% (5508/17210)   
Checking out files:  33% (5680/17210)   
Checking out files:  34% (5852/17210)   
Checking out files:  35% (6024/17210)   
Checking out files:  36% (6196/17210)   
Checking out files:  37% (6368/17210)   
Checking out files:  38% (6540/17210)   
Checking out files:  39% (6712/17210)   
Checking out files:  40% (6884/17210)   
Checking out files:  41% (7057/17210)   
Checking out files:  42% (7229/17210)   
Checking out files:  43% (7401/17210)   
Checking out files:  44% (7573/17210)   
Checking out files:  45% (7745/17210)   
Checking out files:  46% (7917/17210)   
Checking out files:  47% (8089/17210)   
Checking out files:  48% (8261/17210)   
Checking out files:  49% (8433/17210)   
Checking out files:  50% (8605/17210)   
Checking out files:  51% (8778/17210)   
Checking out files:  52% (8950/17210)   
Checking out files:  53% (9122/17210)   
Checking out files:  54% (9294/17210)   
Checking out files:  55% (9466/17210)   
Checking out files:  56% (9638/17210)   
Checking out files:  57% (9810/17210)   
Checking out files:  58% (9982/17210)   
Checking out files:  59% (10154/17210)   
Checking out files:  60% (10326/17210)   
Checking out files:  61% (10499/17210)   
Checking out files:  61% (10562/17210)   
Checking out files:  62% (10671/17210)   
Checking out files:  63% (10843/17210)   
Checking out files:  64% (11015/17210)   
Checking out files:  65% (11187/17210)   
Checking out files:  66% (11359/17210)   
Checking out files:  67% (11531/17210)   
Checking out files:  68% (11703/17210)   
Checking out files:  69% (11875/17210)   
Checking out files:  70% (12047/17210)   
Checking out files:  71% (12220/17210)   
Checking out files:  72% (12392/17210)   
Checking out files:  73% (12564/17210)   
Checking out files:  74% (12736/17210)   
Checking out files:  75% (12908/17210)   
Checking out files:  76% (13080/17210)   
Checking out files:  77% (13252/17210)   
Checking out files:  78% (13424/17210)   
Checking out files:  79% (13596/17210)   
Checking out files:  80% (13768/17210)   
Checking out files:  81% (13941/17210)   
Checking out files:  82% (14113/17210)   
Checking out files:  83% (14285/17210)   
Checking out files:  84% (14457/17210)   
Checking out files:  85% (14629/17210)   
Checking out files:  86% (14801/17210)   
Checking out files:  87% (14973/17210)   
Checking out files:  88% (15145/17210)   
Checking out files:  89% (15317/17210)   
Checking out files:  90% (15489/17210)   
Checking out files:  91% (15662/17210)   
Checking out files:  92% (15834/17210)   
Checking out files:  93% (16006/17210)   
Checking out files:  94% (16178/17210)   
Checking out files:  95% (16350/17210)   
Checking out files:  96% (16522/17210)   
Checking out files:  97% (16694/17210)   
Checking out files:  97% (16697/17210)   
Checking out files:  98% (16866/17210)   
Checking out files:  99% (17038/17210)   
Checking out files: 100% (17210/17210)   
Checking out files: 100% (17210/17210), done.
From https://github.com/webdetails/pentahoLanguagePacks
 * [new ref]         refs/pull/144/head -> pullRequest
java.lang.Exception: java.lang.RuntimeException: org.eclipse.egit.github.core.client.RequestException: Not Found (404)
    at org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl.orchestrate(OrchestratorImpl.java:387)
    at Proxy4950f66e_d83a_409d_a667_cdc6af9db6c1.orchestrate(Unknown Source)
    at org.pentaho.build.buddy.bundles.rest.OrchestratorRestService$1.write(OrchestratorRestService.java:62)
    at org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:172)
    at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1381)
    at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:244)
    at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.processResponse(JAXRSOutInterceptor.java:120)
    at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:83)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
    at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
    at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:253)
    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
    at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:273)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:499)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: org.eclipse.egit.github.core.client.RequestException: Not Found (404)
    at org.pentaho.build.buddy.bundles.source.github.GithubSourceRetriever.onStart(GithubSourceRetriever.java:215)
    at Proxy3c77a439_70dc_4ca1_bc2f_e0945af49fc6.onStart(Unknown Source)
    at org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl.orchestrate(OrchestratorImpl.java:358)
    ... 41 more
Caused by: org.eclipse.egit.github.core.client.RequestException: Not Found (404)
    at org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:552)
    at org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:643)
    at org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
    at org.pentaho.build.buddy.bundles.source.github.GithubCommitService$Delegate$1.post(GithubCommitService.java:50)
    at org.eclipse.egit.github.core.service.CommitService.createStatus(CommitService.java:426)
    at org.pentaho.build.buddy.bundles.source.github.GithubCommitService.createStatus(GithubCommitService.java:35)
    at org.pentaho.build.buddy.bundles.source.github.GithubSourceRetriever.onStart(GithubSourceRetriever.java:203)
    ... 43 more
wingman-pentaho commented 5 years ago

Build Failed

:x: Something went wrong while validating this pull request.

Build Commands

ant -Dtestreports.dir=bin/reports/unit-test -f build.xml clean-all resolve jacoco && ant -f build.xml checkstyle publish-local
Stdout log
(last 100 lines)
Config enriched: If no api token specified, use environment variable
Config enriched: If source control is github, set git binary path
Config enriched: Set the slackbot url
Config enriched: If github SourceControlType and null StatusUpdateType, use github
Config enriched: If github SourceControlType and StatusUpdaterType and null ApiToken, use the one from SourceRetriever
Config enriched: If github SourceControlType and StatusUpdaterType and null Organization, use the one from SourceRetriever
Config enriched: If github SourceControlType and StatusUpdaterType and null Repository, use the one from SourceRetriever
Config enriched: If github SourceControlType and StatusUpdaterType and null PullRequest, use the one from SourceRetriever
Config enriched: CheckstyleAnalyzer is enabled by default
Retrieving source with org.pentaho.build.buddy.bundles.source.github.SlackbotGithubSourceRetriever@23672cb7
VCS Commands:
clone: [git, clone, --depth=1, --branch, master, https://[GITHUB TOKEN]@github.com/webdetails/pentahoLanguagePacks.git, pentahoLanguagePacks-base-144-21e0c194-c465-4de8-8e28-d079b1e44557]
fetch: [git, fetch, --depth=3, origin, pull/144/head:pullRequest]
merge: [git, merge, --no-edit, --no-ff, -Xtheirs, -Xignore-space-change, pullRequest]
HEAD is now at 4a9ddf7 Change cyrillic letters to javascript escape characters. (#141)
Merge made by the 'recursive' strategy.
 .gitignore                                         |   10 +-
 build.properties                                   |    4 +-
 cpk.spring.xml                                     |   20 +-
 cpk.xml                                            |   69 +-
 endpoints/kettle/admin/_copy_and_encode.ktr        |  705 +++-
 .../kettle/admin/_copy_messages_properties.ktr     | 1525 +++++---
 .../kettle/admin/_copy_wildcard_properties.ktr     |  999 ++++--
 endpoints/kettle/admin/_create_jar.kjb             |  548 ++-
 endpoints/kettle/admin/_create_jar_old.kjb         |  527 ++-
 endpoints/kettle/admin/_get_jar_filename.ktr       |  553 ++-
 endpoints/kettle/admin/_install_language.ktr       | 3737 +++++++++++++-------
 endpoints/kettle/admin/_remove_language.ktr        | 1439 +++++---
 endpoints/kettle/admin/_zip.ktr                    |  726 +++-
 endpoints/kettle/admin/getpackmetadata.ktr         |  741 +++-
 endpoints/kettle/admin/installpack.kjb             |  945 +++--
 endpoints/kettle/admin/removepack.kjb              |  473 ++-
 market_entry.xml                                   |   22 +-
 plugin.spring.xml                                  |   25 +-
 plugin.xml                                         |   62 +-
 settings.xml                                       |    4 +-
 tools/bulk_rename.py                               |    7 +-
 tools/generate-language.sh                         |    7 +-
 tools/generate_language_bundle.py                  |    8 +-
 version.xml                                        |    2 +-
 24 files changed, 9467 insertions(+), 3691 deletions(-)
GithubSourceRetriever file list:
[modified]  .gitignore
[modified]  build.properties
[modified]  cpk.spring.xml
[modified]  cpk.xml
[modified]  endpoints/kettle/admin/_copy_and_encode.ktr
[modified]  endpoints/kettle/admin/_copy_messages_properties.ktr
[modified]  endpoints/kettle/admin/_copy_wildcard_properties.ktr
[modified]  endpoints/kettle/admin/_create_jar.kjb
[modified]  endpoints/kettle/admin/_create_jar_old.kjb
[modified]  endpoints/kettle/admin/_get_jar_filename.ktr
[modified]  endpoints/kettle/admin/_install_language.ktr
[modified]  endpoints/kettle/admin/_remove_language.ktr
[modified]  endpoints/kettle/admin/_zip.ktr
[modified]  endpoints/kettle/admin/getpackmetadata.ktr
[modified]  endpoints/kettle/admin/installpack.kjb
[modified]  endpoints/kettle/admin/removepack.kjb
[modified]  market_entry.xml
[modified]  plugin.spring.xml
[modified]  plugin.xml
[modified]  settings.xml
[modified]  tools/bulk_rename.py
[modified]  tools/generate-language.sh
[modified]  tools/generate_language_bundle.py
[modified]  version.xml
BuildToolDetector guessing ant project because build.xml exists in at the root or in the parent folder of a changed file: .gitignore

Stderr log

(last 100 lines)
Checking out files:  79% (13596/17210)   
Checking out files:  80% (13768/17210)   
Checking out files:  81% (13941/17210)   
Checking out files:  82% (14113/17210)   
Checking out files:  83% (14285/17210)   
Checking out files:  84% (14457/17210)   
Checking out files:  85% (14629/17210)   
Checking out files:  86% (14801/17210)   
Checking out files:  87% (14973/17210)   
Checking out files:  88% (15145/17210)   
Checking out files:  89% (15317/17210)   
Checking out files:  90% (15489/17210)   
Checking out files:  91% (15662/17210)   
Checking out files:  92% (15834/17210)   
Checking out files:  93% (16006/17210)   
Checking out files:  94% (16178/17210)   
Checking out files:  94% (16254/17210)   
Checking out files:  95% (16350/17210)   
Checking out files:  96% (16522/17210)   
Checking out files:  97% (16694/17210)   
Checking out files:  98% (16866/17210)   
Checking out files:  99% (17038/17210)   
Checking out files: 100% (17210/17210)   
Checking out files: 100% (17210/17210), done.
Checking out files:  31% (5398/17210)   
Checking out files:  32% (5508/17210)   
Checking out files:  33% (5680/17210)   
Checking out files:  34% (5852/17210)   
Checking out files:  35% (6024/17210)   
Checking out files:  36% (6196/17210)   
Checking out files:  37% (6368/17210)   
Checking out files:  38% (6540/17210)   
Checking out files:  39% (6712/17210)   
Checking out files:  40% (6884/17210)   
Checking out files:  41% (7057/17210)   
Checking out files:  42% (7229/17210)   
Checking out files:  43% (7401/17210)   
Checking out files:  44% (7573/17210)   
Checking out files:  45% (7745/17210)   
Checking out files:  46% (7917/17210)   
Checking out files:  47% (8089/17210)   
Checking out files:  48% (8261/17210)   
Checking out files:  49% (8433/17210)   
Checking out files:  50% (8605/17210)   
Checking out files:  51% (8778/17210)   
Checking out files:  52% (8950/17210)   
Checking out files:  53% (9122/17210)   
Checking out files:  54% (9294/17210)   
Checking out files:  55% (9466/17210)   
Checking out files:  56% (9638/17210)   
Checking out files:  57% (9810/17210)   
Checking out files:  58% (9982/17210)   
Checking out files:  59% (10154/17210)   
Checking out files:  60% (10326/17210)   
Checking out files:  61% (10499/17210)   
Checking out files:  62% (10671/17210)   
Checking out files:  63% (10843/17210)   
Checking out files:  64% (11015/17210)   
Checking out files:  65% (11187/17210)   
Checking out files:  66% (11359/17210)   
Checking out files:  67% (11531/17210)   
Checking out files:  67% (11538/17210)   
Checking out files:  68% (11703/17210)   
Checking out files:  69% (11875/17210)   
Checking out files:  70% (12047/17210)   
Checking out files:  71% (12220/17210)   
Checking out files:  72% (12392/17210)   
Checking out files:  73% (12564/17210)   
Checking out files:  74% (12736/17210)   
Checking out files:  75% (12908/17210)   
Checking out files:  76% (13080/17210)   
Checking out files:  77% (13252/17210)   
Checking out files:  78% (13424/17210)   
Checking out files:  79% (13596/17210)   
Checking out files:  80% (13768/17210)   
Checking out files:  81% (13941/17210)   
Checking out files:  82% (14113/17210)   
Checking out files:  83% (14285/17210)   
Checking out files:  84% (14457/17210)   
Checking out files:  85% (14629/17210)   
Checking out files:  86% (14801/17210)   
Checking out files:  87% (14973/17210)   
Checking out files:  88% (15145/17210)   
Checking out files:  89% (15317/17210)   
Checking out files:  90% (15489/17210)   
Checking out files:  91% (15662/17210)   
Checking out files:  92% (15834/17210)   
Checking out files:  93% (16006/17210)   
Checking out files:  94% (16178/17210)   
Checking out files:  95% (16350/17210)   
Checking out files:  96% (16522/17210)   
Checking out files:  97% (16694/17210)   
Checking out files:  98% (16866/17210)   
Checking out files:  98% (16965/17210)   
Checking out files:  99% (17038/17210)   
Checking out files: 100% (17210/17210)   
Checking out files: 100% (17210/17210), done.
From https://github.com/webdetails/pentahoLanguagePacks
 * [new ref]         refs/pull/144/head -> pullRequest
java.lang.Exception: java.lang.RuntimeException: org.eclipse.egit.github.core.client.RequestException: Not Found (404)
    at org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl.orchestrate(OrchestratorImpl.java:387)
    at Proxy4950f66e_d83a_409d_a667_cdc6af9db6c1.orchestrate(Unknown Source)
    at org.pentaho.build.buddy.bundles.rest.OrchestratorRestService$1.write(OrchestratorRestService.java:62)
    at org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:172)
    at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1381)
    at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:244)
    at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.processResponse(JAXRSOutInterceptor.java:120)
    at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:83)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
    at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
    at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:253)
    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
    at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:273)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:499)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: org.eclipse.egit.github.core.client.RequestException: Not Found (404)
    at org.pentaho.build.buddy.bundles.source.github.GithubSourceRetriever.onStart(GithubSourceRetriever.java:215)
    at Proxy3c77a439_70dc_4ca1_bc2f_e0945af49fc6.onStart(Unknown Source)
    at org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl.orchestrate(OrchestratorImpl.java:358)
    ... 41 more
Caused by: org.eclipse.egit.github.core.client.RequestException: Not Found (404)
    at org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:552)
    at org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:643)
    at org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
    at org.pentaho.build.buddy.bundles.source.github.GithubCommitService$Delegate$1.post(GithubCommitService.java:50)
    at org.eclipse.egit.github.core.service.CommitService.createStatus(CommitService.java:426)
    at org.pentaho.build.buddy.bundles.source.github.GithubCommitService.createStatus(GithubCommitService.java:35)
    at org.pentaho.build.buddy.bundles.source.github.GithubSourceRetriever.onStart(GithubSourceRetriever.java:203)
    ... 43 more