PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Stop sync_gateway service] ********************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Stop sync_gateway] ****************************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Uninstall sync_gateway rpm] ********************************************************************************* [WARNING]: Consider using the yum, dnf or zypper module rather than running rpm. If you need to use command because yum, dnf or zypper is insufficient you can add warn=False to this command task or set command_warnings=False in ansible.cfg to get rid of this message. changed: [sg1] TASK [SYNC GATEWAY | Uninstall sync_gateway deb] ********************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Uninstall sync_gateway on Macos] **************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Remove sync_gateway on Macos] ******************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Remove sync_gateway service] ******************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Delete sync_gateway binary] ********************************************************************************* ok: [sg1] TASK [SYNC GATEWAY | Remove sync gateway source] ********************************************************************************* [WARNING]: Consider using the file module with state=absent rather than running rm. If you need to use command because file is insufficient you can add warn=False to this command task or set command_warnings=False in ansible.cfg to get rid of this message. changed: [sg1] TASK [SYNC GATEWAY | Remove sync gateway source .repo directory] ***************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Remove tmp logging dir (log rotation tests)] **************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Uninstall sync_gateway] ************************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Delete sync_gateway install directory] ********************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Delete sync_gateway install directory] ********************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Remove tmp logging dir (log rotation tests)] **************************************************************** skipping: [sg1] TASK [SG ACCEL | Stop sg_accel service] ****************************************************************************************** fatal: [sg1]: FAILED! => {"changed": false, "msg": "Could not find the requested service sg_accel: host"} ...ignoring TASK [SG ACCEL | Stop sg_accel] ************************************************************************************************** skipping: [sg1] TASK [SG ACCEL | Uninstall sg_accel rpm] ***************************************************************************************** fatal: [sg1]: FAILED! => {"changed": true, "cmd": "rpm -e couchbase-sg-accel", "delta": "0:00:00.239209", "end": "2020-04-15 18:51:33.950436", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:51:33.711227", "stderr": "error: package couchbase-sg-accel is not installed", "stderr_lines": ["error: package couchbase-sg-accel is not installed"], "stdout": "", "stdout_lines": []} ...ignoring TASK [SG ACCEL | Uninstall sg_accel deb] ***************************************************************************************** skipping: [sg1] TASK [SG ACCEL | Remove sg_accel service] **************************************************************************************** ok: [sg1] TASK [SG ACCEL | Delete sg_accel binary] ***************************************************************************************** ok: [sg1] TASK [SG ACCEL | Remove sg accel source] ***************************************************************************************** changed: [sg1] TASK [SG ACCEL | Remove sg accel source .repo directory] ************************************************************************* changed: [sg1] TASK [SG ACCEL | Remove tmp logging dir (log rotation tests)] ******************************************************************** changed: [sg1] TASK [SG ACCEL | Uninstall sync_gateway_accel] *********************************************************************************** skipping: [sg1] TASK [SG ACCEL | Delete sync_gateway_accel install directory] ******************************************************************** skipping: [sg1] TASK [SG ACCEL | Delete sync_gateway_accel install directory] ******************************************************************** skipping: [sg1] TASK [SG ACCEL | Remove tmp logging dir (log rotation tests)] ******************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Remove sync_gateway user on Centos] ************************************************************************* changed: [sg1] TASK [SG ACCEL | Remove sg_accel user] ******************************************************************************************* ok: [sg1] TASK [NGINX | stop nginx service] ************************************************************************************************ fatal: [sg1]: FAILED! => {"changed": false, "msg": "Could not find the requested service nginx: host"} ...ignoring TASK [NGINX | Remove nginx package] ********************************************************************************************** ok: [sg1] TASK [ALL | verify no sg_accel or sgs are running on 4985] *********************************************************************** ok: [sg1] PLAY [couchbase_servers] ********************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [cb1] TASK [Stop Couchbase Service] **************************************************************************************************** changed: [cb1] TASK [COUCHBASE SERVER | Try to stop Couchbase Service (Hack around 7.2 and CBS 4.1.0 issue)] ************************************ skipping: [cb1] TASK [COUCHBASE SERVER | Uninstall couchbase server on CentOS] ******************************************************************* changed: [cb1] TASK [COUCHBASE SERVER | Uninstall couchbase server on Ubuntu] ******************************************************************* skipping: [cb1] TASK [COUCHBASE SERVER | Purge couchbase server on Ubuntu] *********************************************************************** skipping: [cb1] TASK [COUCHBASE SERVER | Uninstall couchbase server community on CentOS] ********************************************************* fatal: [cb1]: FAILED! => {"changed": true, "cmd": "rpm -e couchbase-server-community", "delta": "0:00:00.238087", "end": "2020-04-15 18:51:49.507881", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:51:49.269794", "stderr": "error: package couchbase-server-community is not installed", "stderr_lines": ["error: package couchbase-server-community is not installed"], "stdout": "", "stdout_lines": []} ...ignoring TASK [COUCHBASE SERVER | Uninstall couchbase server community on Ubuntu] ********************************************************* skipping: [cb1] TASK [COUCHBASE SERVER | Purge couchbase server community on Ubuntu] ************************************************************* skipping: [cb1] TASK [COUCHBASE SERVER | Kill epmd] ********************************************************************************************** fatal: [cb1]: FAILED! => {"changed": true, "cmd": "pkill epmd", "delta": "0:00:00.217452", "end": "2020-04-15 18:51:50.109140", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:51:49.891688", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [COUCHBASE SERVER | Kill beam.smp] ****************************************************************************************** fatal: [cb1]: FAILED! => {"changed": true, "cmd": "pkill beam.smp", "delta": "0:00:00.220822", "end": "2020-04-15 18:51:50.649699", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:51:50.428877", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [COUCHBASE SERVER | Kill memcached] ***************************************************************************************** fatal: [cb1]: FAILED! => {"changed": true, "cmd": "pkill memcached", "delta": "0:00:00.218631", "end": "2020-04-15 18:51:51.187973", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:51:50.969342", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [COUCHBASE SERVER | Remove all couchbase server residue] ******************************************************************** changed: [cb1] TASK [NGINX | stop nginx service] ************************************************************************************************ fatal: [cb1]: FAILED! => {"changed": false, "msg": "Could not find the requested service nginx: host"} ...ignoring TASK [NGINX | Remove nginx package] ********************************************************************************************** ok: [cb1] TASK [ALL | verify no servers not listening on port 8081] ************************************************************************ ok: [cb1] PLAY RECAP *********************************************************************************************************************** cb1 : ok=11 changed=7 unreachable=0 failed=0 sg1 : ok=20 changed=9 unreachable=0 failed=0 Running playbook: libraries/provision/ansible/playbooks/flush-firewall.yml PLAY [couchbase_servers] ********************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [cb1] TASK [OS | Flush Firewall on Centos] ********************************************************************************************* changed: [cb1] PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [OS | Flush Firewall on Centos] ********************************************************************************************* changed: [sg1] PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [OS | Flush Firewall on Windows] ******************************************************************************************** skipping: [sg1] PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [OS | Flush Firewall on MacOS] ********************************************************************************************** skipping: [sg1] PLAY RECAP *********************************************************************************************************************** cb1 : ok=2 changed=1 unreachable=0 failed=0 sg1 : ok=4 changed=1 unreachable=0 failed=0 Installing Couchbase Server resources/cluster_configs/base_cc Couchbase Server configuration ------------------------------------------ version: 6.5.0 {'hosts': [{'name': 'host1', 'ip': '192.168.33.10'}, {'name': 'host2', 'ip': '192.168.33.11'}], 'couchbase_servers': [{'name': 'cb1', 'ip': '192.168.33.10'}], 'sync_gateways': [{'name': 'sg1', 'ip': '192.168.33.11'}], 'sg_accels': [], 'load_generators': [], 'load_balancers': [], 'environment': {'cbs_ssl_enabled': False, 'xattrs_enabled': True, 'sg_lb_enabled': False, 'ipv6_enabled': False, 'x509_certs': False, 'delta_sync_enabled': True, 'sync_gateway_ssl': True, 'server_version': '6.5.0-4960', 'sync_gateway_version': '2.7.0-None', 'cbl_log_decoder_platform': None, 'no_conflicts_enabled': True, 'sg_use_views': False, 'sg_platform': 'centos', 'number_replicas': 0}} > >>> Installing Couchbase Server Running playbook: libraries/provision/ansible/playbooks/install-couchbase-server-package.yml PLAY [couchbase_servers] ********************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [cb1] TASK [debug] ********************************************************************************************************************* ok: [cb1] => { "msg": "Couchbase server primary node 192.168.33.10" } TASK [debug] ********************************************************************************************************************* ok: [cb1] => { "msg": "Couchbase server node 192.168.33.10" } TASK [debug] ********************************************************************************************************************* ok: [cb1] => { "msg": "Downloading Couchbase server v. http://latestbuilds.service.couchbase.com/builds/latestbuilds/couchbase-server/mad-hatter/4960/couchbase-server-enterprise-6.5.0-4960-centos7.x86_64.rpm" } TASK [debug] ********************************************************************************************************************* ok: [cb1] => { "msg": "IPv6 Enabled - False" } TASK [Stop Couchbase Service] **************************************************************************************************** ok: [cb1] TASK [COUCHBASE SERVER | Try to stop Couchbase Service (Hack around 7.2 and CBS 4.1.0 issue)] ************************************ skipping: [cb1] TASK [COUCHBASE SERVER | Uninstall couchbase server on CentOS] ******************************************************************* fatal: [cb1]: FAILED! => {"changed": true, "cmd": "rpm -e couchbase-server", "delta": "0:00:00.236797", "end": "2020-04-15 18:52:20.179930", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:52:19.943133", "stderr": "error: package couchbase-server is not installed", "stderr_lines": ["error: package couchbase-server is not installed"], "stdout": "", "stdout_lines": []} ...ignoring TASK [COUCHBASE SERVER | Uninstall couchbase server on Ubuntu] ******************************************************************* skipping: [cb1] TASK [COUCHBASE SERVER | Purge couchbase server on Ubuntu] *********************************************************************** skipping: [cb1] TASK [COUCHBASE SERVER | Uninstall couchbase server community on CentOS] ********************************************************* fatal: [cb1]: FAILED! => {"changed": true, "cmd": "rpm -e couchbase-server-community", "delta": "0:00:00.235903", "end": "2020-04-15 18:52:20.859814", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:52:20.623911", "stderr": "error: package couchbase-server-community is not installed", "stderr_lines": ["error: package couchbase-server-community is not installed"], "stdout": "", "stdout_lines": []} ...ignoring TASK [COUCHBASE SERVER | Uninstall couchbase server community on Ubuntu] ********************************************************* skipping: [cb1] TASK [COUCHBASE SERVER | Purge couchbase server community on Ubuntu] ************************************************************* skipping: [cb1] TASK [COUCHBASE SERVER | Kill epmd] ********************************************************************************************** fatal: [cb1]: FAILED! => {"changed": true, "cmd": "pkill epmd", "delta": "0:00:00.219315", "end": "2020-04-15 18:52:21.454284", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:52:21.234969", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [COUCHBASE SERVER | Kill beam.smp] ****************************************************************************************** fatal: [cb1]: FAILED! => {"changed": true, "cmd": "pkill beam.smp", "delta": "0:00:00.217570", "end": "2020-04-15 18:52:21.987017", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:52:21.769447", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [COUCHBASE SERVER | Kill memcached] ***************************************************************************************** fatal: [cb1]: FAILED! => {"changed": true, "cmd": "pkill memcached", "delta": "0:00:00.219899", "end": "2020-04-15 18:52:22.579331", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:52:22.359432", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} ...ignoring TASK [COUCHBASE SERVER | Remove all couchbase server residue] ******************************************************************** ok: [cb1] TASK [SYNC GATEWAY | Remove sync_gateway user on Centos] ************************************************************************* ok: [cb1] TASK [SG ACCEL | Remove sg_accel user] ******************************************************************************************* ok: [cb1] TASK [COUCHBASE SERVER | Download couchbase server] ****************************************************************************** ok: [cb1] TASK [Install Couchbase Server on CentOS] **************************************************************************************** changed: [cb1] TASK [Install Couchbase Server on Ubuntu] **************************************************************************************** skipping: [cb1] TASK [Starting CBS for Ubuntu] *************************************************************************************************** skipping: [cb1] TASK [Enabling CBS on IPV6 | Stopping CBS] *************************************************************************************** skipping: [cb1] TASK [Enabling CBS on IPV6 | Enabling IPv6 in static_config] ********************************************************************* skipping: [cb1] TASK [Enabling CBS on IPV6 | Deleting config.dat] ******************************************************************************** skipping: [cb1] TASK [Enabling CBS on IPV6 | Starting CBS] *************************************************************************************** skipping: [cb1] TASK [COUCHBASE SERVER | raise max file descriptors] ***************************************************************************** ok: [cb1] TASK [COUCHBASE SERVER | Enabled Transparent Huge Pages] ************************************************************************* changed: [cb1] TASK [COUCHBASE SERVER | Disable Transparent Huge Pages] ************************************************************************* changed: [cb1] TASK [COUCHBASE SERVER | Enabled Transparent Huge Pages again] ******************************************************************* changed: [cb1] TASK [COUCHBASE SERVER | Start Couchbase Service (Hack around 7.2 and CBS 4.1.0 issue)] ****************************************** skipping: [cb1] TASK [COUCHBASE SERVER | Restart Couchbase Service] ****************************************************************************** changed: [cb1] TASK [debug] ********************************************************************************************************************* ok: [cb1] => { "msg": "Couchbase cluster RAM 2519" } TASK [debug] ********************************************************************************************************************* ok: [cb1] => { "msg": "Couchbase bucket RAM 1259" } TASK [COUCHBASE SERVER | Get major version] ************************************************************************************** changed: [cb1] TASK [COUCHBASE SERVER | Get full version] *************************************************************************************** changed: [cb1] TASK [COUCHBASE SERVER | Wait for node to be listening on port 8091] ************************************************************* ok: [cb1] TASK [COUCHBASE SERVER | Configure cluster settings (3.0.X and 3.1.X)] *********************************************************** skipping: [cb1] TASK [COUCHBASE SERVER | Configure cluster settings (4.0.X and 4.1.X)] *********************************************************** skipping: [cb1] TASK [COUCHBASE SERVER | Configure cluster settings (4.5.X and 4.6.X)] *********************************************************** skipping: [cb1] TASK [COUCHBASE SERVER | Configure cluster settings (4.7.X and up) | configure IPv4] ********************************************* changed: [cb1] TASK [COUCHBASE SERVER | Configure cluster settings (4.7.X and up) | configure IPv6] ********************************************* skipping: [cb1] TASK [COUCHBASE SERVER | Initialize primary node (3.x only)] ********************************************************************* skipping: [cb1] TASK [COUCHBASE SERVER | Initialize primary node (4.X and 5.X) | configure IPv4] ************************************************* [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ cb_major_version['stdout'] | search('\b[4-5]\b') }} and not ipv6_enabled skipping: [cb1] TASK [COUCHBASE SERVER | Initialize primary node (4.X and 5.X) | configure IPv6] ************************************************* [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ cb_major_version['stdout'] | search('\b[4-5]\b') }} and ipv6_enabled skipping: [cb1] TASK [COUCHBASE SERVER | Initialize primary node (6.X and up) | configure IPv4] ************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: (not {{ cb_major_version['stdout'] | search('\b[1-5]\b') }}) and not ipv6_enabled changed: [cb1] TASK [COUCHBASE SERVER | Initialize primary node (6.X and up)| configure IPv6] *************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: (not {{ cb_major_version['stdout'] | search('\b[1-5]\b') }}) and ipv6_enabled skipping: [cb1] TASK [COUCHBASE SERVER | Wait for node to be listening on port 8091] ************************************************************* ok: [cb1] TASK [set_fact] ****************************************************************************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: ( {{ cb_major_version['stdout'] | search('\b[1-4]\b') }} ) or ( '5.0.0' in cb_full_version.stdout ) skipping: [cb1] TASK [COUCHBASE SERVER | Join additional cluster nodes | configure IPv4] ********************************************************* skipping: [cb1] TASK [COUCHBASE SERVER | Join additional cluster nodes | configure IPv6] ********************************************************* skipping: [cb1] TASK [COUCHBASE SERVER | Rebalance cluster (6.X and up) | configure IPv4] ******************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: (not {{ cb_major_version['stdout'] | search('\b[1-5]\b') }}) and not ipv6_enabled changed: [cb1] TASK [COUCHBASE SERVER | Rebalance cluster (6.X and up) | configure IPv6] ******************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: (not {{ cb_major_version['stdout'] | search('\b[1-5]\b') }}) and ipv6_enabled skipping: [cb1] TASK [COUCHBASE SERVER | Rebalance cluster (3.X to 5.X) | configure IPv4] ******************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ cb_major_version['stdout'] | search('\b[3-5]\b')}} and not ipv6_enabled skipping: [cb1] TASK [COUCHBASE SERVER | Rebalance cluster (3.X to 5.X) | configure IPv6] ******************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ cb_major_version['stdout'] | search('\b[3-5]\b')}} and ipv6_enabled skipping: [cb1] TASK [COUCHBASE SERVER | Enable auto failover (6.X and up) | configure IPv4] ***************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: (not {{ cb_major_version['stdout'] | search('\b[1-5]\b') }}) and not ipv6_enabled changed: [cb1] TASK [COUCHBASE SERVER | Enable auto failover (6.X and up) | configure IPv6] ***************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: (not {{ cb_major_version['stdout'] | search('\b[1-5]\b') }}) and ipv6_enabled skipping: [cb1] TASK [COUCHBASE SERVER | Enable auto failover (3.X to 5.X) | configure IPv4] ***************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ cb_major_version['stdout'] | search('\b[3-5]\b')}} and not ipv6_enabled skipping: [cb1] TASK [COUCHBASE SERVER | Enable auto failover (3.X to 5.X) | configure IPv6] ***************************************************** [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ cb_major_version['stdout'] | search('\b[3-5]\b')}} and ipv6_enabled skipping: [cb1] PLAY RECAP *********************************************************************************************************************** cb1 : ok=31 changed=16 unreachable=0 failed=0 >>> Waiting for server to be in 'healthy' state GET http://192.168.33.10:8091/pools/nodes 200 All nodes are healthy Installing Sync Gateway sync_gateway configuration ------------------------------------------ version: 2.7.0 build number: None commit: None config path: resources/sync_gateway_configs/sync_gateway_travel_sample_cc.json build flags: skip bucketcreation: False resources/cluster_configs/base_cc cbs: ['http://192.168.33.10:8091'] sgs: [{'name': 'sg1', 'ip': '192.168.33.11'}] acs: [] ssl: False {'hosts': [{'name': 'host1', 'ip': '192.168.33.10'}, {'name': 'host2', 'ip': '192.168.33.11'}], 'couchbase_servers': [{'name': 'cb1', 'ip': '192.168.33.10'}], 'sync_gateways': [{'name': 'sg1', 'ip': '192.168.33.11'}], 'sg_accels': [], 'load_generators': [], 'load_balancers': [], 'environment': {'cbs_ssl_enabled': False, 'xattrs_enabled': True, 'sg_lb_enabled': False, 'ipv6_enabled': False, 'x509_certs': False, 'delta_sync_enabled': True, 'sync_gateway_ssl': True, 'server_version': '6.5.0-4960', 'sync_gateway_version': '2.7.0-None', 'cbl_log_decoder_platform': None, 'no_conflicts_enabled': True, 'sg_use_views': False, 'sg_platform': 'centos', 'number_replicas': 0}} GET http://192.168.33.10:8091/pools/default/buckets 200 Found buckets: [] GET http://192.168.33.10:8091/pools/default/buckets 200 Found buckets: [] Creating buckets: ['travel-sample'] total_avail_ram_mb: 3789 effective_avail_ram_mb: 2519 Creating bucket travel-sample with RAM 2519 GET http://Administrator:password@192.168.33.10:8091/pools 200 POST http://192.168.33.10:8091/pools/default/buckets 202 Creating RBAC user travel-sample with password password and roles ro_admin,bucket_full_access[travel-sample] PUT http://192.168.33.10:8091/settings/rbac/users/local/travel-sample 200 Key not found error: Bucket is ready! GET http://192.168.33.10:8091/pools/nodes 200 Node is still not healthy. Status: warmup Retrying ... GET http://192.168.33.10:8091/pools/nodes 200 All nodes are healthy Keyerror in getting logging'redactlevel' revs_limit not found in resources/cluster_configs/base_cc, Ignoring Running playbook: libraries/provision/ansible/playbooks/install-sync-gateway-package.yml [WARNING]: While constructing a mapping from /Users/eunicehuang/workspace/dev/branches/master/mobile- testkit/libraries/provision/ansible/playbooks/install-sync-gateway-package.yml, line 63, column 3, found a duplicate dict key (vars). Using last defined value only. PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Stop sync_gateway service] ********************************************************************************** fatal: [sg1]: FAILED! => {"changed": false, "msg": "Could not find the requested service sync_gateway: host"} ...ignoring TASK [SYNC GATEWAY | Stop sync_gateway] ****************************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Uninstall sync_gateway rpm] ********************************************************************************* fatal: [sg1]: FAILED! => {"changed": true, "cmd": "rpm -e couchbase-sync-gateway", "delta": "0:00:00.250974", "end": "2020-04-15 18:53:41.053123", "msg": "non-zero return code", "rc": 1, "start": "2020-04-15 18:53:40.802149", "stderr": "error: package couchbase-sync-gateway is not installed", "stderr_lines": ["error: package couchbase-sync-gateway is not installed"], "stdout": "", "stdout_lines": []} ...ignoring TASK [SYNC GATEWAY | Uninstall sync_gateway deb] ********************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Uninstall sync_gateway on Macos] **************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Remove sync_gateway on Macos] ******************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Remove sync_gateway service] ******************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Delete sync_gateway binary] ********************************************************************************* ok: [sg1] TASK [SYNC GATEWAY | Remove sync gateway source] ********************************************************************************* changed: [sg1] TASK [SYNC GATEWAY | Remove sync gateway source .repo directory] ***************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Remove tmp logging dir (log rotation tests)] **************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Remove sync_gateway user on Centos] ************************************************************************* ok: [sg1] TASK [SG ACCEL | Remove sg_accel user] ******************************************************************************************* ok: [sg1] TASK [SYNC GATEWAY | verify no service on 4985] ********************************************************************************** ok: [sg1] PLAY [couchbase_servers] ********************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [cb1] PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Create sync gateway user on Centos/linux/ubuntu/debian] ***************************************************** changed: [sg1] TASK [SYNC GATEWAY | Add sync gateway user on MacOS] ***************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Create /tmp/sg_logs] **************************************************************************************** changed: [sg1] PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Download sync_gateway rpm http://latestbuilds.service.couchbase.com/builds/releases/mobile/couchbase-sync-gateway/2.7.0/couchbase-sync-gateway-enterprise_2.7.0_x86_64.rpm] *** ok: [sg1] PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Install sync_gateway rpm] *********************************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Install sync_gateway deb] *********************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Install sync_gateway zip] *********************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Stop sync_gateway service] ********************************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Stop sync_gateway for CentOS 6] ***************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Stop sync_gateway on MacOS] ********************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Verify sync_gateway not listening on port] ****************************************************************** ok: [sg1] TASK [Copying certs.zip to /home/sync_gateway directory] ************************************************************************* skipping: [sg1] TASK [Deleting /home/sync_gateway/certs] ***************************************************************************************** skipping: [sg1] TASK [Unzipping certs.zip] ******************************************************************************************************* skipping: [sg1] PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Copy sync gateway config to host] *************************************************************************** changed: [sg1] TASK [Deleting /home/sync_gateway/certs directory] ******************************************************************************* skipping: [sg1] TASK [Deleting /home/sync_gateway/certs.zip] ************************************************************************************* skipping: [sg1] TASK [Copying certs.zip to /home/sync_gateway directory] ************************************************************************* skipping: [sg1] TASK [Unzipping certs.zip] ******************************************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Change the mode permissions on Centos] ********************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Check deployed config] ************************************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Print deployed config] ************************************************************************************** ok: [sg1] => { "out.stdout": { "SSLCert": "sg_cert.pem", "SSLKey": "sg_privkey.pem", "adminInterface": "0.0.0.0:4985", "compressResponses": false, "databases": { "db": { "allow_conflicts": false, "bucket": "travel-sample", "delta_sync": { "enabled": true }, "enable_shared_bucket_access": true, "import_docs": true, "num_index_replicas": 0, "password": "password", "server": "http://192.168.33.10:8091", "username": "travel-sample" } }, "interface": ":4984", "logging": { "debug": { "enabled": true } }, "maxFileDescriptors": 90000, "maxIncomingConnections": 0 } } TASK [SYNC GATEWAY | Deploying SSL Cert] ***************************************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Deploying SSL Private Key] ********************************************************************************** changed: [sg1] PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [debug] ********************************************************************************************************************* ok: [sg1] => { "msg": "Starting sync_gateway" } TASK [SYNC GATEWAY | Start sync gateway service] ********************************************************************************* changed: [sg1] TASK [SYNC GATEWAY | Wait until sync gateway to listen on port] ****************************************************************** ok: [sg1] PLAY RECAP *********************************************************************************************************************** cb1 : ok=1 changed=0 unreachable=0 failed=0 sg1 : ok=30 changed=13 unreachable=0 failed=0 Running playbook: libraries/provision/ansible/playbooks/install-sg-accel-package.yml PLAY [sg_accels] ***************************************************************************************************************** skipping: no hosts matched PLAY [sg_accels] ***************************************************************************************************************** skipping: no hosts matched PLAY [sg_accels] ***************************************************************************************************************** skipping: no hosts matched PLAY [sg_accels] ***************************************************************************************************************** skipping: no hosts matched PLAY [sg_accels] ***************************************************************************************************************** skipping: no hosts matched PLAY [sg_accels] ***************************************************************************************************************** skipping: no hosts matched PLAY RECAP *********************************************************************************************************************** Running playbook: libraries/provision/ansible/playbooks/configure-sync-gateway-awslogs-forwarder.yml PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | upload default awslogs config] ****************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | restart awslogs service] ************************************************************************************ [WARNING]: Consider using the service module rather than running service. If you need to use command because service is insufficient you can add warn=False to this command task or set command_warnings=False in ansible.cfg to get rid of this message. changed: [sg1] PLAY [sg_accels] ***************************************************************************************************************** skipping: no hosts matched PLAY RECAP *********************************************************************************************************************** sg1 : ok=3 changed=1 unreachable=0 failed=0 {'hosts': [{'name': 'host1', 'ip': '192.168.33.10'}, {'name': 'host2', 'ip': '192.168.33.11'}], 'couchbase_servers': [{'name': 'cb1', 'ip': '192.168.33.10'}], 'sync_gateways': [{'name': 'sg1', 'ip': '192.168.33.11'}], 'sg_accels': [], 'load_generators': [], 'load_balancers': [], 'environment': {'cbs_ssl_enabled': False, 'xattrs_enabled': True, 'sg_lb_enabled': False, 'ipv6_enabled': False, 'x509_certs': False, 'delta_sync_enabled': True, 'sync_gateway_ssl': True, 'server_version': '6.5.0-4960', 'sync_gateway_version': '2.7.0-None', 'cbl_log_decoder_platform': None, 'no_conflicts_enabled': True, 'sg_use_views': False, 'sg_platform': 'centos', 'number_replicas': 0}} Upstream definition: server https://192.168.33.11:4984; Upstream definition admin: server https://192.168.33.11:4985; Running playbook: libraries/provision/ansible/playbooks/install-nginx.yml PLAY [load_balancers] ************************************************************************************************************ skipping: no hosts matched PLAY RECAP *********************************************************************************************************************** >>> Done provisioning cluster... Verfying versions for cluster: resources/cluster_configs/base_cc GET http://Administrator:password@192.168.33.10:8091/pools 200 Expected Server Version: 6.5.0-4960 Running Server Version: 6.5.0-4960 GET https://192.168.33.11:4984/ 200 'server' header: Couchbase Sync Gateway/2.7.0 EE vendor name: Couchbase Sync Gateway GET https://192.168.33.11:4984/ 200 Expected sync_gateway Version: 2.7.0-166 Running sync_gateway Version: 2.7.0-166 Running sync_gateway Vendor Version: 2.7 Verfying versions for cluster: resources/cluster_configs/base_cc GET http://Administrator:password@192.168.33.10:8091/pools 200 Expected Server Version: 6.5.0-4960 Running Server Version: 6.5.0-4960 GET https://192.168.33.11:4984/ 200 'server' header: Couchbase Sync Gateway/2.7.0 EE vendor name: Couchbase Sync Gateway GET https://192.168.33.11:4984/ 200 Expected sync_gateway Version: 2.7.0-166 Running sync_gateway Version: 2.7.0-166 Running sync_gateway Vendor Version: 2.7 {'hosts': [{'name': 'host1', 'ip': '192.168.33.10'}, {'name': 'host2', 'ip': '192.168.33.11'}], 'couchbase_servers': [{'name': 'cb1', 'ip': '192.168.33.10'}], 'sync_gateways': [{'name': 'sg1', 'ip': '192.168.33.11'}], 'sg_accels': [], 'load_generators': [], 'load_balancers': [], 'environment': {'cbs_ssl_enabled': False, 'xattrs_enabled': True, 'sg_lb_enabled': False, 'ipv6_enabled': False, 'x509_certs': False, 'delta_sync_enabled': True, 'sync_gateway_ssl': True, 'server_version': '6.5.0-4960', 'sync_gateway_version': '2.7.0-None', 'cbl_log_decoder_platform': None, 'no_conflicts_enabled': True, 'sg_use_views': False, 'sg_platform': 'centos', 'number_replicas': 0}} Running test 'test_replication_configuration_with_pull_replication[basic-None]' cluster_config: resources/cluster_configs/base_cc cluster_topology: {'sync_gateways': [{'public': 'https://192.168.33.11:4984', 'admin': 'https://192.168.33.11:4985'}], 'sg_accels': [], 'couchbase_servers': ['http://192.168.33.10:8091'], 'load_balancers': []} mode: cc xattrs_enabled: True Log files available at - /data/user/0/com.couchbase.TestServerApp/files/logs_1586975375 Creating a Database cbl-test1586976878.764931 at test setup Getting the database name resources/cluster_configs/base_cc cbs: ['http://192.168.33.10:8091'] sgs: [{'name': 'sg1', 'ip': '192.168.33.11'}] acs: [] ssl: False >>> Reseting cluster ... >>> CBS SSL enabled: False >>> Using xattrs: True >>> Stopping sync_gateway Running playbook: libraries/provision/ansible/playbooks/stop-sync-gateway.yml PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Stop sync_gateway service] ********************************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Stop sync_gateway for CentOS 6] ***************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Stop sync_gateway on MacOS] ********************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Verify sync_gateway not listening on port] ****************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Stop sync_gateway service on Windows] *********************************************************************** skipping: [sg1] PLAY RECAP *********************************************************************************************************************** sg1 : ok=3 changed=1 unreachable=0 failed=0 >>> Stopping sg_accel Running playbook: libraries/provision/ansible/playbooks/stop-sg-accel.yml PLAY [sg_accels] ***************************************************************************************************************** skipping: no hosts matched PLAY RECAP *********************************************************************************************************************** >>> Deleting sync_gateway artifacts Running playbook: libraries/provision/ansible/playbooks/delete-sync-gateway-artifacts.yml PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Delete sync_gateway logs] *********************************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Delete sync_gateway logs] *********************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Delete sync_gateway logs on Windows] ************************************************************************ skipping: [sg1] TASK [SYNC GATEWAY | Create sync_gateway logs directory on Windows] ************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Delete sync_gateway logs on Windows] ************************************************************************ skipping: [sg1] TASK [SYNC GATEWAY | Delete sync_gateway logs directory under Temp on Windows] *************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Delete sync_gateway logs on Windows] ************************************************************************ skipping: [sg1] TASK [SYNC GATEWAY | Create sync_gateway logs directory under c:/tmp on Windows] ************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Create probram files x86 couchbase directory on Windows] **************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Create probram files couchbase directory on Windows] ******************************************************** skipping: [sg1] PLAY RECAP *********************************************************************************************************************** sg1 : ok=2 changed=1 unreachable=0 failed=0 >>> Deleting sg_accel artifacts Running playbook: libraries/provision/ansible/playbooks/delete-sg-accel-artifacts.yml PLAY [sg_accels] ***************************************************************************************************************** skipping: no hosts matched PLAY RECAP *********************************************************************************************************************** >>> Deleting buckets on: http://192.168.33.10:8091 GET http://192.168.33.10:8091/pools/default/buckets 200 Found buckets: ['travel-sample'] Existing buckets: ['travel-sample'] Deleting buckets: ['travel-sample'] GET http://Administrator:password@192.168.33.10:8091/pools 200 Deleting RBAC user travel-sample rbac: http://192.168.33.10:8091/settings/rbac/users/local/travel-sample; data user params: {'name': 'travel-sample'} DELETE http://192.168.33.10:8091/settings/rbac/users/local/travel-sample 200 DELETE http://192.168.33.10:8091/pools/default/buckets/travel-sample 200 GET http://192.168.33.10:8091/pools/default/buckets 200 Found buckets: [] >>> Creating buckets on: http://192.168.33.10:8091 >>> Creating buckets ['travel-sample'] Creating buckets: ['travel-sample'] total_avail_ram_mb: 3789 effective_avail_ram_mb: 2519 Creating bucket travel-sample with RAM 2519 GET http://Administrator:password@192.168.33.10:8091/pools 200 POST http://192.168.33.10:8091/pools/default/buckets 202 Creating RBAC user travel-sample with password password and roles ro_admin,bucket_full_access[travel-sample] PUT http://192.168.33.10:8091/settings/rbac/users/local/travel-sample 200 Key not found error: Bucket is ready! GET http://192.168.33.10:8091/pools/nodes 200 All nodes are healthy >>> Waiting for Server: http://192.168.33.10:8091 to be in a healthy state GET http://192.168.33.10:8091/pools/nodes 200 All nodes are healthy >>> Starting sync_gateway with configuration: /Users/eunicehuang/workspace/dev/branches/master/mobile-testkit/resources/sync_gateway_configs/sync_gateway_travel_sample_cc.json Keyerror in getting logging'redactlevel' revs_limit not found in resources/cluster_configs/base_cc, Ignoring Running playbook: libraries/provision/ansible/playbooks/start-sync-gateway.yml [WARNING]: While constructing a mapping from /Users/eunicehuang/workspace/dev/branches/master/mobile- testkit/libraries/provision/ansible/playbooks/start-sync-gateway.yml, line 23, column 5, found a duplicate dict key (sudo). Using last defined value only. [DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default). This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [SYNC GATEWAY | Copy sync gateway config to host] *************************************************************************** changed: [sg1] TASK [Deleting /home/sync_gateway/certs directory] ******************************************************************************* skipping: [sg1] TASK [Deleting /home/sync_gateway/certs.zip] ************************************************************************************* skipping: [sg1] TASK [Copying certs.zip to /home/sync_gateway directory] ************************************************************************* skipping: [sg1] TASK [Unzipping certs.zip] ******************************************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Change the mode permissions on Centos] ********************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Check deployed config] ************************************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Print deployed config] ************************************************************************************** ok: [sg1] => { "out.stdout": { "SSLCert": "sg_cert.pem", "SSLKey": "sg_privkey.pem", "adminInterface": "0.0.0.0:4985", "compressResponses": false, "databases": { "db": { "allow_conflicts": false, "bucket": "travel-sample", "delta_sync": { "enabled": true }, "enable_shared_bucket_access": true, "import_docs": true, "num_index_replicas": 0, "password": "password", "server": "http://192.168.33.10:8091", "username": "travel-sample" } }, "interface": ":4984", "logging": { "debug": { "enabled": true } }, "maxFileDescriptors": 90000, "maxIncomingConnections": 0 } } TASK [SYNC GATEWAY | Deploying SSL Cert] ***************************************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Deploying SSL Private Key] ********************************************************************************** changed: [sg1] TASK [SYNC GATEWAY | Copy sync gateway config to host] *************************************************************************** skipping: [sg1] TASK [Deleting /Users/sync_gateway/certs directory] ****************************************************************************** skipping: [sg1] TASK [Deleting /Users/sync_gateway/certs.zip] ************************************************************************************ skipping: [sg1] TASK [Copying certs.zip to /Users/sync_gateway directory] ************************************************************************ skipping: [sg1] TASK [Unzipping certs.zip] ******************************************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Change the mode permissions] ******************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Check deployed config] ************************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Print deployed config] ************************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Deploying SSL Cert] ***************************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Deploying SSL Private Key] ********************************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Check if C:\PROGRA~2\Couchbase is present on Windows] ******************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Copy sync gateway config to C:\PROGRA~2\Couchbase] ********************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Check deployed config C:\PROGRA~2\Couchbase\serviceconfig.json] ********************************************* skipping: [sg1] TASK [SYNC GATEWAY | Check if C:\PROGRA~1\Couchbase\Sync Gateway is present on Windows] ****************************************** skipping: [sg1] TASK [SYNC GATEWAY | Copy sync gateway config to C:\PROGRA~1\Couchbase\Sync Gateway] ********************************************* skipping: [sg1] TASK [SYNC GATEWAY | Check deployed config C:\PROGRA~1\Couchbase\Sync Gateway\serviceconfig.json] ******************************** skipping: [sg1] TASK [SYNC GATEWAY | Print deployed config] ************************************************************************************** skipping: [sg1] TASK [Deleting C:\PROGRA~1\Couchbase\Sync Gateway\certs directory] *************************************************************** skipping: [sg1] TASK [Deleting C:\PROGRA~1\Couchbase\Sync Gateway\certs.zip] ********************************************************************* skipping: [sg1] TASK [Copying certs.zip to C:\PROGRA~1\Couchbase\Sync Gateway directory] ********************************************************* skipping: [sg1] TASK [Unzip package and remove certs.zip] **************************************************************************************** skipping: [sg1] TASK [give full permissions to certs directory] ********************************************************************************** skipping: [sg1] PLAY [sync_gateways] ************************************************************************************************************* TASK [Gathering Facts] *********************************************************************************************************** ok: [sg1] TASK [debug] ********************************************************************************************************************* ok: [sg1] => { "msg": "Starting sync_gateway" } TASK [SYNC GATEWAY | Start sync gateway service] ********************************************************************************* changed: [sg1] TASK [SYNC GATEWAY | Wait until sync gateway to listen on port] ****************************************************************** ok: [sg1] TASK [debug] ********************************************************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Start sync gateway service on Macos] ************************************************************************ skipping: [sg1] TASK [SYNC GATEWAY | Wait until sync gateway to listen on port on Macos] ********************************************************* skipping: [sg1] TASK [debug] ********************************************************************************************************************* skipping: [sg1] TASK [SYNC GATEWAY | Start sync_gateway service on Windows] ********************************************************************** skipping: [sg1] TASK [SYNC GATEWAY | Wait until sync gateway to listen on port] ****************************************************************** skipping: [sg1] PLAY RECAP *********************************************************************************************************************** sg1 : ok=10 changed=5 unreachable=0 failed=0 >>> Running in channel cache PUT 5 docs to with prefix cbl Got response: I-1 POST https://192.168.33.11:4985/db/_user/ 201 POST https://192.168.33.11:4985/db/_session 200 cookie name SyncGatewaySession, session id a811deb3f37fa6cba2cadc92ca654d302275dbfa PUT 10 docs to https://192.168.33.11:4984/db/ with prefix sg_doc PUT https://192.168.33.11:4984/db/sg_doc_0 201 PUT https://192.168.33.11:4984/db/sg_doc_1 201 PUT https://192.168.33.11:4984/db/sg_doc_2 201 PUT https://192.168.33.11:4984/db/sg_doc_3 201 PUT https://192.168.33.11:4984/db/sg_doc_4 201 PUT https://192.168.33.11:4984/db/sg_doc_5 201 PUT https://192.168.33.11:4984/db/sg_doc_6 201 PUT https://192.168.33.11:4984/db/sg_doc_7 201 PUT https://192.168.33.11:4984/db/sg_doc_8 201 PUT https://192.168.33.11:4984/db/sg_doc_9 201 Added: 10 docs Configuring replicator Starting replicator Got response: I-1 Waiting for replicator to go idle Got response: "connecting" Activity level: connecting Got response: I-1 Got response: "stopped" Got response: L10 Got response: L10 Got response: I-1 Got response: "stopped" Got response: "stopped" GET https://192.168.33.11:4985/db/_all_docs 200 Got response: L15 GET https://192.168.33.11:4985/_expvar 200 PASSEDTearing down test Deleting the database cbl-test at test teardown Got response: true Got response: I-1 Flushing server memory Got response: I-1 Clearing png files in resources/data ======================================================== warnings summary ======================================================== venv/lib/python3.7/site-packages/_pytest/mark/structures.py:335 /Users/eunicehuang/workspace/dev/branches/master/mobile-testkit/venv/lib/python3.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.database - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html PytestUnknownMarkWarning, venv/lib/python3.7/site-packages/_pytest/mark/structures.py:335 /Users/eunicehuang/workspace/dev/branches/master/mobile-testkit/venv/lib/python3.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.community - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html PytestUnknownMarkWarning, venv/lib/python3.7/site-packages/_pytest/mark/structures.py:335 /Users/eunicehuang/workspace/dev/branches/master/mobile-testkit/venv/lib/python3.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.custom_conflict - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html PytestUnknownMarkWarning, venv/lib/python3.7/site-packages/_pytest/mark/structures.py:335 /Users/eunicehuang/workspace/dev/branches/master/mobile-testkit/venv/lib/python3.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.predictivequeries - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html PytestUnknownMarkWarning, venv/lib/python3.7/site-packages/_pytest/mark/structures.py:335 /Users/eunicehuang/workspace/dev/branches/master/mobile-testkit/venv/lib/python3.7/site-packages/_pytest/mark/structures.py:335: PytestUnknownMarkWarning: Unknown pytest.mark.backgroundapp - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html PytestUnknownMarkWarning, -- Docs: https://docs.pytest.org/en/latest/warnings.html ------------ generated xml file: /Users/eunicehuang/workspace/dev/branches/master/mobile-testkit/results/results.xml ------------- ------------ generated html file: /Users/eunicehuang/workspace/dev/branches/master/mobile-testkit/results/report.html ------------ ===================================== 1 passed, 211 deselected, 5 warnings in 243.15 seconds ===================================== (venv) Eunice-Huang-MacBook-Pro:mobile-testkit eunicehuang$