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

Could not find com.atlassian.platform:platform:3.5.2 #738

Open
victorpablosceruelo opened this issue Jun 22, 2022 · 1 comment
Open

Could not find com.atlassian.platform:platform:3.5.2 #738

victorpablosceruelo opened this issue Jun 22, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@victorpablosceruelo
Copy link
Contributor

victorpablosceruelo commented Jun 22, 2022

Describe the bug
Compilation of provisioning app returns
Could not find com.atlassian.platform:platform:3.5.2

To Reproduce
Steps to reproduce the behavior:
Try to build odsBox using Jenkins pipeline.

Expected behavior
Provisioning app gets compiled.

Screenshots
N/A

Affected version (please complete the following information):

  • OpenDevStack [4.x, master]

Log Output (ensure to remove any confidential information like tokens, project names, etc.

[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: + ./gradlew clean build --stacktrace --no-daemon�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: Picked up JAVA_TOOL_OPTIONS: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: Downloading https://services.gradle.org/distributions/gradle-6.7.1-bin.zip�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: .........10%..........20%..........30%..........40%..........50%.........60%..........70%..........80%..........90%..........100%�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: Welcome to Gradle 6.7.1!�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: Here are the highlights of this release:�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:  - File system watching is ready for production use�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:  - Declare the version of Java your build requires�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:  - Java 15 support�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: For more details see https://docs.gradle.org/6.7.1/release-notes.html�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: WARNING: An illegal reflective access operation has occurred�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/home/jenkins/.gradle/wrapper/dists/gradle-6.7.1-bin/bwlcbys1h7rz3272sye1xwiv6/gradle-6.7.1/lib/groovy-all-1.3-2.5.12.jar) to method java.lang.Object.finalize()�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: WARNING: All illegal access operations will be denied in a future release�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: > Task :clean�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: > Task :compileJava FAILED�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: FAILURE: Build failed with an exception.�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: * What went wrong:�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: Execution failed for task ':compileJava'.�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs: > Could not resolve all files for configuration ':compileClasspath'.�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:    > Could not resolve com.atlassian.security:atlassian-cookie-tools:3.2.14.�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:      Required by:�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:          project :�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:       > Could not resolve com.atlassian.security:atlassian-cookie-tools:3.2.14.�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:          > Could not parse POM https://nexus-ods.ocp.odsbox.lan/repository/atlassian_public/com/atlassian/security/atlassian-cookie-tools/3.2.14/atlassian-cookie-tools-3.2.14.pom�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:             > Could not resolve com.atlassian.security:atlassian-security:3.2.14.�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:                > Could not resolve com.atlassian.security:atlassian-security:3.2.14.�[0m
[2022-06-21T21:28:20.196Z] �[0;32m    amazon-ebs:                   > Could not parse POM https://nexus-ods.ocp.odsbox.lan/repository/atlassian_public/com/atlassian/security/atlassian-security/3.2.14/atlassian-security-3.2.14.pom�[0m
[2022-06-21T21:28:20.197Z] �[0;32m    amazon-ebs:                      > Could not find com.atlassian.platform:platform:3.5.2.�[0m
[2022-06-21T21:28:20.197Z] �[0;32m    amazon-ebs:    > Could not find com.atlassian.crowd:crowd-integration-springsecurity:1000.82.0.�[0m
[2022-06-21T21:28:20.197Z] �[0;32m    amazon-ebs:      Required by:�[0m
[2022-06-21T21:28:20.197Z] �[0;32m    amazon-ebs:          project :�[0m
[2022-06-21T21:28:20.197Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.197Z] �[0;32m    amazon-ebs: * Try:�[0m
[2022-06-21T21:28:20.197Z] �[0;32m    amazon-ebs: Run with --info or --debug option to get more log output. Run with --scan to get full insights.�[0m
[2022-06-21T21:28:20.197Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.197Z] �[0;32m    amazon-ebs: * Exception is:�[0m
[2022-06-21T21:28:20.197Z] �[0;32m    amazon-ebs: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileJava'.�[0m

....

[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.atlassian.platform:platform:3.5.2.�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: Cause 2: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.atlassian.crowd:crowd-integration-springsecurity:1000.82.0.�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: Required by:�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs:     project :�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: * Get more help at https://help.gradle.org�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs:�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: BUILD FAILED in 1m 34s�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: 2 actionable tasks: 2 executed�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] error�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] }�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] // withEnv�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] }�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] // stage�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] }�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] // wrap�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] stage�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] { (odsPipeline error)�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] echo�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: WARN: [provapp] ***** Finished ODS Pipeline for provapp (with error) ***** (took 129622 ms)�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] echo�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: WARN: Error: hudson.AbortException: Build failed!�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] withCredentials�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: Masking supported pattern matches of $USERNAME or $TOKEN�[0m
[2022-06-21T21:28:20.231Z] �[0;32m    amazon-ebs: [Pipeline] {�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] sh�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: WARNING: Unknown parameter(s) found for class type 'org.jenkinsci.plugins.workflow.steps.durable_task.ShellStep': label�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: + curl --fail -sS --request POST --header 'Authorization: Bearer ****' --header 'Content-Type: application/json' --data '{"state":"FAILED","key":"e11192f4","name":"e11192f4","url":"https://jenkins-unitt-cd.ocp.odsbox.lan/job/unitt-cd/job/unitt-cd-run-unitt-provapp-unitt-experimental/1/"}' http://bitbucket.odsbox.lan:7990/rest/build-status/1.0/commits/e11192f427a57c0732b2b2c5c9192f07f071b901�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] }�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] // withCredentials�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] emailext�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: An attempt to send an e-mail to empty list of recipients, ignored.�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] }�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] // stage�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] echo�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: Collecting test results, if available ...�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] fileExists�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] sh�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: WARNING: Unknown parameter(s) found for class type 'org.jenkinsci.plugins.workflow.steps.durable_task.ShellStep': label�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: + mkdir -p build/test-results/test�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] dir�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: Running in /tmp/workspace/unitt-cd/unitt-cd-run-unitt-provapp-unitt-experimental/build/test-results/test�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] {�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] findFiles�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] }�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] // dir�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] echo�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: No xUnit results for stashing�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] }�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] // node�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] }�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] // podTemplate�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [Pipeline] End of Pipeline�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: ERROR: Build failed!�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: Finished: FAILURE�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: build pipeline run for provapp returned:�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs: [�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs:   {�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs:     "stage": "odsPipeline start",�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs:     "status": "SUCCESS"�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs:   },�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs:   {�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs:     "stage": "Build and Unit Test",�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs:     "status": "FAILED"�[0m
[2022-06-21T21:28:20.232Z] �[0;32m    amazon-ebs:   },�[0m
[2022-06-21T21:28:20.233Z] �[0;32m    amazon-ebs:   {�[0m
[2022-06-21T21:28:20.233Z] �[0;32m    amazon-ebs:     "stage": "odsPipeline error",�[0m
[2022-06-21T21:28:20.233Z] �[0;32m    amazon-ebs:     "status": "FAILED"�[0m
[2022-06-21T21:28:20.233Z] �[0;32m    amazon-ebs:   }�[0m
[2022-06-21T21:28:20.233Z] �[0;32m    amazon-ebs: ]�[0m

The whole log:
jenkins-build-log.txt

Additional context
Could not find com.atlassian.platform:platform:3.5.2
https://community.atlassian.com/t5/Jira-questions/Could-not-find-com-atlassian-platform-platform-3-5-2/qaq-p/1843477

@victorpablosceruelo victorpablosceruelo added the bug Something isn't working label Jun 22, 2022
@victorpablosceruelo
Copy link
Contributor Author

* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not resolve com.atlassian.security:atlassian-cookie-tools:3.2.14.
     Required by:
         project :
      > Could not resolve com.atlassian.security:atlassian-cookie-tools:3.2.14.
         > Could not parse POM 
             [https://nexus-ods.ocp.odsbox.lan/repository/atlassian_public/com/atlassian/security/atlassian-cookie-tools/3.2.14/atlassian-cookie-tools-3.2.14.pom]
             (https://nexus-ods.ocp.odsbox.lan/repository/atlassian_pty/atlassian-cookie-tools/3.2.14/atlassian-cookie-tools-3.2.14.pom%1B[0m)
            > Could not resolve com.atlassian.security:atlassian-security:3.2.14.
               > Could not resolve com.atlassian.security:atlassian-security:3.2.14.
                  > Could not parse POM 
                      [https://nexus-ods.ocp.odsbox.lan/repository/atlassian_public/com/atlassian/security/atlassian-security/3.2.14/atlassian-security-3.2.14.pom]
                      (https://nexus-ods.ocp.odsbox.lan/repository/atlassian_ity/atlassian-security/3.2.14/atlassian-security-3.2.14.pom%1B[0m)
                     > Could not find com.atlassian.platform:platform:3.5.2.
   > Could not find com.atlassian.crowd:crowd-integration-springsecurity:1000.82.0.
     Required by:
         project :
* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.

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

No branches or pull requests

1 participant