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

Job failed due to Authentication failed

I have been trying to troubleshoot this error for days. I still can't figure this out.

From my view, these tests were done trying to isolate the problem.

1) Test BFAgent (using 7.1.2.1 version) with encryption enabled.

Telnet directly to BFAgent


Enabled the encryption on BFAgent using the same bfpwencrpt.conf as the buildforge engine.
Telneted to the bfagent. execute the unix command ; "ls"
Obtain the encrypted password for bfadmin from the DB and sent along with the command. ------> Works.


Using UI Console-> Test Connection

Enabled the encryption on in Server object in the UI Console
Clicked on "Test Connection" Button.. ----------------------------------------------------------------------> passed


2) Test BFAgent (using 7.1.2.1 version) with encryption disabled.. Sending encoded password instead.

Telnet directly to BFAgent

Disabled the encryption on BFAgent.
Telneted to the bfagent. execute the unix command ; "ls"
use the encoded password from Josh ad sent along with the command ---> works.


Using UI Console-> Test Connection

Still keeping the encryption on BFAgnet disabled.
Disabled the encryption on in Server object in the UI Console
Clicked on "Test Connection" Button.. ----------------------------------------------------------------------> passed



After completed the above tests, the project still failed with the bad password. I can see the encpass changed on every job launched. Could it be some we can see how the bfproject process the the password decryption?

I also noticed that encpass between jobs are different. Is this normal?

Just quick overview. The pasword stored in DB is encrypted but not the communication to the agent. Just the encoding.



Job #1

1 2/7/11 3:36 PM STEP Step using selector 'MySelector'.
2 2/7/11 3:36 PM BLOCK quit
3 2/7/11 3:36 PM MANIFEST BF_LAST_UPDATE=1297110908
4 2/7/11 3:36 PM MANIFEST BF_NAME=MyTestServer
5 2/7/11 3:36 PM MANIFEST BF_LOADRATIO=0.333333333333333
6 2/7/11 3:36 PM MANIFEST BF_JOBS=1
7 2/7/11 3:36 PM MANIFEST BF_AGENT_VERSION=7.1.2.1-0-0008
8 2/7/11 3:36 PM MANIFEST BF_LAST_REFRESH=1297110908
9 2/7/11 3:36 PM BLOCK env S:BF_D:110207
10 2/7/11 3:36 PM BLOCK env S:BF_T:153622
11 2/7/11 3:36 PM BLOCK env S:BF_J:37
12 2/7/11 3:36 PM BLOCK env S:BF_W:1
13 2/7/11 3:36 PM BLOCK env S:BF_TAG:BUILD_54
14 2/7/11 3:36 PM BLOCK env S:BF_PROJECTNAME:HelloWorldRoot
15 2/7/11 3:36 PM BLOCK env S:BF_USER:Root User
16 2/7/11 3:36 PM BLOCK env S:BF_USER_LOGIN:root
17 2/7/11 3:36 PM BLOCK env S:BF_USER_EMAIL:root@localhost
18 2/7/11 3:36 PM BLOCK env S:BF_CLASS:Production
19 2/7/11 3:36 PM BLOCK env S:BF_BID:f13630040c501000efd89f2b1b211b21
20 2/7/11 3:36 PM BLOCK env S:BF_PID:ce67eb0b0c501000dc3c9f2b3b293b29
21 2/7/11 3:36 PM BLOCK env S:BF_SID:1
22 2/7/11 3:36 PM BLOCK env S:BF_SSID:ce6958190c501000fd019f2b3e713e71
23 2/7/11 3:36 PM BLOCK env S:BF_SUID:ECDCEE66-32F9-11E0-BC62-D18F4610ACBF
24 2/7/11 3:36 PM BLOCK env S:BF_SPID:ce67eb0b0c501000dc3c9f2b3b293b29
25 2/7/11 3:36 PM BLOCK env S:BF_BLOCK:
26 2/7/11 3:36 PM BLOCK env S:BF_CONSOLE_VERSION:7.115015
27 2/7/11 3:36 PM BLOCK env S:BF_STEP_TYPE:REGULAR
28 2/7/11 3:36 PM BLOCK env S:BF_ONFAIL:Halt
29 2/7/11 3:36 PM BLOCK env S:BF_LASTGOODRUN:2011-01-31 21:26:11
30 2/7/11 3:36 PM BLOCK env S:BF_LASTGOODUNIX:1296527171
31 2/7/11 3:36 PM BLOCK env S:BF_LASTGOODTAG:BUILD_1
32 2/7/11 3:36 PM BLOCK env S:BF_LASTRUN:2011-02-07 15:21:58
33 2/7/11 3:36 PM BLOCK env S:BF_LASTUNIX:1297110118
34 2/7/11 3:36 PM BLOCK env S:BF_LASTTAG:BUILD_53
35 2/7/11 3:36 PM BLOCK env S:BF_PROJECTNAME_PHYS:HelloWorldRoot
36 2/7/11 3:36 PM BLOCK env S:BF_TAG_PHYS:BUILD_54
37 2/7/11 3:36 PM BLOCK env S:BF_STEPNAME:sterp1
38 2/7/11 3:36 PM BLOCK env S:BF_STEP_ROOT:/opt/rational/bf_builds/HelloWorldRoot/BUILD_54/
39 2/7/11 3:36 PM BLOCK env S:BF_ROOT:/opt/rational/bf_builds/HelloWorldRoot/BUILD_54
40 2/7/11 3:36 PM BLOCK env S:BF_ENGINE:01817C24-234B-11E0-AD7F-923BC2FE7594
41 2/7/11 3:36 PM BLOCK env S:BF_THRESHOLD_COUNT:0
42 2/7/11 3:36 PM BLOCK env S:BF_SERVER_ROOT:/opt/rational/bf_builds
43 2/7/11 3:36 PM BLOCK env S:BF_SERVER:MyTestServer
44 2/7/11 3:36 PM BLOCK env S:BF_HOST:127.0.0.1:5556
45 2/7/11 3:36 PM BLOCK env S:BF_TAG:BUILD_54
46 2/7/11 3:36 PM BLOCK env S:B:54
47 2/7/11 3:36 PM BLOCK env S:BF_T:153617
48 2/7/11 3:36 PM BLOCK env S:BF_D:110207
49 2/7/11 3:36 PM BLOCK env S:BF_W:1
50 2/7/11 3:36 PM BLOCK env S:BF_J:37
51 2/7/11 3:36 PM BLOCK env S:END_VARIABLE:}
52 2/7/11 3:36 PM BLOCK env S:BEGIN_VARIABLE:$$$${
53 2/7/11 3:36 PM BLOCK env S:SCRIPT_EXT:.sh
54 2/7/11 3:36 PM BLOCK env S:RAFW_HOME:/opt/rational/buildforge/rafw
55 2/7/11 3:36 PM BLOCK cmd mkdir
56 2/7/11 3:36 PM BLOCK root /opt/rational/bf_builds
57 2/7/11 3:36 PM BLOCK dir HelloWorldRoot/BUILD_54
58 2/7/11 3:36 PM BLOCK username bfadmin
59 2/7/11 3:36 PM BLOCK encpass 295d3c0e5a042e6000fcc6e281ea2ae8a52161ea739155f273d0
60 2/7/11 3:36 PM BLOCK lang en_US
61 2/7/11 3:36 PM BLOCK go
62 2/7/11 3:36 PM AUTH Unable to set user account to unknown account (bfadmin)
63 2/7/11 3:36 PM RESULT 1 (1)
64 2/7/11 3:36 PM EXEC unable to create/verify project relative working directory.
65 2/7/11 3:36 PM EXEC HelloWorldRoot/BUILD_54 under /opt/rational/bf_builds on server MyTestServer could not be accessed.
66 2/7/11 3:36 PM BLOCK quit


Job #2

1 2/7/11 3:21 PM STEP Step using selector 'MySelector'.
2 2/7/11 3:22 PM BLOCK quit
3 2/7/11 3:22 PM MANIFEST BF_LAST_UPDATE=1297110003
4 2/7/11 3:22 PM MANIFEST BF_NAME=MyTestServer
5 2/7/11 3:22 PM MANIFEST BF_LOADRATIO=0.333333333333333
6 2/7/11 3:22 PM MANIFEST BF_JOBS=1
7 2/7/11 3:22 PM MANIFEST BF_AGENT_VERSION=7.1.2.1-0-0008
8 2/7/11 3:22 PM MANIFEST BF_LAST_REFRESH=1297110003
9 2/7/11 3:22 PM BLOCK env S:BF_D:110207
10 2/7/11 3:22 PM BLOCK env S:BF_T:152158
11 2/7/11 3:22 PM BLOCK env S:BF_J:37
12 2/7/11 3:22 PM BLOCK env S:BF_W:1
13 2/7/11 3:22 PM BLOCK env S:BF_TAG:BUILD_53
14 2/7/11 3:22 PM BLOCK env S:BF_PROJECTNAME:HelloWorldRoot
15 2/7/11 3:22 PM BLOCK env S:BF_USER:Root User
16 2/7/11 3:22 PM BLOCK env S:BF_USER_LOGIN:root
17 2/7/11 3:22 PM BLOCK env S:BF_USER_EMAIL:root@localhost
18 2/7/11 3:22 PM BLOCK env S:BF_CLASS:Production
19 2/7/11 3:22 PM BLOCK env S:BF_BID:f12908720c501000baab9f2b19d119d1
20 2/7/11 3:22 PM BLOCK env S:BF_PID:ce67eb0b0c501000dc3c9f2b3b293b29
21 2/7/11 3:22 PM BLOCK env S:BF_SID:1
22 2/7/11 3:22 PM BLOCK env S:BF_SSID:ce6958190c501000fd019f2b3e713e71
23 2/7/11 3:22 PM BLOCK env S:BF_SUID:EA04FFE6-32F7-11E0-8D4B-DFD77A9E5983
24 2/7/11 3:22 PM BLOCK env S:BF_SPID:ce67eb0b0c501000dc3c9f2b3b293b29
25 2/7/11 3:22 PM BLOCK env S:BF_BLOCK:
26 2/7/11 3:22 PM BLOCK env S:BF_CONSOLE_VERSION:7.115015
27 2/7/11 3:22 PM BLOCK env S:BF_STEP_TYPE:REGULAR
28 2/7/11 3:22 PM BLOCK env S:BF_ONFAIL:Halt
29 2/7/11 3:22 PM BLOCK env S:BF_LASTGOODRUN:2011-01-31 21:26:11
30 2/7/11 3:22 PM BLOCK env S:BF_LASTGOODUNIX:1296527171
31 2/7/11 3:22 PM BLOCK env S:BF_LASTGOODTAG:BUILD_1
32 2/7/11 3:22 PM BLOCK env S:BF_LASTRUN:2011-02-07 15:20:24
33 2/7/11 3:22 PM BLOCK env S:BF_LASTUNIX:1297110024
34 2/7/11 3:22 PM BLOCK env S:BF_LASTTAG:BUILD_52
35 2/7/11 3:22 PM BLOCK env S:BF_PROJECTNAME_PHYS:HelloWorldRoot
36 2/7/11 3:22 PM BLOCK env S:BF_TAG_PHYS:BUILD_53
37 2/7/11 3:22 PM BLOCK env S:BF_STEPNAME:sterp1
38 2/7/11 3:22 PM BLOCK env S:BF_STEP_ROOT:/opt/rational/bf_builds/HelloWorldRoot/BUILD_53/
39 2/7/11 3:22 PM BLOCK env S:BF_ROOT:/opt/rational/bf_builds/HelloWorldRoot/BUILD_53
40 2/7/11 3:22 PM BLOCK env S:BF_ENGINE:01817C24-234B-11E0-AD7F-923BC2FE7594
41 2/7/11 3:22 PM BLOCK env S:BF_THRESHOLD_COUNT:0
42 2/7/11 3:22 PM BLOCK env S:BF_SERVER_ROOT:/opt/rational/bf_builds
43 2/7/11 3:22 PM BLOCK env S:BF_SERVER:MyTestServer
44 2/7/11 3:22 PM BLOCK env S:BF_HOST:127.0.0.1:5556
45 2/7/11 3:22 PM BLOCK env S:BF_TAG:BUILD_53
46 2/7/11 3:22 PM BLOCK env S:B:53
47 2/7/11 3:22 PM BLOCK env S:BF_T:152155
48 2/7/11 3:22 PM BLOCK env S:BF_D:110207
49 2/7/11 3:22 PM BLOCK env S:BF_W:1
50 2/7/11 3:22 PM BLOCK env S:BF_J:37
51 2/7/11 3:22 PM BLOCK env S:END_VARIABLE:}
52 2/7/11 3:22 PM BLOCK env S:BEGIN_VARIABLE:$$$${
53 2/7/11 3:22 PM BLOCK env S:SCRIPT_EXT:.sh
54 2/7/11 3:22 PM BLOCK env S:RAFW_HOME:/opt/rational/buildforge/rafw
55 2/7/11 3:22 PM BLOCK cmd mkdir
56 2/7/11 3:22 PM BLOCK root /opt/rational/bf_builds
57 2/7/11 3:22 PM BLOCK dir HelloWorldRoot/BUILD_53
58 2/7/11 3:22 PM BLOCK username bfadmin
59 2/7/11 3:22 PM BLOCK encpass ec0e5129e4fe430500fc03b1ecdedfc00a24e29dfba458da5bb3
60 2/7/11 3:22 PM BLOCK lang en_US
61 2/7/11 3:22 PM BLOCK go
62 2/7/11 3:22 PM AUTH Unable to set user account to unknown account (bfadmin)
63 2/7/11 3:22 PM RESULT 1 (1)
64 2/7/11 3:22 PM EXEC unable to create/verify project relative working directory.
65 2/7/11 3:22 PM EXEC HelloWorldRoot/BUILD_53 under /opt/rational/bf_builds on server MyTestServer could not be accessed.
66 2/7/11 3:22 PM BLOCK quit

0 votes



One answer

Permanent link
 The encoded password should change, but if the test connection work, the build should work too.  If you need to see the encryption working try turning on the debug and troubleshooting that way:
http://pic.dhe.ibm.com/infocenter/bldforge/v7r1m2/index.jsp?topic=%2Fcom.ibm.rational.buildforge.doc%2Ftopics%2Fconfig_sec_pwd_debug_console.html

0 votes

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: Feb 07 '11, 4:23 p.m.

Question was seen: 5,072 times

Last updated: Feb 19 '13, 12:03 p.m.

Confirmation Cancel Confirm