Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

ZOs Build Fails with Password File not found error

1) Issue : The Build goes down with the error that passwordfile path not found
------------------------------------------------------------------------------------------------------------------------------------------
SCRIPT /usr/lpp/java/J6.0_64/J6.0_64/bin/java -classpath /usr/lpp/jazz/v5.0.2/buildsystem/buildengine/eclipse/plugins/org.apache.ant_1.7.1.v20100518-1145/lib/ant-launcher.jar -Xquickstart org.apache.tools.ant.launch.Launcher -f /u/TSTUSER/rtczBuild.xml -propertyfile /u/TSTUSER/build.properties -lib outputRootDirectory/20160929-0353040929/JKEBuildScripts/libs/ecj-3.5.2.jar -lib /usr/lpp/jazz/v5.0.2/buildsystem/buildtoolkit all
EXEC start "/u/ibmuser"@"RDZUTV1"
* Buildfile: /u/TSTUSER/rtczBuild.xml
*
* fetch:
*
* BUILD FAILED
* /u/TSTUSER/rtczBuild.xml:35: "passwordFile" contains path to non-existent file "/etc/jazz502/ccm/pwdfile".
*
* Total time: 1 minute 4 seconds
EXEC end "/u/ibmuser"@"RDZUTV1"
RESULT 1
EOR
------------------------------------------------------------------------------------------------------------------------------------------
2) Questions:
1) We are running the Build on RD&T, but I am not able to find the files ‘bfagent’ and ‘startbfa.sh’ on our Linux box
2) The path mentioned in the all the documentation ‘<installdirectory>/usr/lpp/jazz/’ is not present in Linux box, is it something to do with user permission or is there different path?
3) Also the path to password file is also not present : /etc/jazz502/ccm
4) We are testing Both Zos Dependency Build and Ant with enterprise extensions build , both give same error

3) Things verified from our end :
1) I have checked the connection , its working fine
------------------------------------------------------------------------------------------------
[tstuser@System1 /]$ telnet 10.2.1.10 5555
Trying 10.2.1.10...
Connected to 10.2.1.10.
Escape character is '^]'.
200 HELLO - BuildForge Agent v8.0.0.1-0-0016
username TSTUSER
password TSTUSER
cmd ping
go
320 AUTH AuthOk["TSTUSER"]
320 SET EnvSet["BF_AGENT_VERSION","8.0.0.1-0-0016"]
320 SET EnvSet["BF_AGENT_PLATFORM","os/390 24.00 04"]
320 EXEC Locale["C"]
320 PTY Pty[*PtyPipe]
320 EXEC Locale["C"]
320 EXEC ExecShellPath["/bin/sh"]
300 HEARTBEAT 1
310 PLAT os/390 24.00 04
320 PING PingOk
251 RESULT 0
260 EOR
------------------------------------------------------------------------------------------------
2) Verified BLZBFA Proc, it has below path, hence the password file is being searched in mentioned path
------------------------------------------------------------------------------------------------

//* Rational Build Agent - Start
//*
//BLZBFA PROC CNFG='/etc/jazz502/ccm'
//*
//BLZBFA EXEC PGM=BPXBATSL,REGION=0M,TIME=NOLIMIT,
// PARM='PGM &CNFG./startbfa.sh'
//STDOUT DD SYSOUT=*

0 votes


Accepted answer

Permanent link
All I can tell is, that someone has set up the JKE Banking Example with BuildForge and you should talk to the people that have set up your build environment about what is going on.

The password file is set in the rtczBuild.xml  which is loaded from the TSTUSER. I am not sure why this approach has been chosen, but you have to make sure that the password file is available and accessible as /etc/jazz502/ccm/pwdfile

/u/TSTUSER/rtczBuild.xml:35: "passwordFile" contains path to non-existent file "/etc/jazz502/ccm/pwdfile".

-lib outputRootDirectory/20160929-0353040929/JKEBuildScripts/libs/ecj-3.5.2.jar includes the Eclipse ECJ compiler from the JKE Build component.
vikas pujar selected this answer as the correct answer

0 votes

Comments

Thanks Ralph, Sure I will check with people who setup this environment.

But thing which is strange is the Linux box is not having path only : "/etc/jazz502/ccm". Which tells that Build Agent is not installed on Linux box.

Whoever created the build file would know which build machine is supposed to be used with it.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 04 '16, 3:43 a.m.

Question was seen: 1,611 times

Last updated: Oct 04 '16, 5:24 a.m.

Confirmation Cancel Confirm