2025-04-28 15:36:03,356 - INFO - Domain Default found not creating 2025-04-28 15:36:03,480 - INFO - Project ctest-TestBasicPolicy-76904521 not found, creating it 2025-04-28 15:36:03,943 - INFO - Created Project:ctest-TestBasicPolicy-76904521, ID : a9d1ee95-cf83-4afa-af3c-94b036fe180c 2025-04-28 15:36:05,323 - INFO - ================================================================================ 2025-04-28 15:36:05,324 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-28 15:36:05,324 - 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-28 15:36:05,580 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-04-28 15:36:05,581 - INFO - Initial checks done. Running the testcase now 2025-04-28 15:36:05,581 - INFO - 2025-04-28 15:36:06,106 - DEBUG - Response for create_network : {'network': {'id': '70297166-8326-4fa8-b05c-5800e3907e3b', 'name': 'ctest-vn-08961471', 'tenant_id': 'a9d1ee95cf834afaaf3c94b036fe180c', 'project_id': 'a9d1ee95cf834afaaf3c94b036fe180c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76904521', 'ctest-vn-08961471'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:36:06,286 - DEBUG - Response for create_subnet : {'subnet': {'id': '34b2c860-6415-4465-99a2-32830a106891', 'name': '', 'tenant_id': 'a9d1ee95cf834afaaf3c94b036fe180c', 'network_id': '70297166-8326-4fa8-b05c-5800e3907e3b', 'ip_version': 4, 'cidr': '128.152.44.64/26', 'allocation_pools': [{'start': '128.152.44.66', 'end': '128.152.44.126'}], 'gateway_ip': '128.152.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.152.44.66', 'tags': [], 'project_id': 'a9d1ee95cf834afaaf3c94b036fe180c'}} 2025-04-28 15:36:06,302 - INFO - Created VN ctest-vn-08961471 2025-04-28 15:36:06,352 - DEBUG - VN ctest-vn-08961471 UUID is 70297166-8326-4fa8-b05c-5800e3907e3b 2025-04-28 15:36:06,663 - DEBUG - Response for create_network : {'network': {'id': '326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435', 'name': 'ctest-vn-83114784', 'tenant_id': 'a9d1ee95cf834afaaf3c94b036fe180c', 'project_id': 'a9d1ee95cf834afaaf3c94b036fe180c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76904521', 'ctest-vn-83114784'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:36:06,854 - DEBUG - Response for create_subnet : {'subnet': {'id': '85dd0c07-0222-4dd6-901d-e5b37221b913', 'name': '', 'tenant_id': 'a9d1ee95cf834afaaf3c94b036fe180c', 'network_id': '326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435', 'ip_version': 4, 'cidr': '152.185.34.192/26', 'allocation_pools': [{'start': '152.185.34.194', 'end': '152.185.34.254'}], 'gateway_ip': '152.185.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.185.34.194', 'tags': [], 'project_id': 'a9d1ee95cf834afaaf3c94b036fe180c'}} 2025-04-28 15:36:06,873 - INFO - Created VN ctest-vn-83114784 2025-04-28 15:36:06,928 - DEBUG - VN ctest-vn-83114784 UUID is 326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435 2025-04-28 15:36:07,084 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-08961471, 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-76904521:ctest-vn-83114784, 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-28 15:36:07,372 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '70297166-8326-4fa8-b05c-5800e3907e3b', 'name': 'ctest-vn-08961471', 'tenant_id': 'a9d1ee95cf834afaaf3c94b036fe180c', 'project_id': 'a9d1ee95cf834afaaf3c94b036fe180c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34b2c860-6415-4465-99a2-32830a106891'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76904521', 'ctest-vn-08961471'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76904521', 'ctest-policy-allow-all-88211960']], 'subnet_ipam': [{'subnet_cidr': '128.152.44.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:36:07,611 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435', 'name': 'ctest-vn-83114784', 'tenant_id': 'a9d1ee95cf834afaaf3c94b036fe180c', 'project_id': 'a9d1ee95cf834afaaf3c94b036fe180c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['85dd0c07-0222-4dd6-901d-e5b37221b913'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76904521', 'ctest-vn-83114784'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76904521', 'ctest-policy-allow-all-88211960']], 'subnet_ipam': [{'subnet_cidr': '152.185.34.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:36:07,764 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-28 15:36:08,065 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-28 15:36:08,090 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f8a35b03-cecb-4bf3-84fa-69a6394b4e8a 2025-04-28 15:36:08,103 - DEBUG - Requesting: http://10.0.0.41:8082/project/a9d1ee95-cf83-4afa-af3c-94b036fe180c 2025-04-28 15:36:08,176 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/70297166-8326-4fa8-b05c-5800e3907e3b 2025-04-28 15:36:08,187 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/70297166-8326-4fa8-b05c-5800e3907e3b 2025-04-28 15:36:08,196 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/189de86e-a429-49ed-ae81-e4e6c6396a29 2025-04-28 15:36:08,203 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/189de86e-a429-49ed-ae81-e4e6c6396a29 2025-04-28 15:36:08,209 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/61923fb7-5f4c-4175-99f0-1a48a0931743 2025-04-28 15:36:08,215 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 15:36:08,215 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/70297166-8326-4fa8-b05c-5800e3907e3b 2025-04-28 15:36:08,223 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/189de86e-a429-49ed-ae81-e4e6c6396a29 2025-04-28 15:36:08,236 - INFO - Verified VN network id 7 for VN 70297166-8326-4fa8-b05c-5800e3907e3b 2025-04-28 15:36:08,236 - INFO - Verifications in API Server for VN ctest-vn-08961471 passed 2025-04-28 15:36:08,236 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/70297166-8326-4fa8-b05c-5800e3907e3b 2025-04-28 15:36:08,244 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/189de86e-a429-49ed-ae81-e4e6c6396a29 2025-04-28 15:36:08,250 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/189de86e-a429-49ed-ae81-e4e6c6396a29 2025-04-28 15:36:08,257 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/61923fb7-5f4c-4175-99f0-1a48a0931743 2025-04-28 15:36:08,269 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-08961471', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76904521', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8082115691393994664', 'uuid-lslong': '12708129009373838907'}, 'enable': 'true', 'created': '2025-04-28T15:36:06', 'last-modified': '2025-04-28T15:36:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.919836'} 2025-04-28 15:36:08,280 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 15:36:08,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08961471 passed 2025-04-28 15:36:08,280 - DEBUG - ====Verifying policy data for ctest-vn-08961471 in API_Server ====== 2025-04-28 15:36:08,280 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-28 15:36:08,286 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f8a35b03-cecb-4bf3-84fa-69a6394b4e8a 2025-04-28 15:36:08,296 - DEBUG - Requesting: http://10.0.0.41:8082/project/a9d1ee95-cf83-4afa-af3c-94b036fe180c 2025-04-28 15:36:08,367 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/70297166-8326-4fa8-b05c-5800e3907e3b 2025-04-28 15:36:08,377 - DEBUG - ==>Verifying data for policy with id: 7622821e-a42e-4d31-8c99-ad3304df7918, fqn: ['default-domain', 'ctest-TestBasicPolicy-76904521', 'ctest-policy-allow-all-88211960'] 2025-04-28 15:36:08,377 - INFO - VN ctest-vn-08961471 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 15:36:08,378 - DEBUG - Verifying the vn in opserver 2025-04-28 15:36:08,378 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-08961471 virtual network link through opserver 10.0.0.41 2025-04-28 15:36:08,378 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-28 15:36:08,664 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-28 15:36:08,714 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-08961471', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-08961471?flat'} 2025-04-28 15:36:08,714 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-08961471 is found in opserver 2025-04-28 15:36:08,724 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 15:36:08,729 - DEBUG - VRF ids for VN ctest-vn-08961471: {} 2025-04-28 15:36:08,729 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-28 15:36:08,735 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f8a35b03-cecb-4bf3-84fa-69a6394b4e8a 2025-04-28 15:36:08,746 - DEBUG - Requesting: http://10.0.0.41:8082/project/a9d1ee95-cf83-4afa-af3c-94b036fe180c 2025-04-28 15:36:08,816 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435 2025-04-28 15:36:08,835 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435 2025-04-28 15:36:08,846 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3374eaeb-388f-42f8-8c4a-8d114b9110c7 2025-04-28 15:36:08,853 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3374eaeb-388f-42f8-8c4a-8d114b9110c7 2025-04-28 15:36:08,860 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/6110288c-e412-4889-bbf7-715b0e9531f5 2025-04-28 15:36:08,867 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 15:36:08,867 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435 2025-04-28 15:36:08,876 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3374eaeb-388f-42f8-8c4a-8d114b9110c7 2025-04-28 15:36:08,889 - INFO - Verified VN network id 8 for VN 326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435 2025-04-28 15:36:08,889 - INFO - Verifications in API Server for VN ctest-vn-83114784 passed 2025-04-28 15:36:08,889 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435 2025-04-28 15:36:08,898 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3374eaeb-388f-42f8-8c4a-8d114b9110c7 2025-04-28 15:36:08,905 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3374eaeb-388f-42f8-8c4a-8d114b9110c7 2025-04-28 15:36:08,911 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/6110288c-e412-4889-bbf7-715b0e9531f5 2025-04-28 15:36:08,923 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-83114784', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76904521', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3633012417771294371', 'uuid-lslong': '12770472362384614453'}, 'enable': 'true', 'created': '2025-04-28T15:36:06', 'last-modified': '2025-04-28T15:36:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338530'} 2025-04-28 15:36:08,929 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 15:36:08,929 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83114784 passed 2025-04-28 15:36:08,929 - DEBUG - ====Verifying policy data for ctest-vn-83114784 in API_Server ====== 2025-04-28 15:36:08,929 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-28 15:36:08,934 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f8a35b03-cecb-4bf3-84fa-69a6394b4e8a 2025-04-28 15:36:08,945 - DEBUG - Requesting: http://10.0.0.41:8082/project/a9d1ee95-cf83-4afa-af3c-94b036fe180c 2025-04-28 15:36:09,017 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435 2025-04-28 15:36:09,027 - DEBUG - ==>Verifying data for policy with id: 7622821e-a42e-4d31-8c99-ad3304df7918, fqn: ['default-domain', 'ctest-TestBasicPolicy-76904521', 'ctest-policy-allow-all-88211960'] 2025-04-28 15:36:09,027 - INFO - VN ctest-vn-83114784 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 15:36:09,027 - DEBUG - Verifying the vn in opserver 2025-04-28 15:36:09,027 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-83114784 virtual network link through opserver 10.0.0.41 2025-04-28 15:36:09,027 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-28 15:36:09,036 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-83114784', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-83114784?flat'} 2025-04-28 15:36:09,036 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-83114784 is found in opserver 2025-04-28 15:36:09,047 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 15:36:09,051 - DEBUG - VRF ids for VN ctest-vn-83114784: {} 2025-04-28 15:36:09,102 - DEBUG - Services list from nova: [, , ] 2025-04-28 15:36:10,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3240-1) 2025-04-28 15:36:11,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3240-1) 2025-04-28 15:36:11,192 - INFO - Waiting for VM ctest-TestBasicPolicy-76904521-63736080 to be up.. 2025-04-28 15:36:11,257 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 15:36:16,327 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:36:16,327 - INFO - VM name : ctest-TestBasicPolicy-76904521-63736080 2025-04-28 15:36:16,396 - DEBUG - VM ctest-TestBasicPolicy-76904521-63736080 ID is 0c55247b-2245-40aa-b596-6a23eca3e074 2025-04-28 15:36:16,414 - DEBUG - VM ctest-TestBasicPolicy-76904521-63736080 launched on Node cn-jenkins-deploy-platform-ansible-os-3240-1 2025-04-28 15:36:16,484 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0c55247b-2245-40aa-b596-6a23eca3e074 2025-04-28 15:36:16,491 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3f52541e-3960-49c0-b6e9-26f2b1cc892f 2025-04-28 15:36:19,752 - 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 1012ms') 2025-04-28 15:36:19,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76904521-63736080 failed! 2025-04-28 15:36:19,808 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76904521:ctest-vn-08961471 is 128.152.44.65 and allocation pool is NOT set 2025-04-28 15:36:21,870 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/1.553/2.744/1.191 ms') 2025-04-28 15:36:21,871 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76904521-63736080 passed 2025-04-28 15:36:22,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:36:22,024 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76904521-63736080, IP 128.152.44.67, Port 22 2025-04-28 15:36:22,179 - DEBUG - VM ctest-TestBasicPolicy-76904521-63736080 is ready for SSH connections 2025-04-28 15:36:22,180 - INFO - Waiting for VM ctest-TestBasicPolicy-76904521-79910050 to be up.. 2025-04-28 15:36:22,257 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:36:22,257 - INFO - VM name : ctest-TestBasicPolicy-76904521-79910050 2025-04-28 15:36:22,329 - DEBUG - VM ctest-TestBasicPolicy-76904521-79910050 ID is f391ccdf-fd81-4e30-b8a2-2a065e0792f6 2025-04-28 15:36:22,329 - DEBUG - VM ctest-TestBasicPolicy-76904521-79910050 launched on Node cn-jenkins-deploy-platform-ansible-os-3240-1 2025-04-28 15:36:22,399 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f391ccdf-fd81-4e30-b8a2-2a065e0792f6 2025-04-28 15:36:22,408 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/21661c0c-0a94-4691-b24a-2c76d0e6a007 2025-04-28 15:36:23,642 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.734/3.088/1.354 ms') 2025-04-28 15:36:23,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76904521-79910050 passed 2025-04-28 15:36:23,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:36:23,796 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76904521-79910050, IP 152.185.34.195, Port 22 2025-04-28 15:36:23,951 - DEBUG - VM ctest-TestBasicPolicy-76904521-79910050 is ready for SSH connections 2025-04-28 15:36:23,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:36:23,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.185.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-28 15:36:23,952 - DEBUG - ping -s 56 -c 3 -W 1 152.185.34.195 2025-04-28 15:36:27,638 - DEBUG - PING 152.185.34.195 (152.185.34.195): 56 data bytes 64 bytes from 152.185.34.195: seq=0 ttl=63 time=3.511 ms 64 bytes from 152.185.34.195: seq=1 ttl=63 time=0.886 ms 64 bytes from 152.185.34.195: seq=2 ttl=63 time=2.179 ms --- 152.185.34.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/2.192/3.511 ms 2025-04-28 15:36:27,639 - INFO - Ping to IP 152.185.34.195 from VM ctest-TestBasicPolicy-76904521-63736080 passed 2025-04-28 15:36:27,836 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7622821e-a42e-4d31-8c99-ad3304df7918", "href": "http://10.0.0.41:8082/network-policy/7622821e-a42e-4d31-8c99-ad3304df7918"}} 2025-04-28 15:36:27,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:36:27,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.185.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-28 15:36:27,836 - DEBUG - ping -s 56 -c 3 -W 1 152.185.34.195 2025-04-28 15:36:31,030 - DEBUG - PING 152.185.34.195 (152.185.34.195): 56 data bytes --- 152.185.34.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-28 15:36:31,030 - WARNING - Ping to IP 152.185.34.195 from VM ctest-TestBasicPolicy-76904521-63736080 failed 2025-04-28 15:36:31,030 - INFO - Deleting VM ctest-TestBasicPolicy-76904521-79910050 2025-04-28 15:36:31,088 - INFO - Deleting VM ctest-TestBasicPolicy-76904521-63736080 2025-04-28 15:36:31,434 - INFO - Deleted policy ctest-policy-allow-all-88211960 2025-04-28 15:36:31,435 - INFO - Deleting VN ctest-vn-83114784 2025-04-28 15:36:31,467 - DEBUG - VN 326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435 still in use: Unable to complete operation on network 326b0d8b-a1d7-4ea3-b139-d4f3e5e0e435. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-58326db9-2bfe-4c00-b2e6-c3fb7db06983'] 2025-04-28 15:36:31,467 - WARNING - Deleting VN ctest-vn-83114784 failed..Will retry 2025-04-28 15:36:33,573 - DEBUG - Response for deleting network () 2025-04-28 15:36:33,573 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/3374eaeb-388f-42f8-8c4a-8d114b9110c7 2025-04-28 15:36:33,585 - DEBUG - Response Code: 404 2025-04-28 15:36:33,585 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-28 15:36:33,590 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f8a35b03-cecb-4bf3-84fa-69a6394b4e8a 2025-04-28 15:36:33,646 - DEBUG - Requesting: http://10.0.0.41:8082/project/a9d1ee95-cf83-4afa-af3c-94b036fe180c 2025-04-28 15:36:33,717 - INFO - Validated that VN ctest-vn-83114784 is not found in API Server 2025-04-28 15:36:33,727 - DEBUG - VN ctest-vn-83114784 is not present in Agent 10.0.0.41 2025-04-28 15:36:33,727 - INFO - Validated that VN ctest-vn-83114784 is not in any agent 2025-04-28 15:36:33,741 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83114784 info 2025-04-28 15:36:33,741 - INFO - Deleting VN ctest-vn-08961471 2025-04-28 15:36:33,845 - DEBUG - Response for deleting network () 2025-04-28 15:36:33,845 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/189de86e-a429-49ed-ae81-e4e6c6396a29 2025-04-28 15:36:33,850 - DEBUG - Response Code: 404 2025-04-28 15:36:33,851 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-28 15:36:33,856 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f8a35b03-cecb-4bf3-84fa-69a6394b4e8a 2025-04-28 15:36:33,909 - DEBUG - Requesting: http://10.0.0.41:8082/project/a9d1ee95-cf83-4afa-af3c-94b036fe180c 2025-04-28 15:36:33,979 - INFO - Validated that VN ctest-vn-08961471 is not found in API Server 2025-04-28 15:36:33,989 - DEBUG - VN ctest-vn-08961471 is not present in Agent 10.0.0.41 2025-04-28 15:36:33,989 - INFO - Validated that VN ctest-vn-08961471 is not in any agent 2025-04-28 15:36:34,003 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08961471 info 2025-04-28 15:36:34,269 - DEBUG - No XMPP flaps were noticed during the test 2025-04-28 15:36:34,269 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-28 15:36:34,269 - INFO - -------------------------------------------------------------------------------- 2025-04-28 15:36:34,928 - INFO - Deleted project: ctest-TestBasicPolicy-76904521, ID : a9d1ee95-cf83-4afa-af3c-94b036fe180c