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

[BUG] Performance test fail for OpenSearch core #3628

Closed
kotwanikunal opened this issue Jun 17, 2022 · 3 comments
Closed

[BUG] Performance test fail for OpenSearch core #3628

kotwanikunal opened this issue Jun 17, 2022 · 3 comments
Assignees
Labels
benchmarking Issues related to benchmarking or performance. bug Something isn't working

Comments

@kotwanikunal
Copy link
Member

Describe the bug
Performance test for OpenSearch core are failing with the exception

SyntaxError: Unexpected token ?\n'
b'    at Module._compile (internal/modules/cjs/loader.js:723:23)\n'
b'    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)\n'
b'    at Module.load (internal/modules/cjs/loader.js:653:32)\n'
b'    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)\n'
b'    at Function.Module._load (internal/modules/cjs/loader.js:585:3)\n'
b'    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)\n'
b'    at startup (internal/bootstrap/node.js:283:19)\n'
b'    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)\n'

To Reproduce
Steps to reproduce the behavior: Start the execution of any performance test

Expected behavior
Performance test completes successfully and returns the results

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@kotwanikunal kotwanikunal added bug Something isn't working untriaged labels Jun 17, 2022
@kotwanikunal kotwanikunal self-assigned this Jun 17, 2022
@kotwanikunal
Copy link
Member Author

The root cause for the failure seems to be a combination of the environment and dependencies.
Infrastructure setup is done using the latest aws-cdk which is running on a node 10 environment. This configuration is causing failures similar to the ones mentioned here and here.

One of the solutions is to upgrade to node 16. With the current setup of the existing agent image we are restricted with an older node version.

Upgrading to a newer node version will help resolve this issue

@kotwanikunal
Copy link
Member Author

Submitted a request for an image with node 16 support - opensearch-project/opensearch-build#2211

@kotwanikunal
Copy link
Member Author

Fix was merged in - opensearch-project/opensearch-build#2225
Performance tests for core running as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarking Issues related to benchmarking or performance. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant