2025-02-12 05:32:28,966 - INFO - Domain Default found not creating 2025-02-12 05:32:29,126 - INFO - Project ctest-TestBasicPolicy-39213101 not found, creating it 2025-02-12 05:32:29,596 - INFO - Created Project:ctest-TestBasicPolicy-39213101, ID : f669787b-27f1-4c89-a9bd-f60a1a51926d 2025-02-12 05:32:31,187 - INFO - ================================================================================ 2025-02-12 05:32:31,187 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-12 05:32:31,187 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-02-12 05:32:31,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.8': '0'}} with 2025-02-12 05:32:31,441 - INFO - Initial checks done. Running the testcase now 2025-02-12 05:32:31,441 - INFO - 2025-02-12 05:32:32,042 - DEBUG - Response for create_network : {'network': {'id': 'c31526f6-071f-4cb2-9b0c-adc406a36089', 'name': 'ctest-vn-66643124', 'tenant_id': 'f669787b27f14c89a9bdf60a1a51926d', 'project_id': 'f669787b27f14c89a9bdf60a1a51926d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39213101', 'ctest-vn-66643124'], 'port_security_enabled': True, 'description': ''}} 2025-02-12 05:32:32,231 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0502c2a-aabc-4750-82b7-979caa8f6321', 'name': '', 'tenant_id': 'f669787b27f14c89a9bdf60a1a51926d', 'network_id': 'c31526f6-071f-4cb2-9b0c-adc406a36089', 'ip_version': 4, 'cidr': '161.25.30.128/26', 'allocation_pools': [{'start': '161.25.30.130', 'end': '161.25.30.190'}], 'gateway_ip': '161.25.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.25.30.130', 'tags': [], 'project_id': 'f669787b27f14c89a9bdf60a1a51926d'}} 2025-02-12 05:32:32,250 - INFO - Created VN ctest-vn-66643124 2025-02-12 05:32:32,306 - DEBUG - VN ctest-vn-66643124 UUID is c31526f6-071f-4cb2-9b0c-adc406a36089 2025-02-12 05:32:32,613 - DEBUG - Response for create_network : {'network': {'id': '4b45c8e0-4a9a-471e-8a2c-393e26ed1203', 'name': 'ctest-vn-43418005', 'tenant_id': 'f669787b27f14c89a9bdf60a1a51926d', 'project_id': 'f669787b27f14c89a9bdf60a1a51926d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39213101', 'ctest-vn-43418005'], 'port_security_enabled': True, 'description': ''}} 2025-02-12 05:32:32,824 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c10ab470-27b4-4dab-a7aa-778b9670b95b', 'name': '', 'tenant_id': 'f669787b27f14c89a9bdf60a1a51926d', 'network_id': '4b45c8e0-4a9a-471e-8a2c-393e26ed1203', 'ip_version': 4, 'cidr': '109.152.21.128/26', 'allocation_pools': [{'start': '109.152.21.130', 'end': '109.152.21.190'}], 'gateway_ip': '109.152.21.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.152.21.130', 'tags': [], 'project_id': 'f669787b27f14c89a9bdf60a1a51926d'}} 2025-02-12 05:32:32,844 - INFO - Created VN ctest-vn-43418005 2025-02-12 05:32:32,898 - DEBUG - VN ctest-vn-43418005 UUID is 4b45c8e0-4a9a-471e-8a2c-393e26ed1203 2025-02-12 05:32:33,011 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-66643124, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-43418005, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-02-12 05:32:33,345 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c31526f6-071f-4cb2-9b0c-adc406a36089', 'name': 'ctest-vn-66643124', 'tenant_id': 'f669787b27f14c89a9bdf60a1a51926d', 'project_id': 'f669787b27f14c89a9bdf60a1a51926d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a0502c2a-aabc-4750-82b7-979caa8f6321'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39213101', 'ctest-vn-66643124'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39213101', 'ctest-policy-allow-all-05721627']], 'subnet_ipam': [{'subnet_cidr': '161.25.30.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-12 05:32:33,594 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b45c8e0-4a9a-471e-8a2c-393e26ed1203', 'name': 'ctest-vn-43418005', 'tenant_id': 'f669787b27f14c89a9bdf60a1a51926d', 'project_id': 'f669787b27f14c89a9bdf60a1a51926d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c10ab470-27b4-4dab-a7aa-778b9670b95b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39213101', 'ctest-vn-43418005'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39213101', 'ctest-policy-allow-all-05721627']], 'subnet_ipam': [{'subnet_cidr': '109.152.21.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-12 05:32:33,750 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-12 05:32:34,098 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-12 05:32:34,133 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cbd7546b-e44e-45d3-b493-3357ad78c2a5 2025-02-12 05:32:34,157 - DEBUG - Requesting: http://10.0.0.27:8082/project/f669787b-27f1-4c89-a9bd-f60a1a51926d 2025-02-12 05:32:34,240 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c31526f6-071f-4cb2-9b0c-adc406a36089 2025-02-12 05:32:34,253 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c31526f6-071f-4cb2-9b0c-adc406a36089 2025-02-12 05:32:34,263 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e3fba4ad-7517-47f1-aff3-9bc100a3dd90 2025-02-12 05:32:34,272 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e3fba4ad-7517-47f1-aff3-9bc100a3dd90 2025-02-12 05:32:34,279 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c9b337ab-e7b8-41c8-882e-c1d2092633f2 2025-02-12 05:32:34,286 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-12 05:32:34,286 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c31526f6-071f-4cb2-9b0c-adc406a36089 2025-02-12 05:32:34,296 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e3fba4ad-7517-47f1-aff3-9bc100a3dd90 2025-02-12 05:32:34,310 - INFO - Verified VN network id 8 for VN c31526f6-071f-4cb2-9b0c-adc406a36089 2025-02-12 05:32:34,311 - INFO - Verifications in API Server for VN ctest-vn-66643124 passed 2025-02-12 05:32:34,311 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c31526f6-071f-4cb2-9b0c-adc406a36089 2025-02-12 05:32:34,321 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e3fba4ad-7517-47f1-aff3-9bc100a3dd90 2025-02-12 05:32:34,328 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e3fba4ad-7517-47f1-aff3-9bc100a3dd90 2025-02-12 05:32:34,336 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c9b337ab-e7b8-41c8-882e-c1d2092633f2 2025-02-12 05:32:34,350 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-66643124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39213101', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14057184650030173362', 'uuid-lslong': '11172495833035923593'}, 'enable': 'true', 'created': '2025-02-12T05:32:32', 'last-modified': '2025-02-12T05:32:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.053549'} 2025-02-12 05:32:34,357 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-12 05:32:34,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66643124 passed 2025-02-12 05:32:34,357 - DEBUG - ====Verifying policy data for ctest-vn-66643124 in API_Server ====== 2025-02-12 05:32:34,358 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-12 05:32:34,364 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cbd7546b-e44e-45d3-b493-3357ad78c2a5 2025-02-12 05:32:34,377 - DEBUG - Requesting: http://10.0.0.27:8082/project/f669787b-27f1-4c89-a9bd-f60a1a51926d 2025-02-12 05:32:34,462 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c31526f6-071f-4cb2-9b0c-adc406a36089 2025-02-12 05:32:34,474 - DEBUG - ==>Verifying data for policy with id: 5531bd24-9a4b-4971-986c-78e630ac6671, fqn: ['default-domain', 'ctest-TestBasicPolicy-39213101', 'ctest-policy-allow-all-05721627'] 2025-02-12 05:32:34,474 - INFO - VN ctest-vn-66643124 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-12 05:32:34,474 - DEBUG - Verifying the vn in opserver 2025-02-12 05:32:34,474 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-66643124 virtual network link through opserver 10.0.0.27 2025-02-12 05:32:34,474 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-12 05:32:34,809 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-12 05:32:34,873 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-66643124', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-66643124?flat'} 2025-02-12 05:32:34,873 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-66643124 is found in opserver 2025-02-12 05:32:34,886 - DEBUG - Do not have enough data to verify VN in agent 2025-02-12 05:32:34,894 - DEBUG - VRF ids for VN ctest-vn-66643124: {} 2025-02-12 05:32:34,894 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-12 05:32:34,900 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cbd7546b-e44e-45d3-b493-3357ad78c2a5 2025-02-12 05:32:34,913 - DEBUG - Requesting: http://10.0.0.27:8082/project/f669787b-27f1-4c89-a9bd-f60a1a51926d 2025-02-12 05:32:34,993 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4b45c8e0-4a9a-471e-8a2c-393e26ed1203 2025-02-12 05:32:35,008 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4b45c8e0-4a9a-471e-8a2c-393e26ed1203 2025-02-12 05:32:35,020 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/938ec7b8-ef63-4a36-9d9a-a8bc656093ca 2025-02-12 05:32:35,029 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/938ec7b8-ef63-4a36-9d9a-a8bc656093ca 2025-02-12 05:32:35,037 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d82308d9-0328-4bd9-80da-ce825b389dde 2025-02-12 05:32:35,045 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-12 05:32:35,045 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4b45c8e0-4a9a-471e-8a2c-393e26ed1203 2025-02-12 05:32:35,056 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/938ec7b8-ef63-4a36-9d9a-a8bc656093ca 2025-02-12 05:32:35,074 - INFO - Verified VN network id 9 for VN 4b45c8e0-4a9a-471e-8a2c-393e26ed1203 2025-02-12 05:32:35,074 - INFO - Verifications in API Server for VN ctest-vn-43418005 passed 2025-02-12 05:32:35,074 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4b45c8e0-4a9a-471e-8a2c-393e26ed1203 2025-02-12 05:32:35,089 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/938ec7b8-ef63-4a36-9d9a-a8bc656093ca 2025-02-12 05:32:35,100 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/938ec7b8-ef63-4a36-9d9a-a8bc656093ca 2025-02-12 05:32:35,110 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d82308d9-0328-4bd9-80da-ce825b389dde 2025-02-12 05:32:35,129 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-43418005', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39213101', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5423962191887484702', 'uuid-lslong': '9956395815313150467'}, 'enable': 'true', 'created': '2025-02-12T05:32:32', 'last-modified': '2025-02-12T05:32:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.554399'} 2025-02-12 05:32:35,140 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-12 05:32:35,140 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43418005 passed 2025-02-12 05:32:35,140 - DEBUG - ====Verifying policy data for ctest-vn-43418005 in API_Server ====== 2025-02-12 05:32:35,140 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-12 05:32:35,149 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cbd7546b-e44e-45d3-b493-3357ad78c2a5 2025-02-12 05:32:35,163 - DEBUG - Requesting: http://10.0.0.27:8082/project/f669787b-27f1-4c89-a9bd-f60a1a51926d 2025-02-12 05:32:35,247 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4b45c8e0-4a9a-471e-8a2c-393e26ed1203 2025-02-12 05:32:35,262 - DEBUG - ==>Verifying data for policy with id: 5531bd24-9a4b-4971-986c-78e630ac6671, fqn: ['default-domain', 'ctest-TestBasicPolicy-39213101', 'ctest-policy-allow-all-05721627'] 2025-02-12 05:32:35,262 - INFO - VN ctest-vn-43418005 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-12 05:32:35,262 - DEBUG - Verifying the vn in opserver 2025-02-12 05:32:35,262 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-43418005 virtual network link through opserver 10.0.0.27 2025-02-12 05:32:35,262 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-12 05:32:35,277 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-43418005', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-43418005?flat'} 2025-02-12 05:32:35,277 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-43418005 is found in opserver 2025-02-12 05:32:35,291 - DEBUG - Do not have enough data to verify VN in agent 2025-02-12 05:32:35,298 - DEBUG - VRF ids for VN ctest-vn-43418005: {} 2025-02-12 05:32:35,367 - DEBUG - Services list from nova: [, , ] 2025-02-12 05:32:36,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2726-1) 2025-02-12 05:32:37,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2726-1) 2025-02-12 05:32:37,857 - INFO - Waiting for VM ctest-TestBasicPolicy-39213101-05571325 to be up.. 2025-02-12 05:32:37,947 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-12 05:32:43,036 - DEBUG - VM is in ACTIVE state now 2025-02-12 05:32:43,036 - INFO - VM name : ctest-TestBasicPolicy-39213101-05571325 2025-02-12 05:32:43,125 - DEBUG - VM ctest-TestBasicPolicy-39213101-05571325 ID is fef0fb54-dffd-4987-9845-da78fe5fb077 2025-02-12 05:32:43,145 - DEBUG - VM ctest-TestBasicPolicy-39213101-05571325 launched on Node cn-jenkins-deploy-platform-ansible-os-2726-1 2025-02-12 05:32:43,232 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/fef0fb54-dffd-4987-9845-da78fe5fb077 2025-02-12 05:32:43,242 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/721f63cf-46cb-4e7b-b8cb-69a6d6179785 2025-02-12 05:32:46,503 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2025-02-12 05:32:46,503 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39213101-05571325 failed! 2025-02-12 05:32:46,562 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39213101:ctest-vn-66643124 is 161.25.30.129 and allocation pool is NOT set 2025-02-12 05:32:48,631 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.466/4.682/7.898/3.216 ms') 2025-02-12 05:32:48,631 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39213101-05571325 passed 2025-02-12 05:32:48,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 05:32:48,786 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39213101-05571325, IP 161.25.30.131, Port 22 2025-02-12 05:32:48,942 - DEBUG - VM ctest-TestBasicPolicy-39213101-05571325 is ready for SSH connections 2025-02-12 05:32:48,942 - INFO - Waiting for VM ctest-TestBasicPolicy-39213101-83683133 to be up.. 2025-02-12 05:32:49,026 - DEBUG - VM is in ACTIVE state now 2025-02-12 05:32:49,026 - INFO - VM name : ctest-TestBasicPolicy-39213101-83683133 2025-02-12 05:32:49,117 - DEBUG - VM ctest-TestBasicPolicy-39213101-83683133 ID is 205a5be5-90c7-466d-85ef-b3c442e15d54 2025-02-12 05:32:49,117 - DEBUG - VM ctest-TestBasicPolicy-39213101-83683133 launched on Node cn-jenkins-deploy-platform-ansible-os-2726-1 2025-02-12 05:32:49,197 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/205a5be5-90c7-466d-85ef-b3c442e15d54 2025-02-12 05:32:49,207 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/18726bae-092c-434d-a8fe-0d98c4889e34 2025-02-12 05:32:50,449 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.281/2.994/4.707/1.713 ms') 2025-02-12 05:32:50,449 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39213101-83683133 passed 2025-02-12 05:32:50,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 05:32:50,606 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39213101-83683133, IP 109.152.21.131, Port 22 2025-02-12 05:32:50,773 - DEBUG - VM ctest-TestBasicPolicy-39213101-83683133 is ready for SSH connections 2025-02-12 05:32:50,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 05:32:50,773 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.152.21.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-12 05:32:50,773 - DEBUG - ping -s 56 -c 3 -W 1 109.152.21.131 2025-02-12 05:32:54,843 - DEBUG - PING 109.152.21.131 (109.152.21.131): 56 data bytes 64 bytes from 109.152.21.131: seq=0 ttl=63 time=4.269 ms 64 bytes from 109.152.21.131: seq=1 ttl=63 time=0.832 ms 64 bytes from 109.152.21.131: seq=2 ttl=63 time=0.950 ms --- 109.152.21.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/2.017/4.269 ms 2025-02-12 05:32:54,843 - INFO - Ping to IP 109.152.21.131 from VM ctest-TestBasicPolicy-39213101-05571325 passed 2025-02-12 05:32:55,026 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5531bd24-9a4b-4971-986c-78e630ac6671", "href": "http://10.0.0.27:8082/network-policy/5531bd24-9a4b-4971-986c-78e630ac6671"}} 2025-02-12 05:32:55,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 05:32:55,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.152.21.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-12 05:32:55,026 - DEBUG - ping -s 56 -c 3 -W 1 109.152.21.131 2025-02-12 05:32:58,244 - DEBUG - PING 109.152.21.131 (109.152.21.131): 56 data bytes 64 bytes from 109.152.21.131: seq=0 ttl=63 time=1.504 ms --- 109.152.21.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.504/1.504/1.504 ms 2025-02-12 05:32:58,244 - WARNING - Ping to IP 109.152.21.131 from VM ctest-TestBasicPolicy-39213101-05571325 failed 2025-02-12 05:32:58,244 - INFO - Deleting VM ctest-TestBasicPolicy-39213101-83683133 2025-02-12 05:32:58,320 - INFO - Deleting VM ctest-TestBasicPolicy-39213101-05571325 2025-02-12 05:32:58,733 - INFO - Deleted policy ctest-policy-allow-all-05721627 2025-02-12 05:32:58,734 - INFO - Deleting VN ctest-vn-43418005 2025-02-12 05:32:58,779 - DEBUG - VN 4b45c8e0-4a9a-471e-8a2c-393e26ed1203 still in use: Unable to complete operation on network 4b45c8e0-4a9a-471e-8a2c-393e26ed1203. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e35391d-f8f5-4648-ba63-a643f9feb16f'] 2025-02-12 05:32:58,779 - WARNING - Deleting VN ctest-vn-43418005 failed..Will retry 2025-02-12 05:33:00,896 - DEBUG - Response for deleting network () 2025-02-12 05:33:00,896 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/938ec7b8-ef63-4a36-9d9a-a8bc656093ca 2025-02-12 05:33:00,903 - DEBUG - Response Code: 404 2025-02-12 05:33:00,903 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-12 05:33:00,914 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cbd7546b-e44e-45d3-b493-3357ad78c2a5 2025-02-12 05:33:00,970 - DEBUG - Requesting: http://10.0.0.27:8082/project/f669787b-27f1-4c89-a9bd-f60a1a51926d 2025-02-12 05:33:01,045 - INFO - Validated that VN ctest-vn-43418005 is not found in API Server 2025-02-12 05:33:01,059 - DEBUG - VN ctest-vn-43418005 is not present in Agent 10.0.0.27 2025-02-12 05:33:01,059 - INFO - Validated that VN ctest-vn-43418005 is not in any agent 2025-02-12 05:33:01,076 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43418005 info 2025-02-12 05:33:01,077 - INFO - Deleting VN ctest-vn-66643124 2025-02-12 05:33:01,197 - DEBUG - Response for deleting network () 2025-02-12 05:33:01,197 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e3fba4ad-7517-47f1-aff3-9bc100a3dd90 2025-02-12 05:33:01,206 - DEBUG - Response Code: 404 2025-02-12 05:33:01,206 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-12 05:33:01,212 - DEBUG - Requesting: http://10.0.0.27:8082/domain/cbd7546b-e44e-45d3-b493-3357ad78c2a5 2025-02-12 05:33:01,268 - DEBUG - Requesting: http://10.0.0.27:8082/project/f669787b-27f1-4c89-a9bd-f60a1a51926d 2025-02-12 05:33:01,346 - INFO - Validated that VN ctest-vn-66643124 is not found in API Server 2025-02-12 05:33:01,360 - DEBUG - VN ctest-vn-66643124 is not present in Agent 10.0.0.27 2025-02-12 05:33:01,360 - INFO - Validated that VN ctest-vn-66643124 is not in any agent 2025-02-12 05:33:01,377 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66643124 info 2025-02-12 05:33:01,647 - DEBUG - No XMPP flaps were noticed during the test 2025-02-12 05:33:01,647 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-12 05:33:01,647 - INFO - -------------------------------------------------------------------------------- 2025-02-12 05:33:02,393 - INFO - Deleted project: ctest-TestBasicPolicy-39213101, ID : f669787b-27f1-4c89-a9bd-f60a1a51926d