opendevstack / opendevstack/ods-provisioning-app
Could not find com.atlassian.platform:platform:3.5.2
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14
- Forks
- 20
- Avg merge
- 3h 35m
- Merged PRs (30d)
- 1
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with ./gradlew clean build --stacktrace --no-daemon and inspect the provisioning app's Gradle dependency configuration for the missing Atlassian artifacts. The issue is done when the provisioning app compiles successfully and the reported dependency-resolution failure no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100