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] Gradle configure registers destructiveDistroTest.docker task twice #1640

Closed
saratvemulapalli opened this issue Dec 1, 2021 · 7 comments · Fixed by #6930
Closed

[BUG] Gradle configure registers destructiveDistroTest.docker task twice #1640

saratvemulapalli opened this issue Dec 1, 2021 · 7 comments · Fixed by #6930
Assignees
Labels
bug Something isn't working Build Libraries & Interfaces good first issue Good for newcomers hacktoberfest Global event that encourages people to contribute to open-source. Priority-Low

Comments

@saratvemulapalli
Copy link
Member

Describe the bug
Gradle scripts are configuring destructiveDistroTest.docker task twice and we see warning with run.

> Configure project :qa:os
Cannot add task 'destructiveDistroTest.docker' as a task with that name already exists.
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 7.3
  OS Info               : Mac OS X 10.16 (x86_64)
  JDK Version           : 14 (Oracle JDK)
  JAVA_HOME             : /Library/Java/JavaVirtualMachines/jdk-14.0.2.jdk/Contents/Home
  Random Testing Seed   : E282A63209C90F93
  In FIPS 140 mode      : false
=======================================

To Reproduce
Steps to reproduce the behavior:

  1. Checkout OpenSearch
  2. Run ./gradlew spotlessJavaCheck

Expected behavior
destructiveDistroTest.docker should be configured once.

@saratvemulapalli saratvemulapalli added bug Something isn't working good first issue Good for newcomers untriaged labels Dec 1, 2021
@reta
Copy link
Collaborator

reta commented Dec 2, 2021

Interesting, seems to be an old / known issue:

https://github.com/opensearch-project/OpenSearch/blob/main/buildSrc/src/main/java/org/opensearch/gradle/test/DistroTestPlugin.java#L121

@CEHENKLE CEHENKLE removed the untriaged label Dec 6, 2021
@reta
Copy link
Collaborator

reta commented May 20, 2022

@MaxKsyunz would you like to submit a pull request? thank you!

@MaxKsyunz
Copy link

@reta thanks for interest! My change got me past the error but I didn't think it was PR-worthy -- it doesn't address the root cause.

MaxKsyunz pushed a commit to MaxKsyunz/OpenSearch that referenced this issue Jun 28, 2022
@owaiskazi19 owaiskazi19 added the hacktoberfest Global event that encourages people to contribute to open-source. label Oct 5, 2022
@techrajdeep
Copy link

I am looking for an issue for my first contribution . Can you help me here. Can I take on this .

@reta
Copy link
Collaborator

reta commented Oct 9, 2022

I am looking for an issue for my first contribution . Can you help me here. Can I take on this .

@techrajdeep sure, your help would be much appreciated, what kind of help on this issue do you need?

@techrajdeep
Copy link

@reta Is this issue still available. If available , could you please assign it to me.

@minalsha
Copy link
Contributor

@techrajdeep, could you please let us know if you need any help? Could you please share the progress on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Build Libraries & Interfaces good first issue Good for newcomers hacktoberfest Global event that encourages people to contribute to open-source. Priority-Low
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants