2025-10-30 02:16:39,013 - INFO - Domain Default found not creating 2025-10-30 02:16:39,163 - INFO - Project ctest-TestBasicPolicy-86480531 not found, creating it 2025-10-30 02:16:39,611 - INFO - Created Project:ctest-TestBasicPolicy-86480531, ID : 769fdce4-9da3-483f-bc64-0202c6665ad3 2025-10-30 02:16:40,998 - INFO - ================================================================================ 2025-10-30 02:16:40,998 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 02:16:40,998 - 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-10-30 02:16:41,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with 2025-10-30 02:16:41,253 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:16:41,253 - INFO - 2025-10-30 02:16:41,783 - DEBUG - Response for create_network : {'network': {'id': '4343bf5f-df02-4a7e-8e3f-74198329cc4f', 'name': 'ctest-vn-00494671', 'tenant_id': '769fdce49da3483fbc640202c6665ad3', 'project_id': '769fdce49da3483fbc640202c6665ad3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86480531', 'ctest-vn-00494671'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:16:41,966 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d0cf4cd-ad1e-4cd0-a5d5-2ad281d37811', 'name': '', 'tenant_id': '769fdce49da3483fbc640202c6665ad3', 'network_id': '4343bf5f-df02-4a7e-8e3f-74198329cc4f', 'ip_version': 4, 'cidr': '7.186.176.0/26', 'allocation_pools': [{'start': '7.186.176.2', 'end': '7.186.176.62'}], 'gateway_ip': '7.186.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.186.176.2', 'tags': [], 'project_id': '769fdce49da3483fbc640202c6665ad3'}} 2025-10-30 02:16:41,981 - INFO - Created VN ctest-vn-00494671 2025-10-30 02:16:42,031 - DEBUG - VN ctest-vn-00494671 UUID is 4343bf5f-df02-4a7e-8e3f-74198329cc4f 2025-10-30 02:16:42,343 - DEBUG - Response for create_network : {'network': {'id': 'b0190e31-e9ec-4afa-bf9a-3076b15aedcf', 'name': 'ctest-vn-79302474', 'tenant_id': '769fdce49da3483fbc640202c6665ad3', 'project_id': '769fdce49da3483fbc640202c6665ad3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86480531', 'ctest-vn-79302474'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:16:42,538 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd5fc152-e616-4b62-86f7-fd94eae4b1a4', 'name': '', 'tenant_id': '769fdce49da3483fbc640202c6665ad3', 'network_id': 'b0190e31-e9ec-4afa-bf9a-3076b15aedcf', 'ip_version': 4, 'cidr': '77.55.14.128/26', 'allocation_pools': [{'start': '77.55.14.130', 'end': '77.55.14.190'}], 'gateway_ip': '77.55.14.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.55.14.130', 'tags': [], 'project_id': '769fdce49da3483fbc640202c6665ad3'}} 2025-10-30 02:16:42,557 - INFO - Created VN ctest-vn-79302474 2025-10-30 02:16:42,607 - DEBUG - VN ctest-vn-79302474 UUID is b0190e31-e9ec-4afa-bf9a-3076b15aedcf 2025-10-30 02:16:42,755 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-00494671, 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-86480531:ctest-vn-79302474, 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-10-30 02:16:43,045 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4343bf5f-df02-4a7e-8e3f-74198329cc4f', 'name': 'ctest-vn-00494671', 'tenant_id': '769fdce49da3483fbc640202c6665ad3', 'project_id': '769fdce49da3483fbc640202c6665ad3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d0cf4cd-ad1e-4cd0-a5d5-2ad281d37811'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86480531', 'ctest-vn-00494671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86480531', 'ctest-policy-allow-all-44635441']], 'subnet_ipam': [{'subnet_cidr': '7.186.176.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:16:43,301 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b0190e31-e9ec-4afa-bf9a-3076b15aedcf', 'name': 'ctest-vn-79302474', 'tenant_id': '769fdce49da3483fbc640202c6665ad3', 'project_id': '769fdce49da3483fbc640202c6665ad3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cd5fc152-e616-4b62-86f7-fd94eae4b1a4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86480531', 'ctest-vn-79302474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86480531', 'ctest-policy-allow-all-44635441']], 'subnet_ipam': [{'subnet_cidr': '77.55.14.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:16:43,463 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-30 02:16:43,772 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-30 02:16:43,802 - DEBUG - Requesting: http://10.0.0.249:8082/domain/30afc504-f48e-4286-8ac3-f99274dbb366 2025-10-30 02:16:43,816 - DEBUG - Requesting: http://10.0.0.249:8082/project/769fdce4-9da3-483f-bc64-0202c6665ad3 2025-10-30 02:16:43,889 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4343bf5f-df02-4a7e-8e3f-74198329cc4f 2025-10-30 02:16:43,899 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4343bf5f-df02-4a7e-8e3f-74198329cc4f 2025-10-30 02:16:43,908 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4fa1e12e-c0c8-412b-b51a-a00295f5ee49 2025-10-30 02:16:43,915 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4fa1e12e-c0c8-412b-b51a-a00295f5ee49 2025-10-30 02:16:43,921 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/37d9a956-61aa-48d4-8423-4e4209f7b226 2025-10-30 02:16:43,927 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 02:16:43,927 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4343bf5f-df02-4a7e-8e3f-74198329cc4f 2025-10-30 02:16:43,934 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4fa1e12e-c0c8-412b-b51a-a00295f5ee49 2025-10-30 02:16:43,946 - INFO - Verified VN network id 11 for VN 4343bf5f-df02-4a7e-8e3f-74198329cc4f 2025-10-30 02:16:43,946 - INFO - Verifications in API Server for VN ctest-vn-00494671 passed 2025-10-30 02:16:43,946 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4343bf5f-df02-4a7e-8e3f-74198329cc4f 2025-10-30 02:16:43,954 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4fa1e12e-c0c8-412b-b51a-a00295f5ee49 2025-10-30 02:16:43,961 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4fa1e12e-c0c8-412b-b51a-a00295f5ee49 2025-10-30 02:16:43,967 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/37d9a956-61aa-48d4-8423-4e4209f7b226 2025-10-30 02:16:43,980 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-00494671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86480531', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4846928042465053310', 'uuid-lslong': '10250038929842097231'}, 'enable': 'true', 'created': '2025-10-30T02:16:41', 'last-modified': '2025-10-30T02:16:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950072'} 2025-10-30 02:16:43,990 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 02:16:43,990 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00494671 passed 2025-10-30 02:16:43,990 - DEBUG - ====Verifying policy data for ctest-vn-00494671 in API_Server ====== 2025-10-30 02:16:43,990 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-30 02:16:43,996 - DEBUG - Requesting: http://10.0.0.249:8082/domain/30afc504-f48e-4286-8ac3-f99274dbb366 2025-10-30 02:16:44,022 - DEBUG - Requesting: http://10.0.0.249:8082/project/769fdce4-9da3-483f-bc64-0202c6665ad3 2025-10-30 02:16:44,093 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4343bf5f-df02-4a7e-8e3f-74198329cc4f 2025-10-30 02:16:44,113 - DEBUG - ==>Verifying data for policy with id: d56249a2-e88f-4af5-8af5-f2d49cb9bb96, fqn: ['default-domain', 'ctest-TestBasicPolicy-86480531', 'ctest-policy-allow-all-44635441'] 2025-10-30 02:16:44,113 - INFO - VN ctest-vn-00494671 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 02:16:44,113 - DEBUG - Verifying the vn in opserver 2025-10-30 02:16:44,113 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-00494671 virtual network link through opserver 10.0.0.249 2025-10-30 02:16:44,113 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-30 02:16:44,405 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-30 02:16:44,456 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-00494671', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-00494671?flat'} 2025-10-30 02:16:44,456 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-00494671 is found in opserver 2025-10-30 02:16:44,468 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 02:16:44,474 - DEBUG - VRF ids for VN ctest-vn-00494671: {} 2025-10-30 02:16:44,474 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-30 02:16:44,480 - DEBUG - Requesting: http://10.0.0.249:8082/domain/30afc504-f48e-4286-8ac3-f99274dbb366 2025-10-30 02:16:44,490 - DEBUG - Requesting: http://10.0.0.249:8082/project/769fdce4-9da3-483f-bc64-0202c6665ad3 2025-10-30 02:16:44,573 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b0190e31-e9ec-4afa-bf9a-3076b15aedcf 2025-10-30 02:16:44,584 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b0190e31-e9ec-4afa-bf9a-3076b15aedcf 2025-10-30 02:16:44,592 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bc3dee51-cb6c-4d40-98d9-0f6da7260787 2025-10-30 02:16:44,602 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bc3dee51-cb6c-4d40-98d9-0f6da7260787 2025-10-30 02:16:44,608 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0a3d9a46-4b6c-444f-9732-8f849573fa06 2025-10-30 02:16:44,614 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 02:16:44,614 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b0190e31-e9ec-4afa-bf9a-3076b15aedcf 2025-10-30 02:16:44,623 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bc3dee51-cb6c-4d40-98d9-0f6da7260787 2025-10-30 02:16:44,635 - INFO - Verified VN network id 12 for VN b0190e31-e9ec-4afa-bf9a-3076b15aedcf 2025-10-30 02:16:44,635 - INFO - Verifications in API Server for VN ctest-vn-79302474 passed 2025-10-30 02:16:44,635 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b0190e31-e9ec-4afa-bf9a-3076b15aedcf 2025-10-30 02:16:44,643 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bc3dee51-cb6c-4d40-98d9-0f6da7260787 2025-10-30 02:16:44,648 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bc3dee51-cb6c-4d40-98d9-0f6da7260787 2025-10-30 02:16:44,655 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0a3d9a46-4b6c-444f-9732-8f849573fa06 2025-10-30 02:16:44,668 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-79302474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86480531', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12689189032633846522', 'uuid-lslong': '13806400893997477327'}, 'enable': 'true', 'created': '2025-10-30T02:16:42', 'last-modified': '2025-10-30T02:16:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.404042'} 2025-10-30 02:16:44,674 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 02:16:44,674 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79302474 passed 2025-10-30 02:16:44,675 - DEBUG - ====Verifying policy data for ctest-vn-79302474 in API_Server ====== 2025-10-30 02:16:44,675 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-30 02:16:44,681 - DEBUG - Requesting: http://10.0.0.249:8082/domain/30afc504-f48e-4286-8ac3-f99274dbb366 2025-10-30 02:16:44,691 - DEBUG - Requesting: http://10.0.0.249:8082/project/769fdce4-9da3-483f-bc64-0202c6665ad3 2025-10-30 02:16:44,761 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b0190e31-e9ec-4afa-bf9a-3076b15aedcf 2025-10-30 02:16:44,771 - DEBUG - ==>Verifying data for policy with id: d56249a2-e88f-4af5-8af5-f2d49cb9bb96, fqn: ['default-domain', 'ctest-TestBasicPolicy-86480531', 'ctest-policy-allow-all-44635441'] 2025-10-30 02:16:44,771 - INFO - VN ctest-vn-79302474 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 02:16:44,771 - DEBUG - Verifying the vn in opserver 2025-10-30 02:16:44,771 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-79302474 virtual network link through opserver 10.0.0.249 2025-10-30 02:16:44,771 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-30 02:16:44,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-79302474', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-79302474?flat'} 2025-10-30 02:16:44,782 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-79302474 is found in opserver 2025-10-30 02:16:44,792 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 02:16:44,797 - DEBUG - VRF ids for VN ctest-vn-79302474: {} 2025-10-30 02:16:44,851 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:16:45,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4531-1) 2025-10-30 02:16:46,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4531-1) 2025-10-30 02:16:46,994 - INFO - Waiting for VM ctest-TestBasicPolicy-86480531-46614626 to be up.. 2025-10-30 02:16:47,078 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:16:52,153 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:16:52,153 - INFO - VM name : ctest-TestBasicPolicy-86480531-46614626 2025-10-30 02:16:52,226 - DEBUG - VM ctest-TestBasicPolicy-86480531-46614626 ID is 5813eb7b-1038-4de9-b30c-c7dec6dad3a9 2025-10-30 02:16:52,247 - DEBUG - VM ctest-TestBasicPolicy-86480531-46614626 launched on Node cn-jenkins-deploy-platform-ansible-os-4531-1 2025-10-30 02:16:52,328 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5813eb7b-1038-4de9-b30c-c7dec6dad3a9 2025-10-30 02:16:52,336 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e30faa62-ec99-410c-961b-19e4c78ca9f6 2025-10-30 02:16:55,594 - 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 1023ms') 2025-10-30 02:16:55,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86480531-46614626 failed! 2025-10-30 02:16:55,647 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86480531:ctest-vn-00494671 is 7.186.176.1 and allocation pool is NOT set 2025-10-30 02:16:57,705 - 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=9.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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.210/5.264/9.319/4.054 ms') 2025-10-30 02:16:57,705 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86480531-46614626 passed 2025-10-30 02:16:57,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:57,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86480531-46614626, IP 7.186.176.3, Port 22 2025-10-30 02:16:58,011 - DEBUG - VM ctest-TestBasicPolicy-86480531-46614626 is ready for SSH connections 2025-10-30 02:16:58,011 - INFO - Waiting for VM ctest-TestBasicPolicy-86480531-09460982 to be up.. 2025-10-30 02:16:58,077 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:16:58,077 - INFO - VM name : ctest-TestBasicPolicy-86480531-09460982 2025-10-30 02:16:58,155 - DEBUG - VM ctest-TestBasicPolicy-86480531-09460982 ID is a9eb1f64-b5be-4f2e-8891-6066aacfba20 2025-10-30 02:16:58,155 - DEBUG - VM ctest-TestBasicPolicy-86480531-09460982 launched on Node cn-jenkins-deploy-platform-ansible-os-4531-1 2025-10-30 02:16:58,222 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a9eb1f64-b5be-4f2e-8891-6066aacfba20 2025-10-30 02:16:58,230 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/28661fe4-99ff-4739-ab7e-aff4e0f9ffba 2025-10-30 02:16:59,464 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/1.769/3.075/1.305 ms') 2025-10-30 02:16:59,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86480531-09460982 passed 2025-10-30 02:16:59,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:59,616 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86480531-09460982, IP 77.55.14.131, Port 22 2025-10-30 02:16:59,789 - DEBUG - VM ctest-TestBasicPolicy-86480531-09460982 is ready for SSH connections 2025-10-30 02:16:59,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:59,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.55.14.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-30 02:16:59,790 - DEBUG - ping -s 56 -c 3 -W 1 77.55.14.131 2025-10-30 02:17:03,528 - DEBUG - PING 77.55.14.131 (77.55.14.131): 56 data bytes 64 bytes from 77.55.14.131: seq=0 ttl=63 time=3.427 ms 64 bytes from 77.55.14.131: seq=1 ttl=63 time=0.786 ms 64 bytes from 77.55.14.131: seq=2 ttl=63 time=1.027 ms --- 77.55.14.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/1.746/3.427 ms 2025-10-30 02:17:03,528 - INFO - Ping to IP 77.55.14.131 from VM ctest-TestBasicPolicy-86480531-46614626 passed 2025-10-30 02:17:03,711 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d56249a2-e88f-4af5-8af5-f2d49cb9bb96", "href": "http://10.0.0.249:8082/network-policy/d56249a2-e88f-4af5-8af5-f2d49cb9bb96"}} 2025-10-30 02:17:03,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:17:03,711 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.55.14.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-30 02:17:03,711 - DEBUG - ping -s 56 -c 3 -W 1 77.55.14.131 2025-10-30 02:17:06,973 - DEBUG - PING 77.55.14.131 (77.55.14.131): 56 data bytes --- 77.55.14.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 02:17:06,973 - WARNING - Ping to IP 77.55.14.131 from VM ctest-TestBasicPolicy-86480531-46614626 failed 2025-10-30 02:17:06,973 - INFO - Deleting VM ctest-TestBasicPolicy-86480531-09460982 2025-10-30 02:17:07,143 - INFO - Deleting VM ctest-TestBasicPolicy-86480531-46614626 2025-10-30 02:17:07,492 - INFO - Deleted policy ctest-policy-allow-all-44635441 2025-10-30 02:17:07,492 - INFO - Deleting VN ctest-vn-79302474 2025-10-30 02:17:07,530 - DEBUG - VN b0190e31-e9ec-4afa-bf9a-3076b15aedcf still in use: Unable to complete operation on network b0190e31-e9ec-4afa-bf9a-3076b15aedcf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a46fe02-3ef6-409b-87f5-31204f4c2ff1'] 2025-10-30 02:17:07,530 - WARNING - Deleting VN ctest-vn-79302474 failed..Will retry 2025-10-30 02:17:09,634 - DEBUG - Response for deleting network () 2025-10-30 02:17:09,634 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/bc3dee51-cb6c-4d40-98d9-0f6da7260787 2025-10-30 02:17:09,639 - DEBUG - Response Code: 404 2025-10-30 02:17:09,644 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-30 02:17:09,650 - DEBUG - Requesting: http://10.0.0.249:8082/domain/30afc504-f48e-4286-8ac3-f99274dbb366 2025-10-30 02:17:09,705 - DEBUG - Requesting: http://10.0.0.249:8082/project/769fdce4-9da3-483f-bc64-0202c6665ad3 2025-10-30 02:17:09,803 - INFO - Validated that VN ctest-vn-79302474 is not found in API Server 2025-10-30 02:17:09,814 - DEBUG - VN ctest-vn-79302474 is not present in Agent 10.0.0.249 2025-10-30 02:17:09,814 - INFO - Validated that VN ctest-vn-79302474 is not in any agent 2025-10-30 02:17:09,829 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79302474 info 2025-10-30 02:17:09,829 - INFO - Deleting VN ctest-vn-00494671 2025-10-30 02:17:09,944 - DEBUG - Response for deleting network () 2025-10-30 02:17:09,945 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4fa1e12e-c0c8-412b-b51a-a00295f5ee49 2025-10-30 02:17:09,953 - DEBUG - Response Code: 404 2025-10-30 02:17:09,953 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-30 02:17:09,960 - DEBUG - Requesting: http://10.0.0.249:8082/domain/30afc504-f48e-4286-8ac3-f99274dbb366 2025-10-30 02:17:10,018 - DEBUG - Requesting: http://10.0.0.249:8082/project/769fdce4-9da3-483f-bc64-0202c6665ad3 2025-10-30 02:17:10,094 - INFO - Validated that VN ctest-vn-00494671 is not found in API Server 2025-10-30 02:17:10,105 - DEBUG - VN ctest-vn-00494671 is not present in Agent 10.0.0.249 2025-10-30 02:17:10,105 - INFO - Validated that VN ctest-vn-00494671 is not in any agent 2025-10-30 02:17:10,122 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00494671 info 2025-10-30 02:17:10,381 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 02:17:10,381 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-30 02:17:10,381 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:17:11,068 - INFO - Deleted project: ctest-TestBasicPolicy-86480531, ID : 769fdce4-9da3-483f-bc64-0202c6665ad3