2025-08-30 21:56:08,581 - INFO - Domain Default found not creating 2025-08-30 21:56:08,709 - INFO - Project ctest-TestBasicPolicy-66753212 not found, creating it 2025-08-30 21:56:09,116 - INFO - Created Project:ctest-TestBasicPolicy-66753212, ID : 879131d1-fce6-4eaa-a68b-d0eefc8ebe61 2025-08-30 21:56:10,441 - INFO - ================================================================================ 2025-08-30 21:56:10,441 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-30 21:56:10,441 - 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-08-30 21:56:10,694 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-08-30 21:56:10,694 - INFO - Initial checks done. Running the testcase now 2025-08-30 21:56:10,694 - INFO - 2025-08-30 21:56:11,197 - DEBUG - Response for create_network : {'network': {'id': '10580ad5-e8de-40cb-841f-a7d546940bbb', 'name': 'ctest-vn-39119006', 'tenant_id': '879131d1fce64eaaa68bd0eefc8ebe61', 'project_id': '879131d1fce64eaaa68bd0eefc8ebe61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66753212', 'ctest-vn-39119006'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 21:56:11,413 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f132c640-f602-45e8-8f9f-0e153b306c55', 'name': '', 'tenant_id': '879131d1fce64eaaa68bd0eefc8ebe61', 'network_id': '10580ad5-e8de-40cb-841f-a7d546940bbb', 'ip_version': 4, 'cidr': '92.180.34.64/26', 'allocation_pools': [{'start': '92.180.34.66', 'end': '92.180.34.126'}], 'gateway_ip': '92.180.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.180.34.66', 'tags': [], 'project_id': '879131d1fce64eaaa68bd0eefc8ebe61'}} 2025-08-30 21:56:11,431 - INFO - Created VN ctest-vn-39119006 2025-08-30 21:56:11,481 - DEBUG - VN ctest-vn-39119006 UUID is 10580ad5-e8de-40cb-841f-a7d546940bbb 2025-08-30 21:56:11,782 - DEBUG - Response for create_network : {'network': {'id': 'b2d899d2-5e40-4869-b3a6-c0ee72667270', 'name': 'ctest-vn-29067029', 'tenant_id': '879131d1fce64eaaa68bd0eefc8ebe61', 'project_id': '879131d1fce64eaaa68bd0eefc8ebe61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66753212', 'ctest-vn-29067029'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 21:56:11,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '409f7046-f44e-4d75-8f05-92312ebe3ae5', 'name': '', 'tenant_id': '879131d1fce64eaaa68bd0eefc8ebe61', 'network_id': 'b2d899d2-5e40-4869-b3a6-c0ee72667270', 'ip_version': 4, 'cidr': '95.166.0.128/26', 'allocation_pools': [{'start': '95.166.0.130', 'end': '95.166.0.190'}], 'gateway_ip': '95.166.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.166.0.130', 'tags': [], 'project_id': '879131d1fce64eaaa68bd0eefc8ebe61'}} 2025-08-30 21:56:11,955 - INFO - Created VN ctest-vn-29067029 2025-08-30 21:56:12,005 - DEBUG - VN ctest-vn-29067029 UUID is b2d899d2-5e40-4869-b3a6-c0ee72667270 2025-08-30 21:56:12,149 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-39119006, 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-66753212:ctest-vn-29067029, 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-08-30 21:56:12,433 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10580ad5-e8de-40cb-841f-a7d546940bbb', 'name': 'ctest-vn-39119006', 'tenant_id': '879131d1fce64eaaa68bd0eefc8ebe61', 'project_id': '879131d1fce64eaaa68bd0eefc8ebe61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f132c640-f602-45e8-8f9f-0e153b306c55'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66753212', 'ctest-vn-39119006'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66753212', 'ctest-policy-allow-all-83893787']], 'subnet_ipam': [{'subnet_cidr': '92.180.34.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-30 21:56:12,648 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b2d899d2-5e40-4869-b3a6-c0ee72667270', 'name': 'ctest-vn-29067029', 'tenant_id': '879131d1fce64eaaa68bd0eefc8ebe61', 'project_id': '879131d1fce64eaaa68bd0eefc8ebe61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['409f7046-f44e-4d75-8f05-92312ebe3ae5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66753212', 'ctest-vn-29067029'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66753212', 'ctest-policy-allow-all-83893787']], 'subnet_ipam': [{'subnet_cidr': '95.166.0.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-30 21:56:12,809 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-30 21:56:13,103 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-30 21:56:13,127 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1d30c287-e4f2-475a-ac7e-cf81780d2d30 2025-08-30 21:56:13,137 - DEBUG - Requesting: http://10.0.0.49:8082/project/879131d1-fce6-4eaa-a68b-d0eefc8ebe61 2025-08-30 21:56:13,208 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/10580ad5-e8de-40cb-841f-a7d546940bbb 2025-08-30 21:56:13,218 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/10580ad5-e8de-40cb-841f-a7d546940bbb 2025-08-30 21:56:13,227 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9c634438-acb9-4975-842b-4edca156981d 2025-08-30 21:56:13,234 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9c634438-acb9-4975-842b-4edca156981d 2025-08-30 21:56:13,240 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/8613fcb8-b68f-4f39-81f4-6c9f7209670d 2025-08-30 21:56:13,246 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-30 21:56:13,246 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/10580ad5-e8de-40cb-841f-a7d546940bbb 2025-08-30 21:56:13,254 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9c634438-acb9-4975-842b-4edca156981d 2025-08-30 21:56:13,266 - INFO - Verified VN network id 12 for VN 10580ad5-e8de-40cb-841f-a7d546940bbb 2025-08-30 21:56:13,266 - INFO - Verifications in API Server for VN ctest-vn-39119006 passed 2025-08-30 21:56:13,266 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/10580ad5-e8de-40cb-841f-a7d546940bbb 2025-08-30 21:56:13,273 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9c634438-acb9-4975-842b-4edca156981d 2025-08-30 21:56:13,278 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9c634438-acb9-4975-842b-4edca156981d 2025-08-30 21:56:13,283 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/8613fcb8-b68f-4f39-81f4-6c9f7209670d 2025-08-30 21:56:13,292 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-39119006', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66753212', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1177703216408576203', 'uuid-lslong': '9520512671738497979'}, 'enable': 'true', 'created': '2025-08-30T21:56:11', 'last-modified': '2025-08-30T21:56:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.883955'} 2025-08-30 21:56:13,298 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-30 21:56:13,298 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39119006 passed 2025-08-30 21:56:13,298 - DEBUG - ====Verifying policy data for ctest-vn-39119006 in API_Server ====== 2025-08-30 21:56:13,298 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-30 21:56:13,302 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1d30c287-e4f2-475a-ac7e-cf81780d2d30 2025-08-30 21:56:13,312 - DEBUG - Requesting: http://10.0.0.49:8082/project/879131d1-fce6-4eaa-a68b-d0eefc8ebe61 2025-08-30 21:56:13,378 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/10580ad5-e8de-40cb-841f-a7d546940bbb 2025-08-30 21:56:13,385 - DEBUG - ==>Verifying data for policy with id: 8c14ef62-17fe-4176-9609-bd9604027bb6, fqn: ['default-domain', 'ctest-TestBasicPolicy-66753212', 'ctest-policy-allow-all-83893787'] 2025-08-30 21:56:13,385 - INFO - VN ctest-vn-39119006 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-30 21:56:13,385 - DEBUG - Verifying the vn in opserver 2025-08-30 21:56:13,385 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-39119006 virtual network link through opserver 10.0.0.49 2025-08-30 21:56:13,386 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-30 21:56:13,672 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-30 21:56:13,721 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-39119006', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-39119006?flat'} 2025-08-30 21:56:13,721 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-39119006 is found in opserver 2025-08-30 21:56:13,729 - DEBUG - Do not have enough data to verify VN in agent 2025-08-30 21:56:13,732 - DEBUG - VRF ids for VN ctest-vn-39119006: {} 2025-08-30 21:56:13,732 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-30 21:56:13,737 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1d30c287-e4f2-475a-ac7e-cf81780d2d30 2025-08-30 21:56:13,746 - DEBUG - Requesting: http://10.0.0.49:8082/project/879131d1-fce6-4eaa-a68b-d0eefc8ebe61 2025-08-30 21:56:13,816 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b2d899d2-5e40-4869-b3a6-c0ee72667270 2025-08-30 21:56:13,827 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b2d899d2-5e40-4869-b3a6-c0ee72667270 2025-08-30 21:56:13,834 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/89f3e2d1-121e-41fe-8b9f-4ed9bb1c77af 2025-08-30 21:56:13,839 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/89f3e2d1-121e-41fe-8b9f-4ed9bb1c77af 2025-08-30 21:56:13,845 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/04ab3d91-51d3-4c78-b36d-94a92b87367f 2025-08-30 21:56:13,851 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-30 21:56:13,851 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b2d899d2-5e40-4869-b3a6-c0ee72667270 2025-08-30 21:56:13,860 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/89f3e2d1-121e-41fe-8b9f-4ed9bb1c77af 2025-08-30 21:56:13,873 - INFO - Verified VN network id 13 for VN b2d899d2-5e40-4869-b3a6-c0ee72667270 2025-08-30 21:56:13,874 - INFO - Verifications in API Server for VN ctest-vn-29067029 passed 2025-08-30 21:56:13,874 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b2d899d2-5e40-4869-b3a6-c0ee72667270 2025-08-30 21:56:13,885 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/89f3e2d1-121e-41fe-8b9f-4ed9bb1c77af 2025-08-30 21:56:13,891 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/89f3e2d1-121e-41fe-8b9f-4ed9bb1c77af 2025-08-30 21:56:13,898 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/04ab3d91-51d3-4c78-b36d-94a92b87367f 2025-08-30 21:56:13,909 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-29067029', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66753212', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12887219462524127337', 'uuid-lslong': '12945246309277135472'}, 'enable': 'true', 'created': '2025-08-30T21:56:11', 'last-modified': '2025-08-30T21:56:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.283571'} 2025-08-30 21:56:13,914 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-30 21:56:13,914 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29067029 passed 2025-08-30 21:56:13,914 - DEBUG - ====Verifying policy data for ctest-vn-29067029 in API_Server ====== 2025-08-30 21:56:13,914 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-30 21:56:13,920 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1d30c287-e4f2-475a-ac7e-cf81780d2d30 2025-08-30 21:56:13,929 - DEBUG - Requesting: http://10.0.0.49:8082/project/879131d1-fce6-4eaa-a68b-d0eefc8ebe61 2025-08-30 21:56:14,001 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b2d899d2-5e40-4869-b3a6-c0ee72667270 2025-08-30 21:56:14,011 - DEBUG - ==>Verifying data for policy with id: 8c14ef62-17fe-4176-9609-bd9604027bb6, fqn: ['default-domain', 'ctest-TestBasicPolicy-66753212', 'ctest-policy-allow-all-83893787'] 2025-08-30 21:56:14,011 - INFO - VN ctest-vn-29067029 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-30 21:56:14,011 - DEBUG - Verifying the vn in opserver 2025-08-30 21:56:14,011 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-29067029 virtual network link through opserver 10.0.0.49 2025-08-30 21:56:14,011 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-30 21:56:14,022 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-29067029', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-29067029?flat'} 2025-08-30 21:56:14,022 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-29067029 is found in opserver 2025-08-30 21:56:14,030 - DEBUG - Do not have enough data to verify VN in agent 2025-08-30 21:56:14,034 - DEBUG - VRF ids for VN ctest-vn-29067029: {} 2025-08-30 21:56:14,082 - DEBUG - Services list from nova: [, , ] 2025-08-30 21:56:15,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3983-1) 2025-08-30 21:56:16,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3983-1) 2025-08-30 21:56:16,085 - INFO - Waiting for VM ctest-TestBasicPolicy-66753212-26579967 to be up.. 2025-08-30 21:56:16,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-30 21:56:21,215 - DEBUG - VM is in ACTIVE state now 2025-08-30 21:56:21,215 - INFO - VM name : ctest-TestBasicPolicy-66753212-26579967 2025-08-30 21:56:21,280 - DEBUG - VM ctest-TestBasicPolicy-66753212-26579967 ID is ec40b62c-363d-43c0-9899-2290011f3e67 2025-08-30 21:56:21,298 - DEBUG - VM ctest-TestBasicPolicy-66753212-26579967 launched on Node cn-jenkins-deploy-platform-ansible-os-3983-1 2025-08-30 21:56:21,364 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ec40b62c-363d-43c0-9899-2290011f3e67 2025-08-30 21:56:21,371 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c54ed70a-131a-492c-bb92-bfbd56d1fbe6 2025-08-30 21:56:24,627 - 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 1024ms') 2025-08-30 21:56:24,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66753212-26579967 failed! 2025-08-30 21:56:24,681 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66753212:ctest-vn-39119006 is 92.180.34.65 and allocation pool is NOT set 2025-08-30 21:56:26,743 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.365 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.365/1.523/2.681/1.158 ms') 2025-08-30 21:56:26,744 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66753212-26579967 passed 2025-08-30 21:56:26,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:56:26,889 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66753212-26579967, IP 92.180.34.67, Port 22 2025-08-30 21:56:27,045 - DEBUG - VM ctest-TestBasicPolicy-66753212-26579967 is ready for SSH connections 2025-08-30 21:56:27,045 - INFO - Waiting for VM ctest-TestBasicPolicy-66753212-74769019 to be up.. 2025-08-30 21:56:27,111 - DEBUG - VM is in ACTIVE state now 2025-08-30 21:56:27,111 - INFO - VM name : ctest-TestBasicPolicy-66753212-74769019 2025-08-30 21:56:27,174 - DEBUG - VM ctest-TestBasicPolicy-66753212-74769019 ID is 21e6abc4-1b7a-4e52-8fcb-59cbae27c73b 2025-08-30 21:56:27,174 - DEBUG - VM ctest-TestBasicPolicy-66753212-74769019 launched on Node cn-jenkins-deploy-platform-ansible-os-3983-1 2025-08-30 21:56:27,327 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/21e6abc4-1b7a-4e52-8fcb-59cbae27c73b 2025-08-30 21:56:27,334 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/e28be32a-b0ea-4a88-9d7b-db76fa97d48b 2025-08-30 21:56:28,565 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.588/2.710/1.121 ms') 2025-08-30 21:56:28,565 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66753212-74769019 passed 2025-08-30 21:56:28,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:56:28,713 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66753212-74769019, IP 95.166.0.131, Port 22 2025-08-30 21:56:28,865 - DEBUG - VM ctest-TestBasicPolicy-66753212-74769019 is ready for SSH connections 2025-08-30 21:56:28,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:56:28,865 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.166.0.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-30 21:56:28,865 - DEBUG - ping -s 56 -c 3 -W 1 95.166.0.131 2025-08-30 21:56:32,828 - DEBUG - PING 95.166.0.131 (95.166.0.131): 56 data bytes 64 bytes from 95.166.0.131: seq=0 ttl=63 time=3.078 ms 64 bytes from 95.166.0.131: seq=1 ttl=63 time=0.793 ms 64 bytes from 95.166.0.131: seq=2 ttl=63 time=0.784 ms --- 95.166.0.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/1.551/3.078 ms 2025-08-30 21:56:32,828 - INFO - Ping to IP 95.166.0.131 from VM ctest-TestBasicPolicy-66753212-26579967 passed 2025-08-30 21:56:32,993 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8c14ef62-17fe-4176-9609-bd9604027bb6", "href": "http://10.0.0.49:8082/network-policy/8c14ef62-17fe-4176-9609-bd9604027bb6"}} 2025-08-30 21:56:32,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:56:32,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.166.0.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-30 21:56:32,993 - DEBUG - ping -s 56 -c 3 -W 1 95.166.0.131 2025-08-30 21:56:36,194 - DEBUG - PING 95.166.0.131 (95.166.0.131): 56 data bytes 64 bytes from 95.166.0.131: seq=0 ttl=63 time=1.455 ms --- 95.166.0.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.455/1.455/1.455 ms 2025-08-30 21:56:36,194 - WARNING - Ping to IP 95.166.0.131 from VM ctest-TestBasicPolicy-66753212-26579967 failed 2025-08-30 21:56:36,194 - INFO - Deleting VM ctest-TestBasicPolicy-66753212-74769019 2025-08-30 21:56:36,256 - INFO - Deleting VM ctest-TestBasicPolicy-66753212-26579967 2025-08-30 21:56:36,589 - INFO - Deleted policy ctest-policy-allow-all-83893787 2025-08-30 21:56:36,589 - INFO - Deleting VN ctest-vn-29067029 2025-08-30 21:56:36,619 - DEBUG - VN b2d899d2-5e40-4869-b3a6-c0ee72667270 still in use: Unable to complete operation on network b2d899d2-5e40-4869-b3a6-c0ee72667270. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4eaca9f6-9e45-4141-bf77-713ba7e9eddb'] 2025-08-30 21:56:36,619 - WARNING - Deleting VN ctest-vn-29067029 failed..Will retry 2025-08-30 21:56:38,698 - DEBUG - Response for deleting network () 2025-08-30 21:56:38,698 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/89f3e2d1-121e-41fe-8b9f-4ed9bb1c77af 2025-08-30 21:56:38,704 - DEBUG - Response Code: 404 2025-08-30 21:56:38,705 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-30 21:56:38,710 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1d30c287-e4f2-475a-ac7e-cf81780d2d30 2025-08-30 21:56:38,762 - DEBUG - Requesting: http://10.0.0.49:8082/project/879131d1-fce6-4eaa-a68b-d0eefc8ebe61 2025-08-30 21:56:38,830 - INFO - Validated that VN ctest-vn-29067029 is not found in API Server 2025-08-30 21:56:38,839 - DEBUG - VN ctest-vn-29067029 is not present in Agent 10.0.0.49 2025-08-30 21:56:38,839 - INFO - Validated that VN ctest-vn-29067029 is not in any agent 2025-08-30 21:56:38,850 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29067029 info 2025-08-30 21:56:38,850 - INFO - Deleting VN ctest-vn-39119006 2025-08-30 21:56:38,935 - DEBUG - Response for deleting network () 2025-08-30 21:56:38,935 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9c634438-acb9-4975-842b-4edca156981d 2025-08-30 21:56:38,941 - DEBUG - Response Code: 404 2025-08-30 21:56:38,941 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-30 21:56:38,945 - DEBUG - Requesting: http://10.0.0.49:8082/domain/1d30c287-e4f2-475a-ac7e-cf81780d2d30 2025-08-30 21:56:38,998 - DEBUG - Requesting: http://10.0.0.49:8082/project/879131d1-fce6-4eaa-a68b-d0eefc8ebe61 2025-08-30 21:56:39,063 - INFO - Validated that VN ctest-vn-39119006 is not found in API Server 2025-08-30 21:56:39,073 - DEBUG - VN ctest-vn-39119006 is not present in Agent 10.0.0.49 2025-08-30 21:56:39,073 - INFO - Validated that VN ctest-vn-39119006 is not in any agent 2025-08-30 21:56:39,087 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39119006 info 2025-08-30 21:56:39,345 - DEBUG - No XMPP flaps were noticed during the test 2025-08-30 21:56:39,345 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-30 21:56:39,345 - INFO - -------------------------------------------------------------------------------- 2025-08-30 21:56:40,174 - INFO - Deleted project: ctest-TestBasicPolicy-66753212, ID : 879131d1-fce6-4eaa-a68b-d0eefc8ebe61