2026-05-25 14:03:45,001 - INFO - Domain Default found not creating 2026-05-25 14:03:45,149 - INFO - Project ctest-TestBasicPolicy-71264172 not found, creating it 2026-05-25 14:03:45,587 - INFO - Created Project:ctest-TestBasicPolicy-71264172, ID : bd715e51-dbaf-414f-b6fa-0b404827a5d0 2026-05-25 14:03:47,052 - INFO - ================================================================================ 2026-05-25 14:03:47,052 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-25 14:03:47,052 - 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-05-25 14:03:47,307 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-05-25 14:03:47,308 - INFO - Initial checks done. Running the testcase now 2026-05-25 14:03:47,308 - INFO - 2026-05-25 14:03:47,892 - DEBUG - Response for create_network : {'network': {'id': 'a7f0ed0f-70d4-418f-871a-6e88bae18d9a', 'name': 'ctest-vn-38209510', 'tenant_id': 'bd715e51dbaf414fb6fa0b404827a5d0', 'project_id': 'bd715e51dbaf414fb6fa0b404827a5d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71264172', 'ctest-vn-38209510'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 14:03:48,073 - DEBUG - Response for create_subnet : {'subnet': {'id': 'def0eb9a-fb6c-496c-814a-a4fe65ae4e71', 'name': '', 'tenant_id': 'bd715e51dbaf414fb6fa0b404827a5d0', 'network_id': 'a7f0ed0f-70d4-418f-871a-6e88bae18d9a', 'ip_version': 4, 'cidr': '4.165.163.0/26', 'allocation_pools': [{'start': '4.165.163.2', 'end': '4.165.163.62'}], 'gateway_ip': '4.165.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.165.163.2', 'tags': [], 'project_id': 'bd715e51dbaf414fb6fa0b404827a5d0'}} 2026-05-25 14:03:48,090 - INFO - Created VN ctest-vn-38209510 2026-05-25 14:03:48,142 - DEBUG - VN ctest-vn-38209510 UUID is a7f0ed0f-70d4-418f-871a-6e88bae18d9a 2026-05-25 14:03:48,419 - DEBUG - Response for create_network : {'network': {'id': '1f60f057-b92d-4e42-83b9-bbcfe79c6aea', 'name': 'ctest-vn-02507533', 'tenant_id': 'bd715e51dbaf414fb6fa0b404827a5d0', 'project_id': 'bd715e51dbaf414fb6fa0b404827a5d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71264172', 'ctest-vn-02507533'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 14:03:48,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '72d441fd-c426-49ee-a383-2fd6440f7085', 'name': '', 'tenant_id': 'bd715e51dbaf414fb6fa0b404827a5d0', 'network_id': '1f60f057-b92d-4e42-83b9-bbcfe79c6aea', 'ip_version': 4, 'cidr': '114.150.100.128/26', 'allocation_pools': [{'start': '114.150.100.130', 'end': '114.150.100.190'}], 'gateway_ip': '114.150.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.150.100.130', 'tags': [], 'project_id': 'bd715e51dbaf414fb6fa0b404827a5d0'}} 2026-05-25 14:03:48,592 - INFO - Created VN ctest-vn-02507533 2026-05-25 14:03:48,646 - DEBUG - VN ctest-vn-02507533 UUID is 1f60f057-b92d-4e42-83b9-bbcfe79c6aea 2026-05-25 14:03:48,790 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-38209510, 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-71264172:ctest-vn-02507533, 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-05-25 14:03:49,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a7f0ed0f-70d4-418f-871a-6e88bae18d9a', 'name': 'ctest-vn-38209510', 'tenant_id': 'bd715e51dbaf414fb6fa0b404827a5d0', 'project_id': 'bd715e51dbaf414fb6fa0b404827a5d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['def0eb9a-fb6c-496c-814a-a4fe65ae4e71'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71264172', 'ctest-vn-38209510'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71264172', 'ctest-policy-allow-all-53831039']], 'subnet_ipam': [{'subnet_cidr': '4.165.163.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-25 14:03:49,278 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1f60f057-b92d-4e42-83b9-bbcfe79c6aea', 'name': 'ctest-vn-02507533', 'tenant_id': 'bd715e51dbaf414fb6fa0b404827a5d0', 'project_id': 'bd715e51dbaf414fb6fa0b404827a5d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72d441fd-c426-49ee-a383-2fd6440f7085'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71264172', 'ctest-vn-02507533'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71264172', 'ctest-policy-allow-all-53831039']], 'subnet_ipam': [{'subnet_cidr': '114.150.100.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-25 14:03:49,434 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-25 14:03:49,734 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-25 14:03:49,768 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ef9b8e72-c2e4-4c37-855c-d72c44d85cfc 2026-05-25 14:03:49,778 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd715e51-dbaf-414f-b6fa-0b404827a5d0 2026-05-25 14:03:49,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a7f0ed0f-70d4-418f-871a-6e88bae18d9a 2026-05-25 14:03:49,858 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a7f0ed0f-70d4-418f-871a-6e88bae18d9a 2026-05-25 14:03:49,867 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec0f8a7-4d2f-4385-a0d9-4400ecce94b8 2026-05-25 14:03:49,874 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec0f8a7-4d2f-4385-a0d9-4400ecce94b8 2026-05-25 14:03:49,880 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/beaab5ac-d627-4181-b3f7-1a1b5af584c9 2026-05-25 14:03:49,886 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-25 14:03:49,886 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a7f0ed0f-70d4-418f-871a-6e88bae18d9a 2026-05-25 14:03:49,894 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec0f8a7-4d2f-4385-a0d9-4400ecce94b8 2026-05-25 14:03:49,909 - INFO - Verified VN network id 11 for VN a7f0ed0f-70d4-418f-871a-6e88bae18d9a 2026-05-25 14:03:49,909 - INFO - Verifications in API Server for VN ctest-vn-38209510 passed 2026-05-25 14:03:49,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a7f0ed0f-70d4-418f-871a-6e88bae18d9a 2026-05-25 14:03:49,917 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec0f8a7-4d2f-4385-a0d9-4400ecce94b8 2026-05-25 14:03:49,923 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec0f8a7-4d2f-4385-a0d9-4400ecce94b8 2026-05-25 14:03:49,929 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/beaab5ac-d627-4181-b3f7-1a1b5af584c9 2026-05-25 14:03:49,940 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-38209510', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71264172', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12101432849317773711', 'uuid-lslong': '9735215078044700058'}, 'enable': 'true', 'created': '2026-05-25T14:03:47', 'last-modified': '2026-05-25T14:03:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.879290'} 2026-05-25 14:03:49,948 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-25 14:03:49,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38209510 passed 2026-05-25 14:03:49,949 - DEBUG - ====Verifying policy data for ctest-vn-38209510 in API_Server ====== 2026-05-25 14:03:49,949 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-25 14:03:49,954 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ef9b8e72-c2e4-4c37-855c-d72c44d85cfc 2026-05-25 14:03:49,964 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd715e51-dbaf-414f-b6fa-0b404827a5d0 2026-05-25 14:03:50,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a7f0ed0f-70d4-418f-871a-6e88bae18d9a 2026-05-25 14:03:50,043 - DEBUG - ==>Verifying data for policy with id: 815e5bda-591e-4a41-91cf-40bfe29da888, fqn: ['default-domain', 'ctest-TestBasicPolicy-71264172', 'ctest-policy-allow-all-53831039'] 2026-05-25 14:03:50,043 - INFO - VN ctest-vn-38209510 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-25 14:03:50,043 - DEBUG - Verifying the vn in opserver 2026-05-25 14:03:50,044 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-38209510 virtual network link through opserver 10.0.0.38 2026-05-25 14:03:50,044 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-25 14:03:50,334 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-25 14:03:50,400 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-38209510', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-38209510?flat'} 2026-05-25 14:03:50,400 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-38209510 is found in opserver 2026-05-25 14:03:50,416 - DEBUG - Do not have enough data to verify VN in agent 2026-05-25 14:03:50,420 - DEBUG - VRF ids for VN ctest-vn-38209510: {} 2026-05-25 14:03:50,420 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-25 14:03:50,425 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ef9b8e72-c2e4-4c37-855c-d72c44d85cfc 2026-05-25 14:03:50,436 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd715e51-dbaf-414f-b6fa-0b404827a5d0 2026-05-25 14:03:50,505 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1f60f057-b92d-4e42-83b9-bbcfe79c6aea 2026-05-25 14:03:50,515 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1f60f057-b92d-4e42-83b9-bbcfe79c6aea 2026-05-25 14:03:50,524 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18b2cc43-7300-4608-ab56-c4fabe1c42a2 2026-05-25 14:03:50,532 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18b2cc43-7300-4608-ab56-c4fabe1c42a2 2026-05-25 14:03:50,539 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c0285582-bb67-43ff-a264-2413ee59c101 2026-05-25 14:03:50,545 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-25 14:03:50,545 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1f60f057-b92d-4e42-83b9-bbcfe79c6aea 2026-05-25 14:03:50,555 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18b2cc43-7300-4608-ab56-c4fabe1c42a2 2026-05-25 14:03:50,569 - INFO - Verified VN network id 12 for VN 1f60f057-b92d-4e42-83b9-bbcfe79c6aea 2026-05-25 14:03:50,569 - INFO - Verifications in API Server for VN ctest-vn-02507533 passed 2026-05-25 14:03:50,569 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1f60f057-b92d-4e42-83b9-bbcfe79c6aea 2026-05-25 14:03:50,577 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18b2cc43-7300-4608-ab56-c4fabe1c42a2 2026-05-25 14:03:50,584 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18b2cc43-7300-4608-ab56-c4fabe1c42a2 2026-05-25 14:03:50,590 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c0285582-bb67-43ff-a264-2413ee59c101 2026-05-25 14:03:50,600 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-02507533', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71264172', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2261071272499564098', 'uuid-lslong': '9491824191278443242'}, 'enable': 'true', 'created': '2026-05-25T14:03:48', 'last-modified': '2026-05-25T14:03:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.340684'} 2026-05-25 14:03:50,606 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-25 14:03:50,606 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02507533 passed 2026-05-25 14:03:50,606 - DEBUG - ====Verifying policy data for ctest-vn-02507533 in API_Server ====== 2026-05-25 14:03:50,606 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-25 14:03:50,611 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ef9b8e72-c2e4-4c37-855c-d72c44d85cfc 2026-05-25 14:03:50,622 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd715e51-dbaf-414f-b6fa-0b404827a5d0 2026-05-25 14:03:50,689 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1f60f057-b92d-4e42-83b9-bbcfe79c6aea 2026-05-25 14:03:50,697 - DEBUG - ==>Verifying data for policy with id: 815e5bda-591e-4a41-91cf-40bfe29da888, fqn: ['default-domain', 'ctest-TestBasicPolicy-71264172', 'ctest-policy-allow-all-53831039'] 2026-05-25 14:03:50,697 - INFO - VN ctest-vn-02507533 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-25 14:03:50,697 - DEBUG - Verifying the vn in opserver 2026-05-25 14:03:50,697 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-02507533 virtual network link through opserver 10.0.0.38 2026-05-25 14:03:50,697 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-25 14:03:50,705 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-02507533', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-02507533?flat'} 2026-05-25 14:03:50,705 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-02507533 is found in opserver 2026-05-25 14:03:50,713 - DEBUG - Do not have enough data to verify VN in agent 2026-05-25 14:03:50,716 - DEBUG - VRF ids for VN ctest-vn-02507533: {} 2026-05-25 14:03:50,770 - DEBUG - Services list from nova: [, , ] 2026-05-25 14:03:51,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5824-1) 2026-05-25 14:03:52,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5824-1) 2026-05-25 14:03:52,921 - INFO - Waiting for VM ctest-TestBasicPolicy-71264172-44847682 to be up.. 2026-05-25 14:03:53,001 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-25 14:03:58,076 - DEBUG - VM is in ACTIVE state now 2026-05-25 14:03:58,076 - INFO - VM name : ctest-TestBasicPolicy-71264172-44847682 2026-05-25 14:03:58,155 - DEBUG - VM ctest-TestBasicPolicy-71264172-44847682 ID is 25ef60e0-520f-4467-8cc1-3597a049f062 2026-05-25 14:03:58,175 - DEBUG - VM ctest-TestBasicPolicy-71264172-44847682 launched on Node cn-jenkins-deploy-platform-ansible-os-5824-1 2026-05-25 14:03:58,246 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/25ef60e0-520f-4467-8cc1-3597a049f062 2026-05-25 14:03:58,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7653eb6d-c893-4309-9fa0-4e47bc7e6091 2026-05-25 14:04:01,501 - 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-05-25 14:04:01,502 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71264172-44847682 failed! 2026-05-25 14:04:01,554 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71264172:ctest-vn-38209510 is 4.165.163.1 and allocation pool is NOT set 2026-05-25 14:04:03,619 - 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=7.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.536 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.536/3.853/7.170/3.317 ms') 2026-05-25 14:04:03,619 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71264172-44847682 passed 2026-05-25 14:04:03,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:04:03,770 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71264172-44847682, IP 4.165.163.3, Port 22 2026-05-25 14:04:03,926 - DEBUG - VM ctest-TestBasicPolicy-71264172-44847682 is ready for SSH connections 2026-05-25 14:04:03,927 - INFO - Waiting for VM ctest-TestBasicPolicy-71264172-11197861 to be up.. 2026-05-25 14:04:04,013 - DEBUG - VM is in ACTIVE state now 2026-05-25 14:04:04,013 - INFO - VM name : ctest-TestBasicPolicy-71264172-11197861 2026-05-25 14:04:04,089 - DEBUG - VM ctest-TestBasicPolicy-71264172-11197861 ID is 1d543953-600b-40df-9a4d-60996dd5e329 2026-05-25 14:04:04,089 - DEBUG - VM ctest-TestBasicPolicy-71264172-11197861 launched on Node cn-jenkins-deploy-platform-ansible-os-5824-1 2026-05-25 14:04:04,168 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1d543953-600b-40df-9a4d-60996dd5e329 2026-05-25 14:04:04,176 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/10fc0d0a-af4e-444b-8e68-bf51eb6b6e0b 2026-05-25 14:04:05,406 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.702/2.922/1.219 ms') 2026-05-25 14:04:05,406 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71264172-11197861 passed 2026-05-25 14:04:05,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:04:05,555 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71264172-11197861, IP 114.150.100.131, Port 22 2026-05-25 14:04:05,718 - DEBUG - VM ctest-TestBasicPolicy-71264172-11197861 is ready for SSH connections 2026-05-25 14:04:05,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:04:05,718 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.150.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-25 14:04:05,718 - DEBUG - ping -s 56 -c 3 -W 1 114.150.100.131 2026-05-25 14:04:09,762 - DEBUG - PING 114.150.100.131 (114.150.100.131): 56 data bytes 64 bytes from 114.150.100.131: seq=0 ttl=63 time=3.850 ms 64 bytes from 114.150.100.131: seq=1 ttl=63 time=0.889 ms 64 bytes from 114.150.100.131: seq=2 ttl=63 time=0.902 ms --- 114.150.100.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.880/3.850 ms 2026-05-25 14:04:09,762 - INFO - Ping to IP 114.150.100.131 from VM ctest-TestBasicPolicy-71264172-44847682 passed 2026-05-25 14:04:09,942 - DEBUG - Policy Update Response {"network-policy": {"uuid": "815e5bda-591e-4a41-91cf-40bfe29da888", "href": "http://10.0.0.38:8082/network-policy/815e5bda-591e-4a41-91cf-40bfe29da888"}} 2026-05-25 14:04:09,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:04:09,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.150.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-25 14:04:09,943 - DEBUG - ping -s 56 -c 3 -W 1 114.150.100.131 2026-05-25 14:04:13,177 - DEBUG - PING 114.150.100.131 (114.150.100.131): 56 data bytes --- 114.150.100.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-25 14:04:13,177 - WARNING - Ping to IP 114.150.100.131 from VM ctest-TestBasicPolicy-71264172-44847682 failed 2026-05-25 14:04:13,177 - INFO - Deleting VM ctest-TestBasicPolicy-71264172-11197861 2026-05-25 14:04:13,243 - INFO - Deleting VM ctest-TestBasicPolicy-71264172-44847682 2026-05-25 14:04:13,600 - INFO - Deleted policy ctest-policy-allow-all-53831039 2026-05-25 14:04:13,600 - INFO - Deleting VN ctest-vn-02507533 2026-05-25 14:04:13,633 - DEBUG - VN 1f60f057-b92d-4e42-83b9-bbcfe79c6aea still in use: Unable to complete operation on network 1f60f057-b92d-4e42-83b9-bbcfe79c6aea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-190367a4-4b89-4406-b69b-d955fef14284'] 2026-05-25 14:04:13,633 - WARNING - Deleting VN ctest-vn-02507533 failed..Will retry 2026-05-25 14:04:15,732 - DEBUG - Response for deleting network () 2026-05-25 14:04:15,732 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/18b2cc43-7300-4608-ab56-c4fabe1c42a2 2026-05-25 14:04:15,738 - DEBUG - Response Code: 404 2026-05-25 14:04:15,738 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-25 14:04:15,742 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ef9b8e72-c2e4-4c37-855c-d72c44d85cfc 2026-05-25 14:04:15,795 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd715e51-dbaf-414f-b6fa-0b404827a5d0 2026-05-25 14:04:15,862 - INFO - Validated that VN ctest-vn-02507533 is not found in API Server 2026-05-25 14:04:15,870 - DEBUG - VN ctest-vn-02507533 is not present in Agent 10.0.0.38 2026-05-25 14:04:15,871 - INFO - Validated that VN ctest-vn-02507533 is not in any agent 2026-05-25 14:04:15,883 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02507533 info 2026-05-25 14:04:15,883 - INFO - Deleting VN ctest-vn-38209510 2026-05-25 14:04:15,973 - DEBUG - Response for deleting network () 2026-05-25 14:04:15,973 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec0f8a7-4d2f-4385-a0d9-4400ecce94b8 2026-05-25 14:04:15,984 - DEBUG - Response Code: 404 2026-05-25 14:04:15,984 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-25 14:04:15,991 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ef9b8e72-c2e4-4c37-855c-d72c44d85cfc 2026-05-25 14:04:16,047 - DEBUG - Requesting: http://10.0.0.38:8082/project/bd715e51-dbaf-414f-b6fa-0b404827a5d0 2026-05-25 14:04:16,120 - INFO - Validated that VN ctest-vn-38209510 is not found in API Server 2026-05-25 14:04:16,128 - DEBUG - VN ctest-vn-38209510 is not present in Agent 10.0.0.38 2026-05-25 14:04:16,128 - INFO - Validated that VN ctest-vn-38209510 is not in any agent 2026-05-25 14:04:16,140 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38209510 info 2026-05-25 14:04:16,395 - DEBUG - No XMPP flaps were noticed during the test
2026-05-25 14:04:16,396 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-05-25 14:04:16,396 - INFO - -------------------------------------------------------------------------------- 2026-05-25 14:04:17,083 - INFO - Deleted project: ctest-TestBasicPolicy-71264172, ID : bd715e51-dbaf-414f-b6fa-0b404827a5d0