Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [kbn/optimizer] disable parallelization in terser plugin (#58396) #58421

Merged
merged 2 commits into from
Feb 25, 2020

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Feb 25, 2020

Backports the following commits to 7.x:

* [kbn/optimizer] disable parallelization in terer plugin

* use more workers when building the dist
@spalger
Copy link
Contributor Author

spalger commented Feb 25, 2020

@elasticmachine merge upstream

@spalger spalger merged commit ce10569 into elastic:7.x Feb 25, 2020
@spalger spalger deleted the backport/7.x/pr-58396 branch February 25, 2020 01:50
@kibanamachine
Copy link
Contributor

💔 Build Failed


Test Failures

Kibana Pipeline / x-pack-intake-agent / X-Pack Jest Tests.x-pack/plugins/remote_clusters/__jest__/client_integration. when there are no remote clusters should have a button to create a remote cluster

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches


Stack Trace

Error: expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false
    at Object.test (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/x-pack/plugins/remote_clusters/__jest__/client_integration/remote_clusters_list.test.js:67:62)
    at Object.asyncJestTest (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:102:37)
    at resolve (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:43:12)
    at new Promise (<anonymous>)
    at mapper (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:26:19)
    at promise.then (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:73:41)

Kibana Pipeline / kibana-intake-agent / Jest Tests.src/dev/i18n.dev/i18n/extract_default_translations extracts messages from path to map

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 16 times on tracked branches: https://github.com/elastic/kibana/issues/58301


Stack Trace

Error: expect(received).toBe(expected) // Object.is equality

Expected: "/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/packages/kbn-optimizer/target/.bootstrap-cache"
Received: "/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_1/test_file_4.html"
    at jest.requireMock.readFile.mockImplementation (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/packages/kbn-optimizer/src/optimizer/cache_keys.test.ts:60:20)
    at finalReturnValue (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-mock/build/index.js:480:41)
    at /var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-mock/build/index.js:489:13
    at mockConstructor (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-mock/build/index.js:182:19)
    at Promise (internal/util.js:274:30)
    at new Promise (<anonymous>)
    at mockConstructor (internal/util.js:273:12)
    at map (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/src/dev/i18n/extract_default_translations.js:113:28)
    at Array.map (<anonymous>)
    at map (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/src/dev/i18n/extract_default_translations.js:110:48)
    at Array.map (<anonymous>)
    at extractMessagesFromPathToMap (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/src/dev/i18n/extract_default_translations.js:108:24)

Kibana Pipeline / kibana-intake-agent / Jest Tests.src/dev/i18n.dev/i18n/extract_default_translations throws on id collision

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 16 times on tracked branches: https://github.com/elastic/kibana/issues/58302


Stack Trace

Error: expect(received).resolves.not.toThrow()

Received promise rejected instead of resolved
Rejected to value: [Error: expect(received).toBe(expected) // Object.is equality·
Expected: "/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/packages/kbn-optimizer/target/.bootstrap-cache"
Received: "/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/src/dev/i18n/__fixtures__/extract_default_translations/test_plugin_3/test_file.jsx"]
    at expect (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/expect/build/index.js:138:15)
    at Object.test (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/src/dev/i18n/extract_default_translations.test.js:61:11)
    at Object.asyncJestTest (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:102:37)
    at resolve (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:43:12)
    at new Promise (<anonymous>)
    at mapper (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:26:19)
    at promise.then (/var/lib/jenkins/workspace/elastic+kibana+pipeline-pull-request/kibana/node_modules/jest-jasmine2/build/queueRunner.js:73:41)

and 3 more failures, only showing the first 3.

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants