2025-05-15 02:11:03,626 - INFO - Domain Default found not creating 2025-05-15 02:11:03,786 - INFO - Project ctest-TestBasicPolicy-58758994 not found, creating it 2025-05-15 02:11:04,270 - INFO - Created Project:ctest-TestBasicPolicy-58758994, ID : f092c132-2804-483b-bd01-ed789678b73e 2025-05-15 02:11:05,731 - INFO - ================================================================================ 2025-05-15 02:11:05,732 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-15 02:11:05,732 - 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-05-15 02:11:05,986 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-05-15 02:11:05,986 - INFO - Initial checks done. Running the testcase now 2025-05-15 02:11:05,986 - INFO - 2025-05-15 02:11:06,558 - DEBUG - Response for create_network : {'network': {'id': '9cd9ebf3-881b-41d2-8510-f4d5fc9ce4c3', 'name': 'ctest-vn-47166989', 'tenant_id': 'f092c1322804483bbd01ed789678b73e', 'project_id': 'f092c1322804483bbd01ed789678b73e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58758994', 'ctest-vn-47166989'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:11:06,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '67a853f0-16b0-443a-9829-d8616f315903', 'name': '', 'tenant_id': 'f092c1322804483bbd01ed789678b73e', 'network_id': '9cd9ebf3-881b-41d2-8510-f4d5fc9ce4c3', 'ip_version': 4, 'cidr': '174.212.56.0/26', 'allocation_pools': [{'start': '174.212.56.2', 'end': '174.212.56.62'}], 'gateway_ip': '174.212.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.212.56.2', 'tags': [], 'project_id': 'f092c1322804483bbd01ed789678b73e'}} 2025-05-15 02:11:06,800 - INFO - Created VN ctest-vn-47166989 2025-05-15 02:11:06,855 - DEBUG - VN ctest-vn-47166989 UUID is 9cd9ebf3-881b-41d2-8510-f4d5fc9ce4c3 2025-05-15 02:11:07,145 - DEBUG - Response for create_network : {'network': {'id': '30d0bcce-f560-490f-9634-ad9c4ec2f10e', 'name': 'ctest-vn-97591889', 'tenant_id': 'f092c1322804483bbd01ed789678b73e', 'project_id': 'f092c1322804483bbd01ed789678b73e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58758994', 'ctest-vn-97591889'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:11:07,342 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c012c4b3-0ec4-40c8-8336-185470d6f062', 'name': '', 'tenant_id': 'f092c1322804483bbd01ed789678b73e', 'network_id': '30d0bcce-f560-490f-9634-ad9c4ec2f10e', 'ip_version': 4, 'cidr': '126.161.78.64/26', 'allocation_pools': [{'start': '126.161.78.66', 'end': '126.161.78.126'}], 'gateway_ip': '126.161.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.161.78.66', 'tags': [], 'project_id': 'f092c1322804483bbd01ed789678b73e'}} 2025-05-15 02:11:07,359 - INFO - Created VN ctest-vn-97591889 2025-05-15 02:11:07,411 - DEBUG - VN ctest-vn-97591889 UUID is 30d0bcce-f560-490f-9634-ad9c4ec2f10e 2025-05-15 02:11:07,528 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-47166989, 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-58758994:ctest-vn-97591889, 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-05-15 02:11:07,887 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9cd9ebf3-881b-41d2-8510-f4d5fc9ce4c3', 'name': 'ctest-vn-47166989', 'tenant_id': 'f092c1322804483bbd01ed789678b73e', 'project_id': 'f092c1322804483bbd01ed789678b73e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['67a853f0-16b0-443a-9829-d8616f315903'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58758994', 'ctest-vn-47166989'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58758994', 'ctest-policy-allow-all-34939478']], 'subnet_ipam': [{'subnet_cidr': '174.212.56.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:11:08,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30d0bcce-f560-490f-9634-ad9c4ec2f10e', 'name': 'ctest-vn-97591889', 'tenant_id': 'f092c1322804483bbd01ed789678b73e', 'project_id': 'f092c1322804483bbd01ed789678b73e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c012c4b3-0ec4-40c8-8336-185470d6f062'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58758994', 'ctest-vn-97591889'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58758994', 'ctest-policy-allow-all-34939478']], 'subnet_ipam': [{'subnet_cidr': '126.161.78.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:11:08,284 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-15 02:11:08,589 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-15 02:11:08,618 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e629dc6f-73c2-422d-a1fe-87937040b350 2025-05-15 02:11:08,634 - DEBUG - Requesting: http://10.0.0.141:8082/project/f092c132-2804-483b-bd01-ed789678b73e 2025-05-15 02:11:08,716 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9cd9ebf3-881b-41d2-8510-f4d5fc9ce4c3 2025-05-15 02:11:08,732 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9cd9ebf3-881b-41d2-8510-f4d5fc9ce4c3 2025-05-15 02:11:08,747 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d981b94-6f62-4375-9496-e2c027510d52 2025-05-15 02:11:08,757 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d981b94-6f62-4375-9496-e2c027510d52 2025-05-15 02:11:08,766 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/6e84c51f-b7c2-412b-a1f6-e9da395257a6 2025-05-15 02:11:08,775 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-15 02:11:08,775 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9cd9ebf3-881b-41d2-8510-f4d5fc9ce4c3 2025-05-15 02:11:08,786 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d981b94-6f62-4375-9496-e2c027510d52 2025-05-15 02:11:08,802 - INFO - Verified VN network id 9 for VN 9cd9ebf3-881b-41d2-8510-f4d5fc9ce4c3 2025-05-15 02:11:08,803 - INFO - Verifications in API Server for VN ctest-vn-47166989 passed 2025-05-15 02:11:08,803 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9cd9ebf3-881b-41d2-8510-f4d5fc9ce4c3 2025-05-15 02:11:08,813 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d981b94-6f62-4375-9496-e2c027510d52 2025-05-15 02:11:08,821 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d981b94-6f62-4375-9496-e2c027510d52 2025-05-15 02:11:08,828 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/6e84c51f-b7c2-412b-a1f6-e9da395257a6 2025-05-15 02:11:08,841 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-47166989', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58758994', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11302324171056038354', 'uuid-lslong': '9588432806575137987'}, 'enable': 'true', 'created': '2025-05-15T02:11:06', 'last-modified': '2025-05-15T02:11:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.036249'} 2025-05-15 02:11:08,848 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-15 02:11:08,848 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47166989 passed 2025-05-15 02:11:08,848 - DEBUG - ====Verifying policy data for ctest-vn-47166989 in API_Server ====== 2025-05-15 02:11:08,848 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-15 02:11:08,854 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e629dc6f-73c2-422d-a1fe-87937040b350 2025-05-15 02:11:08,868 - DEBUG - Requesting: http://10.0.0.141:8082/project/f092c132-2804-483b-bd01-ed789678b73e 2025-05-15 02:11:08,948 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9cd9ebf3-881b-41d2-8510-f4d5fc9ce4c3 2025-05-15 02:11:08,960 - DEBUG - ==>Verifying data for policy with id: c7ac4981-f256-4edd-816e-44f325f5fb7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-58758994', 'ctest-policy-allow-all-34939478'] 2025-05-15 02:11:08,960 - INFO - VN ctest-vn-47166989 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-15 02:11:08,960 - DEBUG - Verifying the vn in opserver 2025-05-15 02:11:08,960 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-47166989 virtual network link through opserver 10.0.0.141 2025-05-15 02:11:08,960 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-05-15 02:11:09,252 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-05-15 02:11:09,313 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-47166989', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-47166989?flat'} 2025-05-15 02:11:09,313 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-47166989 is found in opserver 2025-05-15 02:11:09,326 - DEBUG - Do not have enough data to verify VN in agent 2025-05-15 02:11:09,331 - DEBUG - VRF ids for VN ctest-vn-47166989: {} 2025-05-15 02:11:09,332 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-15 02:11:09,338 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e629dc6f-73c2-422d-a1fe-87937040b350 2025-05-15 02:11:09,351 - DEBUG - Requesting: http://10.0.0.141:8082/project/f092c132-2804-483b-bd01-ed789678b73e 2025-05-15 02:11:09,428 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/30d0bcce-f560-490f-9634-ad9c4ec2f10e 2025-05-15 02:11:09,441 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/30d0bcce-f560-490f-9634-ad9c4ec2f10e 2025-05-15 02:11:09,453 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/60721d0d-b0fb-4df3-ba67-64a0bc2de254 2025-05-15 02:11:09,464 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/60721d0d-b0fb-4df3-ba67-64a0bc2de254 2025-05-15 02:11:09,473 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e27726ae-6738-4b47-826c-f94aaafc94bc 2025-05-15 02:11:09,483 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-15 02:11:09,483 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/30d0bcce-f560-490f-9634-ad9c4ec2f10e 2025-05-15 02:11:09,496 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/60721d0d-b0fb-4df3-ba67-64a0bc2de254 2025-05-15 02:11:09,516 - INFO - Verified VN network id 10 for VN 30d0bcce-f560-490f-9634-ad9c4ec2f10e 2025-05-15 02:11:09,516 - INFO - Verifications in API Server for VN ctest-vn-97591889 passed 2025-05-15 02:11:09,516 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/30d0bcce-f560-490f-9634-ad9c4ec2f10e 2025-05-15 02:11:09,529 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/60721d0d-b0fb-4df3-ba67-64a0bc2de254 2025-05-15 02:11:09,539 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/60721d0d-b0fb-4df3-ba67-64a0bc2de254 2025-05-15 02:11:09,548 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e27726ae-6738-4b47-826c-f94aaafc94bc 2025-05-15 02:11:09,564 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-97591889', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58758994', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3517518906042370319', 'uuid-lslong': '10823466691326046478'}, 'enable': 'true', 'created': '2025-05-15T02:11:07', 'last-modified': '2025-05-15T02:11:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.461575'} 2025-05-15 02:11:09,572 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-15 02:11:09,572 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97591889 passed 2025-05-15 02:11:09,572 - DEBUG - ====Verifying policy data for ctest-vn-97591889 in API_Server ====== 2025-05-15 02:11:09,573 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-15 02:11:09,580 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e629dc6f-73c2-422d-a1fe-87937040b350 2025-05-15 02:11:09,595 - DEBUG - Requesting: http://10.0.0.141:8082/project/f092c132-2804-483b-bd01-ed789678b73e 2025-05-15 02:11:09,668 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/30d0bcce-f560-490f-9634-ad9c4ec2f10e 2025-05-15 02:11:09,682 - DEBUG - ==>Verifying data for policy with id: c7ac4981-f256-4edd-816e-44f325f5fb7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-58758994', 'ctest-policy-allow-all-34939478'] 2025-05-15 02:11:09,682 - INFO - VN ctest-vn-97591889 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-15 02:11:09,682 - DEBUG - Verifying the vn in opserver 2025-05-15 02:11:09,682 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-97591889 virtual network link through opserver 10.0.0.141 2025-05-15 02:11:09,682 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-05-15 02:11:09,696 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-97591889', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-97591889?flat'} 2025-05-15 02:11:09,696 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-97591889 is found in opserver 2025-05-15 02:11:09,707 - DEBUG - Do not have enough data to verify VN in agent 2025-05-15 02:11:09,713 - DEBUG - VRF ids for VN ctest-vn-97591889: {} 2025-05-15 02:11:09,771 - DEBUG - Services list from nova: [, , ] 2025-05-15 02:11:10,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3315-1) 2025-05-15 02:11:12,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3315-1) 2025-05-15 02:11:12,080 - INFO - Waiting for VM ctest-TestBasicPolicy-58758994-84580456 to be up.. 2025-05-15 02:11:12,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-15 02:11:17,257 - DEBUG - VM is in ACTIVE state now 2025-05-15 02:11:17,257 - INFO - VM name : ctest-TestBasicPolicy-58758994-84580456 2025-05-15 02:11:17,337 - DEBUG - VM ctest-TestBasicPolicy-58758994-84580456 ID is 2ff667ba-7c2a-4f3e-813d-da53b8cf965a 2025-05-15 02:11:17,359 - DEBUG - VM ctest-TestBasicPolicy-58758994-84580456 launched on Node cn-jenkins-deploy-platform-ansible-os-3315-1 2025-05-15 02:11:17,437 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2ff667ba-7c2a-4f3e-813d-da53b8cf965a 2025-05-15 02:11:17,446 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a55f0b74-2cb9-478e-8460-c2a80e8aeb8f 2025-05-15 02:11:20,717 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-05-15 02:11:20,718 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58758994-84580456 failed! 2025-05-15 02:11:20,775 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58758994:ctest-vn-47166989 is 174.212.56.1 and allocation pool is NOT set 2025-05-15 02:11:22,839 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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 = 0.403/3.834/7.266/3.431 ms') 2025-05-15 02:11:22,839 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58758994-84580456 passed 2025-05-15 02:11:22,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:11:22,992 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58758994-84580456, IP 174.212.56.3, Port 22 2025-05-15 02:11:23,160 - DEBUG - VM ctest-TestBasicPolicy-58758994-84580456 is ready for SSH connections 2025-05-15 02:11:23,160 - INFO - Waiting for VM ctest-TestBasicPolicy-58758994-63134870 to be up.. 2025-05-15 02:11:23,271 - DEBUG - VM is in ACTIVE state now 2025-05-15 02:11:23,271 - INFO - VM name : ctest-TestBasicPolicy-58758994-63134870 2025-05-15 02:11:23,367 - DEBUG - VM ctest-TestBasicPolicy-58758994-63134870 ID is 086b276e-82f2-42cf-af7d-a74f43b239a8 2025-05-15 02:11:23,368 - DEBUG - VM ctest-TestBasicPolicy-58758994-63134870 launched on Node cn-jenkins-deploy-platform-ansible-os-3315-1 2025-05-15 02:11:23,457 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/086b276e-82f2-42cf-af7d-a74f43b239a8 2025-05-15 02:11:23,466 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b48a9fdb-dcec-4b75-b895-63a1e15290b5 2025-05-15 02:11:24,714 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.769 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.769/2.286/3.804/1.517 ms') 2025-05-15 02:11:24,714 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58758994-63134870 passed 2025-05-15 02:11:24,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:11:24,868 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58758994-63134870, IP 126.161.78.67, Port 22 2025-05-15 02:11:25,019 - DEBUG - VM ctest-TestBasicPolicy-58758994-63134870 is ready for SSH connections 2025-05-15 02:11:25,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:11:25,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.161.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-05-15 02:11:25,019 - DEBUG - ping -s 56 -c 3 -W 1 126.161.78.67 2025-05-15 02:11:28,715 - DEBUG - PING 126.161.78.67 (126.161.78.67): 56 data bytes 64 bytes from 126.161.78.67: seq=0 ttl=63 time=3.617 ms 64 bytes from 126.161.78.67: seq=1 ttl=63 time=0.890 ms 64 bytes from 126.161.78.67: seq=2 ttl=63 time=0.910 ms --- 126.161.78.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/1.805/3.617 ms 2025-05-15 02:11:28,715 - INFO - Ping to IP 126.161.78.67 from VM ctest-TestBasicPolicy-58758994-84580456 passed 2025-05-15 02:11:28,895 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c7ac4981-f256-4edd-816e-44f325f5fb7b", "href": "http://10.0.0.141:8082/network-policy/c7ac4981-f256-4edd-816e-44f325f5fb7b"}} 2025-05-15 02:11:28,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:11:28,895 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.161.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-05-15 02:11:28,896 - DEBUG - ping -s 56 -c 3 -W 1 126.161.78.67 2025-05-15 02:11:32,110 - DEBUG - PING 126.161.78.67 (126.161.78.67): 56 data bytes 64 bytes from 126.161.78.67: seq=0 ttl=63 time=1.412 ms --- 126.161.78.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.412/1.412/1.412 ms 2025-05-15 02:11:32,111 - WARNING - Ping to IP 126.161.78.67 from VM ctest-TestBasicPolicy-58758994-84580456 failed 2025-05-15 02:11:32,111 - INFO - Deleting VM ctest-TestBasicPolicy-58758994-63134870 2025-05-15 02:11:32,178 - INFO - Deleting VM ctest-TestBasicPolicy-58758994-84580456 2025-05-15 02:11:32,583 - INFO - Deleted policy ctest-policy-allow-all-34939478 2025-05-15 02:11:32,584 - INFO - Deleting VN ctest-vn-97591889 2025-05-15 02:11:32,628 - DEBUG - VN 30d0bcce-f560-490f-9634-ad9c4ec2f10e still in use: Unable to complete operation on network 30d0bcce-f560-490f-9634-ad9c4ec2f10e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f16b5df4-24ce-44f1-b59b-828252209b48'] 2025-05-15 02:11:32,628 - WARNING - Deleting VN ctest-vn-97591889 failed..Will retry 2025-05-15 02:11:34,730 - DEBUG - Response for deleting network () 2025-05-15 02:11:34,730 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/60721d0d-b0fb-4df3-ba67-64a0bc2de254 2025-05-15 02:11:34,741 - DEBUG - Response Code: 404 2025-05-15 02:11:34,741 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-15 02:11:34,747 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e629dc6f-73c2-422d-a1fe-87937040b350 2025-05-15 02:11:34,802 - DEBUG - Requesting: http://10.0.0.141:8082/project/f092c132-2804-483b-bd01-ed789678b73e 2025-05-15 02:11:34,876 - INFO - Validated that VN ctest-vn-97591889 is not found in API Server 2025-05-15 02:11:34,887 - DEBUG - VN ctest-vn-97591889 is not present in Agent 10.0.0.141 2025-05-15 02:11:34,887 - INFO - Validated that VN ctest-vn-97591889 is not in any agent 2025-05-15 02:11:34,905 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97591889 info 2025-05-15 02:11:34,905 - INFO - Deleting VN ctest-vn-47166989 2025-05-15 02:11:35,014 - DEBUG - Response for deleting network () 2025-05-15 02:11:35,014 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4d981b94-6f62-4375-9496-e2c027510d52 2025-05-15 02:11:35,023 - DEBUG - Response Code: 404 2025-05-15 02:11:35,023 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-05-15 02:11:35,030 - DEBUG - Requesting: http://10.0.0.141:8082/domain/e629dc6f-73c2-422d-a1fe-87937040b350 2025-05-15 02:11:35,085 - DEBUG - Requesting: http://10.0.0.141:8082/project/f092c132-2804-483b-bd01-ed789678b73e 2025-05-15 02:11:35,166 - INFO - Validated that VN ctest-vn-47166989 is not found in API Server 2025-05-15 02:11:35,178 - DEBUG - VN ctest-vn-47166989 is not present in Agent 10.0.0.141 2025-05-15 02:11:35,178 - INFO - Validated that VN ctest-vn-47166989 is not in any agent 2025-05-15 02:11:35,196 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47166989 info 2025-05-15 02:11:35,468 - DEBUG - No XMPP flaps were noticed during the test 2025-05-15 02:11:35,468 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-15 02:11:35,468 - INFO - -------------------------------------------------------------------------------- 2025-05-15 02:11:36,170 - INFO - Deleted project: ctest-TestBasicPolicy-58758994, ID : f092c132-2804-483b-bd01-ed789678b73e