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/neutron-debug/victoria-hyperv/cbci/tasks/windows/sanity-checks.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/create-folders.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-utils.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-python.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-pip.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/configure-pip-index.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-git.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-vcredist.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-freerdp.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-zuul.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/prepare-git-repos.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/configure-ceph-wnbd.yaml PLAYBOOK: build-win2016-compute.yaml ******************************************* 1 plays in /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016-compute.yaml PLAY [win2016-compute] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016-compute.yaml:2 ok: [10.222.0.54] META: ran handlers TASK [Include variables from job_vars/neutron.yaml] **************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016-compute.yaml:9 ok: [10.222.0.54] => {"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", "join_ad": false, "local_conf": {"append": "SWIFT_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[lvmdriver-1]\nlvm_max_over_subscription_ratio = 40.0\nimage_volume_cache_enabled = False\nlvm_type = default\n[DEFAULT]\nquota_volumes = 10\nquota_snapshots = 10\nquota_gigabytes = 1000\nquota_backups = 10\nquota_backup_gigabytes = 1000\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"], "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-vol", "c-sch", "c-bak", "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": true}, "log_key": "/home/jenkins-slave/.ssh/id_rsa_log.pem", "log_path": "/tmp/build_logs/{{ zuul_change }}-{{ zuul_patchset }}/{{ network_type }}", "ovs_msi_url": "http://10.100.0.9/ci/openvswitch-hyperv-installer-beta-2.12.msi", "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 True\niniset $TEMPEST_CONFIG compute-feature-enabled block_migration_for_live_migration True\niniset $TEMPEST_CONFIG compute-feature-enabled live_migration True\niniset $TEMPEST_CONFIG compute-feature-enabled interface_attach 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.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_rebuild_server\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_rebuild_server_in_stop_state\ntempest.scenario.test_network_v6.TestGettingAddress\ntempest.scenario.test_stamp_pattern.TestStampPattern.test_stamp_pattern\n", "included-tests": "tempest.api.network\ntempest.api.compute.servers.test_create_server.ServersTestJSON.test_verify_created_server_vcpus\ntempest.api.compute.servers.test_create_server.ServersTestJSON.test_verify_duplicate_network_nics\ntempest.api.compute.servers.test_create_server.ServersTestJSON.test_verify_multiple_nics_order\ntempest.api.compute.servers.test_create_server.ServersTestJSON.test_verify_server_details\ntempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_verify_created_server_vcpus\ntempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_verify_duplicate_network_nics\ntempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_verify_multiple_nics_order\ntempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_verify_server_details\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_lock_unlock_server\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_pause_unpause_server\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_reboot_server_hard\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_reboot_server_soft\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_confirm\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_confirm_from_stopped\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert\n# if using compute_hyperv, add test_shelve_unshelve_server\n#tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_shelve_unshelve_server\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_stop_start_server\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_suspend_resume_server\ntempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario\ntempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps\ntempest.scenario.test_network_basic_ops.TestNetworkBasicOps\ntempest.scenario.test_server_advanced_ops.TestServerAdvancedOps.test_server_sequence_suspend_resume\ntempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basicops\ntempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_instance\ntempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance\ntempest.scenario.test_snapshot_pattern.TestSnapshotPattern.test_snapshot_pattern\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\n", "isolated-tests": "tempest.api.compute.admin.test_servers_negative.ServersAdminNegativeTestJSON.test_resize_server_using_overlimit_ram\ntempest.api.compute.admin.test_servers_negative.ServersAdminNegativeTestJSON.test_resize_server_using_overlimit_vcpus\ntempest.api.compute.servers.test_delete_server.DeleteServersTestJSON.test_delete_server_while_in_verify_resize_state\ntempest.api.compute.servers.test_disk_config.ServerDiskConfigTestJSON.test_resize_server_from_auto_to_manual\ntempest.api.compute.servers.test_disk_config.ServerDiskConfigTestJSON.test_resize_server_from_manual_to_auto\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_confirm\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_confirm_from_stopped\ntempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert\ntempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_resize_nonexistent_server\ntempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_resize_server_with_non_existent_flavor\ntempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_resize_server_with_null_flavor\ntempest.api.compute.test_authorization.AuthorizationTestJSON.test_resize_server_for_alt_account_fails\ntempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_resize\ntempest.scenario.test_server_advanced_ops.TestServerAdvancedOps.test_resize_server_confirm\ntempest.api.compute.servers.test_disk_config.ServerDiskConfigTestJSON.test_resize_server_from_manual_to_auto\ntempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_pause_unpause\ntempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_reboot\ntempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_stop_start\ntempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_suspend_resume\ntempest.scenario.test_minimum_basic.TestMinimumBasicScenario\ntempest.api.orchestration.stacks.test_neutron_resources\nneutron_fwaas.tests.tempest_plugin.tests\ntempest.api.volume.admin.test_volumes_backup.VolumesBackupsV1Test\ntempest.api.volume.admin.test_volumes_backup.VolumesBackupsV2Test\ntempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes.test_encrypted_cinder_volumes_cryptsetup\ntempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes.test_encrypted_cinder_volumes_luks\ntempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_volume_backed_instance\ntempest.scenario.test_shelve_instance.TestShelveInstance.test_shelve_instance\ntempest.scenario.test_snapshot_pattern.TestSnapshotPattern.test_snapshot_pattern\ntempest.api.network.test_networks.NetworksIpV6TestAttrs.test_update_subnet_gw_dns_host_routes_dhcp.test_update_subnet_gw_dns_host_routes_dhcp\ntempest.api.network.test_routers_negative.RoutersNegativeTest.test_router_add_gateway_net_not_external_returns_400\ntempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_all_attributes\ntempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_with_allocation_pools\ntempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_with_default_gw\ntempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_with_dhcp_enabled\ntempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_with_gw\ntempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_all_attributes\ntempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_with_allocation_pools\ntempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_with_default_gw\ntempest.api.network.test_networks.NetworksIpV6Test.test_delete_network_with_subnet\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-neutron-{{ zuul_change }}-{{ zuul_patchset }}-{{ network_type }}", "tags": "dv-{{ zuul_project | basename }}-{{ zuul_change }}-{{ zuul_patchset }}-{{ network_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-neutron-{{ zuul_change }}-{{ zuul_patchset }}-{{ network_type }}", "tags": "hv-{{ zuul_project | basename }}-{{ zuul_change }}-{{ zuul_patchset }}-{{ network_type }}", "userdata": "{{ lookup('file', '/home/jenkins-slave/ssl/ssl_winrm.crt') }}"}], "vmswitches": [{"management": false, "name": "{{ data_bridge }}", "subnet": "{{ data_network }}"}], "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:\\python38", "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/networking-hyperv"], "win_key": "/home/jenkins-slave/ssl/ssl_winrm.key", "win_python_archive_url": "http://10.100.0.9/ci/python38.zip", "win_python_packages": ["pywin32", "pbr", "pymysql", "ovs"]}, "ansible_included_var_files": ["/home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/job_vars/neutron.yaml"], "changed": false, "failed_when_result": false} TASK [Include variables from job_vars/{{ zuul_project | basename }}-{{ job_type }}.yaml] *** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016-compute.yaml:14 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if we have atleast 1 AD server in the inventory when join_ad is True] *** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/sanity-checks.yaml:2 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if job_type parameters is defined] ********************************* task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/sanity-checks.yaml:7 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if hostname parameter is defined] ********************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/sanity-checks.yaml:12 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Install FS-iSCSITarget-Server] ******************************************* task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016-compute.yaml:22 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set administrator password to Passw0rd] ********************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:2 changed: [10.222.0.54] => {"changed": true, "cmd": "net user administrator Passw0rd", "delta": "0:00:00.798248", "end": "2021-12-20 10:59:26.023427", "rc": 0, "start": "2021-12-20 10:59:25.225178", "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/neutron-debug/victoria-hyperv/cbci/tasks/windows/create-folders.yaml:2 ok: [10.222.0.54] => (item=c:\openstack\bin) => {"changed": false, "item": "c:\\openstack\\bin"} ok: [10.222.0.54] => (item=c:\openstack\tmp) => {"changed": false, "item": "c:\\openstack\\tmp"} ok: [10.222.0.54] => (item=c:\openstack\log) => {"changed": false, "item": "c:\\openstack\\log"} ok: [10.222.0.54] => (item=c:\openstack\etc) => {"changed": false, "item": "c:\\openstack\\etc"} ok: [10.222.0.54] => (item=c:\python38) => {"changed": false, "item": "c:\\python38"} ok: [10.222.0.54] => (item=C:\openstack\instances) => {"changed": false, "item": "C:\\openstack\\instances"} ok: [10.222.0.54] => (item=c:\openstack\log\event-log) => {"changed": false, "item": "c:\\openstack\\log\\event-log"} ok: [10.222.0.54] => (item=c:\openstack\build) => {"changed": false, "item": "c:\\openstack\\build"} ok: [10.222.0.54] => (item=c:\python27) => {"changed": false, "item": "c:\\python27"} ok: [10.222.0.54] => (item=C:\ProgramData\pip) => {"changed": false, "item": "C:\\ProgramData\\pip"} ok: [10.222.0.54] => (item=c:\openstack) => {"changed": false, "item": "c:\\openstack"} TASK [Disable firewall for Domain, Public and Private profiles] **************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:7 ok: [10.222.0.54] => {"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/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:16 ok: [10.222.0.54] => {"ansible_facts": {"services": [{"binary": "c:\\python38\\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:\\python38\\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/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:20 skipping: [10.222.0.54] => {"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/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:24 ok: [10.222.0.54] => (item={u'binary': u'c:\\python38\\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:\\python38\\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:\\python38\\scripts\\nova-compute.exe --config-file c:\\openstack\\etc\\nova.conf", "start_mode": "manual", "state": "stopped", "username": "LocalSystem"} ok: [10.222.0.54] => (item={u'binary': u'c:\\python38\\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:\\python38\\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:\\python38\\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/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:35 ok: [10.222.0.54] => (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/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:46 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set compute_dataplane_interface_name variable] *************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:50 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if dataplane informations variable file exists] ******************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:54 ok: [10.222.0.54] => {"changed": false, "stat": {"attributes": "Archive", "checksum": "cffef36aeaf436d8050efc94465f8d14fad4e328", "creationtime": 1639997051.6588712, "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": 1639997051.6588712, "lastwritetime": 1639997054.92156, "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/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:59 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Add dataplane interface informations in dataplane_informations.yaml] ***** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:65 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create config files] ***************************************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:74 ok: [10.222.0.54] => (item={u'binary': u'c:\\python38\\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": "338f53cbe3b066c1d15746cd3a05279143334926", "failed_when_result": false, "item": {"binary": "c:\\python38\\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.54] => (item={u'binary': u'c:\\python38\\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": "34e96ee9049ea2f397e5da400f299d07c131efdd", "failed_when_result": false, "item": {"binary": "c:\\python38\\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/neutron-debug/victoria-hyperv/cbci/build-win2016.yaml:82 ok: [10.222.0.54] => {"changed": false, "checksum": "01e30e09cb7d189e7439d9fac753d12cdf5f072c"} TASK [Check if utils archive is present] *************************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-utils.yaml:2 ok: [10.222.0.54] => {"changed": false, "stat": {"attributes": "Archive", "checksum": "bd97b70517b973036f89749cdd4c48a89e53eb9a", "creationtime": 1639997072.25329, "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": 1639997072.25329, "lastwritetime": 1639997072.4430285, "nlink": 1, "owner": "BUILTIN\\Administrators", "path": "c:\\openstack\\tmp\\utils.zip", "size": 4295372}} TASK [Download utils archive] ************************************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-utils.yaml:8 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Unzip utils archive] ***************************************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-utils.yaml:15 ok: [10.222.0.54] => {"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/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-utils.yaml:21 ok: [10.222.0.54] => {"changed": false, "path_value": "C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\openstack\\bin;c:\\python38;c:\\python38\\scripts;C:\\Program Files\\Git\\cmd;c:\\program files\\git\\bin"} TASK [Check if python archive is present] ************************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-python.yaml:2 ok: [10.222.0.54] => {"changed": false, "stat": {"attributes": "Archive", "checksum": "b092fcffd7ed0b7afa0928e44a4f572ad5551900", "creationtime": 1639997080.2551239, "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": 1639997080.2551239, "lastwritetime": 1639997080.5982032, "nlink": 1, "owner": "BUILTIN\\Administrators", "path": "c:\\openstack\\tmp\\python.zip", "size": 28579424}} TASK [Download python archive] ************************************************* task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-python.yaml:8 skipping: [10.222.0.54] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Unzip python archive] **************************************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-python.yaml:15 ok: [10.222.0.54] => {"cb_unzip": {"dest": "c:\\python38", "src": "c:\\openstack\\tmp\\python.zip"}, "changed": false} TASK [Add python to PATH] ****************************************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-python.yaml:21 ok: [10.222.0.54] => {"changed": false, "path_value": "C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\openstack\\bin;c:\\python38;c:\\python38\\scripts;C:\\Program Files\\Git\\cmd;c:\\program files\\git\\bin"} TASK [Download get-pip.py from "https://bootstrap.pypa.io/get-pip.py"] ********* task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-pip.yaml:2 ok: [10.222.0.54] => {"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/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-pip.yaml:9 ok: [10.222.0.54] => {"changed": false, "checksum": "e88c82760f48bf290a9e1c662887bcb6a3146908", "dest": "c:\\openstack\\tmp\\constraints.txt", "operation": "file_copy", "original_basename": "tmpGVvl8E", "size": 12, "src": null} TASK [Install pip version "pip==20.2.2"] *************************************** task path: /home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/tasks/windows/install-pip.yaml:15 fatal: [10.222.0.54]: FAILED! => {"changed": true, "cmd": "python \"c:\\openstack\\tmp\\\\get-pip.py\" -c \"c:\\openstack\\tmp\\\\constraints.txt\" pip", "delta": "0:00:04.953452", "end": "2021-12-20 11:00:35.754560", "msg": "non-zero return code", "rc": 1, "start": "2021-12-20 11:00:30.801107", "stderr": "c:\\python38\\lib\\site-packages\\_distutils_hack\\__init__.py:23: 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 warnings.warn(\r\nc:\\python38\\lib\\site-packages\\_distutils_hack\\__init__.py:35: 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:\\python38\\lib\\site-packages\\setuptools\\__init__.py\", line 8, in \r\n import _distutils_hack.override # noqa: F401\r\n File \"c:\\python38\\lib\\site-packages\\_distutils_hack\\override.py\", line 1, in \r\n __import__('_distutils_hack').do_override()\r\n File \"c:\\python38\\lib\\site-packages\\_distutils_hack\\__init__.py\", line 73, in do_override\r\n ensure_local_distutils()\r\n File \"c:\\python38\\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:\\python38\\lib\\distutils\\core.py", "stderr_lines": ["c:\\python38\\lib\\site-packages\\_distutils_hack\\__init__.py:23: 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.", " warnings.warn(", "c:\\python38\\lib\\site-packages\\_distutils_hack\\__init__.py:35: 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:\\python38\\lib\\site-packages\\setuptools\\__init__.py\", line 8, in ", " import _distutils_hack.override # noqa: F401", " File \"c:\\python38\\lib\\site-packages\\_distutils_hack\\override.py\", line 1, in ", " __import__('_distutils_hack').do_override()", " File \"c:\\python38\\lib\\site-packages\\_distutils_hack\\__init__.py\", line 73, in do_override", " ensure_local_distutils()", " File \"c:\\python38\\lib\\site-packages\\_distutils_hack\\__init__.py\", line 61, in ensure_local_distutils", " assert '_distutils' in core.__file__, core.__file__", "AssertionError: c:\\python38\\lib\\distutils\\core.py"], "stdout": "", "stdout_lines": []} NO MORE HOSTS LEFT ************************************************************* to retry, use: --limit @/home/jenkins-slave/workspace/neutron-debug/victoria-hyperv/cbci/build-win2016-compute.retry PLAY RECAP ********************************************************************* 10.222.0.54 : ok=19 changed=1 unreachable=0 failed=1