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/debug-master/cbci/tasks/windows/sanity-checks.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/build-win2016.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/create-folders.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-utils.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-python.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-pip.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/configure-pip-index.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-git.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-vcredist.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-freerdp.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-zuul.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/prepare-git-repos.yaml statically imported: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/configure-ceph-wnbd.yaml PLAYBOOK: build-win2016-compute.yaml ******************************************* 1 plays in /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/build-win2016-compute.yaml PLAY [win2016-compute] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/build-win2016-compute.yaml:2 ok: [10.222.0.20] META: ran handlers TASK [Include variables from job_vars/neutron.yaml] **************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/build-win2016-compute.yaml:9 ok: [10.222.0.20] => {"ansible_facts": {"cherry_picks": [{"patches": ["refs/heads/neutron-ovs-bridge-arping"], "path": "{{ devstack_dir.devstack }}", "project": "openstack/devstack", "url": "https://github.com/cloudbase/devstack"}, {"patches": ["refs/heads/install-pip-no-setuptools"], "path": "{{ devstack_dir.devstack }}", "project": "openstack/devstack", "url": "https://github.com/stefanlupsa/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", "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/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/neutron-debug/debug-master/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/debug-master/cbci/build-win2016-compute.yaml:14 skipping: [10.222.0.20] => {"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/debug-master/cbci/tasks/windows/sanity-checks.yaml:2 skipping: [10.222.0.20] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if job_type parameters is defined] ********************************* task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/sanity-checks.yaml:7 skipping: [10.222.0.20] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if hostname parameter is defined] ********************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/sanity-checks.yaml:12 skipping: [10.222.0.20] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Install FS-iSCSITarget-Server] ******************************************* task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/build-win2016-compute.yaml:22 skipping: [10.222.0.20] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set administrator password to Passw0rd] ********************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/build-win2016.yaml:2 changed: [10.222.0.20] => {"changed": true, "cmd": "net user administrator Passw0rd", "delta": "0:00:00.906258", "end": "2022-01-03 11:20:26.306239", "rc": 0, "start": "2022-01-03 11:20:25.399981", "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/debug-master/cbci/tasks/windows/create-folders.yaml:2 ok: [10.222.0.20] => (item=c:\openstack\bin) => {"changed": false, "item": "c:\\openstack\\bin"} ok: [10.222.0.20] => (item=c:\openstack\tmp) => {"changed": false, "item": "c:\\openstack\\tmp"} ok: [10.222.0.20] => (item=c:\openstack\log) => {"changed": false, "item": "c:\\openstack\\log"} ok: [10.222.0.20] => (item=c:\openstack\etc) => {"changed": false, "item": "c:\\openstack\\etc"} ok: [10.222.0.20] => (item=c:\python37) => {"changed": false, "item": "c:\\python37"} ok: [10.222.0.20] => (item=c:\openstack\lock) => {"changed": false, "item": "c:\\openstack\\lock"} ok: [10.222.0.20] => (item=C:\openstack\instances) => {"changed": false, "item": "C:\\openstack\\instances"} ok: [10.222.0.20] => (item=c:\openstack\log\event-log) => {"changed": false, "item": "c:\\openstack\\log\\event-log"} ok: [10.222.0.20] => (item=c:\openstack\build) => {"changed": false, "item": "c:\\openstack\\build"} ok: [10.222.0.20] => (item=c:\python27) => {"changed": false, "item": "c:\\python27"} ok: [10.222.0.20] => (item=C:\ProgramData\pip) => {"changed": false, "item": "C:\\ProgramData\\pip"} ok: [10.222.0.20] => (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/debug-master/cbci/build-win2016.yaml:7 ok: [10.222.0.20] => {"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/debug-master/cbci/build-win2016.yaml:16 ok: [10.222.0.20] => {"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/neutron-debug/debug-master/cbci/build-win2016.yaml:20 skipping: [10.222.0.20] => {"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/debug-master/cbci/build-win2016.yaml:24 ok: [10.222.0.20] => (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.20] => (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/neutron-debug/debug-master/cbci/build-win2016.yaml:35 ok: [10.222.0.20] => (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/debug-master/cbci/build-win2016.yaml:46 skipping: [10.222.0.20] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set compute_dataplane_interface_name variable] *************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/build-win2016.yaml:50 skipping: [10.222.0.20] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if dataplane informations variable file exists] ******************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/build-win2016.yaml:54 ok: [10.222.0.20] => {"changed": false, "stat": {"attributes": "Archive", "checksum": "64c45a971da1a2709259db668d10c21114a645fc", "creationtime": 1641208069.6050754, "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": 1641208069.6050754, "lastwritetime": 1641208072.7455635, "nlink": 1, "owner": "BUILTIN\\Administrators", "path": "c:\\openstack\\etc\\dataplane_informations.yaml", "size": 78}} TASK [Create dataplane_informations.yaml file] ********************************* task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/build-win2016.yaml:59 skipping: [10.222.0.20] => {"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/debug-master/cbci/build-win2016.yaml:65 skipping: [10.222.0.20] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Create config files] ***************************************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/build-win2016.yaml:74 ok: [10.222.0.20] => (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": "49b6c1504b124e43ba9d17971f437f05879cb3dc", "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.20] => (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": "abc1f7f3c1aa0106dd0a654f86da5c82844a1a0c", "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/neutron-debug/debug-master/cbci/build-win2016.yaml:82 ok: [10.222.0.20] => {"changed": false, "checksum": "01e30e09cb7d189e7439d9fac753d12cdf5f072c"} TASK [Check if utils archive is present] *************************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-utils.yaml:2 ok: [10.222.0.20] => {"changed": false, "stat": {"attributes": "Archive", "checksum": "bd97b70517b973036f89749cdd4c48a89e53eb9a", "creationtime": 1641208091.057845, "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": 1641208091.057845, "lastwritetime": 1641208091.1982734, "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/debug-master/cbci/tasks/windows/install-utils.yaml:8 skipping: [10.222.0.20] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Unzip utils archive] ***************************************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-utils.yaml:15 ok: [10.222.0.20] => {"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/debug-master/cbci/tasks/windows/install-utils.yaml:21 ok: [10.222.0.20] => {"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"} TASK [Check if python archive is present] ************************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-python.yaml:2 ok: [10.222.0.20] => {"changed": false, "stat": {"attributes": "Archive", "checksum": "0b3873d429bf059e0854c2107fb5a1b2a315e71c", "creationtime": 1641208098.7999163, "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": 1641208098.7999163, "lastwritetime": 1641208099.5102298, "nlink": 1, "owner": "BUILTIN\\Administrators", "path": "c:\\openstack\\tmp\\python.zip", "size": 70384486}} TASK [Download python archive] ************************************************* task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-python.yaml:8 skipping: [10.222.0.20] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Unzip python archive] **************************************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-python.yaml:15 changed: [10.222.0.20] => {"cb_unzip": {"dest": "c:\\python37", "src": "c:\\openstack\\tmp\\python.zip"}, "changed": true} TASK [Add python to PATH] ****************************************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-python.yaml:21 ok: [10.222.0.20] => {"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"} TASK [Download get-pip.py from "https://bootstrap.pypa.io/get-pip.py"] ********* task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-pip.yaml:2 ok: [10.222.0.20] => {"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.3] ********************************* task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-pip.yaml:9 ok: [10.222.0.20] => {"changed": false, "checksum": "2883751efd6eafebd655202d80f1f802e5b0ece2", "dest": "c:\\openstack\\tmp\\constraints.txt", "operation": "file_copy", "original_basename": "tmpB2RfiM", "size": 12, "src": null} TASK [Install pip version "pip==20.2.3"] *************************************** task path: /home/jenkins-slave/workspace/neutron-debug/debug-master/cbci/tasks/windows/install-pip.yaml:15 fatal: [10.222.0.20]: FAILED! => {"changed": true, "cmd": "python \"c:\\openstack\\tmp\\\\get-pip.py\" -c \"c:\\openstack\\tmp\\\\constraints.txt\" pip", "delta": "0:00:04.842434", "end": "2022-01-03 11:21:46.450603", "msg": "non-zero return code", "rc": 1, "start": "2022-01-03 11:21:41.608169", "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/neutron-debug/debug-master/cbci/build-win2016-compute.retry PLAY RECAP ********************************************************************* 10.222.0.20 : ok=19 changed=2 unreachable=0 failed=1