VMware Performance Community
rajanyadav
Contributor
Contributor

DS2 Test issues

My DS2 test is having issues.

For the DS2 test
my DS2WebA0 test run fails every time. Stax errors out saying
DS2WebA run too short. Elapsed time=22; expected time = 180. This happens every time, whereas WebB and WebC run fine.

For failed DS2WebA0

WRF looks like this

Total number of Threads to be Spawned across multiple servers are n_threads: 10

target= DS2WebA0  n_threads= 10  ramp_rate= 10  run_time= 180  db_size= 20gb  warmup_time= 0  think_time= 0.085

pct_newcustomers= 20  n_searches= 3  search_batch_size= 5  n_line_items= 5  virt_dir= ds2  page_type= php  windows_perf_host=  detailed_view= N linux_perf_host=

Using WIN32 QueryPerformanceCounters for measuring response time

Performance Counter Category Test and Counter MaxRT exist

Thread 0: created for User 0

Thread 1: created for User 1

Thread 2: created for User 2

Thread 3: created for User 3

Thread 4: created for User 4

Thread 5: created for User 5

Thread 6: created for User 6

Thread 7: created for User 7

Thread 8: created for User 8

Thread 9: created for User 9

Controller (7/26/2012 6:05:59 PM): all threads running

Controller: n_threads_connected = 0 : ConnectionTimeOut remaining 60

Controller: n_threads_connected = 0 : ConnectionTimeOut remaining 59

Controller: n_threads_connected = 0 : ConnectionTimeOut remaining 58

Thread 8: connected to DS2WebA0

Thread 1: connected to DS2WebA0

Thread 3: connected to DS2WebA0

Thread 6: connected to DS2WebA0

Controller: n_threads_connected = 4 : ConnectionTimeOut remaining 57

Thread 4: connected to DS2WebA0

Controller: n_threads_connected = 5 : ConnectionTimeOut remaining 56

Thread 9: connected to DS2WebA0

Controller: n_threads_connected = 6 : ConnectionTimeOut remaining 55

Thread 2: connected to DS2WebA0

Controller: n_threads_connected = 7 : ConnectionTimeOut remaining 54

Thread 7: connected to DS2WebA0

Thread 0: connected to DS2WebA0

Controller: n_threads_connected = 9 : ConnectionTimeOut remaining 53

Thread 5: connected to DS2WebA0

Controller (7/26/2012 6:06:08 PM): all threads connected - issuing Start

Thread 6: Login: Username/password incorrect; str_acc length: 1118  str_acc:

<!--

* DVD Store Common Include PHP Page - dscommon.inc

*

* Copyright (C) 2005 Dell, Inc. <dave_jaffe@dell.com> and <todd_muirhead@dell.com>

*

* Used by DVD Store php pages

*

* Last Updated 5/13/05

*

*  This program is free software; you can redistribute it and/or modify

*  it under the terms of the GNU General Public License as published by

*  the Free Software Foundation; either version 2 of the License, or

*  (at your option) any later version.

*

*  This program is distributed in the hope that it will be useful,

*  but WITHOUT ANY WARRANTY; without even the implied warranty of

*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

*  GNU General Public License for more details.

*

*  You should have received a copy of the GNU General Public License

*  along with this program; if not, write to the Free Software

*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-->

<HTML>

<HEAD><TITLE>DVD Store Login Page</TITLE></HEAD>

<BODY>

<FONT FACE="Arial" COLOR="#0000FF">

<H1 ALIGN=CENTER>DVD Store</H1>

Can't connect to MySQL server on 'DS2-DB' (101)

Thread 6: Error in Login for User user25516935, thread exiting

Thread 5: Login: Username/password incorrect; str_acc length: 1118  str_acc:

<!--

* DVD Store Common Include PHP Page - dscommon.inc

*

* Copyright (C) 2005 Dell, Inc. <dave_jaffe@dell.com> and <todd_muirhead@dell.com>

*

* Used by DVD Store php pages

*

* Last Updated 5/13/05

*

*  This program is free software; you can redistribute it and/or modify

*  it under the terms of the GNU General Public License as published by

*  the Free Software Foundation; either version 2 of the License, or

*  (at your option) any later version.

*

*  This program is distributed in the hope that it will be useful,

*  but WITHOUT ANY WARRANTY; without even the implied warranty of

*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

*  GNU General Public License for more details.

*

*  You should have received a copy of the GNU General Public License

*  along with this program; if not, write to the Free Software

*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-->

<HTML>

<HEAD><TITLE>DVD Store Login Page</TITLE></HEAD>

<BODY>

<FONT FACE="Arial" COLOR="#0000FF">

<H1 ALIGN=CENTER>DVD Store</H1>

Can't connect to MySQL server on 'DS2-DB' (101)

Thread 5: Error in Login for User user15979657, thread exiting

Thread 4: Login: Username/password incorrect; str_acc length: 1118  str_acc:

<!--

* DVD Store Common Include PHP Page - dscommon.inc

*

* Copyright (C) 2005 Dell, Inc. <dave_jaffe@dell.com> and <todd_muirhead@dell.com>

*

* Used by DVD Store php pages

*

* Last Updated 5/13/05

*

*  This program is free software; you can redistribute it and/or modify

*  it under the terms of the GNU General Public License as published by

*  the Free Software Foundation; either version 2 of the License, or

*  (at your option) any later version.

*

*  This program is distributed in the hope that it will be useful,

*  but WITHOUT ANY WARRANTY; without even the implied warranty of

*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

*  GNU General Public License for more details.

*

*  You should have received a copy of the GNU General Public License

*  along with this program; if not, write to the Free Software

*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-->

<HTML>

<HEAD><TITLE>DVD Store Login Page</TITLE></HEAD>

<BODY>

<FONT FACE="Arial" COLOR="#0000FF">

<H1 ALIGN=CENTER>DVD Store</H1>

Can't connect to MySQL server on 'DS2-DB' (101)

Thread 4: Error in Login for User user21194818, thread exiting

Thread 2: Login: Username/password incorrect; str_acc length: 1118  str_acc:

<!--

* DVD Store Common Include PHP Page - dscommon.inc

*

* Copyright (C) 2005 Dell, Inc. <dave_jaffe@dell.com> and <todd_muirhead@dell.com>

*

* Used by DVD Store php pages

*

* Last Updated 5/13/05

*

*  This program is free software; you can redistribute it and/or modify

*  it under the terms of the GNU General Public License as published by

*  the Free Software Foundation; either version 2 of the License, or

*  (at your option) any later version.

*

*  This program is distributed in the hope that it will be useful,

*  but WITHOUT ANY WARRANTY; without even the implied warranty of

*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

*  GNU General Public License for more details.

*

*  You should have received a copy of the GNU General Public License

*  along with this program; if not, write to the Free Software

*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-->

<HTML>

<HEAD><TITLE>DVD Store Login Page</TITLE></HEAD>

<BODY>

<FONT FACE="Arial" COLOR="#0000FF">

<H1 ALIGN=CENTER>DVD Store</H1>

Can't connect to MySQL server on 'DS2-DB' (101)

Thread 2: Error in Login for User user17854962, thread exiting

Thread 8: Login: Username/password incorrect; str_acc length: 1118  str_acc:

<!--

* DVD Store Common Include PHP Page - dscommon.inc

*

* Copyright (C) 2005 Dell, Inc. <dave_jaffe@dell.com> and <todd_muirhead@dell.com>

*

* Used by DVD Store php pages

*

* Last Updated 5/13/05

*

*  This program is free software; you can redistribute it and/or modify

*  it under the terms of the GNU General Public License as published by

*  the Free Software Foundation; either version 2 of the License, or

*  (at your option) any later version.

*

*  This program is distributed in the hope that it will be useful,

*  but WITHOUT ANY WARRANTY; without even the implied warranty of

*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

*  GNU General Public License for more details.

*

*  You should have received a copy of the GNU General Public License

*  along with this program; if not, write to the Free Software

*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-->

<HTML>

<HEAD><TITLE>DVD Store Login Page</TITLE></HEAD>

<BODY>

<FONT FACE="Arial" COLOR="#0000FF">

<H1 ALIGN=CENTER>DVD Store</H1>

Can't connect to MySQL server on 'DS2-DB' (101)

Thread 8: Error in Login for User user24118695, thread exiting

Thread 3: Login: Username/password incorrect; str_acc length: 1118  str_acc:

<!--

* DVD Store Common Include PHP Page - dscommon.inc

*

* Copyright (C) 2005 Dell, Inc. <dave_jaffe@dell.com> and <todd_muirhead@dell.com>

*

* Used by DVD Store php pages

*

* Last Updated 5/13/05

*

*  This program is free software; you can redistribute it and/or modify

*  it under the terms of the GNU General Public License as published by

*  the Free Software Foundation; either version 2 of the License, or

*  (at your option) any later version.

*

*  This program is distributed in the hope that it will be useful,

*  but WITHOUT ANY WARRANTY; without even the implied warranty of

*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

*  GNU General Public License for more details.

*

*  You should have received a copy of the GNU General Public License

*  along with this program; if not, write to the Free Software

*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-->

<HTML>

<HEAD><TITLE>DVD Store Login Page</TITLE></HEAD>

<BODY>

<FONT FACE="Arial" COLOR="#0000FF">

<H1 ALIGN=CENTER>DVD Store</H1>

Can't connect to MySQL server on 'DS2-DB' (101)

Thread 3: Error in Login for User user21383896, thread exiting

Thread 1: Login: Username/password incorrect; str_acc length: 1118  str_acc:

<!--

* DVD Store Common Include PHP Page - dscommon.inc

*

* Copyright (C) 2005 Dell, Inc. <dave_jaffe@dell.com> and <todd_muirhead@dell.com>

*

* Used by DVD Store php pages

*

* Last Updated 5/13/05

*

*  This program is free software; you can redistribute it and/or modify

*  it under the terms of the GNU General Public License as published by

*  the Free Software Foundation; either version 2 of the License, or

*  (at your option) any later version.

*

*  This program is distributed in the hope that it will be useful,

*  but WITHOUT ANY WARRANTY; without even the implied warranty of

*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

*  GNU General Public License for more details.

*

*  You should have received a copy of the GNU General Public License

*  along with this program; if not, write to the Free Software

*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

-->

<HTML>

<HEAD><TITLE>DVD Store Login Page</TITLE></HEAD>

<BODY>

<FONT FACE="Arial" COLOR="#0000FF">

<H1 ALIGN=CENTER>DVD Store</H1>

Can't connect to MySQL server on 'DS2-DB' (101)

Thread 1: Error in Login for User user6373702, thread exiting

Unhandled Exception: Unhandled Exception: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.

Parameter name: startIndex

   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)

   at System.String.Substring(Int32 startIndex)

   at ds2xdriver.ds2Interface.ds2newcustomer(String username_in, String password_in, String firstname_in, String lastname_in, String address1_in, String address2_in, String city_in, String state_in, String zip_in, String country_in, String email_in, String phone_in, Int32 creditcardtype_in, String creditcard_in, Int32 ccexpmon_in, Int32 ccexpyr_in, Int32 age_in, Int32 income_in, String gender_in, Int32& customerid_out, Double& rt)

   at ds2xdriver.User.Emulate()

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart()

System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.

Parameter name: startIndex

   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)

   at System.String.Substring(Int32 startIndex)

   at ds2xdriver.ds2Interface.ds2newcustomer(String username_in, String password_in, String firstname_in, String lastname_in, String address1_in, String address2_in, String city_in, String state_in, String zip_in, String country_in, String email_in, String phone_in, Int32 creditcardtype_in, String creditcard_in, Int32 ccexpmon_in, Int32 ccexpyr_in, Int32 age_in, Int32 income_in, String gender_in, Int32& customerid_out, Double& rt)

   at ds2xdriver.User.Emulate()

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart()

Tags (2)
0 Kudos
1 Reply
jpschnee
VMware Employee
VMware Employee

Please make sure you've finished setting up the ds2db as well as updating the /etc/hosts files per the benchmarking guide.  This error seems typical for those types of issues.

-Joshua
0 Kudos