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/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/sanity-checks.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/create-folders.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-utils.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-python.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-pip.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/configure-pip-index.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-git.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-vcredist.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-freerdp.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-zuul.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/prepare-git-repos.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/configure-ceph-wnbd.yaml PLAYBOOK: build-win2016-compute.yaml ******************************************* 1 plays in /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016-compute.yaml PLAY [win2016-compute] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016-compute.yaml:2 ok: [10.222.0.26] META: ran handlers TASK [Include variables from job_vars/os-brick.yaml] *************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016-compute.yaml:9 ok: [10.222.0.26] => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "failed_when_result": false, "message": "Could not find or access 'job_vars/os-brick.yaml'\nSearched in:\n\t/home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/vars/job_vars/os-brick.yaml\n\t/home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/job_vars/os-brick.yaml\n\t/home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/vars/job_vars/os-brick.yaml\n\t/home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/job_vars/os-brick.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/os-brick-ceph.yaml] ********************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016-compute.yaml:14 ok: [10.222.0.26] => {"ansible_facts": {"ceph_wnbd_msi_url": "http://10.100.0.9/ci/ceph_v16_0_0_beta.msi", "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", "join_ad": false, "local_conf": {"append": "enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph\nENABLE_CEPH_CINDER=True # ceph backend for cinder\nENABLE_CEPH_GLANCE=False # store images in ceph\nENABLE_CEPH_C_BAK=False # backup volumes to ceph\nENABLE_CEPH_NOVA=False # allow nova to use ceph resources\nVOLUME_BACKING_FILE_SIZE=25GB\n\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\nenabled_backends = ceph\n\n[ceph]\nvolume_driver = cinder.volume.drivers.rbd.RBDDriver\nvolume_backend_name = ceph\nrbd_pool = volumes\nrbd_ceph_conf = /etc/ceph/ceph.conf\nrbd_flatten_volume_from_snapshot = false\nrbd_max_clone_depth = 5\nrbd_store_chunk_size = 4\nrados_connect_timeout = -1\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": ["n-obj", "n-novnc", "n-net", "n-cpu", "q-lbaas", "q-fwaas", "horizon", "c-bak", "ceilometer-acentral", "ceilometer-acompute", "ceilometer-collector", "ceilometer-api", "ceilometer-anotification", "heat", "h-api", "h-api-cfn", "h-api-cw", "h-eng", "q-metering", "q-vpn", "s-proxy", "s-object", "s-container", "s-account"], "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", "g-api", "g-reg", "cinder", "c-vol", "c-api", "c-sch", "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 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"}], "tempest_tests": {"excluded-tests": "tempest.scenario.test_stamp_pattern.TestStampPattern.test_stamp_pattern\n", "included-tests": "tempest.scenario.test_minimum_basic\ntempest.scenario.test_stamp_pattern\ntempest.scenario.test_volume_boot_pattern\n"}, "upper_constraints_pinning": [{"project": "simplejson", "simplejson": null, "value": "simplejson===3.16.0"}, {"project": "pyasn1", "pyasn1": null, "value": "pyasn1===0.4.8"}, {"project": "pyasn1-modules", "pyasn1-modules": null, "value": "pyasn1-modules===0.2.8"}], "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-osbrick-{{ 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-osbrick-{{ 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.rbd.RBDDriver", "win2016_compute_node_ip": "{{ groups['win2016-compute'][0] }}", "win_cherry_picks": [{"patches": ["refs/changes/03/718403/17"], "path": "{{ win_dir.build }}\\os-brick", "project": "openstack/os-brick"}, {"patches": ["refs/changes/99/718399/5"], "path": "{{ win_dir.build }}\\compute-hyperv", "project": "openstack/compute-hyperv"}], "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", "lock": "c:\\openstack\\lock", "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/os-win", "openstack/os-brick", "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/os-brick-debug/master-hyperv-ceph/cbci/job_vars/os-brick-ceph.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/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/sanity-checks.yaml:2 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if job_type parameters is defined] ********************************* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/sanity-checks.yaml:7 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if hostname parameter is defined] ********************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/sanity-checks.yaml:12 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Install FS-iSCSITarget-Server] ******************************************* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016-compute.yaml:22 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set administrator password to Passw0rd] ********************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:2 changed: [10.222.0.26] => {"changed": true, "cmd": "net user administrator Passw0rd", "delta": "0:00:00.781450", "end": "2022-01-01 08:22:32.153314", "rc": 0, "start": "2022-01-01 08:22:31.371863", "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/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/create-folders.yaml:2 ok: [10.222.0.26] => (item=c:\openstack\bin) => {"changed": false, "item": "c:\\openstack\\bin"} ok: [10.222.0.26] => (item=c:\openstack\tmp) => {"changed": false, "item": "c:\\openstack\\tmp"} ok: [10.222.0.26] => (item=c:\openstack\log) => {"changed": false, "item": "c:\\openstack\\log"} ok: [10.222.0.26] => (item=c:\openstack\etc) => {"changed": false, "item": "c:\\openstack\\etc"} ok: [10.222.0.26] => (item=c:\python37) => {"changed": false, "item": "c:\\python37"} ok: [10.222.0.26] => (item=c:\openstack\lock) => {"changed": false, "item": "c:\\openstack\\lock"} ok: [10.222.0.26] => (item=C:\openstack\instances) => {"changed": false, "item": "C:\\openstack\\instances"} ok: [10.222.0.26] => (item=c:\openstack\log\event-log) => {"changed": false, "item": "c:\\openstack\\log\\event-log"} ok: [10.222.0.26] => (item=c:\openstack\build) => {"changed": false, "item": "c:\\openstack\\build"} ok: [10.222.0.26] => (item=c:\python27) => {"changed": false, "item": "c:\\python27"} ok: [10.222.0.26] => (item=C:\ProgramData\pip) => {"changed": false, "item": "C:\\ProgramData\\pip"} ok: [10.222.0.26] => (item=c:\openstack) => {"changed": false, "item": "c:\\openstack"} TASK [Disable firewall for Domain, Public and Private profiles] **************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:7 ok: [10.222.0.26] => {"Domain": {"considered": true, "currentstate": 0, "enabled": false}, "Private": {"considered": true, "currentstate": 0, "enabled": false}, "Public": {"considered": true, "currentstate": 0, "enabled": false}, "changed": false, "profiles": ["Domain", "Private", "Public"], "state": "disabled"} TASK [Set neutron hyperv agent service] **************************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:16 ok: [10.222.0.26] => {"ansible_facts": {"services": [{"binary": "c:\\python37\\scripts\\nova-compute.exe", "config": "c:\\openstack\\etc\\nova.conf", "description": "OpenStack nova Compute Service", "name": "nova-compute", "nova": null, "template": "nova.conf"}, {"binary": "c:\\python37\\scripts\\neutron-hyperv-agent.exe", "config": "c:\\openstack\\etc\\neutron-hyperv-agent.conf", "description": "OpenStack Neutron Hyper-V Agent Service", "name": "neutron-hyperv-agent", "neutron": null, "template": "neutron-hyperv-agent.conf"}]}, "changed": false} TASK [Set neutron ovs agent service] ******************************************* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:20 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create services and/or stop them if they are running] ******************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:24 ok: [10.222.0.26] => (item={u'binary': u'c:\\python37\\scripts\\nova-compute.exe', u'name': u'nova-compute', u'template': u'nova.conf', u'config': u'c:\\openstack\\etc\\nova.conf', u'nova': None, u'description': u'OpenStack nova Compute Service'}) => {"can_pause_and_continue": false, "changed": false, "depended_by": [], "dependencies": [], "description": "OpenStack nova Compute Service", "desktop_interact": false, "display_name": "nova-compute", "exists": true, "item": {"binary": "c:\\python37\\scripts\\nova-compute.exe", "config": "c:\\openstack\\etc\\nova.conf", "description": "OpenStack nova Compute Service", "name": "nova-compute", "nova": null, "template": "nova.conf"}, "name": "nova-compute", "path": "c:\\openstack\\bin\\OpenStackService.exe nova-compute c:\\python37\\scripts\\nova-compute.exe --config-file c:\\openstack\\etc\\nova.conf", "start_mode": "manual", "state": "stopped", "username": "LocalSystem"} ok: [10.222.0.26] => (item={u'binary': u'c:\\python37\\scripts\\neutron-hyperv-agent.exe', u'name': u'neutron-hyperv-agent', u'template': u'neutron-hyperv-agent.conf', u'config': u'c:\\openstack\\etc\\neutron-hyperv-agent.conf', u'neutron': None, u'description': u'OpenStack Neutron Hyper-V Agent Service'}) => {"can_pause_and_continue": false, "changed": false, "depended_by": [], "dependencies": [], "description": "OpenStack Neutron Hyper-V Agent Service", "desktop_interact": false, "display_name": "neutron-hyperv-agent", "exists": true, "item": {"binary": "c:\\python37\\scripts\\neutron-hyperv-agent.exe", "config": "c:\\openstack\\etc\\neutron-hyperv-agent.conf", "description": "OpenStack Neutron Hyper-V Agent Service", "name": "neutron-hyperv-agent", "neutron": null, "template": "neutron-hyperv-agent.conf"}, "name": "neutron-hyperv-agent", "path": "c:\\openstack\\bin\\OpenStackService.exe neutron-hyperv-agent c:\\python37\\scripts\\neutron-hyperv-agent.exe --config-file c:\\openstack\\etc\\neutron-hyperv-agent.conf", "start_mode": "manual", "state": "stopped", "username": "LocalSystem"} TASK [Create vmswitches] ******************************************************* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:35 ok: [10.222.0.26] => (item={u'subnet': u'192.168.0.0/22', u'management': False, u'name': u'br-data'}) => {"changed": false, "interface_details": {}, "item": {"management": false, "name": "br-data", "subnet": "192.168.0.0/22"}, "log": ["Found vmswitch: br-data, checking...", "Found vmswitch br-data, checking ManagementOS", "ManagementOS matches", "ManagementOS is False, nothing else to check"]} TASK [Set compute_local_ip variable] ******************************************* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:46 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set compute_dataplane_interface_name variable] *************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:50 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if dataplane informations variable file exists] ******************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:54 ok: [10.222.0.26] => {"changed": false, "stat": {"attributes": "Archive", "checksum": "3e842577cb41e1f716adae15d22b3b7bb63dba58", "creationtime": 1641067795.9123855, "exists": true, "extension": ".yaml", "filename": "dataplane_informations.yaml", "hlnk_targets": [], "isarchive": true, "isdir": false, "ishidden": false, "isjunction": false, "islnk": false, "isreadonly": false, "isreg": true, "isshared": false, "lastaccesstime": 1641067795.9123855, "lastwritetime": 1641067799.6664233, "nlink": 1, "owner": "BUILTIN\\Administrators", "path": "c:\\openstack\\etc\\dataplane_informations.yaml", "size": 76}} TASK [Create dataplane_informations.yaml file] ********************************* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:59 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Add dataplane interface informations in dataplane_informations.yaml] ***** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:65 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create config files] ***************************************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:74 ok: [10.222.0.26] => (item={u'binary': u'c:\\python37\\scripts\\nova-compute.exe', u'name': u'nova-compute', u'template': u'nova.conf', u'config': u'c:\\openstack\\etc\\nova.conf', u'nova': None, u'description': u'OpenStack nova Compute Service'}) => {"changed": false, "checksum": "ddb1646ad3d9434e0aa93a803573504af41388d5", "failed_when_result": false, "item": {"binary": "c:\\python37\\scripts\\nova-compute.exe", "config": "c:\\openstack\\etc\\nova.conf", "description": "OpenStack nova Compute Service", "name": "nova-compute", "nova": null, "template": "nova.conf"}} ok: [10.222.0.26] => (item={u'binary': u'c:\\python37\\scripts\\neutron-hyperv-agent.exe', u'name': u'neutron-hyperv-agent', u'template': u'neutron-hyperv-agent.conf', u'config': u'c:\\openstack\\etc\\neutron-hyperv-agent.conf', u'neutron': None, u'description': u'OpenStack Neutron Hyper-V Agent Service'}) => {"changed": false, "checksum": "423a058fbe68b759df6c8ff7e523ea62e6be3fde", "failed_when_result": false, "item": {"binary": "c:\\python37\\scripts\\neutron-hyperv-agent.exe", "config": "c:\\openstack\\etc\\neutron-hyperv-agent.conf", "description": "OpenStack Neutron Hyper-V Agent Service", "name": "neutron-hyperv-agent", "neutron": null, "template": "neutron-hyperv-agent.conf"}} TASK [Create policy.json] ****************************************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016.yaml:82 ok: [10.222.0.26] => {"changed": false, "checksum": "01e30e09cb7d189e7439d9fac753d12cdf5f072c"} TASK [Check if utils archive is present] *************************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-utils.yaml:2 ok: [10.222.0.26] => {"changed": false, "stat": {"attributes": "Archive", "checksum": "bd97b70517b973036f89749cdd4c48a89e53eb9a", "creationtime": 1641067820.5450225, "exists": true, "extension": ".zip", "filename": "utils.zip", "hlnk_targets": [], "isarchive": true, "isdir": false, "ishidden": false, "isjunction": false, "islnk": false, "isreadonly": false, "isreg": true, "isshared": false, "lastaccesstime": 1641067820.5450225, "lastwritetime": 1641067820.6803138, "nlink": 1, "owner": "BUILTIN\\Administrators", "path": "c:\\openstack\\tmp\\utils.zip", "size": 4295372}} TASK [Download utils archive] ************************************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-utils.yaml:8 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Unzip utils archive] ***************************************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-utils.yaml:15 ok: [10.222.0.26] => {"cb_unzip": {"dest": "c:\\openstack\\bin", "src": "c:\\openstack\\tmp\\utils.zip"}, "changed": false} TASK [Add utils to PATH] ******************************************************* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-utils.yaml:21 ok: [10.222.0.26] => {"changed": false, "path_value": "C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\openstack\\bin;c:\\python37;c:\\python37\\scripts;C:\\Program Files\\Git\\cmd;c:\\program files\\git\\bin;c:\\Program Files\\Ceph\\bin\\;C:\\\\Program Files\\\\Ceph\\\\bin\\\\"} TASK [Check if python archive is present] ************************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-python.yaml:2 ok: [10.222.0.26] => {"changed": false, "stat": {"attributes": "Archive", "checksum": "0b3873d429bf059e0854c2107fb5a1b2a315e71c", "creationtime": 1641067829.0700555, "exists": true, "extension": ".zip", "filename": "python.zip", "hlnk_targets": [], "isarchive": true, "isdir": false, "ishidden": false, "isjunction": false, "islnk": false, "isreadonly": false, "isreg": true, "isshared": false, "lastaccesstime": 1641067829.0700555, "lastwritetime": 1641067829.6965618, "nlink": 1, "owner": "BUILTIN\\Administrators", "path": "c:\\openstack\\tmp\\python.zip", "size": 70384486}} TASK [Download python archive] ************************************************* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-python.yaml:8 skipping: [10.222.0.26] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Unzip python archive] **************************************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-python.yaml:15 changed: [10.222.0.26] => {"cb_unzip": {"dest": "c:\\python37", "src": "c:\\openstack\\tmp\\python.zip"}, "changed": true} TASK [Add python to PATH] ****************************************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-python.yaml:21 ok: [10.222.0.26] => {"changed": false, "path_value": "C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\openstack\\bin;c:\\python37;c:\\python37\\scripts;C:\\Program Files\\Git\\cmd;c:\\program files\\git\\bin;c:\\Program Files\\Ceph\\bin\\;C:\\\\Program Files\\\\Ceph\\\\bin\\\\"} TASK [Download get-pip.py from "https://bootstrap.pypa.io/get-pip.py"] ********* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-pip.yaml:2 ok: [10.222.0.26] => {"changed": false, "dest": "c:\\openstack\\tmp\\get-pip.py", "msg": "OK", "status_code": 200, "url": "https://bootstrap.pypa.io/get-pip.py", "win_get_url": {"dest": "c:\\openstack\\tmp\\get-pip.py", "url": "https://bootstrap.pypa.io/get-pip.py"}} TASK [Create constraints file for pip==20.2.2] ********************************* task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-pip.yaml:9 ok: [10.222.0.26] => {"changed": false, "checksum": "e88c82760f48bf290a9e1c662887bcb6a3146908", "dest": "c:\\openstack\\tmp\\constraints.txt", "operation": "file_copy", "original_basename": "tmpp4czSP", "size": 12, "src": null} TASK [Install pip version "pip==20.2.2"] *************************************** task path: /home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/tasks/windows/install-pip.yaml:15 fatal: [10.222.0.26]: FAILED! => {"changed": true, "cmd": "python \"c:\\openstack\\tmp\\\\get-pip.py\" -c \"c:\\openstack\\tmp\\\\constraints.txt\" pip", "delta": "0:00:04.745491", "end": "2022-01-01 08:23:51.478542", "msg": "non-zero return code", "rc": 1, "start": "2022-01-01 08:23:46.733051", "stderr": "c:\\python37\\lib\\site-packages\\_distutils_hack\\__init__.py:25: UserWarning: Distutils was imported before Setuptools, but importing Setuptools also replaces the `distutils` module in `sys.modules`. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.\r\n \"Distutils was imported before Setuptools, but importing Setuptools \"\r\nc:\\python37\\lib\\site-packages\\_distutils_hack\\__init__.py:36: UserWarning: Setuptools is replacing distutils.\r\n warnings.warn(\"Setuptools is replacing distutils.\")\r\nTraceback (most recent call last):\r\n File \"c:\\openstack\\tmp\\\\get-pip.py\", line 27081, in \r\n main()\r\n File \"c:\\openstack\\tmp\\\\get-pip.py\", line 139, in main\r\n bootstrap(tmpdir=tmpdir)\r\n File \"c:\\openstack\\tmp\\\\get-pip.py\", line 120, in bootstrap\r\n args = determine_pip_install_arguments()\r\n File \"c:\\openstack\\tmp\\\\get-pip.py\", line 65, in determine_pip_install_arguments\r\n import setuptools # noqa\r\n File \"c:\\python37\\lib\\site-packages\\setuptools\\__init__.py\", line 8, in \r\n import _distutils_hack.override # noqa: F401\r\n File \"c:\\python37\\lib\\site-packages\\_distutils_hack\\override.py\", line 1, in \r\n __import__('_distutils_hack').do_override()\r\n File \"c:\\python37\\lib\\site-packages\\_distutils_hack\\__init__.py\", line 73, in do_override\r\n ensure_local_distutils()\r\n File \"c:\\python37\\lib\\site-packages\\_distutils_hack\\__init__.py\", line 61, in ensure_local_distutils\r\n assert '_distutils' in core.__file__, core.__file__\r\nAssertionError: c:\\python37\\lib\\distutils\\core.py", "stderr_lines": ["c:\\python37\\lib\\site-packages\\_distutils_hack\\__init__.py:25: UserWarning: Distutils was imported before Setuptools, but importing Setuptools also replaces the `distutils` module in `sys.modules`. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.", " \"Distutils was imported before Setuptools, but importing Setuptools \"", "c:\\python37\\lib\\site-packages\\_distutils_hack\\__init__.py:36: UserWarning: Setuptools is replacing distutils.", " warnings.warn(\"Setuptools is replacing distutils.\")", "Traceback (most recent call last):", " File \"c:\\openstack\\tmp\\\\get-pip.py\", line 27081, in ", " main()", " File \"c:\\openstack\\tmp\\\\get-pip.py\", line 139, in main", " bootstrap(tmpdir=tmpdir)", " File \"c:\\openstack\\tmp\\\\get-pip.py\", line 120, in bootstrap", " args = determine_pip_install_arguments()", " File \"c:\\openstack\\tmp\\\\get-pip.py\", line 65, in determine_pip_install_arguments", " import setuptools # noqa", " File \"c:\\python37\\lib\\site-packages\\setuptools\\__init__.py\", line 8, in ", " import _distutils_hack.override # noqa: F401", " File \"c:\\python37\\lib\\site-packages\\_distutils_hack\\override.py\", line 1, in ", " __import__('_distutils_hack').do_override()", " File \"c:\\python37\\lib\\site-packages\\_distutils_hack\\__init__.py\", line 73, in do_override", " ensure_local_distutils()", " File \"c:\\python37\\lib\\site-packages\\_distutils_hack\\__init__.py\", line 61, in ensure_local_distutils", " assert '_distutils' in core.__file__, core.__file__", "AssertionError: c:\\python37\\lib\\distutils\\core.py"], "stdout": "", "stdout_lines": []} NO MORE HOSTS LEFT ************************************************************* to retry, use: --limit @/home/jenkins-slave/workspace/os-brick-debug/master-hyperv-ceph/cbci/build-win2016-compute.retry PLAY RECAP ********************************************************************* 10.222.0.26 : ok=20 changed=2 unreachable=0 failed=1