Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » iwat0284e iwat4039e linux unable to connect to integrated agent controller
iwat0284e iwat4039e linux unable to connect to integrated agent controller [message #138964] Mon, 08 December 2008 18:01 Go to next message
Graeme Vetterlein is currently offline Graeme VetterleinFriend
Messages: 6
Registered: July 2009
Junior Member
Following the guides in:

http://www.eclipse.org/tptp/test/documents/userguides/auto-g ui-viewlet/auto-gui-viewlet_viewlet_swf.html

I hit a 2nd problem at the point where you launch as "test".

It produced messages to the effect that it could not connect to agent
controller

This additionally created:

Unable to load transport layer: socketTL libsocketTL.so

IN the log file (found at
.../dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.lin ux_ia32_4.4.1.v200808290100/agent_controller/config/servicel og.log

It was not clear to me WHAT should happen here but I now believe that an
agent (ACServer) should be started on demand an listen on (at least) port
10002. This was not happening . The process was launched but did not
listen.



Turns out there are a whole bunch of links missing from
.../dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.lin ux_ia32_4.4.1.v200808290100/agent_controller/lib/

In essence things like libsocketTL.so.4.5.0 need to be symlinked to
libsocketTL.so.4.5 libsocketTL.so.4 and libsocketTL.so ... similar for
other .so files found here.

Some of these are visiable if you do ldd ...ACServer, but not all (I
assume it dynamically loads these in code). Anyhow I manually created the
links (well ldconfig(1) + some manual)


This finally allowed the integrated agent to start. Once it had stared an
lsof -p <pid> shows:
ACServer 10726 vetterlein 5r FIFO 8,1 9657153
/tmp/IBMRAC/acmaster
ACServer 10726 vetterlein 6u IPv4 909565 TCP *:10006
(LISTEN)
ACServer 10726 vetterlein 7u IPv4 909566 TCP *:10002
(LISTEN)
ACServer 10726 vetterlein 9u IPv4 909571 TCP *:10005
(LISTEN)
ACServer 10726 vetterlein 10w FIFO 8,1 9657151
/tmp/IBMRAC/84c6d926-9a20-4fb9-9e33-5c6f7e176d71
ACServer 10726 vetterlein 14w FIFO 8,1 9657155
/tmp/IBMRAC/a80a2b8a-3993-41df-a7cb-1412bfd06dd8
ACServer 10726 vetterlein 15w FIFO 8,1 9657149
/tmp/IBMRAC/548123d3-e638-4cd3-afce-954b38fe6589
ACServer 10726 vetterlein 16w FIFO 8,1 9657150
/tmp/IBMRAC/fa2a8792-470d-4b4f-9408-9c8c647d0593

So it's now listening on 10002

Now if I do window->preferences->agent controller->hosts->test connection
all works and I get a good connection

...now just need to figure out the next error: WAT4039E The Test Execution
Harness reported the following problems: Failed to retrieve the context
that should be used to run the test cases in
Re: iwat0284e iwat4039e linux unable to connect to integrated agent controller [message #138999 is a reply to message #138964] Tue, 09 December 2008 14:02 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Graeme,
What version of TPTP are you using? Did you install TPTP from the
update site? If so, you may be blocked by
https://bugs.eclipse.org/bugs/show_bug.cgi?id=214788, however this defect
was resolved in TPTP 4.5.0. Otherwise, please open a TPTP defect with the
steps to reproduce this issue.

Paul
"Graeme Vetterlein" <graeme.eclipse@vetterlein.com> wrote in message
news:91f296dab8b29d537e6e0feae51e0dbe$1@www.eclipse.org...
> Following the guides in:
>
> http://www.eclipse.org/tptp/test/documents/userguides/auto-g ui-viewlet/auto-gui-viewlet_viewlet_swf.html
>
> I hit a 2nd problem at the point where you launch as "test".
> It produced messages to the effect that it could not connect to agent
> controller
>
> This additionally created:
>
> Unable to load transport layer: socketTL libsocketTL.so
>
> IN the log file (found at
> ../dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.linu x_ia32_4.4.1.v200808290100/agent_controller/config/servicelo g.log
>
> It was not clear to me WHAT should happen here but I now believe that an
> agent (ACServer) should be started on demand an listen on (at least) port
> 10002. This was not happening . The process was launched but did not
> listen.
>
>
>
> Turns out there are a whole bunch of links missing from
> ../dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.linu x_ia32_4.4.1.v200808290100/agent_controller/lib/
>
> In essence things like libsocketTL.so.4.5.0 need to be symlinked to
> libsocketTL.so.4.5 libsocketTL.so.4 and libsocketTL.so ... similar for
> other .so files found here.
>
> Some of these are visiable if you do ldd ...ACServer, but not all (I
> assume it dynamically loads these in code). Anyhow I manually created the
> links (well ldconfig(1) + some manual)
>
>
> This finally allowed the integrated agent to start. Once it had stared an
> lsof -p <pid> shows:
> ACServer 10726 vetterlein 5r FIFO 8,1 9657153
> /tmp/IBMRAC/acmaster
> ACServer 10726 vetterlein 6u IPv4 909565 TCP *:10006
> (LISTEN)
> ACServer 10726 vetterlein 7u IPv4 909566 TCP *:10002
> (LISTEN)
> ACServer 10726 vetterlein 9u IPv4 909571 TCP *:10005
> (LISTEN)
> ACServer 10726 vetterlein 10w FIFO 8,1 9657151
> /tmp/IBMRAC/84c6d926-9a20-4fb9-9e33-5c6f7e176d71
> ACServer 10726 vetterlein 14w FIFO 8,1 9657155
> /tmp/IBMRAC/a80a2b8a-3993-41df-a7cb-1412bfd06dd8
> ACServer 10726 vetterlein 15w FIFO 8,1 9657149
> /tmp/IBMRAC/548123d3-e638-4cd3-afce-954b38fe6589
> ACServer 10726 vetterlein 16w FIFO 8,1 9657150
> /tmp/IBMRAC/fa2a8792-470d-4b4f-9408-9c8c647d0593
>
> So it's now listening on 10002
> Now if I do window->preferences->agent controller->hosts->test connection
> all works and I get a good connection
>
> ..now just need to figure out the next error: WAT4039E The Test Execution
> Harness reported the following problems: Failed to retrieve the context
> that should be used to run the test cases in
>
Re: iwat0284e iwat4039e linux unable to connect to integrated agent controller [message #139008 is a reply to message #138999] Tue, 09 December 2008 14:16 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Graeme,
Did you unzip the TPTP driver on Windows before transferring to the
Liniux machine? If so, this will cause the links to disappear.

Our Release Engineering Team have confirmed that the links were correct
in the following TPTP 4.5.2 build:
TPTP-4.5.2-200812080100

Paul
"Paul Slauenwhite" <paules@ca.ibm.com> wrote in message
news:ghltq4$q28$1@build.eclipse.org...
> Hi Graeme,
> What version of TPTP are you using? Did you install TPTP from the
> update site? If so, you may be blocked by
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=214788, however this defect
> was resolved in TPTP 4.5.0. Otherwise, please open a TPTP defect with the
> steps to reproduce this issue.
>
> Paul
> "Graeme Vetterlein" <graeme.eclipse@vetterlein.com> wrote in message
> news:91f296dab8b29d537e6e0feae51e0dbe$1@www.eclipse.org...
>> Following the guides in:
>>
>> http://www.eclipse.org/tptp/test/documents/userguides/auto-g ui-viewlet/auto-gui-viewlet_viewlet_swf.html
>>
>> I hit a 2nd problem at the point where you launch as "test".
>> It produced messages to the effect that it could not connect to agent
>> controller
>>
>> This additionally created:
>>
>> Unable to load transport layer: socketTL libsocketTL.so
>>
>> IN the log file (found at
>> ../dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.linu x_ia32_4.4.1.v200808290100/agent_controller/config/servicelo g.log
>>
>> It was not clear to me WHAT should happen here but I now believe that an
>> agent (ACServer) should be started on demand an listen on (at least) port
>> 10002. This was not happening . The process was launched but did not
>> listen.
>>
>>
>>
>> Turns out there are a whole bunch of links missing from
>> ../dropins/eclipse/plugins/org.eclipse.tptp.platform.ac.linu x_ia32_4.4.1.v200808290100/agent_controller/lib/
>>
>> In essence things like libsocketTL.so.4.5.0 need to be symlinked to
>> libsocketTL.so.4.5 libsocketTL.so.4 and libsocketTL.so ... similar for
>> other .so files found here.
>>
>> Some of these are visiable if you do ldd ...ACServer, but not all (I
>> assume it dynamically loads these in code). Anyhow I manually created the
>> links (well ldconfig(1) + some manual)
>>
>>
>> This finally allowed the integrated agent to start. Once it had stared an
>> lsof -p <pid> shows:
>> ACServer 10726 vetterlein 5r FIFO 8,1 9657153
>> /tmp/IBMRAC/acmaster
>> ACServer 10726 vetterlein 6u IPv4 909565 TCP *:10006
>> (LISTEN)
>> ACServer 10726 vetterlein 7u IPv4 909566 TCP *:10002
>> (LISTEN)
>> ACServer 10726 vetterlein 9u IPv4 909571 TCP *:10005
>> (LISTEN)
>> ACServer 10726 vetterlein 10w FIFO 8,1 9657151
>> /tmp/IBMRAC/84c6d926-9a20-4fb9-9e33-5c6f7e176d71
>> ACServer 10726 vetterlein 14w FIFO 8,1 9657155
>> /tmp/IBMRAC/a80a2b8a-3993-41df-a7cb-1412bfd06dd8
>> ACServer 10726 vetterlein 15w FIFO 8,1 9657149
>> /tmp/IBMRAC/548123d3-e638-4cd3-afce-954b38fe6589
>> ACServer 10726 vetterlein 16w FIFO 8,1 9657150
>> /tmp/IBMRAC/fa2a8792-470d-4b4f-9408-9c8c647d0593
>>
>> So it's now listening on 10002
>> Now if I do window->preferences->agent controller->hosts->test connection
>> all works and I get a good connection
>>
>> ..now just need to figure out the next error: WAT4039E The Test Execution
>> Harness reported the following problems: Failed to retrieve the context
>> that should be used to run the test cases in
>>
>
>
Re: iwat0284e iwat4039e linux unable to connect to integrated agent controller [message #139020 is a reply to message #139008] Tue, 09 December 2008 16:25 Go to previous messageGo to next message
Graeme Vetterlein is currently offline Graeme VetterleinFriend
Messages: 6
Registered: July 2009
Junior Member
OK it is 4.5.1 ... this web site interface does not appear to allow me
to upload my log file. I've just done a fresh install. I'll include the
head and tail of the log here.

In essence the links are NOT created:

(I have no window-box)

...I cat out the scripts at the end of this.

[vetterlein@lc4eb8372843570 repeat451]$ sh MAKEITALL.sh
This should do a complete extract & install

These files in this order:

eclipse-SDK-3.4.1-linux-gtk.tar.gz
tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.5.1.zip
org.eclipse.tptp.test.auto-TPTP-4.5.1.zip


+ tar zxvf /usr/local/downloads/eclipse-SDK-3.4.1-linux-gtk.tar.gz
eclipse/
eclipse/features/
eclipse/features/org.eclipse.cvs_1.1.1.r34x_20080902-7C79E8N 9nJD4oAW9V1938/
...lots of lines elided....

inflating:
eclipse/plugins/org.eclipse.tptp.test.auto_4.1.100.v20080512 0832.jar
inflating: eclipse/epl-v10.html
inflating: eclipse/notice.html
[vetterlein@lc4eb8372843570 repeat451]$
[vetterlein@lc4eb8372843570 repeat451]$ find . -name libsocketTL*
/eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.a c.linux_ia32_4.4.1.v200808290100/agent_controller/lib/libsoc ketTL.so.4.5.0
/eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.a c.linux_em64t_4.4.1.v200808290100/agent_controller/lib/libso cketTL.so.4.5.0
[vetterlein@lc4eb8372843570 repeat451]$
[vetterlein@lc4eb8372843570 repeat451]$
[vetterlein@lc4eb8372843570 repeat451]$ sh GREPITALL.sh
This should do a complete extract & install

These files in this order:

eclipse-SDK-3.4.1-linux-gtk.tar.gz
tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.5.1.zip
org.eclipse.tptp.test.auto-TPTP-4.5.1.zip


+ tar ztvf /usr/local/downloads/eclipse-SDK-3.4.1-linux-gtk.tar.gz
+ grep -i 'libsocketTL*'
+ unzip -v
/usr/local/downloads/tptp.runtime.allInOne.linux.gtk.x86-TPT P-4.5.1.zip
+ grep -i 'libsocketTL*'
29931 Defl:N 11808 61% 09-23-08 19:35 bd075b26
eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.ac .linux_ia32_4.4.1.v200808290100/agent_controller/lib/libsock etTL.so.4.5.0
35705 Defl:N 13519 62% 09-23-08 19:42 724a48f9
eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.ac .linux_em64t_4.4.1.v200808290100/agent_controller/lib/libsoc ketTL.so.4.5.0
+ cd eclipse/dropins
+ unzip -v /usr/local/downloads/org.eclipse.tptp.test.auto-TPTP-4.5.1.z ip
+ grep -i 'libsocketTL*'
[vetterlein@lc4eb8372843570 repeat451]$ cat MAKEITALL.sh
echo "This should do a complete extract & install"
cat <<EOF

These files in this order:

eclipse-SDK-3.4.1-linux-gtk.tar.gz
tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.5.1.zip
org.eclipse.tptp.test.auto-TPTP-4.5.1.zip


EOF

set -x

tar zxvf /usr/local/downloads/eclipse-SDK-3.4.1-linux-gtk.tar.gz

unzip -o
/usr/local/downloads/tptp.runtime.allInOne.linux.gtk.x86-TPT P-4.5.1.zip

cd eclipse/dropins

unzip -o /usr/local/downloads/org.eclipse.tptp.test.auto-TPTP-4.5.1.z ip

[vetterlein@lc4eb8372843570 repeat451]$
[vetterlein@lc4eb8372843570 repeat451]$ cat GREPITALL.sh
echo "This should do a complete extract & install"
cat <<EOF

These files in this order:

eclipse-SDK-3.4.1-linux-gtk.tar.gz
tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.5.1.zip
org.eclipse.tptp.test.auto-TPTP-4.5.1.zip


EOF

set -x

tar ztvf /usr/local/downloads/eclipse-SDK-3.4.1-linux-gtk.tar.gz | grep
-i 'libsocketTL*'

unzip -v
/usr/local/downloads/tptp.runtime.allInOne.linux.gtk.x86-TPT P-4.5.1.zip |
grep -i 'libsocketTL*'

cd eclipse/dropins

unzip -v /usr/local/downloads/org.eclipse.tptp.test.auto-TPTP-4.5.1.z ip
| grep -i 'libsocketTL*'

[vetterlein@lc4eb8372843570 repeat451]$
Re: iwat0284e iwat4039e linux unable to connect to integrated agent controller [message #139032 is a reply to message #139020] Wed, 10 December 2008 12:07 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Thanks Graeme.
This appears to be an issue with the TPTP 4.5.1 packaging. Please open
a new defect
( https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20R elease%20Engineering)
against the Build component, including the details in this post.

Note, when using the TPTP all-in-one, there is no need to
download/install the Eclipse SDK since it is included in the TPTP packaging.

Paul
"Graeme Vetterlein" <graeme.eclipse@vetterlein.com> wrote in message
news:f8085bbe775fdf3b756f8c5292dcbbff$1@www.eclipse.org...
> OK it is 4.5.1 ... this web site interface does not appear to allow me
> to upload my log file. I've just done a fresh install. I'll include the
> head and tail of the log here.
>
> In essence the links are NOT created:
>
> (I have no window-box)
>
> ..I cat out the scripts at the end of this.
>
> [vetterlein@lc4eb8372843570 repeat451]$ sh MAKEITALL.sh This should do a
> complete extract & install
>
> These files in this order:
>
> eclipse-SDK-3.4.1-linux-gtk.tar.gz
> tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.5.1.zip
> org.eclipse.tptp.test.auto-TPTP-4.5.1.zip
>
>
> + tar zxvf /usr/local/downloads/eclipse-SDK-3.4.1-linux-gtk.tar.gz
> eclipse/
> eclipse/features/
> eclipse/features/org.eclipse.cvs_1.1.1.r34x_20080902-7C79E8N 9nJD4oAW9V1938/
> ..lots of lines elided....
>
> inflating:
> eclipse/plugins/org.eclipse.tptp.test.auto_4.1.100.v20080512 0832.jar
> inflating: eclipse/epl-v10.html inflating: eclipse/notice.html
> [vetterlein@lc4eb8372843570 repeat451]$ [vetterlein@lc4eb8372843570
> repeat451]$ find . -name libsocketTL*
> /eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.a c.linux_ia32_4.4.1.v200808290100/agent_controller/lib/libsoc ketTL.so.4.5.0
> /eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.a c.linux_em64t_4.4.1.v200808290100/agent_controller/lib/libso cketTL.so.4.5.0
> [vetterlein@lc4eb8372843570 repeat451]$ [vetterlein@lc4eb8372843570
> repeat451]$ [vetterlein@lc4eb8372843570 repeat451]$ sh GREPITALL.sh
> This should do a complete extract & install
>
> These files in this order:
>
> eclipse-SDK-3.4.1-linux-gtk.tar.gz
> tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.5.1.zip
> org.eclipse.tptp.test.auto-TPTP-4.5.1.zip
>
>
> + tar ztvf /usr/local/downloads/eclipse-SDK-3.4.1-linux-gtk.tar.gz
> + grep -i 'libsocketTL*'
> + unzip -v
> /usr/local/downloads/tptp.runtime.allInOne.linux.gtk.x86-TPT P-4.5.1.zip
> + grep -i 'libsocketTL*'
> 29931 Defl:N 11808 61% 09-23-08 19:35 bd075b26
> eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.ac .linux_ia32_4.4.1.v200808290100/agent_controller/lib/libsock etTL.so.4.5.0
> 35705 Defl:N 13519 62% 09-23-08 19:42 724a48f9
> eclipse/dropins/eclipse/plugins/org.eclipse.tptp.platform.ac .linux_em64t_4.4.1.v200808290100/agent_controller/lib/libsoc ketTL.so.4.5.0
> + cd eclipse/dropins
> + unzip -v /usr/local/downloads/org.eclipse.tptp.test.auto-TPTP-4.5.1.z ip
> + grep -i 'libsocketTL*'
> [vetterlein@lc4eb8372843570 repeat451]$ cat MAKEITALL.sh echo "This should
> do a complete extract & install"
> cat <<EOF
>
> These files in this order:
>
> eclipse-SDK-3.4.1-linux-gtk.tar.gz
> tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.5.1.zip
> org.eclipse.tptp.test.auto-TPTP-4.5.1.zip
>
>
> EOF
>
> set -x
>
> tar zxvf /usr/local/downloads/eclipse-SDK-3.4.1-linux-gtk.tar.gz
>
> unzip -o
> /usr/local/downloads/tptp.runtime.allInOne.linux.gtk.x86-TPT P-4.5.1.zip
>
> cd eclipse/dropins
>
> unzip -o /usr/local/downloads/org.eclipse.tptp.test.auto-TPTP-4.5.1.z ip
>
> [vetterlein@lc4eb8372843570 repeat451]$ [vetterlein@lc4eb8372843570
> repeat451]$ cat GREPITALL.sh
> echo "This should do a complete extract & install"
> cat <<EOF
>
> These files in this order:
>
> eclipse-SDK-3.4.1-linux-gtk.tar.gz
> tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.5.1.zip
> org.eclipse.tptp.test.auto-TPTP-4.5.1.zip
>
>
> EOF
>
> set -x
>
> tar ztvf /usr/local/downloads/eclipse-SDK-3.4.1-linux-gtk.tar.gz |
> grep -i 'libsocketTL*'
>
> unzip -v
> /usr/local/downloads/tptp.runtime.allInOne.linux.gtk.x86-TPT P-4.5.1.zip |
> grep -i 'libsocketTL*'
>
> cd eclipse/dropins
>
> unzip -v /usr/local/downloads/org.eclipse.tptp.test.auto-TPTP-4.5.1.z ip
> | grep -i 'libsocketTL*'
>
> [vetterlein@lc4eb8372843570 repeat451]$
>
Re: iwat0284e iwat4039e linux unable to connect to integrated agent controller [message #139056 is a reply to message #139032] Wed, 10 December 2008 17:23 Go to previous message
Joel Cayne is currently offline Joel CayneFriend
Messages: 13
Registered: July 2009
Junior Member
Hi Graeme,

I downloaded and extracted the TPTP 4.5.1 Linux all in one and the
symbolic links were present.

Have you tried cleaning up the directory or installing into a separate
directory? Have you tried downloading the driver again, in case your file
is corrupt?

Joel
Previous Topic:Behavior view tab is blank.
Next Topic:to determine volume of replicated data
Goto Forum:
  


Current Time: Thu Apr 25 08:02:44 GMT 2024

Powered by FUDForum. Page generated in 0.03888 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top