[JIRA] [_unsorted] (JENKINS-33034) siebel repository export issue with jenkins job shell execution

57 views
Skip to first unread message

shekarreddy575@gmail.com (JIRA)

unread,
Feb 19, 2016, 9:13:03 AM2/19/16
to jenkinsc...@googlegroups.com
Rajashekhar Thippireddy created an issue
 
Jenkins / Story JENKINS-33034
siebel repository export issue with jenkins job shell execution
Issue Type: Story Story
Assignee: Oleg Nenashev
Components: _unsorted
Created: 19/Feb/16 2:12 PM
Environment: siebel Developement
Priority: Major Major
Reporter: Rajashekhar Thippireddy

Hi Experts,

I have Siebel Jenkins job which executes on the Siebel jenkins slave machine.
This job executes the shell script on siebel server.

Below is the shell build.

cd /d01/app/marketing/siebsrvr
. ./siebenv.sh
###list_server all
nohup /opt/app/marketing/siebsrvr/bin/repimexp /a E /u username /p password /c SBA_81_DSN /d SIEBEL /r "Siebel Repository" /f /opt/app/marketing/dbsrvr/oracle/SBLDEV220160218_1.dat /v Y /l /opt/app/marketing/siebsrvr/log/exprep_preprd_20160218_1.log &

the above script is working file when i run it on directly siebel server, the same is failing if i executes from Jenkins job.

Below is the issue we are facing from job.

repimexp /a E /u username /p ***** /c SBA_81_DSN /d SIEBEL /r "Siebel Repository" /f /opt/app/marketing/dbsrvr/oracle/SBLDEV220160218_2.dat /v Y /l /opt/app/marketing/siebsrvr/log/exprep_preprd_20160218_5.log

Connecting to the database...

IM003: [DataDirect][ODBC lib] Specified driver could not be loaded
Unable to connect to the database...
Unable to start common api.
Error in initiate function.

we are executing the environment setting file before run the export command, not sure what we are missing.
if we exeute the list_server all command , it is executing fine.

Thanks in advance,
Raj.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 22, 2016, 3:07:01 AM2/22/16
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Story JENKINS-33034
 
Re: siebel repository export issue with jenkins job shell execution

It seems to be an environment issue.
I see no clue that it is related to Jenkins.

Please provide info about Jenkins version, plugins and the configuration.

Have you also checked the behavior of your scripts on the same USER and MACHINE, but without Jenkins?

shekarreddy575@gmail.com (JIRA)

unread,
Feb 22, 2016, 4:42:06 AM2/22/16
to jenkinsc...@googlegroups.com

shekarreddy575@gmail.com (JIRA)

unread,
Feb 22, 2016, 4:42:06 AM2/22/16
to jenkinsc...@googlegroups.com

shekarreddy575@gmail.com (JIRA)

unread,
Feb 22, 2016, 4:43:01 AM2/22/16
to jenkinsc...@googlegroups.com
Rajashekhar Thippireddy commented on Story JENKINS-33034
 
Re: siebel repository export issue with jenkins job shell execution

Thanks Oleg Nenashev for your reply ,

We have successfully executed the same script on SBL machine with same username and password provided in the script.

Below is my Jenkins information.

I am running the Jenkins server as Java web application with war. 1.580 is my Jenkins war version.

Below is my siebel machine slave configuration on Jenkins master

Below is the list of plugins installed on Jenkins server.

Plugin Name
Ant Plugin
Backup plugin
Active Directory plugin
bild-metrics
Backup plugin
build-name-setter
CloudBees Build Flow plugin
Copy To Slave Plugin
Credentials Plugin
CVS Plug-in
Deploy to container Plugin
description setter plugin
Dynamic Search View Plugin
Email Extension Plugin
EnvInject Plugin
External Monitor Job Type Plugin
Hudson global-build-stats plugin
Hudson Groovy builder

Javadoc Plugin
Jobcopy Builder plugin
LDAP Plugin

Log Parser Plugin

Mailer Plugin

Matrix Authorization Strategy Plugin
Matrix Project Plugin

Parameterized Trigger plugin

promoted builds plugin

Script Security Plugin

SSH Slaves plugin

Subversion Plug-in

Node and Label parameter plugin
Mask Password Plugin
slave-status

Thanks,
Raj.

o.v.nenashev@gmail.com (JIRA)

unread,
May 4, 2016, 7:06:02 AM5/4/16
to jenkinsc...@googlegroups.com

Sorry for the delay. The issue still needs triangulation

priyankatdct@gmail.com (JIRA)

unread,
Jul 11, 2016, 1:14:01 PM7/11/16
to jenkinsc...@googlegroups.com
priyanka tadichetti updated an issue
 
Change By: priyanka tadichetti
Priority: Major Critical
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

priyankatdct@gmail.com (JIRA)

unread,
Jul 11, 2016, 1:15:01 PM7/11/16
to jenkinsc...@googlegroups.com

priyankatdct@gmail.com (JIRA)

unread,
Jul 18, 2016, 4:01:03 AM7/18/16
to jenkinsc...@googlegroups.com

Resolved:
There was a difference of environment variables between siebel machine and shell script which was executed from jenkins.
Job executed successfully by adding export command for LD_LIBRARY_PATH, PATH and ORACLE_HOME values in jenkins shell script.

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 26, 2016, 7:32:01 AM7/26/16
to jenkinsc...@googlegroups.com
Oleg Nenashev resolved as Not A Defect
 

I consider it as the valid behavior then

Change By: Oleg Nenashev
Status: Open Resolved
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages