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]: security plugin failed the 1.2.0 OpenSearch build #1306

Closed
tianleh opened this issue Dec 11, 2021 · 1 comment
Closed

[Bug]: security plugin failed the 1.2.0 OpenSearch build #1306

tianleh opened this issue Dec 11, 2021 · 1 comment
Labels
bug Something isn't working untriaged Issues that have not yet been triaged

Comments

@tianleh
Copy link
Member

tianleh commented Dec 11, 2021

Describe the bug

./build.sh manifests/1.2.0/opensearch-1.2.0.yml

It failed at this step

2021-12-11 11:54:01 INFO     Recording plugins artifact for security: plugins/opensearch-security-1.2.1.0.zip (from /tmp/tmp1uh75bfd/security/builds/plugins/opensearch-security-1.2.1.0.zip)
2021-12-11 11:54:01 ERROR    Error building security, retry with: ./build.sh manifests/1.2.0/opensearch-1.2.0.yml --component security
Traceback (most recent call last):
  File "./src/run_build.py", line 78, in <module>
    sys.exit(main())
  File "./src/run_build.py", line 67, in main
    builder.export_artifacts(build_recorder)
  File "/usr/share/opensearch/workspace/opensearch-build/src/build_workflow/builder_from_source.py", line 59, in export_artifacts
    build_recorder.record_artifact(self.component.name, artifact_type, relative_path, absolute_path)
  File "/usr/share/opensearch/workspace/opensearch-build/src/build_workflow/build_recorder.py", line 37, in record_artifact
    BuildArtifactChecks.check(self.target, artifact_type, artifact_file)
  File "/usr/share/opensearch/workspace/opensearch-build/src/build_workflow/build_artifact_checks.py", line 39, in check
    instance.check(path)
  File "/usr/share/opensearch/workspace/opensearch-build/src/build_workflow/opensearch/build_artifact_check_plugin.py", line 20, in check
    raise BuildArtifactCheck.BuildArtifactInvalidError(path, f"Expected filename to include one of {self.target.compatible_component_versions}.")
build_workflow.build_artifact_check.BuildArtifactInvalidError: Artifact opensearch-security-1.2.1.0.zip is invalid. Expected filename to include one of ['1.2.0.0'].

To reproduce

./build.sh manifests/1.2.0/opensearch-1.2.0.yml

Expected behavior

No response

Screenshots

If applicable, add screenshots to help explain your problem.

Host / Environment

No response

Additional context

No response

Relevant log output

No response

@tianleh tianleh added bug Something isn't working untriaged Issues that have not yet been triaged labels Dec 11, 2021
@tianleh
Copy link
Member Author

tianleh commented Dec 11, 2021

Error is gone after building with this #1307

@tianleh tianleh closed this as completed Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Issues that have not yet been triaged
Projects
None yet
Development

No branches or pull requests

1 participant