2025-08-12 14:43:43,698 - INFO - Domain Default found not creating 2025-08-12 14:43:43,812 - INFO - Project ctest-TestBasicPolicy-58819493 not found, creating it 2025-08-12 14:43:44,268 - INFO - Created Project:ctest-TestBasicPolicy-58819493, ID : 8fbcf24d-9168-4f57-a96f-54e07ca1864b 2025-08-12 14:43:45,622 - INFO - ================================================================================ 2025-08-12 14:43:45,622 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-12 14:43:45,622 - 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-12 14:43:45,876 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-12 14:43:45,876 - INFO - Initial checks done. Running the testcase now 2025-08-12 14:43:45,876 - INFO - 2025-08-12 14:43:46,392 - DEBUG - Response for create_network : {'network': {'id': '7bfcc33d-0614-47ad-9d1d-1829da65c1e5', 'name': 'ctest-vn-67742318', 'tenant_id': '8fbcf24d91684f57a96f54e07ca1864b', 'project_id': '8fbcf24d91684f57a96f54e07ca1864b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58819493', 'ctest-vn-67742318'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:43:46,527 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c715d1a6-690e-45c7-8f17-84a2d486b7ba', 'name': '', 'tenant_id': '8fbcf24d91684f57a96f54e07ca1864b', 'network_id': '7bfcc33d-0614-47ad-9d1d-1829da65c1e5', 'ip_version': 4, 'cidr': '35.132.37.64/26', 'allocation_pools': [{'start': '35.132.37.66', 'end': '35.132.37.126'}], 'gateway_ip': '35.132.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.132.37.66', 'tags': [], 'project_id': '8fbcf24d91684f57a96f54e07ca1864b'}} 2025-08-12 14:43:46,543 - INFO - Created VN ctest-vn-67742318 2025-08-12 14:43:46,594 - DEBUG - VN ctest-vn-67742318 UUID is 7bfcc33d-0614-47ad-9d1d-1829da65c1e5 2025-08-12 14:43:46,900 - DEBUG - Response for create_network : {'network': {'id': 'cc1291a3-7537-4add-b541-cb11552ba99b', 'name': 'ctest-vn-72733415', 'tenant_id': '8fbcf24d91684f57a96f54e07ca1864b', 'project_id': '8fbcf24d91684f57a96f54e07ca1864b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58819493', 'ctest-vn-72733415'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:43:47,094 - DEBUG - Response for create_subnet : {'subnet': {'id': '838bac27-c9cc-41ea-9523-0cc1ba2d7626', 'name': '', 'tenant_id': '8fbcf24d91684f57a96f54e07ca1864b', 'network_id': 'cc1291a3-7537-4add-b541-cb11552ba99b', 'ip_version': 4, 'cidr': '38.108.31.0/26', 'allocation_pools': [{'start': '38.108.31.2', 'end': '38.108.31.62'}], 'gateway_ip': '38.108.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.108.31.2', 'tags': [], 'project_id': '8fbcf24d91684f57a96f54e07ca1864b'}} 2025-08-12 14:43:47,113 - INFO - Created VN ctest-vn-72733415 2025-08-12 14:43:47,162 - DEBUG - VN ctest-vn-72733415 UUID is cc1291a3-7537-4add-b541-cb11552ba99b 2025-08-12 14:43:47,310 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-67742318, 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-58819493:ctest-vn-72733415, 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-12 14:43:47,581 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7bfcc33d-0614-47ad-9d1d-1829da65c1e5', 'name': 'ctest-vn-67742318', 'tenant_id': '8fbcf24d91684f57a96f54e07ca1864b', 'project_id': '8fbcf24d91684f57a96f54e07ca1864b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c715d1a6-690e-45c7-8f17-84a2d486b7ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58819493', 'ctest-vn-67742318'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58819493', 'ctest-policy-allow-all-74009426']], 'subnet_ipam': [{'subnet_cidr': '35.132.37.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:43:47,799 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc1291a3-7537-4add-b541-cb11552ba99b', 'name': 'ctest-vn-72733415', 'tenant_id': '8fbcf24d91684f57a96f54e07ca1864b', 'project_id': '8fbcf24d91684f57a96f54e07ca1864b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['838bac27-c9cc-41ea-9523-0cc1ba2d7626'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58819493', 'ctest-vn-72733415'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58819493', 'ctest-policy-allow-all-74009426']], 'subnet_ipam': [{'subnet_cidr': '38.108.31.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:43:47,963 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 14:43:48,251 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 14:43:48,274 - DEBUG - Requesting: http://10.0.0.38:8082/domain/28245a34-8ab3-488f-b660-849aa043eec7 2025-08-12 14:43:48,285 - DEBUG - Requesting: http://10.0.0.38:8082/project/8fbcf24d-9168-4f57-a96f-54e07ca1864b 2025-08-12 14:43:48,354 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7bfcc33d-0614-47ad-9d1d-1829da65c1e5 2025-08-12 14:43:48,363 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7bfcc33d-0614-47ad-9d1d-1829da65c1e5 2025-08-12 14:43:48,371 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b14ad97-148d-4f02-be06-89e4044931fa 2025-08-12 14:43:48,377 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b14ad97-148d-4f02-be06-89e4044931fa 2025-08-12 14:43:48,383 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a9ad3c9-057b-4d68-88e1-5d9a6826adaa 2025-08-12 14:43:48,388 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 14:43:48,388 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7bfcc33d-0614-47ad-9d1d-1829da65c1e5 2025-08-12 14:43:48,396 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b14ad97-148d-4f02-be06-89e4044931fa 2025-08-12 14:43:48,408 - INFO - Verified VN network id 11 for VN 7bfcc33d-0614-47ad-9d1d-1829da65c1e5 2025-08-12 14:43:48,408 - INFO - Verifications in API Server for VN ctest-vn-67742318 passed 2025-08-12 14:43:48,408 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7bfcc33d-0614-47ad-9d1d-1829da65c1e5 2025-08-12 14:43:48,416 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b14ad97-148d-4f02-be06-89e4044931fa 2025-08-12 14:43:48,421 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b14ad97-148d-4f02-be06-89e4044931fa 2025-08-12 14:43:48,427 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a9ad3c9-057b-4d68-88e1-5d9a6826adaa 2025-08-12 14:43:48,437 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-67742318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58819493', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8934230427658635181', 'uuid-lslong': '11321231606316122597'}, 'enable': 'true', 'created': '2025-08-12T14:43:46', 'last-modified': '2025-08-12T14:43:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.875510'} 2025-08-12 14:43:48,443 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 14:43:48,443 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67742318 passed 2025-08-12 14:43:48,443 - DEBUG - ====Verifying policy data for ctest-vn-67742318 in API_Server ====== 2025-08-12 14:43:48,443 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 14:43:48,447 - DEBUG - Requesting: http://10.0.0.38:8082/domain/28245a34-8ab3-488f-b660-849aa043eec7 2025-08-12 14:43:48,457 - DEBUG - Requesting: http://10.0.0.38:8082/project/8fbcf24d-9168-4f57-a96f-54e07ca1864b 2025-08-12 14:43:48,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7bfcc33d-0614-47ad-9d1d-1829da65c1e5 2025-08-12 14:43:48,539 - DEBUG - ==>Verifying data for policy with id: d31882a0-86ae-4578-8fdd-08e1a9615b8f, fqn: ['default-domain', 'ctest-TestBasicPolicy-58819493', 'ctest-policy-allow-all-74009426'] 2025-08-12 14:43:48,539 - INFO - VN ctest-vn-67742318 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 14:43:48,539 - DEBUG - Verifying the vn in opserver 2025-08-12 14:43:48,539 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-67742318 virtual network link through opserver 10.0.0.38 2025-08-12 14:43:48,539 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-12 14:43:48,826 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-12 14:43:48,871 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-67742318', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-67742318?flat'} 2025-08-12 14:43:48,871 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-67742318 is found in opserver 2025-08-12 14:43:48,881 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 14:43:48,886 - DEBUG - VRF ids for VN ctest-vn-67742318: {} 2025-08-12 14:43:48,886 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 14:43:48,890 - DEBUG - Requesting: http://10.0.0.38:8082/domain/28245a34-8ab3-488f-b660-849aa043eec7 2025-08-12 14:43:48,900 - DEBUG - Requesting: http://10.0.0.38:8082/project/8fbcf24d-9168-4f57-a96f-54e07ca1864b 2025-08-12 14:43:48,967 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc1291a3-7537-4add-b541-cb11552ba99b 2025-08-12 14:43:48,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc1291a3-7537-4add-b541-cb11552ba99b 2025-08-12 14:43:48,985 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0596e36-7e01-4825-9e3f-17f4c2ce3b1e 2025-08-12 14:43:48,991 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0596e36-7e01-4825-9e3f-17f4c2ce3b1e 2025-08-12 14:43:48,997 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ee69b8ba-03a9-495b-a521-63e8dffb3993 2025-08-12 14:43:49,002 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 14:43:49,002 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc1291a3-7537-4add-b541-cb11552ba99b 2025-08-12 14:43:49,010 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0596e36-7e01-4825-9e3f-17f4c2ce3b1e 2025-08-12 14:43:49,022 - INFO - Verified VN network id 12 for VN cc1291a3-7537-4add-b541-cb11552ba99b 2025-08-12 14:43:49,022 - INFO - Verifications in API Server for VN ctest-vn-72733415 passed 2025-08-12 14:43:49,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc1291a3-7537-4add-b541-cb11552ba99b 2025-08-12 14:43:49,030 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0596e36-7e01-4825-9e3f-17f4c2ce3b1e 2025-08-12 14:43:49,036 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0596e36-7e01-4825-9e3f-17f4c2ce3b1e 2025-08-12 14:43:49,042 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ee69b8ba-03a9-495b-a521-63e8dffb3993 2025-08-12 14:43:49,052 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-72733415', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58819493', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14704975864550345437', 'uuid-lslong': '13060943669654956443'}, 'enable': 'true', 'created': '2025-08-12T14:43:46', 'last-modified': '2025-08-12T14:43:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.274320'} 2025-08-12 14:43:49,057 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 14:43:49,057 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72733415 passed 2025-08-12 14:43:49,057 - DEBUG - ====Verifying policy data for ctest-vn-72733415 in API_Server ====== 2025-08-12 14:43:49,058 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 14:43:49,063 - DEBUG - Requesting: http://10.0.0.38:8082/domain/28245a34-8ab3-488f-b660-849aa043eec7 2025-08-12 14:43:49,073 - DEBUG - Requesting: http://10.0.0.38:8082/project/8fbcf24d-9168-4f57-a96f-54e07ca1864b 2025-08-12 14:43:49,142 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cc1291a3-7537-4add-b541-cb11552ba99b 2025-08-12 14:43:49,151 - DEBUG - ==>Verifying data for policy with id: d31882a0-86ae-4578-8fdd-08e1a9615b8f, fqn: ['default-domain', 'ctest-TestBasicPolicy-58819493', 'ctest-policy-allow-all-74009426'] 2025-08-12 14:43:49,151 - INFO - VN ctest-vn-72733415 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 14:43:49,151 - DEBUG - Verifying the vn in opserver 2025-08-12 14:43:49,151 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-72733415 virtual network link through opserver 10.0.0.38 2025-08-12 14:43:49,151 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-12 14:43:49,159 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-72733415', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-72733415?flat'} 2025-08-12 14:43:49,159 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-72733415 is found in opserver 2025-08-12 14:43:49,169 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 14:43:49,173 - DEBUG - VRF ids for VN ctest-vn-72733415: {} 2025-08-12 14:43:49,221 - DEBUG - Services list from nova: [, , ] 2025-08-12 14:43:50,138 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3832-1) 2025-08-12 14:43:51,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3832-1) 2025-08-12 14:43:51,157 - INFO - Waiting for VM ctest-TestBasicPolicy-58819493-49769733 to be up.. 2025-08-12 14:43:51,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 14:43:56,287 - DEBUG - VM is in ACTIVE state now 2025-08-12 14:43:56,287 - INFO - VM name : ctest-TestBasicPolicy-58819493-49769733 2025-08-12 14:43:56,347 - DEBUG - VM ctest-TestBasicPolicy-58819493-49769733 ID is 4d7b8a7f-964f-41e1-9b8f-f84b96f15f24 2025-08-12 14:43:56,363 - DEBUG - VM ctest-TestBasicPolicy-58819493-49769733 launched on Node cn-jenkins-deploy-platform-ansible-os-3832-1 2025-08-12 14:43:56,422 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d7b8a7f-964f-41e1-9b8f-f84b96f15f24 2025-08-12 14:43:56,429 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7ff46433-2e74-4abd-b44a-e1b81b499287 2025-08-12 14:43:59,673 - 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 1008ms') 2025-08-12 14:43:59,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58819493-49769733 failed! 2025-08-12 14:43:59,730 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58819493:ctest-vn-67742318 is 35.132.37.65 and allocation pool is NOT set 2025-08-12 14:44:01,788 - 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.381 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.381/1.530/2.679/1.149 ms') 2025-08-12 14:44:01,788 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58819493-49769733 passed 2025-08-12 14:44:01,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:44:01,935 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58819493-49769733, IP 35.132.37.67, Port 22 2025-08-12 14:44:02,094 - DEBUG - VM ctest-TestBasicPolicy-58819493-49769733 is ready for SSH connections 2025-08-12 14:44:02,094 - INFO - Waiting for VM ctest-TestBasicPolicy-58819493-41033786 to be up.. 2025-08-12 14:44:02,155 - DEBUG - VM is in ACTIVE state now 2025-08-12 14:44:02,155 - INFO - VM name : ctest-TestBasicPolicy-58819493-41033786 2025-08-12 14:44:02,213 - DEBUG - VM ctest-TestBasicPolicy-58819493-41033786 ID is 553e0898-0b20-4866-ab13-12f36f87654f 2025-08-12 14:44:02,213 - DEBUG - VM ctest-TestBasicPolicy-58819493-41033786 launched on Node cn-jenkins-deploy-platform-ansible-os-3832-1 2025-08-12 14:44:02,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/553e0898-0b20-4866-ab13-12f36f87654f 2025-08-12 14:44:02,279 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/44ed254b-1c38-46c2-8253-2e28c9c06292 2025-08-12 14:44:03,505 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 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.325/1.491/2.657/1.166 ms') 2025-08-12 14:44:03,505 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58819493-41033786 passed 2025-08-12 14:44:03,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:44:03,659 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58819493-41033786, IP 38.108.31.3, Port 22 2025-08-12 14:44:03,818 - DEBUG - VM ctest-TestBasicPolicy-58819493-41033786 is ready for SSH connections 2025-08-12 14:44:03,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:44:03,818 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.108.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-12 14:44:03,818 - DEBUG - ping -s 56 -c 3 -W 1 38.108.31.3 2025-08-12 14:44:07,460 - DEBUG - PING 38.108.31.3 (38.108.31.3): 56 data bytes 64 bytes from 38.108.31.3: seq=0 ttl=63 time=2.916 ms 64 bytes from 38.108.31.3: seq=1 ttl=63 time=0.651 ms 64 bytes from 38.108.31.3: seq=2 ttl=63 time=0.632 ms --- 38.108.31.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.632/1.399/2.916 ms 2025-08-12 14:44:07,460 - INFO - Ping to IP 38.108.31.3 from VM ctest-TestBasicPolicy-58819493-49769733 passed 2025-08-12 14:44:07,630 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d31882a0-86ae-4578-8fdd-08e1a9615b8f", "href": "http://10.0.0.38:8082/network-policy/d31882a0-86ae-4578-8fdd-08e1a9615b8f"}} 2025-08-12 14:44:07,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:44:07,630 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.108.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-12 14:44:07,631 - DEBUG - ping -s 56 -c 3 -W 1 38.108.31.3 2025-08-12 14:44:10,822 - DEBUG - PING 38.108.31.3 (38.108.31.3): 56 data bytes 64 bytes from 38.108.31.3: seq=0 ttl=63 time=1.749 ms --- 38.108.31.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.749/1.749/1.749 ms 2025-08-12 14:44:10,822 - WARNING - Ping to IP 38.108.31.3 from VM ctest-TestBasicPolicy-58819493-49769733 failed 2025-08-12 14:44:10,823 - INFO - Deleting VM ctest-TestBasicPolicy-58819493-41033786 2025-08-12 14:44:10,884 - INFO - Deleting VM ctest-TestBasicPolicy-58819493-49769733 2025-08-12 14:44:11,196 - INFO - Deleted policy ctest-policy-allow-all-74009426 2025-08-12 14:44:11,196 - INFO - Deleting VN ctest-vn-72733415 2025-08-12 14:44:11,226 - DEBUG - VN cc1291a3-7537-4add-b541-cb11552ba99b still in use: Unable to complete operation on network cc1291a3-7537-4add-b541-cb11552ba99b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0a619a1-8614-4e28-bb71-337ab7077d18'] 2025-08-12 14:44:11,226 - WARNING - Deleting VN ctest-vn-72733415 failed..Will retry 2025-08-12 14:44:13,314 - DEBUG - Response for deleting network () 2025-08-12 14:44:13,315 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0596e36-7e01-4825-9e3f-17f4c2ce3b1e 2025-08-12 14:44:13,319 - DEBUG - Response Code: 404 2025-08-12 14:44:13,319 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 14:44:13,324 - DEBUG - Requesting: http://10.0.0.38:8082/domain/28245a34-8ab3-488f-b660-849aa043eec7 2025-08-12 14:44:13,374 - DEBUG - Requesting: http://10.0.0.38:8082/project/8fbcf24d-9168-4f57-a96f-54e07ca1864b 2025-08-12 14:44:13,441 - INFO - Validated that VN ctest-vn-72733415 is not found in API Server 2025-08-12 14:44:13,451 - DEBUG - VN ctest-vn-72733415 is not present in Agent 10.0.0.38 2025-08-12 14:44:13,451 - INFO - Validated that VN ctest-vn-72733415 is not in any agent 2025-08-12 14:44:13,465 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72733415 info 2025-08-12 14:44:13,465 - INFO - Deleting VN ctest-vn-67742318 2025-08-12 14:44:13,552 - DEBUG - Response for deleting network () 2025-08-12 14:44:13,552 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0b14ad97-148d-4f02-be06-89e4044931fa 2025-08-12 14:44:13,558 - DEBUG - Response Code: 404 2025-08-12 14:44:13,558 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 14:44:13,563 - DEBUG - Requesting: http://10.0.0.38:8082/domain/28245a34-8ab3-488f-b660-849aa043eec7 2025-08-12 14:44:13,615 - DEBUG - Requesting: http://10.0.0.38:8082/project/8fbcf24d-9168-4f57-a96f-54e07ca1864b 2025-08-12 14:44:13,685 - INFO - Validated that VN ctest-vn-67742318 is not found in API Server 2025-08-12 14:44:13,694 - DEBUG - VN ctest-vn-67742318 is not present in Agent 10.0.0.38 2025-08-12 14:44:13,695 - INFO - Validated that VN ctest-vn-67742318 is not in any agent 2025-08-12 14:44:13,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67742318 info 2025-08-12 14:44:13,963 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 14:44:13,963 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-08-12 14:44:13,964 - INFO - -------------------------------------------------------------------------------- 2025-08-12 14:44:14,604 - INFO - Deleted project: ctest-TestBasicPolicy-58819493, ID : 8fbcf24d-9168-4f57-a96f-54e07ca1864b