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] OS distribution 2.3.1 failed to build on SQL #1148

Closed
peterzhuamazon opened this issue Dec 7, 2022 · 0 comments · Fixed by #1150
Closed

[BUG] OS distribution 2.3.1 failed to build on SQL #1148

peterzhuamazon opened this issue Dec 7, 2022 · 0 comments · Fixed by #1150
Labels
bug Something isn't working v2.3.1

Comments

@peterzhuamazon
Copy link
Member

https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch/detail/distribution-build-opensearch/6625/pipeline/111

> Task :opensearch-sql-plugin:bundlePlugin FAILED


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':opensearch-sql-plugin:bundlePlugin'.

> Could not resolve all dependencies for configuration ':opensearch-sql-plugin:runtimeClasspath'.

   > Conflict(s) found for the following module(s):

       - com.fasterxml.jackson.dataformat:jackson-dataformat-smile between versions 2.14.0 and 2.13.4

       - com.fasterxml.jackson.dataformat:jackson-dataformat-yaml between versions 2.14.0 and 2.13.4

     Run with:

         --scan or

         :opensearch-sql-plugin:dependencyInsight --configuration runtimeClasspath --dependency com.fasterxml.jackson.dataformat:jackson-dataformat-smile

     to get more insight on how to solve the conflict.


* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.


* Get more help at https://help.gradle.org/


Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.


You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.


See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings


Execution optimizations have been disabled for 3 invalid unit(s) of work during this build to ensure correctness.

Please consult deprecation warnings for more details.


BUILD FAILED in 1m 21s

41 actionable tasks: 41 executed

2022-12-05 22:12:31 ERROR    Error building sql, retry with: ./build.sh manifests/2.3.1/opensearch-2.3.1.yml --component sql

2022-12-05 22:12:31 INFO     Removing /tmp/tmph7pm5o3m

Traceback (most recent call last):

  File "./src/run_build.py", line 81, in <module>

    sys.exit(main())

  File "./src/run_build.py", line 68, in main

    builder.build(build_recorder)

  File "/var/jenkins/workspace/distribution-build-opensearch@4/src/build_workflow/builder_from_source.py", line 56, in build

    self.git_repo.execute(build_command)

  File "/var/jenkins/workspace/distribution-build-opensearch@4/src/git/git_repository.py", line 85, in execute

    subprocess.check_call(command, cwd=cwd, shell=True)

  File "/usr/local/lib/python3.7/subprocess.py", line 363, in check_call

    raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command 'bash /tmp/tmph7pm5o3m/sql/scripts/build.sh -v 2.3.1 -p linux -a x64 -s false -o builds' returned non-zero exit status 1.

script returned exit code 1

Thanks.

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

Successfully merging a pull request may close this issue.

1 participant