2025-08-19 12:58:00,875 - INFO - Domain Default found not creating 2025-08-19 12:58:01,021 - INFO - Project ctest-TestBasicPolicy-09374608 not found, creating it 2025-08-19 12:58:01,448 - INFO - Created Project:ctest-TestBasicPolicy-09374608, ID : 53f6927d-255e-45f2-aea1-7b2867a6e226 2025-08-19 12:58:02,727 - INFO - ================================================================================ 2025-08-19 12:58:02,727 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-19 12:58:02,727 - 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-19 12:58:02,981 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.0.0.57': '0'}} with 2025-08-19 12:58:02,981 - INFO - Initial checks done. Running the testcase now 2025-08-19 12:58:02,981 - INFO - 2025-08-19 12:58:03,502 - DEBUG - Response for create_network : {'network': {'id': '12d64f56-3296-4825-ad4b-2a2892b7ea4c', 'name': 'ctest-vn-63833284', 'tenant_id': '53f6927d255e45f2aea17b2867a6e226', 'project_id': '53f6927d255e45f2aea17b2867a6e226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09374608', 'ctest-vn-63833284'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 12:58:03,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b4e8742-a737-4077-a197-629cd5906415', 'name': '', 'tenant_id': '53f6927d255e45f2aea17b2867a6e226', 'network_id': '12d64f56-3296-4825-ad4b-2a2892b7ea4c', 'ip_version': 4, 'cidr': '202.6.21.128/26', 'allocation_pools': [{'start': '202.6.21.130', 'end': '202.6.21.190'}], 'gateway_ip': '202.6.21.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.6.21.130', 'tags': [], 'project_id': '53f6927d255e45f2aea17b2867a6e226'}} 2025-08-19 12:58:03,647 - INFO - Created VN ctest-vn-63833284 2025-08-19 12:58:03,700 - DEBUG - VN ctest-vn-63833284 UUID is 12d64f56-3296-4825-ad4b-2a2892b7ea4c 2025-08-19 12:58:03,997 - DEBUG - Response for create_network : {'network': {'id': 'b881c2d3-ee1f-43c7-8a32-f6baf4960111', 'name': 'ctest-vn-48727776', 'tenant_id': '53f6927d255e45f2aea17b2867a6e226', 'project_id': '53f6927d255e45f2aea17b2867a6e226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09374608', 'ctest-vn-48727776'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 12:58:04,159 - DEBUG - Response for create_subnet : {'subnet': {'id': '06360a6a-3197-46ce-8293-890aa620a971', 'name': '', 'tenant_id': '53f6927d255e45f2aea17b2867a6e226', 'network_id': 'b881c2d3-ee1f-43c7-8a32-f6baf4960111', 'ip_version': 4, 'cidr': '157.13.190.128/26', 'allocation_pools': [{'start': '157.13.190.130', 'end': '157.13.190.190'}], 'gateway_ip': '157.13.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.13.190.130', 'tags': [], 'project_id': '53f6927d255e45f2aea17b2867a6e226'}} 2025-08-19 12:58:04,174 - INFO - Created VN ctest-vn-48727776 2025-08-19 12:58:04,224 - DEBUG - VN ctest-vn-48727776 UUID is b881c2d3-ee1f-43c7-8a32-f6baf4960111 2025-08-19 12:58:04,368 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-63833284, 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-09374608:ctest-vn-48727776, 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-19 12:58:04,680 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '12d64f56-3296-4825-ad4b-2a2892b7ea4c', 'name': 'ctest-vn-63833284', 'tenant_id': '53f6927d255e45f2aea17b2867a6e226', 'project_id': '53f6927d255e45f2aea17b2867a6e226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b4e8742-a737-4077-a197-629cd5906415'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09374608', 'ctest-vn-63833284'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09374608', 'ctest-policy-allow-all-27459749']], 'subnet_ipam': [{'subnet_cidr': '202.6.21.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-19 12:58:04,945 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b881c2d3-ee1f-43c7-8a32-f6baf4960111', 'name': 'ctest-vn-48727776', 'tenant_id': '53f6927d255e45f2aea17b2867a6e226', 'project_id': '53f6927d255e45f2aea17b2867a6e226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06360a6a-3197-46ce-8293-890aa620a971'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09374608', 'ctest-vn-48727776'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09374608', 'ctest-policy-allow-all-27459749']], 'subnet_ipam': [{'subnet_cidr': '157.13.190.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-19 12:58:05,088 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-19 12:58:05,379 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-19 12:58:05,402 - DEBUG - Requesting: http://10.0.0.57:8082/domain/37c5b4fd-3460-4eca-8bb5-f29a49538ddc 2025-08-19 12:58:05,413 - DEBUG - Requesting: http://10.0.0.57:8082/project/53f6927d-255e-45f2-aea1-7b2867a6e226 2025-08-19 12:58:05,480 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/12d64f56-3296-4825-ad4b-2a2892b7ea4c 2025-08-19 12:58:05,488 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/12d64f56-3296-4825-ad4b-2a2892b7ea4c 2025-08-19 12:58:05,495 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7e6fdb85-0452-4e2a-afb8-816fe3c64820 2025-08-19 12:58:05,501 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7e6fdb85-0452-4e2a-afb8-816fe3c64820 2025-08-19 12:58:05,505 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/45fdee37-306f-4a9a-a730-c13c73069739 2025-08-19 12:58:05,510 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-19 12:58:05,510 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/12d64f56-3296-4825-ad4b-2a2892b7ea4c 2025-08-19 12:58:05,517 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7e6fdb85-0452-4e2a-afb8-816fe3c64820 2025-08-19 12:58:05,527 - INFO - Verified VN network id 12 for VN 12d64f56-3296-4825-ad4b-2a2892b7ea4c 2025-08-19 12:58:05,528 - INFO - Verifications in API Server for VN ctest-vn-63833284 passed 2025-08-19 12:58:05,528 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/12d64f56-3296-4825-ad4b-2a2892b7ea4c 2025-08-19 12:58:05,535 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7e6fdb85-0452-4e2a-afb8-816fe3c64820 2025-08-19 12:58:05,540 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7e6fdb85-0452-4e2a-afb8-816fe3c64820 2025-08-19 12:58:05,545 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/45fdee37-306f-4a9a-a730-c13c73069739 2025-08-19 12:58:05,555 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-63833284', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09374608', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1357359569333274661', 'uuid-lslong': '12487120745563417164'}, 'enable': 'true', 'created': '2025-08-19T12:58:03', 'last-modified': '2025-08-19T12:58:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904743'} 2025-08-19 12:58:05,561 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-19 12:58:05,561 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63833284 passed 2025-08-19 12:58:05,561 - DEBUG - ====Verifying policy data for ctest-vn-63833284 in API_Server ====== 2025-08-19 12:58:05,561 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-19 12:58:05,565 - DEBUG - Requesting: http://10.0.0.57:8082/domain/37c5b4fd-3460-4eca-8bb5-f29a49538ddc 2025-08-19 12:58:05,574 - DEBUG - Requesting: http://10.0.0.57:8082/project/53f6927d-255e-45f2-aea1-7b2867a6e226 2025-08-19 12:58:05,638 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/12d64f56-3296-4825-ad4b-2a2892b7ea4c 2025-08-19 12:58:05,646 - DEBUG - ==>Verifying data for policy with id: d69c10b8-ea86-44a8-b47c-a618ce7c395e, fqn: ['default-domain', 'ctest-TestBasicPolicy-09374608', 'ctest-policy-allow-all-27459749'] 2025-08-19 12:58:05,646 - INFO - VN ctest-vn-63833284 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-19 12:58:05,646 - DEBUG - Verifying the vn in opserver 2025-08-19 12:58:05,646 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-63833284 virtual network link through opserver 10.0.0.57 2025-08-19 12:58:05,646 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-19 12:58:05,933 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-19 12:58:05,981 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-63833284', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-63833284?flat'} 2025-08-19 12:58:05,981 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-63833284 is found in opserver 2025-08-19 12:58:05,989 - DEBUG - Do not have enough data to verify VN in agent 2025-08-19 12:58:05,993 - DEBUG - VRF ids for VN ctest-vn-63833284: {} 2025-08-19 12:58:05,993 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-19 12:58:05,998 - DEBUG - Requesting: http://10.0.0.57:8082/domain/37c5b4fd-3460-4eca-8bb5-f29a49538ddc 2025-08-19 12:58:06,007 - DEBUG - Requesting: http://10.0.0.57:8082/project/53f6927d-255e-45f2-aea1-7b2867a6e226 2025-08-19 12:58:06,077 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b881c2d3-ee1f-43c7-8a32-f6baf4960111 2025-08-19 12:58:06,087 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b881c2d3-ee1f-43c7-8a32-f6baf4960111 2025-08-19 12:58:06,094 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5b21ab43-dcbd-474c-a60b-62c801cfb57a 2025-08-19 12:58:06,099 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5b21ab43-dcbd-474c-a60b-62c801cfb57a 2025-08-19 12:58:06,103 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/4ad4fcfb-0a2d-45af-9d41-8b79f1e3d7ae 2025-08-19 12:58:06,108 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-19 12:58:06,108 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b881c2d3-ee1f-43c7-8a32-f6baf4960111 2025-08-19 12:58:06,115 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5b21ab43-dcbd-474c-a60b-62c801cfb57a 2025-08-19 12:58:06,126 - INFO - Verified VN network id 13 for VN b881c2d3-ee1f-43c7-8a32-f6baf4960111 2025-08-19 12:58:06,126 - INFO - Verifications in API Server for VN ctest-vn-48727776 passed 2025-08-19 12:58:06,126 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b881c2d3-ee1f-43c7-8a32-f6baf4960111 2025-08-19 12:58:06,134 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5b21ab43-dcbd-474c-a60b-62c801cfb57a 2025-08-19 12:58:06,139 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5b21ab43-dcbd-474c-a60b-62c801cfb57a 2025-08-19 12:58:06,144 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/4ad4fcfb-0a2d-45af-9d41-8b79f1e3d7ae 2025-08-19 12:58:06,153 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-48727776', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09374608', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13295121790463329223', 'uuid-lslong': '9958293008897409297'}, 'enable': 'true', 'created': '2025-08-19T12:58:03', 'last-modified': '2025-08-19T12:58:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.274402'} 2025-08-19 12:58:06,157 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-19 12:58:06,158 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48727776 passed 2025-08-19 12:58:06,158 - DEBUG - ====Verifying policy data for ctest-vn-48727776 in API_Server ====== 2025-08-19 12:58:06,158 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-19 12:58:06,161 - DEBUG - Requesting: http://10.0.0.57:8082/domain/37c5b4fd-3460-4eca-8bb5-f29a49538ddc 2025-08-19 12:58:06,170 - DEBUG - Requesting: http://10.0.0.57:8082/project/53f6927d-255e-45f2-aea1-7b2867a6e226 2025-08-19 12:58:06,237 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b881c2d3-ee1f-43c7-8a32-f6baf4960111 2025-08-19 12:58:06,244 - DEBUG - ==>Verifying data for policy with id: d69c10b8-ea86-44a8-b47c-a618ce7c395e, fqn: ['default-domain', 'ctest-TestBasicPolicy-09374608', 'ctest-policy-allow-all-27459749'] 2025-08-19 12:58:06,244 - INFO - VN ctest-vn-48727776 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-19 12:58:06,244 - DEBUG - Verifying the vn in opserver 2025-08-19 12:58:06,244 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-48727776 virtual network link through opserver 10.0.0.57 2025-08-19 12:58:06,244 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-08-19 12:58:06,253 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-48727776', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-48727776?flat'} 2025-08-19 12:58:06,253 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-48727776 is found in opserver 2025-08-19 12:58:06,261 - DEBUG - Do not have enough data to verify VN in agent 2025-08-19 12:58:06,265 - DEBUG - VRF ids for VN ctest-vn-48727776: {} 2025-08-19 12:58:06,311 - DEBUG - Services list from nova: [, , ] 2025-08-19 12:58:07,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3883-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3883-1) 2025-08-19 12:58:08,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3883-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3883-1) 2025-08-19 12:58:08,273 - INFO - Waiting for VM ctest-TestBasicPolicy-09374608-38271305 to be up.. 2025-08-19 12:58:08,337 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 12:58:13,400 - DEBUG - VM is in ACTIVE state now 2025-08-19 12:58:13,401 - INFO - VM name : ctest-TestBasicPolicy-09374608-38271305 2025-08-19 12:58:13,472 - DEBUG - VM ctest-TestBasicPolicy-09374608-38271305 ID is 48a4c3ef-b12d-4b41-bed1-1201a41a95f2 2025-08-19 12:58:13,488 - DEBUG - VM ctest-TestBasicPolicy-09374608-38271305 launched on Node cn-jenkins-deploy-platform-ansible-os-3883-1. 2025-08-19 12:58:13,550 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/48a4c3ef-b12d-4b41-bed1-1201a41a95f2 2025-08-19 12:58:13,557 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/7557643f-483e-4b60-a46e-f5151fbe655f 2025-08-19 12:58:16,810 - 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 1028ms') 2025-08-19 12:58:16,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09374608-38271305 failed! 2025-08-19 12:58:16,864 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09374608:ctest-vn-63833284 is 202.6.21.129 and allocation pool is NOT set 2025-08-19 12:58:18,921 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/1.697/2.993/1.296 ms') 2025-08-19 12:58:18,921 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09374608-38271305 passed 2025-08-19 12:58:19,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:58:19,072 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09374608-38271305, IP 202.6.21.131, Port 22 2025-08-19 12:58:19,223 - DEBUG - VM ctest-TestBasicPolicy-09374608-38271305 is ready for SSH connections 2025-08-19 12:58:19,223 - INFO - Waiting for VM ctest-TestBasicPolicy-09374608-69848527 to be up.. 2025-08-19 12:58:19,288 - DEBUG - VM is in ACTIVE state now 2025-08-19 12:58:19,288 - INFO - VM name : ctest-TestBasicPolicy-09374608-69848527 2025-08-19 12:58:19,348 - DEBUG - VM ctest-TestBasicPolicy-09374608-69848527 ID is bd6c3f73-b8f4-4452-ba13-31e275b5f142 2025-08-19 12:58:19,348 - DEBUG - VM ctest-TestBasicPolicy-09374608-69848527 launched on Node cn-jenkins-deploy-platform-ansible-os-3883-1. 2025-08-19 12:58:19,407 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/bd6c3f73-b8f4-4452-ba13-31e275b5f142 2025-08-19 12:58:19,414 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/73d40ea6-f044-4c54-ad66-feeaae3ebf4b 2025-08-19 12:58:20,646 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.347 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.347/1.471/2.595/1.124 ms') 2025-08-19 12:58:20,646 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09374608-69848527 passed 2025-08-19 12:58:20,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:58:20,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09374608-69848527, IP 157.13.190.131, Port 22 2025-08-19 12:58:20,947 - DEBUG - VM ctest-TestBasicPolicy-09374608-69848527 is ready for SSH connections 2025-08-19 12:58:20,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:58:20,947 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.13.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-19 12:58:20,947 - DEBUG - ping -s 56 -c 3 -W 1 157.13.190.131 2025-08-19 12:58:24,625 - DEBUG - PING 157.13.190.131 (157.13.190.131): 56 data bytes 64 bytes from 157.13.190.131: seq=0 ttl=63 time=3.126 ms 64 bytes from 157.13.190.131: seq=1 ttl=63 time=0.837 ms 64 bytes from 157.13.190.131: seq=2 ttl=63 time=0.725 ms --- 157.13.190.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/1.562/3.126 ms 2025-08-19 12:58:24,626 - INFO - Ping to IP 157.13.190.131 from VM ctest-TestBasicPolicy-09374608-38271305 passed 2025-08-19 12:58:24,800 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d69c10b8-ea86-44a8-b47c-a618ce7c395e", "href": "http://10.0.0.57:8082/network-policy/d69c10b8-ea86-44a8-b47c-a618ce7c395e"}} 2025-08-19 12:58:24,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:58:24,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.13.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-19 12:58:24,800 - DEBUG - ping -s 56 -c 3 -W 1 157.13.190.131 2025-08-19 12:58:27,986 - DEBUG - PING 157.13.190.131 (157.13.190.131): 56 data bytes 64 bytes from 157.13.190.131: seq=0 ttl=63 time=1.296 ms --- 157.13.190.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.296/1.296/1.296 ms 2025-08-19 12:58:27,986 - WARNING - Ping to IP 157.13.190.131 from VM ctest-TestBasicPolicy-09374608-38271305 failed 2025-08-19 12:58:27,986 - INFO - Deleting VM ctest-TestBasicPolicy-09374608-69848527 2025-08-19 12:58:28,062 - INFO - Deleting VM ctest-TestBasicPolicy-09374608-38271305 2025-08-19 12:58:28,398 - INFO - Deleted policy ctest-policy-allow-all-27459749 2025-08-19 12:58:28,398 - INFO - Deleting VN ctest-vn-48727776 2025-08-19 12:58:28,428 - DEBUG - VN b881c2d3-ee1f-43c7-8a32-f6baf4960111 still in use: Unable to complete operation on network b881c2d3-ee1f-43c7-8a32-f6baf4960111. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bee64f67-0f7d-444a-b239-f56e4debc25a'] 2025-08-19 12:58:28,428 - WARNING - Deleting VN ctest-vn-48727776 failed..Will retry 2025-08-19 12:58:30,515 - DEBUG - Response for deleting network () 2025-08-19 12:58:30,516 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/5b21ab43-dcbd-474c-a60b-62c801cfb57a 2025-08-19 12:58:30,520 - DEBUG - Response Code: 404 2025-08-19 12:58:30,520 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-19 12:58:30,524 - DEBUG - Requesting: http://10.0.0.57:8082/domain/37c5b4fd-3460-4eca-8bb5-f29a49538ddc 2025-08-19 12:58:30,578 - DEBUG - Requesting: http://10.0.0.57:8082/project/53f6927d-255e-45f2-aea1-7b2867a6e226 2025-08-19 12:58:30,648 - INFO - Validated that VN ctest-vn-48727776 is not found in API Server 2025-08-19 12:58:30,657 - DEBUG - VN ctest-vn-48727776 is not present in Agent 10.0.0.57 2025-08-19 12:58:30,657 - INFO - Validated that VN ctest-vn-48727776 is not in any agent 2025-08-19 12:58:30,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48727776 info 2025-08-19 12:58:30,670 - INFO - Deleting VN ctest-vn-63833284 2025-08-19 12:58:30,761 - DEBUG - Response for deleting network () 2025-08-19 12:58:30,761 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/7e6fdb85-0452-4e2a-afb8-816fe3c64820 2025-08-19 12:58:30,765 - DEBUG - Response Code: 404 2025-08-19 12:58:30,765 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-08-19 12:58:30,769 - DEBUG - Requesting: http://10.0.0.57:8082/domain/37c5b4fd-3460-4eca-8bb5-f29a49538ddc 2025-08-19 12:58:30,824 - DEBUG - Requesting: http://10.0.0.57:8082/project/53f6927d-255e-45f2-aea1-7b2867a6e226 2025-08-19 12:58:30,890 - INFO - Validated that VN ctest-vn-63833284 is not found in API Server 2025-08-19 12:58:30,898 - DEBUG - VN ctest-vn-63833284 is not present in Agent 10.0.0.57 2025-08-19 12:58:30,898 - INFO - Validated that VN ctest-vn-63833284 is not in any agent 2025-08-19 12:58:30,911 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63833284 info 2025-08-19 12:58:31,160 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 12:58:31,160 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-19 12:58:31,160 - INFO - -------------------------------------------------------------------------------- 2025-08-19 12:58:31,795 - INFO - Deleted project: ctest-TestBasicPolicy-09374608, ID : 53f6927d-255e-45f2-aea1-7b2867a6e226