Question

24
Views
Close popover
Krishna KK (KrishnaK0235)
Amex

Amex
US
KrishnaK0235 Member since 2013 3 posts
Amex
Posted: 1 week 2 days ago
Last activity: 1 week 2 days ago

-Dprpc.service.util.action=export is not a valid file - Jenkins Integration

Hi,

I have tried Jenkins for CI & using Service Utils of 8.5.2, while running the job getting below exception.

Jenkins build is failing with exception of -Dprpc.service.util.action=export is not a valid file.

Any thoughts, Please let me know? I am attaching all the logs & settings which are configured for this project.

 

Running as SYSTEM
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting as environment variables the properties content 
SourceUser=kxkalim
SystemName=$BUILD_TAG
SourcePassword=rules
SourceHost=http://localhost:8080

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building in workspace C:\MyInstalls\Jenkins\.jenkins\workspace\PegaExportImportRAP
[EnvInject] - Unset unresolved 'USERNAME' variable.
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content 
ImportExistingInstances=skip
ARTIFACTS_DIR=C:\MyInstalls\Jenkins

[EnvInject] - Variables injected successfully.
[jenkins] $ cmd.exe /C "ant.bat -file Jenkins-build.xml -DapplicationVersion=01.01.01 -DproductVersion=01.01.01 -DTargetHost=http://localhost:8080 -DTargetPassword=rules -DproductName=DevOps -DapplicationName=DMSample -DTargetUser=kxkalim exportprops && exit %%ERRORLEVEL%%"
Buildfile: C:\MyInstalls\prpcServiceUtils85\prpcServiceUtils\scripts\samples\jenkins\Jenkins-build.xml

exportprops:
[propertyfile] Creating new property file: C:\MyInstalls\Jenkins\.jenkins\workspace\PegaExportImportRAP\jenkins-PegaExportImportRAP-2_export.properties

BUILD SUCCESSFUL
Total time: 0 seconds
[PegaExportImportRAP] $ cmd /c call C:\Windows\TEMP\jenkins608753713516944807.bat

C:\MyInstalls\Jenkins\.jenkins\workspace\PegaExportImportRAP>C:\MyInstalls\prpcServiceUtils85\prpcServiceUtils\scripts\utils\prpcServiceUtils.bat export --connPropFile  
Invoke our ant script, passing in the arguments as collected
Buildfile: C:\MyInstalls\prpcServiceUtils85\prpcServiceUtils\scripts\utils\prpcserviceutilsWrapper.xml

-init:
     [echo] ******************************************************************
     [echo] Build date : ${pegaBuildDate.value} 
     [echo] Pega7 platform version : 8.5.2 
     [echo] ******************************************************************
   [delete] Deleting directory C:\MyInstalls\prpcServiceUtils85\prpcServiceUtils\scripts\utils\generated
    [mkdir] Created dir: C:\MyInstalls\prpcServiceUtils85\prpcServiceUtils\scripts\utils\generated
[pega:propertyparser] Reading Properties from: C:\MyInstalls\prpcServiceUtils85\prpcServiceUtils\scripts\utils/prpcServiceUtils.properties
[pega:propertyparser] expose.startDate=
[pega:propertyparser] import.bypassSchema=
[pega:propertyparser] expose.excludedClasses=
[pega:propertyparser] rollback.applicationVersion=
[pega:propertyparser] import.nonpegarulesOnly=false
[pega:propertyparser] hotfix.async=true
[pega:propertyparser] import.nofailonerror=false
[pega:propertyparser] import.bypassSchemaChangesToDescendantTables=false
[pega:propertyparser] expose.endKey=
[pega:propertyparser] expose.endDate=
[pega:propertyparser] import.mode=import
[pega:propertyparser] import.allowImportWithMissingDependencies=false
[pega:propertyparser] rollback.async=true
[pega:propertyparser] pega.rest.proxy.password=*****
[pega:propertyparser] pega.rest.password=*****
[pega:propertyparser] pega.rest.response.type=json
[pega:propertyparser] rollback.action=SystemRollback
[pega:propertyparser] import.bypassColumnPopulation=false
[pega:propertyparser] rollback.applicationName=
[pega:propertyparser] pega.rest.proxy.workstation=
[pega:propertyparser] export.productName=
[pega:propertyparser] pega.rest.proxy.port=
[pega:propertyparser] export.exportToRepository=false
[pega:propertyparser] export.repositoryName=
[pega:propertyparser] hotfix.catalogPath=
[pega:propertyparser] import.compileLibraries=true
[pega:propertyparser] import.codesetVersion=06-01-01
[pega:propertyparser] export.applicationName=
[pega:propertyparser] import.commitRate=100
[pega:propertyparser] export.applicationVersion=
[pega:propertyparser] pega.rest.server.url=http://localhost:8080/prweb/PRRestService/
[pega:propertyparser] expose.includedClasses=
[pega:propertyparser] import.allowInheritedConnections=false
[pega:propertyparser] getstatus.jobID=
[pega:propertyparser] pega.rest.proxy.domain=
[pega:propertyparser] custom.jvm.args=
[pega:propertyparser] import.skipBackup=false
[pega:propertyparser] hotfix.bypassSchema=false
[pega:propertyparser] manageRestorePoints.action=
[pega:propertyparser] updateAccessGroup.groupList=
[pega:propertyparser] user.temp.dir=
[pega:propertyparser] expose.reindexType=nonpega
[pega:propertyparser] import.archive.path=
[pega:propertyparser] export.productVersion=
[pega:propertyparser] import.importFromRepository=false
[pega:propertyparser] import.archivePath=
[pega:propertyparser] manageRestorePoints.restorePointLabel=
[pega:propertyparser] updateDASS.filePath=
[pega:propertyparser] updateAccessGroup.applicationName=
[pega:propertyparser] rollback.userName=
[pega:propertyparser] expose.reindex=true
[pega:propertyparser] import.preserveOrder=false
[pega:propertyparser] export.archiveName=
[pega:propertyparser] export.repositoryFolder=
[pega:propertyparser] rollback.restorePointName=
[pega:propertyparser] hotfix.force=false
[pega:propertyparser] export.branchAppContext=
[pega:propertyparser] hotfix.operation=
[pega:propertyparser] getstatus.operationName=
[pega:propertyparser] expose.startKey=
[pega:propertyparser] hotfix.dlFilePath=
[pega:propertyparser] manageRestorePoints.restorePointName=
[pega:propertyparser] import.async=true
[pega:propertyparser] expose.numOfThreads=1
[pega:propertyparser] rollback.downloadLogToFile=true
[pega:propertyparser] import.codesetName=Customer
[pega:propertyparser] export.branchName=
[pega:propertyparser] expose.commitRate=100
[pega:propertyparser] import.repositoryName=
[pega:propertyparser] import.artifactType=
[pega:propertyparser] expose.includeDescendents=true
[pega:propertyparser] import.preferencespath=
[pega:propertyparser] pega.rest.proxy.username=
[pega:propertyparser] expose.async=true
[pega:propertyparser] pega.rest.proxy.host=
[pega:propertyparser] expose.excludeDescendents=true
[pega:propertyparser] updateAccessGroup.applicationVersion=
[pega:propertyparser] import.bypassInstanceMigration=false
[pega:propertyparser] import.existingInstances=skip
[pega:propertyparser] pega.rest.username=
[pega:propertyparser] import.insecureOperators=
[pega:propertyparser] export.async=true
    [mkdir] Created dir: C:\Windows\TEMP\PegaInstallTemp-22-February-2021-11.43.10
[pega:hasenoughspace] Found 401016508KB of free space on 'C:\Windows\TEMP\'
     [echo] *** JVM Arguments -Xmx1280m -Dlog4j.configurationFile=file:///C%3A%5CMyInstalls%5CprpcServiceUtils85%5CprpcServiceUtils%5Cscripts%5Clib%5Clog4j2.xml -Dlogfile.timestamp=20210222_114308  ***

-processInstances:
     [echo] Performing ${prpc.service.util.action} on multiple instance(s)
[pega:echoargline] arg line : -action ${prpc.service.util.action} -propFileDir C:\MyInstalls\prpcServiceUtils85\prpcServiceUtils\scripts\utils/generated -poolSize ${prpcserviceutils.pool.size} -requestTimeOut ${prpcserviceutils.request.timeout} -tempDir C:\Windows\TEMP\/PegaInstallTemp-22-February-2021-11.43.10 -artifactsDir logs -processFailStrategy FAIL_PROCESS_ON_SINGLE_SYSTEM_FAILURE
     [echo] Reading connection information from -Dprpc.service.util.action=export

BUILD FAILED
C:\MyInstalls\prpcServiceUtils85\prpcServiceUtils\scripts\utils\prpcserviceutilsWrapper.xml:179: Connection Property file -Dprpc.service.util.action=export is not a valid file
***Edited by Moderator Marissa to update Content Type from Discussion to Question***
Pega Platform 8.5.2 DevOps Financial Services Lead System Architect