2026-02-05 10:30:04,191 - INFO - Domain Default found not creating 2026-02-05 10:30:04,377 - INFO - Project ctest-TestBasicPolicy-61698520 not found, creating it 2026-02-05 10:30:04,830 - INFO - Created Project:ctest-TestBasicPolicy-61698520, ID : 29080f19-3d6c-4955-83b1-d4a08b0abfc1 2026-02-05 10:30:06,276 - INFO - ================================================================================ 2026-02-05 10:30:06,276 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-05 10:30:06,276 - 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 2026-02-05 10:30:06,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-02-05 10:30:06,532 - INFO - Initial checks done. Running the testcase now 2026-02-05 10:30:06,532 - INFO - 2026-02-05 10:30:07,087 - DEBUG - Response for create_network : {'network': {'id': '3a9ccf7c-0323-4a36-997a-45b4effafae5', 'name': 'ctest-vn-60703855', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'project_id': '29080f193d6c495583b1d4a08b0abfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-vn-60703855'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 10:30:07,293 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e9f51ea-6dd9-4844-8c5b-4b779098d905', 'name': '', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'network_id': '3a9ccf7c-0323-4a36-997a-45b4effafae5', 'ip_version': 4, 'cidr': '73.43.159.192/26', 'allocation_pools': [{'start': '73.43.159.194', 'end': '73.43.159.254'}], 'gateway_ip': '73.43.159.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.43.159.194', 'tags': [], 'project_id': '29080f193d6c495583b1d4a08b0abfc1'}} 2026-02-05 10:30:07,309 - INFO - Created VN ctest-vn-60703855 2026-02-05 10:30:07,363 - DEBUG - VN ctest-vn-60703855 UUID is 3a9ccf7c-0323-4a36-997a-45b4effafae5 2026-02-05 10:30:07,671 - DEBUG - Response for create_network : {'network': {'id': '7817f602-13a2-4e03-8fb9-224d1b413b21', 'name': 'ctest-vn-95311365', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'project_id': '29080f193d6c495583b1d4a08b0abfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-vn-95311365'], 'port_security_enabled': True, 'description': ''}} 2026-02-05 10:30:07,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '218737b5-01b4-4e54-be5b-3cd21ae4fd26', 'name': '', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'network_id': '7817f602-13a2-4e03-8fb9-224d1b413b21', 'ip_version': 4, 'cidr': '154.21.229.64/26', 'allocation_pools': [{'start': '154.21.229.66', 'end': '154.21.229.126'}], 'gateway_ip': '154.21.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.21.229.66', 'tags': [], 'project_id': '29080f193d6c495583b1d4a08b0abfc1'}} 2026-02-05 10:30:07,853 - INFO - Created VN ctest-vn-95311365 2026-02-05 10:30:07,907 - DEBUG - VN ctest-vn-95311365 UUID is 7817f602-13a2-4e03-8fb9-224d1b413b21 2026-02-05 10:30:08,023 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855, 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-61698520:ctest-vn-95311365, 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] 2026-02-05 10:30:08,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a9ccf7c-0323-4a36-997a-45b4effafae5', 'name': 'ctest-vn-60703855', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'project_id': '29080f193d6c495583b1d4a08b0abfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9e9f51ea-6dd9-4844-8c5b-4b779098d905'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-vn-60703855'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-policy-allow-all-03718205']], 'subnet_ipam': [{'subnet_cidr': '73.43.159.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-05 10:30:08,527 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7817f602-13a2-4e03-8fb9-224d1b413b21', 'name': 'ctest-vn-95311365', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'project_id': '29080f193d6c495583b1d4a08b0abfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['218737b5-01b4-4e54-be5b-3cd21ae4fd26'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-vn-95311365'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-policy-allow-all-03718205']], 'subnet_ipam': [{'subnet_cidr': '154.21.229.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-05 10:30:08,691 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-05 10:30:08,980 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-05 10:30:09,008 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84a78138-762a-4f45-ab17-31d4ff645ab1 2026-02-05 10:30:09,019 - DEBUG - Requesting: http://10.0.0.33:8082/project/29080f19-3d6c-4955-83b1-d4a08b0abfc1 2026-02-05 10:30:09,087 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3a9ccf7c-0323-4a36-997a-45b4effafae5 2026-02-05 10:30:09,096 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3a9ccf7c-0323-4a36-997a-45b4effafae5 2026-02-05 10:30:09,104 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04 2026-02-05 10:30:09,111 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04 2026-02-05 10:30:09,117 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0871de48-b328-4eae-980e-9d51a70f3361 2026-02-05 10:30:09,122 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 10:30:09,122 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3a9ccf7c-0323-4a36-997a-45b4effafae5 2026-02-05 10:30:09,129 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04 2026-02-05 10:30:09,141 - INFO - Verified VN network id 12 for VN 3a9ccf7c-0323-4a36-997a-45b4effafae5 2026-02-05 10:30:09,141 - INFO - Verifications in API Server for VN ctest-vn-60703855 passed 2026-02-05 10:30:09,141 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3a9ccf7c-0323-4a36-997a-45b4effafae5 2026-02-05 10:30:09,149 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04 2026-02-05 10:30:09,155 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04 2026-02-05 10:30:09,160 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0871de48-b328-4eae-980e-9d51a70f3361 2026-02-05 10:30:09,170 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61698520', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4223478682102221366', 'uuid-lslong': '11059228478384306917'}, 'enable': 'true', 'created': '2026-02-05T10:30:07', 'last-modified': '2026-02-05T10:30:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890292'} 2026-02-05 10:30:09,176 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 10:30:09,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60703855 passed 2026-02-05 10:30:09,176 - DEBUG - ====Verifying policy data for ctest-vn-60703855 in API_Server ====== 2026-02-05 10:30:09,176 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-05 10:30:09,181 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84a78138-762a-4f45-ab17-31d4ff645ab1 2026-02-05 10:30:09,191 - DEBUG - Requesting: http://10.0.0.33:8082/project/29080f19-3d6c-4955-83b1-d4a08b0abfc1 2026-02-05 10:30:09,260 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3a9ccf7c-0323-4a36-997a-45b4effafae5 2026-02-05 10:30:09,277 - DEBUG - ==>Verifying data for policy with id: 9cb6ad6a-f2fc-4b0f-b6c8-8119a6c0b0c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-policy-allow-all-03718205'] 2026-02-05 10:30:09,277 - INFO - VN ctest-vn-60703855 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-05 10:30:09,277 - DEBUG - Verifying the vn in opserver 2026-02-05 10:30:09,277 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855 virtual network link through opserver 10.0.0.33 2026-02-05 10:30:09,277 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-05 10:30:09,570 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-05 10:30:09,628 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855?flat'} 2026-02-05 10:30:09,629 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855 is found in opserver 2026-02-05 10:30:09,637 - DEBUG - Do not have enough data to verify VN in agent 2026-02-05 10:30:09,641 - DEBUG - VRF ids for VN ctest-vn-60703855: {} 2026-02-05 10:30:09,641 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-05 10:30:09,646 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84a78138-762a-4f45-ab17-31d4ff645ab1 2026-02-05 10:30:09,656 - DEBUG - Requesting: http://10.0.0.33:8082/project/29080f19-3d6c-4955-83b1-d4a08b0abfc1 2026-02-05 10:30:09,724 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7817f602-13a2-4e03-8fb9-224d1b413b21 2026-02-05 10:30:09,734 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7817f602-13a2-4e03-8fb9-224d1b413b21 2026-02-05 10:30:09,743 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097 2026-02-05 10:30:09,750 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097 2026-02-05 10:30:09,757 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a772894a-6a78-422e-86bb-f041f6234d75 2026-02-05 10:30:09,763 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-05 10:30:09,763 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7817f602-13a2-4e03-8fb9-224d1b413b21 2026-02-05 10:30:09,773 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097 2026-02-05 10:30:09,788 - INFO - Verified VN network id 13 for VN 7817f602-13a2-4e03-8fb9-224d1b413b21 2026-02-05 10:30:09,788 - INFO - Verifications in API Server for VN ctest-vn-95311365 passed 2026-02-05 10:30:09,788 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7817f602-13a2-4e03-8fb9-224d1b413b21 2026-02-05 10:30:09,796 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097 2026-02-05 10:30:09,803 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097 2026-02-05 10:30:09,809 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a772894a-6a78-422e-86bb-f041f6234d75 2026-02-05 10:30:09,821 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-95311365', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61698520', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8653655697795468803', 'uuid-lslong': '10356346532680252193'}, 'enable': 'true', 'created': '2026-02-05T10:30:07', 'last-modified': '2026-02-05T10:30:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317772'} 2026-02-05 10:30:09,826 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-05 10:30:09,826 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95311365 passed 2026-02-05 10:30:09,826 - DEBUG - ====Verifying policy data for ctest-vn-95311365 in API_Server ====== 2026-02-05 10:30:09,826 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-05 10:30:09,832 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84a78138-762a-4f45-ab17-31d4ff645ab1 2026-02-05 10:30:09,842 - DEBUG - Requesting: http://10.0.0.33:8082/project/29080f19-3d6c-4955-83b1-d4a08b0abfc1 2026-02-05 10:30:09,913 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7817f602-13a2-4e03-8fb9-224d1b413b21 2026-02-05 10:30:09,921 - DEBUG - ==>Verifying data for policy with id: 9cb6ad6a-f2fc-4b0f-b6c8-8119a6c0b0c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-policy-allow-all-03718205'] 2026-02-05 10:30:09,922 - INFO - VN ctest-vn-95311365 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-05 10:30:09,922 - DEBUG - Verifying the vn in opserver 2026-02-05 10:30:09,922 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-95311365 virtual network link through opserver 10.0.0.33 2026-02-05 10:30:09,922 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-05 10:30:09,931 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-95311365', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-95311365?flat'} 2026-02-05 10:30:09,931 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-95311365 is found in opserver 2026-02-05 10:30:09,940 - DEBUG - Do not have enough data to verify VN in agent 2026-02-05 10:30:09,944 - DEBUG - VRF ids for VN ctest-vn-95311365: {} 2026-02-05 10:30:09,997 - DEBUG - Services list from nova: [, , ] 2026-02-05 10:30:11,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5218-1) 2026-02-05 10:30:12,201 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5218-1) 2026-02-05 10:30:12,202 - INFO - Waiting for VM ctest-TestBasicPolicy-61698520-23510963 to be up.. 2026-02-05 10:30:12,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 10:30:17,364 - DEBUG - VM is in ACTIVE state now 2026-02-05 10:30:17,364 - INFO - VM name : ctest-TestBasicPolicy-61698520-23510963 2026-02-05 10:30:17,437 - DEBUG - VM ctest-TestBasicPolicy-61698520-23510963 ID is a60c82d7-6f05-4eac-94f5-9d60ccdc814e 2026-02-05 10:30:17,456 - DEBUG - VM ctest-TestBasicPolicy-61698520-23510963 launched on Node cn-jenkins-deploy-platform-ansible-os-5218-1 2026-02-05 10:30:17,526 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a60c82d7-6f05-4eac-94f5-9d60ccdc814e 2026-02-05 10:30:17,535 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e138f0f8-c215-474e-8fb9-91b60e00095d 2026-02-05 10:30:20,779 - 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 1015ms') 2026-02-05 10:30:20,779 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61698520-23510963 failed! 2026-02-05 10:30:20,835 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855 is 73.43.159.193 and allocation pool is NOT set 2026-02-05 10:30:22,899 - 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=14.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.20 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.201/8.193/14.186/5.992 ms') 2026-02-05 10:30:22,899 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61698520-23510963 passed 2026-02-05 10:30:23,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:30:23,055 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61698520-23510963, IP 73.43.159.195, Port 22 2026-02-05 10:30:23,211 - DEBUG - VM ctest-TestBasicPolicy-61698520-23510963 is ready for SSH connections 2026-02-05 10:30:23,211 - INFO - Waiting for VM ctest-TestBasicPolicy-61698520-57724804 to be up.. 2026-02-05 10:30:23,291 - DEBUG - VM is in ACTIVE state now 2026-02-05 10:30:23,291 - INFO - VM name : ctest-TestBasicPolicy-61698520-57724804 2026-02-05 10:30:23,368 - DEBUG - VM ctest-TestBasicPolicy-61698520-57724804 ID is b001a0a0-74f5-4292-954e-fd93d8934d99 2026-02-05 10:30:23,369 - DEBUG - VM ctest-TestBasicPolicy-61698520-57724804 launched on Node cn-jenkins-deploy-platform-ansible-os-5218-1 2026-02-05 10:30:23,447 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b001a0a0-74f5-4292-954e-fd93d8934d99 2026-02-05 10:30:23,456 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2682c3e4-ade8-461c-9a0b-a7e94d37c7dc 2026-02-05 10:30:24,702 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.572 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.572/2.075/3.578/1.503 ms') 2026-02-05 10:30:24,702 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61698520-57724804 passed 2026-02-05 10:30:24,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:30:24,855 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61698520-57724804, IP 154.21.229.67, Port 22 2026-02-05 10:30:25,014 - DEBUG - VM ctest-TestBasicPolicy-61698520-57724804 is ready for SSH connections 2026-02-05 10:30:25,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:30:25,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.21.229.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-05 10:30:25,015 - DEBUG - ping -s 56 -c 3 -W 1 154.21.229.67 2026-02-05 10:30:28,994 - DEBUG - PING 154.21.229.67 (154.21.229.67): 56 data bytes 64 bytes from 154.21.229.67: seq=0 ttl=63 time=3.692 ms 64 bytes from 154.21.229.67: seq=1 ttl=63 time=0.726 ms 64 bytes from 154.21.229.67: seq=2 ttl=63 time=0.882 ms --- 154.21.229.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.766/3.692 ms 2026-02-05 10:30:28,994 - INFO - Ping to IP 154.21.229.67 from VM ctest-TestBasicPolicy-61698520-23510963 passed 2026-02-05 10:30:29,167 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9cb6ad6a-f2fc-4b0f-b6c8-8119a6c0b0c4", "href": "http://10.0.0.33:8082/network-policy/9cb6ad6a-f2fc-4b0f-b6c8-8119a6c0b0c4"}} 2026-02-05 10:30:29,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 10:30:29,167 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.21.229.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-05 10:30:29,167 - DEBUG - ping -s 56 -c 3 -W 1 154.21.229.67 2026-02-05 10:30:32,376 - DEBUG - PING 154.21.229.67 (154.21.229.67): 56 data bytes --- 154.21.229.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-05 10:30:32,376 - WARNING - Ping to IP 154.21.229.67 from VM ctest-TestBasicPolicy-61698520-23510963 failed 2026-02-05 10:30:32,376 - INFO - Deleting VM ctest-TestBasicPolicy-61698520-57724804 2026-02-05 10:30:32,440 - INFO - Deleting VM ctest-TestBasicPolicy-61698520-23510963 2026-02-05 10:30:32,791 - INFO - Deleted policy ctest-policy-allow-all-03718205 2026-02-05 10:30:32,791 - INFO - Deleting VN ctest-vn-95311365 2026-02-05 10:30:32,824 - DEBUG - VN 7817f602-13a2-4e03-8fb9-224d1b413b21 still in use: Unable to complete operation on network 7817f602-13a2-4e03-8fb9-224d1b413b21. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff2c5993-2ac7-43dc-91ea-3374d2e8b6cb'] 2026-02-05 10:30:32,824 - WARNING - Deleting VN ctest-vn-95311365 failed..Will retry 2026-02-05 10:30:34,904 - DEBUG - Response for deleting network () 2026-02-05 10:30:34,905 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097 2026-02-05 10:30:34,915 - DEBUG - Response Code: 404 2026-02-05 10:30:34,916 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-05 10:30:34,924 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84a78138-762a-4f45-ab17-31d4ff645ab1 2026-02-05 10:30:34,977 - DEBUG - Requesting: http://10.0.0.33:8082/project/29080f19-3d6c-4955-83b1-d4a08b0abfc1 2026-02-05 10:30:35,040 - INFO - Validated that VN ctest-vn-95311365 is not found in API Server 2026-02-05 10:30:35,049 - DEBUG - VN ctest-vn-95311365 is not present in Agent 10.0.0.33 2026-02-05 10:30:35,049 - INFO - Validated that VN ctest-vn-95311365 is not in any agent 2026-02-05 10:30:35,060 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95311365 info 2026-02-05 10:30:35,060 - INFO - Deleting VN ctest-vn-60703855 2026-02-05 10:30:35,144 - DEBUG - Response for deleting network () 2026-02-05 10:30:35,145 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04 2026-02-05 10:30:35,149 - DEBUG - Response Code: 404 2026-02-05 10:30:35,149 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-05 10:30:35,154 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84a78138-762a-4f45-ab17-31d4ff645ab1 2026-02-05 10:30:35,207 - DEBUG - Requesting: http://10.0.0.33:8082/project/29080f19-3d6c-4955-83b1-d4a08b0abfc1 2026-02-05 10:30:35,273 - INFO - Validated that VN ctest-vn-60703855 is not found in API Server 2026-02-05 10:30:35,283 - DEBUG - VN ctest-vn-60703855 is not present in Agent 10.0.0.33 2026-02-05 10:30:35,283 - INFO - Validated that VN ctest-vn-60703855 is not in any agent 2026-02-05 10:30:35,295 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60703855 info 2026-02-05 10:30:35,547 - DEBUG - No XMPP flaps were noticed during the test
2026-02-05 10:30:35,547 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-05 10:30:35,547 - INFO - -------------------------------------------------------------------------------- 2026-02-05 10:30:36,209 - INFO - Deleted project: ctest-TestBasicPolicy-61698520, ID : 29080f19-3d6c-4955-83b1-d4a08b0abfc1