2025-01-09 19:21:40,843 - INFO - Domain Default found not creating 2025-01-09 19:21:41,007 - INFO - Project ctest-TestBasicPolicy-07188423 not found, creating it 2025-01-09 19:21:41,511 - INFO - Created Project:ctest-TestBasicPolicy-07188423, ID : 5e49f38b-a5b5-4d31-9ccc-da2a3ba87e13 2025-01-09 19:21:43,055 - INFO - ================================================================================ 2025-01-09 19:21:43,055 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-09 19:21:43,055 - 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-09 19:21:43,312 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with 2025-01-09 19:21:43,312 - INFO - Initial checks done. Running the testcase now 2025-01-09 19:21:43,312 - INFO - 2025-01-09 19:21:43,885 - DEBUG - Response for create_network : {'network': {'id': '928c686d-246d-4dcd-9530-561fe0814816', 'name': 'ctest-vn-51631316', 'tenant_id': '5e49f38ba5b54d319cccda2a3ba87e13', 'project_id': '5e49f38ba5b54d319cccda2a3ba87e13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07188423', 'ctest-vn-51631316'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 19:21:44,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '65cddcc5-23ea-4f87-8216-428b77caeb73', 'name': '', 'tenant_id': '5e49f38ba5b54d319cccda2a3ba87e13', 'network_id': '928c686d-246d-4dcd-9530-561fe0814816', 'ip_version': 4, 'cidr': '220.7.255.64/26', 'allocation_pools': [{'start': '220.7.255.66', 'end': '220.7.255.126'}], 'gateway_ip': '220.7.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.7.255.66', 'tags': [], 'project_id': '5e49f38ba5b54d319cccda2a3ba87e13'}} 2025-01-09 19:21:44,094 - INFO - Created VN ctest-vn-51631316 2025-01-09 19:21:44,150 - DEBUG - VN ctest-vn-51631316 UUID is 928c686d-246d-4dcd-9530-561fe0814816 2025-01-09 19:21:44,469 - DEBUG - Response for create_network : {'network': {'id': '4a7433be-fc22-490f-b7f2-5672a4f6a299', 'name': 'ctest-vn-96542701', 'tenant_id': '5e49f38ba5b54d319cccda2a3ba87e13', 'project_id': '5e49f38ba5b54d319cccda2a3ba87e13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07188423', 'ctest-vn-96542701'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 19:21:44,636 - DEBUG - Response for create_subnet : {'subnet': {'id': '7972bc4d-fe04-467a-b154-cf777503f3ef', 'name': '', 'tenant_id': '5e49f38ba5b54d319cccda2a3ba87e13', 'network_id': '4a7433be-fc22-490f-b7f2-5672a4f6a299', 'ip_version': 4, 'cidr': '56.115.105.192/26', 'allocation_pools': [{'start': '56.115.105.194', 'end': '56.115.105.254'}], 'gateway_ip': '56.115.105.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.115.105.194', 'tags': [], 'project_id': '5e49f38ba5b54d319cccda2a3ba87e13'}} 2025-01-09 19:21:44,655 - INFO - Created VN ctest-vn-96542701 2025-01-09 19:21:44,710 - DEBUG - VN ctest-vn-96542701 UUID is 4a7433be-fc22-490f-b7f2-5672a4f6a299 2025-01-09 19:21:44,855 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-51631316, 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-07188423:ctest-vn-96542701, 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-09 19:21:45,167 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '928c686d-246d-4dcd-9530-561fe0814816', 'name': 'ctest-vn-51631316', 'tenant_id': '5e49f38ba5b54d319cccda2a3ba87e13', 'project_id': '5e49f38ba5b54d319cccda2a3ba87e13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65cddcc5-23ea-4f87-8216-428b77caeb73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07188423', 'ctest-vn-51631316'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07188423', 'ctest-policy-allow-all-20976309']], 'subnet_ipam': [{'subnet_cidr': '220.7.255.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 19:21:45,403 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a7433be-fc22-490f-b7f2-5672a4f6a299', 'name': 'ctest-vn-96542701', 'tenant_id': '5e49f38ba5b54d319cccda2a3ba87e13', 'project_id': '5e49f38ba5b54d319cccda2a3ba87e13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7972bc4d-fe04-467a-b154-cf777503f3ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07188423', 'ctest-vn-96542701'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07188423', 'ctest-policy-allow-all-20976309']], 'subnet_ipam': [{'subnet_cidr': '56.115.105.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 19:21:45,578 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-09 19:21:45,879 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-09 19:21:45,911 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b7f39cff-de3c-4d24-aa19-17401aaf251f 2025-01-09 19:21:45,925 - DEBUG - Requesting: http://10.0.0.31:8082/project/5e49f38b-a5b5-4d31-9ccc-da2a3ba87e13 2025-01-09 19:21:46,004 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/928c686d-246d-4dcd-9530-561fe0814816 2025-01-09 19:21:46,017 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/928c686d-246d-4dcd-9530-561fe0814816 2025-01-09 19:21:46,027 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/bc23a77b-85fa-4bce-81b2-98e9ed3077ff 2025-01-09 19:21:46,035 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/bc23a77b-85fa-4bce-81b2-98e9ed3077ff 2025-01-09 19:21:46,043 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/011ba568-ca1b-490a-a93b-cf3265f2fea6 2025-01-09 19:21:46,050 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 19:21:46,050 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/928c686d-246d-4dcd-9530-561fe0814816 2025-01-09 19:21:46,061 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/bc23a77b-85fa-4bce-81b2-98e9ed3077ff 2025-01-09 19:21:46,076 - INFO - Verified VN network id 8 for VN 928c686d-246d-4dcd-9530-561fe0814816 2025-01-09 19:21:46,077 - INFO - Verifications in API Server for VN ctest-vn-51631316 passed 2025-01-09 19:21:46,077 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/928c686d-246d-4dcd-9530-561fe0814816 2025-01-09 19:21:46,088 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/bc23a77b-85fa-4bce-81b2-98e9ed3077ff 2025-01-09 19:21:46,098 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/bc23a77b-85fa-4bce-81b2-98e9ed3077ff 2025-01-09 19:21:46,110 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/011ba568-ca1b-490a-a93b-cf3265f2fea6 2025-01-09 19:21:46,124 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-51631316', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07188423', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10559930044248837581', 'uuid-lslong': '10750187005443917846'}, 'enable': 'true', 'created': '2025-01-09T19:21:43', 'last-modified': '2025-01-09T19:21:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985870'} 2025-01-09 19:21:46,132 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 19:21:46,133 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51631316 passed 2025-01-09 19:21:46,133 - DEBUG - ====Verifying policy data for ctest-vn-51631316 in API_Server ====== 2025-01-09 19:21:46,133 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-09 19:21:46,140 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b7f39cff-de3c-4d24-aa19-17401aaf251f 2025-01-09 19:21:46,153 - DEBUG - Requesting: http://10.0.0.31:8082/project/5e49f38b-a5b5-4d31-9ccc-da2a3ba87e13 2025-01-09 19:21:46,232 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/928c686d-246d-4dcd-9530-561fe0814816 2025-01-09 19:21:46,243 - DEBUG - ==>Verifying data for policy with id: 1490040b-33ea-4d01-8116-d095a05fd8bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-07188423', 'ctest-policy-allow-all-20976309'] 2025-01-09 19:21:46,244 - INFO - VN ctest-vn-51631316 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 19:21:46,244 - DEBUG - Verifying the vn in opserver 2025-01-09 19:21:46,244 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-51631316 virtual network link through opserver 10.0.0.31 2025-01-09 19:21:46,244 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-09 19:21:46,550 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-09 19:21:46,618 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-51631316', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-51631316?flat'} 2025-01-09 19:21:46,618 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-51631316 is found in opserver 2025-01-09 19:21:46,630 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 19:21:46,636 - DEBUG - VRF ids for VN ctest-vn-51631316: {} 2025-01-09 19:21:46,636 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-09 19:21:46,643 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b7f39cff-de3c-4d24-aa19-17401aaf251f 2025-01-09 19:21:46,656 - DEBUG - Requesting: http://10.0.0.31:8082/project/5e49f38b-a5b5-4d31-9ccc-da2a3ba87e13 2025-01-09 19:21:46,739 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/4a7433be-fc22-490f-b7f2-5672a4f6a299 2025-01-09 19:21:46,752 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/4a7433be-fc22-490f-b7f2-5672a4f6a299 2025-01-09 19:21:46,763 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fc3b6e7c-d4f9-40a3-8c0a-59aa1ae5e98c 2025-01-09 19:21:46,771 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fc3b6e7c-d4f9-40a3-8c0a-59aa1ae5e98c 2025-01-09 19:21:46,779 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/aaebde4b-eeeb-427f-87a8-27bc52aaf3a1 2025-01-09 19:21:46,786 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 19:21:46,786 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/4a7433be-fc22-490f-b7f2-5672a4f6a299 2025-01-09 19:21:46,797 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fc3b6e7c-d4f9-40a3-8c0a-59aa1ae5e98c 2025-01-09 19:21:46,812 - INFO - Verified VN network id 9 for VN 4a7433be-fc22-490f-b7f2-5672a4f6a299 2025-01-09 19:21:46,812 - INFO - Verifications in API Server for VN ctest-vn-96542701 passed 2025-01-09 19:21:46,812 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/4a7433be-fc22-490f-b7f2-5672a4f6a299 2025-01-09 19:21:46,823 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fc3b6e7c-d4f9-40a3-8c0a-59aa1ae5e98c 2025-01-09 19:21:46,830 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fc3b6e7c-d4f9-40a3-8c0a-59aa1ae5e98c 2025-01-09 19:21:46,837 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/aaebde4b-eeeb-427f-87a8-27bc52aaf3a1 2025-01-09 19:21:46,850 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-96542701', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07188423', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5364969951472011535', 'uuid-lslong': '13254751703698678425'}, 'enable': 'true', 'created': '2025-01-09T19:21:44', 'last-modified': '2025-01-09T19:21:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469880'} 2025-01-09 19:21:46,856 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 19:21:46,857 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96542701 passed 2025-01-09 19:21:46,857 - DEBUG - ====Verifying policy data for ctest-vn-96542701 in API_Server ====== 2025-01-09 19:21:46,857 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-09 19:21:46,863 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b7f39cff-de3c-4d24-aa19-17401aaf251f 2025-01-09 19:21:46,876 - DEBUG - Requesting: http://10.0.0.31:8082/project/5e49f38b-a5b5-4d31-9ccc-da2a3ba87e13 2025-01-09 19:21:46,953 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/4a7433be-fc22-490f-b7f2-5672a4f6a299 2025-01-09 19:21:46,965 - DEBUG - ==>Verifying data for policy with id: 1490040b-33ea-4d01-8116-d095a05fd8bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-07188423', 'ctest-policy-allow-all-20976309'] 2025-01-09 19:21:46,965 - INFO - VN ctest-vn-96542701 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 19:21:46,965 - DEBUG - Verifying the vn in opserver 2025-01-09 19:21:46,966 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-96542701 virtual network link through opserver 10.0.0.31 2025-01-09 19:21:46,966 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-09 19:21:46,978 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-96542701', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-96542701?flat'} 2025-01-09 19:21:46,978 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-96542701 is found in opserver 2025-01-09 19:21:46,992 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 19:21:46,998 - DEBUG - VRF ids for VN ctest-vn-96542701: {} 2025-01-09 19:21:47,065 - DEBUG - Services list from nova: [, , ] 2025-01-09 19:21:48,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2592-1) 2025-01-09 19:21:49,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2592-1) 2025-01-09 19:21:49,411 - INFO - Waiting for VM ctest-TestBasicPolicy-07188423-83686804 to be up.. 2025-01-09 19:21:49,524 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 19:21:54,618 - DEBUG - VM is in ACTIVE state now 2025-01-09 19:21:54,618 - INFO - VM name : ctest-TestBasicPolicy-07188423-83686804 2025-01-09 19:21:54,710 - DEBUG - VM ctest-TestBasicPolicy-07188423-83686804 ID is a90770c8-3553-4f68-bdc9-a2d69334a741 2025-01-09 19:21:54,729 - DEBUG - VM ctest-TestBasicPolicy-07188423-83686804 launched on Node cn-jenkins-deploy-platform-ansible-os-2592-1 2025-01-09 19:21:54,815 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/a90770c8-3553-4f68-bdc9-a2d69334a741 2025-01-09 19:21:54,826 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/03fe8f65-a7d1-46b6-882c-82fd3c5f741d 2025-01-09 19:21:58,089 - 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 1019ms') 2025-01-09 19:21:58,089 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07188423-83686804 failed! 2025-01-09 19:21:58,150 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07188423:ctest-vn-51631316 is 220.7.255.65 and allocation pool is NOT set 2025-01-09 19:22:00,210 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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 = 2.180/6.102/10.024/3.922 ms') 2025-01-09 19:22:00,210 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07188423-83686804 passed 2025-01-09 19:22:00,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 19:22:00,374 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07188423-83686804, IP 220.7.255.67, Port 22 2025-01-09 19:22:00,545 - DEBUG - VM ctest-TestBasicPolicy-07188423-83686804 is ready for SSH connections 2025-01-09 19:22:00,545 - INFO - Waiting for VM ctest-TestBasicPolicy-07188423-71327391 to be up.. 2025-01-09 19:22:00,644 - DEBUG - VM is in ACTIVE state now 2025-01-09 19:22:00,644 - INFO - VM name : ctest-TestBasicPolicy-07188423-71327391 2025-01-09 19:22:00,727 - DEBUG - VM ctest-TestBasicPolicy-07188423-71327391 ID is c128e333-8534-49a7-b09f-fa2a6c1d24f9 2025-01-09 19:22:00,727 - DEBUG - VM ctest-TestBasicPolicy-07188423-71327391 launched on Node cn-jenkins-deploy-platform-ansible-os-2592-1 2025-01-09 19:22:00,807 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/c128e333-8534-49a7-b09f-fa2a6c1d24f9 2025-01-09 19:22:00,817 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/4658172e-910d-4547-b112-9fd0f8c780ae 2025-01-09 19:22:02,065 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.860 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.860/2.512/4.165/1.652 ms') 2025-01-09 19:22:02,065 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07188423-71327391 passed 2025-01-09 19:22:02,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 19:22:02,222 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07188423-71327391, IP 56.115.105.195, Port 22 2025-01-09 19:22:02,388 - DEBUG - VM ctest-TestBasicPolicy-07188423-71327391 is ready for SSH connections 2025-01-09 19:22:02,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 19:22:02,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.115.105.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-09 19:22:02,388 - DEBUG - ping -s 56 -c 3 -W 1 56.115.105.195 2025-01-09 19:22:06,074 - DEBUG - PING 56.115.105.195 (56.115.105.195): 56 data bytes 64 bytes from 56.115.105.195: seq=0 ttl=63 time=3.550 ms 64 bytes from 56.115.105.195: seq=1 ttl=63 time=0.985 ms 64 bytes from 56.115.105.195: seq=2 ttl=63 time=1.143 ms --- 56.115.105.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.985/1.892/3.550 ms 2025-01-09 19:22:06,075 - INFO - Ping to IP 56.115.105.195 from VM ctest-TestBasicPolicy-07188423-83686804 passed 2025-01-09 19:22:06,262 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1490040b-33ea-4d01-8116-d095a05fd8bf", "href": "http://10.0.0.31:8082/network-policy/1490040b-33ea-4d01-8116-d095a05fd8bf"}} 2025-01-09 19:22:06,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 19:22:06,262 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.115.105.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-09 19:22:06,262 - DEBUG - ping -s 56 -c 3 -W 1 56.115.105.195 2025-01-09 19:22:09,506 - DEBUG - PING 56.115.105.195 (56.115.105.195): 56 data bytes 64 bytes from 56.115.105.195: seq=0 ttl=63 time=1.573 ms --- 56.115.105.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.573/1.573/1.573 ms 2025-01-09 19:22:09,507 - WARNING - Ping to IP 56.115.105.195 from VM ctest-TestBasicPolicy-07188423-83686804 failed 2025-01-09 19:22:09,507 - INFO - Deleting VM ctest-TestBasicPolicy-07188423-71327391 2025-01-09 19:22:09,597 - INFO - Deleting VM ctest-TestBasicPolicy-07188423-83686804 2025-01-09 19:22:10,050 - INFO - Deleted policy ctest-policy-allow-all-20976309 2025-01-09 19:22:10,050 - INFO - Deleting VN ctest-vn-96542701 2025-01-09 19:22:10,092 - DEBUG - VN 4a7433be-fc22-490f-b7f2-5672a4f6a299 still in use: Unable to complete operation on network 4a7433be-fc22-490f-b7f2-5672a4f6a299. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf4ad07b-a15b-4f29-880c-67cff0f4a5c2'] 2025-01-09 19:22:10,092 - WARNING - Deleting VN ctest-vn-96542701 failed..Will retry 2025-01-09 19:22:12,203 - DEBUG - Response for deleting network () 2025-01-09 19:22:12,204 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/fc3b6e7c-d4f9-40a3-8c0a-59aa1ae5e98c 2025-01-09 19:22:12,209 - DEBUG - Response Code: 404 2025-01-09 19:22:12,209 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-09 19:22:12,216 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b7f39cff-de3c-4d24-aa19-17401aaf251f 2025-01-09 19:22:12,272 - DEBUG - Requesting: http://10.0.0.31:8082/project/5e49f38b-a5b5-4d31-9ccc-da2a3ba87e13 2025-01-09 19:22:12,348 - INFO - Validated that VN ctest-vn-96542701 is not found in API Server 2025-01-09 19:22:12,362 - DEBUG - VN ctest-vn-96542701 is not present in Agent 10.0.0.31 2025-01-09 19:22:12,362 - INFO - Validated that VN ctest-vn-96542701 is not in any agent 2025-01-09 19:22:12,378 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96542701 info 2025-01-09 19:22:12,379 - INFO - Deleting VN ctest-vn-51631316 2025-01-09 19:22:12,497 - DEBUG - Response for deleting network () 2025-01-09 19:22:12,497 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/bc23a77b-85fa-4bce-81b2-98e9ed3077ff 2025-01-09 19:22:12,505 - DEBUG - Response Code: 404 2025-01-09 19:22:12,506 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-09 19:22:12,514 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b7f39cff-de3c-4d24-aa19-17401aaf251f 2025-01-09 19:22:12,570 - DEBUG - Requesting: http://10.0.0.31:8082/project/5e49f38b-a5b5-4d31-9ccc-da2a3ba87e13 2025-01-09 19:22:12,653 - INFO - Validated that VN ctest-vn-51631316 is not found in API Server 2025-01-09 19:22:12,666 - DEBUG - VN ctest-vn-51631316 is not present in Agent 10.0.0.31 2025-01-09 19:22:12,666 - INFO - Validated that VN ctest-vn-51631316 is not in any agent 2025-01-09 19:22:12,684 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51631316 info 2025-01-09 19:22:12,951 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 19:22:12,951 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-01-09 19:22:12,951 - INFO - -------------------------------------------------------------------------------- 2025-01-09 19:22:13,642 - INFO - Deleted project: ctest-TestBasicPolicy-07188423, ID : 5e49f38b-a5b5-4d31-9ccc-da2a3ba87e13