2025-05-03 13:38:21,631 - INFO - Domain Default found not creating 2025-05-03 13:38:21,758 - INFO - Project ctest-TestBasicPolicy-47327993 not found, creating it 2025-05-03 13:38:22,194 - INFO - Created Project:ctest-TestBasicPolicy-47327993, ID : 1c886b39-83ac-4a2d-8faf-8cc3c01422db 2025-05-03 13:38:23,535 - INFO - ================================================================================ 2025-05-03 13:38:23,535 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-03 13:38:23,535 - 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-03 13:38:23,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-03 13:38:23,783 - INFO - Initial checks done. Running the testcase now 2025-05-03 13:38:23,783 - INFO - 2025-05-03 13:38:24,315 - DEBUG - Response for create_network : {'network': {'id': 'a049f543-f21d-4c2c-bc62-f00329266ac4', 'name': 'ctest-vn-53645194', 'tenant_id': '1c886b3983ac4a2d8faf8cc3c01422db', 'project_id': '1c886b3983ac4a2d8faf8cc3c01422db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47327993', 'ctest-vn-53645194'], 'port_security_enabled': True, 'description': ''}} 2025-05-03 13:38:24,504 - DEBUG - Response for create_subnet : {'subnet': {'id': '995fc7b3-15db-4dfa-9266-f0999a4a3730', 'name': '', 'tenant_id': '1c886b3983ac4a2d8faf8cc3c01422db', 'network_id': 'a049f543-f21d-4c2c-bc62-f00329266ac4', 'ip_version': 4, 'cidr': '61.151.45.64/26', 'allocation_pools': [{'start': '61.151.45.66', 'end': '61.151.45.126'}], 'gateway_ip': '61.151.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.151.45.66', 'tags': [], 'project_id': '1c886b3983ac4a2d8faf8cc3c01422db'}} 2025-05-03 13:38:24,522 - INFO - Created VN ctest-vn-53645194 2025-05-03 13:38:24,578 - DEBUG - VN ctest-vn-53645194 UUID is a049f543-f21d-4c2c-bc62-f00329266ac4 2025-05-03 13:38:24,908 - DEBUG - Response for create_network : {'network': {'id': 'e7c287bd-fe2d-4809-af6e-07b6b560eb27', 'name': 'ctest-vn-94801469', 'tenant_id': '1c886b3983ac4a2d8faf8cc3c01422db', 'project_id': '1c886b3983ac4a2d8faf8cc3c01422db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47327993', 'ctest-vn-94801469'], 'port_security_enabled': True, 'description': ''}} 2025-05-03 13:38:25,049 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fb7c290-7f75-43aa-8d3e-0ece7abfcf26', 'name': '', 'tenant_id': '1c886b3983ac4a2d8faf8cc3c01422db', 'network_id': 'e7c287bd-fe2d-4809-af6e-07b6b560eb27', 'ip_version': 4, 'cidr': '96.50.72.64/26', 'allocation_pools': [{'start': '96.50.72.66', 'end': '96.50.72.126'}], 'gateway_ip': '96.50.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.50.72.66', 'tags': [], 'project_id': '1c886b3983ac4a2d8faf8cc3c01422db'}} 2025-05-03 13:38:25,065 - INFO - Created VN ctest-vn-94801469 2025-05-03 13:38:25,118 - DEBUG - VN ctest-vn-94801469 UUID is e7c287bd-fe2d-4809-af6e-07b6b560eb27 2025-05-03 13:38:25,258 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-53645194, 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-47327993:ctest-vn-94801469, 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-03 13:38:25,567 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a049f543-f21d-4c2c-bc62-f00329266ac4', 'name': 'ctest-vn-53645194', 'tenant_id': '1c886b3983ac4a2d8faf8cc3c01422db', 'project_id': '1c886b3983ac4a2d8faf8cc3c01422db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['995fc7b3-15db-4dfa-9266-f0999a4a3730'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47327993', 'ctest-vn-53645194'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47327993', 'ctest-policy-allow-all-25929214']], 'subnet_ipam': [{'subnet_cidr': '61.151.45.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-03 13:38:25,790 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e7c287bd-fe2d-4809-af6e-07b6b560eb27', 'name': 'ctest-vn-94801469', 'tenant_id': '1c886b3983ac4a2d8faf8cc3c01422db', 'project_id': '1c886b3983ac4a2d8faf8cc3c01422db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1fb7c290-7f75-43aa-8d3e-0ece7abfcf26'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47327993', 'ctest-vn-94801469'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47327993', 'ctest-policy-allow-all-25929214']], 'subnet_ipam': [{'subnet_cidr': '96.50.72.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-03 13:38:25,966 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-03 13:38:26,259 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-03 13:38:26,284 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60f41028-1246-4228-8ee4-3244a52d2350 2025-05-03 13:38:26,296 - DEBUG - Requesting: http://10.0.0.254:8082/project/1c886b39-83ac-4a2d-8faf-8cc3c01422db 2025-05-03 13:38:26,369 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a049f543-f21d-4c2c-bc62-f00329266ac4 2025-05-03 13:38:26,379 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a049f543-f21d-4c2c-bc62-f00329266ac4 2025-05-03 13:38:26,388 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8e8f740-a64d-4400-a3aa-258f77c94025 2025-05-03 13:38:26,394 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8e8f740-a64d-4400-a3aa-258f77c94025 2025-05-03 13:38:26,400 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/37161db6-1478-45bc-adeb-dbfa946a52a1 2025-05-03 13:38:26,405 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-03 13:38:26,405 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a049f543-f21d-4c2c-bc62-f00329266ac4 2025-05-03 13:38:26,413 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8e8f740-a64d-4400-a3aa-258f77c94025 2025-05-03 13:38:26,427 - INFO - Verified VN network id 8 for VN a049f543-f21d-4c2c-bc62-f00329266ac4 2025-05-03 13:38:26,427 - INFO - Verifications in API Server for VN ctest-vn-53645194 passed 2025-05-03 13:38:26,427 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a049f543-f21d-4c2c-bc62-f00329266ac4 2025-05-03 13:38:26,435 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8e8f740-a64d-4400-a3aa-258f77c94025 2025-05-03 13:38:26,441 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8e8f740-a64d-4400-a3aa-258f77c94025 2025-05-03 13:38:26,446 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/37161db6-1478-45bc-adeb-dbfa946a52a1 2025-05-03 13:38:26,457 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-53645194', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47327993', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11550032391541967916', 'uuid-lslong': '13574676123214047940'}, 'enable': 'true', 'created': '2025-05-03T13:38:24', 'last-modified': '2025-05-03T13:38:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920075'} 2025-05-03 13:38:26,463 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-03 13:38:26,463 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53645194 passed 2025-05-03 13:38:26,463 - DEBUG - ====Verifying policy data for ctest-vn-53645194 in API_Server ====== 2025-05-03 13:38:26,463 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-03 13:38:26,468 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60f41028-1246-4228-8ee4-3244a52d2350 2025-05-03 13:38:26,478 - DEBUG - Requesting: http://10.0.0.254:8082/project/1c886b39-83ac-4a2d-8faf-8cc3c01422db 2025-05-03 13:38:26,546 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a049f543-f21d-4c2c-bc62-f00329266ac4 2025-05-03 13:38:26,554 - DEBUG - ==>Verifying data for policy with id: 141517b7-daad-438f-8903-9884cbcd2902, fqn: ['default-domain', 'ctest-TestBasicPolicy-47327993', 'ctest-policy-allow-all-25929214'] 2025-05-03 13:38:26,554 - INFO - VN ctest-vn-53645194 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-03 13:38:26,555 - DEBUG - Verifying the vn in opserver 2025-05-03 13:38:26,555 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-53645194 virtual network link through opserver 10.0.0.254 2025-05-03 13:38:26,555 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-03 13:38:26,841 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-03 13:38:26,886 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-53645194', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-53645194?flat'} 2025-05-03 13:38:26,886 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-53645194 is found in opserver 2025-05-03 13:38:26,896 - DEBUG - Do not have enough data to verify VN in agent 2025-05-03 13:38:26,901 - DEBUG - VRF ids for VN ctest-vn-53645194: {} 2025-05-03 13:38:26,901 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-03 13:38:26,905 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60f41028-1246-4228-8ee4-3244a52d2350 2025-05-03 13:38:26,915 - DEBUG - Requesting: http://10.0.0.254:8082/project/1c886b39-83ac-4a2d-8faf-8cc3c01422db 2025-05-03 13:38:26,984 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e7c287bd-fe2d-4809-af6e-07b6b560eb27 2025-05-03 13:38:26,995 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e7c287bd-fe2d-4809-af6e-07b6b560eb27 2025-05-03 13:38:27,004 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/088af8f3-8bf2-468b-9ce9-3645c25a3092 2025-05-03 13:38:27,010 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/088af8f3-8bf2-468b-9ce9-3645c25a3092 2025-05-03 13:38:27,015 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7cff2afb-812b-4b55-80ad-235999de3e1b 2025-05-03 13:38:27,021 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-03 13:38:27,021 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e7c287bd-fe2d-4809-af6e-07b6b560eb27 2025-05-03 13:38:27,029 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/088af8f3-8bf2-468b-9ce9-3645c25a3092 2025-05-03 13:38:27,041 - INFO - Verified VN network id 9 for VN e7c287bd-fe2d-4809-af6e-07b6b560eb27 2025-05-03 13:38:27,041 - INFO - Verifications in API Server for VN ctest-vn-94801469 passed 2025-05-03 13:38:27,041 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e7c287bd-fe2d-4809-af6e-07b6b560eb27 2025-05-03 13:38:27,049 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/088af8f3-8bf2-468b-9ce9-3645c25a3092 2025-05-03 13:38:27,055 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/088af8f3-8bf2-468b-9ce9-3645c25a3092 2025-05-03 13:38:27,060 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7cff2afb-812b-4b55-80ad-235999de3e1b 2025-05-03 13:38:27,071 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-94801469', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47327993', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16700059618326169609', 'uuid-lslong': '12641049685384031015'}, 'enable': 'true', 'created': '2025-05-03T13:38:24', 'last-modified': '2025-05-03T13:38:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299697'} 2025-05-03 13:38:27,077 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-03 13:38:27,077 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94801469 passed 2025-05-03 13:38:27,077 - DEBUG - ====Verifying policy data for ctest-vn-94801469 in API_Server ====== 2025-05-03 13:38:27,077 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-03 13:38:27,082 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60f41028-1246-4228-8ee4-3244a52d2350 2025-05-03 13:38:27,091 - DEBUG - Requesting: http://10.0.0.254:8082/project/1c886b39-83ac-4a2d-8faf-8cc3c01422db 2025-05-03 13:38:27,165 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e7c287bd-fe2d-4809-af6e-07b6b560eb27 2025-05-03 13:38:27,175 - DEBUG - ==>Verifying data for policy with id: 141517b7-daad-438f-8903-9884cbcd2902, fqn: ['default-domain', 'ctest-TestBasicPolicy-47327993', 'ctest-policy-allow-all-25929214'] 2025-05-03 13:38:27,175 - INFO - VN ctest-vn-94801469 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-03 13:38:27,175 - DEBUG - Verifying the vn in opserver 2025-05-03 13:38:27,176 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-94801469 virtual network link through opserver 10.0.0.254 2025-05-03 13:38:27,176 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-03 13:38:27,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-94801469', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-94801469?flat'} 2025-05-03 13:38:27,191 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-94801469 is found in opserver 2025-05-03 13:38:27,202 - DEBUG - Do not have enough data to verify VN in agent 2025-05-03 13:38:27,207 - DEBUG - VRF ids for VN ctest-vn-94801469: {} 2025-05-03 13:38:27,257 - DEBUG - Services list from nova: [, , ] 2025-05-03 13:38:28,198 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3260-1) 2025-05-03 13:38:29,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3260-1) 2025-05-03 13:38:29,415 - INFO - Waiting for VM ctest-TestBasicPolicy-47327993-17694632 to be up.. 2025-05-03 13:38:29,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-03 13:38:34,562 - DEBUG - VM is in ACTIVE state now 2025-05-03 13:38:34,562 - INFO - VM name : ctest-TestBasicPolicy-47327993-17694632 2025-05-03 13:38:34,629 - DEBUG - VM ctest-TestBasicPolicy-47327993-17694632 ID is 5061ace5-0908-4231-9e37-559b77a4142b 2025-05-03 13:38:34,645 - DEBUG - VM ctest-TestBasicPolicy-47327993-17694632 launched on Node cn-jenkins-deploy-platform-ansible-os-3260-1 2025-05-03 13:38:34,711 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5061ace5-0908-4231-9e37-559b77a4142b 2025-05-03 13:38:34,719 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/405edf96-e1ee-4cb6-b710-a69dd7ddc7d9 2025-05-03 13:38:37,982 - 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 1024ms') 2025-05-03 13:38:37,982 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47327993-17694632 failed! 2025-05-03 13:38:38,034 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47327993:ctest-vn-53645194 is 61.151.45.65 and allocation pool is NOT set 2025-05-03 13:38:40,102 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/1.644/2.873/1.229 ms') 2025-05-03 13:38:40,102 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47327993-17694632 passed 2025-05-03 13:38:40,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 13:38:40,254 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47327993-17694632, IP 61.151.45.67, Port 22 2025-05-03 13:38:40,405 - DEBUG - VM ctest-TestBasicPolicy-47327993-17694632 is ready for SSH connections 2025-05-03 13:38:40,405 - INFO - Waiting for VM ctest-TestBasicPolicy-47327993-97732690 to be up.. 2025-05-03 13:38:40,471 - DEBUG - VM is in ACTIVE state now 2025-05-03 13:38:40,471 - INFO - VM name : ctest-TestBasicPolicy-47327993-97732690 2025-05-03 13:38:40,530 - DEBUG - VM ctest-TestBasicPolicy-47327993-97732690 ID is 5dca962d-e4aa-4f9e-9a67-4554fea453ea 2025-05-03 13:38:40,530 - DEBUG - VM ctest-TestBasicPolicy-47327993-97732690 launched on Node cn-jenkins-deploy-platform-ansible-os-3260-1 2025-05-03 13:38:40,590 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5dca962d-e4aa-4f9e-9a67-4554fea453ea 2025-05-03 13:38:40,597 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/71c79ae2-5bdd-4b5f-a61b-a6d1efb2f894 2025-05-03 13:38:41,817 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.351 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.351/1.480/2.609/1.129 ms') 2025-05-03 13:38:41,817 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47327993-97732690 passed 2025-05-03 13:38:41,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 13:38:41,966 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47327993-97732690, IP 96.50.72.67, Port 22 2025-05-03 13:38:42,121 - DEBUG - VM ctest-TestBasicPolicy-47327993-97732690 is ready for SSH connections 2025-05-03 13:38:42,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 13:38:42,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.50.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-03 13:38:42,122 - DEBUG - ping -s 56 -c 3 -W 1 96.50.72.67 2025-05-03 13:38:46,066 - DEBUG - PING 96.50.72.67 (96.50.72.67): 56 data bytes 64 bytes from 96.50.72.67: seq=0 ttl=63 time=3.234 ms 64 bytes from 96.50.72.67: seq=1 ttl=63 time=0.824 ms 64 bytes from 96.50.72.67: seq=2 ttl=63 time=0.910 ms --- 96.50.72.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/1.656/3.234 ms 2025-05-03 13:38:46,066 - INFO - Ping to IP 96.50.72.67 from VM ctest-TestBasicPolicy-47327993-17694632 passed 2025-05-03 13:38:46,242 - DEBUG - Policy Update Response {"network-policy": {"uuid": "141517b7-daad-438f-8903-9884cbcd2902", "href": "http://10.0.0.254:8082/network-policy/141517b7-daad-438f-8903-9884cbcd2902"}} 2025-05-03 13:38:46,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 13:38:46,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.50.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-03 13:38:46,242 - DEBUG - ping -s 56 -c 3 -W 1 96.50.72.67 2025-05-03 13:38:49,432 - DEBUG - PING 96.50.72.67 (96.50.72.67): 56 data bytes --- 96.50.72.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-03 13:38:49,432 - WARNING - Ping to IP 96.50.72.67 from VM ctest-TestBasicPolicy-47327993-17694632 failed 2025-05-03 13:38:49,432 - INFO - Deleting VM ctest-TestBasicPolicy-47327993-97732690 2025-05-03 13:38:49,492 - INFO - Deleting VM ctest-TestBasicPolicy-47327993-17694632 2025-05-03 13:38:49,840 - INFO - Deleted policy ctest-policy-allow-all-25929214 2025-05-03 13:38:49,840 - INFO - Deleting VN ctest-vn-94801469 2025-05-03 13:38:49,869 - DEBUG - VN e7c287bd-fe2d-4809-af6e-07b6b560eb27 still in use: Unable to complete operation on network e7c287bd-fe2d-4809-af6e-07b6b560eb27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f678b92e-6eca-4d27-b9bd-3bf70a56dea0'] 2025-05-03 13:38:49,869 - WARNING - Deleting VN ctest-vn-94801469 failed..Will retry 2025-05-03 13:38:51,964 - DEBUG - Response for deleting network () 2025-05-03 13:38:51,965 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/088af8f3-8bf2-468b-9ce9-3645c25a3092 2025-05-03 13:38:51,972 - DEBUG - Response Code: 404 2025-05-03 13:38:51,972 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-03 13:38:51,977 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60f41028-1246-4228-8ee4-3244a52d2350 2025-05-03 13:38:52,035 - DEBUG - Requesting: http://10.0.0.254:8082/project/1c886b39-83ac-4a2d-8faf-8cc3c01422db 2025-05-03 13:38:52,100 - INFO - Validated that VN ctest-vn-94801469 is not found in API Server 2025-05-03 13:38:52,111 - DEBUG - VN ctest-vn-94801469 is not present in Agent 10.0.0.254 2025-05-03 13:38:52,111 - INFO - Validated that VN ctest-vn-94801469 is not in any agent 2025-05-03 13:38:52,125 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94801469 info 2025-05-03 13:38:52,125 - INFO - Deleting VN ctest-vn-53645194 2025-05-03 13:38:52,218 - DEBUG - Response for deleting network () 2025-05-03 13:38:52,218 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8e8f740-a64d-4400-a3aa-258f77c94025 2025-05-03 13:38:52,226 - DEBUG - Response Code: 404 2025-05-03 13:38:52,226 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-03 13:38:52,233 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60f41028-1246-4228-8ee4-3244a52d2350 2025-05-03 13:38:52,287 - DEBUG - Requesting: http://10.0.0.254:8082/project/1c886b39-83ac-4a2d-8faf-8cc3c01422db 2025-05-03 13:38:52,357 - INFO - Validated that VN ctest-vn-53645194 is not found in API Server 2025-05-03 13:38:52,368 - DEBUG - VN ctest-vn-53645194 is not present in Agent 10.0.0.254 2025-05-03 13:38:52,368 - INFO - Validated that VN ctest-vn-53645194 is not in any agent 2025-05-03 13:38:52,382 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53645194 info 2025-05-03 13:38:52,635 - DEBUG - No XMPP flaps were noticed during the test
2025-05-03 13:38:52,635 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-05-03 13:38:52,635 - INFO - -------------------------------------------------------------------------------- 2025-05-03 13:38:53,286 - INFO - Deleted project: ctest-TestBasicPolicy-47327993, ID : 1c886b39-83ac-4a2d-8faf-8cc3c01422db