[JIRA] (JENKINS-60869) Jenkins PIpeline script ALM configuration failing

29 views
Skip to first unread message

divya.rajan@amadeus.com (JIRA)

unread,
Jan 26, 2020, 1:48:03 AM1/26/20
to jenkinsc...@googlegroups.com
Divya Rajan created an issue
 
Jenkins / Task JENKINS-60869
Jenkins PIpeline script ALM configuration failing
Issue Type: Task Task
Assignee: Unassigned
Components: _unsorted
Created: 2020-01-26 06:47
Environment: Local
Priority: Blocker Blocker
Reporter: Divya Rajan

I am using the below pipeline script to connect to ALM and run the test

runFromAlmBuilder almApiKey: '', almClientID: '', almDomain: 'XXXX', almPassword: 'XXXX', almProject: 'ARDWEB_PRD', almRunHost: '', almRunMode: 'RUN_LOCAL', almServerName: 'ALM', almTestSets: '''Root\\test1
prx''', almTimeout: '7200', almUserName: 'SSSS', filterTestsModel: [blockedCheckbox: false, failedCheckbox: false, noRunCheckbox: false, notCompletedCheckbox: false, passedCheckbox: false, testName: ''], isSSOEnabled: false

 

After build I am getting the below error

WorkflowScript: 9: Missing required parameter: "almRunResultsMode" @ line 9, column 13.
               runFromAlmBuilder almApiKey: '', almClientID: '', almDomain: 'XXXX', almPassword: 'XXXX', almProject: 'XXXXX', almRunHost: '', almRunMode: 'RUN_LOCAL', almServerName: 'ALM', almTestSets: '''Root\\test1
prx''', almTimeout: '7200', almUserName: 'SSSS', filterTestsModel: [blockedCheckbox: false, failedCheckbox: false, noRunCheckbox: false, notCompletedCheckbox: false, passedCheckbox: false, testName: 'SanityTobeDeletedForTest'] ,isSSOEnabled: false
               ^

1 error

 at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
 at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085)
 at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
 at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
 at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
 at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
 at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
 at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
 at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
 at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:142)
 at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:127)
 at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:561)
 at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:522)
 at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:327)
 at hudson.model.ResourceController.execute(ResourceController.java:97)
 at hudson.model.Executor.run(Executor.java:427)
Finished: FAILURE

 

Please on a free style job when we use the same plug in its working all fine. Please help I can totally stuck here

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

divya.rajan@amadeus.com (JIRA)

unread,
Jan 26, 2020, 1:50:02 AM1/26/20
to jenkinsc...@googlegroups.com
Divya Rajan updated an issue
Change By: Divya Rajan
Please note  on a free style job when we use the same plug in its working all fine. Please help I can totally stuck here

mark.earl.waite@gmail.com (JIRA)

unread,
Feb 9, 2020, 8:36:02 AM2/9/20
to jenkinsc...@googlegroups.com
Mark Waite updated an issue
Change By: Mark Waite
Component/s: micro-focus-performance-center-integration-plugin
Component/s: _unsorted

mark.earl.waite@gmail.com (JIRA)

unread,
Feb 9, 2020, 8:37:02 AM2/9/20
to jenkinsc...@googlegroups.com
Mark Waite commented on Task JENKINS-60869
 
Re: Jenkins PIpeline script ALM configuration failing

Refer to the Pipeline Syntax generator on http://your-jenkins-server/pipeline-syntax for a guided assistant that will help you provide correct and required parameters to the pipeline step.

divya.rajan@amadeus.com (JIRA)

unread,
Feb 18, 2020, 1:28:02 AM2/18/20
to jenkinsc...@googlegroups.com

Hi Mark,

 

I got that working on Windows machine. Now trying to configure the same on a slave which is in linux. Master have the plug in installed while triggering i am getting permission denied error. As its a Linux container how do we run the HpToolsLauncher.exe. Will the same plug in works for Linux too please let me know.

 
11:35:52 Executing shell script inside container [user] 11:35:52 Executing command: "/home/jenkins/workspace/QA/downstreamQA/HpToolsLauncher.exe" "-paramfile" "props18022020060552418.txt" 11:35:52 exit*11:35:52* /bin/sh: line 36: /home/jenkins/workspace/QA/downstreamQA/HpToolsLauncher.exe: Permission denied
 

Regards,
Divya

mark.earl.waite@gmail.com (JIRA)

unread,
Feb 18, 2020, 2:09:02 PM2/18/20
to jenkinsc...@googlegroups.com

Please don't use Jenkins issue reports as a question and answer site. The mailing lists and chat systems are much better suited to questions. I am not a user of MicroFocus Performance Center. I don't know how to make it work in your environment or any other environment. Since it is a purchased product, you should contact the seller for assistance.

divya.rajan@amadeus.com (JIRA)

unread,
Feb 18, 2020, 10:29:04 PM2/18/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages