opensearch-project / security-dashboards-plugin

🔐 Manage your internal users, roles, access control, and audit logs from OpenSearch Dashboards
https://opensearch.org/docs/latest/security-plugin/index/
Apache License 2.0
71 stars 162 forks source link

[BUG] Discover binary issues #2118

Closed derek-ho closed 1 month ago

derek-ho commented 3 months ago

Describe the bug

Error: Cannot find module './mocks'
Require stack:
- /home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/src/core/server/config/index.js
- /home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/src/core/server/plugins/discovery/plugin_manifest_parser.js
- /home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/src/core/server/plugins/discovery/index.js
- /home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/src/core/server/plugins/plugins_service.js
- /home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/src/core/server/plugins/index.js
- /home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/src/core/server/index.js
- /home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/src/cli/serve/serve.js
- /home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/src/cli/cli.js
- /home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/src/cli/dist.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Module.Hook._require.Module.require (/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/node_modules/require-in-the-middle/index.js:61:29)
    at require (node:internal/modules/helpers:[17](https://github.com/opensearch-project/security-dashboards-plugin/actions/runs/10617352631/job/29429956440?pr=2108#step:8:18)7:18)
    at Object.<anonymous> (/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/src/core/server/config/index.js:156:14)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1[19](https://github.com/opensearch-project/security-dashboards-plugin/actions/runs/10617352631/job/29429956440?pr=2108#step:8:20)7:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at Module.Hook._require.Module.require (/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/opensearch-dashboards-3.0.0-linux-x64/node_modules/require-in-the-middle/index.js:80:39)

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

OpenSearch Version Please list the version of OpenSearch being used.

Dashboards Version Please list the version of OpenSearch Dashboards being used.

Plugins

Please list all plugins currently enabled.

Screenshots

If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

Additional context

Add any other context about the problem here.

derek-ho commented 3 months ago

@BionIT Can you help me find the correct owner for this?

CCongWang commented 2 months ago

looks like it failed due to security-dashboards-plugin, @opensearch-project/plugins could you please help transfer to the right repo?

dblock commented 2 months ago

[Catch All Triage - 1, 2, 3, 4, 5]

derek-ho commented 1 month ago

seems like this issue was resolved eventually, closing it out since CIs are green