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

[AUTOCUT] Distribution Build Failed for security-2.10.0 #3181

Closed
opensearch-ci-bot opened this issue Aug 15, 2023 · 2 comments
Closed

[AUTOCUT] Distribution Build Failed for security-2.10.0 #3181

opensearch-ci-bot opened this issue Aug 15, 2023 · 2 comments
Assignees
Labels
autocut untriaged Require the attention of the repository maintainers and may need to be prioritized v2.10.0 Issues targeting release v2.10.0

Comments

@opensearch-ci-bot
Copy link
Collaborator

Received Error: Error building security, retry with: ./build.sh manifests/2.10.0/opensearch-2.10.0.yml --component security.
The distribution build for security has failed for version: 2.10.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/8254/consoleFull

@opensearch-ci-bot opensearch-ci-bot added autocut v2.10.0 Issues targeting release v2.10.0 untriaged Require the attention of the repository maintainers and may need to be prioritized labels Aug 15, 2023
@peternied
Copy link
Member

Related to the action listener refactor, pull request is in progress [1], below is the error output from the build failure:

2023-08-15 18:19:36 ERROR    Error building security, retry with: ./build.sh manifests/2.10.0/opensearch-2.10.0.yml --component security
2023-08-15 18:19:36 INFO     Removing /tmp/tmpmu3x4i6v
Traceback (most recent call last):
  File "/var/jenkins/workspace/distribution-build-opensearch@2/./src/run_build.py", line 88, in <module>
    sys.exit(main())
  File "/var/jenkins/workspace/distribution-build-opensearch@2/./src/run_build.py", line 69, in main
    builder.build(build_recorder)
  File "/var/jenkins/workspace/distribution-build-opensearch@2/src/build_workflow/builder_from_source.py", line 56, in build
    self.git_repo.execute(build_command)
  File "/var/jenkins/workspace/distribution-build-opensearch@2/src/git/git_repository.py", line 85, in execute
    subprocess.check_call(command, cwd=cwd, shell=True)
  File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'bash /tmp/tmpmu3x4i6v/security/scripts/build.sh -v 2.10.0 -p linux -a arm64 -s false -o builds' returned non-zero exit status 1.
[Pipeline] }
[Pipeline] // script
Post stage
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is disabled by the job configuration...
[WS-CLEANUP] done
[Pipeline] }
$ docker stop --time=1 4d299c024cc49bc8755da1ee17e271209f877142b18ec8e7aabd7f8af297edb3

> Task :compileJava
/tmp/tmp2loxp7fh/security/src/main/java/org/opensearch/security/dlic/rest/api/AbstractApiAction.java:26: error: cannot find symbol
import org.opensearch.action.ActionListener;
                            ^
  symbol:   class ActionListener
  location: package org.opensearch.action
/tmp/tmp2loxp7fh/security/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java:69: error: cannot find symbol
import org.opensearch.action.ActionResponse;

@peternied peternied self-assigned this Aug 15, 2023
@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for security has passed for version: 2.10.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/8256/consoleFull

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut untriaged Require the attention of the repository maintainers and may need to be prioritized v2.10.0 Issues targeting release v2.10.0
Projects
None yet
Development

No branches or pull requests

2 participants