2025-08-18 14:55:27,811 - INFO - Domain Default found not creating 2025-08-18 14:55:27,928 - INFO - Project ctest-TestBasicPolicy-87900982 not found, creating it 2025-08-18 14:55:28,338 - INFO - Created Project:ctest-TestBasicPolicy-87900982, ID : e18f6ca4-a943-4568-b256-58b25c1e677b 2025-08-18 14:55:29,710 - INFO - ================================================================================ 2025-08-18 14:55:29,710 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-18 14:55:29,710 - 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-18 14:55:29,967 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-08-18 14:55:29,967 - INFO - Initial checks done. Running the testcase now 2025-08-18 14:55:29,967 - INFO - 2025-08-18 14:55:30,487 - DEBUG - Response for create_network : {'network': {'id': 'f871ec4b-2b45-4138-b8ea-504a3ebee1e4', 'name': 'ctest-vn-89259142', 'tenant_id': 'e18f6ca4a9434568b25658b25c1e677b', 'project_id': 'e18f6ca4a9434568b25658b25c1e677b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87900982', 'ctest-vn-89259142'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 14:55:30,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ac6dce5-89ef-410c-b8e3-76a887c6a98d', 'name': '', 'tenant_id': 'e18f6ca4a9434568b25658b25c1e677b', 'network_id': 'f871ec4b-2b45-4138-b8ea-504a3ebee1e4', 'ip_version': 4, 'cidr': '164.249.15.64/26', 'allocation_pools': [{'start': '164.249.15.66', 'end': '164.249.15.126'}], 'gateway_ip': '164.249.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.249.15.66', 'tags': [], 'project_id': 'e18f6ca4a9434568b25658b25c1e677b'}} 2025-08-18 14:55:30,691 - INFO - Created VN ctest-vn-89259142 2025-08-18 14:55:30,746 - DEBUG - VN ctest-vn-89259142 UUID is f871ec4b-2b45-4138-b8ea-504a3ebee1e4 2025-08-18 14:55:31,045 - DEBUG - Response for create_network : {'network': {'id': '22d74c77-35a8-4a14-8c90-47efee403765', 'name': 'ctest-vn-45427720', 'tenant_id': 'e18f6ca4a9434568b25658b25c1e677b', 'project_id': 'e18f6ca4a9434568b25658b25c1e677b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87900982', 'ctest-vn-45427720'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 14:55:31,234 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2b29b6a-3ce4-42c7-aba7-9cb53449c8cd', 'name': '', 'tenant_id': 'e18f6ca4a9434568b25658b25c1e677b', 'network_id': '22d74c77-35a8-4a14-8c90-47efee403765', 'ip_version': 4, 'cidr': '93.220.151.128/26', 'allocation_pools': [{'start': '93.220.151.130', 'end': '93.220.151.190'}], 'gateway_ip': '93.220.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.220.151.130', 'tags': [], 'project_id': 'e18f6ca4a9434568b25658b25c1e677b'}} 2025-08-18 14:55:31,248 - INFO - Created VN ctest-vn-45427720 2025-08-18 14:55:31,302 - DEBUG - VN ctest-vn-45427720 UUID is 22d74c77-35a8-4a14-8c90-47efee403765 2025-08-18 14:55:31,442 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-89259142, 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-87900982:ctest-vn-45427720, 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-18 14:55:31,722 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f871ec4b-2b45-4138-b8ea-504a3ebee1e4', 'name': 'ctest-vn-89259142', 'tenant_id': 'e18f6ca4a9434568b25658b25c1e677b', 'project_id': 'e18f6ca4a9434568b25658b25c1e677b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2ac6dce5-89ef-410c-b8e3-76a887c6a98d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87900982', 'ctest-vn-89259142'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87900982', 'ctest-policy-allow-all-95573983']], 'subnet_ipam': [{'subnet_cidr': '164.249.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 14:55:31,945 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22d74c77-35a8-4a14-8c90-47efee403765', 'name': 'ctest-vn-45427720', 'tenant_id': 'e18f6ca4a9434568b25658b25c1e677b', 'project_id': 'e18f6ca4a9434568b25658b25c1e677b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e2b29b6a-3ce4-42c7-aba7-9cb53449c8cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87900982', 'ctest-vn-45427720'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87900982', 'ctest-policy-allow-all-95573983']], 'subnet_ipam': [{'subnet_cidr': '93.220.151.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 14:55:32,106 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-18 14:55:32,393 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-18 14:55:32,417 - DEBUG - Requesting: http://10.0.0.65:8082/domain/ba88f207-791d-4332-a7c0-fe67d77fe660 2025-08-18 14:55:32,429 - DEBUG - Requesting: http://10.0.0.65:8082/project/e18f6ca4-a943-4568-b256-58b25c1e677b 2025-08-18 14:55:32,502 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/f871ec4b-2b45-4138-b8ea-504a3ebee1e4 2025-08-18 14:55:32,512 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/f871ec4b-2b45-4138-b8ea-504a3ebee1e4 2025-08-18 14:55:32,521 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bd1627b-c34b-4271-8de8-f8cb8aea42be 2025-08-18 14:55:32,527 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bd1627b-c34b-4271-8de8-f8cb8aea42be 2025-08-18 14:55:32,533 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/046ed143-6b55-49fc-8420-a069f155af03 2025-08-18 14:55:32,539 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 14:55:32,539 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/f871ec4b-2b45-4138-b8ea-504a3ebee1e4 2025-08-18 14:55:32,548 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bd1627b-c34b-4271-8de8-f8cb8aea42be 2025-08-18 14:55:32,560 - INFO - Verified VN network id 11 for VN f871ec4b-2b45-4138-b8ea-504a3ebee1e4 2025-08-18 14:55:32,560 - INFO - Verifications in API Server for VN ctest-vn-89259142 passed 2025-08-18 14:55:32,560 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/f871ec4b-2b45-4138-b8ea-504a3ebee1e4 2025-08-18 14:55:32,569 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bd1627b-c34b-4271-8de8-f8cb8aea42be 2025-08-18 14:55:32,575 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bd1627b-c34b-4271-8de8-f8cb8aea42be 2025-08-18 14:55:32,581 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/046ed143-6b55-49fc-8420-a069f155af03 2025-08-18 14:55:32,592 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-89259142', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87900982', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17902349801367093560', 'uuid-lslong': '13324550727339532772'}, 'enable': 'true', 'created': '2025-08-18T14:55:30', 'last-modified': '2025-08-18T14:55:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890252'} 2025-08-18 14:55:32,599 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 14:55:32,599 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89259142 passed 2025-08-18 14:55:32,599 - DEBUG - ====Verifying policy data for ctest-vn-89259142 in API_Server ====== 2025-08-18 14:55:32,599 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-18 14:55:32,604 - DEBUG - Requesting: http://10.0.0.65:8082/domain/ba88f207-791d-4332-a7c0-fe67d77fe660 2025-08-18 14:55:32,613 - DEBUG - Requesting: http://10.0.0.65:8082/project/e18f6ca4-a943-4568-b256-58b25c1e677b 2025-08-18 14:55:32,683 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/f871ec4b-2b45-4138-b8ea-504a3ebee1e4 2025-08-18 14:55:32,692 - DEBUG - ==>Verifying data for policy with id: 593d3afd-7735-4f54-a3be-55d398151683, fqn: ['default-domain', 'ctest-TestBasicPolicy-87900982', 'ctest-policy-allow-all-95573983'] 2025-08-18 14:55:32,692 - INFO - VN ctest-vn-89259142 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 14:55:32,692 - DEBUG - Verifying the vn in opserver 2025-08-18 14:55:32,693 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-89259142 virtual network link through opserver 10.0.0.65 2025-08-18 14:55:32,693 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-18 14:55:32,978 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-18 14:55:33,024 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-89259142', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-89259142?flat'} 2025-08-18 14:55:33,024 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-89259142 is found in opserver 2025-08-18 14:55:33,035 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 14:55:33,039 - DEBUG - VRF ids for VN ctest-vn-89259142: {} 2025-08-18 14:55:33,039 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-18 14:55:33,045 - DEBUG - Requesting: http://10.0.0.65:8082/domain/ba88f207-791d-4332-a7c0-fe67d77fe660 2025-08-18 14:55:33,056 - DEBUG - Requesting: http://10.0.0.65:8082/project/e18f6ca4-a943-4568-b256-58b25c1e677b 2025-08-18 14:55:33,127 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/22d74c77-35a8-4a14-8c90-47efee403765 2025-08-18 14:55:33,140 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/22d74c77-35a8-4a14-8c90-47efee403765 2025-08-18 14:55:33,150 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3d8de0d3-42e1-45a0-94a7-6eb6152f5f37 2025-08-18 14:55:33,157 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3d8de0d3-42e1-45a0-94a7-6eb6152f5f37 2025-08-18 14:55:33,165 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/b1c3873d-ca77-4727-9426-7bb5bffd13b6 2025-08-18 14:55:33,171 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 14:55:33,171 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/22d74c77-35a8-4a14-8c90-47efee403765 2025-08-18 14:55:33,179 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3d8de0d3-42e1-45a0-94a7-6eb6152f5f37 2025-08-18 14:55:33,191 - INFO - Verified VN network id 12 for VN 22d74c77-35a8-4a14-8c90-47efee403765 2025-08-18 14:55:33,191 - INFO - Verifications in API Server for VN ctest-vn-45427720 passed 2025-08-18 14:55:33,191 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/22d74c77-35a8-4a14-8c90-47efee403765 2025-08-18 14:55:33,200 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3d8de0d3-42e1-45a0-94a7-6eb6152f5f37 2025-08-18 14:55:33,206 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3d8de0d3-42e1-45a0-94a7-6eb6152f5f37 2025-08-18 14:55:33,211 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/b1c3873d-ca77-4727-9426-7bb5bffd13b6 2025-08-18 14:55:33,223 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-45427720', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87900982', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2510559392167381524', 'uuid-lslong': '10128674657776187237'}, 'enable': 'true', 'created': '2025-08-18T14:55:31', 'last-modified': '2025-08-18T14:55:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297751'} 2025-08-18 14:55:33,229 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 14:55:33,229 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45427720 passed 2025-08-18 14:55:33,229 - DEBUG - ====Verifying policy data for ctest-vn-45427720 in API_Server ====== 2025-08-18 14:55:33,229 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-18 14:55:33,234 - DEBUG - Requesting: http://10.0.0.65:8082/domain/ba88f207-791d-4332-a7c0-fe67d77fe660 2025-08-18 14:55:33,244 - DEBUG - Requesting: http://10.0.0.65:8082/project/e18f6ca4-a943-4568-b256-58b25c1e677b 2025-08-18 14:55:33,308 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/22d74c77-35a8-4a14-8c90-47efee403765 2025-08-18 14:55:33,317 - DEBUG - ==>Verifying data for policy with id: 593d3afd-7735-4f54-a3be-55d398151683, fqn: ['default-domain', 'ctest-TestBasicPolicy-87900982', 'ctest-policy-allow-all-95573983'] 2025-08-18 14:55:33,317 - INFO - VN ctest-vn-45427720 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 14:55:33,317 - DEBUG - Verifying the vn in opserver 2025-08-18 14:55:33,317 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-45427720 virtual network link through opserver 10.0.0.65 2025-08-18 14:55:33,317 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-18 14:55:33,325 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-45427720', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-45427720?flat'} 2025-08-18 14:55:33,325 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-45427720 is found in opserver 2025-08-18 14:55:33,335 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 14:55:33,339 - DEBUG - VRF ids for VN ctest-vn-45427720: {} 2025-08-18 14:55:33,386 - DEBUG - Services list from nova: [, , ] 2025-08-18 14:55:34,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3877-1) 2025-08-18 14:55:35,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3877-1) 2025-08-18 14:55:35,343 - INFO - Waiting for VM ctest-TestBasicPolicy-87900982-22730127 to be up.. 2025-08-18 14:55:35,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 14:55:40,476 - DEBUG - VM is in ACTIVE state now 2025-08-18 14:55:40,476 - INFO - VM name : ctest-TestBasicPolicy-87900982-22730127 2025-08-18 14:55:40,537 - DEBUG - VM ctest-TestBasicPolicy-87900982-22730127 ID is 254bfab2-9b2b-4e80-a41f-ef32536786da 2025-08-18 14:55:40,553 - DEBUG - VM ctest-TestBasicPolicy-87900982-22730127 launched on Node cn-jenkins-deploy-platform-ansible-os-3877-1 2025-08-18 14:55:40,615 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/254bfab2-9b2b-4e80-a41f-ef32536786da 2025-08-18 14:55:40,623 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/be88de42-20e4-40c9-8252-25317f324124 2025-08-18 14:55:43,865 - 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 1014ms') 2025-08-18 14:55:43,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87900982-22730127 failed! 2025-08-18 14:55:43,922 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87900982:ctest-vn-89259142 is 164.249.15.65 and allocation pool is NOT set 2025-08-18 14:55:45,978 - 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.67 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 1001ms\r\nrtt min/avg/max/mdev = 0.381/1.527/2.673/1.146 ms') 2025-08-18 14:55:45,978 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87900982-22730127 passed 2025-08-18 14:55:46,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:55:46,130 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87900982-22730127, IP 164.249.15.67, Port 22 2025-08-18 14:55:46,289 - DEBUG - VM ctest-TestBasicPolicy-87900982-22730127 is ready for SSH connections 2025-08-18 14:55:46,289 - INFO - Waiting for VM ctest-TestBasicPolicy-87900982-70854781 to be up.. 2025-08-18 14:55:46,352 - DEBUG - VM is in ACTIVE state now 2025-08-18 14:55:46,352 - INFO - VM name : ctest-TestBasicPolicy-87900982-70854781 2025-08-18 14:55:46,409 - DEBUG - VM ctest-TestBasicPolicy-87900982-70854781 ID is 52316e75-bdc5-417e-b1fd-a3d3de98a6f8 2025-08-18 14:55:46,409 - DEBUG - VM ctest-TestBasicPolicy-87900982-70854781 launched on Node cn-jenkins-deploy-platform-ansible-os-3877-1 2025-08-18 14:55:46,466 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/52316e75-bdc5-417e-b1fd-a3d3de98a6f8 2025-08-18 14:55:46,473 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/63f371a0-1d6f-4a39-a85c-b402cae5d730 2025-08-18 14:55:47,704 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.317 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.317/1.403/2.489/1.086 ms') 2025-08-18 14:55:47,704 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87900982-70854781 passed 2025-08-18 14:55:47,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:55:47,854 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87900982-70854781, IP 93.220.151.131, Port 22 2025-08-18 14:55:48,014 - DEBUG - VM ctest-TestBasicPolicy-87900982-70854781 is ready for SSH connections 2025-08-18 14:55:48,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:55:48,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.220.151.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-18 14:55:48,014 - DEBUG - ping -s 56 -c 3 -W 1 93.220.151.131 2025-08-18 14:55:51,666 - DEBUG - PING 93.220.151.131 (93.220.151.131): 56 data bytes 64 bytes from 93.220.151.131: seq=0 ttl=63 time=3.130 ms 64 bytes from 93.220.151.131: seq=1 ttl=63 time=0.682 ms 64 bytes from 93.220.151.131: seq=2 ttl=63 time=0.636 ms --- 93.220.151.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.636/1.482/3.130 ms 2025-08-18 14:55:51,666 - INFO - Ping to IP 93.220.151.131 from VM ctest-TestBasicPolicy-87900982-22730127 passed 2025-08-18 14:55:51,846 - DEBUG - Policy Update Response {"network-policy": {"uuid": "593d3afd-7735-4f54-a3be-55d398151683", "href": "http://10.0.0.65:8082/network-policy/593d3afd-7735-4f54-a3be-55d398151683"}} 2025-08-18 14:55:51,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 14:55:51,846 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.220.151.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-18 14:55:51,846 - DEBUG - ping -s 56 -c 3 -W 1 93.220.151.131 2025-08-18 14:55:55,038 - DEBUG - PING 93.220.151.131 (93.220.151.131): 56 data bytes --- 93.220.151.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 14:55:55,038 - WARNING - Ping to IP 93.220.151.131 from VM ctest-TestBasicPolicy-87900982-22730127 failed 2025-08-18 14:55:55,038 - INFO - Deleting VM ctest-TestBasicPolicy-87900982-70854781 2025-08-18 14:55:55,097 - INFO - Deleting VM ctest-TestBasicPolicy-87900982-22730127 2025-08-18 14:55:55,436 - INFO - Deleted policy ctest-policy-allow-all-95573983 2025-08-18 14:55:55,437 - INFO - Deleting VN ctest-vn-45427720 2025-08-18 14:55:55,473 - DEBUG - VN 22d74c77-35a8-4a14-8c90-47efee403765 still in use: Unable to complete operation on network 22d74c77-35a8-4a14-8c90-47efee403765. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-596e5371-e3ee-4028-81c7-aa78e8fc19cf'] 2025-08-18 14:55:55,473 - WARNING - Deleting VN ctest-vn-45427720 failed..Will retry 2025-08-18 14:55:57,563 - DEBUG - Response for deleting network () 2025-08-18 14:55:57,563 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3d8de0d3-42e1-45a0-94a7-6eb6152f5f37 2025-08-18 14:55:57,569 - DEBUG - Response Code: 404 2025-08-18 14:55:57,569 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-18 14:55:57,574 - DEBUG - Requesting: http://10.0.0.65:8082/domain/ba88f207-791d-4332-a7c0-fe67d77fe660 2025-08-18 14:55:57,627 - DEBUG - Requesting: http://10.0.0.65:8082/project/e18f6ca4-a943-4568-b256-58b25c1e677b 2025-08-18 14:55:57,693 - INFO - Validated that VN ctest-vn-45427720 is not found in API Server 2025-08-18 14:55:57,703 - DEBUG - VN ctest-vn-45427720 is not present in Agent 10.0.0.65 2025-08-18 14:55:57,703 - INFO - Validated that VN ctest-vn-45427720 is not in any agent 2025-08-18 14:55:57,717 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45427720 info 2025-08-18 14:55:57,717 - INFO - Deleting VN ctest-vn-89259142 2025-08-18 14:55:57,807 - DEBUG - Response for deleting network () 2025-08-18 14:55:57,807 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bd1627b-c34b-4271-8de8-f8cb8aea42be 2025-08-18 14:55:57,811 - DEBUG - Response Code: 404 2025-08-18 14:55:57,812 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-18 14:55:57,816 - DEBUG - Requesting: http://10.0.0.65:8082/domain/ba88f207-791d-4332-a7c0-fe67d77fe660 2025-08-18 14:55:57,867 - DEBUG - Requesting: http://10.0.0.65:8082/project/e18f6ca4-a943-4568-b256-58b25c1e677b 2025-08-18 14:55:57,934 - INFO - Validated that VN ctest-vn-89259142 is not found in API Server 2025-08-18 14:55:57,944 - DEBUG - VN ctest-vn-89259142 is not present in Agent 10.0.0.65 2025-08-18 14:55:57,944 - INFO - Validated that VN ctest-vn-89259142 is not in any agent 2025-08-18 14:55:57,958 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89259142 info 2025-08-18 14:55:58,212 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 14:55:58,212 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-18 14:55:58,212 - INFO - -------------------------------------------------------------------------------- 2025-08-18 14:55:58,850 - INFO - Deleted project: ctest-TestBasicPolicy-87900982, ID : e18f6ca4-a943-4568-b256-58b25c1e677b