2025-07-09 12:29:46,733 - INFO - Domain Default found not creating 2025-07-09 12:29:46,862 - INFO - Project ctest-TestBasicPolicy-08721825 not found, creating it 2025-07-09 12:29:47,290 - INFO - Created Project:ctest-TestBasicPolicy-08721825, ID : e2ef2ddd-5ecf-4548-81b1-6914d0705de0 2025-07-09 12:29:48,690 - INFO - ================================================================================ 2025-07-09 12:29:48,690 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-09 12:29:48,690 - 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-07-09 12:29:48,945 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-07-09 12:29:48,945 - INFO - Initial checks done. Running the testcase now 2025-07-09 12:29:48,945 - INFO - 2025-07-09 12:29:49,587 - DEBUG - Response for create_network : {'network': {'id': '08e2a6ee-5c64-4cc6-be67-b71ddf9df528', 'name': 'ctest-vn-52859641', 'tenant_id': 'e2ef2ddd5ecf454881b16914d0705de0', 'project_id': 'e2ef2ddd5ecf454881b16914d0705de0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08721825', 'ctest-vn-52859641'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 12:29:49,767 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d1e15ce-9044-4e12-aa4c-58d08f748792', 'name': '', 'tenant_id': 'e2ef2ddd5ecf454881b16914d0705de0', 'network_id': '08e2a6ee-5c64-4cc6-be67-b71ddf9df528', 'ip_version': 4, 'cidr': '201.148.238.0/26', 'allocation_pools': [{'start': '201.148.238.2', 'end': '201.148.238.62'}], 'gateway_ip': '201.148.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.148.238.2', 'tags': [], 'project_id': 'e2ef2ddd5ecf454881b16914d0705de0'}} 2025-07-09 12:29:49,784 - INFO - Created VN ctest-vn-52859641 2025-07-09 12:29:49,835 - DEBUG - VN ctest-vn-52859641 UUID is 08e2a6ee-5c64-4cc6-be67-b71ddf9df528 2025-07-09 12:29:50,141 - DEBUG - Response for create_network : {'network': {'id': '40adf860-b09d-41eb-9804-5f58ea368dce', 'name': 'ctest-vn-71060830', 'tenant_id': 'e2ef2ddd5ecf454881b16914d0705de0', 'project_id': 'e2ef2ddd5ecf454881b16914d0705de0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08721825', 'ctest-vn-71060830'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 12:29:50,345 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5641bc8-799d-4a04-a6c9-1987f075cb44', 'name': '', 'tenant_id': 'e2ef2ddd5ecf454881b16914d0705de0', 'network_id': '40adf860-b09d-41eb-9804-5f58ea368dce', 'ip_version': 4, 'cidr': '80.43.83.0/26', 'allocation_pools': [{'start': '80.43.83.2', 'end': '80.43.83.62'}], 'gateway_ip': '80.43.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.43.83.2', 'tags': [], 'project_id': 'e2ef2ddd5ecf454881b16914d0705de0'}} 2025-07-09 12:29:50,363 - INFO - Created VN ctest-vn-71060830 2025-07-09 12:29:50,415 - DEBUG - VN ctest-vn-71060830 UUID is 40adf860-b09d-41eb-9804-5f58ea368dce 2025-07-09 12:29:50,567 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-52859641, 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-08721825:ctest-vn-71060830, 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-07-09 12:29:50,869 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '08e2a6ee-5c64-4cc6-be67-b71ddf9df528', 'name': 'ctest-vn-52859641', 'tenant_id': 'e2ef2ddd5ecf454881b16914d0705de0', 'project_id': 'e2ef2ddd5ecf454881b16914d0705de0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d1e15ce-9044-4e12-aa4c-58d08f748792'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08721825', 'ctest-vn-52859641'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08721825', 'ctest-policy-allow-all-14521182']], 'subnet_ipam': [{'subnet_cidr': '201.148.238.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-09 12:29:51,096 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '40adf860-b09d-41eb-9804-5f58ea368dce', 'name': 'ctest-vn-71060830', 'tenant_id': 'e2ef2ddd5ecf454881b16914d0705de0', 'project_id': 'e2ef2ddd5ecf454881b16914d0705de0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e5641bc8-799d-4a04-a6c9-1987f075cb44'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08721825', 'ctest-vn-71060830'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08721825', 'ctest-policy-allow-all-14521182']], 'subnet_ipam': [{'subnet_cidr': '80.43.83.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-09 12:29:51,263 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-09 12:29:51,551 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-09 12:29:51,578 - DEBUG - Requesting: http://10.0.0.130:8082/domain/97198991-39fc-4300-b48a-4ecab310a527 2025-07-09 12:29:51,591 - DEBUG - Requesting: http://10.0.0.130:8082/project/e2ef2ddd-5ecf-4548-81b1-6914d0705de0 2025-07-09 12:29:51,667 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/08e2a6ee-5c64-4cc6-be67-b71ddf9df528 2025-07-09 12:29:51,678 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/08e2a6ee-5c64-4cc6-be67-b71ddf9df528 2025-07-09 12:29:51,687 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6ae7c02-a824-4ca6-8eb9-7df6e3001b56 2025-07-09 12:29:51,695 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6ae7c02-a824-4ca6-8eb9-7df6e3001b56 2025-07-09 12:29:51,702 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/98d2ca2b-19c9-4f6e-82db-cadb71ba213f 2025-07-09 12:29:51,708 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-09 12:29:51,708 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/08e2a6ee-5c64-4cc6-be67-b71ddf9df528 2025-07-09 12:29:51,718 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6ae7c02-a824-4ca6-8eb9-7df6e3001b56 2025-07-09 12:29:51,732 - INFO - Verified VN network id 8 for VN 08e2a6ee-5c64-4cc6-be67-b71ddf9df528 2025-07-09 12:29:51,732 - INFO - Verifications in API Server for VN ctest-vn-52859641 passed 2025-07-09 12:29:51,732 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/08e2a6ee-5c64-4cc6-be67-b71ddf9df528 2025-07-09 12:29:51,743 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6ae7c02-a824-4ca6-8eb9-7df6e3001b56 2025-07-09 12:29:51,752 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6ae7c02-a824-4ca6-8eb9-7df6e3001b56 2025-07-09 12:29:51,761 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/98d2ca2b-19c9-4f6e-82db-cadb71ba213f 2025-07-09 12:29:51,776 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-52859641', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08721825', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '640257639722536134', 'uuid-lslong': '13720136128741111080'}, 'enable': 'true', 'created': '2025-07-09T12:29:49', 'last-modified': '2025-07-09T12:29:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936154'} 2025-07-09 12:29:51,785 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-09 12:29:51,785 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52859641 passed 2025-07-09 12:29:51,785 - DEBUG - ====Verifying policy data for ctest-vn-52859641 in API_Server ====== 2025-07-09 12:29:51,785 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-09 12:29:51,793 - DEBUG - Requesting: http://10.0.0.130:8082/domain/97198991-39fc-4300-b48a-4ecab310a527 2025-07-09 12:29:51,809 - DEBUG - Requesting: http://10.0.0.130:8082/project/e2ef2ddd-5ecf-4548-81b1-6914d0705de0 2025-07-09 12:29:51,885 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/08e2a6ee-5c64-4cc6-be67-b71ddf9df528 2025-07-09 12:29:51,898 - DEBUG - ==>Verifying data for policy with id: bcf0d40f-65d4-4ad6-b557-52617d2a47d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-08721825', 'ctest-policy-allow-all-14521182'] 2025-07-09 12:29:51,898 - INFO - VN ctest-vn-52859641 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-09 12:29:51,898 - DEBUG - Verifying the vn in opserver 2025-07-09 12:29:51,898 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-52859641 virtual network link through opserver 10.0.0.130 2025-07-09 12:29:51,898 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-07-09 12:29:52,187 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-07-09 12:29:52,239 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-52859641', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-52859641?flat'} 2025-07-09 12:29:52,239 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-52859641 is found in opserver 2025-07-09 12:29:52,249 - DEBUG - Do not have enough data to verify VN in agent 2025-07-09 12:29:52,254 - DEBUG - VRF ids for VN ctest-vn-52859641: {} 2025-07-09 12:29:52,254 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-09 12:29:52,259 - DEBUG - Requesting: http://10.0.0.130:8082/domain/97198991-39fc-4300-b48a-4ecab310a527 2025-07-09 12:29:52,270 - DEBUG - Requesting: http://10.0.0.130:8082/project/e2ef2ddd-5ecf-4548-81b1-6914d0705de0 2025-07-09 12:29:52,340 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/40adf860-b09d-41eb-9804-5f58ea368dce 2025-07-09 12:29:52,352 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/40adf860-b09d-41eb-9804-5f58ea368dce 2025-07-09 12:29:52,361 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/de4b3778-7df3-4202-b51d-aa83ddf3ecf3 2025-07-09 12:29:52,368 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/de4b3778-7df3-4202-b51d-aa83ddf3ecf3 2025-07-09 12:29:52,376 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/bd335151-6c07-4e9c-aca5-9de5b275a8a5 2025-07-09 12:29:52,383 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-09 12:29:52,383 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/40adf860-b09d-41eb-9804-5f58ea368dce 2025-07-09 12:29:52,392 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/de4b3778-7df3-4202-b51d-aa83ddf3ecf3 2025-07-09 12:29:52,406 - INFO - Verified VN network id 9 for VN 40adf860-b09d-41eb-9804-5f58ea368dce 2025-07-09 12:29:52,407 - INFO - Verifications in API Server for VN ctest-vn-71060830 passed 2025-07-09 12:29:52,407 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/40adf860-b09d-41eb-9804-5f58ea368dce 2025-07-09 12:29:52,416 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/de4b3778-7df3-4202-b51d-aa83ddf3ecf3 2025-07-09 12:29:52,424 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/de4b3778-7df3-4202-b51d-aa83ddf3ecf3 2025-07-09 12:29:52,432 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/bd335151-6c07-4e9c-aca5-9de5b275a8a5 2025-07-09 12:29:52,444 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-71060830', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08721825', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4660654283561976299', 'uuid-lslong': '10953985029163093454'}, 'enable': 'true', 'created': '2025-07-09T12:29:50', 'last-modified': '2025-07-09T12:29:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.368899'} 2025-07-09 12:29:52,450 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-09 12:29:52,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71060830 passed 2025-07-09 12:29:52,450 - DEBUG - ====Verifying policy data for ctest-vn-71060830 in API_Server ====== 2025-07-09 12:29:52,450 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-09 12:29:52,456 - DEBUG - Requesting: http://10.0.0.130:8082/domain/97198991-39fc-4300-b48a-4ecab310a527 2025-07-09 12:29:52,467 - DEBUG - Requesting: http://10.0.0.130:8082/project/e2ef2ddd-5ecf-4548-81b1-6914d0705de0 2025-07-09 12:29:52,538 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/40adf860-b09d-41eb-9804-5f58ea368dce 2025-07-09 12:29:52,547 - DEBUG - ==>Verifying data for policy with id: bcf0d40f-65d4-4ad6-b557-52617d2a47d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-08721825', 'ctest-policy-allow-all-14521182'] 2025-07-09 12:29:52,547 - INFO - VN ctest-vn-71060830 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-09 12:29:52,548 - DEBUG - Verifying the vn in opserver 2025-07-09 12:29:52,548 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-71060830 virtual network link through opserver 10.0.0.130 2025-07-09 12:29:52,548 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-07-09 12:29:52,558 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-71060830', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-71060830?flat'} 2025-07-09 12:29:52,558 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-71060830 is found in opserver 2025-07-09 12:29:52,568 - DEBUG - Do not have enough data to verify VN in agent 2025-07-09 12:29:52,573 - DEBUG - VRF ids for VN ctest-vn-71060830: {} 2025-07-09 12:29:52,628 - DEBUG - Services list from nova: [, , ] 2025-07-09 12:29:53,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3618-1) 2025-07-09 12:29:54,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3618-1) 2025-07-09 12:29:54,807 - INFO - Waiting for VM ctest-TestBasicPolicy-08721825-72932974 to be up.. 2025-07-09 12:29:54,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-09 12:29:59,944 - DEBUG - VM is in ACTIVE state now 2025-07-09 12:29:59,944 - INFO - VM name : ctest-TestBasicPolicy-08721825-72932974 2025-07-09 12:30:00,024 - DEBUG - VM ctest-TestBasicPolicy-08721825-72932974 ID is 5ad93953-adfd-4733-b1fa-b3c3e7617568 2025-07-09 12:30:00,043 - DEBUG - VM ctest-TestBasicPolicy-08721825-72932974 launched on Node cn-jenkins-deploy-platform-ansible-os-3618-1 2025-07-09 12:30:00,114 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/5ad93953-adfd-4733-b1fa-b3c3e7617568 2025-07-09 12:30:00,124 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/97082abb-a822-4ace-906f-493fd1459a3b 2025-07-09 12:30:03,375 - 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 1015ms') 2025-07-09 12:30:03,375 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08721825-72932974 failed! 2025-07-09 12:30:03,431 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08721825:ctest-vn-52859641 is 201.148.238.1 and allocation pool is NOT set 2025-07-09 12:30:05,491 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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.470/1.600/2.731/1.130 ms') 2025-07-09 12:30:05,491 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08721825-72932974 passed 2025-07-09 12:30:05,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 12:30:05,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08721825-72932974, IP 201.148.238.3, Port 22 2025-07-09 12:30:05,807 - DEBUG - VM ctest-TestBasicPolicy-08721825-72932974 is ready for SSH connections 2025-07-09 12:30:05,807 - INFO - Waiting for VM ctest-TestBasicPolicy-08721825-52581793 to be up.. 2025-07-09 12:30:05,877 - DEBUG - VM is in ACTIVE state now 2025-07-09 12:30:05,877 - INFO - VM name : ctest-TestBasicPolicy-08721825-52581793 2025-07-09 12:30:05,945 - DEBUG - VM ctest-TestBasicPolicy-08721825-52581793 ID is 31911c16-e389-4d71-834a-fdf7b6ea60fc 2025-07-09 12:30:05,945 - DEBUG - VM ctest-TestBasicPolicy-08721825-52581793 launched on Node cn-jenkins-deploy-platform-ansible-os-3618-1 2025-07-09 12:30:06,011 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/31911c16-e389-4d71-834a-fdf7b6ea60fc 2025-07-09 12:30:06,020 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/2a06da23-e657-444e-9e68-f168d6b5a465 2025-07-09 12:30:07,264 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.543/2.664/1.120 ms') 2025-07-09 12:30:07,264 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08721825-52581793 passed 2025-07-09 12:30:07,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 12:30:07,415 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08721825-52581793, IP 80.43.83.3, Port 22 2025-07-09 12:30:07,566 - DEBUG - VM ctest-TestBasicPolicy-08721825-52581793 is ready for SSH connections 2025-07-09 12:30:07,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 12:30:07,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.43.83.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-09 12:30:07,567 - DEBUG - ping -s 56 -c 3 -W 1 80.43.83.3 2025-07-09 12:30:11,259 - DEBUG - PING 80.43.83.3 (80.43.83.3): 56 data bytes 64 bytes from 80.43.83.3: seq=0 ttl=63 time=3.759 ms 64 bytes from 80.43.83.3: seq=1 ttl=63 time=0.795 ms 64 bytes from 80.43.83.3: seq=2 ttl=63 time=0.790 ms --- 80.43.83.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/1.781/3.759 ms 2025-07-09 12:30:11,259 - INFO - Ping to IP 80.43.83.3 from VM ctest-TestBasicPolicy-08721825-72932974 passed 2025-07-09 12:30:11,447 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bcf0d40f-65d4-4ad6-b557-52617d2a47d1", "href": "http://10.0.0.130:8082/network-policy/bcf0d40f-65d4-4ad6-b557-52617d2a47d1"}} 2025-07-09 12:30:11,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 12:30:11,447 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.43.83.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-09 12:30:11,447 - DEBUG - ping -s 56 -c 3 -W 1 80.43.83.3 2025-07-09 12:30:14,644 - DEBUG - PING 80.43.83.3 (80.43.83.3): 56 data bytes --- 80.43.83.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-09 12:30:14,644 - WARNING - Ping to IP 80.43.83.3 from VM ctest-TestBasicPolicy-08721825-72932974 failed 2025-07-09 12:30:14,644 - INFO - Deleting VM ctest-TestBasicPolicy-08721825-52581793 2025-07-09 12:30:14,705 - INFO - Deleting VM ctest-TestBasicPolicy-08721825-72932974 2025-07-09 12:30:15,077 - INFO - Deleted policy ctest-policy-allow-all-14521182 2025-07-09 12:30:15,077 - INFO - Deleting VN ctest-vn-71060830 2025-07-09 12:30:15,122 - DEBUG - VN 40adf860-b09d-41eb-9804-5f58ea368dce still in use: Unable to complete operation on network 40adf860-b09d-41eb-9804-5f58ea368dce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f30b2e4-90bc-4319-b2dc-f3bfe30aa7df'] 2025-07-09 12:30:15,122 - WARNING - Deleting VN ctest-vn-71060830 failed..Will retry 2025-07-09 12:30:17,233 - DEBUG - Response for deleting network () 2025-07-09 12:30:17,233 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/de4b3778-7df3-4202-b51d-aa83ddf3ecf3 2025-07-09 12:30:17,239 - DEBUG - Response Code: 404 2025-07-09 12:30:17,239 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-09 12:30:17,247 - DEBUG - Requesting: http://10.0.0.130:8082/domain/97198991-39fc-4300-b48a-4ecab310a527 2025-07-09 12:30:17,301 - DEBUG - Requesting: http://10.0.0.130:8082/project/e2ef2ddd-5ecf-4548-81b1-6914d0705de0 2025-07-09 12:30:17,372 - INFO - Validated that VN ctest-vn-71060830 is not found in API Server 2025-07-09 12:30:17,382 - DEBUG - VN ctest-vn-71060830 is not present in Agent 10.0.0.130 2025-07-09 12:30:17,383 - INFO - Validated that VN ctest-vn-71060830 is not in any agent 2025-07-09 12:30:17,397 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71060830 info 2025-07-09 12:30:17,397 - INFO - Deleting VN ctest-vn-52859641 2025-07-09 12:30:17,515 - DEBUG - Response for deleting network () 2025-07-09 12:30:17,515 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6ae7c02-a824-4ca6-8eb9-7df6e3001b56 2025-07-09 12:30:17,521 - DEBUG - Response Code: 404 2025-07-09 12:30:17,521 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-09 12:30:17,526 - DEBUG - Requesting: http://10.0.0.130:8082/domain/97198991-39fc-4300-b48a-4ecab310a527 2025-07-09 12:30:17,582 - DEBUG - Requesting: http://10.0.0.130:8082/project/e2ef2ddd-5ecf-4548-81b1-6914d0705de0 2025-07-09 12:30:17,654 - INFO - Validated that VN ctest-vn-52859641 is not found in API Server 2025-07-09 12:30:17,664 - DEBUG - VN ctest-vn-52859641 is not present in Agent 10.0.0.130 2025-07-09 12:30:17,665 - INFO - Validated that VN ctest-vn-52859641 is not in any agent 2025-07-09 12:30:17,680 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52859641 info 2025-07-09 12:30:17,933 - DEBUG - No XMPP flaps were noticed during the test 2025-07-09 12:30:17,933 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-09 12:30:17,933 - INFO - -------------------------------------------------------------------------------- 2025-07-09 12:30:18,606 - INFO - Deleted project: ctest-TestBasicPolicy-08721825, ID : e2ef2ddd-5ecf-4548-81b1-6914d0705de0