Giter Club home page Giter Club logo

vmware / build-tools-for-vmware-aria Goto Github PK

View Code? Open in Web Editor NEW
40.0 25.0 21.0 22.92 MB

Build Tools for VMware Aria provides development and release management tools for implementing automation solutions based on the VMware Aria Suite and VMware Cloud Director. The solution enables Virtual Infrastructure Administrators and Automation Developers to use standard DevOps practices for managing and deploying content.

License: Other

Java 65.60% JavaScript 2.64% Shell 1.26% CSS 0.01% HTML 0.31% Dockerfile 0.03% Groovy 0.66% FreeMarker 8.03% TypeScript 21.38% PowerShell 0.04% Python 0.04% Batchfile 0.01%
vmware-aria-automation vmware-aria-orchestrator vmware-cloud-director vmware-aria-automation-orchestrator vmware-vrealize-automation vro devops vra automation devops-tools

build-tools-for-vmware-aria's People

Contributors

abarajasca avatar akantchev avatar akashayyappan avatar akumanov-vmw avatar dependabot[bot] avatar eaglebarry avatar gowthamr-vmware avatar iludart avatar imihov1988 avatar ivo-kotev avatar joroaf avatar konstantin-nachev avatar krasimirr avatar marianmarinov avatar michaelpalacce avatar mmidolesov avatar mtopchieva avatar n-vodenicharski avatar pe1pip avatar radoslavkk avatar rehiq avatar rwk2005 avatar sugeeshc avatar svc-wwcoe-ci-admin avatar tchoui avatar unbreakabl3 avatar venelinbakalov avatar vganevjb avatar yashvirpathak avatar ynedelchev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

build-tools-for-vmware-aria's Issues

Delete old packages fails with 401 error in case vro is embedded

Description

Import of VRO packages is successful but delete is throwing 401 error

12:51:02.015 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.dns.platform-1.0.1.package
12:51:04.367 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.vra.dispatcher-2.1.0.package
12:51:13.738 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.vra.iaas-1.1.1.package
Jun 16, 2023 12:51:16 PM com.vmware.pscoe.iac.artifact.configuration.ConfigurationVro validate
INFO: Checking if exists refresh token
Jun 16, 2023 12:51:16 PM com.vmware.pscoe.iac.artifact.configuration.ConfigurationVro validate
INFO: Refresh token not detected using BASIC Authentication
12:51:16.517 [main] INFO com.vmware.pscoe.iac.artifact.configuration.Configuration - Refresh token not detected. Checking username and password on configuration
12:51:16.517 [main] INFO com.vmware.pscoe.iac.artifact.VraPackageStore - Searching for Package Store for type VRO
12:51:16.517 [main] INFO com.vmware.pscoe.iac.artifact.VraPackageStore - Detected ConfigurationVro
12:51:16.517 [main] WARN com.vmware.pscoe.iac.artifact.rest.RestClientFactory - SSL: You are now ignoring certificate verification.
12:51:16.517 [main] WARN com.vmware.pscoe.iac.artifact.rest.RestClientFactory - SSL: You are now ignoring hostname verification.
12:51:16.532 [main] INFO com.vmware.pscoe.iac.artifact.rest.RestClientFactory - Authentication strategy: ‘BASIC’
12:51:16.595 [main] INFO com.vmware.pscoe.iac.artifact.VraPackageStore - Detecting vRO Server version ‘8.11.0.20963650’.
12:51:16.610 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Cleaning up server package ‘com.vmware.pscoe.odcn’ versions LATEST=false, OLDER=true DRYRUN=false
Exception in thread “main” org.springframework.web.client.HttpClientErrorException: 401 Unauthorized

Steps to Reproduce

  1. Start installer
  2. Select to import only VRO packages
  3. Select basic authentication
  4. Select embedded vro
  5. Type credentials for VRA
  6. Select to delete old package versions

Preconditions: environment.properties file used

#Fri Jun 16 12:33:11 EEST 2023
http_socket_timeout=360
vrang_port=443
vro_import_packages=true
ignore_ssl_certificate_verification=true
vrang_host=vra-l-01a.corp.local
vro_import_old_versions=false
vrang_auth_with_refresh_token=false
vro_enable_backup=false
vrang_password=xxx
http_connection_timeout=360
ignore_ssl_host_verification=true
vro_import_configuration_secure_attribute_values=false
skip_vro_import_old_versions=false
vro_import_configuration_attribute_values=false
vrang_username=configurationadmin
vro_embedded=true
vro_delete_old_versions=true
vro_run_workflow=false

Expected behavior: Old package versions are deleted

Actual behavior: 401 error

Reproduces how often: every time with these parameters

Component/s: artifact-manager"

Affects Build/s: 2.32.0

Environment

Client

  • Build Tools for VMware Aria Version: artifact-manager/2.32.0
  • OS Version: Windows 2018

Server

  • vRealize Automation Version:8.11.0.20963650
  • vRealize Orchestrator Version:8.11.0.20963650

Failure Logs

12:51:16.532 [main] INFO com.vmware.pscoe.iac.artifact.rest.RestClientFactory - Authentication strategy: ‘BASIC’
12:51:16.595 [main] INFO com.vmware.pscoe.iac.artifact.VraPackageStore - Detecting vRO Server version ‘8.11.0.20963650’.
12:51:16.610 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Cleaning up server package ‘com.vmware.pscoe.odcn’ versions LATEST=false, OLDER=true DRYRUN=false
Exception in thread “main” org.springframework.web.client.HttpClientErrorException: 401 Unauthorized

Additional Context

We had a chat in slack and thats the hint i got

"In case of vro import that is embedded we merge the vrang authentication.. so essentially it is "injecting" the username and password from vrang properties"

error Duplicate identifier 'describe'. after upgrade to 2.29.0

Description

When migrating polyglot project from v2.28.0 to v.29.0, this causes build failure for vro typescript project, due to mocha and jasmine colliding.

Steps to Reproduce

  1. Bump toolchain version of polyglot project to 2.29.0
  2. Bump vro package toolchain version to 2.29.0
  3. Build the project

Preconditions: [What are the preconditions to reproduce the issue]
None

Expected behavior: [What you expect to happen]
Successful build

Actual behavior: [What actually happens]
Build Failure

Reproduces how often: [What percentage of the time does it reproduce]

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]
typescript/polyglotpkg

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]
2.29.0

Environment

Client

  • Build Tools for VMware Aria Version: 2.29.0
  • Visual Studio Code Version: 1.74.3
  • OS Version: WSL2 Ubuntu 22.04

Server

  • vRealize Automation Version: N/A
  • vRealize Orchestrator Version: N/A
  • vRealize Operations Version: N/A
  • vRealize Log Insight Version: N/A

Failure Logs

[INFO] node_modules/@types/jasmine/index.d.ts:32:19 - error Duplicate identifier 'describe'.
[INFO] node_modules/@types/jasmine/index.d.ts:46:19 - error Duplicate identifier 'xdescribe'.
[INFO] node_modules/@types/jasmine/index.d.ts:55:19 - error Duplicate identifier 'it'.
[INFO] node_modules/@types/jasmine/index.d.ts:71:19 - error Duplicate identifier 'xit'.
[INFO] node_modules/@types/jasmine/index.d.ts:99:19 - error Duplicate identifier 'beforeEach'.
[INFO] node_modules/@types/jasmine/index.d.ts:106:19 - error Duplicate identifier 'afterEach'.
[INFO] node_modules/@types/mocha/index.d.ts:2650:13 - error Duplicate identifier 'beforeEach'.
[INFO] node_modules/@types/mocha/index.d.ts:2668:13 - error Duplicate identifier 'afterEach'.
[INFO] node_modules/@types/mocha/index.d.ts:2684:13 - error Duplicate identifier 'describe'.
[INFO] node_modules/@types/mocha/index.d.ts:2705:13 - error Duplicate identifier 'xdescribe'.
[INFO] node_modules/@types/mocha/index.d.ts:2719:13 - error Duplicate identifier 'it'.
[INFO] node_modules/@types/mocha/index.d.ts:2740:13 - error Duplicate identifier 'xit'.
[INFO] Found 12 errors.

Related issues and PRs

Additional Context

Catalog Item (vRO workflow) Description not getting updated on the existing catalog item

Description

During The Content Push, If the Catalog Item (vRO workflow) already existing having some description, It would not be updated with the new vRO Workflow Description. This was working in the previous releases of vRBT (eg. 2.25.1). Afterwards from one of the versions, it stopped working.

Steps to Reproduce

  1. Load the vRO workflows to vRA as catalog items with some workflow description.
  2. Change the workflow description and try to load the item once again.
  3. The catalog item would still have the old description on the UI.

Preconditions: [What are the preconditions to reproduce the issue]

Expected behavior: Catalog Item should reflect the updated description of the workflow

Actual behavior: Catalog Item has the old workflow description shown on the UI.

Reproduces how often: Everytime.

Affects Build/s: 2.36.0

Environment

Client

  • Build Tools for VMware Aria Version: v2.36.0

Server

  • vRealize Automation Version: v8.10.1.26903 (20735161)

Unable to Pull vRO Content Sources or Catalog Items

Description

We have several Content Sources that we want to Pull and then Push to other vRA instances.
I have managed to get the Pull working for a Cloud Template Catalog Item.
However it does not work for vRO Content.

Here is the content.yaml:

blueprint:

  • GI machines
    subscription: []
    flavor-mapping: []
    image-mapping: []
    storage-profile: []
    region-mapping: {}
    catalog-item:
  • Cloud template sources__GI machines
  • vRO content ALGEMEEN projects__FileShare verwijderen

- vRO content SVCMT projects__Aanvraag niet-standaard wijziging

- vRO content UPLOAD projects__Upload IaaS template

custom-resource: []
resource-action: []
catalog-entitlement: []
content-source:

  • Cloud template sources

- vRO content ALGEMEEN projects

- vRO content SVCMT projects

- vRO content UPLOAD projects

property-group: []
policy: {}

The GI Machines are correctly imported, but I get the following error on the vRO Content:

[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.31.1:pull (default-cli) on project CloudTemplateSources: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.31.1:pull failed: Catalog Item [FileShare verwijderen] not found for Source Name [vRO content ALGEMEEN projects] not found on the server. -> [Help 1]

I have additionally tried sharing the Catalog Item, FileShare verwijderen, with the project. Not sure if that is required?
It is visible in the GUI, but I still get this error.
Please advise.

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Preconditions: [What are the preconditions to reproduce the issue]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce]

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]

Environment

Client

  • Build Tools for VMware Aria Version: 2.31.1
  • Visual Studio Code Version: 1.77.0
  • OS Version: Windows 2016

Server

  • vRealize Automation Version: 8.11
  • vRealize Orchestrator Version: embedded
  • vRealize Operations Version:
  • vRealize Log Insight Version:

Failure Logs

Related issues and PRs

Additional Context

Create a minimal infrastructure template

Description

  • We are aiming to create a minimal infra example with the help of containers0
  • Create a docker-compose file with
    • Sonatype Nexus
    • Gitlab CE
    • Gitlab Runner (JDK17, Node14, mvn 3.9.x)
    • Nginx for better navigation
  • There are existing resources already present in the infrastructure folder that need to be updated
  • Guides should be added on how the systems integrate with each other

Mocking for configuration elements is incorrect

Description

The mocking for configuration elements is incorrect. When there are no attributes in a config element vRO returns null when the attributes of a config element is accessed, in vRBT the mocking returns an empty array. Similarly, the Server.getConfigurationElementCategoryWithPath() should return null for a non-existent category and category.configurationElements should return null for an empty category.

Note that behaviour of category.allConfigurationElements is different, this returns an empty array if there are zero elements in a category.

Steps to Reproduce

  1. inspect this code in 'typescript/vro-scripting-api/src/configurations.ts':
  function getElementAttributes(categoryPath: string, elementName: string): Attribute[] {
        const categoryDescriptor = findDescriptorByPath(categoryPath);
        if (!categoryDescriptor) {
            return [];
        }
        const elementDescriptor = categoryDescriptor.elements[elementName];
        if (!elementDescriptor || !elementDescriptor.path) {
            return [];
        }
        return parseJsonFile<AttributeDescriptor[]>(elementDescriptor.path).map(attrInfo => {
            const attr = new Attribute();
            attr.name = attrInfo.name;
            attr.description = attrInfo.description;
            attr.type = attrInfo.type;
            attr.value = attrInfo.value != null ? convertAttrValue(attrInfo.type, attrInfo.value) : null;
            return attr;
        });
    }
  1. in vRO run:
const c = Server.createConfigurationElement('dummy', 'dummy')
System.log(typeof c.attributes)
System.log(c.attributes)
System.log(c.attributes === null)

Output:

2023-05-29 17:06:32.080 +02:00INFO(nl.rabobank.test/remco) object
2023-05-29 17:06:32.081 +02:00INFO(nl.rabobank.test/remco) null
2023-05-29 17:06:32.082 +02:00INFO(nl.rabobank.test/remco) true

Preconditions: [What are the preconditions to reproduce the issue]

Expected behavior:

mocking to return null when no attributes are present in a configuration element.

Actual behavior:

Mocking returns []

Reproduces how often: 100%

Component/s:

  • typescript/vro-scripting-api/src/configurations.ts
  • typescript/vro-scripting-api/src/api/ConfigurationElementCategory.ts

Affects Build/s: 2.32.0

Environment

Client

  • Build Tools for VMware Aria Version: 2.23.0
  • Visual Studio Code Version: latest
  • OS Version:

Server

  • vRealize Automation Version: 8.12
  • vRealize Orchestrator Version: 8.12
  • vRealize Operations Version: n/a
  • vRealize Log Insight Version: n/a

Failure Logs

Related issues and PRs

n/a

Additional Context

n/a

Test Issie 01

Description

[Description of the issue. Affected functionality / feature.]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Preconditions: [What are the preconditions to reproduce the issue]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce]

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]

Environment

Client

  • Build Tools for VMware Aria Version:
  • Visual Studio Code Version:
  • OS Version:

Server

  • vRealize Automation Version:
  • vRealize Orchestrator Version:
  • vRealize Operations Version:
  • vRealize Log Insight Version:

Failure Logs

Related issues and PRs

Additional Context

Pull operations fail on Windows with release 2.34.0

Description

Pull operations fail on Windows with release 2.34.0. So far failures are observed with vrli pull and vra-ng pull operations but most likely affect all other archetypes as well.

Steps to Reproduce

  1. Create a vra-ng or vrli package with 2.34.0
  2. Populate content.yaml file with content you would like to pull
  3. Execute pull goal, e.g. mvn vra-ng:pull -Pdev -pl vra

Expected behavior:
pull goal manages to complete successfully and retrieves all needed information

Actual behavior:
pull goal fails with error:

[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0:pull (default-cli) on project cwd_vrli.vrli: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0:pull failed: 'posix:permissions' not supported as initial attribute ->

Reproduces how often:
100%

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]
So far known only for 2.34.0 and not reproducible with 2.31.2.

Environment

Client

  • Build Tools for VMware Aria Version: 2.34.0
  • OS Version: Windows 10

Server

  • vRealize Log Insight Version: 8.8.0-19675011

Failure Logs

user1@comp1 MINGW64 /c/Dev/vRLI_Repo/vrli (master)
$ mvn -X vrli:pull -P 904-Source -pl vrli
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Dev\Tools\apache-maven-3.6.3
Java version: 17.0.5, vendor: Eclipse Adoptium, runtime: C:\Program Files\Eclipse Adoptium\jdk-17.0.5.8-hotspot
Default locale: en_IN, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.annotation.* < plexus.core
[DEBUG]   Imported: javax.annotation.security.* < plexus.core
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core     
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core       
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core     
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core   
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core    
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.fusesource.jansi.* < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.event.* < plexus.core
[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: color
[DEBUG] Message styles: debug info warning error success failure strong mojo project
[DEBUG] Reading global settings from C:\Dev\Tools\apache-maven-3.6.3\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\user1\.m2\settings.xml
[DEBUG] Reading global toolchains from C:\Dev\Tools\apache-maven-3.6.3\conf\toolchains.xml
[DEBUG] Reading user toolchains from C:\Users\user1\.m2\toolchains.xml
[DEBUG] Using local repository at C:\Users\user1\.m2\repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\user1\.m2\repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.dd.cd:fd:pom:11.0.1: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.vmware.pscoe.o11n:base-package:pom:2.34.0: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.vmware.pscoe.o11n:base-packages-parent:pom:2.34.0: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.vmware.pscoe:iac:pom:2.34.0: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1437400, ConflictMarker.markTime=182000, ConflictMarker.nodeCount=95, ConflictIdSorter.graphTime=459000, ConflictIdSorter.topsortTime=378600, ConflictIdSorter.conflictIdCount=54, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=5015500, ConflictResolver.conflictItemCount=90, DefaultDependencyCollector.collectTime=520517700, DefaultDependencyCollector.transformTime=9720500}
[DEBUG] com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:jar:2.34.0
[DEBUG]    com.vmware.pscoe.iac:artifact-manager:jar:2.34.0:compile
[DEBUG]       org.springframework:spring-web:jar:4.3.25.RELEASE:compile
[DEBUG]          org.springframework:spring-aop:jar:4.3.25.RELEASE:compile
[DEBUG]          org.springframework:spring-beans:jar:4.3.25.RELEASE:compile
[DEBUG]          org.springframework:spring-context:jar:4.3.25.RELEASE:compile
[DEBUG]             org.springframework:spring-expression:jar:4.3.25.RELEASE:compile
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[DEBUG]          commons-logging:commons-logging:jar:1.2:compile
[DEBUG]          commons-codec:commons-codec:jar:1.11:compile
[DEBUG]       com.jayway.jsonpath:json-path:jar:2.4.0:compile
[DEBUG]       com.google.code.gson:gson:jar:2.8.9:compile
[DEBUG]       com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.7:compile
[DEBUG]          org.yaml:snakeyaml:jar:1.27:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-core:jar:2.12.7:compile
[DEBUG]       com.fasterxml.jackson.core:jackson-databind:jar:2.12.7.1:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-annotations:jar:2.12.7:compile
[DEBUG]       org.apache.commons:commons-lang3:jar:3.9:compile
[DEBUG]       org.apache.commons:commons-text:jar:1.10.0:compile
[DEBUG]       org.apache.logging.log4j:log4j-slf4j-impl:jar:2.17.1:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.29:compile
[DEBUG]       net.minidev:json-smart:jar:2.4.10:compile
[DEBUG]          net.minidev:accessors-smart:jar:2.4.9:compile
[DEBUG]             org.ow2.asm:asm:jar:9.3:compile
[DEBUG]       org.apache.httpcomponents:httpcore:jar:4.4.12:compile
[DEBUG]       org.springframework:spring-core:jar:5.2.24.RELEASE:compile
[DEBUG]          org.springframework:spring-jcl:jar:5.2.24.RELEASE:compile
[DEBUG]       commons-io:commons-io:jar:2.7:compile
[DEBUG]       com.jcraft:jsch:jar:0.1.55:compile
[DEBUG]    com.vmware.pscoe.maven.plugins:common:jar:2.34.0:compile
[DEBUG]       com.google.guava:guava:jar:32.0.0-jre:compile
[DEBUG]          com.google.guava:failureaccess:jar:1.0.1:compile
[DEBUG]          com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[DEBUG]          com.google.code.findbugs:jsr305:jar:3.0.2:compile
[DEBUG]          org.checkerframework:checker-qual:jar:3.33.0:compile
[DEBUG]          com.google.errorprone:error_prone_annotations:jar:2.18.0:compile
[DEBUG]          com.google.j2objc:j2objc-annotations:jar:2.8:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]          backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.5.15:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.apache.logging.log4j:log4j-core:jar:2.17.1:compile
[DEBUG]       org.apache.logging.log4j:log4j-api:jar:2.17.1:compile
[DEBUG] Created new class realm extension>com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0
[DEBUG] Importing foreign packages into class realm extension>com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm extension>com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0
[DEBUG]   Included: com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:jar:2.34.0
[DEBUG]   Included: com.vmware.pscoe.iac:artifact-manager:jar:2.34.0
[DEBUG]   Included: org.springframework:spring-web:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-aop:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-beans:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-context:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-expression:jar:4.3.25.RELEASE
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.5.13
[DEBUG]   Included: commons-logging:commons-logging:jar:1.2
[DEBUG]   Included: commons-codec:commons-codec:jar:1.11
[DEBUG]   Included: com.jayway.jsonpath:json-path:jar:2.4.0
[DEBUG]   Included: com.google.code.gson:gson:jar:2.8.9
[DEBUG]   Included: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.7
[DEBUG]   Included: org.yaml:snakeyaml:jar:1.27
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-core:jar:2.12.7
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-databind:jar:2.12.7.1
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-annotations:jar:2.12.7
[DEBUG]   Included: org.apache.commons:commons-lang3:jar:3.9
[DEBUG]   Included: org.apache.commons:commons-text:jar:1.10.0
[DEBUG]   Included: org.apache.logging.log4j:log4j-slf4j-impl:jar:2.17.1
[DEBUG]   Included: net.minidev:json-smart:jar:2.4.10
[DEBUG]   Included: net.minidev:accessors-smart:jar:2.4.9
[DEBUG]   Included: org.ow2.asm:asm:jar:9.3
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.4.12
[DEBUG]   Included: org.springframework:spring-core:jar:5.2.24.RELEASE
[DEBUG]   Included: org.springframework:spring-jcl:jar:5.2.24.RELEASE
[DEBUG]   Included: commons-io:commons-io:jar:2.7
[DEBUG]   Included: com.jcraft:jsch:jar:0.1.55
[DEBUG]   Included: com.vmware.pscoe.maven.plugins:common:jar:2.34.0
[DEBUG]   Included: com.google.guava:guava:jar:32.0.0-jre
[DEBUG]   Included: com.google.guava:failureaccess:jar:1.0.1
[DEBUG]   Included: com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:3.0.2
[DEBUG]   Included: org.checkerframework:checker-qual:jar:3.33.0
[DEBUG]   Included: com.google.errorprone:error_prone_annotations:jar:2.18.0
[DEBUG]   Included: com.google.j2objc:j2objc-annotations:jar:2.8
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.15
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.apache.logging.log4j:log4j-core:jar:2.17.1
[DEBUG]   Included: org.apache.logging.log4j:log4j-api:jar:2.17.1
[DEBUG] Extension realms for project com.wd:vrli.vrli:vrli:11.0.1: [ClassRealm[extension>com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@2a139a55]]
[DEBUG] Created new class realm project>com.wd:vrli.vrli:11.0.1
[DEBUG] Populating class realm project>com.wd:vrli.vrli:11.0.1
[DEBUG] Looking up lifecycle mappings for packaging vrli from ClassRealm[project>com.wd:vrli.vrli:11.0.1, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project com.vmware.pscoe.vrli:vrli-package:pom:2.34.0: [ClassRealm[extension>com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@2a139a55]]
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[project>com.wd:vrli.vrli:11.0.1, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Extension realms for project com.vmware.pscoe.o11n:base-packages-parent:pom:2.34.0: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.vmware.pscoe:iac:pom:2.34.0: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.wd:vrli.vrli:vrli:11.0.1   
[WARNING] 'parent.relativePath' of POM com.wd:vrli.vrli:11.0.1 (C:\Dev\vRLI_Repo\vrli\vrli\pom.xml) points at com.dd.cd:fd instead of com.vmware.pscoe.vrli:vrli-package, please verify your project structure @ line 3, column 13   
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[DEBUG] Could not find metadata org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml in local (C:\Users\user1\.m2\repository)
[DEBUG] Skipped remote request for org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml, locally cached metadata up-to-date.
[DEBUG] Using transporter WagonTransporter with priority -1.0 for https://sftserver/artifactory/releases
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://sftserver/artifactory/releases with username=user-helper, password=***
Downloading from sft-server: https://sftserver/artifactory/releases/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
Downloaded from sft-server: https://sftserver/artifactory/releases/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (832 B at 626 B/s)
[DEBUG] Writing tracking file C:\Users\user1\.m2\repository\org\apache\maven\plugins\maven-install-plugin\resolver-status.properties
[DEBUG] Resolved plugin version for org.apache.maven.plugins:maven-install-plugin to 3.1.1 from repository sft-server (https://sftserver/artifactory/releases, default, releases+snapshots)
[DEBUG] Resolving plugin prefix vrli from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix vrli to com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin from POM com.wd:vrli.vrli:vrli:11.0.1
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.wd:vrli.vrli:vrli:11.0.1
[DEBUG] Tasks:   [vrli:pull]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]
[INFO] -------------------< com.wd:vrli.vrli >--------------------
[INFO] Building vrli.vrli 11.0.1
[INFO] --------------------------------[ vrli ]--------------------------------
[DEBUG] Resolving plugin prefix vrli from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix vrli to com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin from POM com.wd:vrli.vrli:vrli:11.0.1
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.wd:vrli.vrli:11.0.1
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): []
[DEBUG] Repositories (dependencies): [sft-server (https://sftserver/artifactory/releases, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [sft-server (https://sftserver/artifactory/releases, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0:pull (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <connectionTimeout default-value="${vrealize.connection.timeout}">${vrealize.connection.timeout}</connectionTimeout>      
  <dryrun default-value="false">${dryrun}</dryrun>
  <ignoreSslCertificate default-value="false">true</ignoreSslCertificate>
  <ignoreSslHostname default-value="false">true</ignoreSslHostname>
  <keystoreCert default-value="">${vroCertificatePem}</keystoreCert>
  <keystorePassword default-value="">${vroKeyPass}</keystorePassword>
  <privateKeyPem default-value="">${vroPrivateKeyPem}</privateKeyPem>
  <project default-value="${project}"/>
  <socketTimeout default-value="${vrealize.socket.timeout}">${vrealize.socket.timeout}</socketTimeout>
  <ssh default-value="${ssh.*}">${ssh}</ssh>
  <vcd default-value="${vcd.*}">${vcd}</vcd>
  <vra default-value="${vra.*}">${vra}</vra>
  <vrang default-value="${vrang.*}">${vrang}</vrang>
  <vrli default-value="${vrli.*}">
    <host>vrliSourceServer</host>
    <port>443</port>
    <username>admin</username>
    <password>pass123</password>
    <serverId>${vrli.serverId}</serverId>
    <provider>Local</provider>
    <vropsHost>vropsSourceServer</vropsHost>
    <vropsPort>443</vropsPort>
    <vropsUser>admin</vropsUser>
    <vropsPassword>pass123</vropsPassword>
    <vropsAuthSource>local</vropsAuthSource>
    <packageImportOverwriteMode>${vrli.packageImportOverwriteMode}</packageImportOverwriteMode>${vrli}</vrli>
  <vro default-value="${vro.*}">${vro}</vro>
  <vrops default-value="${vrops.*}">${vrops}</vrops>
  <settings default-value="${settings}"/>
</configuration>
[DEBUG] =======================================================================
[INFO]
[INFO] --- vrli-package-maven-plugin:2.34.0:pull (default-cli) @ vrli.vrli ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=325700, ConflictMarker.markTime=167500, ConflictMarker.nodeCount=95, ConflictIdSorter.graphTime=125400, ConflictIdSorter.topsortTime=48100, ConflictIdSorter.conflictIdCount=54, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1741800, ConflictResolver.conflictItemCount=90, DefaultDependencyCollector.collectTime=8054300, DefaultDependencyCollector.transformTime=2469400}
[DEBUG] com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:jar:2.34.0
[DEBUG]    com.vmware.pscoe.iac:artifact-manager:jar:2.34.0:compile
[DEBUG]       org.springframework:spring-web:jar:4.3.25.RELEASE:compile
[DEBUG]          org.springframework:spring-aop:jar:4.3.25.RELEASE:compile
[DEBUG]          org.springframework:spring-beans:jar:4.3.25.RELEASE:compile
[DEBUG]          org.springframework:spring-context:jar:4.3.25.RELEASE:compile
[DEBUG]             org.springframework:spring-expression:jar:4.3.25.RELEASE:compile
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[DEBUG]          commons-logging:commons-logging:jar:1.2:compile
[DEBUG]          commons-codec:commons-codec:jar:1.11:compile
[DEBUG]       com.jayway.jsonpath:json-path:jar:2.4.0:compile
[DEBUG]       com.google.code.gson:gson:jar:2.8.9:compile
[DEBUG]       com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.7:compile
[DEBUG]          org.yaml:snakeyaml:jar:1.27:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-core:jar:2.12.7:compile
[DEBUG]       com.fasterxml.jackson.core:jackson-databind:jar:2.12.7.1:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-annotations:jar:2.12.7:compile
[DEBUG]       org.apache.commons:commons-lang3:jar:3.9:compile
[DEBUG]       org.apache.commons:commons-text:jar:1.10.0:compile
[DEBUG]       org.apache.logging.log4j:log4j-slf4j-impl:jar:2.17.1:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.29:compile
[DEBUG]       net.minidev:json-smart:jar:2.4.10:compile
[DEBUG]          net.minidev:accessors-smart:jar:2.4.9:compile
[DEBUG]             org.ow2.asm:asm:jar:9.3:compile
[DEBUG]       org.apache.httpcomponents:httpcore:jar:4.4.12:compile
[DEBUG]       org.springframework:spring-core:jar:5.2.24.RELEASE:compile
[DEBUG]          org.springframework:spring-jcl:jar:5.2.24.RELEASE:compile
[DEBUG]       commons-io:commons-io:jar:2.7:compile
[DEBUG]       com.jcraft:jsch:jar:0.1.55:compile
[DEBUG]    com.vmware.pscoe.maven.plugins:common:jar:2.34.0:compile
[DEBUG]       com.google.guava:guava:jar:32.0.0-jre:compile
[DEBUG]          com.google.guava:failureaccess:jar:1.0.1:compile
[DEBUG]          com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[DEBUG]          com.google.code.findbugs:jsr305:jar:3.0.2:compile
[DEBUG]          org.checkerframework:checker-qual:jar:3.33.0:compile
[DEBUG]          com.google.errorprone:error_prone_annotations:jar:2.18.0:compile
[DEBUG]          com.google.j2objc:j2objc-annotations:jar:2.8:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]          backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.5.15:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.apache.logging.log4j:log4j-core:jar:2.17.1:compile
[DEBUG]       org.apache.logging.log4j:log4j-api:jar:2.17.1:compile
[DEBUG] Created new class realm plugin>com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0
[DEBUG] Importing foreign packages into class realm plugin>com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0  
[DEBUG]   Imported:  < project>com.wd:vrli.vrli:11.0.1
[DEBUG] Populating class realm plugin>com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0
[DEBUG]   Included: com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:jar:2.34.0
[DEBUG]   Included: com.vmware.pscoe.iac:artifact-manager:jar:2.34.0
[DEBUG]   Included: org.springframework:spring-web:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-aop:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-beans:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-context:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-expression:jar:4.3.25.RELEASE
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.5.13
[DEBUG]   Included: commons-logging:commons-logging:jar:1.2
[DEBUG]   Included: commons-codec:commons-codec:jar:1.11
[DEBUG]   Included: com.jayway.jsonpath:json-path:jar:2.4.0
[DEBUG]   Included: com.google.code.gson:gson:jar:2.8.9
[DEBUG]   Included: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.7
[DEBUG]   Included: org.yaml:snakeyaml:jar:1.27
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-core:jar:2.12.7
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-databind:jar:2.12.7.1
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-annotations:jar:2.12.7
[DEBUG]   Included: org.apache.commons:commons-lang3:jar:3.9
[DEBUG]   Included: org.apache.commons:commons-text:jar:1.10.0
[DEBUG]   Included: org.apache.logging.log4j:log4j-slf4j-impl:jar:2.17.1
[DEBUG]   Included: net.minidev:json-smart:jar:2.4.10
[DEBUG]   Included: net.minidev:accessors-smart:jar:2.4.9
[DEBUG]   Included: org.ow2.asm:asm:jar:9.3
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.4.12
[DEBUG]   Included: org.springframework:spring-core:jar:5.2.24.RELEASE
[DEBUG]   Included: org.springframework:spring-jcl:jar:5.2.24.RELEASE
[DEBUG]   Included: commons-io:commons-io:jar:2.7
[DEBUG]   Included: com.jcraft:jsch:jar:0.1.55
[DEBUG]   Included: com.vmware.pscoe.maven.plugins:common:jar:2.34.0
[DEBUG]   Included: com.google.guava:guava:jar:32.0.0-jre
[DEBUG]   Included: com.google.guava:failureaccess:jar:1.0.1
[DEBUG]   Included: com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:3.0.2
[DEBUG]   Included: org.checkerframework:checker-qual:jar:3.33.0
[DEBUG]   Included: com.google.errorprone:error_prone_annotations:jar:2.18.0
[DEBUG]   Included: com.google.j2objc:j2objc-annotations:jar:2.8
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.15
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.apache.logging.log4j:log4j-core:jar:2.17.1
[DEBUG]   Included: org.apache.logging.log4j:log4j-api:jar:2.17.1
[DEBUG] Configuring mojo com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0:pull from plugin realm ClassRealm[plugin>com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@2a139a55]
[DEBUG] Configuring mojo 'com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0:pull' with basic configurator -->
[DEBUG]   (f) dryrun = false
[DEBUG]   (f) ignoreSslCertificate = true
[DEBUG]   (f) ignoreSslHostname = true
[DEBUG]   (f) keystoreCert = C:\Dev\Tools\Certificates\package_cert.pem
[DEBUG]   (f) keystorePassword = changeit
[DEBUG]   (f) privateKeyPem = C:\Dev\Tools\Certificates\package_key.pem
[DEBUG]   (f) project = MavenProject: com.wd:vrli.vrli:11.0.1 @ C:\Dev\vRLI_Repo\vrli\vrli\pom.xml
[DEBUG]   (f) ssh = {}
[DEBUG]   (f) vcd = {}
[DEBUG]   (f) vra = {}
[DEBUG]   (f) vrang = {}
[DEBUG]   (f) vrli = {host=vrliSourceServer, packageImportOverwriteMode=null, password=pass123, port=443, provider=Local, serverId=null, username=admin, vropsAuthSource=local, vropsHost=vropsSourceServer, vropsPassword=pass123, vropsPort=443, vropsUser=admin}
[DEBUG]   (f) vro = {}
[DEBUG]   (f) vrops = {}
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@abbe000
[DEBUG] -- end configuration --
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.819 s
[INFO] Finished at: 2023-07-11T17:02:59+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0:pull (default-cli) on project vrli.vrli: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0:pull failed: 'posix:permissions' not supported as initial attribute -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0:pull (default-cli) on project vrli.vrli: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0:pull failed: 'posix:permissions' not supported as initial attribute
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.34.0:pull failed: 'posix:permissions' not supported as initial attribute
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: java.lang.UnsupportedOperationException: 'posix:permissions' not supported as initial attribute
    at sun.nio.fs.WindowsSecurityDescriptor.fromAttribute (WindowsSecurityDescriptor.java:358)
    at sun.nio.fs.WindowsFileSystemProvider.createDirectory (WindowsFileSystemProvider.java:509)
    at java.nio.file.Files.createDirectory (Files.java:700)
    at java.nio.file.TempFileHelper.create (TempFileHelper.java:134)
    at java.nio.file.TempFileHelper.createTempDirectory (TempFileHelper.java:171)
    at java.nio.file.Files.createTempDirectory (Files.java:976)
    at com.google.common.io.TempFileCreator$JavaNioCreator.createTempDir (TempFileCreator.java:102)
    at com.google.common.io.Files.createTempDir (Files.java:439)
    at com.vmware.pscoe.maven.plugins.PullMojo.execute (PullMojo.java:56)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

vrealize:push fails for vCD 10.5, API version 38.0

Description

When using vCD 10.5 there is a breaking change affecting the way authentication works (described here: https://docs.vmware.com/en/VMware-Cloud-Director/10.5/rn/vmware-cloud-director-105-release-notes/index.html)

Steps to Reproduce

  1. execute mvn clean package vrealize:push -P<vcd10.5env>

Preconditions: Environment with vCD 10.5

Expected behavior: vcd extensibility plugin is published

Actual behavior: Error is thrown stating that method is not allowed

Reproduces how often: every time

Component/s: [ "common/artifact-manager" ]

Affects Build/s: [ 2.35.0 ]

Environment

Client

  • Build Tools for VMware Aria Version: 2.35.0

Server

  • vRealize Cloud Director Version: 10.5.0.22080047

Failure Logs

{ "minorErrorCode": "METHOD_NOT_ALLOWED", "message": "HTTP method not allowed", "stackTrace": "com.vmware.vcloud.api.rest.toolkit.exceptions.MethodNotAllowedRestApiException: HTTP method not allowed\n\tat com.vmware.vcloud.api.rest.providers.filters.RestApiRequestVersionCompatibilityFilter.filter(RestApiRequestVersionCompatibilityFilter.java:90)\n\tat org.apache.cxf.jaxrs.utils.JAXRSUtils.runContainerRequestFilters(JAXRSUtils.java:1918)\n\tat org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:206)\n\tat org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:79)\n\tat org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)\n\tat org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)\n\tat org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)\n\tat org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)\n\tat org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)\n\tat org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)\n\tat org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225)\n\tat org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:304)\n\tat org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:665)\n\tat org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:279)\n\tat org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1419)\n\tat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)\n\tat org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:352)\n\tat com.vmware.vcloud.api.framework.web.ExtensibilityFilter.doFilter(ExtensibilityFilter.java:159)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361)\n\tat com.vmware.vcloud.security.filters.ValidityExceptionFilter.doFilterHttp(ValidityExceptionFilter.java:47)\n\tat com.vmware.vcloud.security.filters.HttpFilterBean.doFilter(HttpFilterBean.java:35)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361)\n\tat com.vmware.vcloud.security.web.RestSessionFilter.doFilter(RestSessionFilter.java:235)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361)\n\tat com.vmware.vcloud.security.web.CellLivenessCheckFilter.doFilter(CellLivenessCheckFilter.java:54)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361)\n\tat com.vmware.vcloud.security.web.SecurityContextCleanerFilter.doFilter(SecurityContextCleanerFilter.java:32)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361)\n\tat com.vmware.vcloud.api.rest.versioning.AcceptHeaderFilter.doFilter(AcceptHeaderFilter.java:78)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361)\n\tat com.vmware.vcloud.security.filters.ConversationFilter$1.run(ConversationFilter.java:39)\n\tat com.vmware.vcloud.security.filters.ConversationFilter$1.run(ConversationFilter.java:37)\n\tat com.vmware.vcloud.common.persist.ConversationContextExecutor.execute(ConversationContextExecutor.java:67)\n\tat com.vmware.vcloud.security.filters.ConversationFilter.doFilter(ConversationFilter.java:45)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:361)\n\tat org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:225)\n\tat org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:190)\n\tat org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354)\n\tat org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267)\n\tat org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:210)\n\tat org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)\n\tat com.vmware.vcloud.common.web.deployment.impl.HostCheckerFilter.doFilter(HostCheckerFilter.java:107)\n\tat org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)\n\tat org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)\n\tat com.vmware.vcloud.common.web.deployment.impl.RequestDiagnosticFilter.doFilter(RequestDiagnosticFilter.java:143)\n\tat org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)\n\tat org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)\n\tat com.vmware.vcloud.common.web.deployment.impl.ConfigurableSniffyFilter.doFilter(ConfigurableSniffyFilter.java:48)\n\tat org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)\n\tat org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)\n\tat org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:192)\n\tat org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:51)\n\tat org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:141)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)\n\tat org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:822)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)\n\tat org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:301)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)\n\tat org.eclipse.jetty.server.Server.handle(Server.java:563)\n\tat org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505)\n\tat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762)\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497)\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282)\n\tat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)\n\tat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)\n\tat org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:558)\n\tat org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:379)\n\tat org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:146)\n\tat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)\n\tat org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)\n\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:416)\n\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:385)\n\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:272)\n\tat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:140)\n\tat com.vmware.vcloud.common.threading.ExtendedJettyQueuedThreadPool$CleaningRunnable.run(ExtendedJettyQueuedThreadPool.java:58)\n\tat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)\n\tat com.vmware.vcloud.common.threading.ExtendedJettyQueuedThreadPool$CleaningRunnable.run(ExtendedJettyQueuedThreadPool.java:58)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)\n\tat com.vmware.vcloud.common.threading.ExtendedJettyQueuedThreadPool.runJob(ExtendedJettyQueuedThreadPool.java:43)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\n" }

Related issues and PRs

Additional Context

Issue pulling vRA content with vra-ng:pull

Description

[Description of the issue. Affected functionality / feature.]
For a customer I'm trying to pull all the vRA subscriptions and resourceactions to a local vRA project.
I have created the settings.xml in my personal m2 folder with all the provided details

Steps to Reproduce

  1. [First Step]
    I have created a new profile in the settings.xml with the following details:
test-dev vra-host.domain 443 {username} {password} vra-host.domain Project ID retreived from URL from the specific project where the subscriptions and resourceactions life Pressing the ? in the top right, copying the org id Display name from organization page true embedded-VRO true

We have used this setup from: https://github.com/vmware/build-tools-for-vmware-aria/blob/main/docs/archive/doc/markdown/use-workstation-vra-ng-project.md
3. [Second Step]
I run the following command:

  • mvn vra-ng:pull -Ptest-dev

Expected behavior: [What you expect to happen]
I expect that the command will pull the information out of vRA.

Actual behavior: [What actually happens]
We got an error 400 bad request when trying to pull with the command above.

Reproduces how often: [What percentage of the time does it reproduce]
Every time we are using this command

Client

  • Build Tools for VMware Aria Version: 2.26.4
  • Visual Studio Code Version: 1.73.1
  • OS Version: Windows 2016

Server

  • vRealize Automation Version: 8.11.1

Additional Context

I'm wondering if my settings.xml is valid or that I miss something.

Using vro:pull on a JS actions project fails on SAX dependency error

Description

[Description of the issue. Affected functionality / feature.]
Running vro:pull results with a NodeJS dependency error with module SAX

Steps to Reproduce

mvn vro:pull -P#profile name -pl #js actions project

Expected behavior: [What you expect to happen]
Actions to be pulled from vRO Server

Actual behavior:
Fails with error (see Failure Logs below)

Reproduces how often: 100%

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

Environment

Client

  • Build Tools for VMware Aria Version: 2.26.3
  • Visual Studio Code Version: 1.77.3
  • vRealize Developer Tool: 2.4.0
  • OS Version: Windows 10

Server

  • vRealize Automation Version: 8.11.1
  • vRealize Orchestrator Version: 8.11.1

Failure Logs

[ERROR] C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:651
[ERROR] er = new Error(er)
[ERROR] ^
[ERROR]
[ERROR] Error: Non-whitespace before first tag.
[ERROR] Line: 0
[ERROR] Column: 1
[ERROR] Char: o
[ERROR] at error (C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:651:10)
[ERROR] at strictFail (C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:677:7)
[ERROR] at beginWhiteSpace (C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:951:7)
[ERROR] at SAXParser.write (C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:1006:11)
[ERROR] at new XmlDocument (C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\node_modules\xmldoc\lib\xmldoc.js:295:17)
[ERROR] at exports.xml (C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\dist\parse\util.js:13:25)
[ERROR] at C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:65:27
[ERROR] at Generator.next ()
[ERROR] at C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:8:71
[ERROR] at new Promise ()
[ERROR] at __awaiter (C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:4:12)
[ERROR] at parseFlatElement (C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:21:47)
[ERROR] at C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:101:22
[ERROR] at Array.map ()
[ERROR] at C:\Users\xxxxxxxx\projects\vrealize\vmware\js\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:101:10
[ERROR] at Generator.next ()
[ERROR]
[ERROR] Node.js v18.16.0
[INFO] Running vropkg... finished
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.965 s
[INFO] Finished at: 2023-04-21T16:05:35+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:2.26.3:pull (default-cli) on project js.actions: Running vropkg... failed with code 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Related issues and PRs

Additional Context

Last Region image mapping overwrites the value for all other regions.

Description

When exporting image mappings, the data is fetched and separated correctly, meaning that we have the metadata for ALL of the regions.

When importing the image mappings, it seems like the last one to be processed, would overwrite the data for the previous regions. Meaning that if you have image mappings that point to : Test-1, Test-2, Test-3 images, then after import the one that was processed last will be the one that is in use everywhere.

In the tested environment we had 3 datacenters and one of the datacenter had 2 regions, if that matters

Steps to Reproduce

  1. Create an image mapping with 2 regions with different values for the same image
  2. Pull them and observe the data
  3. Push the image mappings and both will have the same value instead of different ones.

Expected behavior: The region mappings to be mapped correctly per region

Actual behavior: Last one overwrites all the rest

Reproduces how often: 100%

Component/s: artifact-manager

Environment

Client

  • Build Tools for VMware Aria Version: 2.36.0

Server

  • vRealize Automation Version: 8.13
  • vRealize Orchestrator Version: 8.13

Additional Context

This is when pulling and pushing to the SAME environment.

vRealize: Push actions fails on Windows with build tools v2.30.0+

Description

vRealize: Push actions fails on Windows with build tools v2.30.0+

Steps to Reproduce

  1. Setup project with POMs pointing to Aria Build Tools v2.30.0 or greater.
  2. On a Windows machine, from Visual Studio Code, invoke the "vRealize: Push actions"
  3. Error encountered

Preconditions:

  • Pushing from Windows
  • Aria build tools 2.30.0, 2.31.0 or 2.31.1
  • Remove description tag from pom.xml (from the same level of groupid)

Expected behavior:

  • Code should have been pushed

Actual behavior:

  • Error message indicates [ERROR] Missing groupId

Reproduces how often:

  • 100% reproducible on Windows. Does not happen on Linux.

Component/s:

  • actions-package

Affects Build/s:

  • 2.30.0
  • 2.31.0
  • 2.31.1

Environment

Client

  • Build Tools for VMware Aria Version: 2.31.1
  • Visual Studio Code Version: 1.65.2
  • OS Version: Windows Server 2016 - Version 1607 (OS Build 14393.5786)
  • Maven: 3.9.1
  • Node: 18.14.2

Server

  • vRealize Automation Version: 8.11.0.27829 (21128098)
  • vRealize Orchestrator Version: 8.11.0.27829 (21128098)
  • vRealize Operations Version: N/A
  • vRealize Log Insight Version: N/A

Failure Logs

> Executing task: mvn clean package vrealize:push -DincludeDependencies=false -DskipTests -Pvra8-dev -pl actions <

[INFO] Scanning for projects...
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/base-package/2.31.1/base-package-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/base-package/2.31.1/base-package-2.31.1.pom (1.3 kB at 966 B/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/base-packages-parent/2.31.1/base-packages-parent-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/base-packages-parent/2.31.1/base-packages-parent-2.31.1.pom (23 kB at 318 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/2.31.1/iac-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/2.31.1/iac-2.31.1.pom (7.0 kB at 115 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/actions-package/2.31.1/actions-package-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/actions-package/2.31.1/actions-package-2.31.1.pom
(5.2 kB at 56 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/xml-package/2.31.1/xml-package-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/xml-package/2.31.1/xml-package-2.31.1.pom (4.3 kB
at 158 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-actions-package-maven-plugin/2.31.1/o11n-actions-package-maven-plugin-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-actions-package-maven-plugin/2.31.1/o11n-actions-package-maven-plugin-2.31.1.pom (1.5 kB at 13 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/base-maven-plugin/2.31.1/base-maven-plugin-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/base-maven-plugin/2.31.1/base-maven-plugin-2.31.1.pom (5.2 kB at 88 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/o11n-project/2.31.1/o11n-project-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/o11n-project/2.31.1/o11n-project-2.31.1.pom (2.4 kB at 69 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/artifact-manager/2.31.1/artifact-manager-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/artifact-manager/2.31.1/artifact-manager-2.31.1.pom (4.9 kB at 8.0 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/net/minidev/json-smart/2.4.9/json-smart-2.4.9.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/net/minidev/json-smart/2.4.9/json-smart-2.4.9.pom (9.2 kB at 112 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/net/minidev/accessors-smart/2.4.9/accessors-smart-2.4.9.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/net/minidev/accessors-smart/2.4.9/accessors-smart-2.4.9.pom (11 kB at 58 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/ow2/asm/asm/9.3/asm-9.3.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/ow2/asm/asm/9.3/asm-9.3.pom (2.4 kB at 20 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/springframework/spring-core/5.2.23.RELEASE/spring-core-5.2.23.RELEASE.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/springframework/spring-core/5.2.23.RELEASE/spring-core-5.2.23.RELEASE.pom (1.7 kB at 8.3 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/springframework/spring-jcl/5.2.23.RELEASE/spring-jcl-5.2.23.RELEASE.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/springframework/spring-jcl/5.2.23.RELEASE/spring-jcl-5.2.23.RELEASE.pom (1.5 kB at 13 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/common/2.31.1/common-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/common/2.31.1/common-2.31.1.pom (2.0 kB at 13 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-actions-package-maven-plugin/2.31.1/o11n-actions-package-maven-plugin-2.31.1.jar
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-actions-package-maven-plugin/2.31.1/o11n-actions-package-maven-plugin-2.31.1.jar (16 kB at 205 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/o11n-project/2.31.1/o11n-project-2.31.1.jar
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/ow2/asm/asm/9.3/asm-9.3.jar
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/net/minidev/json-smart/2.4.9/json-smart-2.4.9.jar
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/net/minidev/accessors-smart/2.4.9/accessors-smart-2.4.9.jar
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/net/minidev/json-smart/2.4.9/json-smart-2.4.9.jar (120 kB at 691 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/springframework/spring-core/5.2.23.RELEASE/spring-core-5.2.23.RELEASE.jar
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/artifact-manager/2.31.1/artifact-manager-2.31.1.jar
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/net/minidev/accessors-smart/2.4.9/accessors-smart-2.4.9.jar (30 kB at 57 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/springframework/spring-jcl/5.2.23.RELEASE/spring-jcl-5.2.23.RELEASE.jar
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/springframework/spring-jcl/5.2.23.RELEASE/spring-jcl-5.2.23.RELEASE.jar (24 kB at 29 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/common/2.31.1/common-2.31.1.jar
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/o11n/o11n-project/2.31.1/o11n-project-2.31.1.jar (21 kB at 26 kB/s)
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/ow2/asm/asm/9.3/asm-9.3.jar (122 kB at 148 kB/s)
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/common/2.31.1/common-2.31.1.jar (31 kB at 36 kB/s)
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/artifact-manager/2.31.1/artifact-manager-2.31.1.jar (684 kB at 579 kB/s)
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/org/springframework/spring-core/5.2.23.RELEASE/spring-core-5.2.23.RELEASE.jar (1.4 MB at 1.2 MB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-xml-package-maven-plugin/2.31.1/o11n-xml-package-maven-plugin-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-xml-package-maven-plugin/2.31.1/o11n-xml-package-maven-plugin-2.31.1.pom (1.7 kB at 8.9 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-typescript-package-maven-plugin/2.31.1/o11n-typescript-package-maven-plugin-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-typescript-package-maven-plugin/2.31.1/o11n-typescript-package-maven-plugin-2.31.1.pom (1.5 kB at 2.1 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-xml-package-maven-plugin/2.31.1/o11n-xml-package-maven-plugin-2.31.1.jar
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-xml-package-maven-plugin/2.31.1/o11n-xml-package-maven-plugin-2.31.1.jar (13 kB at 316 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-typescript-package-maven-plugin/2.31.1/o11n-typescript-package-maven-plugin-2.31.1.jar
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/o11n-typescript-package-maven-plugin/2.31.1/o11n-typescript-package-maven-plugin-2.31.1.jar (20 kB at 320 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/vrealize-package-maven-plugin/2.31.1/vrealize-package-maven-plugin-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/vrealize-package-maven-plugin/2.31.1/vrealize-package-maven-plugin-2.31.1.pom (1.7 kB at 17 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/vrealize-package-maven-plugin/2.31.1/vrealize-package-maven-plugin-2.31.1.jar
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/maven/plugins/vrealize-package-maven-plugin/2.31.1/vrealize-package-maven-plugin-2.31.1.jar (19 kB at 441 kB/s)
[INFO]
[INFO] ---------------< au.com.company.project:vRO8Automation.actions >----------------
[INFO] Building vRO8Automation.actions 1.0.119
[INFO]   from pom.xml
[INFO] ------------------------------[ package ]-------------------------------
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vropkg/2.31.1/vropkg-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vropkg/2.31.1/vropkg-2.31.1.pom (1.4 kB at 2.8 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/npm/lib/2.31.1/lib-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/npm/lib/2.31.1/lib-2.31.1.pom (6.3 kB at 50 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vrotest/2.31.1/vrotest-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vrotest/2.31.1/vrotest-2.31.1.pom (1.3 kB at 21 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/typescript/2.31.1/typescript-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/typescript/2.31.1/typescript-2.31.1.pom (4.3 kB at
84 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vro-scripting-api/2.31.1/vro-scripting-api-2.31.1.pom
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vro-scripting-api/2.31.1/vro-scripting-api-2.31.1.pom (1.3 kB at 6.0 kB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vropkg/2.31.1/vropkg-2.31.1.tgz
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vropkg/2.31.1/vropkg-2.31.1.tgz (4.0 MB at 2.5 MB/s)
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vrotest/2.31.1/vrotest-2.31.1.tgz
Downloading from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vro-scripting-api/2.31.1/vro-scripting-api-2.31.1.tgz
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vro-scripting-api/2.31.1/vro-scripting-api-2.31.1.tgz (16 kB at 24 kB/s)
Downloaded from maven_mirror: https://artifactory.localdomin/artifactory/maven_mirror/com/vmware/pscoe/iac/vrotest/2.31.1/vrotest-2.31.1.tgz (3.4 MB at 3.0 MB/s)
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean-1) @ vRO8Automation.actions ---
[INFO] Deleting C:\vro8automation\actions\target
[INFO]
[INFO] --- vro:2.31.1:clean (default-clean) @ vRO8Automation.actions ---
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ vRO8Automation.actions ---
[INFO]
[INFO] --- vro:2.31.1:install-node-deps (default-install-node-deps) @ vRO8Automation.actions ---
[INFO] Dependency installation started
[INFO] Dependency installation finished
[INFO]
[INFO] --- dependency:3.0.0:copy-dependencies (copy-vro-dependencies) @ vRO8Automation.actions ---
[INFO] Copying vROMocking-1.0.1.package to C:\vro8automation\actions\target\dependency\vro\au.com.company.project.vROMocking-1.0.1.package
[INFO]
[INFO] --- dependency:3.0.0:copy-dependencies (copy-vra-dependencies) @ vRO8Automation.actions ---
[INFO]
[INFO] --- dependency:3.0.0:copy-dependencies (copy-vcd-ng-dependencies) @ vRO8Automation.actions ---
[INFO]
[INFO] --- dependency:3.0.0:copy-dependencies (copy-vra-ng-dependencies) @ vRO8Automation.actions ---
[INFO]
[INFO] --- dependency:3.0.0:copy-dependencies (copy-vrops-dependencies) @ vRO8Automation.actions ---
[INFO]
[INFO] --- dependency:3.0.0:copy-dependencies (copy-vrli-dependencies) @ vRO8Automation.actions ---
[INFO]
[INFO] --- dependency:3.0.0:copy-dependencies (copy-bsc-dependencies) @ vRO8Automation.actions ---
[INFO]
[INFO] --- dependency:3.0.0:copy-dependencies (copy-cs-dependencies) @ vRO8Automation.actions ---
[INFO]
[INFO] --- dependency:3.0.0:copy-dependencies (copy-abx-dependencies) @ vRO8Automation.actions ---
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ vRO8Automation.actions ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 332 resources from src\main\resources to target\classes
[INFO]
[INFO] --- dependency:3.0.0:unpack (unpack-keystore) @ vRO8Automation.actions ---
[INFO] Configured Artifact: com.vmware.pscoe.build:archetype.keystore:3.0.0:zip
[WARNING] The POM for com.vmware.pscoe.build:archetype.keystore:zip:3.0.0 is missing, no dependency information available
[INFO] Unpacking C:\Users\thisuser\.m2\repository\com\vmware\pscoe\build\archetype.keystore\3.0.0\archetype.keystore-3.0.0.zip to C:\vro8automation\actions\target with includes "" and excludes ""
[INFO]
[INFO] --- vro:2.31.1:run-vro-tests (default-run-vro-tests) @ vRO8Automation.actions ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- vro:2.31.1:package (default-package) @ vRO8Automation.actions ---
[INFO] Project basedir: C:\vro8automation\actions
[INFO] Package name 'au.com.company.project.vRO8Automation.actions-1.0.119
[INFO] Building vRO package 'au.com.company.project.vRO8Automation.actions-1.0.119.package' to: C:\vro8automation\actions\target
[INFO] Running vropkg... started
[INFO]
[INFO] C:\vro8automation\actions>node "C:\vro8automation\actions\node_modules\@vmware-pscoe\vropkg\bin\\..\dist\cli.js" --in js --srcPath C:\vro8automation\actions --out flat --destPath C:\vro8automation\actions\target\vropkg --privateKeyPEM target/archetype.keystore-3.0.0/private_key.pem --certificatesPEM target/archetype.keystore-3.0.0/cert.pem --keyPass hidden --version 1.0.119 --packaging package --artifactId vRO8Automation.actions --description "Build Tools for VMware Aria provides development and release management tools for implementing automation solutions
[ERROR] Missing groupId
[INFO] info: Parsing vro javascript project folder path "C:\vro8automation\actions"...
[INFO] info: Using certificate file target/archetype.keystore-3.0.0/private_key.pem
[INFO] info: Using certificate file target/archetype.keystore-3.0.0/cert.pem
[INFO] Running vropkg... finished
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:29 min
[INFO] Finished at: 2023-04-12T10:54:57+10:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:2.31.1:package (default-package) on project vRO8Automation.actions: Fail to move artefact from: C:\vro8automation\actions\target\vropkg\au.com.company.project.vRO8Automation.actions-1.0.119.package to: C:\vro8automation\actions\target\au.com.company.project.vRO8Automation.actions-1.0.119.package: C:\vro8automation\actions\target\vropkg\au.com.company.project.vRO8Automation.actions-1.0.119.package (The system cannot find the file specified) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The terminal process "C:\Program Files\Git\bin\bash.exe '--login', '-c', 'mvn clean package vrealize:push -DincludeDependencies=false -DskipTests -Pvra8-dev -pl actions'" terminated with exit code: 1.

Related issues and PRs

N/A

Additional Context

I suspect this issue is caused by invoking the vropkg.cmd file with a multi-line description. It looks like this truncated the command passed to vropkg and results in the missing groupId.

shim for Array.from() doesn't create copy without mapfn

Description

Array.from() is supposed to create a (shallow) copy, the shim doesn't do that if no map function is provided. This is an issue if the caller expects the original array to be unmodified if elements are pushed to the copy.

Steps to Reproduce

Preconditions: [What are the preconditions to reproduce the issue]

Expected behavior: [What you expect to happen]

A fix could be:

	static arrayFrom(arrayLike: ArrayLike<any>, mapfn?: (v: any, k: number) => any): any[] {
		let array: <any[]>

		if (mapfn) {
			array = arrayLike.map(mapfn);
		}  else {
			array = arrayLike.map(e => e);
                }

		return array;
	}

Actual behavior: [What actually happens]

	static arrayFrom(arrayLike: ArrayLike<any>, mapfn?: (v: any, k: number) => any): any[] {
		let array = <any[]>arrayLike;

		if (mapfn) {
			array = array.map(mapfn);
		}

		return array;
	}

Reproduces how often: [What percentage of the time does it reproduce]

100%

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

packages/ecmascript/src/Shims.ts

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]

All

Environment

Client

  • Build Tools for VMware Aria Version: n/a
  • Visual Studio Code Version: n/a
  • OS Version: n/a

Server

  • vRealize Automation Version: n/a
  • vRealize Orchestrator Version: n/a
  • vRealize Operations Version: n/a
  • vRealize Log Insight Version: n/a

Failure Logs

Related issues and PRs

Additional Context

Package installer fails with error message "400 Bad Request {"status":400,"message":"Unable to extract package from raw data"}"

Description

While pushing the vRO/vRA Package using the installer, The push fails with the below message :
Exception in thread "main" org.springframework.web.client.HttpClientErrorException: 400 Bad Request {"status":400,"message":"Unable to extract package from raw data"}

Steps to Reproduce

  1. Build and create a vRO/vRA package
  2. Try installing it using installer.bat by providing the env.properties file

Expected behavior: The package should be pushed to the environment without any failure

Actual behavior: The push fails in the middle

Reproduces how often: It fails intermittently, I would say 50%.

Affects Build/s: v2.36.0

Environment

Client

  • Build Tools for VMware Aria Version: 2.36.0

Server

  • vRealize Automation Version: 8.11.2.30052 (21452955)

Failure Logs

10:20:11.454 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.tsi.fci.spd.spd-core.actions-11.6.4-SNAPSHOT.package
10:20:20.641 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.tsi.fci.spd.spd-core.workflows-11.6.4-SNAPSHOT.package
Exception in thread "main" org.springframework.web.client.HttpClientErrorException: 400 Bad Request {"status":400,"message":"Unable to extract package from raw data"}
at com.vmware.pscoe.iac.artifact.rest.RestClientFactory$1.handleError(RestClientFactory.java:157)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:709)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:662)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:637)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:558)
at com.vmware.pscoe.iac.artifact.rest.RestClientVro.importPackageForce(RestClientVro.java:294)
at com.vmware.pscoe.iac.artifact.rest.RestClientVro.importPackageWithMerge(RestClientVro.java:255)
at com.vmware.pscoe.iac.artifact.rest.RestClientVro.importPackage(RestClientVro.java:303)
at com.vmware.pscoe.iac.artifact.VroPackageStore.importPackage(VroPackageStore.java:273)
at com.vmware.pscoe.iac.artifact.VroPackageStore.importAllPackages(VroPackageStore.java:205)
at com.vmware.pscoe.iac.artifact.VroPackageStore.importAllPackages(VroPackageStore.java:137)
at com.vmware.pscoe.iac.installer.Installer.main(Installer.java:933)
#################################################################################################
########################################## -- ERROR -- ##########################################
STEP - 5. Vmware installer run
Error - 1
Executed Command -
cmd /c .\installer.bat ....\spdcore-Mucf-s001_environment.properties
########################################## -- ERROR -- ##########################################
#################################################################################################

vra-ng:pull command faillure when import/export tags contains underscore

Description

Running the maven vra-ng:pull command fails when export/import tags on cloud accounts contain underscore

Steps to Reproduce

  1. Have a content.yaml use export/import tags that contain underscore symbol
  2. Run the command: mvn clean package vra-ng:pull -POurProfile -Dlicense.skip -Dlicense.skipAddThirdParty=true -e -X
  3. Watch the error as per failure log below

Preconditions: Have underscores in export/import tags

Expected behavior: pull to be succesful

Actual behavior: command fails as per below

Reproduces how often: 100%

Component/s: maven/plugins/vra-ng

Affects Build/s: 2.32.0, also tested 2.34.0

Environment

Client

  • Build Tools for VMware Aria Version: 2.32.0
  • Visual Studio Code Version: 1.70
  • OS Version: W10

Server

  • vRealize Automation Version: 8.11.1
  • vRealize Orchestrator Version: 8.11.1
  • vRealize Operations Version: n/a
  • vRealize Log Insight Version: n/a

Failure Logs

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\maven\apache-maven-3.6.3
Java version: 1.8.0_281, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_281\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[...]
[INFO] --- license-maven-plugin:2.0.0:add-third-party (manage-licenses) @ automation ---
[DEBUG] Configuring mojo org.codehaus.mojo:license-maven-plugin:2.0.0:add-third-party from plugin realm ClassRealm[plugin>org.codehaus.mojo:license-maven-plugin:2.0.0, parent: sun.misc.Launcher$AppClassLoader@4e25154f]
[DEBUG] Configuring mojo 'org.codehaus.mojo:license-maven-plugin:2.0.0:add-third-party' with basic configurator -->
[DEBUG]   (f) acceptPomPackaging = false
[DEBUG]   (f) bundleThirdPartyPath = META-INF/automation-THIRD-PARTY.txt
[DEBUG]   (f) dependencies = []
[DEBUG]   (f) deployMissingFile = true
[DEBUG]   (s) encoding = UTF-8
[DEBUG]   (f) excludeTransitiveDependencies = true
[DEBUG]   (f) excludedArtifacts = maven-surefire-plugin
[DEBUG]   (f) excludedLicenses = org.codehaus.mojo.license.AbstractAddThirdPartyMojo$ExcludedLicenses@4dadd690
[DEBUG]   (f) excludedScopes = test
[DEBUG]   (f) failIfWarning = false
[DEBUG]   (f) failOnBlacklist = false
[DEBUG]   (f) failOnMissing = false
[DEBUG]   (f) fileTemplate = /org/codehaus/mojo/license/third-party-file.ftl
[DEBUG]   (f) force = false
[DEBUG]   (f) generateBundle = false
[DEBUG]   (f) includeOptional = true
[DEBUG]   (f) includeTransitiveDependencies = true
[DEBUG]   (f) includedLicenses = org.codehaus.mojo.license.AbstractAddThirdPartyMojo$IncludedLicenses@3281dfc2
[DEBUG]   (f) localRepository =       id: local
      url: file:///C:/Users/username/.m2/repository/
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => always]

[DEBUG]   (f) missingFile = C:\Users\username\projects\winvra\automation\src\license\THIRD-PARTY.properties
[DEBUG]   (f) outputDirectory = C:\Users\username\projects\winvra\automation\target\generated-sources\license
[DEBUG]   (f) project = MavenProject: com.company.vrbt.winvra:automation:1.0.0-SNAPSHOT @ C:\Users\username\projects\winvra\automation\pom.xml
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@25673087
[DEBUG]   (f) skipAddThirdParty = true
[DEBUG]   (f) sortArtifactByName = false
[DEBUG]   (f) thirdPartyFilename = THIRD-PARTY
[DEBUG]   (f) useMissingFile = true
[DEBUG]   (f) useRepositoryMissingFiles = true
[DEBUG] -- end configuration --
[INFO] skip flag is on, will skip goal.
[INFO] 
[INFO] --- vra-ng-package-maven-plugin:2.32.0:package (default-package) @ automation ---
[DEBUG] Configuring mojo com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:package from plugin realm ClassRealm[extension>com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0, parent: sun.misc.Launcher$AppClassLoader@4e25154f]
[DEBUG] Configuring mojo 'com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:package' with basic configurator -->
[DEBUG]   (f) directory = C:\Users\username\projects\winvra\automation\target
[DEBUG]   (f) project = MavenProject: com.company.vrbt.winvra:automation:1.0.0-SNAPSHOT @ C:\Users\username\projects\winvra\automation\pom.xml
[DEBUG] -- end configuration --
[INFO] basedir C:\Users\username\projects\winvra\automation
[INFO] Target vRA NG package file C:\Users\username\projects\winvra\automation\target\com.company.vrbt.winvra.automation-1.0.0-SNAPSHOT.vra-ng
[INFO] Packaging vRA NG bundle from: C:\Users\username\projects\winvra\automation\src\main\resources
[DEBUG] Adding to package: content.yaml
[DEBUG] Writing file C:\Users\username\projects\winvra\automation\content.yaml to Zip path ./content.yaml
[INFO] 
[INFO] --- maven-assembly-plugin:2.6:single (make-assembly) @ automation ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=8032300, ConflictMarker.markTime=272900, ConflictMarker.nodeCount=249, ConflictIdSorter.graphTime=132200, ConflictIdSorter.topsortTime=41700, ConflictIdSorter.conflictIdCount=52, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3729100, ConflictResolver.conflictItemCount=126, DefaultDependencyCollector.collectTime=892978200, DefaultDependencyCollector.transformTime=12863300}
[DEBUG] org.apache.maven.plugins:maven-assembly-plugin:jar:2.6
[DEBUG]    com.vmware.pscoe.maven:iac-assembly:jar:2.32.0:runtime
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
[DEBUG]       org.slf4j:slf4j-jdk14:jar:1.5.6:runtime
[DEBUG]          org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]       org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
[DEBUG]       commons-cli:commons-cli:jar:1.2:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]          backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG]    org.apache.maven.shared:maven-common-artifact-filters:jar:1.4:compile
[DEBUG]    org.codehaus.plexus:plexus-interpolation:jar:1.22:compile
[DEBUG]    org.codehaus.plexus:plexus-archiver:jar:3.0.1:compile
[DEBUG]       org.iq80.snappy:snappy:jar:0.3:compile
[DEBUG]    org.apache.maven.shared:file-management:jar:1.1:compile
[DEBUG]    org.apache.maven.shared:maven-shared-io:jar:1.1:compile
[DEBUG]       org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile
[DEBUG]    commons-io:commons-io:jar:2.2:compile
[DEBUG]    org.apache.maven.shared:maven-filtering:jar:1.3:compile
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:0.6:compile
[DEBUG]          com.google.code.findbugs:jsr305:jar:2.0.1:compile
[DEBUG]       org.sonatype.plexus:plexus-build-api:jar:0.0.4:compile
[DEBUG]    org.codehaus.plexus:plexus-io:jar:2.6:compile
[DEBUG]    org.apache.maven:maven-archiver:jar:2.5:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.21:compile
[DEBUG]    org.apache.maven.shared:maven-repository-builder:jar:1.0:compile
[DEBUG]       commons-codec:commons-codec:jar:1.6:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-assembly-plugin:2.6
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-assembly-plugin:2.6
[DEBUG]   Imported:  < project>com.company.vrbt.winvra:automation:1.0.0-SNAPSHOT
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-assembly-plugin:2.6
[DEBUG]   Included: org.apache.maven.plugins:maven-assembly-plugin:jar:2.6
[DEBUG]   Included: com.vmware.pscoe.maven:iac-assembly:jar:2.32.0
[DEBUG]   Included: org.slf4j:slf4j-jdk14:jar:1.5.6
[DEBUG]   Included: org.slf4j:jcl-over-slf4j:jar:1.5.6
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.2.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: commons-cli:commons-cli:jar:1.2
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.22
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:3.0.1
[DEBUG]   Included: org.iq80.snappy:snappy:jar:0.3
[DEBUG]   Included: org.apache.maven.shared:file-management:jar:1.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-io:jar:1.1
[DEBUG]   Included: commons-io:commons-io:jar:2.2
[DEBUG]   Included: org.apache.maven.shared:maven-filtering:jar:1.3
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:0.6
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:2.0.1
[DEBUG]   Included: org.sonatype.plexus:plexus-build-api:jar:0.0.4
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:2.6
[DEBUG]   Included: org.apache.maven:maven-archiver:jar:2.5
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.21
[DEBUG]   Included: org.apache.maven.shared:maven-repository-builder:jar:1.0
[DEBUG]   Included: commons-codec:commons-codec:jar:1.6
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-assembly-plugin:2.6:single from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-assembly-plugin:2.6, parent: sun.misc.Launcher$AppClassLoader@4e25154f]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-assembly-plugin:2.6:single' with basic configurator -->
[DEBUG]   (s) appendAssemblyId = true
[DEBUG]   (f) attach = true
[DEBUG]   (s) basedir = C:\Users\username\projects\winvra\automation
[DEBUG]   (s) descriptorRefs = [iac-assembly]
[DEBUG]   (f) dryRun = false
[DEBUG]   (s) finalName = com.company.vrbt.winvra.automation-1.0.0-SNAPSHOT-local
[DEBUG]   (f) ignoreDirFormatExtensions = true
[DEBUG]   (s) ignoreMissingDescriptor = false
[DEBUG]   (f) ignorePermissions = false
[DEBUG]   (f) includeProjectBuildFilters = true
[DEBUG]   (s) includeSite = false
[DEBUG]   (s) localRepository =       id: local
      url: file:///C:/Users/username/.m2/repository/
   layout: default
snapshots: [enabled => true, update => always]
 releases: [enabled => true, update => always]

[DEBUG]   (f) mavenSession = org.apache.maven.execution.MavenSession@25673087
[DEBUG]   (s) outputDirectory = C:\Users\username\projects\winvra\automation\target
[DEBUG]   (f) project = MavenProject: com.company.vrbt.winvra:automation:1.0.0-SNAPSHOT @ C:\Users\username\projects\winvra\automation\pom.xml
[DEBUG]   (s) reactorProjects = [MavenProject: com.company.vrbt.winvra:automation:1.0.0-SNAPSHOT @ C:\Users\username\projects\winvra\automation\pom.xml]
[DEBUG]   (f) recompressZippedFiles = true
[DEBUG]   (f) remoteRepositories = [      id: nexus
      url: https://nexus.company.com/repository/dev/
   layout: default
snapshots: [enabled => true, update => daily]
 releases: [enabled => true, update => daily]
,       id: central
      url: https://repo.maven.apache.org/maven2
   layout: default
snapshots: [enabled => false, update => daily]
 releases: [enabled => true, update => daily]
]
[DEBUG]   (f) runOnlyAtExecutionRoot = false
[DEBUG]   (s) siteDirectory = C:\Users\username\projects\winvra\automation\target\site
[DEBUG]   (f) skipAssembly = true
[DEBUG]   (s) tarLongFileMode = warn
[DEBUG]   (s) tempRoot = C:\Users\username\projects\winvra\automation\target\archive-tmp
[DEBUG]   (f) updateOnly = false
[DEBUG]   (f) useJvmChmod = false
[DEBUG]   (s) workDirectory = C:\Users\username\projects\winvra\automation\target\assembly\work
[DEBUG] -- end configuration --
[INFO] Assemblies have been skipped per configuration of the skipAssembly parameter.
[INFO] 
[INFO] --- gmavenplus-plugin:1.13.0:execute (calculate-checksums) @ automation ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=107600, ConflictMarker.markTime=55700, ConflictMarker.nodeCount=107, ConflictIdSorter.graphTime=36100, ConflictIdSorter.topsortTime=27000, ConflictIdSorter.conflictIdCount=44, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=400600, ConflictResolver.conflictItemCount=104, DefaultDependencyCollector.collectTime=74286200, DefaultDependencyCollector.transformTime=653200}
[DEBUG] org.codehaus.gmavenplus:gmavenplus-plugin:jar:1.13.0
[DEBUG]    org.codehaus.groovy:groovy:jar:3.0.9:runtime
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:2.0.4:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven.shared:file-management:jar:3.0.0:compile
[DEBUG]       org.apache.maven.shared:maven-shared-io:jar:3.0.0:compile
[DEBUG]          org.apache.maven:maven-compat:jar:3.0:compile
[DEBUG]          org.apache.maven.wagon:wagon-provider-api:jar:2.10:compile
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:3.0.0:compile
[DEBUG]          com.google.code.findbugs:jsr305:jar:2.0.1:compile
[DEBUG]    org.apache.maven:maven-archiver:jar:3.3.0:compile
[DEBUG]       commons-io:commons-io:jar:2.5:compile
[DEBUG]       org.codehaus.plexus:plexus-archiver:jar:3.6.0:compile
[DEBUG]          org.codehaus.plexus:plexus-io:jar:3.0.1:compile
[DEBUG]          org.apache.commons:commons-compress:jar:1.16.1:compile
[DEBUG]             org.objenesis:objenesis:jar:2.6:compile
[DEBUG]          org.iq80.snappy:snappy:jar:0.4:compile
[DEBUG]          org.tukaani:xz:jar:1.8:runtime
[DEBUG]    org.fusesource.jansi:jansi:jar:2.1.0:runtime
[DEBUG]    jline:jline:jar:2.14.6:runtime
[DEBUG]    org.apache.ant:ant:jar:1.10.11:runtime
[DEBUG]       org.apache.ant:ant-launcher:jar:1.10.11:runtime
[DEBUG]       com.sun:tools:jar:1.8.0:system
[DEBUG]    org.apache.ivy:ivy:jar:2.5.0:runtime
[DEBUG] Created new class realm plugin>org.codehaus.gmavenplus:gmavenplus-plugin:1.13.0
[DEBUG] Importing foreign packages into class realm plugin>org.codehaus.gmavenplus:gmavenplus-plugin:1.13.0
[DEBUG]   Imported:  < project>com.company.vrbt.winvra:automation:1.0.0-SNAPSHOT
[DEBUG] Populating class realm plugin>org.codehaus.gmavenplus:gmavenplus-plugin:1.13.0
[DEBUG]   Included: org.codehaus.gmavenplus:gmavenplus-plugin:jar:1.13.0
[DEBUG]   Included: org.codehaus.groovy:groovy:jar:3.0.9
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.4
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven.shared:file-management:jar:3.0.0
[DEBUG]   Included: org.apache.maven.shared:maven-shared-io:jar:3.0.0
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.0.0
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:2.0.1
[DEBUG]   Included: org.apache.maven:maven-archiver:jar:3.3.0
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:3.6.0
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:3.0.1
[DEBUG]   Included: org.apache.commons:commons-compress:jar:1.16.1
[DEBUG]   Included: org.objenesis:objenesis:jar:2.6
[DEBUG]   Included: org.iq80.snappy:snappy:jar:0.4
[DEBUG]   Included: org.tukaani:xz:jar:1.8
[DEBUG]   Included: jline:jline:jar:2.14.6
[DEBUG]   Included: org.apache.ant:ant:jar:1.10.11
[DEBUG]   Included: org.apache.ant:ant-launcher:jar:1.10.11
[DEBUG]   Included: com.sun:tools:jar:1.8.0
[DEBUG]   Included: org.apache.ivy:ivy:jar:2.5.0
[DEBUG] Configuring mojo org.codehaus.gmavenplus:gmavenplus-plugin:1.13.0:execute from plugin realm ClassRealm[plugin>org.codehaus.gmavenplus:gmavenplus-plugin:1.13.0, parent: sun.misc.Launcher$AppClassLoader@4e25154f]
[DEBUG] Configuring mojo 'org.codehaus.gmavenplus:gmavenplus-plugin:1.13.0:execute' with basic configurator -->
[DEBUG]   (f) allowSystemExits = true
[DEBUG]   (f) bindAllProjectProperties = false
[DEBUG]   (f) bindAllSessionUserProperties = false
[DEBUG]   (f) bindPropertiesToSeparateVariables = true
[DEBUG]   (f) bindSessionUserOverrideProperties = false
[DEBUG]   (f) continueExecuting = false
[DEBUG]   (f) includeClasspath = PROJECT_AND_PLUGIN
[DEBUG]   (f) mojoExecution = org.codehaus.gmavenplus:gmavenplus-plugin:1.13.0:execute {execution: calculate-checksums}
[DEBUG]   (f) pluginArtifacts = [org.codehaus.gmavenplus:gmavenplus-plugin:maven-plugin:1.13.0:, org.codehaus.groovy:groovy:jar:3.0.9:runtime, org.apache.maven:maven-plugin-api:jar:3.0:compile, org.apache.maven:maven-artifact:jar:3.0:compile, org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile, org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile, org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile, org.apache.maven:maven-model:jar:3.0:compile, org.codehaus.plexus:plexus-utils:jar:2.0.4:compile, org.apache.maven:maven-core:jar:3.0:compile, org.apache.maven:maven-settings:jar:3.0:compile, org.apache.maven:maven-settings-builder:jar:3.0:compile, org.apache.maven:maven-repository-metadata:jar:3.0:compile, org.apache.maven:maven-model-builder:jar:3.0:compile, org.apache.maven:maven-aether-provider:jar:3.0:runtime, org.sonatype.aether:aether-impl:jar:1.7:compile, org.sonatype.aether:aether-spi:jar:1.7:compile, org.sonatype.aether:aether-api:jar:1.7:compile, org.sonatype.aether:aether-util:jar:1.7:compile, org.codehaus.plexus:plexus-interpolation:jar:1.14:compile, org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile, org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile, org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile, org.sonatype.plexus:plexus-cipher:jar:1.4:compile, org.apache.maven.shared:file-management:jar:3.0.0:compile, org.apache.maven.shared:maven-shared-io:jar:3.0.0:compile, org.apache.maven:maven-compat:jar:3.0:compile, org.apache.maven.wagon:wagon-provider-api:jar:2.10:compile, org.apache.maven.shared:maven-shared-utils:jar:3.0.0:compile, com.google.code.findbugs:jsr305:jar:2.0.1:compile, org.apache.maven:maven-archiver:jar:3.3.0:compile, commons-io:commons-io:jar:2.5:compile, org.codehaus.plexus:plexus-archiver:jar:3.6.0:compile, org.codehaus.plexus:plexus-io:jar:3.0.1:compile, org.apache.commons:commons-compress:jar:1.16.1:compile, org.objenesis:objenesis:jar:2.6:compile, org.iq80.snappy:snappy:jar:0.4:compile, org.tukaani:xz:jar:1.8:runtime, org.fusesource.jansi:jansi:jar:2.1.0:runtime, jline:jline:jar:2.14.6:runtime, org.apache.ant:ant:jar:1.10.11:runtime, org.apache.ant:ant-launcher:jar:1.10.11:runtime, com.sun:tools:jar:1.8.0:system, org.apache.ivy:ivy:jar:2.5.0:runtime]
[DEBUG]   (f) project = MavenProject: com.company.vrbt.winvra:automation:1.0.0-SNAPSHOT @ C:\Users\username\projects\winvra\automation\pom.xml
[DEBUG]   (f) scripts = [import java.io.File;
import java.util.regex.Pattern;
import java.security.MessageDigest;

def shaSum(final file) {
   MessageDigest digest = MessageDigest.getInstance("SHA1")
   file.withInputStream(){is->
   byte[] buffer = new byte[8192]
   int read = 0
      while( (read = is.read(buffer)) > 0) {
             digest.update(buffer, 0, read);
         }
     }
   byte[] md5sum = digest.digest()
   BigInteger bigInt = new BigInteger(1, md5sum)
   bigInt.toString(16).padLeft(40, '0')
}

def checksumFiles(inDir, glob, excludes, appendTo) {
    // find all files in target directory:
    if (excludes && excludes.size() > 0) {
        excludes = excludes.collect { !"".equals(it) ? Pattern.compile(it) : null }; // convert to regex pattern
    }

    def appendToFile = new File(appendTo);
    def parentDir = appendToFile.getParentFile();

    if (!parentDir.exists()) {
        parentDir.mkdirs();
    }

    File targetDir = new File(inDir);
    if (!targetDir.isDirectory()) {
        return -1;
    }

    def patternRegex = glob.replace('*', ".*").replace('?', '.') + '$';
    appendToFile.withWriter('utf-8') {
        writer -> {
            targetDir.traverse(type: groovy.io.FileType.FILES, nameFilter: ~/${patternRegex}/) { it ->
                def excluded = false;
                for (Pattern exclude: excludes) {
                    if (exclude != null && exclude.matcher(it.getAbsolutePath().trim()).find()) {
                        excluded = true;
                        break;
                    }
                }

                if (!excluded) {
                    def shasum = shaSum(it);
                    def relative = targetDir.toURI().relativize(it.toURI()).getPath();
                    def text = shasum + " " + relative + "\n";
                    writer.write (text)
                }
            }
        }
    }
}

def runChecksumFor(definition) {
    def enabled = project.properties["checksum." + definition + "Enabled"];
    if (enabled == "true" || enabled == "1") {
        def findFilesIn = project.properties["checksum."+ definition + "Dir"] ?: "src";
        def globFilter = project.properties["checksum."+ definition + "Glob"] ?: "*";

        // split by ',' to get filtered strings
        def excludeStrings = (project.properties["checksum."+ definition + "Excludes"] ?: "").split(',');

        checksumFiles(findFilesIn, globFilter, excludeStrings, "target/"+ definition + ".sha1");
    }
}

def checksumDefs = project.properties["checksum.definitions"] ?: "";
for (String definition : checksumDefs.split(',')) {
    runChecksumFor(definition);
}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@25673087
[DEBUG]   (f) skipScriptExecution = false
[DEBUG] -- end configuration --
[INFO] Using plugin classloader, includes GMavenPlus and project classpath.
[DEBUG] Plugin classpath:
C:\Users\username\.m2\repository\org\codehaus\gmavenplus\gmavenplus-plugin\1.13.0\gmavenplus-plugin-1.13.0.jar, C:\Users\username\.m2\repository\org\codehaus\groovy\groovy\3.0.9\groovy-3.0.9.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-plugin-api\3.0\maven-plugin-api-3.0.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-artifact\3.0\maven-artifact-3.0.jar, C:\Users\username\.m2\repository\org\sonatype\sisu\sisu-inject-plexus\1.4.2\sisu-inject-plexus-1.4.2.jar, C:\Users\username\.m2\repository\org\sonatype\sisu\sisu-inject-bean\1.4.2\sisu-inject-bean-1.4.2.jar, C:\Users\username\.m2\repository\org\sonatype\sisu\sisu-guice\2.1.7\sisu-guice-2.1.7-noaop.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-model\3.0\maven-model-3.0.jar, C:\Users\username\.m2\repository\org\codehaus\plexus\plexus-utils\2.0.4\plexus-utils-2.0.4.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-core\3.0\maven-core-3.0.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-settings\3.0\maven-settings-3.0.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-settings-builder\3.0\maven-settings-builder-3.0.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-repository-metadata\3.0\maven-repository-metadata-3.0.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-model-builder\3.0\maven-model-builder-3.0.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-aether-provider\3.0\maven-aether-provider-3.0.jar, C:\Users\username\.m2\repository\org\sonatype\aether\aether-impl\1.7\aether-impl-1.7.jar, C:\Users\username\.m2\repository\org\sonatype\aether\aether-spi\1.7\aether-spi-1.7.jar, C:\Users\username\.m2\repository\org\sonatype\aether\aether-api\1.7\aether-api-1.7.jar, C:\Users\username\.m2\repository\org\sonatype\aether\aether-util\1.7\aether-util-1.7.jar, C:\Users\username\.m2\repository\org\codehaus\plexus\plexus-interpolation\1.14\plexus-interpolation-1.14.jar, C:\Users\username\.m2\repository\org\codehaus\plexus\plexus-classworlds\2.2.3\plexus-classworlds-2.2.3.jar, C:\Users\username\.m2\repository\org\codehaus\plexus\plexus-component-annotations\1.5.5\plexus-component-annotations-1.5.5.jar, C:\Users\username\.m2\repository\org\sonatype\plexus\plexus-sec-dispatcher\1.3\plexus-sec-dispatcher-1.3.jar, C:\Users\username\.m2\repository\org\sonatype\plexus\plexus-cipher\1.4\plexus-cipher-1.4.jar, C:\Users\username\.m2\repository\org\apache\maven\shared\file-management\3.0.0\file-management-3.0.0.jar, C:\Users\username\.m2\repository\org\apache\maven\shared\maven-shared-io\3.0.0\maven-shared-io-3.0.0.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-compat\3.0\maven-compat-3.0.jar, C:\Users\username\.m2\repository\org\apache\maven\wagon\wagon-provider-api\2.10\wagon-provider-api-2.10.jar, C:\Users\username\.m2\repository\org\apache\maven\shared\maven-shared-utils\3.0.0\maven-shared-utils-3.0.0.jar, C:\Users\username\.m2\repository\com\google\code\findbugs\jsr305\2.0.1\jsr305-2.0.1.jar, C:\Users\username\.m2\repository\org\apache\maven\maven-archiver\3.3.0\maven-archiver-3.3.0.jar, C:\Users\username\.m2\repository\commons-io\commons-io\2.5\commons-io-2.5.jar, C:\Users\username\.m2\repository\org\codehaus\plexus\plexus-archiver\3.6.0\plexus-archiver-3.6.0.jar, C:\Users\username\.m2\repository\org\codehaus\plexus\plexus-io\3.0.1\plexus-io-3.0.1.jar, C:\Users\username\.m2\repository\org\apache\commons\commons-compress\1.16.1\commons-compress-1.16.1.jar, C:\Users\username\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar, C:\Users\username\.m2\repository\org\iq80\snappy\snappy\0.4\snappy-0.4.jar, C:\Users\username\.m2\repository\org\tukaani\xz\1.8\xz-1.8.jar, C:\Users\username\.m2\repository\org\fusesource\jansi\jansi\2.1.0\jansi-2.1.0.jar, C:\Users\username\.m2\repository\jline\jline\2.14.6\jline-2.14.6.jar, C:\Users\username\.m2\repository\org\apache\ant\ant\1.10.11\ant-1.10.11.jar, C:\Users\username\.m2\repository\org\apache\ant\ant-launcher\1.10.11\ant-launcher-1.10.11.jar, C:\Program Files\Java\jdk1.8.0_281\jre\..\lib\tools.jar, C:\Users\username\.m2\repository\org\apache\ivy\ivy\2.5.0\ivy-2.5.0.jar
[INFO] Using Groovy 3.0.9 to perform execute.
[DEBUG] Project test classpath:
[C:\Users\username\projects\winvra\automation\target\test-classes, C:\Users\username\projects\winvra\automation\target\classes]
[DEBUG] groovy.ant.AntBuilder not available, trying groovy.util.AntBuilder.
[WARNING] Unable to initialize 'ant' with a new AntBuilder object. Is Groovy a dependency?  If you are using Groovy >= 2.3.0-rc-1, remember to include groovy-ant as a dependency.
[INFO] 
[INFO] --- vra-ng-package-maven-plugin:2.32.0:pull (default-cli) @ automation ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=94000, ConflictMarker.markTime=50300, ConflictMarker.nodeCount=95, ConflictIdSorter.graphTime=87000, ConflictIdSorter.topsortTime=33100, ConflictIdSorter.conflictIdCount=54, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=663200, ConflictResolver.conflictItemCount=90, DefaultDependencyCollector.collectTime=4904700, DefaultDependencyCollector.transformTime=982400}
[DEBUG] com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:jar:2.32.0
[DEBUG]    com.vmware.pscoe.iac:artifact-manager:jar:2.32.0:compile
[DEBUG]       org.springframework:spring-web:jar:4.3.25.RELEASE:compile
[DEBUG]          org.springframework:spring-aop:jar:4.3.25.RELEASE:compile
[DEBUG]          org.springframework:spring-beans:jar:4.3.25.RELEASE:compile
[DEBUG]          org.springframework:spring-context:jar:4.3.25.RELEASE:compile
[DEBUG]             org.springframework:spring-expression:jar:4.3.25.RELEASE:compile
[DEBUG]       org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[DEBUG]          commons-logging:commons-logging:jar:1.2:compile
[DEBUG]          commons-codec:commons-codec:jar:1.11:compile
[DEBUG]       com.jayway.jsonpath:json-path:jar:2.4.0:compile
[DEBUG]       com.google.code.gson:gson:jar:2.8.9:compile
[DEBUG]       com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.7:compile
[DEBUG]          org.yaml:snakeyaml:jar:1.27:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-core:jar:2.12.7:compile
[DEBUG]       com.fasterxml.jackson.core:jackson-databind:jar:2.12.7.1:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-annotations:jar:2.12.7:compile
[DEBUG]       org.apache.commons:commons-lang3:jar:3.9:compile
[DEBUG]       org.apache.commons:commons-text:jar:1.10.0:compile
[DEBUG]       org.apache.logging.log4j:log4j-slf4j-impl:jar:2.17.1:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.29:compile
[DEBUG]       net.minidev:json-smart:jar:2.4.10:compile
[DEBUG]          net.minidev:accessors-smart:jar:2.4.9:compile
[DEBUG]             org.ow2.asm:asm:jar:9.3:compile
[DEBUG]       org.apache.httpcomponents:httpcore:jar:4.4.12:compile
[DEBUG]       org.springframework:spring-core:jar:5.2.24.RELEASE:compile
[DEBUG]          org.springframework:spring-jcl:jar:5.2.24.RELEASE:compile
[DEBUG]       commons-io:commons-io:jar:2.7:compile
[DEBUG]       com.jcraft:jsch:jar:0.1.55:compile
[DEBUG]    com.vmware.pscoe.maven.plugins:common:jar:2.32.0:compile
[DEBUG]       com.google.guava:guava:jar:31.1-jre:compile
[DEBUG]          com.google.guava:failureaccess:jar:1.0.1:compile
[DEBUG]          com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[DEBUG]          com.google.code.findbugs:jsr305:jar:3.0.2:compile
[DEBUG]          org.checkerframework:checker-qual:jar:3.12.0:compile
[DEBUG]          com.google.errorprone:error_prone_annotations:jar:2.11.0:compile
[DEBUG]          com.google.j2objc:j2objc-annotations:jar:1.3:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]          backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.5.15:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.apache.logging.log4j:log4j-core:jar:2.17.1:compile
[DEBUG]       org.apache.logging.log4j:log4j-api:jar:2.17.1:compile
[DEBUG] Created new class realm plugin>com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0
[DEBUG] Importing foreign packages into class realm plugin>com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0
[DEBUG]   Imported:  < project>com.company.vrbt.winvra:automation:1.0.0-SNAPSHOT
[DEBUG] Populating class realm plugin>com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0
[DEBUG]   Included: com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:jar:2.32.0
[DEBUG]   Included: com.vmware.pscoe.iac:artifact-manager:jar:2.32.0
[DEBUG]   Included: org.springframework:spring-web:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-aop:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-beans:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-context:jar:4.3.25.RELEASE
[DEBUG]   Included: org.springframework:spring-expression:jar:4.3.25.RELEASE
[DEBUG]   Included: org.apache.httpcomponents:httpclient:jar:4.5.13
[DEBUG]   Included: commons-logging:commons-logging:jar:1.2
[DEBUG]   Included: commons-codec:commons-codec:jar:1.11
[DEBUG]   Included: com.jayway.jsonpath:json-path:jar:2.4.0
[DEBUG]   Included: com.google.code.gson:gson:jar:2.8.9
[DEBUG]   Included: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.7
[DEBUG]   Included: org.yaml:snakeyaml:jar:1.27
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-core:jar:2.12.7
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-databind:jar:2.12.7.1
[DEBUG]   Included: com.fasterxml.jackson.core:jackson-annotations:jar:2.12.7
[DEBUG]   Included: org.apache.commons:commons-lang3:jar:3.9
[DEBUG]   Included: org.apache.commons:commons-text:jar:1.10.0
[DEBUG]   Included: org.apache.logging.log4j:log4j-slf4j-impl:jar:2.17.1
[DEBUG]   Included: net.minidev:json-smart:jar:2.4.10
[DEBUG]   Included: net.minidev:accessors-smart:jar:2.4.9
[DEBUG]   Included: org.ow2.asm:asm:jar:9.3
[DEBUG]   Included: org.apache.httpcomponents:httpcore:jar:4.4.12
[DEBUG]   Included: org.springframework:spring-core:jar:5.2.24.RELEASE
[DEBUG]   Included: org.springframework:spring-jcl:jar:5.2.24.RELEASE
[DEBUG]   Included: commons-io:commons-io:jar:2.7
[DEBUG]   Included: com.jcraft:jsch:jar:0.1.55
[DEBUG]   Included: com.vmware.pscoe.maven.plugins:common:jar:2.32.0
[DEBUG]   Included: com.google.guava:guava:jar:31.1-jre
[DEBUG]   Included: com.google.guava:failureaccess:jar:1.0.1
[DEBUG]   Included: com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:3.0.2
[DEBUG]   Included: org.checkerframework:checker-qual:jar:3.12.0
[DEBUG]   Included: com.google.errorprone:error_prone_annotations:jar:2.11.0
[DEBUG]   Included: com.google.j2objc:j2objc-annotations:jar:1.3
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.15
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.apache.logging.log4j:log4j-core:jar:2.17.1
[DEBUG]   Included: org.apache.logging.log4j:log4j-api:jar:2.17.1
[DEBUG] Configuring mojo com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:pull from plugin realm ClassRealm[plugin>com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0, parent: sun.misc.Launcher$AppClassLoader@4e25154f]
[DEBUG] Configuring mojo 'com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:pull' with basic configurator -->
[DEBUG]   (f) dryrun = false
[DEBUG]   (f) ignoreSslCertificate = true
[DEBUG]   (f) ignoreSslHostname = true
[DEBUG]   (f) keystoreCert = C:\.keystore\cert.pem
[DEBUG]   (f) keystorePassword = [snip]
[DEBUG]   (f) privateKeyPem = C:\.keystore\private_key.pem
[DEBUG]   (f) project = MavenProject: com.company.vrbt.winvra:automation:1.0.0-SNAPSHOT @ C:\Users\username\projects\winvra\automation\pom.xml
[DEBUG]   (f) ssh = {}
[DEBUG]   (f) vcd = {}
[DEBUG]   (f) vra = {}
[DEBUG]   (f) vrang = {bp.release=null, cloud.proxy.name=null, csp.host=null, data.collection.delay.seconds=null, host=platformselfservice.company.com, import.timeout=null, org.id=null, org.name=bevril10, password=null, port=443, project.id=null, project.name=PSO - Compute MSFT, proxy=null, refresh.token=null, serverId=pusername, username=null, vro.integration=null}
[DEBUG]   (f) vrli = {}
[DEBUG]   (f) vro = {}
[DEBUG]   (f) vrops = {}
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@60a99f3d
[DEBUG] -- end configuration --
[INFO] Reading config for type : VRANG
[INFO] Searching for Package Store for type VRANG
[INFO] Detected ConfigurationVraNg
[WARNING] SSL: You are now ignoring certificate verification.
[WARNING] SSL: You are now ignoring hostname verification.
[INFO] Request URL: https://platformselfservice.company.com/vco/api/about
[INFO] Acquiring refresh token with credentials
[INFO] Auth URL: https://platformselfservice.company.com:443/csp/gateway/am/api/login?access_token
[DEBUG] Detected domain 'company.corp'
[DEBUG] Evaluating path: $['refresh_token']
[INFO] Token URI: https://platformselfservice.company.com:443/csp/gateway/am/api/auth/api-tokens/authorize
[DEBUG] Evaluating path: $['expires_in']
[DEBUG] Evaluating path: $['access_token']
[DEBUG] Evaluating path: $['token_type']
[DEBUG] Evaluating path: $['version']
[DEBUG] Product version: 8.11.1.21287061
[DEBUG] Targeted version: 8.12.0.21583018
[DEBUG] Is greater: false
[INFO] Creating configuration for VRA NG
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.640 s
[INFO] Finished at: 2023-07-12T10:28:41+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:pull (default-cli) on project automation: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:pull failed: Unable to load vRA Package Descriptor[C:\Users\username\projects\winvra\automation\content.yaml]: while parsing a block mapping
[ERROR]  in 'reader', line 25, column 1:
[ERROR]     blueprint: 
[ERROR]     ^
[ERROR] expected <block end>, but found '<block sequence start>'
[ERROR]  in 'reader', line 37, column 3:
[ERROR]       - Windows 10
[ERROR]       ^
[ERROR] 
[ERROR]  at [Source: (File); line: 36, column: 18]
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:pull (default-cli) on project automation: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:pull failed: Unable to load vRA Package Descriptor[C:\Users\username\projects\winvra\automation\content.yaml]
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:pull failed: Unable to load vRA Package Descriptor[C:\Users\username\projects\winvra\automation\content.yaml]
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: java.lang.RuntimeException: Unable to load vRA Package Descriptor[C:\Users\username\projects\winvra\automation\content.yaml]
    at com.vmware.pscoe.iac.artifact.model.vrang.VraNgPackageDescriptor.getInstance (VraNgPackageDescriptor.java:205)
    at com.vmware.pscoe.iac.artifact.VraNgPackageStore.exportPackage (VraNgPackageStore.java:230)
    at com.vmware.pscoe.maven.plugins.PullMojo.execute (PullMojo.java:60)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException: while parsing a block mapping
 in 'reader', line 25, column 1:
    blueprint: 
    ^
expected <block end>, but found '<block sequence start>'
 in 'reader', line 37, column 3:
      - Windows 10
      ^

 at [Source: (File); line: 36, column: 18]
    at com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException.from (MarkedYAMLException.java:28)
    at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken (YAMLParser.java:407)
    at com.fasterxml.jackson.core.JsonParser.nextFieldName (JsonParser.java:986)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize (BeanDeserializer.java:332)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize (BeanDeserializer.java:188)
    at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue (DefaultDeserializationContext.java:322)
    at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose (ObjectMapper.java:4593)
    at com.fasterxml.jackson.databind.ObjectMapper.readValue (ObjectMapper.java:3413)
    at com.vmware.pscoe.iac.artifact.model.vrang.VraNgPackageDescriptor.getInstance (VraNgPackageDescriptor.java:200)
    at com.vmware.pscoe.iac.artifact.VraNgPackageStore.exportPackage (VraNgPackageStore.java:230)
    at com.vmware.pscoe.maven.plugins.PullMojo.execute (PullMojo.java:60)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
 in 'reader', line 25, column 1:
    blueprint: 
    ^
expected <block end>, but found '<block sequence start>'
 in 'reader', line 37, column 3:
      - Windows 10
      ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce (ParserImpl.java:570)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent (ParserImpl.java:158)
    at org.yaml.snakeyaml.parser.ParserImpl.getEvent (ParserImpl.java:168)
    at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken (YAMLParser.java:403)
    at com.fasterxml.jackson.core.JsonParser.nextFieldName (JsonParser.java:986)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize (BeanDeserializer.java:332)
    at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize (BeanDeserializer.java:188)
    at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue (DefaultDeserializationContext.java:322)
    at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose (ObjectMapper.java:4593)
    at com.fasterxml.jackson.databind.ObjectMapper.readValue (ObjectMapper.java:3413)
    at com.vmware.pscoe.iac.artifact.model.vrang.VraNgPackageDescriptor.getInstance (VraNgPackageDescriptor.java:200)
    at com.vmware.pscoe.iac.artifact.VraNgPackageStore.exportPackage (VraNgPackageStore.java:230)
    at com.vmware.pscoe.maven.plugins.PullMojo.execute (PullMojo.java:60)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

vro authentication failure with vro.auth=vra

Description

When using vra auth with username and password stored in a server stanza in the settings.xml this fails. The vra auth splits username and domain on the first @ character in the username. In our environment we use a full eMail address as username (active directory userPrincipalName), because this is the only field that uniquely identifies the user in the company. So a full username becomes user@[email protected]

Steps to Reproduce

create a user with an @ in the username
try setting up vRBT for vro with vra auth

Preconditions:

Expected behavior:

The code in common/artifact-manager/src/main/java/com/vmware/pscoe/iac/artifact/configuration/Configuration.java that splits the username from the domain uses the first @ for the split, while in fact it should use the last @

Actual behavior:

The code in common/artifact-manager/src/main/java/com/vmware/pscoe/iac/artifact/configuration/Configuration.java that splits the username from the domain uses the first @ for the split, while in fact it should use the last @

leverage String.lastIndexOf('@')

Reproduces how often:

100%

Component/s:

The code in common/artifact-manager/src/main/java/com/vmware/pscoe/iac/artifact/configuration/Configuration.java:

    public String getUsername() {
        String username = this.properties.getProperty(USERNAME);
        return StringUtils.isEmpty(username) ? username : username.replaceAll("@.*", "");
    }

    public String getDomain() {
        String username = this.properties.getProperty(USERNAME);
        return StringUtils.isEmpty(username) ? username
                : (username.indexOf("@") > 0 ? username.substring(username.indexOf("@") + 1) : null);
    }

maybe fix as:

    public String getUsername() {
        String username = this.properties.getProperty(USERNAME);
        return StringUtils.isEmpty(username) ? username
               : (username.indexOf("@") > 0 ?  username.substring(0, username.lastIndexOf("@")) : username);
    }

    public String getDomain() {
        String username = this.properties.getProperty(USERNAME);
        return StringUtils.isEmpty(username) ? username
                : (username.indexOf("@") > 0 ? username.substring(username.lastIndexOf("@") + 1) : null);
    }

Affects Build/s:

2.30.0 and up

Environment

Client

  • Build Tools for VMware Aria Version: 2.30.0 / 2.31.0
  • Visual Studio Code Version: n/a
  • OS Version: macOs 13.2.1 / rhel 8 / win 10

Server

  • vRealize Automation Version: 8.11
  • vRealize Orchestrator Version: 8.11
  • vRealize Operations Version: n/a
  • vRealize Log Insight Version: n/a

Failure Logs

Related issues and PRs

Additional Context

vro:pull command for legacy archetype fails when workflow folder path name contains character &

Description

When running a vro:pull command on legacy workflow archetype, if those workflows paths name contains the & character, the pull command will faill with the log below

Steps to Reproduce

  1. Have a vro package containing workflows which paths names (folder name) include the &
  2. Try a vro:pull command of that package
  3. See the maven vro:pull command fails

Preconditions: Have the "&" character in the workflow folder path name

Expected behavior: vRBT to handle this character as any other character and succeed

Actual behavior: It fails when running the vro:pull command

Reproduces how often: 100%

Component/s: maven/plugins/vropkg

Affects Build/s: 2.32.0

Environment

Client

  • Build Tools for VMware Aria Version: 2.32.0
  • Visual Studio Code Version: 1.70
  • OS Version: W10

Server

  • vRealize Automation Version: 8.11.1
  • vRealize Orchestrator Version: 8.11.1
  • vRealize Operations Version: n/a
  • vRealize Log Insight Version: n/a

Failure Logs

[INFO] C:\Users\username\projects\windows_vra_catalog\legacy\workflows>node "C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\bin\\..\dist\cli.js" --in flat --srcPath C:\Users\LADM_T~1\AppData\Local\Temp\2\vro-xml-pull1906541284324290868\com.company.vrbt.winvra.legacy-1.0.0-SNAPSHOT.package --out tree --destPath C:\Users\username\projects\windows_vra_catalog\legacy\workflows --privateKeyPEM C:\.keystore\private_key.pem --certificatesPEM C:\.keystore\cert.pem --keyPass VMware1! --version 1.0.0-SNAPSHOT --packaging package --artifactId legacy --description "Build Tools for VMware Aria provides development and release management tools for implementing automation solutions                 based on the VMware Aria Suite and VMware Cloud Director. The solution enables Virtual Infrastructure Administrators and                  Automation Developers to use standard DevOps practices for managing and deploying content." --groupId com.company.vrbt.winvra
[INFO] info: Extracting package C:\Users\LADM_T~1\AppData\Local\Temp\2\vro-xml-pull1906541284324290868\com.company.vrbt.winvra.legacy-1.0.0-SNAPSHOT.package to "C:\Users\username\projects\windows_vra_catalog\legacy\workflows" folder...
[ERROR] C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\dist\serialize\tree.js:85
[ERROR]         : element.categoryPath.map(c => c.replace(/\./g, "/."));
[ERROR]                                           ^
[ERROR]
[ERROR] TypeError: Cannot read properties of undefined (reading 'replace')
[ERROR]     at C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\dist\serialize\tree.js:85:43
[ERROR]     at Array.map (<anonymous>)
[ERROR]     at C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\dist\serialize\tree.js:85:32
[ERROR]     at Generator.next (<anonymous>)
[ERROR]     at C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\dist\serialize\tree.js:8:71
[ERROR]     at new Promise (<anonymous>)
[ERROR]     at __awaiter (C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\dist\serialize\tree.js:4:12)
[ERROR]     at serializeTreeElement (C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\dist\serialize\tree.js:73:52)
[ERROR]     at C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\dist\serialize\tree.js:118:37
[ERROR]     at Array.forEach (<anonymous>)
[ERROR]     at Object.serializeTree (C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\dist\serialize\tree.js:118:18)
[ERROR]     at C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\dist\cli.js:124:24
[ERROR]     at Generator.next (<anonymous>)
[ERROR]     at fulfilled (C:\Users\username\projects\windows_vra_catalog\legacy\workflows\node_modules\@vmware-pscoe\vropkg\dist\cli.js:5:58)
[INFO] Running vropkg... finished
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for legacy-all 1.0.0-SNAPSHOT:
[INFO] 
[INFO] legacy.actions ..................................... SUCCESS [01:36 min]
[INFO] legacy ............................................. FAILURE [01:21 min]
[INFO] legacy-all ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:36 min
[INFO] Finished at: 2023-09-05T15:27:42+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:o11n-xml-package-maven-plugin:2.35.0:pull (default-cli) on project legacy: Running vropkg... failed with code 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :legacy

Unable to omit 'region-mapping' from the content.yaml

I want to extract only a portion of the vRA 8 content to the Visual Studio Code project, so in the content.yaml I specified:

region-mapping: []

However when I do so, the following error results when I pull:

[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.31.1:pull (default-cli) on project test: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.31.1:pull failed: Unable to load vRA Package Descriptor[E:\Users\xxx\repositories\temp\test\content.yaml]: Cannot deserialize value of type com.vmware.pscoe.iac.artifact.model.vrang.VraNgRegionMapping from Array value (token JsonToken.START_ARRAY)
[ERROR] at [Source: (File); line: 32, column: 17] (through reference chain: com.vmware.pscoe.iac.artifact.model.vrang.VraNgPackageDescriptor["region-mapping"])
[ERROR] -> [Help 1]

So, it seems that the Build Tools currently cannot handle an empty array for region-mapping.
When I comment out this line, by default I get a lot of files that I do not want in my project.

Can you please update the Build Tools to accept an empty array everywhere, to avoid pulling files that are not desired?

Thanks, Roberto

Failed to pull action

Description

When pulling a package from vRO actions using the toolchain we receive the following error:

Error [ERROR] C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:651
[ERROR] er = new Error(er)

Steps to Reproduce

  1. Import attached action into vRO
  2. Run mvn commands to initialize the environment
  3. Run mvn commands to push the package to vRO
  4. Add the action to the package
  5. Run the mvn comand to pull the package

Preconditions: [What are the preconditions to reproduce the issue]
Import the attached action

Expected behavior: [What you expect to happen]
The action should exist in the action/src folder in vsCode

Actual behavior: [What actually happens]
It fails to import the action with the following error:
mvn vro:pull -Pdev-region1 -pl actions
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...false\u222b\n </... @114:23) @ C:\Users\student3.m2\settings.xml, line 114, column 23
[WARNING]
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for starfleet.srm:team2_student3.actions:package:1.0.0-SNAPSHOT
[WARNING] 'parent.relativePath' of POM starfleet.srm:team2_student3.actions:1.0.0-SNAPSHOT (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\pom.xml) points at starfleet.srm:team2_student3-all instead of com.vmware.pscoe.o11n:actions-package, please verify your project structure @ line 5, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ----------------< starfleet.srm:team2_student3.actions >----------------
[INFO] Building team2_student3.actions 1.0.0-SNAPSHOT
[INFO] from pom.xml
[INFO] ------------------------------[ package ]-------------------------------
[INFO]
[INFO] --- vro:2.35.1:pull (default-cli) @ team2_student3.actions ---
[INFO] Reading config for type : VRO
Oct 13, 2023 2:29:54 PM com.vmware.pscoe.iac.artifact.configuration.ConfigurationVro validate
INFO: Checking if exists refresh token
Oct 13, 2023 2:29:54 PM com.vmware.pscoe.iac.artifact.configuration.ConfigurationVro validate
INFO: Refresh token not detected using BASIC Authentication
[INFO] Refresh token not detected. Checking username and password on configuration
[INFO] Searching for Package Store for type VRO
[INFO] Detected ConfigurationVro
[WARNING] SSL: You are now ignoring certificate verification.
[WARNING] SSL: You are now ignoring hostname verification.
[INFO] Authentication strategy: 'VRA'
[INFO] Detecting vRO Server version '8.13.0.22124027'.
[INFO] Package | EXPORT | starfleet.srm.team2_student3.actions-1.0.0-SNAPSHOT.package
About to copy the file
C:\Users\student3\AppData\Local\Temp\3\vro-js-pull3569065046268057569\starfleet.srm.team2_student3.actions-1.0.0-SNAPSHOT.package
File copied.[INFO] Running vropkg... started
[INFO]
[INFO] C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions>node "C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\bin\..\dist\cli.js" --in flat --srcPath C:\Users\student3\AppData\Local\Temp\3\vro-js-pull3569065046268057569\starfleet.srm.team2_student3.actions-1.0.0-SNAPSHOT.package --out js --destPath C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions --privateKeyPEM target/archetype.keystore-2.0.1/private_key.pem --certificatesPEM target/archetype.keystore-2.0.1/cert.pem --keyPass VMware1! --version 1.0.0-SNAPSHOT --packaging package --artifactId team2_student3.actions --description "Build Tools for VMware Aria provides development and release management tools for implementing automation solutions based on the VMware Aria Suite and VMware Cloud Director. The solution enables Virtual Infrastructure Administrators and Automation Developers to use standard DevOps practices for managing and deploying content." --groupId starfleet.srm
[INFO] info: Extracting package C:\Users\student3\AppData\Local\Temp\3\vro-js-pull3569065046268057569\starfleet.srm.team2_student3.actions-1.0.0-SNAPSHOT.package to "C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions" folder...
[INFO] data is not xml file
[INFO] data is not xml file
[ERROR] C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:651
[ERROR] er = new Error(er)
[ERROR] ^
[ERROR]
[ERROR] Error: Non-whitespace before first tag.
[ERROR] Line: 0
[ERROR] Column: 1
[ERROR] Char: v
[ERROR] at error (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:651:10)
[ERROR] at strictFail (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:677:7)
[ERROR] at beginWhiteSpace (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:951:7)
[ERROR] at SAXParser.write (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:1006:11)
[ERROR] at new XmlDocument (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\xmldoc\lib\xmldoc.js:301:19)
[ERROR] at exports.xml (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\util.js:13:25)
[ERROR] at C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:65:27
[ERROR] at Generator.next ()
[ERROR] at C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:8:71
[ERROR] at new Promise ()
[ERROR] at __awaiter (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:4:12)
[ERROR] at parseFlatElement (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:21:47)
[ERROR] at C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:101:22
[ERROR] at Array.map ()
[ERROR] at C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:101:10
[ERROR] at Generator.next ()
[ERROR]
[ERROR] Node.js v18.17.1
[INFO] Running vropkg... finished
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.171 s
[INFO] Finished at: 2023-10-13T14:29:58-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:2.35.1:pull (default-cli) on project team2_student3.actions: Running vropkg... failed with code 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Reproduces how often: [What percentage of the time does it reproduce]
Every time

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]
mvn pull

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]
2.35.1, 2.34.0

Environment

Windows
vRO 8.12

Client

  • Build Tools for VMware Aria Version: 2.35.1
  • Visual Studio Code Version:1.82.2
  • OS Version:Windows 10

Server

  • vRealize Automation Version: 8.12
  • vRealize Orchestrator Version: 8.12
  • vRealize Operations Version:
  • vRealize Log Insight Version:

Failure Logs

mvn vro:pull -Pdev-region1 -pl actions
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...false\u222b\n </... @114:23) @ C:\Users\student3.m2\settings.xml, line 114, column 23
[WARNING]
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for starfleet.srm:team2_student3.actions:package:1.0.0-SNAPSHOT
[WARNING] 'parent.relativePath' of POM starfleet.srm:team2_student3.actions:1.0.0-SNAPSHOT (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\pom.xml) points at starfleet.srm:team2_student3-all instead of com.vmware.pscoe.o11n:actions-package, please verify your project structure @ line 5, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ----------------< starfleet.srm:team2_student3.actions >----------------
[INFO] Building team2_student3.actions 1.0.0-SNAPSHOT
[INFO] from pom.xml
[INFO] ------------------------------[ package ]-------------------------------
[INFO]
[INFO] --- vro:2.35.1:pull (default-cli) @ team2_student3.actions ---
[INFO] Reading config for type : VRO
Oct 13, 2023 2:29:54 PM com.vmware.pscoe.iac.artifact.configuration.ConfigurationVro validate
INFO: Checking if exists refresh token
Oct 13, 2023 2:29:54 PM com.vmware.pscoe.iac.artifact.configuration.ConfigurationVro validate
INFO: Refresh token not detected using BASIC Authentication
[INFO] Refresh token not detected. Checking username and password on configuration
[INFO] Searching for Package Store for type VRO
[INFO] Detected ConfigurationVro
[WARNING] SSL: You are now ignoring certificate verification.
[WARNING] SSL: You are now ignoring hostname verification.
[INFO] Authentication strategy: 'VRA'
[INFO] Detecting vRO Server version '8.13.0.22124027'.
[INFO] Package | EXPORT | starfleet.srm.team2_student3.actions-1.0.0-SNAPSHOT.package
About to copy the file
C:\Users\student3\AppData\Local\Temp\3\vro-js-pull3569065046268057569\starfleet.srm.team2_student3.actions-1.0.0-SNAPSHOT.package
File copied.[INFO] Running vropkg... started
[INFO]
[INFO] C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions>node "C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\bin\..\dist\cli.js" --in flat --srcPath C:\Users\student3\AppData\Local\Temp\3\vro-js-pull3569065046268057569\starfleet.srm.team2_student3.actions-1.0.0-SNAPSHOT.package --out js --destPath C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions --privateKeyPEM target/archetype.keystore-2.0.1/private_key.pem --certificatesPEM target/archetype.keystore-2.0.1/cert.pem --keyPass VMware1! --version 1.0.0-SNAPSHOT --packaging package --artifactId team2_student3.actions --description "Build Tools for VMware Aria provides development and release management tools for implementing automation solutions based on the VMware Aria Suite and VMware Cloud Director. The solution enables Virtual Infrastructure Administrators and Automation Developers to use standard DevOps practices for managing and deploying content." --groupId starfleet.srm
[INFO] info: Extracting package C:\Users\student3\AppData\Local\Temp\3\vro-js-pull3569065046268057569\starfleet.srm.team2_student3.actions-1.0.0-SNAPSHOT.package to "C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions" folder...
[INFO] data is not xml file
[INFO] data is not xml file
[ERROR] C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:651
[ERROR] er = new Error(er)
[ERROR] ^
[ERROR]
[ERROR] Error: Non-whitespace before first tag.
[ERROR] Line: 0
[ERROR] Column: 1
[ERROR] Char: v
[ERROR] at error (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:651:10)
[ERROR] at strictFail (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:677:7)
[ERROR] at beginWhiteSpace (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:951:7)
[ERROR] at SAXParser.write (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\sax\lib\sax.js:1006:11)
[ERROR] at new XmlDocument (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\node_modules\xmldoc\lib\xmldoc.js:301:19)
[ERROR] at exports.xml (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\util.js:13:25)
[ERROR] at C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:65:27
[ERROR] at Generator.next ()
[ERROR] at C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:8:71
[ERROR] at new Promise ()
[ERROR] at __awaiter (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:4:12)
[ERROR] at parseFlatElement (C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:21:47)
[ERROR] at C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:101:22
[ERROR] at Array.map ()
[ERROR] at C:\dev\team2\rp-science-ariaa8n\srm\team2_student3\actions\node_modules@vmware-pscoe\vropkg\dist\parse\flat.js:101:10
[ERROR] at Generator.next ()
[ERROR]
[ERROR] Node.js v18.17.1
[INFO] Running vropkg... finished
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.171 s
[INFO] Finished at: 2023-10-13T14:29:58-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:2.35.1:pull (default-cli) on project team2_student3.actions: Running vropkg... failed with code 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Related issues and PRs

Additional Context

see attachment
starfleet.srm.team2_student3.actions-1.0.0-SNAPSHOT.zip

vROPs default policy feature not working with version 2.36.0

vROPs default policy feature has been introduced in 2.36.0, but this is not working.

vROPS Version: 8.12.1 (22481587)

Error during content pull:-
vROps Pull Plugin: Executing in Project Base: "C:\Dev\Repo\cwd_vrops\vrops"
ject cwd_vrops.vrops: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrops-package-maven-plugin:2.36.0:pull failed: Unable to load vROps Package Descriptor [C:\Dev\Repo\cwd_vrops\vrops\content.yaml]: Cannot deserialize value of type java.lang.String from Array value (token JsonToken.START_ARRAY)
[ERROR] at [Source: (File); line: 59, column: 3] (through reference chain: com.vmware.pscoe.iac.artifact.model.vrops.VropsPackageDescriptor["default-policy"])

Steps to Reproduce

  1. add default-policy: in content.yaml and specify the default policy.
  2. try to build\pull\push the package, above error appears.

Reproduces how often: Every time.
Component/s: vROPS

Affects Build/s: 2.36.0

Client

  • Build Tools for VMware Aria Version:
  • Visual Studio Code Version:
  • OS Version:

Server

  • vRealize Operations Version: 8.12.1 (22481587)

Failure Logs

vROps Pull Plugin: Executing in Project Base: "C:\Dev\Repo\cwd_vrops\vrops"
ject cwd_vrops.vrops: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrops-package-maven-plugin:2.36.0:pull failed: Unable to load vROps Package Descriptor [C:\Dev\Repo\cwd_vrops\vrops\content.yaml]: Cannot deserialize value of type java.lang.String from Array value (token JsonToken.START_ARRAY)
[ERROR] at [Source: (File); line: 59, column: 3] (through reference chain: com.vmware.pscoe.iac.artifact.model.vrops.VropsPackageDescriptor["default-policy"])

Upgrade to new TS version

Description

Original request: vmware/vrealize-developer-tools#132

From time to time I find myself writing sound typescript code only to be stumped when building the project.

As I understand it the vrotsc is based on a much older typescript version than the one included in VS Code.
In VS Code I have now version 5.1.3

and when looking at the vrotsc code it seems to be based of version 3.8.3

Would it be possible to present this infomation or perhaps download the correct version in order for the Intellisense to match the transpile step?

Example

Today I tried to use Template literal types.

With the default typescript in vscode
image

All seems well until I build the project and it fails with.
image

But if I manually install and use typescript version 3.8.3
The Intellisense shows it is not valid.
image

Config element mocking is broken in BT 2.34.0

Description

@Michaelpalacce it seems you actually broke more than you fixed. Following test (demo.test.ts) works as expected in 2.33.0, but throws in 2.34.0:

Steps to Reproduce

function getConfigurationElementByPath (path: string, name: string): ConfigurationElement {
  const configurationElementCategory = Server.getConfigurationElementCategoryWithPath(path)
  const configurationElements = configurationElementCategory.allConfigurationElements

  const configurationElement = configurationElements.filter(function (configurationElement) {
    return configurationElement.name === name
  })

  if (configurationElement.length !== 1) {
    throw new Error('too many or zero matches')
  }
  return configurationElement[0]
}

function demo (): string {
  const environment = getConfigurationElementByPath('web-root', 'Environment')
  return `demo${environment.getAttributeWithKey('demo').value as string}`
}

describe('demo test', () => {
  beforeEach(() => {
    const envCfg = Server.createConfigurationElement('web-root', 'Environment')
    envCfg.setAttributeWithKey('demo', 'Mock', 'string')
  })
  afterEach(() => {
    Server.removeConfigurationElementCategory(Server.getConfigurationElementCategoryWithPath('web-root')) // cleanup all cfgElements
  })
  it('x', () => {
    expect(demo()).toBe('demoMock')
  })
})

Expected behavior:

expected behaviour is environment.getAttributeWithKey('demo').value to equal 'Mock', but environment.getAttributeWithKey() returns null, even if the attribute exists.

Reproduces how often:

100%

Environment

Client

  • Build Tools for VMware Aria Version: 2.34.0
  • Visual Studio Code Version: n/a
  • OS Version: Windows & MacOs

Server

  • vRealize Automation Version: n/a
  • vRealize Orchestrator Version: n/a
  • vRealize Operations Version: n/a
  • vRealize Log Insight Version: n/a

Failure Logs

Related issues and PRs

#110

BT 2.33.0 breaks backward compatibility for vra-ng

Description

We have packages packaged with older versions that can't be pushed with 2.33.0:

The error:

Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.33.0:push failed: Cannot invoke "com.vmware.pscoe.iac.artifact.model.vrang.VraNgCatalogItemType.getId()" because "this.type" is null

The following code is added to the content source in 2.33 that isn't present in 2.29.1:

  "type": {
    "id": "com.vmw.vro.workflow",
    "link": "/catalog/api/types/com.vmw.vro.workflow",
    "name": "Automation Orchestrator Workflow"
  }

Steps to Reproduce

  1. Create a vra-ng package with 2.29.1
  2. have a second with BT 2.33.0 package depend on this package
  3. see mvn package vrealize:push -Penv fail

Preconditions: [What are the preconditions to reproduce the issue]

one package created with 2.29.1, a second package depend on the first with a pom like:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.vmware.pscoe.vra-ng</groupId>
    <artifactId>vra-ng-package</artifactId>
    <version>2.33.0</version>
  </parent>
  <dependencies>
    <dependency>  <!-- build with 2.29.1 -->
      <groupId>nl.group</groupId>
      <artifactId>demo1</artifactId>
      <version>1.0.14</version>
      <type>vra-ng</type>
    </dependency>

  </dependencies>

  <groupId>nl.group</groupId>
  <artifactId>demo2</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <packaging>vra-ng</packaging>
  <scm>
    <developerConnection>${scmDeveloperConnection}</developerConnection>
  </scm>

  <description>
        This is a small demo
  </description>
  <properties>
    <generated.from>package-vra-ng-archetype</generated.from>
  </properties>
</project>

Expected behavior:

vrealize:push not to fail, but come up with sensible defaults for type

Actual behavior:

Reproduces how often:

100%

Component/s:
com.vmware.pscoe.iac.artifact.model.vrang.VraNgCatalogItemType

Affects Build/s:

2.33.0

Environment

Client

  • Build Tools for VMware Aria Version: 2.33.0
  • Visual Studio Code Version: latest
  • OS Version: MacOs latest

Server

  • vRealize Automation Version: 8.12.1
  • vRealize Orchestrator Version: 8.12.1
  • vRealize Operations Version: n/a
  • vRealize Log Insight Version: n/a

Failure Logs

Related issues and PRs

Additional Context

Issue executing package vrealize:push vrotsc cannot transpile module names with dash separators

Description

If the "vrotsc-annotations" module, or any other that does not have a "." or "/", is in use in a project, once compiled to js the variable name for the module contains a "-". This renders any classes that use such annotations useless.

Steps to Reproduce

  1. Create a VRO-typescript project or mixed project
  2. Import the "vrotsc-annotations" module in a class
  3. Execute a maven build with compile stage active or vrealize:push

Expected behavior:
Successful build with no errors and only working .js files in target

Actual behavior:
Some classes are rendered unusable, hence once pushed the package does not fully work.

Reproduces how often:
100%

Component/s:
vrotsc

Affects Build/s:
2.31.0

  • Build Tools for VMware Aria Version: 2.31.0
  • vRealize Developer Tools: 2.4.0
  • Visual Studio Code Version: 1.77.3
  • OS Version: Windows_NT x64 10.0.22621 / Ubuntu 22.04.1 LTS
  • Maven Version: 3.8.8 / 3.6.3
  • Java Version: 17.0.7 / 17.0.6
  • Node.js Version: 14.17.1 / 14.20.0
  • Npm Version: 6.14.13 / 6.14.17

Server

  • vRealize Automation Version: 8.11.1
  • vRealize Orchestrator Version: 8.11.1

Failure Logs

[INFO] info: Parsing vro javascript project folder path "/home/xxxxxxxx/vro/target/vro-sources/js"...
[ERROR] (node:11131) UnhandledPromiseRejectionWarning: Error: /home/xxxxxxxx/vro/target/vro-sources/js/src/main/resources/xxxxxxxx/vro/elements/config/SmtpConfiguration.js [10:15]: Unexpected token: '-'
[ERROR] SyntaxError: [10:15]: Unexpected token: '-'
[ERROR] at report (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:186:11)
[ERROR] at matchOrInsertSemicolon (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:4368:9)
[ERROR] at parseVariableStatement (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:5365:5)
[ERROR] at parseStatement (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:4906:20)
[ERROR] at parseStatementListItem (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:4900:20)
[ERROR] at parseFunctionBody (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:6106:19)
[ERROR] at parseFunctionExpression (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:6703:18)
[ERROR] at parsePrimaryExpression (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:6381:20)
[ERROR] at parseParenthesizedExpression (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:7681:20)
[ERROR] at parsePrimaryExpression (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:6387:20)
[ERROR] at parseExpressionOrLabelledStatement (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:4965:20)
[ERROR] at parseStatement (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:4950:20)
[ERROR] at parseStatementListItem (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:4900:20)
[ERROR] at parseModuleItem (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:4864:26)
[ERROR] at parseModuleItemList (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:4849:25)
[ERROR] at parseSource (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/node_modules/meriyah/dist/meriyah.cjs:4793:16)
[ERROR] at Function.getSourceTreeFromSource (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/parse/js.js:210:19)
[ERROR] at VroJsProjParser. (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/parse/js.js:50:50)
[ERROR] at Array.forEach ()
[ERROR] at VroJsProjParser. (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/parse/js.js:32:69)
[ERROR] at Generator.next ()
[ERROR] at /home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/parse/js.js:8:71
[ERROR] at new Promise ()
[ERROR] at __awaiter (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/parse/js.js:4:12)
[ERROR] at VroJsProjParser.parse (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/parse/js.js:27:16)
[ERROR] at /home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/cli.js:112:57
[ERROR] at Generator.next ()
[ERROR] at /home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/cli.js:8:71
[ERROR] at new Promise ()
[ERROR] at __awaiter (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/cli.js:4:12)
[ERROR] at run (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/cli.js:54:12)
[ERROR] at Object. (/home/xxxxxxxx/vro/node_modules/@vmware-pscoe/vropkg/dist/cli.js:151:1)
[ERROR] (Use node --trace-warnings ... to show where the warning was created)
[ERROR] (node:11131) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[ERROR] (node:11131) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

The compiled SAGA workflow crashes when no imports are defined in saga yaml

Description

Typescript SAGA file format for workflows has issue when no imports are defined in SAGA yaml, the compiled vRO workflow crashes with null object.

Steps to Reproduce

  1. Create typescript project with SAGA workflow (workflowName.saga.yaml)
  2. Leave imports section empty
  3. Build the typescript project with maven and push it to vRO environment.
  4. Run the compiled workflow. It will crash on Initialize scriptable task, since 'var imports = null'

Preconditions: Use SAGA construct for workflow definition

Expected behavior: The compiled vRO workflow successfully to run and finish

Actual behavior: The compiled vRO workflow crashes on Initialize scriptable task with null exception

Reproduces how often: 100%

Component/s:
typescript
saga

Affects Build/s: 2.26.1

Environment

Client

  • Build Tools for VMware Aria Version: 2.26.1
  • Visual Studio Code Version: N/A
  • OS Version: Windows & MacOS

Server

  • vRealize Orchestrator Version: 7.6

Failure Logs

Related issues and PRs

N/A

Additional Context

N/A

Deprecate Cloud Template Versioning

Description

Deprecate support for versioning in Cloud Templates.

Currently Cloud Template versioning serves little to no purpose.

When pushing versions to a greenfield environment, fake versions are created (just the metadata) with no change in the actual behavior.

The only time it makes sense is to unrelease and release versions on an existing deployment.

Is this needed?

Proposal:

  1. Release a new version:
  • If there already is a cloud template existing and the contents are not the same
  1. Create a cloud template and release one version
  • If there is NO cloud template
  1. New Flag that will "unrelease" older versions of the cloud template and keep only the latest
  • Defaults to true
  • If set as false, no changes will be done. Releasing/Unreleasing must be handled manually
  • If set to true, unrelease all previous versions.
  1. Remove old bp flags
  2. Modify the installer as well
  • Introduce the new variable

Internal link to ticket that implemented this change: https://jira.pscoe.vmware.com/browse/IAC-459

Duplicate Key VraNgBlueprint@<sha> when trying to push one or more cloud templates when there are 2 cloud templates with the same name on the sever

Description

We get an error with a non-descriptive message when there are 2 cloud templates with the same name in the same project.

Steps to Reproduce

  1. Create Cloud Template: "Test" in project "Test"
  2. Create Cloud Template: "Test" in project "Test"
  3. Try to push any blueprint

Expected behavior: A better error message

Actual behavior: A non-descriptive error message, since we try to set the same key in a map

Reproduces how often: 100%

Component/s: "common/artifact-manager", "maven/plugins/vra-ng",

Affects Build/s: All

Client

  • Build Tools for VMware Aria Version: 8.35
  • Visual Studio Code Version: -
  • OS Version: -

Add policies to the content.yaml

Description

Currently, VBT does not support policies in the content.yaml
As a result, we now need to manually copy some organisation-wide Day-2-Actions policies from Development vRA to Acceptance and to Production. The large number of actions makes this an error-prone operation that should be automated.

It would be great if VBT was able to import/export these and other policies.
On export, the organisation-id should be taken from the settings.xml of course.

Alternatives

n/a

Additional Context

n/a

Unable to pull multiple Content Sources from vRA

Description

My content.yaml contains two Content Sources, one linked to project A and one to project B.

When I pull the vRA content, I get an error in the logging:
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.31.1:pull (default-cli) on project TestMeerdereCloudTemplateContentSources: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.31.1:pull failed: Content Source [Cloud Development 2] not found on the server.

The 'Cloud Development 2' definitely exists, but it is linked to a project that is not present in the settings.xml (AFAIK only a single project can be specified there).

It is not an option for us to include all content in a single source, because on the target (production) system we need to assign some content to one set of projects and other content to another set of projects. Using multiple settings.xml is not feasible with the gitlab runners we use.

Steps to Reproduce

  1. Here is my content.yaml:

blueprint: []
subscription: []
flavor-mapping: []
image-mapping: []
storage-profile: []
region-mapping: {}
catalog-item: []
custom-resource: []
resource-action: []
catalog-entitlement: []
content-source:

  • Cloud Development Source
  • Cloud Development 2
    property-group: []
    policy:
    content-sharing: []
  1. Pull the content:
  • Executing task: mvn vra-ng:pull -PvRA8-Development

[INFO] Scanning for projects...
[INFO]
[INFO] -----------< nl.gi:TestMeerdereCloudTemplateContentSources >------------
[INFO] Building TestMeerdereCloudTemplateContentSources 1.0.0-SNAPSHOT
[INFO] from pom.xml
[INFO] -------------------------------[ vra-ng ]-------------------------------
[INFO]
[INFO] --- vra-ng:2.31.1:pull (default-cli) @ TestMeerdereCloudTemplateContentSources ---
[INFO] Reading config for type : VRANG
[INFO] Searching for Package Store for type VRANG
[INFO] Detected ConfigurationVraNg
[INFO] Request URL: https://hidden/vco/api/about
[INFO] Acquiring with refresh token
[INFO] Token URI: https://hidden:443/csp/gateway/am/api/auth/api-tokens/authorize
[INFO] Creating configuration for VRA NG
com.vmware.pscoe.iac.artifact.model.vrang.VraNgPackageDescriptor@1c93b51e[
catalogItem=[]
blueprint=[]
subscription=[]
flavorMapping=[]
imageMapping=[]
storageProfile=[]
catalogEntitlement=[]
propertyGroup=[]
regionMapping=com.vmware.pscoe.iac.artifact.model.vrang.VraNgRegionMapping@420cd102
customResource=[]
resourceAction=[]
contentSource=[Cloud Development Source, Cloud Development 2]
policy=com.vmware.pscoe.iac.artifact.model.vrang.VraNgPolicy@c7f4457
]
[INFO] Package | EXPORT | nl.gi.TestMeerdereCloudTemplateContentSources-1.0.0-SNAPSHOT.vra-ng
[INFO] Currently exporting: VraNgPropertyGroupStore
[INFO] Empty array is passed, not exporting anything
[INFO] Currently exporting: VraNgContentSourceStore
[INFO] Exporting filtered items: [Cloud Development Source, Cloud Development 2]
[INFO] Created file C:(...)\nl.gi.TestMeerdereCloudTemplateContentSources-1.0.0-SNAPSHOT.vra-ng\content-sources\Cloud Development Source.json
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.076 s
[INFO] Finished at: 2023-08-24T13:22:45+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.31.1:pull (default-cli) on project TestMeerdereCloudTemplateContentSources: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.31.1:pull failed: Content Source [Cloud Development 2] not found on the server. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Preconditions:
Two content sources of type 'VMware Cloud Templates' present in the content.yaml

Expected behavior:
Pull succeeds

Actual behavior:
Fails (see before)

Reproduces how often:
100%

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

Affects Build/s:

Environment

Client

  • Build Tools for VMware Aria Version: 2.31.1
  • Visual Studio Code Version: 1,77,0
  • OS Version: Windows 2016

Server

  • vRealize Automation Version: vRealize Automation 8.11.1.29538 (21309636)
  • vRealize Orchestrator Version: embedded
  • vRealize Operations Version:
  • vRealize Log Insight Version:

Failure Logs

see before

Related issues and PRs

Additional Context

Conditional Execution in Saga

Description

Currently there are cases when some tasks/workflows need to be executed conditionally. It would be beneficial if functionality is implemented that calls those tasks/workflows only if a condition is matched based on a saga state value.

Example:

tasks:
   StageOne:
       execute: testSagaTask
       if: conditionVariable # Newly intoduced variable

Additional Context

This enhancement will take place in saga.ts.

  • Actions - adding a conditional check, based on the conditionVariable, whether to execute the script or not
  • Workflows - the most suitable solution for when we have if: conditionVariable would be to wrap them in scriptable tasks, and execute them using AsyncWorkflowExecutor based on the conditionVariable. For workflows without if: conditionVariable, the same logic will be applied as before -> building a workflow element, thus there won't be any impact on existing behaviour.

TS Workflow is missing the ability to set variable's value

Description

Currently, the Typescript WFs are supporting only variable name and type to be created. There is no option to provide a variable's value and/or description. It can be very useful to have this ability. Without setting the variables, its almost not possible to create any workflow.

Alternatives

No

Additional Context

This problem was discussed in the vRBT Slack channel.

ABX content export is not working with Java 17

Description

ABX content export is not working with Java 17. Working as expected with earlier version (tested with Java 7).

Steps to Reproduce

  1. Create ABX project
  2. Check java version with command java -version
  3. Deploy ABX content with command mvn package vrealize:push -Pcorp-env

Expected behavior:
ABX content successfully deployed

Actual behavior:
Deployment failure

Reproduces how often:
100%

Component/s:
common/artifact-manager

Client

  • Build Tools for VMware Aria Version: 2.36.0

Server

  • vRealize Automation Version: 8.9

Failure Logs

Screenshot 2024-01-12 at 15 56 06

Cloud Template folder name is used when validating if the record exists on the server, but the name in the details.json is used when creating/updating

Description

Perhaps we can think of a structure where only one or the other is used as a source of truth. A good option would be to only use the folder name and add it to the details.json.

It would be beneficial if we take a similar approach to other resources to unify the logic as much as possible?

Alternatives

An alternative solution would be to use the details.json, however that will conflict with how the resources are exported.

Additional Context

N/A

Pushing and pulling from/to vRA 8.12 fails with buildtools 2.32.0

Description

Pushing and pulling packages to vRA tenants

Steps to Reproduce

  1. create XaaS with custom form
  2. create content.yaml
  3. try a mvn vra-ng:pull

Preconditions:
Set buildtools version 2.32.0

Expected behavior:
package created with form json file

Actual behavior:
error 404

Reproduces how often:
100%

Component/s:
"maven/plugins/vra-ng"

Affects Build/s:
at least 2.32.0

Environment

Client

  • Build Tools for VMware Aria Version: 2.32.0
  • Visual Studio Code Version: 1.78
  • OS Version: macOS Ventura 13.4

Server

  • vRealize Automation Version: 8.12.0.30728 (21622235)
  • vRealize Orchestrator Version: 8.12.0.21583018
  • vRealize Operations Version: 8.12.0 (21594884)
  • vRealize Log Insight Version: 8.12.0-21618456

Failure Logs

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for nl.----.---:catalogItemName:vra-ng:1.0.2
[WARNING] 'parent.relativePath' of POM nl.---.--:catalogItemName:1.0.2 (//src/vRealize code/catalogItems/catalogItemName/vra/pom.xml) points at nl.---.--:catalogItemName-all instead of com.vmware.pscoe.vra-ng:vra-ng-package, please verify your project structure @ line 5, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] -------------------< nl.---.--:catalogItemName >--------------------
[INFO] Building catalogItemName 1.0.2
[INFO] -------------------------------[ vra-ng ]-------------------------------
[INFO]
[INFO] --- vra-ng-package-maven-plugin:2.32.0:pull (default-cli) @ catalogItemName ---
[INFO] Reading config for type : VRANG
[INFO] Searching for Package Store for type VRANG
[INFO] Detected ConfigurationVraNg
[INFO] Acquiring with refresh token
[INFO] Creating configuration for VRA NG
com.vmware.pscoe.iac.artifact.model.vrang.VraNgPackageDescriptor@634e1b39[
catalogItem=[Application Segmentation Tags__Application Segmentation Tags]
blueprint=[]
subscription=[]
flavorMapping=[]
imageMapping=[]
storageProfile=[]
catalogEntitlement=[]
propertyGroup=
regionMapping=com.vmware.pscoe.iac.artifact.model.vrang.VraNgRegionMapping@4d81e83a
customResource=[]
resourceAction=[]
contentSource=[Application Segmentation Tags]
policy=
]
[INFO] Nothing/null passed exporting everything
[ERROR] Error fetching content sharing policy
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.433 s
[INFO] Finished at: 2023-05-23T09:49:01+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:pull (default-cli) on project catalogItemName: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.32.0:pull failed: org.springframework.web.client.HttpClientErrorException: 404 Not Found {"message":"No value present","statusCode":404,"errorCode":0} -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Push log is similar but a more extensive error message:
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.32.0:push (default-cli) on project catalogItemName: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.32.0:push failed: Cannot invoke "com.vmware.pscoe.iac.artifact.model.vrang.VraNgCatalogItemType.getId()" because "this.type" is null -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.32.0:push (default-cli) on project catalogItemName: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.32.0:push failed: Cannot invoke "com.vmware.pscoe.iac.artifact.model.vrang.VraNgCatalogItemType.getId()" because "this.type" is null

Additional Context

content.yaml:

blueprint: []
subscription: []
flavor-mapping: []
image-mapping: []
storage-profile: []
region-mapping:
cloud-account-tags:
export-tag:
import-tags: []
catalog-item:

  • Catalog Item Name__Catalog Item Name
    custom-resource: []
    resource-action: []
    catalog-entitlement: []
    content-source:
  • Catalog Item Name

Error Pushing vRA Content after Updating to 2.37.0

Description

Error Pushing vRA Content after Updating to 2.37.0. After downgrading back to 2.36.0 push is ok (no vRA restart, no services restart)
Source vRA 8.16
Destination vRA 8.14.0

12:12:04.974 [main] INFO com.vmware.pscoe.iac.artifact.VraPackageStore - Searching for Package Store for type VRANG
12:12:04.976 [main] INFO com.vmware.pscoe.iac.artifact.VraPackageStore - Detected ConfigurationVroNg
12:12:05.078 [main] WARN com.vmware.pscoe.iac.artifact.rest.RestClientFactory - SSL: You are now ignoring certificate verification.
12:12:05.078 [main] WARN com.vmware.pscoe.iac.artifact.rest.RestClientFactory - SSL: You are now ignoring hostname verification.
12:12:05.222 [main] INFO com.vmware.pscoe.iac.artifact.rest.RestClientVraNgAuthNInterceptor - Request URL: https://cloud.xxx.internal.xxx-group.net/vco/api/about
12:12:05.222 [main] INFO com.vmware.pscoe.iac.artifact.rest.RestClientVraNgAuthNInterceptor - Acquiring refresh token with credentials
12:12:05.227 [main] INFO com.vmware.pscoe.iac.artifact.rest.RestClientVraNgAuthNInterceptor - Auth URL: https://cloud.xxx.internal.xxx-group.net:443/csp/gateway/am/api/login?access_token
xxxx12:12:06.753 [main] INFO com.vmware.pscoe.iac.artifact.VraPackageStore - Detecting vRO Server version '8.14.0.22610007'.
12:12:06.762 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Start executing import all packages...
12:12:06.810 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.activedirectory-2.0.16.package
12:12:09.594 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.class-2.4.7.package
12:12:10.328 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.fs-1.1.1.package
12:12:11.437 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.guestops.actions-1.2.6.package
12:12:12.651 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.guestops-1.2.6.package
12:12:13.653 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.locking-1.0.1.package
12:12:14.669 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.logging-3.3.1.package
12:12:17.702 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.rest-template-2.5.7.package
12:12:19.096 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.templates-2.0.3.package
12:12:19.888 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.util.wfs-1.0.2.package
12:12:20.729 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.util-2.19.6.package
12:12:28.962 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.validator-2.0.3.package
12:12:29.882 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.vmware.pscoe.library.vc-1.4.3.package
12:12:33.621 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.xxx.di-1.1.3.package
12:13:36.606 [main] INFO com.vmware.pscoe.iac.artifact.VroPackageStore - Package | IMPORT | com.xxx.di.actions-1.1.3.package
Exception in thread "main" org.springframework.web.client.HttpClientErrorException: 502 Invalid/Unreachable FQDN or IP address
at com.vmware.pscoe.iac.artifact.rest.RestClientFactory$1.handleError(RestClientFactory.java:190)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:709)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:662)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:637)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:558)
at com.vmware.pscoe.iac.artifact.rest.RestClientVro.importPackageForce(RestClientVro.java:294)
at com.vmware.pscoe.iac.artifact.rest.RestClientVro.importPackageWithMerge(RestClientVro.java:255)
at com.vmware.pscoe.iac.artifact.rest.RestClientVro.importPackage(RestClientVro.java:303)
at com.vmware.pscoe.iac.artifact.VroPackageStore.importPackage(VroPackageStore.java:293)
at com.vmware.pscoe.iac.artifact.VroPackageStore.importAllPackages(VroPackageStore.java:225)
at com.vmware.pscoe.iac.artifact.VroPackageStore.importAllPackages(VroPackageStore.java:137)
at com.vmware.pscoe.iac.installer.Installer.main(Installer.java:930)

Steps to Reproduce

Preconditions: [What are the preconditions to reproduce the issue]

Expected behavior: [What you expect to happen]
successful jenkins build

Actual behavior: [What actually happens]
Generic Error: 502 Invalid/Unreachable FQDN or IP address

Reproduces how often: [What percentage of the time does it reproduce]
100% rerun the pipeline 5 times with different packages versions

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

actions - JS Project
workflows - XML Project
vra - vra-ng
codestream - Codestream project

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]

Server

  • vRealize Automation Version: 8.14.0
  • vRealize Orchestrator Version: 8.14.0 (internal)
  • vRealize Operations Version: NA
  • vRealize Log Insight Version: NA

Failure Logs

Above

Build error when pushing on vRA 8.x

Description

When pushing vRA 8.x project we get the following error:

[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.34.0:push (default-cli) on project new: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.34.0:push failed: Error executing POST to server: java.lang.ClassCastException : class com.google.gson.JsonNull cannot be cast to class com.google.gson.JsonObject (com.google.gson.JsonNull and com.google.gson.JsonObject are in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @63062eea)

Steps to Reproduce

  1. Create vRA 8.x project
  2. Push the project: mvn clean package vrealize:push -Penv

Expected behavior:
To successfully push the project.

Actual behavior:
Build Failure
Reproduces how often:
100%
Component/s:
common/artifact-manager

Environment

Client

  • Build Tools for VMware Aria Version: 2.34.0
  • Visual Studio Code Version: N/A
  • OS Version: Windows & MacOS

Server

  • vRealize Automation Version: N/A
  • vRealize Orchestrator Version: N/A
  • vRealize Operations Version: N/A
  • vRealize Log Insight Version: N/A

Failure Logs

image

Typescript SSH type issue

Description

When using SSH with typescript, the exitCode method has the type void. But technically, it returns an integer.

TS example:
image

The same method is working in JS (obviously). Example from the built-in Workflow. Variable exitCode has type Number.
image

Expected behavior:
Method .exitCode() should return type number instead of type void
Screenshot 2023-11-06 at 13 11 46

Actual behavior: [What actually happens]
Method .exitCode() return type void

Reproduces how often: [What percentage of the time does it reproduce]
100%

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

  • o11n-typescript-package-maven-plugin:2.35.1

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]

2.35.1

Client

  • Build Tools for VMware Aria Version: 2.35.1
  • Visual Studio Code Version: 1.84.0
  • OS Version: MacOS 14.1 (23B74)

Server

  • vRealize Orchestrator Version: 8.14.0

Transpiler fails to convert Array functions into vRO compatible code

Description

Array TS functions like find() and some() needs to be transpiled to vRO compatible code in order to run successfully, otherwise an error is encountered.

If an array variable is not explicitly defined or recognised by the transpiler as an Array, the transpiler does not convert them into vRO compatible format resulting in an error.

Research if it is possible to give transpile time warning/error, e.g. using "Use Strict" flag (https://stackoverflow.com/questions/31391760/use-strict-needed-in-a-typescript-file)
If no option is available, document the behaviour and provide the sample below as part of the documentation.

Steps to Reproduce

  1. Execute the following code piece. The uncommented code doesn't transpile properly resulting in error: Error in (Workflow:Test nested loops / TestLoop (item1)) TypeError: Cannot find function find in object 1,2,3,4,5.. The commented code transpiles correctly and executes successfully.
@Workflow({
    name: "Test nested loops",
    path: "MyOrg/MyProject",
})
export class TestLoop {

    public TestLoop(): void {
        const testArray = [1, 2, 3, 4, 5];

        // Fails because of any type
        let objectsForIteration = null;
        // Works because of cast
        // let objectsForIteration: Array<number> = null;


        if (true) {
            objectsForIteration = testArray;
        }
        const res = objectsForIteration.find(o => o === 2)
        System.log(res + "")
    }
}

Expected behavior: [What you expect to happen]
Transpiled code calls VROES.Shims.arrayFind and executes successfully:

var __global = System.getContext() || (function () {
    return this;
}).call(null);
var VROES = __global.__VROES || (__global.__VROES = System.getModule("com.vmware.pscoe.library.ecmascript").VROES());
var testArray = [1, 2, 3, 4, 5];
// Fails because of any type
// let objectsForIteration = null;
// Works because of cast
var objectsForIteration = null;
if (true) {
    objectsForIteration = testArray;
}
var res = VROES.Shims.arrayFind(objectsForIteration, function (o) { return o === 2; });
System.log(res + "");

Actual behavior: [What actually happens]
Transpiled code calls find() resulting in an error:

var testArray = [1, 2, 3, 4, 5];
// Fails because of any type
var objectsForIteration = null;
// Works because of cast
//let objectsForIteration: Array<number> = null;
if (true) {
    objectsForIteration = testArray;
}
var res = objectsForIteration.find(function (o) { return o === 2; });
System.log(res + "");

Reproduces how often: [What percentage of the time does it reproduce]
100%

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]
All

Environment

Client

  • Build Tools for VMware Aria Version: 2.36.0
  • Visual Studio Code Version: 1.84.0 (Universal)
  • OS Version: MacOS

Server

  • vRealize Automation Version: 8.10.1
  • vRealize Orchestrator Version: 8.10.1

Failure Logs

2023-11-22 10:10:32.807 +02:00errorError in (Workflow:Test nested loops / TestLoop (item1)#9) TypeError: Cannot find function find in object 1,2,3,4,5.

Related issues and PRs

https://jira.pscoe.vmware.com/browse/IAC-800

Typescript: VcVirtualPCIPassthrough backing doesn't support VcVirtualPCIPassthroughVmiopBackingInfo

Description

[Description of the issue. Affected functionality / feature.]

When trying to create / attache new PCI device (vGPU), the VcVirtualPCIPassthrough class doesn't support for VcVirtualPCIPassthroughVmiopBackingInfo.vgpu. The same code is working with pure JS.

...
spec.deviceChange[0].device = new VcVirtualPCIPassthrough()
spec.deviceChange[0].device.deviceInfo = new VcDescription()
spec.deviceChange[0].device.deviceInfo.summary = ''
spec.deviceChange[0].device.deviceInfo.label = 'New PCI device'
spec.deviceChange[0].device.backing = new VcVirtualPCIPassthroughVmiopBackingInfo()
spec.deviceChange[0].device.backing.vgpu = vGPUProfile

image

The suggested solution was that the backing: should accept both VcVirtualDeviceBackingInfo | VcVirtualPCIPassthroughVmiopBackingInfo

Steps to Reproduce

  1. create new VcVirtualMachineConfigSpec()
  2. update relevant properties
  3. viscode intellisense will complain

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]
2.32.0

Environment

Client

  • Build Tools for VMware Aria Version: 2.32.0
  • Visual Studio Code Version: 1.78.2
  • OS Version: 13.4

Server

  • vRealize Automation Version:
  • vRealize Orchestrator Version: 8.12.0
  • vRealize Operations Version:
  • vRealize Log Insight Version:

Executing a vRO action within vscode is not working

Description

When trying to run an action inside the vscode, I am getting the following error.

# Running getVmWithTag.js
# An error occurred: Could not import exec package into vRO: Command 'mvn dependency:copy -Dartifact=com.vmware.pscoe.o11n:exec::package -DoutputDirectory="/Users/user/Library/Application Support/Code/User/globalStorage/vmware-pscoe.vrealize-developer-tools" -Dmdep.stripVersion=true ' exited with code 1

Steps to Reproduce

  1. Select the action to run
  2. Click in Run Action

Expected behaviour: [What you expect to happen]

The action will run locally

Actual behaviour: [What actually happens]

The error above

Reproduces how often: [What percentage of the time does it reproduce]

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

com.vmware.pscoe.o11n:exec package

Environment

Client

  • Build Tools for VMware Aria Version: 2.31.0
  • Visual Studio Code Version: 1.77.3
  • OS Version: MacOS 13.4
  • vRealize Developer Tool: 2.4.0

Server

  • vRealize Orchestrator Version: 8.11.x

Problem with importing generated package into vRO

Description

The import of the vRO package using vRO UI (vRA embedded) fails with the following error message:

Failed to import package: Http failure response for https://vra01a.corp.lab/vco/api/packages/extendedImport: 400 OK

When trying to push package using: mvn package vrealize:push -Pcorp-dev I get following error:

[INFO] Authentication strategy: 'VRA'
[INFO] Detecting vRO Server version '8.11.0.20963650'.
[INFO] Merge Package vrealize PushMojo: false
[INFO] STRATEGY| INFO | Apply Configuration strategies for import
[INFO] STRATEGY| PASS | Source.Version > Destination.Version
[INFO] PACKAGE | PASS | com.vmware.pscoe.library.ecmascript (2.29.2) > (missing)
[INFO] PACKAGE | PASS | pr2.test2 (1.0.0-SNAPSHOT) > (missing)
[INFO] Package | IMPORT | com.vmware.pscoe.library.ecmascript-2.29.2.package
[INFO] Package | IMPORT | pr2.test2-1.0.0-SNAPSHOT.package
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:45 min
[INFO] Finished at: 2023-03-01T14:34:56+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.29.2:push (default-cli) on project test2: Execution default-cli of goal com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.29.2:push failed: 400 Bad Request {"status":400,"message":"Unable to extract package from raw data"} -> [Help 1]

Steps to Reproduce

  1. Create project with: mvn -X -U archetype:generate. I used typescript based archetype (com.vmware.pscoe.o11n.archetypes:package-typescript-archetype (package-typescript-archetype))
  2. Build package with: mvn clean package. Package is build successfuly
  3. Try importing generated package into vRO.

Environment

Environment build mainly using these blog posts: https://www.brianmacinnes.com/configure-vrbt-for-vrealize-vra-vro-8-x/ and https://www.brianmacinnes.com/configure-artifactory-for-use-with-vmware-vrbt/
Instead of using bitnami artifactory, I installed new one on clean Debian VM.

Client

  • Build Tools for VMware Aria Version: v2.29.2
  • OS Version: Windows Server 2019

Server

  • vRealize Automation Version: 8.11
  • vRealize Orchestrator Version: 8.11

Additional Context

Certificate used to sign packages was created using following commands:

openssl genpkey -out private_key.pem -algorithm RSA
openssl req -new -key private_key.pem -out csr.csr
openssl req -x509 -days 999 -key private_key.pem -in csr.csr -out cert.pem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.