2025-08-22 22:24:39,763 - INFO - Domain Default found not creating 2025-08-22 22:24:40,069 - INFO - Project ctest-TestBasicPolicy-69751828 not found, creating it 2025-08-22 22:24:40,584 - INFO - Created Project:ctest-TestBasicPolicy-69751828, ID : dfe18eed-3e79-488e-a3b1-a168fa5a0cb2 2025-08-22 22:24:42,610 - INFO - ================================================================================ 2025-08-22 22:24:42,610 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-22 22:24:42,610 - 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-22 22:24:42,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-22 22:24:42,916 - INFO - Initial checks done. Running the testcase now 2025-08-22 22:24:42,916 - INFO - 2025-08-22 22:24:43,669 - DEBUG - Response for create_network : {'network': {'id': '68069335-b19d-4e53-adc0-4fe5a309012d', 'name': 'ctest-vn-89065665', 'tenant_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2', 'project_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69751828', 'ctest-vn-89065665'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 22:24:43,855 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6947789-16dd-4cc3-ab37-eb82acf2117f', 'name': '', 'tenant_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2', 'network_id': '68069335-b19d-4e53-adc0-4fe5a309012d', 'ip_version': 4, 'cidr': '77.7.210.64/26', 'allocation_pools': [{'start': '77.7.210.66', 'end': '77.7.210.126'}], 'gateway_ip': '77.7.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.7.210.66', 'tags': [], 'project_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2'}} 2025-08-22 22:24:43,870 - INFO - Created VN ctest-vn-89065665 2025-08-22 22:24:43,928 - DEBUG - VN ctest-vn-89065665 UUID is 68069335-b19d-4e53-adc0-4fe5a309012d 2025-08-22 22:24:44,365 - DEBUG - Response for create_network : {'network': {'id': 'ae1e7a65-1b43-454d-8eb6-828a54c2e289', 'name': 'ctest-vn-89885472', 'tenant_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2', 'project_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69751828', 'ctest-vn-89885472'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 22:24:44,649 - DEBUG - Response for create_subnet : {'subnet': {'id': '046f6c34-df99-407e-a6c0-3ca493dd7e9c', 'name': '', 'tenant_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2', 'network_id': 'ae1e7a65-1b43-454d-8eb6-828a54c2e289', 'ip_version': 4, 'cidr': '154.76.154.0/26', 'allocation_pools': [{'start': '154.76.154.2', 'end': '154.76.154.62'}], 'gateway_ip': '154.76.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.76.154.2', 'tags': [], 'project_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2'}} 2025-08-22 22:24:44,683 - INFO - Created VN ctest-vn-89885472 2025-08-22 22:24:44,764 - DEBUG - VN ctest-vn-89885472 UUID is ae1e7a65-1b43-454d-8eb6-828a54c2e289 2025-08-22 22:24:44,942 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89065665, 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-69751828:ctest-vn-89885472, 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-22 22:24:45,415 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '68069335-b19d-4e53-adc0-4fe5a309012d', 'name': 'ctest-vn-89065665', 'tenant_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2', 'project_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f6947789-16dd-4cc3-ab37-eb82acf2117f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69751828', 'ctest-vn-89065665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69751828', 'ctest-policy-allow-all-75450329']], 'subnet_ipam': [{'subnet_cidr': '77.7.210.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-22 22:24:45,771 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae1e7a65-1b43-454d-8eb6-828a54c2e289', 'name': 'ctest-vn-89885472', 'tenant_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2', 'project_id': 'dfe18eed3e79488ea3b1a168fa5a0cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['046f6c34-df99-407e-a6c0-3ca493dd7e9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69751828', 'ctest-vn-89885472'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69751828', 'ctest-policy-allow-all-75450329']], 'subnet_ipam': [{'subnet_cidr': '154.76.154.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-22 22:24:45,948 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 22:24:46,270 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 22:24:46,315 - DEBUG - Requesting: http://10.0.0.254:8082/domain/753e6ff0-4d1a-4e49-ab0e-251036bab123 2025-08-22 22:24:46,348 - DEBUG - Requesting: http://10.0.0.254:8082/project/dfe18eed-3e79-488e-a3b1-a168fa5a0cb2 2025-08-22 22:24:46,468 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/68069335-b19d-4e53-adc0-4fe5a309012d 2025-08-22 22:24:46,499 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/68069335-b19d-4e53-adc0-4fe5a309012d 2025-08-22 22:24:46,531 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7649e625-6bcd-4169-be06-d636e06ecde4 2025-08-22 22:24:46,554 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7649e625-6bcd-4169-be06-d636e06ecde4 2025-08-22 22:24:46,577 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8b2d1d8a-fa2c-461b-bdb9-63c06fc53bfd 2025-08-22 22:24:46,597 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-22 22:24:46,597 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/68069335-b19d-4e53-adc0-4fe5a309012d 2025-08-22 22:24:46,628 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7649e625-6bcd-4169-be06-d636e06ecde4 2025-08-22 22:24:46,675 - INFO - Verified VN network id 11 for VN 68069335-b19d-4e53-adc0-4fe5a309012d 2025-08-22 22:24:46,675 - INFO - Verifications in API Server for VN ctest-vn-89065665 passed 2025-08-22 22:24:46,676 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/68069335-b19d-4e53-adc0-4fe5a309012d 2025-08-22 22:24:46,709 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7649e625-6bcd-4169-be06-d636e06ecde4 2025-08-22 22:24:46,735 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7649e625-6bcd-4169-be06-d636e06ecde4 2025-08-22 22:24:46,759 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8b2d1d8a-fa2c-461b-bdb9-63c06fc53bfd 2025-08-22 22:24:46,800 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89065665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69751828', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7495840488627195475', 'uuid-lslong': '12520094811791360301'}, 'enable': 'true', 'created': '2025-08-22T22:24:43', 'last-modified': '2025-08-22T22:24:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.435173'} 2025-08-22 22:24:46,818 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-22 22:24:46,819 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89065665 passed 2025-08-22 22:24:46,819 - DEBUG - ====Verifying policy data for ctest-vn-89065665 in API_Server ====== 2025-08-22 22:24:46,819 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 22:24:46,837 - DEBUG - Requesting: http://10.0.0.254:8082/domain/753e6ff0-4d1a-4e49-ab0e-251036bab123 2025-08-22 22:24:46,865 - DEBUG - Requesting: http://10.0.0.254:8082/project/dfe18eed-3e79-488e-a3b1-a168fa5a0cb2 2025-08-22 22:24:46,984 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/68069335-b19d-4e53-adc0-4fe5a309012d 2025-08-22 22:24:47,009 - DEBUG - ==>Verifying data for policy with id: e1538301-82c4-4b61-924c-7eb183a2a89e, fqn: ['default-domain', 'ctest-TestBasicPolicy-69751828', 'ctest-policy-allow-all-75450329'] 2025-08-22 22:24:47,009 - INFO - VN ctest-vn-89065665 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-22 22:24:47,010 - DEBUG - Verifying the vn in opserver 2025-08-22 22:24:47,010 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89065665 virtual network link through opserver 10.0.0.254 2025-08-22 22:24:47,010 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-22 22:24:47,354 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-22 22:24:47,409 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89065665', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89065665?flat'} 2025-08-22 22:24:47,409 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89065665 is found in opserver 2025-08-22 22:24:47,429 - DEBUG - Do not have enough data to verify VN in agent 2025-08-22 22:24:47,438 - DEBUG - VRF ids for VN ctest-vn-89065665: {} 2025-08-22 22:24:47,438 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 22:24:47,450 - DEBUG - Requesting: http://10.0.0.254:8082/domain/753e6ff0-4d1a-4e49-ab0e-251036bab123 2025-08-22 22:24:47,473 - DEBUG - Requesting: http://10.0.0.254:8082/project/dfe18eed-3e79-488e-a3b1-a168fa5a0cb2 2025-08-22 22:24:47,600 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ae1e7a65-1b43-454d-8eb6-828a54c2e289 2025-08-22 22:24:47,627 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ae1e7a65-1b43-454d-8eb6-828a54c2e289 2025-08-22 22:24:47,651 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14907758-1518-43fd-9b75-4d0d3e49e9dc 2025-08-22 22:24:47,673 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14907758-1518-43fd-9b75-4d0d3e49e9dc 2025-08-22 22:24:47,697 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b300fffa-412d-4c0e-8370-d334a523a3bd 2025-08-22 22:24:47,715 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-22 22:24:47,715 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ae1e7a65-1b43-454d-8eb6-828a54c2e289 2025-08-22 22:24:47,739 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14907758-1518-43fd-9b75-4d0d3e49e9dc 2025-08-22 22:24:47,775 - INFO - Verified VN network id 12 for VN ae1e7a65-1b43-454d-8eb6-828a54c2e289 2025-08-22 22:24:47,775 - INFO - Verifications in API Server for VN ctest-vn-89885472 passed 2025-08-22 22:24:47,776 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ae1e7a65-1b43-454d-8eb6-828a54c2e289 2025-08-22 22:24:47,806 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14907758-1518-43fd-9b75-4d0d3e49e9dc 2025-08-22 22:24:47,824 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14907758-1518-43fd-9b75-4d0d3e49e9dc 2025-08-22 22:24:47,836 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b300fffa-412d-4c0e-8370-d334a523a3bd 2025-08-22 22:24:47,862 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89885472', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69751828', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12546600186568459597', 'uuid-lslong': '10283550329786262153'}, 'enable': 'true', 'created': '2025-08-22T22:24:44', 'last-modified': '2025-08-22T22:24:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.133568'} 2025-08-22 22:24:47,874 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-22 22:24:47,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89885472 passed 2025-08-22 22:24:47,874 - DEBUG - ====Verifying policy data for ctest-vn-89885472 in API_Server ====== 2025-08-22 22:24:47,874 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 22:24:47,883 - DEBUG - Requesting: http://10.0.0.254:8082/domain/753e6ff0-4d1a-4e49-ab0e-251036bab123 2025-08-22 22:24:47,904 - DEBUG - Requesting: http://10.0.0.254:8082/project/dfe18eed-3e79-488e-a3b1-a168fa5a0cb2 2025-08-22 22:24:48,037 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ae1e7a65-1b43-454d-8eb6-828a54c2e289 2025-08-22 22:24:48,061 - DEBUG - ==>Verifying data for policy with id: e1538301-82c4-4b61-924c-7eb183a2a89e, fqn: ['default-domain', 'ctest-TestBasicPolicy-69751828', 'ctest-policy-allow-all-75450329'] 2025-08-22 22:24:48,061 - INFO - VN ctest-vn-89885472 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-22 22:24:48,061 - DEBUG - Verifying the vn in opserver 2025-08-22 22:24:48,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89885472 virtual network link through opserver 10.0.0.254 2025-08-22 22:24:48,061 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-22 22:24:48,085 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89885472', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89885472?flat'} 2025-08-22 22:24:48,085 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89885472 is found in opserver 2025-08-22 22:24:48,117 - DEBUG - Do not have enough data to verify VN in agent 2025-08-22 22:24:48,132 - DEBUG - VRF ids for VN ctest-vn-89885472: {} 2025-08-22 22:24:48,261 - DEBUG - Services list from nova: [, , ] 2025-08-22 22:24:49,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3913-1) 2025-08-22 22:24:51,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3913-1) 2025-08-22 22:24:51,215 - INFO - Waiting for VM ctest-TestBasicPolicy-69751828-18531426 to be up.. 2025-08-22 22:24:51,293 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 22:24:56,459 - DEBUG - VM is in ACTIVE state now 2025-08-22 22:24:56,459 - INFO - VM name : ctest-TestBasicPolicy-69751828-18531426 2025-08-22 22:24:56,579 - DEBUG - VM ctest-TestBasicPolicy-69751828-18531426 ID is f62cbfa2-f06c-40a8-87b6-8dce0140504d 2025-08-22 22:24:56,604 - DEBUG - VM ctest-TestBasicPolicy-69751828-18531426 launched on Node cn-jenkins-deploy-platform-ansible-os-3913-1 2025-08-22 22:24:56,754 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f62cbfa2-f06c-40a8-87b6-8dce0140504d 2025-08-22 22:24:56,784 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/41170531-15e4-42ad-98e2-e3c4ef93356a 2025-08-22 22:25:00,129 - 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 1034ms') 2025-08-22 22:25:00,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69751828-18531426 failed! 2025-08-22 22:25:00,188 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69751828:ctest-vn-89065665 is 77.7.210.65 and allocation pool is NOT set 2025-08-22 22:25:02,258 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.989 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.989/2.836/4.683/1.847 ms') 2025-08-22 22:25:02,258 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69751828-18531426 passed 2025-08-22 22:25:02,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:25:02,424 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69751828-18531426, IP 77.7.210.67, Port 22 2025-08-22 22:25:02,593 - DEBUG - VM ctest-TestBasicPolicy-69751828-18531426 is ready for SSH connections 2025-08-22 22:25:02,593 - INFO - Waiting for VM ctest-TestBasicPolicy-69751828-11264314 to be up.. 2025-08-22 22:25:02,676 - DEBUG - VM is in ACTIVE state now 2025-08-22 22:25:02,676 - INFO - VM name : ctest-TestBasicPolicy-69751828-11264314 2025-08-22 22:25:02,754 - DEBUG - VM ctest-TestBasicPolicy-69751828-11264314 ID is 954ecea4-ed32-4195-96f4-4bb5eeba75ab 2025-08-22 22:25:02,754 - DEBUG - VM ctest-TestBasicPolicy-69751828-11264314 launched on Node cn-jenkins-deploy-platform-ansible-os-3913-1 2025-08-22 22:25:02,837 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/954ecea4-ed32-4195-96f4-4bb5eeba75ab 2025-08-22 22:25:02,849 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8f177560-2ebf-4924-ac65-9cd7c2b37d93 2025-08-22 22:25:04,115 - 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=4.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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 = 1.074/2.599/4.124/1.525 ms') 2025-08-22 22:25:04,115 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69751828-11264314 passed 2025-08-22 22:25:04,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:25:04,309 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69751828-11264314, IP 154.76.154.3, Port 22 2025-08-22 22:25:04,499 - DEBUG - VM ctest-TestBasicPolicy-69751828-11264314 is ready for SSH connections 2025-08-22 22:25:04,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:25:04,499 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.76.154.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 22:25:04,500 - DEBUG - ping -s 56 -c 3 -W 1 154.76.154.3 2025-08-22 22:25:08,688 - DEBUG - PING 154.76.154.3 (154.76.154.3): 56 data bytes 64 bytes from 154.76.154.3: seq=0 ttl=63 time=4.069 ms 64 bytes from 154.76.154.3: seq=1 ttl=63 time=1.603 ms 64 bytes from 154.76.154.3: seq=2 ttl=63 time=1.612 ms --- 154.76.154.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.603/2.428/4.069 ms 2025-08-22 22:25:08,688 - INFO - Ping to IP 154.76.154.3 from VM ctest-TestBasicPolicy-69751828-18531426 passed 2025-08-22 22:25:08,960 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e1538301-82c4-4b61-924c-7eb183a2a89e", "href": "http://10.0.0.254:8082/network-policy/e1538301-82c4-4b61-924c-7eb183a2a89e"}} 2025-08-22 22:25:08,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:25:08,960 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.76.154.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 22:25:08,960 - DEBUG - ping -s 56 -c 3 -W 1 154.76.154.3 2025-08-22 22:25:12,216 - DEBUG - PING 154.76.154.3 (154.76.154.3): 56 data bytes --- 154.76.154.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-22 22:25:12,217 - WARNING - Ping to IP 154.76.154.3 from VM ctest-TestBasicPolicy-69751828-18531426 failed 2025-08-22 22:25:12,217 - INFO - Deleting VM ctest-TestBasicPolicy-69751828-11264314 2025-08-22 22:25:12,361 - INFO - Deleting VM ctest-TestBasicPolicy-69751828-18531426 2025-08-22 22:25:12,965 - INFO - Deleted policy ctest-policy-allow-all-75450329 2025-08-22 22:25:12,965 - INFO - Deleting VN ctest-vn-89885472 2025-08-22 22:25:13,011 - DEBUG - VN ae1e7a65-1b43-454d-8eb6-828a54c2e289 still in use: Unable to complete operation on network ae1e7a65-1b43-454d-8eb6-828a54c2e289. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9648cd2-eb52-4f1b-bb9c-7c6c4008d88d'] 2025-08-22 22:25:13,011 - WARNING - Deleting VN ctest-vn-89885472 failed..Will retry 2025-08-22 22:25:15,201 - DEBUG - Response for deleting network () 2025-08-22 22:25:15,201 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/14907758-1518-43fd-9b75-4d0d3e49e9dc 2025-08-22 22:25:15,210 - DEBUG - Response Code: 404 2025-08-22 22:25:15,210 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 22:25:15,218 - DEBUG - Requesting: http://10.0.0.254:8082/domain/753e6ff0-4d1a-4e49-ab0e-251036bab123 2025-08-22 22:25:15,241 - DEBUG - Requesting: http://10.0.0.254:8082/project/dfe18eed-3e79-488e-a3b1-a168fa5a0cb2 2025-08-22 22:25:15,342 - INFO - Validated that VN ctest-vn-89885472 is not found in API Server 2025-08-22 22:25:15,360 - DEBUG - VN ctest-vn-89885472 is not present in Agent 10.0.0.254 2025-08-22 22:25:15,360 - INFO - Validated that VN ctest-vn-89885472 is not in any agent 2025-08-22 22:25:15,380 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89885472 info 2025-08-22 22:25:15,380 - INFO - Deleting VN ctest-vn-89065665 2025-08-22 22:25:15,548 - DEBUG - Response for deleting network () 2025-08-22 22:25:15,548 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7649e625-6bcd-4169-be06-d636e06ecde4 2025-08-22 22:25:15,553 - DEBUG - Response Code: 404 2025-08-22 22:25:15,554 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-22 22:25:15,560 - DEBUG - Requesting: http://10.0.0.254:8082/domain/753e6ff0-4d1a-4e49-ab0e-251036bab123 2025-08-22 22:25:15,614 - DEBUG - Requesting: http://10.0.0.254:8082/project/dfe18eed-3e79-488e-a3b1-a168fa5a0cb2 2025-08-22 22:25:15,702 - INFO - Validated that VN ctest-vn-89065665 is not found in API Server 2025-08-22 22:25:15,717 - DEBUG - VN ctest-vn-89065665 is not present in Agent 10.0.0.254 2025-08-22 22:25:15,717 - INFO - Validated that VN ctest-vn-89065665 is not in any agent 2025-08-22 22:25:15,739 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89065665 info 2025-08-22 22:25:16,029 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 22:25:16,029 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-08-22 22:25:16,029 - INFO - -------------------------------------------------------------------------------- 2025-08-22 22:25:16,716 - INFO - Deleted project: ctest-TestBasicPolicy-69751828, ID : dfe18eed-3e79-488e-a3b1-a168fa5a0cb2