ansible-playbook 2.7.0 config file = None configured module search path = [u'/opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ara/plugins/modules'] ansible python module location = /opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ansible executable location = /opt/ansible27/ara-venv/bin/ansible-playbook python version = 2.7.12 (default, Nov 20 2017, 18:23:56) [GCC 5.4.0 20160609] No config file found; using defaults statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/sanity-checks.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/build-win2016.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/create-folders.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/install-utils.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/install-python.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/install-pip.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/configure-pip-index.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/install-git.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/install-vcredist.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/install-freerdp.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/install-zuul.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/prepare-git-repos.yaml statically imported: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/configure-ceph-wnbd.yaml PLAYBOOK: build-win2016-compute.yaml ******************************************* 1 plays in /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/build-win2016-compute.yaml PLAY [win2016-compute] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/build-win2016-compute.yaml:2 ok: [10.222.0.32] META: ran handlers TASK [Include variables from job_vars/cinder.yaml] ***************************** task path: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/build-win2016-compute.yaml:9 ok: [10.222.0.32] => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "failed_when_result": false, "message": "Could not find or access 'job_vars/cinder.yaml'\nSearched in:\n\t/home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/vars/job_vars/cinder.yaml\n\t/home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/job_vars/cinder.yaml\n\t/home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/vars/job_vars/cinder.yaml\n\t/home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/job_vars/cinder.yaml on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"} TASK [Include variables from job_vars/cinder-iscsi.yaml] *********************** task path: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/build-win2016-compute.yaml:14 ok: [10.222.0.32] => {"ansible_facts": {"cherry_picks": [{"patches": ["refs/heads/neutron-ovs-bridge-arping"], "path": "{{ devstack_dir.devstack }}", "project": "openstack/devstack", "url": "https://github.com/cloudbase/devstack"}], "compute_driver": "compute_hyperv.driver.HyperVDriver", "data_bridge_ovs": "br-ethernet", "git_prep_projects": ["openstack/keystone", "openstack/glance", "openstack/cinder", "openstack/requirements", "openstack/nova", "openstack/neutron", "openstack/networking-hyperv", "openstack/swift", "openstack/tempest", "openstack/cinder-tempest-plugin"], "join_ad": false, "local_conf": {"append": "TEMPEST_PLUGINS=/opt/stack/cinder-tempest-plugin\nLIBS_FROM_GIT=cinder-tempest-plugin\nATTACH_ENCRYPTED_VOLUME_AVAILABLE=False\nSWIFT_REPLICAS=1\nSWIFT_HASH=66a3d6b56c1f479c8b4e70ab5d2014f6\nSWIFT_START_ALL_SERVICES=False\nUSE_PYTHON3=True\n\n[[post-config|$NOVA_CONF]]\n[DEFAULT]\nforce_config_drive = True\nscheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,DifferentHostFilter,SameHostFilter\n[glance]\nuse_glance_v1=False\n[oslo_messaging_rabbit]\nheartbeat_timeout_threshold = 600\nheartbeat_rate = 3 \n[placement]\nos_region_name = RegionOne\nproject_domain_name = Default\nproject_name = service\nuser_domain_name = Default\npassword = Passw0rd\nusername = placement\nauth_url = http://{{ devstack_ip }}/identity\nauth_type = password\n\n[[post-config|$NEUTRON_CONF]]\n[database]\nmin_pool_size = 5\nmax_pool_size = 50\nmax_overflow = 50\n[quotas]\nquota_network = 100\nquota_subnet = 100\nquota_port = 500\nquota_security_group = 100\nquota_security_group_rule = 100\nquota_vip = 100\nquota_pool = 100\nquota_loadbalancer = 100\nquota_router = 100\nquota_floatingip = 50\nquota_firewall = 10\nquota_firewall_policy = 10\nquota_firewall_rule = 100\n\n[[post-config|$CINDER_CONF]]\n[DEFAULT]\nos_privileged_user_auth_url=http://{{ devstack_ip }}/identity/v2.0\n\n[[post-config|/$Q_PLUGIN_CONF_FILE]]\n[securitygroup]\nenable_security_group = True\n# Note(lpetrut): For some reason, the br-int controller is\n# unaccessible, so we'll stick with ovs-ofctl until we find\n# out what's wrong.\n[ovs]\nof_interface = ovs-ofctl\n", "block_migration": true, "disable_services": ["c-bak", "c-vol", "n-obj", "n-novnc", "n-net", "n-cpu", "q-lbaas", "q-fwaas", "horizon"], "enable_services": ["rabbit", "mysql", "key", "n-api", "n-crt", "n-cond", "n-sch", "n-cauth", "neutron", "q-svc", "q-agt", "q-dhcp", "q-l3", "q-meta", "q-metering", "q-vpn", "g-api", "g-reg", "cinder", "c-api", "c-sch", "s-proxy", "s-object", "s-container", "s-account", "heat", "h-api", "h-api-cfn", "h-api-cw", "h-eng", "ceilometer-acentral", "ceilometer-acompute", "ceilometer-collector", "ceilometer-api", "ceilometer-anotification", "tempest"], "image_urls": "{{ image_urls }}", "ip_version": 4, "live_migration": false}, "log_key": "/home/jenkins-slave/.ssh/id_rsa_log.pem", "log_path": "/tmp/build_logs/{{ zuul_change }}-{{ zuul_patchset }}/{{ job_type }}", "post_stack_bash": "source {{ devstack_dir.devstack }}/functions\nTEMPEST_CONFIG={{ devstack_dir.stack }}/tempest/etc/tempest.conf\niniset $TEMPEST_CONFIG compute volume_device_name \"sdb\"\niniset $TEMPEST_CONFIG compute min_compute_nodes {{ win2016_compute_nodes | length }}\niniset $TEMPEST_CONFIG compute flavor_ref 452\niniset $TEMPEST_CONFIG compute flavor_ref_alt 451\niniset $TEMPEST_CONFIG compute-feature-enabled rdp_console true\niniset $TEMPEST_CONFIG compute-feature-enabled block_migrate_cinder_iscsi False\niniset $TEMPEST_CONFIG compute-feature-enabled block_migration_for_live_migration False\niniset $TEMPEST_CONFIG compute-feature-enabled live_migration False\niniset $TEMPEST_CONFIG compute-feature-enabled interface_attach False\niniset $TEMPEST_CONFIG compute-feature-enabled swap_volume False\n\niniset $TEMPEST_CONFIG scenario img_file \"/home/ubuntu/devstack/files/{{ local_conf.image_urls | basename }}\"\niniset $TEMPEST_CONFIG scenario img_disk_format vhdx\niniset $TEMPEST_CONFIG scenario dhcp_client dhclient\n\nIMAGE_REF=`iniget $TEMPEST_CONFIG compute image_ref`\niniset $TEMPEST_CONFIG compute image_ref_alt $IMAGE_REF\niniset $TEMPEST_CONFIG validation image_ssh_user ubuntu\niniset $TEMPEST_CONFIG validation image_alt_ssh_user ubuntu\n\niniset $TEMPEST_CONFIG compute build_timeout 360\niniset $TEMPEST_CONFIG orchestration build_timeout 360\niniset $TEMPEST_CONFIG volume build_timeout 360\niniset $TEMPEST_CONFIG volume vendor_name Microsoft\niniset $TEMPEST_CONFIG boto build_timeout 360\n\niniset $TEMPEST_CONFIG compute ssh_timeout 360\niniset $TEMPEST_CONFIG compute allow_tenant_isolation True\n", "services": [{"binary": "{{ win_dir.python }}\\scripts\\nova-compute.exe", "config": "{{ win_dir.etc }}\\nova.conf", "description": "OpenStack nova Compute Service", "name": "nova-compute", "nova": null, "template": "nova.conf"}, {"binary": "{{ win_dir.python }}\\scripts\\cinder-volume.exe", "cinder-volume": null, "config": "{{ win_dir.etc }}\\cinder-volume.conf", "description": "OpenStack Cinder Volume Service", "name": "cinder-volume", "template": "cinder-volume.conf"}, {"binary": "{{ win_dir.python }}\\scripts\\cinder-backup.exe", "cinder-backup": null, "config": "{{ win_dir.etc }}\\cinder-backup.conf", "description": "OpenStack Cinder Backup Service", "name": "cinder-backup", "template": "cinder-backup.conf"}], "tempest_tests": {"excluded-tests": "tempest.api.volume.admin.test_snapshot_manage.SnapshotManageAdminTest\n# test added in https://github.com/openstack/tempest/commit/7b0eaf8f544cfbaab521a80abfff33e7b637b90d\n# exclude until we have a fix\ntempest.api.volume.admin.test_volumes_actions.VolumesActionsTest.test_force_detach_volume\n# https://bugs.launchpad.net/tempest/+bug/1691144\ntempest.api.volume.admin.test_volume_hosts.VolumeHostsAdminTestsJSON.test_show_host\ntempest.api.volume.test_volumes_extend.VolumesExtendAttachedTest.test_extend_attached_volume\n# feature not supported on iscsi driver\ntempest.api.volume.admin.test_volume_manage.VolumeManageAdminTest.test_unmanage_manage_volume\ntempest.scenario.test_stamp_pattern.TestStampPattern.test_stamp_pattern\n", "included-tests": "tempest.api.volume\ntempest.api.orchestration.stacks.test_volumes\ntempest.api.compute.volumes\ntempest.api.compute.admin.test_live_migration.LiveBlockMigrationTestJSON.test_iscsi_volume\ntempest.api.compute.admin.test_live_migration.LiveBlockMigrationTestJSON.test_volume_backed_live_migration\ntempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_attached_volume\ntempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_attach_volume\ntempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume\ntempest.scenario.test_encrypted_cinder_volumes\ntempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario\ntempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance\ntempest.scenario.test_stamp_pattern.TestStampPattern.test_stamp_pattern\ntempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_create_ebs_image_and_check_boot\ntempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern\ntempest.scenario.test_volume_boot_pattern.TestVolumeBootPatternV2.test_create_ebs_image_and_check_boot\ntempest.scenario.test_volume_boot_pattern.TestVolumeBootPatternV2.test_volume_boot_pattern\ntempest.thirdparty.boto.test_ec2_instance_run.InstanceRunTest.test_compute_with_volumes\ntempest.thirdparty.boto.test_ec2_volumes\ncinder_tempest_plugin\n"}, "vms": [{"additional_params": "ansible_ssh_private_key_file=/home/jenkins-slave/.ssh/id_rsa.pem ansible_ssh_common_args=\"-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null\"", "devstack": null, "flavor": "devstack", "image": "focal-15.04.2021", "inventory_group": "devstack", "name": "dv-cinder-{{ zuul_change }}-{{ zuul_patchset }}-{{ job_type }}", "tags": "dv-{{ zuul_project | basename }}-{{ zuul_change }}-{{ zuul_patchset }}-{{ job_type }}", "userdata": ""}, {"additional_params": "ansible_winrm_cert_pem=/home/jenkins-slave/ssl/ssl_winrm.crt ansible_winrm_cert_key_pem=/home/jenkins-slave/ssl/ssl_winrm.key ansible_winrm_transport=certificate ansible_ssh_user=administrator ansible_connection=winrm ansible_winrm_server_cert_validation=ignore ansible_ssh_port=5986", "flavor": "ci-win2016hv", "hv2016-compute": null, "image": "win2016-hypervrole", "inventory_group": "win2016-compute", "name": "hv-cinder-{{ zuul_change }}-{{ zuul_patchset }}-{{ job_type }}", "tags": "hv-{{ zuul_project | basename }}-{{ zuul_change }}-{{ zuul_patchset }}-{{ job_type }}", "userdata": "{{ lookup('file', '/home/jenkins-slave/ssl/ssl_winrm.crt') }}"}], "vmswitches": [{"management": false, "name": "{{ data_bridge }}", "subnet": "{{ data_network }}"}], "volume_driver": "cinder.volume.drivers.windows.iscsi.WindowsISCSIDriver", "win2016_compute_node_ip": "{{ groups['win2016-compute'][0] }}", "win_crt": "/home/jenkins-slave/ssl/ssl_winrm.crt", "win_dir": {"bin": "c:\\openstack\\bin", "build": "c:\\openstack\\build", "etc": "c:\\openstack\\etc", "event_log": "c:\\openstack\\log\\event-log", "instances": "C:\\openstack\\instances", "log": "c:\\openstack\\log", "openstack": "c:\\openstack", "pip": "C:\\ProgramData\\pip", "python": "c:\\python37", "python_zuul": "c:\\python27", "tmp": "c:\\openstack\\tmp"}, "win_git_prep_projects": ["openstack/requirements", "openstack/nova", "openstack/neutron", "openstack/compute-hyperv", "openstack/cinder", "openstack/os-win", "openstack/networking-hyperv"], "win_key": "/home/jenkins-slave/ssl/ssl_winrm.key", "win_python_archive_url": "http://10.100.0.9/ci/python37.zip", "win_python_packages": ["pywin32", "pbr", "pymysql", "ovs"]}, "ansible_included_var_files": ["/home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/job_vars/cinder-iscsi.yaml"], "changed": false, "failed_when_result": false} TASK [Check if we have atleast 1 AD server in the inventory when join_ad is True] *** task path: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/sanity-checks.yaml:2 skipping: [10.222.0.32] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if job_type parameters is defined] ********************************* task path: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/sanity-checks.yaml:7 skipping: [10.222.0.32] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if hostname parameter is defined] ********************************** task path: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/sanity-checks.yaml:12 skipping: [10.222.0.32] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Install FS-iSCSITarget-Server] ******************************************* task path: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/build-win2016-compute.yaml:22 ok: [10.222.0.32] => {"changed": false, "exitcode": "NoChangeNeeded", "feature_result": [], "reboot_required": false, "restart_needed": false, "success": true} TASK [Set administrator password to Passw0rd] ********************************** task path: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/build-win2016.yaml:2 changed: [10.222.0.32] => {"changed": true, "cmd": "net user administrator Passw0rd", "delta": "0:00:01.781329", "end": "2021-06-06 06:36:43.631896", "rc": 0, "start": "2021-06-06 06:36:41.850567", "stderr": "", "stderr_lines": [], "stdout": "The command completed successfully.\r\n\r\n", "stdout_lines": ["The command completed successfully.", ""]} TASK [Create openstack folders] ************************************************ task path: /home/jenkins-slave/workspace/cinder-iscsi/ee5a7ca714904b1c99f48c47c033c30d/cbci/tasks/windows/create-folders.yaml:2 changed: [10.222.0.32] => (item=c:\openstack\bin) => {"changed": true, "item": "c:\\openstack\\bin"} changed: [10.222.0.32] => (item=c:\openstack\tmp) => {"changed": true, "item": "c:\\openstack\\tmp"} changed: [10.222.0.32] => (item=c:\openstack\log) => {"changed": true, "item": "c:\\openstack\\log"} changed: [10.222.0.32] => (item=c:\openstack\etc) => {"changed": true, "item": "c:\\openstack\\etc"} changed: [10.222.0.32] => (item=c:\python37) => {"changed": true, "item": "c:\\python37"}