2025-11-14 10:09:26,661 - INFO - Domain Default found not creating 2025-11-14 10:09:26,924 - INFO - Project ctest-TestBasicPolicy-92046837 not found, creating it 2025-11-14 10:09:27,525 - INFO - Created Project:ctest-TestBasicPolicy-92046837, ID : e80cfd0e-a8ab-4ad0-8059-f09fc1a49120 2025-11-14 10:09:29,370 - INFO - ================================================================================ 2025-11-14 10:09:29,370 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-14 10:09:29,370 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-14 10:09:29,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-14 10:09:29,657 - INFO - Initial checks done. Running the testcase now 2025-11-14 10:09:29,657 - INFO - 2025-11-14 10:09:30,287 - DEBUG - Response for create_network : {'network': {'id': '1054915f-d691-45e0-a0b0-0f53ed42a956', 'name': 'ctest-vn-72815612', 'tenant_id': 'e80cfd0ea8ab4ad08059f09fc1a49120', 'project_id': 'e80cfd0ea8ab4ad08059f09fc1a49120', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92046837', 'ctest-vn-72815612'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 10:09:30,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '76db67ad-f31c-4f95-b1bd-3a2e629971c0', 'name': '', 'tenant_id': 'e80cfd0ea8ab4ad08059f09fc1a49120', 'network_id': '1054915f-d691-45e0-a0b0-0f53ed42a956', 'ip_version': 4, 'cidr': '54.122.120.64/26', 'allocation_pools': [{'start': '54.122.120.66', 'end': '54.122.120.126'}], 'gateway_ip': '54.122.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.122.120.66', 'tags': [], 'project_id': 'e80cfd0ea8ab4ad08059f09fc1a49120'}} 2025-11-14 10:09:30,458 - INFO - Created VN ctest-vn-72815612 2025-11-14 10:09:30,510 - DEBUG - VN ctest-vn-72815612 UUID is 1054915f-d691-45e0-a0b0-0f53ed42a956 2025-11-14 10:09:30,910 - DEBUG - Response for create_network : {'network': {'id': 'ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd', 'name': 'ctest-vn-48012132', 'tenant_id': 'e80cfd0ea8ab4ad08059f09fc1a49120', 'project_id': 'e80cfd0ea8ab4ad08059f09fc1a49120', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92046837', 'ctest-vn-48012132'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 10:09:31,088 - DEBUG - Response for create_subnet : {'subnet': {'id': '0af2ebaf-05d9-4f44-9055-330b184925f7', 'name': '', 'tenant_id': 'e80cfd0ea8ab4ad08059f09fc1a49120', 'network_id': 'ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd', 'ip_version': 4, 'cidr': '135.157.175.192/26', 'allocation_pools': [{'start': '135.157.175.194', 'end': '135.157.175.254'}], 'gateway_ip': '135.157.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.157.175.194', 'tags': [], 'project_id': 'e80cfd0ea8ab4ad08059f09fc1a49120'}} 2025-11-14 10:09:31,106 - INFO - Created VN ctest-vn-48012132 2025-11-14 10:09:31,163 - DEBUG - VN ctest-vn-48012132 UUID is ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd 2025-11-14 10:09:31,302 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-72815612, 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-92046837:ctest-vn-48012132, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-14 10:09:31,686 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1054915f-d691-45e0-a0b0-0f53ed42a956', 'name': 'ctest-vn-72815612', 'tenant_id': 'e80cfd0ea8ab4ad08059f09fc1a49120', 'project_id': 'e80cfd0ea8ab4ad08059f09fc1a49120', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76db67ad-f31c-4f95-b1bd-3a2e629971c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92046837', 'ctest-vn-72815612'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92046837', 'ctest-policy-allow-all-79419354']], 'subnet_ipam': [{'subnet_cidr': '54.122.120.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-14 10:09:32,001 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd', 'name': 'ctest-vn-48012132', 'tenant_id': 'e80cfd0ea8ab4ad08059f09fc1a49120', 'project_id': 'e80cfd0ea8ab4ad08059f09fc1a49120', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0af2ebaf-05d9-4f44-9055-330b184925f7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92046837', 'ctest-vn-48012132'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92046837', 'ctest-policy-allow-all-79419354']], 'subnet_ipam': [{'subnet_cidr': '135.157.175.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-14 10:09:32,179 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 10:09:32,520 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 10:09:32,558 - DEBUG - Requesting: http://10.0.0.50:8082/domain/12bb2cbd-de3a-465c-9bb0-60b891b99a6b 2025-11-14 10:09:32,577 - DEBUG - Requesting: http://10.0.0.50:8082/project/e80cfd0e-a8ab-4ad0-8059-f09fc1a49120 2025-11-14 10:09:32,677 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1054915f-d691-45e0-a0b0-0f53ed42a956 2025-11-14 10:09:32,696 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1054915f-d691-45e0-a0b0-0f53ed42a956 2025-11-14 10:09:32,714 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e42843-7263-4e58-930e-5a4020a5bb83 2025-11-14 10:09:32,727 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e42843-7263-4e58-930e-5a4020a5bb83 2025-11-14 10:09:32,740 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fe92ac8f-a2a4-43b3-94c5-21a5ee0f48b9 2025-11-14 10:09:32,754 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-14 10:09:32,754 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1054915f-d691-45e0-a0b0-0f53ed42a956 2025-11-14 10:09:32,776 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e42843-7263-4e58-930e-5a4020a5bb83 2025-11-14 10:09:32,803 - INFO - Verified VN network id 10 for VN 1054915f-d691-45e0-a0b0-0f53ed42a956 2025-11-14 10:09:32,803 - INFO - Verifications in API Server for VN ctest-vn-72815612 passed 2025-11-14 10:09:32,803 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1054915f-d691-45e0-a0b0-0f53ed42a956 2025-11-14 10:09:32,818 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e42843-7263-4e58-930e-5a4020a5bb83 2025-11-14 10:09:32,829 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e42843-7263-4e58-930e-5a4020a5bb83 2025-11-14 10:09:32,841 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fe92ac8f-a2a4-43b3-94c5-21a5ee0f48b9 2025-11-14 10:09:32,857 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-72815612', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92046837', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1176725243458307552', 'uuid-lslong': '11578771495106816342'}, 'enable': 'true', 'created': '2025-11-14T10:09:30', 'last-modified': '2025-11-14T10:09:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.212630'} 2025-11-14 10:09:32,864 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-14 10:09:32,864 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72815612 passed 2025-11-14 10:09:32,865 - DEBUG - ====Verifying policy data for ctest-vn-72815612 in API_Server ====== 2025-11-14 10:09:32,865 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 10:09:32,874 - DEBUG - Requesting: http://10.0.0.50:8082/domain/12bb2cbd-de3a-465c-9bb0-60b891b99a6b 2025-11-14 10:09:32,894 - DEBUG - Requesting: http://10.0.0.50:8082/project/e80cfd0e-a8ab-4ad0-8059-f09fc1a49120 2025-11-14 10:09:32,983 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1054915f-d691-45e0-a0b0-0f53ed42a956 2025-11-14 10:09:32,997 - DEBUG - ==>Verifying data for policy with id: 7e69d293-0b1c-4dc7-9e00-7dae6c25397d, fqn: ['default-domain', 'ctest-TestBasicPolicy-92046837', 'ctest-policy-allow-all-79419354'] 2025-11-14 10:09:32,997 - INFO - VN ctest-vn-72815612 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-14 10:09:32,997 - DEBUG - Verifying the vn in opserver 2025-11-14 10:09:32,997 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-72815612 virtual network link through opserver 10.0.0.50 2025-11-14 10:09:32,997 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-14 10:09:33,323 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-14 10:09:33,423 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-72815612', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-72815612?flat'} 2025-11-14 10:09:33,423 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-72815612 is found in opserver 2025-11-14 10:09:33,453 - DEBUG - Do not have enough data to verify VN in agent 2025-11-14 10:09:33,468 - DEBUG - VRF ids for VN ctest-vn-72815612: {} 2025-11-14 10:09:33,469 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 10:09:33,482 - DEBUG - Requesting: http://10.0.0.50:8082/domain/12bb2cbd-de3a-465c-9bb0-60b891b99a6b 2025-11-14 10:09:33,518 - DEBUG - Requesting: http://10.0.0.50:8082/project/e80cfd0e-a8ab-4ad0-8059-f09fc1a49120 2025-11-14 10:09:33,612 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd 2025-11-14 10:09:33,626 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd 2025-11-14 10:09:33,642 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2188083d-7669-427c-8c48-eedbf4425680 2025-11-14 10:09:33,652 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2188083d-7669-427c-8c48-eedbf4425680 2025-11-14 10:09:33,666 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/51432f68-dbaf-4410-97fb-a17143b1ab76 2025-11-14 10:09:33,675 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-14 10:09:33,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd 2025-11-14 10:09:33,687 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2188083d-7669-427c-8c48-eedbf4425680 2025-11-14 10:09:33,707 - INFO - Verified VN network id 11 for VN ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd 2025-11-14 10:09:33,707 - INFO - Verifications in API Server for VN ctest-vn-48012132 passed 2025-11-14 10:09:33,708 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd 2025-11-14 10:09:33,721 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2188083d-7669-427c-8c48-eedbf4425680 2025-11-14 10:09:33,732 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2188083d-7669-427c-8c48-eedbf4425680 2025-11-14 10:09:33,748 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/51432f68-dbaf-4410-97fb-a17143b1ab76 2025-11-14 10:09:33,764 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-48012132', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92046837', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12326870581814054607', 'uuid-lslong': '12743752770121097149'}, 'enable': 'true', 'created': '2025-11-14T10:09:30', 'last-modified': '2025-11-14T10:09:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.812119'} 2025-11-14 10:09:33,772 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-14 10:09:33,772 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48012132 passed 2025-11-14 10:09:33,772 - DEBUG - ====Verifying policy data for ctest-vn-48012132 in API_Server ====== 2025-11-14 10:09:33,772 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 10:09:33,780 - DEBUG - Requesting: http://10.0.0.50:8082/domain/12bb2cbd-de3a-465c-9bb0-60b891b99a6b 2025-11-14 10:09:33,797 - DEBUG - Requesting: http://10.0.0.50:8082/project/e80cfd0e-a8ab-4ad0-8059-f09fc1a49120 2025-11-14 10:09:33,896 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd 2025-11-14 10:09:33,910 - DEBUG - ==>Verifying data for policy with id: 7e69d293-0b1c-4dc7-9e00-7dae6c25397d, fqn: ['default-domain', 'ctest-TestBasicPolicy-92046837', 'ctest-policy-allow-all-79419354'] 2025-11-14 10:09:33,910 - INFO - VN ctest-vn-48012132 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-14 10:09:33,910 - DEBUG - Verifying the vn in opserver 2025-11-14 10:09:33,910 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-48012132 virtual network link through opserver 10.0.0.50 2025-11-14 10:09:33,910 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-14 10:09:33,922 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-48012132', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-48012132?flat'} 2025-11-14 10:09:33,922 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-48012132 is found in opserver 2025-11-14 10:09:33,933 - DEBUG - Do not have enough data to verify VN in agent 2025-11-14 10:09:33,938 - DEBUG - VRF ids for VN ctest-vn-48012132: {} 2025-11-14 10:09:34,008 - DEBUG - Services list from nova: [, , ] 2025-11-14 10:09:35,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4729-1) 2025-11-14 10:09:36,735 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4729-1) 2025-11-14 10:09:36,735 - INFO - Waiting for VM ctest-TestBasicPolicy-92046837-42238668 to be up.. 2025-11-14 10:09:36,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-14 10:09:41,954 - DEBUG - VM is in ACTIVE state now 2025-11-14 10:09:41,954 - INFO - VM name : ctest-TestBasicPolicy-92046837-42238668 2025-11-14 10:09:42,043 - DEBUG - VM ctest-TestBasicPolicy-92046837-42238668 ID is d67613c4-4505-4722-b079-59c411bab09e 2025-11-14 10:09:42,069 - DEBUG - VM ctest-TestBasicPolicy-92046837-42238668 launched on Node cn-jenkins-deploy-platform-ansible-os-4729-1 2025-11-14 10:09:42,196 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d67613c4-4505-4722-b079-59c411bab09e 2025-11-14 10:09:42,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2fbd41a2-96ed-4d4d-9977-1c9c1f411ef9 2025-11-14 10:09:45,533 - 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 1027ms') 2025-11-14 10:09:45,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92046837-42238668 failed! 2025-11-14 10:09:45,591 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92046837:ctest-vn-72815612 is 54.122.120.65 and allocation pool is NOT set 2025-11-14 10:09:47,678 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.669 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.669/4.174/7.679/3.505 ms') 2025-11-14 10:09:47,678 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92046837-42238668 passed 2025-11-14 10:09:47,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:09:47,843 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92046837-42238668, IP 54.122.120.67, Port 22 2025-11-14 10:09:48,034 - DEBUG - VM ctest-TestBasicPolicy-92046837-42238668 is ready for SSH connections 2025-11-14 10:09:48,034 - INFO - Waiting for VM ctest-TestBasicPolicy-92046837-17821963 to be up.. 2025-11-14 10:09:48,195 - DEBUG - VM is in ACTIVE state now 2025-11-14 10:09:48,195 - INFO - VM name : ctest-TestBasicPolicy-92046837-17821963 2025-11-14 10:09:48,346 - DEBUG - VM ctest-TestBasicPolicy-92046837-17821963 ID is 8affd9ea-ba43-4971-9c41-9a17f2a11de8 2025-11-14 10:09:48,346 - DEBUG - VM ctest-TestBasicPolicy-92046837-17821963 launched on Node cn-jenkins-deploy-platform-ansible-os-4729-1 2025-11-14 10:09:48,478 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8affd9ea-ba43-4971-9c41-9a17f2a11de8 2025-11-14 10:09:48,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/44bc5b92-9360-46f5-9e09-b5eb95d327d2 2025-11-14 10:09:49,791 - 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=7.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.908 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.908/4.276/7.644/3.368 ms') 2025-11-14 10:09:49,791 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92046837-17821963 passed 2025-11-14 10:09:49,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:09:49,971 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92046837-17821963, IP 135.157.175.195, Port 22 2025-11-14 10:09:50,172 - DEBUG - VM ctest-TestBasicPolicy-92046837-17821963 is ready for SSH connections 2025-11-14 10:09:50,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:09:50,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.157.175.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 10:09:50,173 - DEBUG - ping -s 56 -c 3 -W 1 135.157.175.195 2025-11-14 10:09:54,409 - DEBUG - PING 135.157.175.195 (135.157.175.195): 56 data bytes 64 bytes from 135.157.175.195: seq=0 ttl=63 time=4.967 ms 64 bytes from 135.157.175.195: seq=1 ttl=63 time=0.937 ms 64 bytes from 135.157.175.195: seq=2 ttl=63 time=1.229 ms --- 135.157.175.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.937/2.377/4.967 ms 2025-11-14 10:09:54,409 - INFO - Ping to IP 135.157.175.195 from VM ctest-TestBasicPolicy-92046837-42238668 passed 2025-11-14 10:09:54,635 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7e69d293-0b1c-4dc7-9e00-7dae6c25397d", "href": "http://10.0.0.50:8082/network-policy/7e69d293-0b1c-4dc7-9e00-7dae6c25397d"}} 2025-11-14 10:09:54,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:09:54,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.157.175.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 10:09:54,635 - DEBUG - ping -s 56 -c 3 -W 1 135.157.175.195 2025-11-14 10:09:57,847 - DEBUG - PING 135.157.175.195 (135.157.175.195): 56 data bytes --- 135.157.175.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-14 10:09:57,848 - WARNING - Ping to IP 135.157.175.195 from VM ctest-TestBasicPolicy-92046837-42238668 failed 2025-11-14 10:09:57,848 - INFO - Deleting VM ctest-TestBasicPolicy-92046837-17821963 2025-11-14 10:09:58,032 - INFO - Deleting VM ctest-TestBasicPolicy-92046837-42238668 2025-11-14 10:09:58,485 - INFO - Deleted policy ctest-policy-allow-all-79419354 2025-11-14 10:09:58,485 - INFO - Deleting VN ctest-vn-48012132 2025-11-14 10:09:58,532 - DEBUG - VN ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd still in use: Unable to complete operation on network ab11d77b-cd3d-4ecf-b0da-e7a00877dfbd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70f782f4-25c9-4630-8a04-ec2c96832753'] 2025-11-14 10:09:58,532 - WARNING - Deleting VN ctest-vn-48012132 failed..Will retry 2025-11-14 10:10:00,700 - DEBUG - Response for deleting network () 2025-11-14 10:10:00,700 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2188083d-7669-427c-8c48-eedbf4425680 2025-11-14 10:10:00,709 - DEBUG - Response Code: 404 2025-11-14 10:10:00,709 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 10:10:00,714 - DEBUG - Requesting: http://10.0.0.50:8082/domain/12bb2cbd-de3a-465c-9bb0-60b891b99a6b 2025-11-14 10:10:00,769 - DEBUG - Requesting: http://10.0.0.50:8082/project/e80cfd0e-a8ab-4ad0-8059-f09fc1a49120 2025-11-14 10:10:00,853 - INFO - Validated that VN ctest-vn-48012132 is not found in API Server 2025-11-14 10:10:00,865 - DEBUG - VN ctest-vn-48012132 is not present in Agent 10.0.0.50 2025-11-14 10:10:00,865 - INFO - Validated that VN ctest-vn-48012132 is not in any agent 2025-11-14 10:10:00,881 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48012132 info 2025-11-14 10:10:00,881 - INFO - Deleting VN ctest-vn-72815612 2025-11-14 10:10:01,001 - DEBUG - Response for deleting network () 2025-11-14 10:10:01,001 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e42843-7263-4e58-930e-5a4020a5bb83 2025-11-14 10:10:01,007 - DEBUG - Response Code: 404 2025-11-14 10:10:01,007 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-14 10:10:01,013 - DEBUG - Requesting: http://10.0.0.50:8082/domain/12bb2cbd-de3a-465c-9bb0-60b891b99a6b 2025-11-14 10:10:01,072 - DEBUG - Requesting: http://10.0.0.50:8082/project/e80cfd0e-a8ab-4ad0-8059-f09fc1a49120 2025-11-14 10:10:01,173 - INFO - Validated that VN ctest-vn-72815612 is not found in API Server 2025-11-14 10:10:01,190 - DEBUG - VN ctest-vn-72815612 is not present in Agent 10.0.0.50 2025-11-14 10:10:01,190 - INFO - Validated that VN ctest-vn-72815612 is not in any agent 2025-11-14 10:10:01,209 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72815612 info 2025-11-14 10:10:01,533 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 10:10:01,533 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32]
2025-11-14 10:10:01,533 - INFO - -------------------------------------------------------------------------------- 2025-11-14 10:10:02,349 - INFO - Deleted project: ctest-TestBasicPolicy-92046837, ID : e80cfd0e-a8ab-4ad0-8059-f09fc1a49120