2025-09-02 22:37:04,965 - INFO - Domain Default found not creating 2025-09-02 22:37:05,095 - INFO - Project ctest-TestBasicPolicy-48677928 not found, creating it 2025-09-02 22:37:05,522 - INFO - Created Project:ctest-TestBasicPolicy-48677928, ID : 275ad76e-0e31-46bf-81a0-3f4238306d36 2025-09-02 22:37:06,850 - INFO - ================================================================================ 2025-09-02 22:37:06,850 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-02 22:37:06,850 - 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-09-02 22:37:07,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-02 22:37:07,114 - INFO - Initial checks done. Running the testcase now 2025-09-02 22:37:07,114 - INFO - 2025-09-02 22:37:07,619 - DEBUG - Response for create_network : {'network': {'id': '4e0c61ab-69e1-4110-9a84-311f7c91a2f2', 'name': 'ctest-vn-07716992', 'tenant_id': '275ad76e0e3146bf81a03f4238306d36', 'project_id': '275ad76e0e3146bf81a03f4238306d36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48677928', 'ctest-vn-07716992'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 22:37:07,820 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2518504-5376-4550-836c-39d221ecaa49', 'name': '', 'tenant_id': '275ad76e0e3146bf81a03f4238306d36', 'network_id': '4e0c61ab-69e1-4110-9a84-311f7c91a2f2', 'ip_version': 4, 'cidr': '169.45.124.64/26', 'allocation_pools': [{'start': '169.45.124.66', 'end': '169.45.124.126'}], 'gateway_ip': '169.45.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.45.124.66', 'tags': [], 'project_id': '275ad76e0e3146bf81a03f4238306d36'}} 2025-09-02 22:37:07,835 - INFO - Created VN ctest-vn-07716992 2025-09-02 22:37:07,883 - DEBUG - VN ctest-vn-07716992 UUID is 4e0c61ab-69e1-4110-9a84-311f7c91a2f2 2025-09-02 22:37:08,182 - DEBUG - Response for create_network : {'network': {'id': '680350e9-f4ab-4b7d-98ef-18838d46bd93', 'name': 'ctest-vn-15356625', 'tenant_id': '275ad76e0e3146bf81a03f4238306d36', 'project_id': '275ad76e0e3146bf81a03f4238306d36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48677928', 'ctest-vn-15356625'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 22:37:08,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '44f33848-2844-4985-8898-82bf0fb3272c', 'name': '', 'tenant_id': '275ad76e0e3146bf81a03f4238306d36', 'network_id': '680350e9-f4ab-4b7d-98ef-18838d46bd93', 'ip_version': 4, 'cidr': '151.33.109.192/26', 'allocation_pools': [{'start': '151.33.109.194', 'end': '151.33.109.254'}], 'gateway_ip': '151.33.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.33.109.194', 'tags': [], 'project_id': '275ad76e0e3146bf81a03f4238306d36'}} 2025-09-02 22:37:08,375 - INFO - Created VN ctest-vn-15356625 2025-09-02 22:37:08,427 - DEBUG - VN ctest-vn-15356625 UUID is 680350e9-f4ab-4b7d-98ef-18838d46bd93 2025-09-02 22:37:08,571 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-07716992, 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-48677928:ctest-vn-15356625, 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-09-02 22:37:08,856 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4e0c61ab-69e1-4110-9a84-311f7c91a2f2', 'name': 'ctest-vn-07716992', 'tenant_id': '275ad76e0e3146bf81a03f4238306d36', 'project_id': '275ad76e0e3146bf81a03f4238306d36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c2518504-5376-4550-836c-39d221ecaa49'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48677928', 'ctest-vn-07716992'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48677928', 'ctest-policy-allow-all-55595877']], 'subnet_ipam': [{'subnet_cidr': '169.45.124.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-02 22:37:09,080 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '680350e9-f4ab-4b7d-98ef-18838d46bd93', 'name': 'ctest-vn-15356625', 'tenant_id': '275ad76e0e3146bf81a03f4238306d36', 'project_id': '275ad76e0e3146bf81a03f4238306d36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44f33848-2844-4985-8898-82bf0fb3272c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48677928', 'ctest-vn-15356625'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48677928', 'ctest-policy-allow-all-55595877']], 'subnet_ipam': [{'subnet_cidr': '151.33.109.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-02 22:37:09,219 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-02 22:37:09,515 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-02 22:37:09,539 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6be2dd4-6f0e-430a-b00e-5c8fa96478a2 2025-09-02 22:37:09,549 - DEBUG - Requesting: http://10.0.0.48:8082/project/275ad76e-0e31-46bf-81a0-3f4238306d36 2025-09-02 22:37:09,617 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4e0c61ab-69e1-4110-9a84-311f7c91a2f2 2025-09-02 22:37:09,626 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4e0c61ab-69e1-4110-9a84-311f7c91a2f2 2025-09-02 22:37:09,634 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9b7b57ea-c7ea-4ca0-b613-3be72bb4e8ef 2025-09-02 22:37:09,639 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9b7b57ea-c7ea-4ca0-b613-3be72bb4e8ef 2025-09-02 22:37:09,644 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/e16d0bba-2f49-4f57-b509-4b3ff468fbf8 2025-09-02 22:37:09,649 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-02 22:37:09,649 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4e0c61ab-69e1-4110-9a84-311f7c91a2f2 2025-09-02 22:37:09,657 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9b7b57ea-c7ea-4ca0-b613-3be72bb4e8ef 2025-09-02 22:37:09,671 - INFO - Verified VN network id 12 for VN 4e0c61ab-69e1-4110-9a84-311f7c91a2f2 2025-09-02 22:37:09,671 - INFO - Verifications in API Server for VN ctest-vn-07716992 passed 2025-09-02 22:37:09,671 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4e0c61ab-69e1-4110-9a84-311f7c91a2f2 2025-09-02 22:37:09,679 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9b7b57ea-c7ea-4ca0-b613-3be72bb4e8ef 2025-09-02 22:37:09,684 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9b7b57ea-c7ea-4ca0-b613-3be72bb4e8ef 2025-09-02 22:37:09,690 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/e16d0bba-2f49-4f57-b509-4b3ff468fbf8 2025-09-02 22:37:09,699 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-07716992', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48677928', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5623977423522578704', 'uuid-lslong': '11134078190070375154'}, 'enable': 'true', 'created': '2025-09-02T22:37:07', 'last-modified': '2025-09-02T22:37:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.866369'} 2025-09-02 22:37:09,705 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-02 22:37:09,705 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07716992 passed 2025-09-02 22:37:09,705 - DEBUG - ====Verifying policy data for ctest-vn-07716992 in API_Server ====== 2025-09-02 22:37:09,705 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-02 22:37:09,710 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6be2dd4-6f0e-430a-b00e-5c8fa96478a2 2025-09-02 22:37:09,719 - DEBUG - Requesting: http://10.0.0.48:8082/project/275ad76e-0e31-46bf-81a0-3f4238306d36 2025-09-02 22:37:09,788 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4e0c61ab-69e1-4110-9a84-311f7c91a2f2 2025-09-02 22:37:09,796 - DEBUG - ==>Verifying data for policy with id: 03868147-dff6-464b-9aaf-eda9f05d0599, fqn: ['default-domain', 'ctest-TestBasicPolicy-48677928', 'ctest-policy-allow-all-55595877'] 2025-09-02 22:37:09,796 - INFO - VN ctest-vn-07716992 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-02 22:37:09,796 - DEBUG - Verifying the vn in opserver 2025-09-02 22:37:09,796 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-07716992 virtual network link through opserver 10.0.0.48 2025-09-02 22:37:09,796 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-02 22:37:10,085 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-02 22:37:10,133 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-07716992', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-07716992?flat'} 2025-09-02 22:37:10,133 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-07716992 is found in opserver 2025-09-02 22:37:10,140 - DEBUG - Do not have enough data to verify VN in agent 2025-09-02 22:37:10,144 - DEBUG - VRF ids for VN ctest-vn-07716992: {} 2025-09-02 22:37:10,144 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-02 22:37:10,148 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6be2dd4-6f0e-430a-b00e-5c8fa96478a2 2025-09-02 22:37:10,157 - DEBUG - Requesting: http://10.0.0.48:8082/project/275ad76e-0e31-46bf-81a0-3f4238306d36 2025-09-02 22:37:10,227 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/680350e9-f4ab-4b7d-98ef-18838d46bd93 2025-09-02 22:37:10,237 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/680350e9-f4ab-4b7d-98ef-18838d46bd93 2025-09-02 22:37:10,245 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0bd1ba8d-5305-4fce-b398-121a16a68815 2025-09-02 22:37:10,250 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0bd1ba8d-5305-4fce-b398-121a16a68815 2025-09-02 22:37:10,256 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/2f1bf8f8-bf25-47ba-a4c6-2227bd0dc92d 2025-09-02 22:37:10,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-02 22:37:10,261 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/680350e9-f4ab-4b7d-98ef-18838d46bd93 2025-09-02 22:37:10,268 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0bd1ba8d-5305-4fce-b398-121a16a68815 2025-09-02 22:37:10,278 - INFO - Verified VN network id 13 for VN 680350e9-f4ab-4b7d-98ef-18838d46bd93 2025-09-02 22:37:10,278 - INFO - Verifications in API Server for VN ctest-vn-15356625 passed 2025-09-02 22:37:10,278 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/680350e9-f4ab-4b7d-98ef-18838d46bd93 2025-09-02 22:37:10,285 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0bd1ba8d-5305-4fce-b398-121a16a68815 2025-09-02 22:37:10,290 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0bd1ba8d-5305-4fce-b398-121a16a68815 2025-09-02 22:37:10,295 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/2f1bf8f8-bf25-47ba-a4c6-2227bd0dc92d 2025-09-02 22:37:10,304 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-15356625', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48677928', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7494923170637106045', 'uuid-lslong': '11020053766488898963'}, 'enable': 'true', 'created': '2025-09-02T22:37:08', 'last-modified': '2025-09-02T22:37:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.249678'} 2025-09-02 22:37:10,309 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-02 22:37:10,309 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15356625 passed 2025-09-02 22:37:10,310 - DEBUG - ====Verifying policy data for ctest-vn-15356625 in API_Server ====== 2025-09-02 22:37:10,310 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-02 22:37:10,314 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6be2dd4-6f0e-430a-b00e-5c8fa96478a2 2025-09-02 22:37:10,324 - DEBUG - Requesting: http://10.0.0.48:8082/project/275ad76e-0e31-46bf-81a0-3f4238306d36 2025-09-02 22:37:10,392 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/680350e9-f4ab-4b7d-98ef-18838d46bd93 2025-09-02 22:37:10,400 - DEBUG - ==>Verifying data for policy with id: 03868147-dff6-464b-9aaf-eda9f05d0599, fqn: ['default-domain', 'ctest-TestBasicPolicy-48677928', 'ctest-policy-allow-all-55595877'] 2025-09-02 22:37:10,400 - INFO - VN ctest-vn-15356625 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-02 22:37:10,400 - DEBUG - Verifying the vn in opserver 2025-09-02 22:37:10,400 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-15356625 virtual network link through opserver 10.0.0.48 2025-09-02 22:37:10,400 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-02 22:37:10,408 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-15356625', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-15356625?flat'} 2025-09-02 22:37:10,408 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-15356625 is found in opserver 2025-09-02 22:37:10,416 - DEBUG - Do not have enough data to verify VN in agent 2025-09-02 22:37:10,420 - DEBUG - VRF ids for VN ctest-vn-15356625: {} 2025-09-02 22:37:10,471 - DEBUG - Services list from nova: [, , ] 2025-09-02 22:37:11,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4003-1) 2025-09-02 22:37:12,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4003-1) 2025-09-02 22:37:12,528 - INFO - Waiting for VM ctest-TestBasicPolicy-48677928-60434939 to be up.. 2025-09-02 22:37:12,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-02 22:37:17,664 - DEBUG - VM is in ACTIVE state now 2025-09-02 22:37:17,665 - INFO - VM name : ctest-TestBasicPolicy-48677928-60434939 2025-09-02 22:37:17,735 - DEBUG - VM ctest-TestBasicPolicy-48677928-60434939 ID is fd0ca51f-c0dd-4fe1-9229-00dc1e3fb0e0 2025-09-02 22:37:17,755 - DEBUG - VM ctest-TestBasicPolicy-48677928-60434939 launched on Node cn-jenkins-deploy-platform-ansible-os-4003-1 2025-09-02 22:37:17,833 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/fd0ca51f-c0dd-4fe1-9229-00dc1e3fb0e0 2025-09-02 22:37:17,841 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1aaa3dde-1eb8-4a3c-b5de-0cbbdc9ba623 2025-09-02 22:37:21,049 - 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 1018ms') 2025-09-02 22:37:21,049 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48677928-60434939 failed! 2025-09-02 22:37:21,107 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48677928:ctest-vn-07716992 is 169.45.124.65 and allocation pool is NOT set 2025-09-02 22:37:23,163 - 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=8.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.434/4.588/8.743/4.154 ms') 2025-09-02 22:37:23,163 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48677928-60434939 passed 2025-09-02 22:37:23,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:37:23,311 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48677928-60434939, IP 169.45.124.67, Port 22 2025-09-02 22:37:23,485 - DEBUG - VM ctest-TestBasicPolicy-48677928-60434939 is ready for SSH connections 2025-09-02 22:37:23,485 - INFO - Waiting for VM ctest-TestBasicPolicy-48677928-79539945 to be up.. 2025-09-02 22:37:23,552 - DEBUG - VM is in ACTIVE state now 2025-09-02 22:37:23,552 - INFO - VM name : ctest-TestBasicPolicy-48677928-79539945 2025-09-02 22:37:23,619 - DEBUG - VM ctest-TestBasicPolicy-48677928-79539945 ID is e3dbbe16-45d3-4474-a777-4c8c049caacf 2025-09-02 22:37:23,619 - DEBUG - VM ctest-TestBasicPolicy-48677928-79539945 launched on Node cn-jenkins-deploy-platform-ansible-os-4003-1 2025-09-02 22:37:23,686 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e3dbbe16-45d3-4474-a777-4c8c049caacf 2025-09-02 22:37:23,692 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1e2c973c-dc0b-42ca-b830-93ab1398043d 2025-09-02 22:37:24,929 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.778 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.778/2.094/3.411/1.316 ms') 2025-09-02 22:37:24,929 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48677928-79539945 passed 2025-09-02 22:37:25,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:37:25,075 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48677928-79539945, IP 151.33.109.195, Port 22 2025-09-02 22:37:25,241 - DEBUG - VM ctest-TestBasicPolicy-48677928-79539945 is ready for SSH connections 2025-09-02 22:37:25,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:37:25,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.33.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-02 22:37:25,241 - DEBUG - ping -s 56 -c 3 -W 1 151.33.109.195 2025-09-02 22:37:28,907 - DEBUG - PING 151.33.109.195 (151.33.109.195): 56 data bytes 64 bytes from 151.33.109.195: seq=0 ttl=63 time=3.599 ms 64 bytes from 151.33.109.195: seq=1 ttl=63 time=0.987 ms 64 bytes from 151.33.109.195: seq=2 ttl=63 time=1.197 ms --- 151.33.109.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.987/1.927/3.599 ms 2025-09-02 22:37:28,907 - INFO - Ping to IP 151.33.109.195 from VM ctest-TestBasicPolicy-48677928-60434939 passed 2025-09-02 22:37:29,095 - DEBUG - Policy Update Response {"network-policy": {"uuid": "03868147-dff6-464b-9aaf-eda9f05d0599", "href": "http://10.0.0.48:8082/network-policy/03868147-dff6-464b-9aaf-eda9f05d0599"}} 2025-09-02 22:37:29,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 22:37:29,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.33.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-02 22:37:29,095 - DEBUG - ping -s 56 -c 3 -W 1 151.33.109.195 2025-09-02 22:37:32,305 - DEBUG - PING 151.33.109.195 (151.33.109.195): 56 data bytes --- 151.33.109.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-02 22:37:32,305 - WARNING - Ping to IP 151.33.109.195 from VM ctest-TestBasicPolicy-48677928-60434939 failed 2025-09-02 22:37:32,305 - INFO - Deleting VM ctest-TestBasicPolicy-48677928-79539945 2025-09-02 22:37:32,368 - INFO - Deleting VM ctest-TestBasicPolicy-48677928-60434939 2025-09-02 22:37:32,742 - INFO - Deleted policy ctest-policy-allow-all-55595877 2025-09-02 22:37:32,743 - INFO - Deleting VN ctest-vn-15356625 2025-09-02 22:37:32,782 - DEBUG - VN 680350e9-f4ab-4b7d-98ef-18838d46bd93 still in use: Unable to complete operation on network 680350e9-f4ab-4b7d-98ef-18838d46bd93. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-63fa488b-2865-40ca-80e4-24e11fa3326b'] 2025-09-02 22:37:32,782 - WARNING - Deleting VN ctest-vn-15356625 failed..Will retry 2025-09-02 22:37:34,876 - DEBUG - Response for deleting network () 2025-09-02 22:37:34,876 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0bd1ba8d-5305-4fce-b398-121a16a68815 2025-09-02 22:37:34,880 - DEBUG - Response Code: 404 2025-09-02 22:37:34,880 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-02 22:37:34,885 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6be2dd4-6f0e-430a-b00e-5c8fa96478a2 2025-09-02 22:37:34,940 - DEBUG - Requesting: http://10.0.0.48:8082/project/275ad76e-0e31-46bf-81a0-3f4238306d36 2025-09-02 22:37:35,015 - INFO - Validated that VN ctest-vn-15356625 is not found in API Server 2025-09-02 22:37:35,025 - DEBUG - VN ctest-vn-15356625 is not present in Agent 10.0.0.48 2025-09-02 22:37:35,025 - INFO - Validated that VN ctest-vn-15356625 is not in any agent 2025-09-02 22:37:35,037 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15356625 info 2025-09-02 22:37:35,037 - INFO - Deleting VN ctest-vn-07716992 2025-09-02 22:37:35,135 - DEBUG - Response for deleting network () 2025-09-02 22:37:35,135 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/9b7b57ea-c7ea-4ca0-b613-3be72bb4e8ef 2025-09-02 22:37:35,140 - DEBUG - Response Code: 404 2025-09-02 22:37:35,140 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-02 22:37:35,145 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6be2dd4-6f0e-430a-b00e-5c8fa96478a2 2025-09-02 22:37:35,196 - DEBUG - Requesting: http://10.0.0.48:8082/project/275ad76e-0e31-46bf-81a0-3f4238306d36 2025-09-02 22:37:35,265 - INFO - Validated that VN ctest-vn-07716992 is not found in API Server 2025-09-02 22:37:35,273 - DEBUG - VN ctest-vn-07716992 is not present in Agent 10.0.0.48 2025-09-02 22:37:35,273 - INFO - Validated that VN ctest-vn-07716992 is not in any agent 2025-09-02 22:37:35,285 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07716992 info 2025-09-02 22:37:35,541 - DEBUG - No XMPP flaps were noticed during the test
2025-09-02 22:37:35,541 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-02 22:37:35,541 - INFO - -------------------------------------------------------------------------------- 2025-09-02 22:37:36,226 - INFO - Deleted project: ctest-TestBasicPolicy-48677928, ID : 275ad76e-0e31-46bf-81a0-3f4238306d36