opendevstack / ods-provisioning-app

Provisioning app, which triggers project and component provisions (including Jira / Confluence / BitBucket and OCP resource creation)
Apache License 2.0
15 stars 20 forks source link

ODS AMI E2E quickstarter prov app fails due to no nexus equal false #730

Closed stitakis closed 2 years ago

stitakis commented 2 years ago

This is affecting branches master and 4.x

logs:

[2022-03-08T22:31:42.918Z]     amazon-ebs: === CONT  TestQuickstarter/ods-provisioning-app
[2022-03-08T22:31:42.918Z]     amazon-ebs: Run step opendevstack/ods-core#1 (provision) of quickstarter ods-quickstarters/ods-provisioning-app ...
[2022-03-08T22:31:43.174Z]     amazon-ebs: -- starting cleanup for component: provapp
[2022-03-08T22:31:43.174Z]     amazon-ebs: -- delete resources labelled with: app=unitt-provapp
[2022-03-08T22:31:43.430Z]     amazon-ebs: -- cleaned up resources with label: app=unitt-provapp
[2022-03-08T22:31:43.430Z]     amazon-ebs: -- starting build for: ods-provisioning-app/Jenkinsfile in project: opendevstack
....
[2022-03-08T22:34:46.060Z]     amazon-ebs: + ./gradlew clean build --stacktrace --no-daemon
[2022-03-08T22:34:46.060Z]     amazon-ebs: Picked up JAVA_TOOL_OPTIONS: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true
[2022-03-08T22:34:46.060Z]     amazon-ebs: Downloading https://services.gradle.org/distributions/gradle-6.7.1-bin.zip
[2022-03-08T22:34:46.060Z]     amazon-ebs:  > git rev-parse --verify HEAD # timeout=10
[2022-03-08T22:34:46.060Z]     amazon-ebs: Resetting working tree
[2022-03-08T22:34:46.060Z]     amazon-ebs:  > git reset --hard # timeout=10
[2022-03-08T22:34:46.060Z]     amazon-ebs:  > git clean -fdx # timeout=10
[2022-03-08T22:34:46.060Z]     amazon-ebs: .........10%..........20%..........30%..........40%..........50%.........60%..........70%..........80%..........90%..........100%
[2022-03-08T22:34:46.060Z]     amazon-ebs:
[2022-03-08T22:34:46.060Z]     amazon-ebs: Welcome to Gradle 6.7.1!
[2022-03-08T22:34:46.060Z]     amazon-ebs:
[2022-03-08T22:34:46.060Z]     amazon-ebs: Here are the highlights of this release:
[2022-03-08T22:34:46.060Z]     amazon-ebs:  - File system watching is ready for production use
[2022-03-08T22:34:46.060Z]     amazon-ebs:  - Declare the version of Java your build requires
[2022-03-08T22:34:46.060Z]     amazon-ebs:  - Java 15 support
[2022-03-08T22:34:46.060Z]     amazon-ebs:
[2022-03-08T22:34:46.060Z]     amazon-ebs: For more details see https://docs.gradle.org/6.7.1/release-notes.html
[2022-03-08T22:34:46.060Z]     amazon-ebs:
[2022-03-08T22:34:46.060Z]     amazon-ebs: WARNING: An illegal reflective access operation has occurred
[2022-03-08T22:34:46.060Z]     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()
[2022-03-08T22:34:46.060Z]     amazon-ebs: WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
[2022-03-08T22:34:46.060Z]     amazon-ebs: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[2022-03-08T22:34:46.060Z]     amazon-ebs: WARNING: All illegal access operations will be denied in a future release
[2022-03-08T22:34:46.060Z]     amazon-ebs:
[2022-03-08T22:34:46.060Z]     amazon-ebs: FAILURE: Build failed with an exception.
[2022-03-08T22:34:46.060Z]     amazon-ebs:
[2022-03-08T22:34:46.060Z]     amazon-ebs: * Where:
[2022-03-08T22:34:46.060Z]     amazon-ebs: Build file '/tmp/workspace/unitt-cd/unitt-cd-run-unitt-provapp-unitt-master/build.gradle' line: 9
[2022-03-08T22:34:46.060Z]     amazon-ebs:
[2022-03-08T22:34:46.060Z]     amazon-ebs: * What went wrong:
[2022-03-08T22:34:46.060Z]     amazon-ebs: A problem occurred evaluating root project 'unitt-cd-run-unitt-provapp-unitt-master'.
[2022-03-08T22:34:46.060Z]     amazon-ebs: > property 'no_nexus' is set to false, but neither 'nexus_url', 'nexus_user' nor 'nexus_pw' is configured. You can do so by e.g. creating a gradle.properties file in your 'GRADLE_USER_HOME' (by default '~/.gradle') folder and setting the nexus properties there.
[2022-03-08T22:34:46.060Z]     amazon-ebs:
[2022-03-08T22:34:46.060Z]     amazon-ebs: * Try:
[2022-03-08T22:34:46.060Z]     amazon-ebs: Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[2022-03-08T22:34:46.060Z]     amazon-ebs:
[2022-03-08T22:34:46.060Z]     amazon-ebs: * Exception is:
[2022-03-08T22:34:46.060Z]     amazon-ebs: org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'unitt-cd-run-unitt-provapp-unitt-master'.
[2022-03-08T22:34:46.060Z]     amazon-ebs:   at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
[2022-03-08T22:34:46.060Z]     amazon-ebs:   at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:111)
[2022-03-08T22:34:46.060Z]     amazon-ebs:   at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)