2026-05-28 22:58:53,777 - INFO - Domain Default found not creating 2026-05-28 22:58:53,950 - INFO - Project ctest-TestBasicPolicy-08507613 not found, creating it 2026-05-28 22:58:54,445 - INFO - Created Project:ctest-TestBasicPolicy-08507613, ID : d45e62ce-b70a-4579-a6c3-5575f6b33842 2026-05-28 22:58:55,951 - INFO - ================================================================================ 2026-05-28 22:58:55,951 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-28 22:58:55,952 - 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-28 22:58:56,202 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-05-28 22:58:56,202 - INFO - Initial checks done. Running the testcase now 2026-05-28 22:58:56,202 - INFO - 2026-05-28 22:58:56,764 - DEBUG - Response for create_network : {'network': {'id': 'b4b9f4b8-d409-4145-8594-291782d5e1fe', 'name': 'ctest-vn-90300741', 'tenant_id': 'd45e62ceb70a4579a6c35575f6b33842', 'project_id': 'd45e62ceb70a4579a6c35575f6b33842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08507613', 'ctest-vn-90300741'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 22:58:56,929 - DEBUG - Response for create_subnet : {'subnet': {'id': '76ee2cdb-2b9d-4246-8861-5cd103a3be60', 'name': '', 'tenant_id': 'd45e62ceb70a4579a6c35575f6b33842', 'network_id': 'b4b9f4b8-d409-4145-8594-291782d5e1fe', 'ip_version': 4, 'cidr': '222.92.198.64/26', 'allocation_pools': [{'start': '222.92.198.66', 'end': '222.92.198.126'}], 'gateway_ip': '222.92.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.92.198.66', 'tags': [], 'project_id': 'd45e62ceb70a4579a6c35575f6b33842'}} 2026-05-28 22:58:56,948 - INFO - Created VN ctest-vn-90300741 2026-05-28 22:58:57,002 - DEBUG - VN ctest-vn-90300741 UUID is b4b9f4b8-d409-4145-8594-291782d5e1fe 2026-05-28 22:58:57,323 - DEBUG - Response for create_network : {'network': {'id': 'b8aa31a6-f419-4043-a7ba-5d65b483f477', 'name': 'ctest-vn-12350454', 'tenant_id': 'd45e62ceb70a4579a6c35575f6b33842', 'project_id': 'd45e62ceb70a4579a6c35575f6b33842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08507613', 'ctest-vn-12350454'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 22:58:57,516 - DEBUG - Response for create_subnet : {'subnet': {'id': '375809b0-f8a2-450b-bbf4-1aca24ab552b', 'name': '', 'tenant_id': 'd45e62ceb70a4579a6c35575f6b33842', 'network_id': 'b8aa31a6-f419-4043-a7ba-5d65b483f477', 'ip_version': 4, 'cidr': '82.104.106.0/26', 'allocation_pools': [{'start': '82.104.106.2', 'end': '82.104.106.62'}], 'gateway_ip': '82.104.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.104.106.2', 'tags': [], 'project_id': 'd45e62ceb70a4579a6c35575f6b33842'}} 2026-05-28 22:58:57,531 - INFO - Created VN ctest-vn-12350454 2026-05-28 22:58:57,582 - DEBUG - VN ctest-vn-12350454 UUID is b8aa31a6-f419-4043-a7ba-5d65b483f477 2026-05-28 22:58:57,695 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-90300741, 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-08507613:ctest-vn-12350454, 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-28 22:58:57,998 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4b9f4b8-d409-4145-8594-291782d5e1fe', 'name': 'ctest-vn-90300741', 'tenant_id': 'd45e62ceb70a4579a6c35575f6b33842', 'project_id': 'd45e62ceb70a4579a6c35575f6b33842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76ee2cdb-2b9d-4246-8861-5cd103a3be60'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08507613', 'ctest-vn-90300741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08507613', 'ctest-policy-allow-all-81634439']], 'subnet_ipam': [{'subnet_cidr': '222.92.198.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 22:58:58,220 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8aa31a6-f419-4043-a7ba-5d65b483f477', 'name': 'ctest-vn-12350454', 'tenant_id': 'd45e62ceb70a4579a6c35575f6b33842', 'project_id': 'd45e62ceb70a4579a6c35575f6b33842', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['375809b0-f8a2-450b-bbf4-1aca24ab552b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08507613', 'ctest-vn-12350454'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08507613', 'ctest-policy-allow-all-81634439']], 'subnet_ipam': [{'subnet_cidr': '82.104.106.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 22:58:58,386 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-28 22:58:58,693 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-28 22:58:58,723 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6b5fc04-3857-4ba3-8849-6cabe0dde446 2026-05-28 22:58:58,734 - DEBUG - Requesting: http://10.0.0.38:8082/project/d45e62ce-b70a-4579-a6c3-5575f6b33842 2026-05-28 22:58:58,804 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4b9f4b8-d409-4145-8594-291782d5e1fe 2026-05-28 22:58:58,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4b9f4b8-d409-4145-8594-291782d5e1fe 2026-05-28 22:58:58,823 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c414153b-f890-4376-a04a-c6622817fa3a 2026-05-28 22:58:58,831 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c414153b-f890-4376-a04a-c6622817fa3a 2026-05-28 22:58:58,836 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8fcc28e9-d197-4c8f-9e98-4a430dd221a2 2026-05-28 22:58:58,841 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 22:58:58,841 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4b9f4b8-d409-4145-8594-291782d5e1fe 2026-05-28 22:58:58,849 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c414153b-f890-4376-a04a-c6622817fa3a 2026-05-28 22:58:58,860 - INFO - Verified VN network id 11 for VN b4b9f4b8-d409-4145-8594-291782d5e1fe 2026-05-28 22:58:58,860 - INFO - Verifications in API Server for VN ctest-vn-90300741 passed 2026-05-28 22:58:58,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4b9f4b8-d409-4145-8594-291782d5e1fe 2026-05-28 22:58:58,867 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c414153b-f890-4376-a04a-c6622817fa3a 2026-05-28 22:58:58,874 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c414153b-f890-4376-a04a-c6622817fa3a 2026-05-28 22:58:58,880 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8fcc28e9-d197-4c8f-9e98-4a430dd221a2 2026-05-28 22:58:58,889 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-90300741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08507613', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13022708872187035973', 'uuid-lslong': '9625363484553634302'}, 'enable': 'true', 'created': '2026-05-28T22:58:56', 'last-modified': '2026-05-28T22:58:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918022'} 2026-05-28 22:58:58,894 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 22:58:58,894 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90300741 passed 2026-05-28 22:58:58,894 - DEBUG - ====Verifying policy data for ctest-vn-90300741 in API_Server ====== 2026-05-28 22:58:58,894 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-28 22:58:58,898 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6b5fc04-3857-4ba3-8849-6cabe0dde446 2026-05-28 22:58:58,907 - DEBUG - Requesting: http://10.0.0.38:8082/project/d45e62ce-b70a-4579-a6c3-5575f6b33842 2026-05-28 22:58:58,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4b9f4b8-d409-4145-8594-291782d5e1fe 2026-05-28 22:58:58,984 - DEBUG - ==>Verifying data for policy with id: 239a08d6-3e05-4b1f-a03f-c9348b245823, fqn: ['default-domain', 'ctest-TestBasicPolicy-08507613', 'ctest-policy-allow-all-81634439'] 2026-05-28 22:58:58,984 - INFO - VN ctest-vn-90300741 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 22:58:58,984 - DEBUG - Verifying the vn in opserver 2026-05-28 22:58:58,984 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-90300741 virtual network link through opserver 10.0.0.38 2026-05-28 22:58:58,984 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-28 22:58:59,293 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-28 22:58:59,350 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-90300741', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-90300741?flat'} 2026-05-28 22:58:59,350 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-90300741 is found in opserver 2026-05-28 22:58:59,359 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 22:58:59,364 - DEBUG - VRF ids for VN ctest-vn-90300741: {} 2026-05-28 22:58:59,364 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-28 22:58:59,369 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6b5fc04-3857-4ba3-8849-6cabe0dde446 2026-05-28 22:58:59,378 - DEBUG - Requesting: http://10.0.0.38:8082/project/d45e62ce-b70a-4579-a6c3-5575f6b33842 2026-05-28 22:58:59,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8aa31a6-f419-4043-a7ba-5d65b483f477 2026-05-28 22:58:59,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8aa31a6-f419-4043-a7ba-5d65b483f477 2026-05-28 22:58:59,471 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5689ea89-03f3-4441-8fc3-59308c3e88ad 2026-05-28 22:58:59,477 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5689ea89-03f3-4441-8fc3-59308c3e88ad 2026-05-28 22:58:59,483 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d03950c0-5201-4d29-9065-ec65a6fcaf3e 2026-05-28 22:58:59,487 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 22:58:59,487 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8aa31a6-f419-4043-a7ba-5d65b483f477 2026-05-28 22:58:59,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5689ea89-03f3-4441-8fc3-59308c3e88ad 2026-05-28 22:58:59,507 - INFO - Verified VN network id 12 for VN b8aa31a6-f419-4043-a7ba-5d65b483f477 2026-05-28 22:58:59,507 - INFO - Verifications in API Server for VN ctest-vn-12350454 passed 2026-05-28 22:58:59,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8aa31a6-f419-4043-a7ba-5d65b483f477 2026-05-28 22:58:59,514 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5689ea89-03f3-4441-8fc3-59308c3e88ad 2026-05-28 22:58:59,520 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5689ea89-03f3-4441-8fc3-59308c3e88ad 2026-05-28 22:58:59,525 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d03950c0-5201-4d29-9065-ec65a6fcaf3e 2026-05-28 22:58:59,534 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-12350454', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08507613', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13306502642149179459', 'uuid-lslong': '12086075241403774071'}, 'enable': 'true', 'created': '2026-05-28T22:58:57', 'last-modified': '2026-05-28T22:58:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.330514'} 2026-05-28 22:58:59,539 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 22:58:59,539 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12350454 passed 2026-05-28 22:58:59,539 - DEBUG - ====Verifying policy data for ctest-vn-12350454 in API_Server ====== 2026-05-28 22:58:59,539 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-28 22:58:59,544 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6b5fc04-3857-4ba3-8849-6cabe0dde446 2026-05-28 22:58:59,554 - DEBUG - Requesting: http://10.0.0.38:8082/project/d45e62ce-b70a-4579-a6c3-5575f6b33842 2026-05-28 22:58:59,624 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8aa31a6-f419-4043-a7ba-5d65b483f477 2026-05-28 22:58:59,631 - DEBUG - ==>Verifying data for policy with id: 239a08d6-3e05-4b1f-a03f-c9348b245823, fqn: ['default-domain', 'ctest-TestBasicPolicy-08507613', 'ctest-policy-allow-all-81634439'] 2026-05-28 22:58:59,631 - INFO - VN ctest-vn-12350454 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 22:58:59,631 - DEBUG - Verifying the vn in opserver 2026-05-28 22:58:59,632 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-12350454 virtual network link through opserver 10.0.0.38 2026-05-28 22:58:59,632 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-28 22:58:59,640 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-12350454', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-12350454?flat'} 2026-05-28 22:58:59,640 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-12350454 is found in opserver 2026-05-28 22:58:59,649 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 22:58:59,653 - DEBUG - VRF ids for VN ctest-vn-12350454: {} 2026-05-28 22:58:59,707 - DEBUG - Services list from nova: [, , ] 2026-05-28 22:59:00,734 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5848-1) 2026-05-28 22:59:01,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5848-1) 2026-05-28 22:59:01,863 - INFO - Waiting for VM ctest-TestBasicPolicy-08507613-54797907 to be up.. 2026-05-28 22:59:01,942 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 22:59:07,017 - DEBUG - VM is in ACTIVE state now 2026-05-28 22:59:07,017 - INFO - VM name : ctest-TestBasicPolicy-08507613-54797907 2026-05-28 22:59:07,091 - DEBUG - VM ctest-TestBasicPolicy-08507613-54797907 ID is 5ef41b6a-ca36-4725-9784-8e3c5c576c31 2026-05-28 22:59:07,109 - DEBUG - VM ctest-TestBasicPolicy-08507613-54797907 launched on Node cn-jenkins-deploy-platform-ansible-os-5848-1 2026-05-28 22:59:07,183 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5ef41b6a-ca36-4725-9784-8e3c5c576c31 2026-05-28 22:59:07,191 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9751ed71-9fae-4100-9bf4-42a008f86fb3 2026-05-28 22:59:10,427 - 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 1007ms') 2026-05-28 22:59:10,427 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08507613-54797907 failed! 2026-05-28 22:59:10,482 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08507613:ctest-vn-90300741 is 222.92.198.65 and allocation pool is NOT set 2026-05-28 22:59:12,542 - 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=3.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.531 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.531/2.134/3.737/1.603 ms') 2026-05-28 22:59:12,543 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08507613-54797907 passed 2026-05-28 22:59:12,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 22:59:12,690 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08507613-54797907, IP 222.92.198.67, Port 22 2026-05-28 22:59:12,867 - DEBUG - VM ctest-TestBasicPolicy-08507613-54797907 is ready for SSH connections 2026-05-28 22:59:12,868 - INFO - Waiting for VM ctest-TestBasicPolicy-08507613-55885352 to be up.. 2026-05-28 22:59:12,944 - DEBUG - VM is in ACTIVE state now 2026-05-28 22:59:12,944 - INFO - VM name : ctest-TestBasicPolicy-08507613-55885352 2026-05-28 22:59:13,023 - DEBUG - VM ctest-TestBasicPolicy-08507613-55885352 ID is 56074bc9-c2c0-479d-9cf8-81634078b71d 2026-05-28 22:59:13,023 - DEBUG - VM ctest-TestBasicPolicy-08507613-55885352 launched on Node cn-jenkins-deploy-platform-ansible-os-5848-1 2026-05-28 22:59:13,095 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/56074bc9-c2c0-479d-9cf8-81634078b71d 2026-05-28 22:59:13,102 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/46338064-30a2-455e-811b-593823e7e446 2026-05-28 22:59:14,342 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.31 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 = 2.305/2.817/3.330/0.512 ms') 2026-05-28 22:59:14,342 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08507613-55885352 passed 2026-05-28 22:59:14,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 22:59:14,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08507613-55885352, IP 82.104.106.3, Port 22 2026-05-28 22:59:14,646 - DEBUG - VM ctest-TestBasicPolicy-08507613-55885352 is ready for SSH connections 2026-05-28 22:59:14,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 22:59:14,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.104.106.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-28 22:59:14,646 - DEBUG - ping -s 56 -c 3 -W 1 82.104.106.3 2026-05-28 22:59:18,737 - DEBUG - PING 82.104.106.3 (82.104.106.3): 56 data bytes 64 bytes from 82.104.106.3: seq=0 ttl=63 time=3.838 ms 64 bytes from 82.104.106.3: seq=1 ttl=63 time=1.050 ms 64 bytes from 82.104.106.3: seq=2 ttl=63 time=0.933 ms --- 82.104.106.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/1.940/3.838 ms 2026-05-28 22:59:18,737 - INFO - Ping to IP 82.104.106.3 from VM ctest-TestBasicPolicy-08507613-54797907 passed 2026-05-28 22:59:18,922 - DEBUG - Policy Update Response {"network-policy": {"uuid": "239a08d6-3e05-4b1f-a03f-c9348b245823", "href": "http://10.0.0.38:8082/network-policy/239a08d6-3e05-4b1f-a03f-c9348b245823"}} 2026-05-28 22:59:18,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 22:59:18,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.104.106.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-28 22:59:18,922 - DEBUG - ping -s 56 -c 3 -W 1 82.104.106.3 2026-05-28 22:59:22,144 - DEBUG - PING 82.104.106.3 (82.104.106.3): 56 data bytes --- 82.104.106.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 22:59:22,144 - WARNING - Ping to IP 82.104.106.3 from VM ctest-TestBasicPolicy-08507613-54797907 failed 2026-05-28 22:59:22,144 - INFO - Deleting VM ctest-TestBasicPolicy-08507613-55885352 2026-05-28 22:59:22,224 - INFO - Deleting VM ctest-TestBasicPolicy-08507613-54797907 2026-05-28 22:59:22,603 - INFO - Deleted policy ctest-policy-allow-all-81634439 2026-05-28 22:59:22,604 - INFO - Deleting VN ctest-vn-12350454 2026-05-28 22:59:22,642 - DEBUG - VN b8aa31a6-f419-4043-a7ba-5d65b483f477 still in use: Unable to complete operation on network b8aa31a6-f419-4043-a7ba-5d65b483f477. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-90c1faad-7996-4234-86bb-fba6eff6f3e0'] 2026-05-28 22:59:22,642 - WARNING - Deleting VN ctest-vn-12350454 failed..Will retry 2026-05-28 22:59:24,754 - DEBUG - Response for deleting network () 2026-05-28 22:59:24,754 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5689ea89-03f3-4441-8fc3-59308c3e88ad 2026-05-28 22:59:24,761 - DEBUG - Response Code: 404 2026-05-28 22:59:24,761 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-28 22:59:24,767 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6b5fc04-3857-4ba3-8849-6cabe0dde446 2026-05-28 22:59:24,819 - DEBUG - Requesting: http://10.0.0.38:8082/project/d45e62ce-b70a-4579-a6c3-5575f6b33842 2026-05-28 22:59:24,888 - INFO - Validated that VN ctest-vn-12350454 is not found in API Server 2026-05-28 22:59:24,899 - DEBUG - VN ctest-vn-12350454 is not present in Agent 10.0.0.38 2026-05-28 22:59:24,899 - INFO - Validated that VN ctest-vn-12350454 is not in any agent 2026-05-28 22:59:24,913 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12350454 info 2026-05-28 22:59:24,913 - INFO - Deleting VN ctest-vn-90300741 2026-05-28 22:59:25,010 - DEBUG - Response for deleting network () 2026-05-28 22:59:25,011 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c414153b-f890-4376-a04a-c6622817fa3a 2026-05-28 22:59:25,015 - DEBUG - Response Code: 404 2026-05-28 22:59:25,015 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-28 22:59:25,022 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6b5fc04-3857-4ba3-8849-6cabe0dde446 2026-05-28 22:59:25,079 - DEBUG - Requesting: http://10.0.0.38:8082/project/d45e62ce-b70a-4579-a6c3-5575f6b33842 2026-05-28 22:59:25,147 - INFO - Validated that VN ctest-vn-90300741 is not found in API Server 2026-05-28 22:59:25,155 - DEBUG - VN ctest-vn-90300741 is not present in Agent 10.0.0.38 2026-05-28 22:59:25,155 - INFO - Validated that VN ctest-vn-90300741 is not in any agent 2026-05-28 22:59:25,169 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90300741 info 2026-05-28 22:59:25,426 - DEBUG - No XMPP flaps were noticed during the test 2026-05-28 22:59:25,426 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-05-28 22:59:25,426 - INFO - -------------------------------------------------------------------------------- 2026-05-28 22:59:26,101 - INFO - Deleted project: ctest-TestBasicPolicy-08507613, ID : d45e62ce-b70a-4579-a6c3-5575f6b33842