2025-01-07 09:18:57,203 - INFO - Domain Default found not creating 2025-01-07 09:18:57,365 - INFO - Project ctest-TestBasicPolicy-69081927 not found, creating it 2025-01-07 09:18:57,878 - INFO - Created Project:ctest-TestBasicPolicy-69081927, ID : c8d49188-9efc-495e-9d38-f1fcc6444ba1 2025-01-07 09:18:59,504 - INFO - ================================================================================ 2025-01-07 09:18:59,504 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-07 09:18:59,504 - 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-01-07 09:18:59,765 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.22': '0'}} with 2025-01-07 09:18:59,765 - INFO - Initial checks done. Running the testcase now 2025-01-07 09:18:59,766 - INFO - 2025-01-07 09:19:00,383 - DEBUG - Response for create_network : {'network': {'id': '91a44b41-9b2d-4f91-9356-dbd1683957b0', 'name': 'ctest-vn-63645819', 'tenant_id': 'c8d491889efc495e9d38f1fcc6444ba1', 'project_id': 'c8d491889efc495e9d38f1fcc6444ba1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69081927', 'ctest-vn-63645819'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:19:00,567 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3ae0dfa-3262-4f23-b7bc-891376f1486e', 'name': '', 'tenant_id': 'c8d491889efc495e9d38f1fcc6444ba1', 'network_id': '91a44b41-9b2d-4f91-9356-dbd1683957b0', 'ip_version': 4, 'cidr': '136.53.1.64/26', 'allocation_pools': [{'start': '136.53.1.66', 'end': '136.53.1.126'}], 'gateway_ip': '136.53.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.53.1.66', 'tags': [], 'project_id': 'c8d491889efc495e9d38f1fcc6444ba1'}} 2025-01-07 09:19:00,588 - INFO - Created VN ctest-vn-63645819 2025-01-07 09:19:00,642 - DEBUG - VN ctest-vn-63645819 UUID is 91a44b41-9b2d-4f91-9356-dbd1683957b0 2025-01-07 09:19:00,982 - DEBUG - Response for create_network : {'network': {'id': 'f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc', 'name': 'ctest-vn-40510547', 'tenant_id': 'c8d491889efc495e9d38f1fcc6444ba1', 'project_id': 'c8d491889efc495e9d38f1fcc6444ba1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69081927', 'ctest-vn-40510547'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:19:01,220 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dce17a72-47be-42fd-9d64-b788716b92a3', 'name': '', 'tenant_id': 'c8d491889efc495e9d38f1fcc6444ba1', 'network_id': 'f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc', 'ip_version': 4, 'cidr': '74.208.75.64/26', 'allocation_pools': [{'start': '74.208.75.66', 'end': '74.208.75.126'}], 'gateway_ip': '74.208.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.208.75.66', 'tags': [], 'project_id': 'c8d491889efc495e9d38f1fcc6444ba1'}} 2025-01-07 09:19:01,248 - INFO - Created VN ctest-vn-40510547 2025-01-07 09:19:01,302 - DEBUG - VN ctest-vn-40510547 UUID is f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc 2025-01-07 09:19:01,427 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-63645819, 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-69081927:ctest-vn-40510547, 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-01-07 09:19:01,775 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91a44b41-9b2d-4f91-9356-dbd1683957b0', 'name': 'ctest-vn-63645819', 'tenant_id': 'c8d491889efc495e9d38f1fcc6444ba1', 'project_id': 'c8d491889efc495e9d38f1fcc6444ba1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d3ae0dfa-3262-4f23-b7bc-891376f1486e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69081927', 'ctest-vn-63645819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69081927', 'ctest-policy-allow-all-76191933']], 'subnet_ipam': [{'subnet_cidr': '136.53.1.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:19:02,069 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc', 'name': 'ctest-vn-40510547', 'tenant_id': 'c8d491889efc495e9d38f1fcc6444ba1', 'project_id': 'c8d491889efc495e9d38f1fcc6444ba1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dce17a72-47be-42fd-9d64-b788716b92a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69081927', 'ctest-vn-40510547'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69081927', 'ctest-policy-allow-all-76191933']], 'subnet_ipam': [{'subnet_cidr': '74.208.75.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:19:02,230 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-07 09:19:02,532 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-07 09:19:02,573 - DEBUG - Requesting: http://10.0.0.32:8082/domain/e019cce0-4663-4b91-86f2-6f33ce4396af 2025-01-07 09:19:02,590 - DEBUG - Requesting: http://10.0.0.32:8082/project/c8d49188-9efc-495e-9d38-f1fcc6444ba1 2025-01-07 09:19:02,673 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/91a44b41-9b2d-4f91-9356-dbd1683957b0 2025-01-07 09:19:02,686 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/91a44b41-9b2d-4f91-9356-dbd1683957b0 2025-01-07 09:19:02,697 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7e38855b-ee2c-4039-881c-5a865710431c 2025-01-07 09:19:02,706 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7e38855b-ee2c-4039-881c-5a865710431c 2025-01-07 09:19:02,716 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/7185d625-8909-4d26-bf23-3dee962af274 2025-01-07 09:19:02,724 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 09:19:02,724 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/91a44b41-9b2d-4f91-9356-dbd1683957b0 2025-01-07 09:19:02,734 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7e38855b-ee2c-4039-881c-5a865710431c 2025-01-07 09:19:02,750 - INFO - Verified VN network id 8 for VN 91a44b41-9b2d-4f91-9356-dbd1683957b0 2025-01-07 09:19:02,750 - INFO - Verifications in API Server for VN ctest-vn-63645819 passed 2025-01-07 09:19:02,751 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/91a44b41-9b2d-4f91-9356-dbd1683957b0 2025-01-07 09:19:02,762 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7e38855b-ee2c-4039-881c-5a865710431c 2025-01-07 09:19:02,771 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7e38855b-ee2c-4039-881c-5a865710431c 2025-01-07 09:19:02,779 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/7185d625-8909-4d26-bf23-3dee962af274 2025-01-07 09:19:02,792 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-63645819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69081927', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10494595776828493713', 'uuid-lslong': '10616914864015759280'}, 'enable': 'true', 'created': '2025-01-07T09:19:00', 'last-modified': '2025-01-07T09:19:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062800'} 2025-01-07 09:19:02,799 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 09:19:02,799 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63645819 passed 2025-01-07 09:19:02,800 - DEBUG - ====Verifying policy data for ctest-vn-63645819 in API_Server ====== 2025-01-07 09:19:02,800 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-07 09:19:02,806 - DEBUG - Requesting: http://10.0.0.32:8082/domain/e019cce0-4663-4b91-86f2-6f33ce4396af 2025-01-07 09:19:02,819 - DEBUG - Requesting: http://10.0.0.32:8082/project/c8d49188-9efc-495e-9d38-f1fcc6444ba1 2025-01-07 09:19:02,900 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/91a44b41-9b2d-4f91-9356-dbd1683957b0 2025-01-07 09:19:02,912 - DEBUG - ==>Verifying data for policy with id: a7f557c5-c8be-4067-be93-033acbbcebe2, fqn: ['default-domain', 'ctest-TestBasicPolicy-69081927', 'ctest-policy-allow-all-76191933'] 2025-01-07 09:19:02,912 - INFO - VN ctest-vn-63645819 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 09:19:02,913 - DEBUG - Verifying the vn in opserver 2025-01-07 09:19:02,913 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-63645819 virtual network link through opserver 10.0.0.32 2025-01-07 09:19:02,913 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-01-07 09:19:03,207 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-01-07 09:19:03,271 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-63645819', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-63645819?flat'} 2025-01-07 09:19:03,271 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-63645819 is found in opserver 2025-01-07 09:19:03,286 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 09:19:03,293 - DEBUG - VRF ids for VN ctest-vn-63645819: {} 2025-01-07 09:19:03,293 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-07 09:19:03,299 - DEBUG - Requesting: http://10.0.0.32:8082/domain/e019cce0-4663-4b91-86f2-6f33ce4396af 2025-01-07 09:19:03,313 - DEBUG - Requesting: http://10.0.0.32:8082/project/c8d49188-9efc-495e-9d38-f1fcc6444ba1 2025-01-07 09:19:03,399 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc 2025-01-07 09:19:03,414 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc 2025-01-07 09:19:03,428 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/dc53b2d7-8235-4a45-aecc-c2a623007bcc 2025-01-07 09:19:03,439 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/dc53b2d7-8235-4a45-aecc-c2a623007bcc 2025-01-07 09:19:03,447 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/714e61e0-d825-4249-b5ca-3e0ee2958c92 2025-01-07 09:19:03,454 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 09:19:03,454 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc 2025-01-07 09:19:03,464 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/dc53b2d7-8235-4a45-aecc-c2a623007bcc 2025-01-07 09:19:03,482 - INFO - Verified VN network id 9 for VN f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc 2025-01-07 09:19:03,482 - INFO - Verifications in API Server for VN ctest-vn-40510547 passed 2025-01-07 09:19:03,482 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc 2025-01-07 09:19:03,493 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/dc53b2d7-8235-4a45-aecc-c2a623007bcc 2025-01-07 09:19:03,503 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/dc53b2d7-8235-4a45-aecc-c2a623007bcc 2025-01-07 09:19:03,511 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/714e61e0-d825-4249-b5ca-3e0ee2958c92 2025-01-07 09:19:03,524 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-40510547', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69081927', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17830583236575906494', 'uuid-lslong': '10731338769036272092'}, 'enable': 'true', 'created': '2025-01-07T09:19:00', 'last-modified': '2025-01-07T09:19:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.531263'} 2025-01-07 09:19:03,530 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 09:19:03,531 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40510547 passed 2025-01-07 09:19:03,531 - DEBUG - ====Verifying policy data for ctest-vn-40510547 in API_Server ====== 2025-01-07 09:19:03,531 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-07 09:19:03,538 - DEBUG - Requesting: http://10.0.0.32:8082/domain/e019cce0-4663-4b91-86f2-6f33ce4396af 2025-01-07 09:19:03,551 - DEBUG - Requesting: http://10.0.0.32:8082/project/c8d49188-9efc-495e-9d38-f1fcc6444ba1 2025-01-07 09:19:03,627 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc 2025-01-07 09:19:03,639 - DEBUG - ==>Verifying data for policy with id: a7f557c5-c8be-4067-be93-033acbbcebe2, fqn: ['default-domain', 'ctest-TestBasicPolicy-69081927', 'ctest-policy-allow-all-76191933'] 2025-01-07 09:19:03,639 - INFO - VN ctest-vn-40510547 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 09:19:03,639 - DEBUG - Verifying the vn in opserver 2025-01-07 09:19:03,639 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-40510547 virtual network link through opserver 10.0.0.32 2025-01-07 09:19:03,640 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-01-07 09:19:03,652 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-40510547', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-40510547?flat'} 2025-01-07 09:19:03,653 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-40510547 is found in opserver 2025-01-07 09:19:03,665 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 09:19:03,671 - DEBUG - VRF ids for VN ctest-vn-40510547: {} 2025-01-07 09:19:03,736 - DEBUG - Services list from nova: [, , ] 2025-01-07 09:19:04,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2543-1) 2025-01-07 09:19:06,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2543-1) 2025-01-07 09:19:06,071 - INFO - Waiting for VM ctest-TestBasicPolicy-69081927-39588280 to be up.. 2025-01-07 09:19:06,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 09:19:11,248 - DEBUG - VM is in ACTIVE state now 2025-01-07 09:19:11,248 - INFO - VM name : ctest-TestBasicPolicy-69081927-39588280 2025-01-07 09:19:11,349 - DEBUG - VM ctest-TestBasicPolicy-69081927-39588280 ID is 1f3336ad-e379-4666-b7f4-5f3833961fda 2025-01-07 09:19:11,372 - DEBUG - VM ctest-TestBasicPolicy-69081927-39588280 launched on Node cn-jenkins-deploy-platform-ansible-os-2543-1 2025-01-07 09:19:11,466 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/1f3336ad-e379-4666-b7f4-5f3833961fda 2025-01-07 09:19:11,477 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/c6e67ffb-7884-4e29-b78b-c7716b07ae16 2025-01-07 09:19:14,772 - 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 1032ms') 2025-01-07 09:19:14,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69081927-39588280 failed! 2025-01-07 09:19:14,830 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69081927:ctest-vn-63645819 is 136.53.1.65 and allocation pool is NOT set 2025-01-07 09:19:16,894 - 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=9.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.943 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 = 0.943/5.329/9.715/4.386 ms') 2025-01-07 09:19:16,894 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69081927-39588280 passed 2025-01-07 09:19:17,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:19:17,054 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69081927-39588280, IP 136.53.1.67, Port 22 2025-01-07 09:19:17,213 - DEBUG - VM ctest-TestBasicPolicy-69081927-39588280 is ready for SSH connections 2025-01-07 09:19:17,214 - INFO - Waiting for VM ctest-TestBasicPolicy-69081927-04091179 to be up.. 2025-01-07 09:19:17,305 - DEBUG - VM is in ACTIVE state now 2025-01-07 09:19:17,305 - INFO - VM name : ctest-TestBasicPolicy-69081927-04091179 2025-01-07 09:19:17,393 - DEBUG - VM ctest-TestBasicPolicy-69081927-04091179 ID is 215d3d58-6d74-4fae-bc5e-9efe68382e35 2025-01-07 09:19:17,393 - DEBUG - VM ctest-TestBasicPolicy-69081927-04091179 launched on Node cn-jenkins-deploy-platform-ansible-os-2543-1 2025-01-07 09:19:17,485 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/215d3d58-6d74-4fae-bc5e-9efe68382e35 2025-01-07 09:19:17,496 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/5014f906-b9b8-45ce-871a-124216b61bf9 2025-01-07 09:19:18,742 - 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=3.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.939 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.939/2.329/3.719/1.390 ms') 2025-01-07 09:19:18,743 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69081927-04091179 passed 2025-01-07 09:19:18,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:19:18,898 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69081927-04091179, IP 74.208.75.67, Port 22 2025-01-07 09:19:19,064 - DEBUG - VM ctest-TestBasicPolicy-69081927-04091179 is ready for SSH connections 2025-01-07 09:19:19,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:19:19,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.208.75.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-01-07 09:19:19,065 - DEBUG - ping -s 56 -c 3 -W 1 74.208.75.67 2025-01-07 09:19:23,130 - DEBUG - PING 74.208.75.67 (74.208.75.67): 56 data bytes 64 bytes from 74.208.75.67: seq=0 ttl=63 time=3.405 ms 64 bytes from 74.208.75.67: seq=1 ttl=63 time=1.425 ms 64 bytes from 74.208.75.67: seq=2 ttl=63 time=1.241 ms --- 74.208.75.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.241/2.023/3.405 ms 2025-01-07 09:19:23,131 - INFO - Ping to IP 74.208.75.67 from VM ctest-TestBasicPolicy-69081927-39588280 passed 2025-01-07 09:19:23,322 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a7f557c5-c8be-4067-be93-033acbbcebe2", "href": "http://10.0.0.32:8082/network-policy/a7f557c5-c8be-4067-be93-033acbbcebe2"}} 2025-01-07 09:19:23,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:19:23,322 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.208.75.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-01-07 09:19:23,322 - DEBUG - ping -s 56 -c 3 -W 1 74.208.75.67 2025-01-07 09:19:26,524 - DEBUG - PING 74.208.75.67 (74.208.75.67): 56 data bytes 64 bytes from 74.208.75.67: seq=0 ttl=63 time=2.006 ms --- 74.208.75.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.006/2.006/2.006 ms 2025-01-07 09:19:26,524 - WARNING - Ping to IP 74.208.75.67 from VM ctest-TestBasicPolicy-69081927-39588280 failed 2025-01-07 09:19:26,524 - INFO - Deleting VM ctest-TestBasicPolicy-69081927-04091179 2025-01-07 09:19:26,601 - INFO - Deleting VM ctest-TestBasicPolicy-69081927-39588280 2025-01-07 09:19:27,057 - INFO - Deleted policy ctest-policy-allow-all-76191933 2025-01-07 09:19:27,057 - INFO - Deleting VN ctest-vn-40510547 2025-01-07 09:19:27,095 - DEBUG - VN f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc still in use: Unable to complete operation on network f772f4fb-b224-4abe-94ed-5fc0dcc8e1dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d912eb0f-fe1d-4a1d-ad55-7a86ae1f8ca2'] 2025-01-07 09:19:27,096 - WARNING - Deleting VN ctest-vn-40510547 failed..Will retry 2025-01-07 09:19:29,213 - DEBUG - Response for deleting network () 2025-01-07 09:19:29,213 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/dc53b2d7-8235-4a45-aecc-c2a623007bcc 2025-01-07 09:19:29,221 - DEBUG - Response Code: 404 2025-01-07 09:19:29,222 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-07 09:19:29,229 - DEBUG - Requesting: http://10.0.0.32:8082/domain/e019cce0-4663-4b91-86f2-6f33ce4396af 2025-01-07 09:19:29,285 - DEBUG - Requesting: http://10.0.0.32:8082/project/c8d49188-9efc-495e-9d38-f1fcc6444ba1 2025-01-07 09:19:29,358 - INFO - Validated that VN ctest-vn-40510547 is not found in API Server 2025-01-07 09:19:29,370 - DEBUG - VN ctest-vn-40510547 is not present in Agent 10.0.0.32 2025-01-07 09:19:29,370 - INFO - Validated that VN ctest-vn-40510547 is not in any agent 2025-01-07 09:19:29,388 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40510547 info 2025-01-07 09:19:29,388 - INFO - Deleting VN ctest-vn-63645819 2025-01-07 09:19:29,500 - DEBUG - Response for deleting network () 2025-01-07 09:19:29,500 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/7e38855b-ee2c-4039-881c-5a865710431c 2025-01-07 09:19:29,507 - DEBUG - Response Code: 404 2025-01-07 09:19:29,507 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-01-07 09:19:29,520 - DEBUG - Requesting: http://10.0.0.32:8082/domain/e019cce0-4663-4b91-86f2-6f33ce4396af 2025-01-07 09:19:29,576 - DEBUG - Requesting: http://10.0.0.32:8082/project/c8d49188-9efc-495e-9d38-f1fcc6444ba1 2025-01-07 09:19:29,659 - INFO - Validated that VN ctest-vn-63645819 is not found in API Server 2025-01-07 09:19:29,672 - DEBUG - VN ctest-vn-63645819 is not present in Agent 10.0.0.32 2025-01-07 09:19:29,672 - INFO - Validated that VN ctest-vn-63645819 is not in any agent 2025-01-07 09:19:29,692 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63645819 info 2025-01-07 09:19:29,952 - DEBUG - No XMPP flaps were noticed during the test 2025-01-07 09:19:29,952 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-07 09:19:29,952 - INFO - -------------------------------------------------------------------------------- 2025-01-07 09:19:30,643 - INFO - Deleted project: ctest-TestBasicPolicy-69081927, ID : c8d49188-9efc-495e-9d38-f1fcc6444ba1