2025-04-19 08:28:42,916 - INFO - Domain Default found not creating 2025-04-19 08:28:43,084 - INFO - Project ctest-TestBasicPolicy-44908968 not found, creating it 2025-04-19 08:28:43,542 - INFO - Created Project:ctest-TestBasicPolicy-44908968, ID : 3625568a-aa42-43ac-97e6-7cc1c792357b 2025-04-19 08:28:44,976 - INFO - ================================================================================ 2025-04-19 08:28:44,976 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-19 08:28:44,976 - 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-04-19 08:28:45,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-19 08:28:45,236 - INFO - Initial checks done. Running the testcase now 2025-04-19 08:28:45,236 - INFO - 2025-04-19 08:28:45,788 - DEBUG - Response for create_network : {'network': {'id': 'f5372452-b8fa-4481-8b2c-52266c20539f', 'name': 'ctest-vn-43262728', 'tenant_id': '3625568aaa4243ac97e67cc1c792357b', 'project_id': '3625568aaa4243ac97e67cc1c792357b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44908968', 'ctest-vn-43262728'], 'port_security_enabled': True, 'description': ''}} 2025-04-19 08:28:45,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '311c1a58-d312-4589-b78a-3162424b69d0', 'name': '', 'tenant_id': '3625568aaa4243ac97e67cc1c792357b', 'network_id': 'f5372452-b8fa-4481-8b2c-52266c20539f', 'ip_version': 4, 'cidr': '207.197.11.0/26', 'allocation_pools': [{'start': '207.197.11.2', 'end': '207.197.11.62'}], 'gateway_ip': '207.197.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.197.11.2', 'tags': [], 'project_id': '3625568aaa4243ac97e67cc1c792357b'}} 2025-04-19 08:28:45,979 - INFO - Created VN ctest-vn-43262728 2025-04-19 08:28:46,031 - DEBUG - VN ctest-vn-43262728 UUID is f5372452-b8fa-4481-8b2c-52266c20539f 2025-04-19 08:28:46,362 - DEBUG - Response for create_network : {'network': {'id': 'f1e9b2ef-f1b3-4994-b4e7-b651cb49a484', 'name': 'ctest-vn-65464569', 'tenant_id': '3625568aaa4243ac97e67cc1c792357b', 'project_id': '3625568aaa4243ac97e67cc1c792357b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44908968', 'ctest-vn-65464569'], 'port_security_enabled': True, 'description': ''}} 2025-04-19 08:28:46,553 - DEBUG - Response for create_subnet : {'subnet': {'id': '66f6f41f-f21c-4035-8e51-16da3f8456a3', 'name': '', 'tenant_id': '3625568aaa4243ac97e67cc1c792357b', 'network_id': 'f1e9b2ef-f1b3-4994-b4e7-b651cb49a484', 'ip_version': 4, 'cidr': '20.240.184.192/26', 'allocation_pools': [{'start': '20.240.184.194', 'end': '20.240.184.254'}], 'gateway_ip': '20.240.184.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.240.184.194', 'tags': [], 'project_id': '3625568aaa4243ac97e67cc1c792357b'}} 2025-04-19 08:28:46,572 - INFO - Created VN ctest-vn-65464569 2025-04-19 08:28:46,623 - DEBUG - VN ctest-vn-65464569 UUID is f1e9b2ef-f1b3-4994-b4e7-b651cb49a484 2025-04-19 08:28:46,735 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-43262728, 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-44908968:ctest-vn-65464569, 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-04-19 08:28:47,030 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5372452-b8fa-4481-8b2c-52266c20539f', 'name': 'ctest-vn-43262728', 'tenant_id': '3625568aaa4243ac97e67cc1c792357b', 'project_id': '3625568aaa4243ac97e67cc1c792357b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['311c1a58-d312-4589-b78a-3162424b69d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44908968', 'ctest-vn-43262728'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44908968', 'ctest-policy-allow-all-66804486']], 'subnet_ipam': [{'subnet_cidr': '207.197.11.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-19 08:28:47,265 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1e9b2ef-f1b3-4994-b4e7-b651cb49a484', 'name': 'ctest-vn-65464569', 'tenant_id': '3625568aaa4243ac97e67cc1c792357b', 'project_id': '3625568aaa4243ac97e67cc1c792357b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['66f6f41f-f21c-4035-8e51-16da3f8456a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44908968', 'ctest-vn-65464569'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44908968', 'ctest-policy-allow-all-66804486']], 'subnet_ipam': [{'subnet_cidr': '20.240.184.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-19 08:28:47,443 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-19 08:28:47,737 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-19 08:28:47,767 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a54e8dd-4cae-47d6-8878-656ed31727a6 2025-04-19 08:28:47,780 - DEBUG - Requesting: http://10.0.0.38:8082/project/3625568a-aa42-43ac-97e6-7cc1c792357b 2025-04-19 08:28:47,858 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f5372452-b8fa-4481-8b2c-52266c20539f 2025-04-19 08:28:47,870 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f5372452-b8fa-4481-8b2c-52266c20539f 2025-04-19 08:28:47,882 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e6413f19-c4ff-4506-ac57-afb80dbbc9e9 2025-04-19 08:28:47,891 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e6413f19-c4ff-4506-ac57-afb80dbbc9e9 2025-04-19 08:28:47,898 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ea1070e9-cb13-46a0-9fca-e333c1829561 2025-04-19 08:28:47,905 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-19 08:28:47,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f5372452-b8fa-4481-8b2c-52266c20539f 2025-04-19 08:28:47,914 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e6413f19-c4ff-4506-ac57-afb80dbbc9e9 2025-04-19 08:28:47,930 - INFO - Verified VN network id 8 for VN f5372452-b8fa-4481-8b2c-52266c20539f 2025-04-19 08:28:47,930 - INFO - Verifications in API Server for VN ctest-vn-43262728 passed 2025-04-19 08:28:47,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f5372452-b8fa-4481-8b2c-52266c20539f 2025-04-19 08:28:47,941 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e6413f19-c4ff-4506-ac57-afb80dbbc9e9 2025-04-19 08:28:47,948 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e6413f19-c4ff-4506-ac57-afb80dbbc9e9 2025-04-19 08:28:47,956 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ea1070e9-cb13-46a0-9fca-e333c1829561 2025-04-19 08:28:47,969 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-43262728', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44908968', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17669631600720757889', 'uuid-lslong': '10028480795223544735'}, 'enable': 'true', 'created': '2025-04-19T08:28:45', 'last-modified': '2025-04-19T08:28:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964217'} 2025-04-19 08:28:47,976 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-19 08:28:47,976 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43262728 passed 2025-04-19 08:28:47,976 - DEBUG - ====Verifying policy data for ctest-vn-43262728 in API_Server ====== 2025-04-19 08:28:47,976 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-19 08:28:47,984 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a54e8dd-4cae-47d6-8878-656ed31727a6 2025-04-19 08:28:47,996 - DEBUG - Requesting: http://10.0.0.38:8082/project/3625568a-aa42-43ac-97e6-7cc1c792357b 2025-04-19 08:28:48,070 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f5372452-b8fa-4481-8b2c-52266c20539f 2025-04-19 08:28:48,081 - DEBUG - ==>Verifying data for policy with id: 26d40ec3-b022-44f1-b55e-9b4ab9f2996f, fqn: ['default-domain', 'ctest-TestBasicPolicy-44908968', 'ctest-policy-allow-all-66804486'] 2025-04-19 08:28:48,081 - INFO - VN ctest-vn-43262728 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-19 08:28:48,081 - DEBUG - Verifying the vn in opserver 2025-04-19 08:28:48,081 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-43262728 virtual network link through opserver 10.0.0.38 2025-04-19 08:28:48,081 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-19 08:28:48,372 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-19 08:28:48,427 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-43262728', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-43262728?flat'} 2025-04-19 08:28:48,428 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-43262728 is found in opserver 2025-04-19 08:28:48,439 - DEBUG - Do not have enough data to verify VN in agent 2025-04-19 08:28:48,445 - DEBUG - VRF ids for VN ctest-vn-43262728: {} 2025-04-19 08:28:48,445 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-19 08:28:48,451 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a54e8dd-4cae-47d6-8878-656ed31727a6 2025-04-19 08:28:48,463 - DEBUG - Requesting: http://10.0.0.38:8082/project/3625568a-aa42-43ac-97e6-7cc1c792357b 2025-04-19 08:28:48,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f1e9b2ef-f1b3-4994-b4e7-b651cb49a484 2025-04-19 08:28:48,547 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f1e9b2ef-f1b3-4994-b4e7-b651cb49a484 2025-04-19 08:28:48,559 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce51b925-cb5a-40a2-97c7-5747794a807b 2025-04-19 08:28:48,567 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce51b925-cb5a-40a2-97c7-5747794a807b 2025-04-19 08:28:48,574 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8d7c6af2-574d-43ba-9565-0d5bfd2a478d 2025-04-19 08:28:48,581 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-19 08:28:48,581 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f1e9b2ef-f1b3-4994-b4e7-b651cb49a484 2025-04-19 08:28:48,590 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce51b925-cb5a-40a2-97c7-5747794a807b 2025-04-19 08:28:48,604 - INFO - Verified VN network id 9 for VN f1e9b2ef-f1b3-4994-b4e7-b651cb49a484 2025-04-19 08:28:48,604 - INFO - Verifications in API Server for VN ctest-vn-65464569 passed 2025-04-19 08:28:48,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f1e9b2ef-f1b3-4994-b4e7-b651cb49a484 2025-04-19 08:28:48,613 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce51b925-cb5a-40a2-97c7-5747794a807b 2025-04-19 08:28:48,620 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce51b925-cb5a-40a2-97c7-5747794a807b 2025-04-19 08:28:48,627 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8d7c6af2-574d-43ba-9565-0d5bfd2a478d 2025-04-19 08:28:48,639 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-65464569', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44908968', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17431660576336202132', 'uuid-lslong': '13035588108866397316'}, 'enable': 'true', 'created': '2025-04-19T08:28:46', 'last-modified': '2025-04-19T08:28:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.397011'} 2025-04-19 08:28:48,646 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-19 08:28:48,646 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65464569 passed 2025-04-19 08:28:48,646 - DEBUG - ====Verifying policy data for ctest-vn-65464569 in API_Server ====== 2025-04-19 08:28:48,646 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-19 08:28:48,652 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a54e8dd-4cae-47d6-8878-656ed31727a6 2025-04-19 08:28:48,663 - DEBUG - Requesting: http://10.0.0.38:8082/project/3625568a-aa42-43ac-97e6-7cc1c792357b 2025-04-19 08:28:48,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f1e9b2ef-f1b3-4994-b4e7-b651cb49a484 2025-04-19 08:28:48,747 - DEBUG - ==>Verifying data for policy with id: 26d40ec3-b022-44f1-b55e-9b4ab9f2996f, fqn: ['default-domain', 'ctest-TestBasicPolicy-44908968', 'ctest-policy-allow-all-66804486'] 2025-04-19 08:28:48,747 - INFO - VN ctest-vn-65464569 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-19 08:28:48,747 - DEBUG - Verifying the vn in opserver 2025-04-19 08:28:48,747 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-65464569 virtual network link through opserver 10.0.0.38 2025-04-19 08:28:48,747 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-19 08:28:48,757 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-65464569', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-65464569?flat'} 2025-04-19 08:28:48,757 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-65464569 is found in opserver 2025-04-19 08:28:48,767 - DEBUG - Do not have enough data to verify VN in agent 2025-04-19 08:28:48,773 - DEBUG - VRF ids for VN ctest-vn-65464569: {} 2025-04-19 08:28:48,828 - DEBUG - Services list from nova: [, , ] 2025-04-19 08:28:49,818 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3141-1) 2025-04-19 08:28:51,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3141-1) 2025-04-19 08:28:51,066 - INFO - Waiting for VM ctest-TestBasicPolicy-44908968-62568607 to be up.. 2025-04-19 08:28:51,146 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-19 08:28:56,219 - DEBUG - VM is in ACTIVE state now 2025-04-19 08:28:56,219 - INFO - VM name : ctest-TestBasicPolicy-44908968-62568607 2025-04-19 08:28:56,291 - DEBUG - VM ctest-TestBasicPolicy-44908968-62568607 ID is d420a4bb-bc15-441e-b8f3-024491677a21 2025-04-19 08:28:56,310 - DEBUG - VM ctest-TestBasicPolicy-44908968-62568607 launched on Node cn-jenkins-deploy-platform-ansible-os-3141-1 2025-04-19 08:28:56,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d420a4bb-bc15-441e-b8f3-024491677a21 2025-04-19 08:28:56,388 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc0ccdbe-76f1-412e-90d7-2cb81d8010c8 2025-04-19 08:28:59,649 - 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 1019ms') 2025-04-19 08:28:59,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44908968-62568607 failed! 2025-04-19 08:28:59,707 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44908968:ctest-vn-43262728 is 207.197.11.1 and allocation pool is NOT set 2025-04-19 08:29:01,765 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.427/1.702/2.978/1.275 ms') 2025-04-19 08:29:01,765 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44908968-62568607 passed 2025-04-19 08:29:01,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-19 08:29:01,919 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44908968-62568607, IP 207.197.11.3, Port 22 2025-04-19 08:29:02,074 - DEBUG - VM ctest-TestBasicPolicy-44908968-62568607 is ready for SSH connections 2025-04-19 08:29:02,075 - INFO - Waiting for VM ctest-TestBasicPolicy-44908968-18479398 to be up.. 2025-04-19 08:29:02,153 - DEBUG - VM is in ACTIVE state now 2025-04-19 08:29:02,153 - INFO - VM name : ctest-TestBasicPolicy-44908968-18479398 2025-04-19 08:29:02,226 - DEBUG - VM ctest-TestBasicPolicy-44908968-18479398 ID is f83dd45e-44f2-4b22-a3d1-6c6e793baf06 2025-04-19 08:29:02,226 - DEBUG - VM ctest-TestBasicPolicy-44908968-18479398 launched on Node cn-jenkins-deploy-platform-ansible-os-3141-1 2025-04-19 08:29:02,307 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f83dd45e-44f2-4b22-a3d1-6c6e793baf06 2025-04-19 08:29:02,317 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4baa69e5-6ec0-46d6-9e83-5a00ed8e5893 2025-04-19 08:29:03,572 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.837/3.226/1.389 ms') 2025-04-19 08:29:03,572 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44908968-18479398 passed 2025-04-19 08:29:03,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-19 08:29:03,723 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44908968-18479398, IP 20.240.184.195, Port 22 2025-04-19 08:29:03,882 - DEBUG - VM ctest-TestBasicPolicy-44908968-18479398 is ready for SSH connections 2025-04-19 08:29:03,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-19 08:29:03,883 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.240.184.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-19 08:29:03,883 - DEBUG - ping -s 56 -c 3 -W 1 20.240.184.195 2025-04-19 08:29:07,884 - DEBUG - PING 20.240.184.195 (20.240.184.195): 56 data bytes 64 bytes from 20.240.184.195: seq=0 ttl=63 time=4.475 ms 64 bytes from 20.240.184.195: seq=1 ttl=63 time=0.800 ms 64 bytes from 20.240.184.195: seq=2 ttl=63 time=0.793 ms --- 20.240.184.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/2.022/4.475 ms 2025-04-19 08:29:07,884 - INFO - Ping to IP 20.240.184.195 from VM ctest-TestBasicPolicy-44908968-62568607 passed 2025-04-19 08:29:08,066 - DEBUG - Policy Update Response {"network-policy": {"uuid": "26d40ec3-b022-44f1-b55e-9b4ab9f2996f", "href": "http://10.0.0.38:8082/network-policy/26d40ec3-b022-44f1-b55e-9b4ab9f2996f"}} 2025-04-19 08:29:08,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-19 08:29:08,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.240.184.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-19 08:29:08,067 - DEBUG - ping -s 56 -c 3 -W 1 20.240.184.195 2025-04-19 08:29:11,276 - DEBUG - PING 20.240.184.195 (20.240.184.195): 56 data bytes --- 20.240.184.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-19 08:29:11,276 - WARNING - Ping to IP 20.240.184.195 from VM ctest-TestBasicPolicy-44908968-62568607 failed 2025-04-19 08:29:11,277 - INFO - Deleting VM ctest-TestBasicPolicy-44908968-18479398 2025-04-19 08:29:11,336 - INFO - Deleting VM ctest-TestBasicPolicy-44908968-62568607 2025-04-19 08:29:11,728 - INFO - Deleted policy ctest-policy-allow-all-66804486 2025-04-19 08:29:11,728 - INFO - Deleting VN ctest-vn-65464569 2025-04-19 08:29:11,771 - DEBUG - VN f1e9b2ef-f1b3-4994-b4e7-b651cb49a484 still in use: Unable to complete operation on network f1e9b2ef-f1b3-4994-b4e7-b651cb49a484. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b065b252-ea3b-42ca-bbbb-8a2c4cbd4fe5'] 2025-04-19 08:29:11,771 - WARNING - Deleting VN ctest-vn-65464569 failed..Will retry 2025-04-19 08:29:13,874 - DEBUG - Response for deleting network () 2025-04-19 08:29:13,874 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ce51b925-cb5a-40a2-97c7-5747794a807b 2025-04-19 08:29:13,883 - DEBUG - Response Code: 404 2025-04-19 08:29:13,883 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-19 08:29:13,888 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a54e8dd-4cae-47d6-8878-656ed31727a6 2025-04-19 08:29:13,944 - DEBUG - Requesting: http://10.0.0.38:8082/project/3625568a-aa42-43ac-97e6-7cc1c792357b 2025-04-19 08:29:14,022 - INFO - Validated that VN ctest-vn-65464569 is not found in API Server 2025-04-19 08:29:14,033 - DEBUG - VN ctest-vn-65464569 is not present in Agent 10.0.0.38 2025-04-19 08:29:14,033 - INFO - Validated that VN ctest-vn-65464569 is not in any agent 2025-04-19 08:29:14,047 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65464569 info 2025-04-19 08:29:14,047 - INFO - Deleting VN ctest-vn-43262728 2025-04-19 08:29:14,149 - DEBUG - Response for deleting network () 2025-04-19 08:29:14,149 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e6413f19-c4ff-4506-ac57-afb80dbbc9e9 2025-04-19 08:29:14,158 - DEBUG - Response Code: 404 2025-04-19 08:29:14,158 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-19 08:29:14,163 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8a54e8dd-4cae-47d6-8878-656ed31727a6 2025-04-19 08:29:14,216 - DEBUG - Requesting: http://10.0.0.38:8082/project/3625568a-aa42-43ac-97e6-7cc1c792357b 2025-04-19 08:29:14,288 - INFO - Validated that VN ctest-vn-43262728 is not found in API Server 2025-04-19 08:29:14,298 - DEBUG - VN ctest-vn-43262728 is not present in Agent 10.0.0.38 2025-04-19 08:29:14,299 - INFO - Validated that VN ctest-vn-43262728 is not in any agent 2025-04-19 08:29:14,313 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43262728 info 2025-04-19 08:29:14,568 - DEBUG - No XMPP flaps were noticed during the test 2025-04-19 08:29:14,568 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-19 08:29:14,568 - INFO - -------------------------------------------------------------------------------- 2025-04-19 08:29:15,244 - INFO - Deleted project: ctest-TestBasicPolicy-44908968, ID : 3625568a-aa42-43ac-97e6-7cc1c792357b