2025-05-23 02:13:38,333 - INFO - Domain Default found not creating 2025-05-23 02:13:38,485 - INFO - Project ctest-TestBasicPolicy-66986794 not found, creating it 2025-05-23 02:13:38,931 - INFO - Created Project:ctest-TestBasicPolicy-66986794, ID : 3067b86a-96a3-4ab2-a98b-597dda386e65 2025-05-23 02:13:40,370 - INFO - ================================================================================ 2025-05-23 02:13:40,370 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-23 02:13:40,371 - 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-23 02:13:40,624 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-23 02:13:40,624 - INFO - Initial checks done. Running the testcase now 2025-05-23 02:13:40,625 - INFO - 2025-05-23 02:13:41,165 - DEBUG - Response for create_network : {'network': {'id': 'bc02c312-d7c0-4c6c-8afd-95ce3a92dfc2', 'name': 'ctest-vn-16609872', 'tenant_id': '3067b86a96a34ab2a98b597dda386e65', 'project_id': '3067b86a96a34ab2a98b597dda386e65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66986794', 'ctest-vn-16609872'], 'port_security_enabled': True, 'description': ''}} 2025-05-23 02:13:41,321 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a31b377-f86d-4f3f-aabd-fd771a75f783', 'name': '', 'tenant_id': '3067b86a96a34ab2a98b597dda386e65', 'network_id': 'bc02c312-d7c0-4c6c-8afd-95ce3a92dfc2', 'ip_version': 4, 'cidr': '200.148.170.64/26', 'allocation_pools': [{'start': '200.148.170.66', 'end': '200.148.170.126'}], 'gateway_ip': '200.148.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.148.170.66', 'tags': [], 'project_id': '3067b86a96a34ab2a98b597dda386e65'}} 2025-05-23 02:13:41,340 - INFO - Created VN ctest-vn-16609872 2025-05-23 02:13:41,394 - DEBUG - VN ctest-vn-16609872 UUID is bc02c312-d7c0-4c6c-8afd-95ce3a92dfc2 2025-05-23 02:13:41,675 - DEBUG - Response for create_network : {'network': {'id': '535bc4bc-d5eb-4d9b-bae9-06548f3f29c2', 'name': 'ctest-vn-07120021', 'tenant_id': '3067b86a96a34ab2a98b597dda386e65', 'project_id': '3067b86a96a34ab2a98b597dda386e65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66986794', 'ctest-vn-07120021'], 'port_security_enabled': True, 'description': ''}} 2025-05-23 02:13:41,846 - DEBUG - Response for create_subnet : {'subnet': {'id': '25b53c90-ce8c-4e71-8968-8b61e2078d3b', 'name': '', 'tenant_id': '3067b86a96a34ab2a98b597dda386e65', 'network_id': '535bc4bc-d5eb-4d9b-bae9-06548f3f29c2', 'ip_version': 4, 'cidr': '187.66.172.192/26', 'allocation_pools': [{'start': '187.66.172.194', 'end': '187.66.172.254'}], 'gateway_ip': '187.66.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.66.172.194', 'tags': [], 'project_id': '3067b86a96a34ab2a98b597dda386e65'}} 2025-05-23 02:13:41,865 - INFO - Created VN ctest-vn-07120021 2025-05-23 02:13:41,918 - DEBUG - VN ctest-vn-07120021 UUID is 535bc4bc-d5eb-4d9b-bae9-06548f3f29c2 2025-05-23 02:13:42,030 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-16609872, 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-66986794:ctest-vn-07120021, 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-23 02:13:42,324 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc02c312-d7c0-4c6c-8afd-95ce3a92dfc2', 'name': 'ctest-vn-16609872', 'tenant_id': '3067b86a96a34ab2a98b597dda386e65', 'project_id': '3067b86a96a34ab2a98b597dda386e65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5a31b377-f86d-4f3f-aabd-fd771a75f783'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66986794', 'ctest-vn-16609872'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66986794', 'ctest-policy-allow-all-10991007']], 'subnet_ipam': [{'subnet_cidr': '200.148.170.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-23 02:13:42,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '535bc4bc-d5eb-4d9b-bae9-06548f3f29c2', 'name': 'ctest-vn-07120021', 'tenant_id': '3067b86a96a34ab2a98b597dda386e65', 'project_id': '3067b86a96a34ab2a98b597dda386e65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['25b53c90-ce8c-4e71-8968-8b61e2078d3b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66986794', 'ctest-vn-07120021'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66986794', 'ctest-policy-allow-all-10991007']], 'subnet_ipam': [{'subnet_cidr': '187.66.172.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-23 02:13:42,731 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-23 02:13:43,032 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-23 02:13:43,067 - DEBUG - Requesting: http://10.0.0.50:8082/domain/427cf32e-1753-416d-af96-9faeb96a85a8 2025-05-23 02:13:43,083 - DEBUG - Requesting: http://10.0.0.50:8082/project/3067b86a-96a3-4ab2-a98b-597dda386e65 2025-05-23 02:13:43,168 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc02c312-d7c0-4c6c-8afd-95ce3a92dfc2 2025-05-23 02:13:43,180 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc02c312-d7c0-4c6c-8afd-95ce3a92dfc2 2025-05-23 02:13:43,191 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/885e1670-0cc1-4b9e-9361-f0cbbb79754c 2025-05-23 02:13:43,200 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/885e1670-0cc1-4b9e-9361-f0cbbb79754c 2025-05-23 02:13:43,209 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/72f145bd-379e-40ae-9773-dc0c843a3756 2025-05-23 02:13:43,218 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-23 02:13:43,218 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc02c312-d7c0-4c6c-8afd-95ce3a92dfc2 2025-05-23 02:13:43,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/885e1670-0cc1-4b9e-9361-f0cbbb79754c 2025-05-23 02:13:43,250 - INFO - Verified VN network id 8 for VN bc02c312-d7c0-4c6c-8afd-95ce3a92dfc2 2025-05-23 02:13:43,250 - INFO - Verifications in API Server for VN ctest-vn-16609872 passed 2025-05-23 02:13:43,251 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc02c312-d7c0-4c6c-8afd-95ce3a92dfc2 2025-05-23 02:13:43,264 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/885e1670-0cc1-4b9e-9361-f0cbbb79754c 2025-05-23 02:13:43,272 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/885e1670-0cc1-4b9e-9361-f0cbbb79754c 2025-05-23 02:13:43,280 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/72f145bd-379e-40ae-9773-dc0c843a3756 2025-05-23 02:13:43,294 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-16609872', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66986794', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13547605114780404844', 'uuid-lslong': '10015325859320356802'}, 'enable': 'true', 'created': '2025-05-23T02:13:41', 'last-modified': '2025-05-23T02:13:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990004'} 2025-05-23 02:13:43,300 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-23 02:13:43,301 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16609872 passed 2025-05-23 02:13:43,301 - DEBUG - ====Verifying policy data for ctest-vn-16609872 in API_Server ====== 2025-05-23 02:13:43,301 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-23 02:13:43,307 - DEBUG - Requesting: http://10.0.0.50:8082/domain/427cf32e-1753-416d-af96-9faeb96a85a8 2025-05-23 02:13:43,319 - DEBUG - Requesting: http://10.0.0.50:8082/project/3067b86a-96a3-4ab2-a98b-597dda386e65 2025-05-23 02:13:43,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bc02c312-d7c0-4c6c-8afd-95ce3a92dfc2 2025-05-23 02:13:43,409 - DEBUG - ==>Verifying data for policy with id: b486651b-64f1-4214-953d-81c32c136f5d, fqn: ['default-domain', 'ctest-TestBasicPolicy-66986794', 'ctest-policy-allow-all-10991007'] 2025-05-23 02:13:43,409 - INFO - VN ctest-vn-16609872 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-23 02:13:43,409 - DEBUG - Verifying the vn in opserver 2025-05-23 02:13:43,409 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-16609872 virtual network link through opserver 10.0.0.50 2025-05-23 02:13:43,409 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-23 02:13:43,702 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-23 02:13:43,760 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-16609872', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-16609872?flat'} 2025-05-23 02:13:43,760 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-16609872 is found in opserver 2025-05-23 02:13:43,771 - DEBUG - Do not have enough data to verify VN in agent 2025-05-23 02:13:43,777 - DEBUG - VRF ids for VN ctest-vn-16609872: {} 2025-05-23 02:13:43,777 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-23 02:13:43,783 - DEBUG - Requesting: http://10.0.0.50:8082/domain/427cf32e-1753-416d-af96-9faeb96a85a8 2025-05-23 02:13:43,795 - DEBUG - Requesting: http://10.0.0.50:8082/project/3067b86a-96a3-4ab2-a98b-597dda386e65 2025-05-23 02:13:43,870 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/535bc4bc-d5eb-4d9b-bae9-06548f3f29c2 2025-05-23 02:13:43,882 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/535bc4bc-d5eb-4d9b-bae9-06548f3f29c2 2025-05-23 02:13:43,892 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba3082c7-383a-4071-8928-d3b59a49345b 2025-05-23 02:13:43,900 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba3082c7-383a-4071-8928-d3b59a49345b 2025-05-23 02:13:43,907 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9aa899fa-6300-495d-9425-7d8741dd4d75 2025-05-23 02:13:43,914 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-23 02:13:43,914 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/535bc4bc-d5eb-4d9b-bae9-06548f3f29c2 2025-05-23 02:13:43,923 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba3082c7-383a-4071-8928-d3b59a49345b 2025-05-23 02:13:43,937 - INFO - Verified VN network id 9 for VN 535bc4bc-d5eb-4d9b-bae9-06548f3f29c2 2025-05-23 02:13:43,937 - INFO - Verifications in API Server for VN ctest-vn-07120021 passed 2025-05-23 02:13:43,937 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/535bc4bc-d5eb-4d9b-bae9-06548f3f29c2 2025-05-23 02:13:43,947 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba3082c7-383a-4071-8928-d3b59a49345b 2025-05-23 02:13:43,955 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba3082c7-383a-4071-8928-d3b59a49345b 2025-05-23 02:13:43,962 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9aa899fa-6300-495d-9425-7d8741dd4d75 2025-05-23 02:13:43,975 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-07120021', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66986794', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6006610843350551963', 'uuid-lslong': '13468303120878479810'}, 'enable': 'true', 'created': '2025-05-23T02:13:41', 'last-modified': '2025-05-23T02:13:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.437152'} 2025-05-23 02:13:43,982 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-23 02:13:43,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07120021 passed 2025-05-23 02:13:43,982 - DEBUG - ====Verifying policy data for ctest-vn-07120021 in API_Server ====== 2025-05-23 02:13:43,982 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-23 02:13:43,989 - DEBUG - Requesting: http://10.0.0.50:8082/domain/427cf32e-1753-416d-af96-9faeb96a85a8 2025-05-23 02:13:44,005 - DEBUG - Requesting: http://10.0.0.50:8082/project/3067b86a-96a3-4ab2-a98b-597dda386e65 2025-05-23 02:13:44,099 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/535bc4bc-d5eb-4d9b-bae9-06548f3f29c2 2025-05-23 02:13:44,109 - DEBUG - ==>Verifying data for policy with id: b486651b-64f1-4214-953d-81c32c136f5d, fqn: ['default-domain', 'ctest-TestBasicPolicy-66986794', 'ctest-policy-allow-all-10991007'] 2025-05-23 02:13:44,110 - INFO - VN ctest-vn-07120021 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-23 02:13:44,110 - DEBUG - Verifying the vn in opserver 2025-05-23 02:13:44,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-07120021 virtual network link through opserver 10.0.0.50 2025-05-23 02:13:44,110 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-23 02:13:44,121 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-07120021', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-07120021?flat'} 2025-05-23 02:13:44,121 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-07120021 is found in opserver 2025-05-23 02:13:44,131 - DEBUG - Do not have enough data to verify VN in agent 2025-05-23 02:13:44,137 - DEBUG - VRF ids for VN ctest-vn-07120021: {} 2025-05-23 02:13:44,205 - DEBUG - Services list from nova: [, , ] 2025-05-23 02:13:45,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3334-1) 2025-05-23 02:13:46,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3334-1) 2025-05-23 02:13:46,508 - INFO - Waiting for VM ctest-TestBasicPolicy-66986794-54352046 to be up.. 2025-05-23 02:13:46,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-23 02:13:51,676 - DEBUG - VM is in ACTIVE state now 2025-05-23 02:13:51,677 - INFO - VM name : ctest-TestBasicPolicy-66986794-54352046 2025-05-23 02:13:51,754 - DEBUG - VM ctest-TestBasicPolicy-66986794-54352046 ID is 9071c053-38ff-42cc-bd13-59fd00c1f2b8 2025-05-23 02:13:51,772 - DEBUG - VM ctest-TestBasicPolicy-66986794-54352046 launched on Node cn-jenkins-deploy-platform-ansible-os-3334-1 2025-05-23 02:13:51,852 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9071c053-38ff-42cc-bd13-59fd00c1f2b8 2025-05-23 02:13:51,861 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/741560ca-8253-47bd-b80c-2ece0363b6ac 2025-05-23 02:13:55,122 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-05-23 02:13:55,122 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66986794-54352046 failed! 2025-05-23 02:13:55,178 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66986794:ctest-vn-16609872 is 200.148.170.65 and allocation pool is NOT set 2025-05-23 02:13:57,237 - 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=9.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.803 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.803/4.913/9.024/4.110 ms') 2025-05-23 02:13:57,237 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66986794-54352046 passed 2025-05-23 02:13:57,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-23 02:13:57,387 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66986794-54352046, IP 200.148.170.67, Port 22 2025-05-23 02:13:57,543 - DEBUG - VM ctest-TestBasicPolicy-66986794-54352046 is ready for SSH connections 2025-05-23 02:13:57,543 - INFO - Waiting for VM ctest-TestBasicPolicy-66986794-00246131 to be up.. 2025-05-23 02:13:57,625 - DEBUG - VM is in ACTIVE state now 2025-05-23 02:13:57,626 - INFO - VM name : ctest-TestBasicPolicy-66986794-00246131 2025-05-23 02:13:57,709 - DEBUG - VM ctest-TestBasicPolicy-66986794-00246131 ID is 41f58922-3080-4326-a1ca-091dffbdeabc 2025-05-23 02:13:57,709 - DEBUG - VM ctest-TestBasicPolicy-66986794-00246131 launched on Node cn-jenkins-deploy-platform-ansible-os-3334-1 2025-05-23 02:13:57,785 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/41f58922-3080-4326-a1ca-091dffbdeabc 2025-05-23 02:13:57,794 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2d4c6fdd-0328-4721-b28e-231ae6db3517 2025-05-23 02:13:59,039 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 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.476/1.665/2.855/1.189 ms') 2025-05-23 02:13:59,039 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66986794-00246131 passed 2025-05-23 02:13:59,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-23 02:13:59,191 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66986794-00246131, IP 187.66.172.195, Port 22 2025-05-23 02:13:59,342 - DEBUG - VM ctest-TestBasicPolicy-66986794-00246131 is ready for SSH connections 2025-05-23 02:13:59,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-23 02:13:59,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.66.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-23 02:13:59,342 - DEBUG - ping -s 56 -c 3 -W 1 187.66.172.195 2025-05-23 02:14:03,044 - DEBUG - PING 187.66.172.195 (187.66.172.195): 56 data bytes 64 bytes from 187.66.172.195: seq=0 ttl=63 time=3.997 ms 64 bytes from 187.66.172.195: seq=1 ttl=63 time=0.840 ms 64 bytes from 187.66.172.195: seq=2 ttl=63 time=0.898 ms --- 187.66.172.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/1.911/3.997 ms 2025-05-23 02:14:03,044 - INFO - Ping to IP 187.66.172.195 from VM ctest-TestBasicPolicy-66986794-54352046 passed 2025-05-23 02:14:03,234 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b486651b-64f1-4214-953d-81c32c136f5d", "href": "http://10.0.0.50:8082/network-policy/b486651b-64f1-4214-953d-81c32c136f5d"}} 2025-05-23 02:14:03,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-23 02:14:03,235 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.66.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-23 02:14:03,235 - DEBUG - ping -s 56 -c 3 -W 1 187.66.172.195 2025-05-23 02:14:06,447 - DEBUG - PING 187.66.172.195 (187.66.172.195): 56 data bytes --- 187.66.172.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-23 02:14:06,447 - WARNING - Ping to IP 187.66.172.195 from VM ctest-TestBasicPolicy-66986794-54352046 failed 2025-05-23 02:14:06,447 - INFO - Deleting VM ctest-TestBasicPolicy-66986794-00246131 2025-05-23 02:14:06,510 - INFO - Deleting VM ctest-TestBasicPolicy-66986794-54352046 2025-05-23 02:14:06,873 - INFO - Deleted policy ctest-policy-allow-all-10991007 2025-05-23 02:14:06,873 - INFO - Deleting VN ctest-vn-07120021 2025-05-23 02:14:06,908 - DEBUG - VN 535bc4bc-d5eb-4d9b-bae9-06548f3f29c2 still in use: Unable to complete operation on network 535bc4bc-d5eb-4d9b-bae9-06548f3f29c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d39fa8f7-be24-4fef-9929-7df912079ad7'] 2025-05-23 02:14:06,908 - WARNING - Deleting VN ctest-vn-07120021 failed..Will retry 2025-05-23 02:14:09,028 - DEBUG - Response for deleting network () 2025-05-23 02:14:09,028 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ba3082c7-383a-4071-8928-d3b59a49345b 2025-05-23 02:14:09,036 - DEBUG - Response Code: 404 2025-05-23 02:14:09,036 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-23 02:14:09,043 - DEBUG - Requesting: http://10.0.0.50:8082/domain/427cf32e-1753-416d-af96-9faeb96a85a8 2025-05-23 02:14:09,102 - DEBUG - Requesting: http://10.0.0.50:8082/project/3067b86a-96a3-4ab2-a98b-597dda386e65 2025-05-23 02:14:09,178 - INFO - Validated that VN ctest-vn-07120021 is not found in API Server 2025-05-23 02:14:09,189 - DEBUG - VN ctest-vn-07120021 is not present in Agent 10.0.0.50 2025-05-23 02:14:09,189 - INFO - Validated that VN ctest-vn-07120021 is not in any agent 2025-05-23 02:14:09,207 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07120021 info 2025-05-23 02:14:09,207 - INFO - Deleting VN ctest-vn-16609872 2025-05-23 02:14:09,327 - DEBUG - Response for deleting network () 2025-05-23 02:14:09,327 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/885e1670-0cc1-4b9e-9361-f0cbbb79754c 2025-05-23 02:14:09,334 - DEBUG - Response Code: 404 2025-05-23 02:14:09,334 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-23 02:14:09,341 - DEBUG - Requesting: http://10.0.0.50:8082/domain/427cf32e-1753-416d-af96-9faeb96a85a8 2025-05-23 02:14:09,396 - DEBUG - Requesting: http://10.0.0.50:8082/project/3067b86a-96a3-4ab2-a98b-597dda386e65 2025-05-23 02:14:09,471 - INFO - Validated that VN ctest-vn-16609872 is not found in API Server 2025-05-23 02:14:09,482 - DEBUG - VN ctest-vn-16609872 is not present in Agent 10.0.0.50 2025-05-23 02:14:09,482 - INFO - Validated that VN ctest-vn-16609872 is not in any agent 2025-05-23 02:14:09,498 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16609872 info 2025-05-23 02:14:09,752 - DEBUG - No XMPP flaps were noticed during the test 2025-05-23 02:14:09,752 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-23 02:14:09,752 - INFO - -------------------------------------------------------------------------------- 2025-05-23 02:14:10,440 - INFO - Deleted project: ctest-TestBasicPolicy-66986794, ID : 3067b86a-96a3-4ab2-a98b-597dda386e65