[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7642) make test for AIX fails on test060-mt-hot



--001a11c3aa2ae1e46f04e28f422a
Content-Type: text/plain; charset=ISO-8859-1

The log file did not show any errors.

I ran the following:

cd .../openldap-2.4.35/tests
ksh -x ./run test060

The output (tail) is:
+ ./scripts/test060-mt-hot
running defines.sh
Running slapadd to build slapd database...
Running slapindex to index slapd database...
Starting slapd on TCP/IP port 9011...
/data/prj/openldap-2.4.35/tests/../servers/slapd/slapd -s0 -f
/data/prj/openldap-2.4.35/tests/testrun/slapd.1.conf -h
ldap://localhost:9011/ -d stats
Testing basic monitor search...
Monitor searches
Testing basic mt-hot search: 1 threads (1 x 50000) loops...
./progs/slapd-mtread -H ldap://localhost:9011/ -D
cn=Manager,dc=example,dc=com -w secret -e cn=Monitor -m 1 -L 1 -l 50000
Testing basic mt-hot search: 5 threads (1 x 10000) loops...
./progs/slapd-mtread -H ldap://localhost:9011/ -D
cn=Manager,dc=example,dc=com -w secret -e cn=Monitor -m 5 -L 1 -l 10000
Testing basic mt-hot search: 100 threads (5 x 100) loops...
./progs/slapd-mtread -H ldap://localhost:9011/ -D
cn=Manager,dc=example,dc=com -w secret -e cn=Monitor -m 100 -L 5 -l 100
slapd-mtread failed (1)!
+ RC=1
+ test no = yes
+ [ 1 -ne 0 ]
+ [ 1 -gt 1 ]
+ exit 1

The log file does not appear to have anything exciting (except the lack of
a config file, and slow performance expected...)

51f4e855 @(#) $OpenLDAP: slapd 2.4.35 (Jul 22 2013 17:26:48) $
        root@x094:/data/prj/openldap-2.4.35/servers/slapd
51f4e855 bdb_db_open: warning - no DB_CONFIG file found in directory
/data/prj/openldap-2.4.35/tests/testrun/db.1.a: (2).
Expect poor performance for suffix "dc=example,dc=com".
51f4e855 slapd starting
51f4e856 conn=1000 fd=13 ACCEPT from IP=127.0.0.1:36278 (IP=127.0.0.1:9011)
51f4e856 conn=1000 op=0 BIND dn="" method=128
51f4e856 conn=1000 op=0 RESULT tag=97 err=0 text=
51f4e856 conn=1000 op=1 SRCH base="cn=Monitor" scope=0 deref=0
filter="(objectClass=*)"
51f4e856 conn=1000 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
51f4e856 conn=1000 op=2 UNBIND
51f4e856 conn=1000 fd=13 closed
51f4e856 conn=1001 fd=13 ACCEPT from IP=127.0.0.1:36279 (IP=127.0.0.1:9011)
51f4e856 conn=1001 op=0 BIND dn="cn=Manager,dc=example,dc=com" method=128
51f4e856 conn=1001 op=0 BIND dn="cn=Manager,dc=example,dc=com" mech=SIMPLE
ssf=0
51f4e856 conn=1001 op=0 RESULT tag=97 err=0 text=
51f4e856 conn=1001 op=1 SRCH base="cn=Monitor" scope=2 deref=0
filter="(objectClass=*)"
51f4e856 conn=1001 op=1 SRCH attr=1.1
51f4e856 conn=1001 op=1 SEARCH RESULT tag=101 err=0 nentries=61 text=
51f4e856 conn=1001 op=2 SRCH base="cn=Monitor" scope=0 deref=0
filter="(objectClass=*)"
51f4e856 conn=1001 op=2 SRCH attr=1.1
51f4e856 conn=1001 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
....
51f4e8b0 conn=1003 op=31814 SEARCH RESULT tag=101 err=0 nentries=1 text=
51f4e8b0 conn=1003 op=31815 SRCH base="cn=Tasklist,cn=Threads,cn=Monitor"
scope=0 deref=0 filter="(objectClass=*)"
51f4e8b0 conn=1003 op=31815 SRCH attr=1.1
51f4e8b0 conn=1003 op=31815 SEARCH RESULT tag=101 err=0 nentries=1 text=
51f4e8b0 conn=1003 op=31816 UNBIND
51f4e8b0 conn=1003 fd=13 closed
51f4e8b0 daemon: shutdown requested and initiated.
51f4e8b0 slapd shutdown: waiting for 0 operations/tasks to finish
51f4e8b0 slapd stopped.

Next hint please!

Michael

On Sat, Jul 27, 2013 at 7:10 PM, Howard Chu <hyc@symas.com> wrote:

> mamfelt@gmail.com wrote:
>
>> --089e0160a454490f9304e28133c7
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>>
>> p.s. what is the quick way to run this test directly, rather than 1-59
>> before running test 60?
>>
>
> <openldap>/tests/run test060
>
>
>  I did not find a core dump.
>>
>
> Read the tail end of testrun/slapd.1.log and look for any error messages.
>
>
>   -- Howard Chu
>   CTO, Symas Corp.           http://www.symas.com
>   Director, Highland Sun     http://highlandsun.com/hyc/
>   Chief Architect, OpenLDAP  http://www.openldap.org/**project/<http://www.openldap.org/project/>
>

--001a11c3aa2ae1e46f04e28f422a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

The log file did not show any errors.<br><br>I ran the following:<br><br>cd=
 .../openldap-2.4.35/tests<br>ksh -x ./run test060<br><br>The output (tail)=
 is:<br><span style=3D"font-family:courier new,monospace">+ ./scripts/test0=
60-mt-hot<br>
running defines.sh<br>Running slapadd to build slapd database...<br>Running=
 slapindex to index slapd database...<br>Starting slapd on TCP/IP port 9011=
...<br>/data/prj/openldap-2.4.35/tests/../servers/slapd/slapd
 -s0 -f /data/prj/openldap-2.4.35/tests/testrun/slapd.1.conf -h=20
ldap://localhost:9011/ -d stats<br>Testing basic monitor search...<br>Monit=
or searches<br>Testing basic mt-hot search: 1 threads (1 x 50000) loops...<=
br>./progs/slapd-mtread -H ldap://localhost:9011/ -D cn=3DManager,dc=3Dexam=
ple,dc=3Dcom -w secret -e cn=3DMonitor -m 1 -L 1 -l 50000<br>
Testing basic mt-hot search: 5 threads (1 x 10000) loops...<br>./progs/slap=
d-mtread -H ldap://localhost:9011/ -D cn=3DManager,dc=3Dexample,dc=3Dcom -w=
 secret -e cn=3DMonitor -m 5 -L 1 -l 10000<br>Testing basic mt-hot search: =
100 threads (5 x 100) loops...<br>
./progs/slapd-mtread -H ldap://localhost:9011/ -D cn=3DManager,dc=3Dexample=
,dc=3Dcom -w secret -e cn=3DMonitor -m 100 -L 5 -l 100<br>slapd-mtread fail=
ed (1)!<br>+ RC=3D1<br>+ test no =3D yes<br>+ [ 1 -ne 0 ]<br>+ [ 1 -gt 1 ]<=
br>+ exit 1<br>
</span><br>The log file does not appear to have anything exciting (except t=
he lack of a config file, and slow performance expected...)<br><br>51f4e855=
 @(#) $OpenLDAP: slapd 2.4.35 (Jul 22 2013 17:26:48) $<br>=A0=A0=A0=A0=A0=
=A0=A0 root@x094:/data/prj/openldap-2.4.35/servers/slapd<br>
51f4e855 bdb_db_open: warning - no DB_CONFIG file found in directory /data/=
prj/openldap-2.4.35/tests/testrun/db.1.a: (2).<br>Expect poor performance f=
or suffix &quot;dc=3Dexample,dc=3Dcom&quot;.<br>51f4e855 slapd starting<br>
51f4e856 conn=3D1000 fd=3D13 ACCEPT from IP=3D<a href=3D"http://127.0.0.1:3=
6278">127.0.0.1:36278</a> (IP=3D<a href=3D"http://127.0.0.1:9011";>127.0.0.1=
:9011</a>)<br>51f4e856 conn=3D1000 op=3D0 BIND dn=3D&quot;&quot; method=3D1=
28<br>51f4e856 conn=3D1000 op=3D0 RESULT tag=3D97 err=3D0 text=3D<br>
51f4e856 conn=3D1000 op=3D1 SRCH base=3D&quot;cn=3DMonitor&quot; scope=3D0 =
deref=3D0 filter=3D&quot;(objectClass=3D*)&quot;<br>51f4e856 conn=3D1000 op=
=3D1 SEARCH RESULT tag=3D101 err=3D0 nentries=3D1 text=3D<br>51f4e856 conn=
=3D1000 op=3D2 UNBIND<br>51f4e856 conn=3D1000 fd=3D13 closed<br>
51f4e856 conn=3D1001 fd=3D13 ACCEPT from IP=3D<a href=3D"http://127.0.0.1:3=
6279">127.0.0.1:36279</a> (IP=3D<a href=3D"http://127.0.0.1:9011";>127.0.0.1=
:9011</a>)<br>51f4e856 conn=3D1001 op=3D0 BIND dn=3D&quot;cn=3DManager,dc=
=3Dexample,dc=3Dcom&quot; method=3D128<br>
51f4e856 conn=3D1001 op=3D0 BIND dn=3D&quot;cn=3DManager,dc=3Dexample,dc=3D=
com&quot; mech=3DSIMPLE ssf=3D0<br>51f4e856 conn=3D1001 op=3D0 RESULT tag=
=3D97 err=3D0 text=3D<br>51f4e856 conn=3D1001 op=3D1 SRCH base=3D&quot;cn=
=3DMonitor&quot; scope=3D2 deref=3D0 filter=3D&quot;(objectClass=3D*)&quot;=
<br>
51f4e856 conn=3D1001 op=3D1 SRCH attr=3D1.1<br>51f4e856 conn=3D1001 op=3D1 =
SEARCH RESULT tag=3D101 err=3D0 nentries=3D61 text=3D<br>51f4e856 conn=3D10=
01 op=3D2 SRCH base=3D&quot;cn=3DMonitor&quot; scope=3D0 deref=3D0 filter=
=3D&quot;(objectClass=3D*)&quot;<br>
51f4e856 conn=3D1001 op=3D2 SRCH attr=3D1.1<br>51f4e856 conn=3D1001 op=3D2 =
SEARCH RESULT tag=3D101 err=3D0 nentries=3D1 text=3D<br>....<br>51f4e8b0 co=
nn=3D1003 op=3D31814 SEARCH RESULT tag=3D101 err=3D0 nentries=3D1 text=3D<b=
r>51f4e8b0 conn=3D1003 op=3D31815 SRCH base=3D&quot;cn=3DTasklist,cn=3DThre=
ads,cn=3DMonitor&quot; scope=3D0 deref=3D0 filter=3D&quot;(objectClass=3D*)=
&quot;<br>
51f4e8b0 conn=3D1003 op=3D31815 SRCH attr=3D1.1<br>51f4e8b0 conn=3D1003 op=
=3D31815 SEARCH RESULT tag=3D101 err=3D0 nentries=3D1 text=3D<br>51f4e8b0 c=
onn=3D1003 op=3D31816 UNBIND<br>51f4e8b0 conn=3D1003 fd=3D13 closed<br>51f4=
e8b0 daemon: shutdown requested and initiated.<br>
51f4e8b0 slapd shutdown: waiting for 0 operations/tasks to finish<br>51f4e8=
b0 slapd stopped.<br><br>Next hint please!<br><br>Michael<br><br><div class=
=3D"gmail_quote">On Sat, Jul 27, 2013 at 7:10 PM, Howard Chu <span dir=3D"l=
tr">&lt;<a href=3D"mailto:hyc@symas.com"; target=3D"_blank">hyc@symas.com</a=
>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><a href=3D"mailto:mamfelt@gmail.com"; target=
=3D"_blank">mamfelt@gmail.com</a> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
--089e0160a454490f9304e28133c7<br>
Content-Type: text/plain; charset=3DISO-8859-1<div class=3D"im"><br>
<br>
p.s. what is the quick way to run this test directly, rather than 1-59<br>
before running test 60?<br>
</div></blockquote>
<br>
&lt;openldap&gt;/tests/run test060<div class=3D"im"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I did not find a core dump.<br>
</blockquote>
<br></div>
Read the tail end of testrun/slapd.1.log and look for any error messages.<d=
iv class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
=A0 -- Howard Chu<br>
=A0 CTO, Symas Corp. =A0 =A0 =A0 =A0 =A0 <a href=3D"http://www.symas.com"; t=
arget=3D"_blank">http://www.symas.com</a><br>
=A0 Director, Highland Sun =A0 =A0 <a href=3D"http://highlandsun.com/hyc/"; =
target=3D"_blank">http://highlandsun.com/hyc/</a><br>
=A0 Chief Architect, OpenLDAP =A0<a href=3D"http://www.openldap.org/project=
/" target=3D"_blank">http://www.openldap.org/<u></u>project/</a><br>
</div></div></blockquote></div><br>

--001a11c3aa2ae1e46f04e28f422a--