2025-08-11 20:42:26,211 - INFO - Domain Default found not creating 2025-08-11 20:42:26,329 - INFO - Project ctest-TestBasicPolicy-11144235 not found, creating it 2025-08-11 20:42:26,751 - INFO - Created Project:ctest-TestBasicPolicy-11144235, ID : d98bfafd-b7bb-4dbe-9073-71ef1e548be3 2025-08-11 20:42:28,138 - INFO - ================================================================================ 2025-08-11 20:42:28,139 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 20:42:28,139 - 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-08-11 20:42:28,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-11 20:42:28,396 - INFO - Initial checks done. Running the testcase now 2025-08-11 20:42:28,396 - INFO - 2025-08-11 20:42:28,902 - DEBUG - Response for create_network : {'network': {'id': 'fd043203-4cdc-4c74-b768-799d4e5a545c', 'name': 'ctest-vn-31189877', 'tenant_id': 'd98bfafdb7bb4dbe907371ef1e548be3', 'project_id': 'd98bfafdb7bb4dbe907371ef1e548be3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11144235', 'ctest-vn-31189877'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:42:29,109 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffbaf9ef-3be5-4e13-be70-5aea08d06b7d', 'name': '', 'tenant_id': 'd98bfafdb7bb4dbe907371ef1e548be3', 'network_id': 'fd043203-4cdc-4c74-b768-799d4e5a545c', 'ip_version': 4, 'cidr': '157.54.194.128/26', 'allocation_pools': [{'start': '157.54.194.130', 'end': '157.54.194.190'}], 'gateway_ip': '157.54.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.54.194.130', 'tags': [], 'project_id': 'd98bfafdb7bb4dbe907371ef1e548be3'}} 2025-08-11 20:42:29,128 - INFO - Created VN ctest-vn-31189877 2025-08-11 20:42:29,179 - DEBUG - VN ctest-vn-31189877 UUID is fd043203-4cdc-4c74-b768-799d4e5a545c 2025-08-11 20:42:29,484 - DEBUG - Response for create_network : {'network': {'id': '374126bc-fc43-474b-9fb8-4e95bf97a28e', 'name': 'ctest-vn-23318979', 'tenant_id': 'd98bfafdb7bb4dbe907371ef1e548be3', 'project_id': 'd98bfafdb7bb4dbe907371ef1e548be3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11144235', 'ctest-vn-23318979'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:42:29,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '46d94a09-36bd-4431-bb66-b6cc670a6ac4', 'name': '', 'tenant_id': 'd98bfafdb7bb4dbe907371ef1e548be3', 'network_id': '374126bc-fc43-474b-9fb8-4e95bf97a28e', 'ip_version': 4, 'cidr': '70.213.156.192/26', 'allocation_pools': [{'start': '70.213.156.194', 'end': '70.213.156.254'}], 'gateway_ip': '70.213.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.213.156.194', 'tags': [], 'project_id': 'd98bfafdb7bb4dbe907371ef1e548be3'}} 2025-08-11 20:42:29,675 - INFO - Created VN ctest-vn-23318979 2025-08-11 20:42:29,727 - DEBUG - VN ctest-vn-23318979 UUID is 374126bc-fc43-474b-9fb8-4e95bf97a28e 2025-08-11 20:42:29,871 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-31189877, 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-11144235:ctest-vn-23318979, 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-08-11 20:42:30,158 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd043203-4cdc-4c74-b768-799d4e5a545c', 'name': 'ctest-vn-31189877', 'tenant_id': 'd98bfafdb7bb4dbe907371ef1e548be3', 'project_id': 'd98bfafdb7bb4dbe907371ef1e548be3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ffbaf9ef-3be5-4e13-be70-5aea08d06b7d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11144235', 'ctest-vn-31189877'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11144235', 'ctest-policy-allow-all-88850210']], 'subnet_ipam': [{'subnet_cidr': '157.54.194.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:42:30,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '374126bc-fc43-474b-9fb8-4e95bf97a28e', 'name': 'ctest-vn-23318979', 'tenant_id': 'd98bfafdb7bb4dbe907371ef1e548be3', 'project_id': 'd98bfafdb7bb4dbe907371ef1e548be3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['46d94a09-36bd-4431-bb66-b6cc670a6ac4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11144235', 'ctest-vn-23318979'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11144235', 'ctest-policy-allow-all-88850210']], 'subnet_ipam': [{'subnet_cidr': '70.213.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:42:30,563 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 20:42:30,849 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 20:42:30,873 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3d83caa-9eea-4bb9-ac82-dfc2d1417913 2025-08-11 20:42:30,886 - DEBUG - Requesting: http://10.0.0.50:8082/project/d98bfafd-b7bb-4dbe-9073-71ef1e548be3 2025-08-11 20:42:30,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fd043203-4cdc-4c74-b768-799d4e5a545c 2025-08-11 20:42:30,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fd043203-4cdc-4c74-b768-799d4e5a545c 2025-08-11 20:42:30,976 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd2a08f1-9961-44d5-bb2f-9b0097f66722 2025-08-11 20:42:30,982 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd2a08f1-9961-44d5-bb2f-9b0097f66722 2025-08-11 20:42:30,989 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/79286fc2-959d-472c-88bf-49501159b7cf 2025-08-11 20:42:30,994 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 20:42:30,994 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fd043203-4cdc-4c74-b768-799d4e5a545c 2025-08-11 20:42:31,003 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd2a08f1-9961-44d5-bb2f-9b0097f66722 2025-08-11 20:42:31,015 - INFO - Verified VN network id 11 for VN fd043203-4cdc-4c74-b768-799d4e5a545c 2025-08-11 20:42:31,015 - INFO - Verifications in API Server for VN ctest-vn-31189877 passed 2025-08-11 20:42:31,015 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fd043203-4cdc-4c74-b768-799d4e5a545c 2025-08-11 20:42:31,024 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd2a08f1-9961-44d5-bb2f-9b0097f66722 2025-08-11 20:42:31,030 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd2a08f1-9961-44d5-bb2f-9b0097f66722 2025-08-11 20:42:31,036 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/79286fc2-959d-472c-88bf-49501159b7cf 2025-08-11 20:42:31,047 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-31189877', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11144235', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18231752181258407028', 'uuid-lslong': '13215946823050089564'}, 'enable': 'true', 'created': '2025-08-11T20:42:28', 'last-modified': '2025-08-11T20:42:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913590'} 2025-08-11 20:42:31,055 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 20:42:31,055 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31189877 passed 2025-08-11 20:42:31,055 - DEBUG - ====Verifying policy data for ctest-vn-31189877 in API_Server ====== 2025-08-11 20:42:31,055 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 20:42:31,060 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3d83caa-9eea-4bb9-ac82-dfc2d1417913 2025-08-11 20:42:31,071 - DEBUG - Requesting: http://10.0.0.50:8082/project/d98bfafd-b7bb-4dbe-9073-71ef1e548be3 2025-08-11 20:42:31,146 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fd043203-4cdc-4c74-b768-799d4e5a545c 2025-08-11 20:42:31,160 - DEBUG - ==>Verifying data for policy with id: 0f0337c1-ff1d-4b6c-87b7-31ecdd74a286, fqn: ['default-domain', 'ctest-TestBasicPolicy-11144235', 'ctest-policy-allow-all-88850210'] 2025-08-11 20:42:31,160 - INFO - VN ctest-vn-31189877 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 20:42:31,160 - DEBUG - Verifying the vn in opserver 2025-08-11 20:42:31,160 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-31189877 virtual network link through opserver 10.0.0.50 2025-08-11 20:42:31,160 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-11 20:42:31,449 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-11 20:42:31,496 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-31189877', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-31189877?flat'} 2025-08-11 20:42:31,496 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-31189877 is found in opserver 2025-08-11 20:42:31,507 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 20:42:31,512 - DEBUG - VRF ids for VN ctest-vn-31189877: {} 2025-08-11 20:42:31,512 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 20:42:31,517 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3d83caa-9eea-4bb9-ac82-dfc2d1417913 2025-08-11 20:42:31,528 - DEBUG - Requesting: http://10.0.0.50:8082/project/d98bfafd-b7bb-4dbe-9073-71ef1e548be3 2025-08-11 20:42:31,594 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/374126bc-fc43-474b-9fb8-4e95bf97a28e 2025-08-11 20:42:31,604 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/374126bc-fc43-474b-9fb8-4e95bf97a28e 2025-08-11 20:42:31,612 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b1028a3-a55e-45fd-847a-7de583e24532 2025-08-11 20:42:31,618 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b1028a3-a55e-45fd-847a-7de583e24532 2025-08-11 20:42:31,624 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/67902442-c8c9-43c4-bf12-85527db0c426 2025-08-11 20:42:31,629 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 20:42:31,629 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/374126bc-fc43-474b-9fb8-4e95bf97a28e 2025-08-11 20:42:31,637 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b1028a3-a55e-45fd-847a-7de583e24532 2025-08-11 20:42:31,648 - INFO - Verified VN network id 12 for VN 374126bc-fc43-474b-9fb8-4e95bf97a28e 2025-08-11 20:42:31,648 - INFO - Verifications in API Server for VN ctest-vn-23318979 passed 2025-08-11 20:42:31,649 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/374126bc-fc43-474b-9fb8-4e95bf97a28e 2025-08-11 20:42:31,657 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b1028a3-a55e-45fd-847a-7de583e24532 2025-08-11 20:42:31,663 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b1028a3-a55e-45fd-847a-7de583e24532 2025-08-11 20:42:31,669 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/67902442-c8c9-43c4-bf12-85527db0c426 2025-08-11 20:42:31,679 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-23318979', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11144235', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3981506138700203851', 'uuid-lslong': '11509035252816781966'}, 'enable': 'true', 'created': '2025-08-11T20:42:29', 'last-modified': '2025-08-11T20:42:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.311864'} 2025-08-11 20:42:31,685 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 20:42:31,685 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23318979 passed 2025-08-11 20:42:31,686 - DEBUG - ====Verifying policy data for ctest-vn-23318979 in API_Server ====== 2025-08-11 20:42:31,686 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 20:42:31,690 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3d83caa-9eea-4bb9-ac82-dfc2d1417913 2025-08-11 20:42:31,701 - DEBUG - Requesting: http://10.0.0.50:8082/project/d98bfafd-b7bb-4dbe-9073-71ef1e548be3 2025-08-11 20:42:31,772 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/374126bc-fc43-474b-9fb8-4e95bf97a28e 2025-08-11 20:42:31,785 - DEBUG - ==>Verifying data for policy with id: 0f0337c1-ff1d-4b6c-87b7-31ecdd74a286, fqn: ['default-domain', 'ctest-TestBasicPolicy-11144235', 'ctest-policy-allow-all-88850210'] 2025-08-11 20:42:31,785 - INFO - VN ctest-vn-23318979 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 20:42:31,785 - DEBUG - Verifying the vn in opserver 2025-08-11 20:42:31,785 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-23318979 virtual network link through opserver 10.0.0.50 2025-08-11 20:42:31,785 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-11 20:42:31,797 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-23318979', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-23318979?flat'} 2025-08-11 20:42:31,797 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-23318979 is found in opserver 2025-08-11 20:42:31,807 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 20:42:31,812 - DEBUG - VRF ids for VN ctest-vn-23318979: {} 2025-08-11 20:42:31,860 - DEBUG - Services list from nova: [, , ] 2025-08-11 20:42:32,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3821-1) 2025-08-11 20:42:33,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3821-1) 2025-08-11 20:42:33,809 - INFO - Waiting for VM ctest-TestBasicPolicy-11144235-85149197 to be up.. 2025-08-11 20:42:33,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 20:42:38,938 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:42:38,938 - INFO - VM name : ctest-TestBasicPolicy-11144235-85149197 2025-08-11 20:42:39,001 - DEBUG - VM ctest-TestBasicPolicy-11144235-85149197 ID is 66a66f08-0182-449b-ab0c-224d8ed55a24 2025-08-11 20:42:39,018 - DEBUG - VM ctest-TestBasicPolicy-11144235-85149197 launched on Node cn-jenkins-deploy-platform-ansible-os-3821-1 2025-08-11 20:42:39,086 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/66a66f08-0182-449b-ab0c-224d8ed55a24 2025-08-11 20:42:39,096 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aed7ee3b-2d04-4ea2-87f0-debe0e95041a 2025-08-11 20:42:42,365 - 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 1031ms') 2025-08-11 20:42:42,365 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11144235-85149197 failed! 2025-08-11 20:42:42,423 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11144235:ctest-vn-31189877 is 157.54.194.129 and allocation pool is NOT set 2025-08-11 20:42:44,479 - 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=2.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.356 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.356/1.538/2.720/1.182 ms') 2025-08-11 20:42:44,479 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11144235-85149197 passed 2025-08-11 20:42:44,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:42:44,631 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11144235-85149197, IP 157.54.194.131, Port 22 2025-08-11 20:42:44,786 - DEBUG - VM ctest-TestBasicPolicy-11144235-85149197 is ready for SSH connections 2025-08-11 20:42:44,786 - INFO - Waiting for VM ctest-TestBasicPolicy-11144235-18756307 to be up.. 2025-08-11 20:42:44,852 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:42:44,852 - INFO - VM name : ctest-TestBasicPolicy-11144235-18756307 2025-08-11 20:42:44,912 - DEBUG - VM ctest-TestBasicPolicy-11144235-18756307 ID is 545d6dbb-7d92-47ef-a2cc-44c43cc48f8a 2025-08-11 20:42:44,912 - DEBUG - VM ctest-TestBasicPolicy-11144235-18756307 launched on Node cn-jenkins-deploy-platform-ansible-os-3821-1 2025-08-11 20:42:44,973 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/545d6dbb-7d92-47ef-a2cc-44c43cc48f8a 2025-08-11 20:42:44,981 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/448b7468-fb2a-4bb8-9c6a-72c0c3fa8e4b 2025-08-11 20:42:46,206 - 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=2.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.267 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.267/1.416/2.566/1.149 ms') 2025-08-11 20:42:46,206 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11144235-18756307 passed 2025-08-11 20:42:46,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:42:46,355 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11144235-18756307, IP 70.213.156.195, Port 22 2025-08-11 20:42:46,514 - DEBUG - VM ctest-TestBasicPolicy-11144235-18756307 is ready for SSH connections 2025-08-11 20:42:46,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:42:46,515 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.213.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 20:42:46,515 - DEBUG - ping -s 56 -c 3 -W 1 70.213.156.195 2025-08-11 20:42:50,158 - DEBUG - PING 70.213.156.195 (70.213.156.195): 56 data bytes 64 bytes from 70.213.156.195: seq=0 ttl=63 time=2.892 ms 64 bytes from 70.213.156.195: seq=1 ttl=63 time=0.704 ms 64 bytes from 70.213.156.195: seq=2 ttl=63 time=0.675 ms --- 70.213.156.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.675/1.423/2.892 ms 2025-08-11 20:42:50,158 - INFO - Ping to IP 70.213.156.195 from VM ctest-TestBasicPolicy-11144235-85149197 passed 2025-08-11 20:42:50,339 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0f0337c1-ff1d-4b6c-87b7-31ecdd74a286", "href": "http://10.0.0.50:8082/network-policy/0f0337c1-ff1d-4b6c-87b7-31ecdd74a286"}} 2025-08-11 20:42:50,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:42:50,339 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.213.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 20:42:50,339 - DEBUG - ping -s 56 -c 3 -W 1 70.213.156.195 2025-08-11 20:42:53,533 - DEBUG - PING 70.213.156.195 (70.213.156.195): 56 data bytes 64 bytes from 70.213.156.195: seq=0 ttl=63 time=1.368 ms --- 70.213.156.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.368/1.368/1.368 ms 2025-08-11 20:42:53,533 - WARNING - Ping to IP 70.213.156.195 from VM ctest-TestBasicPolicy-11144235-85149197 failed 2025-08-11 20:42:53,534 - INFO - Deleting VM ctest-TestBasicPolicy-11144235-18756307 2025-08-11 20:42:53,597 - INFO - Deleting VM ctest-TestBasicPolicy-11144235-85149197 2025-08-11 20:42:53,926 - INFO - Deleted policy ctest-policy-allow-all-88850210 2025-08-11 20:42:53,926 - INFO - Deleting VN ctest-vn-23318979 2025-08-11 20:42:53,955 - DEBUG - VN 374126bc-fc43-474b-9fb8-4e95bf97a28e still in use: Unable to complete operation on network 374126bc-fc43-474b-9fb8-4e95bf97a28e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fea31ccd-de27-425d-ae41-696cd0a1eaed'] 2025-08-11 20:42:53,955 - WARNING - Deleting VN ctest-vn-23318979 failed..Will retry 2025-08-11 20:42:56,051 - DEBUG - Response for deleting network () 2025-08-11 20:42:56,052 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b1028a3-a55e-45fd-847a-7de583e24532 2025-08-11 20:42:56,056 - DEBUG - Response Code: 404 2025-08-11 20:42:56,057 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 20:42:56,061 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3d83caa-9eea-4bb9-ac82-dfc2d1417913 2025-08-11 20:42:56,117 - DEBUG - Requesting: http://10.0.0.50:8082/project/d98bfafd-b7bb-4dbe-9073-71ef1e548be3 2025-08-11 20:42:56,189 - INFO - Validated that VN ctest-vn-23318979 is not found in API Server 2025-08-11 20:42:56,202 - DEBUG - VN ctest-vn-23318979 is not present in Agent 10.0.0.50 2025-08-11 20:42:56,202 - INFO - Validated that VN ctest-vn-23318979 is not in any agent 2025-08-11 20:42:56,219 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23318979 info 2025-08-11 20:42:56,219 - INFO - Deleting VN ctest-vn-31189877 2025-08-11 20:42:56,309 - DEBUG - Response for deleting network () 2025-08-11 20:42:56,309 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fd2a08f1-9961-44d5-bb2f-9b0097f66722 2025-08-11 20:42:56,315 - DEBUG - Response Code: 404 2025-08-11 20:42:56,315 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 20:42:56,320 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3d83caa-9eea-4bb9-ac82-dfc2d1417913 2025-08-11 20:42:56,376 - DEBUG - Requesting: http://10.0.0.50:8082/project/d98bfafd-b7bb-4dbe-9073-71ef1e548be3 2025-08-11 20:42:56,448 - INFO - Validated that VN ctest-vn-31189877 is not found in API Server 2025-08-11 20:42:56,457 - DEBUG - VN ctest-vn-31189877 is not present in Agent 10.0.0.50 2025-08-11 20:42:56,457 - INFO - Validated that VN ctest-vn-31189877 is not in any agent 2025-08-11 20:42:56,471 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31189877 info 2025-08-11 20:42:56,724 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 20:42:56,724 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-08-11 20:42:56,724 - INFO - -------------------------------------------------------------------------------- 2025-08-11 20:42:57,362 - INFO - Deleted project: ctest-TestBasicPolicy-11144235, ID : d98bfafd-b7bb-4dbe-9073-71ef1e548be3