Skip to content

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

@peterzhuamazon

Description

@peterzhuamazon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv2.3.1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions