History log of /5.5.2/testrunner/pysystests/cache.py (Results 1 - 18 of 18)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 4.6.0, testrunner-ng-old, watson-moxi, 4.5.0, 4.1.0, 4.0.0, 3.0.2, 3.0.1, 3.0.0, 2.5.1
# 8d1b2505 26-Nov-2013 Tommie McAfee <tommie@couchbase.com>

CBQE-0: remove ClusterStatus in cacheClean

previously this wasn't removed from memory because
there were cases when orchestrator didn't match
CLUSTER_IP if test was restarted in the

CBQE-0: remove ClusterStatus in cacheClean

previously this wasn't removed from memory because
there were cases when orchestrator didn't match
CLUSTER_IP if test was restarted in the middle of a run.
That option is still available if worker is started without -I app.init

Change-Id: Id87406940741574abb527bb5ac9a57d4de536b8a
Reviewed-on: http://review.couchbase.org/30632
Reviewed-by: Tommie McAfee <tommie@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>

show more ...


Revision tags: 2.1.1r, 2.1.0r, 2.0.2r
# a5483781 03-May-2013 Tommie McAfee <tommie@couchbase.com>

CBQE-1267: add variable caching

at some points in test we want to save some state and refer to later. to address this we will have a new cache tag within a phase with a key named reference t

CBQE-1267: add variable caching

at some points in test we want to save some state and refer to later. to address this we will have a new cache tag within a phase with a key named reference that can be used later. ie

"0" :
{
"name" : "cache curr items",
"cache" : {"bucket" : "default",
"stat" : "curr_items",
"reference" : "phase2_default_curr_items"}
},

caches curr_items. then refer to later in postcondition

"1" :
{
"name" : "load",
"workload" : {"spec" : "s:100,ops:1000",
conditions" : "post:curr_items = $phase2_default_curr_items"},
"runtime" : 120,
}

Change-Id: Idc97c68b3344239002075d42c909e144e3c5e177
Reviewed-on: http://review.couchbase.org/26074
Tested-by: Chisheng Hong <chisheng@couchbase.com>
Reviewed-by: Chisheng Hong <chisheng@couchbase.com>

show more ...


# 4a2b75f2 11-Apr-2013 Chisheng Hong <chisheng@couchbase.com>

CBQE-1183 auto rebalance in for local cluster

The json spec will be:
"7" :
{
"name" : "reb_in_one",
"d

CBQE-1183 auto rebalance in for local cluster

The json spec will be:
"7" :
{
"name" : "reb_in_one",
"desc" : "RB-1",
"workload" : ["s:3,u:22,g:70,d:3,e:2,m:5,ttl:3000,coq:defaultph1keys,ccq:defaultph2keys,ops:15000",
"b:saslbucket,pwd:password,s:3,u:22,g:70,d:3,e:2,m:5,ttl:3000,coq:saslph1keys,ccq:saslph2keys,ops:15000"],
"cluster" : {"add" : "1"}
},
And the old hard coded ip format is also supported

Change-Id: I822a9f61ef21e0ec9655fb6531236744b0c10788
Reviewed-on: http://review.couchbase.org/25609
Reviewed-by: Tommie McAfee <tommie@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...


# e03ff803 05-Apr-2013 Tommie McAfeee <tommie@couchbase.com>

CBQE-1198: cleanup cache miss queues between runs

Change-Id: I2df1f6b0e799e1442923024496f6eb2b60e03688
Reviewed-on: http://review.couchbase.org/25522
Tested-by: buildbot <build@couch

CBQE-1198: cleanup cache miss queues between runs

Change-Id: I2df1f6b0e799e1442923024496f6eb2b60e03688
Reviewed-on: http://review.couchbase.org/25522
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Tommie McAfee <tommie@couchbase.com>

show more ...


# 1349ddcb 03-Apr-2013 Tommie McAfeee <tommie@couchbase.com>

CBQE-0: make cache fetch retry info loglevel

Change-Id: Iee0dcad2d0f6ca88e7eb6bc1c164a86862e131c2
Reviewed-on: http://review.couchbase.org/25470
Reviewed-by: Tommie McAfee <tommie@co

CBQE-0: make cache fetch retry info loglevel

Change-Id: Iee0dcad2d0f6ca88e7eb6bc1c164a86862e131c2
Reviewed-on: http://review.couchbase.org/25470
Reviewed-by: Tommie McAfee <tommie@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>

show more ...


# f2b91061 28-Mar-2013 Tommie McAfee <tommie@couchbase.com>

CBQE-1096: cache active task stat checker

This class should be cached to keep track
of index behavior between checks

sample test included

Change-Id: Ie71c43169b09242012

CBQE-1096: cache active task stat checker

This class should be cached to keep track
of index behavior between checks

sample test included

Change-Id: Ie71c43169b092420120c58d3c2b3fbf129f6fc5d
Reviewed-on: http://review.couchbase.org/25384
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Tommie McAfee <tommie@couchbase.com>

show more ...


Revision tags: 2.0.1-macosx, 2.0.1-windows
# ce74e81d 20-Mar-2013 Tommie McAfee <tommie@couchbase.com>

CBQE-1134: cluster status support node down

when a node crashes is failed over or is rebooted this fix
allows us to elect new master. implementation is simpler
and should support ev

CBQE-1134: cluster status support node down

when a node crashes is failed over or is rebooted this fix
allows us to elect new master. implementation is simpler
and should support every case where topology changes

Change-Id: Ia91ecad89103c106f690cc0b88cd43ab747c2aa7
Reviewed-on: http://review.couchbase.org/25270
Reviewed-by: Tommie McAfee <tommie@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>

show more ...


# 485ad7d1 20-Mar-2013 Tommie McAfee <tommie@couchbase.com>

CBQE-1134: new cluster status object

every 10s, check cluster topology has changed. this way we can make a new master when it's rebalanced out and do load balancing.

Change-Id: Ide

CBQE-1134: new cluster status object

every 10s, check cluster topology has changed. this way we can make a new master when it's rebalanced out and do load balancing.

Change-Id: Ide3f1ca0ab315f0abd268f6879d588348a16617b
Reviewed-on: http://review.couchbase.org/25251
Reviewed-by: Tommie McAfee <tommie@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>

show more ...


# 628e94c1 15-Mar-2013 Tommie McAfeee <tommie@couchbase.com>

CBQE-1129: remove worker atop collection

Stat collection is now being handled entirely by cbmonitor.

Change-Id: Ic7f60bbbe3806fc43bd46dafb4537f9d06c63543
Reviewed-on: http://rev

CBQE-1129: remove worker atop collection

Stat collection is now being handled entirely by cbmonitor.

Change-Id: Ic7f60bbbe3806fc43bd46dafb4537f9d06c63543
Reviewed-on: http://review.couchbase.org/25176
Reviewed-by: Chisheng Hong <chisheng@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>

show more ...


# 158ffb42 05-Mar-2013 Tommie McAfeee <tommie@couchbase.com>

CBQE-683: add dynamic queries to system-test

Adding new QueryBuilder class which monitors
active workload for help generating smart range queries.

There will be a new param in t

CBQE-683: add dynamic queries to system-test

Adding new QueryBuilder class which monitors
active workload for help generating smart range queries.

There will be a new param in the import template command
specifying which key in the template is indexed

python cbsystest.py import template --name "default" --kvpair '"email":"$str10@couchbase.com" ' '"city":"$str5"' --indexed email

Indexed param tells querybuilder to watch the email key in the template for generating queries.
It is assumed user already created the ddoc that indexes on this key.

Query command syntax will be updated as well. by default we do startkey/endkey queries. extra can filters can be added like so:
python cbsystest.py run query ... --include_filters startkey_docid endkey_docid

Or removed (no range)
python cbsystest.py run query ... --exclude_filters startkey endkey

Or manually specified

python cbsystest.py run query ... --startkey abc --endkey zzz

Change-Id: I64117b57aeb7d62638011d500e6dcd13a4bfa911
Reviewed-on: http://review.couchbase.org/24996
Tested-by: buildbot <build@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>
Reviewed-by: Chisheng Hong <chisheng@couchbase.com>

show more ...


Revision tags: 2.0.1-linux
# 8f97498a 16-Nov-2012 Tommie McAfeee <tommie@couchbase.com>

CBQE-572: handle mc error when accessing cache

Change-Id: I9f1f5f3b4513bf4b3419883fdac2adb2b8d9d49f
Reviewed-on: http://review.couchbase.org/22594
Reviewed-by: Tommie McAfee <tommie@

CBQE-572: handle mc error when accessing cache

Change-Id: I9f1f5f3b4513bf4b3419883fdac2adb2b8d9d49f
Reviewed-on: http://review.couchbase.org/22594
Reviewed-by: Tommie McAfee <tommie@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>

show more ...


# e81ee4ca 25-Oct-2012 Tommie McAfeee <tommie@couchbase.com>

CBQE-714: support for query phases in system test

Also support multi ddoc/view quries, see tests/query.js

{
"name" : "query_access",
"desc" : "run 200 queries/sec w

CBQE-714: support for query phases in system test

Also support multi ddoc/view quries, see tests/query.js

{
"name" : "query_access",
"desc" : "run 200 queries/sec while accessing keys",
"workload" : "s:15,g:80,d:5,ccq:simplekeys,ops:1000",
"query" : "ddoc:ddoc1,view:view1,qps:200",
"template" : "default",
"runtime" : 40
},

Change-Id: I11c4793ae9f59bbb2f4d7e560d79f5fbae18d34f
Reviewed-on: http://review.couchbase.org/21953
Reviewed-by: Karan Kumar <karan@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>

show more ...


# bbc72a47 12-Oct-2012 Karan Kumar <karan@couchbase.com>

CBQE-624: Fix task generate_node_stats_report

Change-Id: I4e89d9b7743d4c9ad720a6afe7d9a093a4a2e5ff
Reviewed-on: http://review.couchbase.org/21573
Reviewed-by: Tommie McAfee <tommie@c

CBQE-624: Fix task generate_node_stats_report

Change-Id: I4e89d9b7743d4c9ad720a6afe7d9a093a4a2e5ff
Reviewed-on: http://review.couchbase.org/21573
Reviewed-by: Tommie McAfee <tommie@couchbase.com>
Tested-by: Karan Kumar <karan@couchbase.com>

show more ...


# f6c49776 09-Oct-2012 Tommie McAfee <tommie@couchbase.com>

CBQE-683: query support for system test

Specify querys per second, design doc and view name.
Currently working for single non-sasl bucket.

Change-Id: Ie2bd057cfcdbf6be1f7fa2ac0b

CBQE-683: query support for system test

Specify querys per second, design doc and view name.
Currently working for single non-sasl bucket.

Change-Id: Ie2bd057cfcdbf6be1f7fa2ac0b70903f86eae777
Reviewed-on: http://review.couchbase.org/21455
Tested-by: Tommie McAfee <tommie@couchbase.com>
Reviewed-by: Tommie McAfee <tommie@couchbase.com>

show more ...


# eeee4a9b 08-Oct-2012 Tommie McAfee <tommie@couchbase.com>

CBQE-572: enhanced object caching

allow auto caching by overriding setattr class method
of shared objects. refactor cache helper methods to
single CacheHelper class

Change-

CBQE-572: enhanced object caching

allow auto caching by overriding setattr class method
of shared objects. refactor cache helper methods to
single CacheHelper class

Change-Id: I05988683d6dc02ff7ed48bf3c110185fa9b83af7
Reviewed-on: http://review.couchbase.org/21432
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Karan Kumar <karan@couchbase.com>

show more ...


# b4d96a7f 25-Sep-2012 Tommie McAfeee <tommie@couchbase.com>

CBQE-613: decouple node stats from workload ops

Collect stats wether or not workload is running.
Creates a new NodeStats object for keeping
track of stats across nodes

Chang

CBQE-613: decouple node stats from workload ops

Collect stats wether or not workload is running.
Creates a new NodeStats object for keeping
track of stats across nodes

Change-Id: Ib2b62716bf2a7d5ec5d7c34026c6d39b703be3e4
Reviewed-on: http://review.couchbase.org/21087
Reviewed-by: Karan Kumar <karan@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>

show more ...


# 9d746b57 21-Sep-2012 Karan Kumar <karan@couchbase.com>

CBQE-621: Fix stats for system-tests

* Make sure we have single atop process
* Multiple atops result in segfault
* Collect few more disk stats

Change-Id: Idcf3ad1ad203d0c548

CBQE-621: Fix stats for system-tests

* Make sure we have single atop process
* Multiple atops result in segfault
* Collect few more disk stats

Change-Id: Idcf3ad1ad203d0c5487e62c2af98ad9e4844a52f
Reviewed-on: http://review.couchbase.org/21018
Tested-by: Karan Kumar <karan@couchbase.com>
Reviewed-by: Tommie McAfee <tommie@couchbase.com>

show more ...


# 330a0995 30-Jul-2012 Tommie McAfee <tommie@couchbase.com>

Systest Platform

Initial check in of platform for system testing.
Adding pysystest directory which contains
a python-celery application that operates as a
worker for performing t

Systest Platform

Initial check in of platform for system testing.
Adding pysystest directory which contains
a python-celery application that operates as a
worker for performing tasks. Package also
consists of a cbsystest.py command line interface
for defining and running new workloads.
Currently python and ruby are supported sdks
for handling underlying requests to the couch cluster.

Environmental Vars:
testcfg.py

Starting celery worker with scheduler(-B):
celery worker -A app -B

Running a workload:
1) Define simple document template:
python cbsystest.py import template --name "default" --kvpair ' "hello":"world"
2) Run workload using predifined template at 1k ops/sec
python cbsystest.py run workload --create 50 --get 50 --ops 1000 --cc_queues docs_to_consume --template "default

Change-Id: I5979b5f9ac3ddc4581f7f64899abdd4c8166a510
Reviewed-on: http://review.couchbase.org/19019
Reviewed-by: Tommie McAfee <tommie@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>

show more ...