Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Support ticket for this request: IT-27489 [Linux Foundation] [Public]

Table of Contents

References

...

...

Key-Level Comparison CPS and NCMP-DMI-Plugin from CI Management

Project.name (CPS)

The following outlines the module names and their structure as they existed in the point of origin (CPS Repository).

...

Project.name (NCMP-DMI-Plugin)

Key

Value in cps.yaml

Value in cps-ncmp-dmi-plugin.yaml

cps-java17

cps-ncmp-dmi-plugin-java17

mvn-snapshot-id

Neither key nor value is available

"ecomp-snapshots"

cps-java17

cps-ncmp-dmi-plugin-java17

nexus-snapshot-repo

Neither key nor value is available

"snapshots"

cps-sonar

cps-ncmp-dmi-plugin-sonar

cron

@daily

Not present

Origin Project Structure (CPS)

The following outlines the module names and their structure as they existed in the point of origin (CPS Repository).

CPS Version at the time: 3.5.2-SNAPSHOT

...

Code Block
(root: ncmp-dmi-plugin)
├── src/main/java/org/onap/cps/ncmp/dmi/
│   └── ...
└── pom.xml

Last Successful Merge Job Log:
cps-ncmp-dmi-plugin-maven-merge-master #1333 Console (Jenkins)

...

Outcome:
After this change, the merge job began failing.

Logs for Failure:
Console Log for cps-ncmp-dmi-plugin-maven-merge-master #1334(Jenkins)

...

DMI Version: 1.6.0-SNAPSHOT

Current Status:
The merge job is still failing.

Code Block
languagehtml
(root: ncmp-dmi-plugin)
├── dmi-service/
│   ├── src/main/java/org/onap/cps/ncmp/dmi/
│   │   └── ...
│   └── pom.xml
├── dmi-plugin-demo-and-csit-stub/
│   ├── dmi-plugin-demo-and-csit-stub-app/
│   │   ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│   │   │   └── ...
│   │   └── pom.xml
│   ├── dmi-plugin-demo-and-csit-stub-service/
│   │   ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│   │   │   └── ...
│	│	└── pom.xml
│   └── pom.xml
└── pom.xml

...

DMI Version: 1.6.0-SNAPSHOT

Current Status:
The merge job is still failing.

Code Block
languagehtml
(root: ncmp-dmi-plugin)
├── dmi-service/
│   ├── src/main/java/org/onap/cps/ncmp/dmi/
│   │   └── ...
│   └── pom.xml
├── dmi-stub/
│   ├── dmi-stub-app/
│   │   ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│   │   │   └── ...     
│   │   └── pom.xml
│   ├── dmi-stub-service/
│   │   ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│   │   │   └── ...
│	│	└── pom.xml
│   └── pom.xml
└── pom.xml

...

DMI Version: 1.6.0-SNAPSHOT

Current Status:
The merge job is still failing.

Code Block
languagehtml
(root: ncmp-dmi-plugin)
├── dmi-service/
│   ├── src/main/java/org/onap/cps/ncmp/dmi/
│   │   └── ...
│   └── pom.xml
└── pom.xml

...

Expand
titleUpload files to Nexus (Failed to upload to Nexus with status code: 403)
Code Block
09:56:31 -----> Upload files to Nexus
09:56:32 #######################################################
09:56:32 Deploying directory /w/workspace/cps-ncmp-dmi-plugin-maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml (667.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.sha1 (40.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml (608.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom (8.76 kb)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.sha1 (40.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml (283.0 b)
09:56:32 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml.sha1 (40.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/maven-metadata.xml
09:56:32 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom (27.54 kb)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml.md5: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/maven-metadata.xml.md5
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.sha1 (40.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml.sha1: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/maven-metadata.xml.sha1
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.md5 (32.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar (63.14 mb)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.sha1: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.sha1
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.sha1 (40.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.md5: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.md5
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.md5 (32.0 b)
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.sha1: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.sha1
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.md5: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.md5
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml (773.0 b)
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40.0 b)
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.sha1
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.md5
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.sha1
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.md5
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.md5
09:56:33 ERROR: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/maven-metadata.xml
09:56:33 Build step 'Execute shell' marked build as failure

...

Build NCMP-DMI-Plugin

...

and publish it to a local repository

Step 1: Checkout Source Code from Git Repository

...

Step 3: Verify if docker images are pushued pushed into local repository

image-20241125-131924.png

Build artefacts (cps, then ncmp-dmi-plugin):

Info
Code Block
[mwatkins@matts cps] (🌴master)$ pwd
/tmp/onap/cps
[mwatkins@matts cps] (🌴master)$ find . -name *.jar
./jacoco-report/target/jacoco-report-3.5.5-SNAPSHOT.jar
./policy-executor-stub/target/policy-executor-stub-3.5.5-SNAPSHOT.jar
./checkstyle/target/checkstyle-3.5.5-SNAPSHOT.jar
./cps-events/target/cps-events-3.5.5-SNAPSHOT.jar
./cps-service/target/cps-service-3.5.5-SNAPSHOT.jar
./cps-application/target/cps-application-3.5.5-SNAPSHOT.jar
./cps-application/target/cps-application-3.5.5-SNAPSHOT-springboot.jar
./spotbugs/target/spotbugs-3.5.5-SNAPSHOT.jar
./cps-ncmp-events/target/cps-ncmp-events-3.5.5-SNAPSHOT.jar
./integration-test/target/integration-test-3.5.5-SNAPSHOT.jar
./ncmp-dmi-plugin/dmi-service/target/bug-pattern-1.5.0.jar
./ncmp-dmi-plugin/dmi-service/target/dmi-service-1.6.0-SNAPSHOT.jar
./ncmp-dmi-plugin/dmi-stub/dmi-stub-app/target/dmi-stub-app-1.6.0-SNAPSHOT.jar
./ncmp-dmi-plugin/dmi-stub/dmi-stub-service/target/dmi-stub-service-1.6.0-SNAPSHOT.jar
./cps-rest/target/cps-rest-3.5.5-SNAPSHOT.jar
./cps-ncmp-service/target/cps-ncmp-service-3.5.5-SNAPSHOT.jar
./cps-ri/target/cps-ri-3.5.5-SNAPSHOT.jar
./cps-ncmp-rest-stub/cps-ncmp-rest-stub-app/target/cps-ncmp-rest-stub-app-3.5.5-SNAPSHOT.jar
./cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/target/cps-ncmp-rest-stub-service-3.5.5-SNAPSHOT.jar
./cps-path-parser/target/cps-path-parser-3.5.5-SNAPSHOT.jar
./cps-ncmp-rest/target/cps-ncmp-rest-3.5.5-SNAPSHOT.jar

It’s these artefacts that are the problem:

Code Block
./ncmp-dmi-plugin/dmi-service/target/bug-pattern-1.5.0.jar
./ncmp-dmi-plugin/dmi-service/target/dmi-service-1.6.0-SNAPSHOT.jar
./ncmp-dmi-plugin/dmi-stub/dmi-stub-app/target/dmi-stub-app-1.6.0-SNAPSHOT.jar
./ncmp-dmi-plugin/dmi-stub/dmi-stub-service/target/dmi-stub-service-1.6.0-SNAPSHOT.jar

Here’s the latest merge/release job console output:

https://jenkins.onap.org/job/cps-ncmp-dmi-plugin-maven-merge-master/1523/consoleFull

e.g.

07:34:17 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/

The pom.xml file needs updating so that the output target is:

org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/