2026-03-04 17:39:46,082 - INFO - Domain Default found not creating 2026-03-04 17:39:46,222 - INFO - Project ctest-TestBasicPolicy-22583400 not found, creating it 2026-03-04 17:39:46,663 - INFO - Created Project:ctest-TestBasicPolicy-22583400, ID : cfdfe168-2452-427d-b982-1fe5c14d9029 2026-03-04 17:39:48,050 - INFO - ================================================================================ 2026-03-04 17:39:48,050 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-04 17:39:48,050 - 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-03-04 17:39:48,307 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2026-03-04 17:39:48,307 - INFO - Initial checks done. Running the testcase now 2026-03-04 17:39:48,307 - INFO - 2026-03-04 17:39:48,826 - DEBUG - Response for create_network : {'network': {'id': '61b684e5-88fe-4922-bf3d-61a5724d8625', 'name': 'ctest-vn-66684370', 'tenant_id': 'cfdfe1682452427db9821fe5c14d9029', 'project_id': 'cfdfe1682452427db9821fe5c14d9029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22583400', 'ctest-vn-66684370'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 17:39:48,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bcc3956-dda1-4772-bbcc-5e8a715f3bad', 'name': '', 'tenant_id': 'cfdfe1682452427db9821fe5c14d9029', 'network_id': '61b684e5-88fe-4922-bf3d-61a5724d8625', 'ip_version': 4, 'cidr': '135.150.141.64/26', 'allocation_pools': [{'start': '135.150.141.66', 'end': '135.150.141.126'}], 'gateway_ip': '135.150.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.150.141.66', 'tags': [], 'project_id': 'cfdfe1682452427db9821fe5c14d9029'}} 2026-03-04 17:39:48,990 - INFO - Created VN ctest-vn-66684370 2026-03-04 17:39:49,040 - DEBUG - VN ctest-vn-66684370 UUID is 61b684e5-88fe-4922-bf3d-61a5724d8625 2026-03-04 17:39:49,342 - DEBUG - Response for create_network : {'network': {'id': 'eef17ab9-c244-4dcc-8fb6-1f711337ae0c', 'name': 'ctest-vn-20233293', 'tenant_id': 'cfdfe1682452427db9821fe5c14d9029', 'project_id': 'cfdfe1682452427db9821fe5c14d9029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22583400', 'ctest-vn-20233293'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 17:39:49,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f0346e6-3682-4390-ac4a-f18ed9923931', 'name': '', 'tenant_id': 'cfdfe1682452427db9821fe5c14d9029', 'network_id': 'eef17ab9-c244-4dcc-8fb6-1f711337ae0c', 'ip_version': 4, 'cidr': '217.58.195.64/26', 'allocation_pools': [{'start': '217.58.195.66', 'end': '217.58.195.126'}], 'gateway_ip': '217.58.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.58.195.66', 'tags': [], 'project_id': 'cfdfe1682452427db9821fe5c14d9029'}} 2026-03-04 17:39:49,573 - INFO - Created VN ctest-vn-20233293 2026-03-04 17:39:49,624 - DEBUG - VN ctest-vn-20233293 UUID is eef17ab9-c244-4dcc-8fb6-1f711337ae0c 2026-03-04 17:39:49,768 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-66684370, 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-22583400:ctest-vn-20233293, 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-03-04 17:39:50,047 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61b684e5-88fe-4922-bf3d-61a5724d8625', 'name': 'ctest-vn-66684370', 'tenant_id': 'cfdfe1682452427db9821fe5c14d9029', 'project_id': 'cfdfe1682452427db9821fe5c14d9029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5bcc3956-dda1-4772-bbcc-5e8a715f3bad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22583400', 'ctest-vn-66684370'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22583400', 'ctest-policy-allow-all-24039426']], 'subnet_ipam': [{'subnet_cidr': '135.150.141.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-04 17:39:50,325 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eef17ab9-c244-4dcc-8fb6-1f711337ae0c', 'name': 'ctest-vn-20233293', 'tenant_id': 'cfdfe1682452427db9821fe5c14d9029', 'project_id': 'cfdfe1682452427db9821fe5c14d9029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f0346e6-3682-4390-ac4a-f18ed9923931'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22583400', 'ctest-vn-20233293'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22583400', 'ctest-policy-allow-all-24039426']], 'subnet_ipam': [{'subnet_cidr': '217.58.195.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-04 17:39:50,470 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-04 17:39:50,765 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-04 17:39:50,793 - DEBUG - Requesting: http://10.0.0.33:8082/domain/92eed5d6-8d29-4d71-8bbc-d9e02df5cf61 2026-03-04 17:39:50,803 - DEBUG - Requesting: http://10.0.0.33:8082/project/cfdfe168-2452-427d-b982-1fe5c14d9029 2026-03-04 17:39:50,878 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/61b684e5-88fe-4922-bf3d-61a5724d8625 2026-03-04 17:39:50,887 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/61b684e5-88fe-4922-bf3d-61a5724d8625 2026-03-04 17:39:50,895 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/32885f59-803e-44a3-b0f1-4f0fda93f17a 2026-03-04 17:39:50,901 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/32885f59-803e-44a3-b0f1-4f0fda93f17a 2026-03-04 17:39:50,906 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/35d78b81-451d-49ea-80ce-7b91bef5874b 2026-03-04 17:39:50,911 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-04 17:39:50,911 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/61b684e5-88fe-4922-bf3d-61a5724d8625 2026-03-04 17:39:50,918 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/32885f59-803e-44a3-b0f1-4f0fda93f17a 2026-03-04 17:39:50,930 - INFO - Verified VN network id 11 for VN 61b684e5-88fe-4922-bf3d-61a5724d8625 2026-03-04 17:39:50,930 - INFO - Verifications in API Server for VN ctest-vn-66684370 passed 2026-03-04 17:39:50,930 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/61b684e5-88fe-4922-bf3d-61a5724d8625 2026-03-04 17:39:50,937 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/32885f59-803e-44a3-b0f1-4f0fda93f17a 2026-03-04 17:39:50,942 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/32885f59-803e-44a3-b0f1-4f0fda93f17a 2026-03-04 17:39:50,947 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/35d78b81-451d-49ea-80ce-7b91bef5874b 2026-03-04 17:39:50,956 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-66684370', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22583400', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7040961188821092642', 'uuid-lslong': '13780277798038767141'}, 'enable': 'true', 'created': '2026-03-04T17:39:48', 'last-modified': '2026-03-04T17:39:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929391'} 2026-03-04 17:39:50,961 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-04 17:39:50,961 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66684370 passed 2026-03-04 17:39:50,961 - DEBUG - ====Verifying policy data for ctest-vn-66684370 in API_Server ====== 2026-03-04 17:39:50,961 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-04 17:39:50,965 - DEBUG - Requesting: http://10.0.0.33:8082/domain/92eed5d6-8d29-4d71-8bbc-d9e02df5cf61 2026-03-04 17:39:50,976 - DEBUG - Requesting: http://10.0.0.33:8082/project/cfdfe168-2452-427d-b982-1fe5c14d9029 2026-03-04 17:39:51,049 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/61b684e5-88fe-4922-bf3d-61a5724d8625 2026-03-04 17:39:51,057 - DEBUG - ==>Verifying data for policy with id: 8c77c618-16c3-4757-8b3e-ba4783dee5b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-22583400', 'ctest-policy-allow-all-24039426'] 2026-03-04 17:39:51,057 - INFO - VN ctest-vn-66684370 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-04 17:39:51,057 - DEBUG - Verifying the vn in opserver 2026-03-04 17:39:51,057 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-66684370 virtual network link through opserver 10.0.0.33 2026-03-04 17:39:51,057 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-04 17:39:51,346 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-04 17:39:51,406 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-66684370', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-66684370?flat'} 2026-03-04 17:39:51,406 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-66684370 is found in opserver 2026-03-04 17:39:51,415 - DEBUG - Do not have enough data to verify VN in agent 2026-03-04 17:39:51,419 - DEBUG - VRF ids for VN ctest-vn-66684370: {} 2026-03-04 17:39:51,419 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-04 17:39:51,425 - DEBUG - Requesting: http://10.0.0.33:8082/domain/92eed5d6-8d29-4d71-8bbc-d9e02df5cf61 2026-03-04 17:39:51,435 - DEBUG - Requesting: http://10.0.0.33:8082/project/cfdfe168-2452-427d-b982-1fe5c14d9029 2026-03-04 17:39:51,505 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eef17ab9-c244-4dcc-8fb6-1f711337ae0c 2026-03-04 17:39:51,514 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eef17ab9-c244-4dcc-8fb6-1f711337ae0c 2026-03-04 17:39:51,521 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/56e991ef-af41-447a-8d4b-04d77db8c05d 2026-03-04 17:39:51,527 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/56e991ef-af41-447a-8d4b-04d77db8c05d 2026-03-04 17:39:51,532 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/55d4cafe-183d-4740-b222-e0556d530f05 2026-03-04 17:39:51,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-04 17:39:51,537 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eef17ab9-c244-4dcc-8fb6-1f711337ae0c 2026-03-04 17:39:51,544 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/56e991ef-af41-447a-8d4b-04d77db8c05d 2026-03-04 17:39:51,554 - INFO - Verified VN network id 12 for VN eef17ab9-c244-4dcc-8fb6-1f711337ae0c 2026-03-04 17:39:51,555 - INFO - Verifications in API Server for VN ctest-vn-20233293 passed 2026-03-04 17:39:51,555 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eef17ab9-c244-4dcc-8fb6-1f711337ae0c 2026-03-04 17:39:51,562 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/56e991ef-af41-447a-8d4b-04d77db8c05d 2026-03-04 17:39:51,567 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/56e991ef-af41-447a-8d4b-04d77db8c05d 2026-03-04 17:39:51,572 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/55d4cafe-183d-4740-b222-e0556d530f05 2026-03-04 17:39:51,581 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-20233293', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22583400', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17217677788660911564', 'uuid-lslong': '10355498963699215884'}, 'enable': 'true', 'created': '2026-03-04T17:39:49', 'last-modified': '2026-03-04T17:39:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.327376'} 2026-03-04 17:39:51,586 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-04 17:39:51,586 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20233293 passed 2026-03-04 17:39:51,587 - DEBUG - ====Verifying policy data for ctest-vn-20233293 in API_Server ====== 2026-03-04 17:39:51,587 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-04 17:39:51,591 - DEBUG - Requesting: http://10.0.0.33:8082/domain/92eed5d6-8d29-4d71-8bbc-d9e02df5cf61 2026-03-04 17:39:51,600 - DEBUG - Requesting: http://10.0.0.33:8082/project/cfdfe168-2452-427d-b982-1fe5c14d9029 2026-03-04 17:39:51,669 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/eef17ab9-c244-4dcc-8fb6-1f711337ae0c 2026-03-04 17:39:51,677 - DEBUG - ==>Verifying data for policy with id: 8c77c618-16c3-4757-8b3e-ba4783dee5b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-22583400', 'ctest-policy-allow-all-24039426'] 2026-03-04 17:39:51,677 - INFO - VN ctest-vn-20233293 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-04 17:39:51,677 - DEBUG - Verifying the vn in opserver 2026-03-04 17:39:51,677 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-20233293 virtual network link through opserver 10.0.0.33 2026-03-04 17:39:51,677 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-04 17:39:51,685 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-20233293', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-20233293?flat'} 2026-03-04 17:39:51,685 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-20233293 is found in opserver 2026-03-04 17:39:51,694 - DEBUG - Do not have enough data to verify VN in agent 2026-03-04 17:39:51,697 - DEBUG - VRF ids for VN ctest-vn-20233293: {} 2026-03-04 17:39:51,747 - DEBUG - Services list from nova: [, , ] 2026-03-04 17:39:52,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5430-1) 2026-03-04 17:39:53,834 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5430-1) 2026-03-04 17:39:53,834 - INFO - Waiting for VM ctest-TestBasicPolicy-22583400-81861618 to be up.. 2026-03-04 17:39:53,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-04 17:39:58,987 - DEBUG - VM is in ACTIVE state now 2026-03-04 17:39:58,987 - INFO - VM name : ctest-TestBasicPolicy-22583400-81861618 2026-03-04 17:39:59,061 - DEBUG - VM ctest-TestBasicPolicy-22583400-81861618 ID is 272a1d1d-c2fc-47ef-bf7e-ef1aa97493b2 2026-03-04 17:39:59,080 - DEBUG - VM ctest-TestBasicPolicy-22583400-81861618 launched on Node cn-jenkins-deploy-platform-ansible-os-5430-1 2026-03-04 17:39:59,148 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/272a1d1d-c2fc-47ef-bf7e-ef1aa97493b2 2026-03-04 17:39:59,156 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1df266aa-eecd-4da1-bee4-9d1b9b4a7ecc 2026-03-04 17:40:02,417 - 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 1026ms') 2026-03-04 17:40:02,417 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22583400-81861618 failed! 2026-03-04 17:40:02,472 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22583400:ctest-vn-66684370 is 135.150.141.65 and allocation pool is NOT set 2026-03-04 17:40:04,538 - 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=4.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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 = 1.154/2.718/4.282/1.564 ms') 2026-03-04 17:40:04,538 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22583400-81861618 passed 2026-03-04 17:40:04,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 17:40:04,684 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22583400-81861618, IP 135.150.141.67, Port 22 2026-03-04 17:40:04,835 - DEBUG - VM ctest-TestBasicPolicy-22583400-81861618 is ready for SSH connections 2026-03-04 17:40:04,835 - INFO - Waiting for VM ctest-TestBasicPolicy-22583400-46098979 to be up.. 2026-03-04 17:40:04,902 - DEBUG - VM is in ACTIVE state now 2026-03-04 17:40:04,902 - INFO - VM name : ctest-TestBasicPolicy-22583400-46098979 2026-03-04 17:40:04,966 - DEBUG - VM ctest-TestBasicPolicy-22583400-46098979 ID is 38af0516-6d0f-4c20-a66e-94fab511670e 2026-03-04 17:40:04,967 - DEBUG - VM ctest-TestBasicPolicy-22583400-46098979 launched on Node cn-jenkins-deploy-platform-ansible-os-5430-1 2026-03-04 17:40:05,119 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/38af0516-6d0f-4c20-a66e-94fab511670e 2026-03-04 17:40:05,126 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/21132a76-4841-4255-90de-5dc2d47c02e1 2026-03-04 17:40:06,355 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.541 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.541/1.817/3.094/1.276 ms') 2026-03-04 17:40:06,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22583400-46098979 passed 2026-03-04 17:40:06,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 17:40:06,504 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22583400-46098979, IP 217.58.195.67, Port 22 2026-03-04 17:40:06,670 - DEBUG - VM ctest-TestBasicPolicy-22583400-46098979 is ready for SSH connections 2026-03-04 17:40:06,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 17:40:06,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.58.195.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-04 17:40:06,671 - DEBUG - ping -s 56 -c 3 -W 1 217.58.195.67 2026-03-04 17:40:10,667 - DEBUG - PING 217.58.195.67 (217.58.195.67): 56 data bytes 64 bytes from 217.58.195.67: seq=0 ttl=63 time=3.163 ms 64 bytes from 217.58.195.67: seq=1 ttl=63 time=0.773 ms 64 bytes from 217.58.195.67: seq=2 ttl=63 time=1.099 ms --- 217.58.195.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.678/3.163 ms 2026-03-04 17:40:10,667 - INFO - Ping to IP 217.58.195.67 from VM ctest-TestBasicPolicy-22583400-81861618 passed 2026-03-04 17:40:10,840 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8c77c618-16c3-4757-8b3e-ba4783dee5b7", "href": "http://10.0.0.33:8082/network-policy/8c77c618-16c3-4757-8b3e-ba4783dee5b7"}} 2026-03-04 17:40:10,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 17:40:10,840 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.58.195.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-04 17:40:10,840 - DEBUG - ping -s 56 -c 3 -W 1 217.58.195.67 2026-03-04 17:40:14,039 - DEBUG - PING 217.58.195.67 (217.58.195.67): 56 data bytes --- 217.58.195.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-04 17:40:14,039 - WARNING - Ping to IP 217.58.195.67 from VM ctest-TestBasicPolicy-22583400-81861618 failed 2026-03-04 17:40:14,039 - INFO - Deleting VM ctest-TestBasicPolicy-22583400-46098979 2026-03-04 17:40:14,105 - INFO - Deleting VM ctest-TestBasicPolicy-22583400-81861618 2026-03-04 17:40:14,454 - INFO - Deleted policy ctest-policy-allow-all-24039426 2026-03-04 17:40:14,454 - INFO - Deleting VN ctest-vn-20233293 2026-03-04 17:40:14,485 - DEBUG - VN eef17ab9-c244-4dcc-8fb6-1f711337ae0c still in use: Unable to complete operation on network eef17ab9-c244-4dcc-8fb6-1f711337ae0c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-51fe1cca-ee4d-49f7-bb24-20d0942ced6c'] 2026-03-04 17:40:14,485 - WARNING - Deleting VN ctest-vn-20233293 failed..Will retry 2026-03-04 17:40:16,589 - DEBUG - Response for deleting network () 2026-03-04 17:40:16,589 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/56e991ef-af41-447a-8d4b-04d77db8c05d 2026-03-04 17:40:16,594 - DEBUG - Response Code: 404 2026-03-04 17:40:16,594 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-04 17:40:16,601 - DEBUG - Requesting: http://10.0.0.33:8082/domain/92eed5d6-8d29-4d71-8bbc-d9e02df5cf61 2026-03-04 17:40:16,654 - DEBUG - Requesting: http://10.0.0.33:8082/project/cfdfe168-2452-427d-b982-1fe5c14d9029 2026-03-04 17:40:16,723 - INFO - Validated that VN ctest-vn-20233293 is not found in API Server 2026-03-04 17:40:16,735 - DEBUG - VN ctest-vn-20233293 is not present in Agent 10.0.0.33 2026-03-04 17:40:16,735 - INFO - Validated that VN ctest-vn-20233293 is not in any agent 2026-03-04 17:40:16,751 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20233293 info 2026-03-04 17:40:16,751 - INFO - Deleting VN ctest-vn-66684370 2026-03-04 17:40:16,844 - DEBUG - Response for deleting network () 2026-03-04 17:40:16,844 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/32885f59-803e-44a3-b0f1-4f0fda93f17a 2026-03-04 17:40:16,859 - DEBUG - Response Code: 404 2026-03-04 17:40:16,859 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-04 17:40:16,872 - DEBUG - Requesting: http://10.0.0.33:8082/domain/92eed5d6-8d29-4d71-8bbc-d9e02df5cf61 2026-03-04 17:40:16,925 - DEBUG - Requesting: http://10.0.0.33:8082/project/cfdfe168-2452-427d-b982-1fe5c14d9029 2026-03-04 17:40:16,993 - INFO - Validated that VN ctest-vn-66684370 is not found in API Server 2026-03-04 17:40:17,003 - DEBUG - VN ctest-vn-66684370 is not present in Agent 10.0.0.33 2026-03-04 17:40:17,003 - INFO - Validated that VN ctest-vn-66684370 is not in any agent 2026-03-04 17:40:17,016 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66684370 info 2026-03-04 17:40:17,269 - DEBUG - No XMPP flaps were noticed during the test
2026-03-04 17:40:17,269 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-04 17:40:17,270 - INFO - -------------------------------------------------------------------------------- 2026-03-04 17:40:17,936 - INFO - Deleted project: ctest-TestBasicPolicy-22583400, ID : cfdfe168-2452-427d-b982-1fe5c14d9029