2025-04-22 12:41:37,699 - INFO - Domain Default found not creating 2025-04-22 12:41:38,104 - INFO - Project ctest-TestBasicPolicy-06922928 not found, creating it 2025-04-22 12:41:38,845 - INFO - Created Project:ctest-TestBasicPolicy-06922928, ID : b3a1cc46-a5cf-438b-8465-f4eb58ed46a6 2025-04-22 12:41:40,310 - INFO - ================================================================================ 2025-04-22 12:41:40,310 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 12:41:40,310 - 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-22 12:41:40,574 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-04-22 12:41:40,574 - INFO - Initial checks done. Running the testcase now 2025-04-22 12:41:40,575 - INFO - 2025-04-22 12:41:41,104 - DEBUG - Response for create_network : {'network': {'id': '2ed3d8b0-b396-4853-9a96-985992747c46', 'name': 'ctest-vn-29219516', 'tenant_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6', 'project_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06922928', 'ctest-vn-29219516'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 12:41:41,258 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcf29b7a-afd4-4e9a-a819-bc4c144c366a', 'name': '', 'tenant_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6', 'network_id': '2ed3d8b0-b396-4853-9a96-985992747c46', 'ip_version': 4, 'cidr': '130.34.254.64/26', 'allocation_pools': [{'start': '130.34.254.66', 'end': '130.34.254.126'}], 'gateway_ip': '130.34.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.34.254.66', 'tags': [], 'project_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6'}} 2025-04-22 12:41:41,276 - INFO - Created VN ctest-vn-29219516 2025-04-22 12:41:41,329 - DEBUG - VN ctest-vn-29219516 UUID is 2ed3d8b0-b396-4853-9a96-985992747c46 2025-04-22 12:41:41,644 - DEBUG - Response for create_network : {'network': {'id': '95632828-2ebd-48f5-994a-8399fe7cc90d', 'name': 'ctest-vn-24399433', 'tenant_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6', 'project_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06922928', 'ctest-vn-24399433'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 12:41:41,843 - DEBUG - Response for create_subnet : {'subnet': {'id': '11c33e0f-4f80-4a7c-a623-ae4441f2b56f', 'name': '', 'tenant_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6', 'network_id': '95632828-2ebd-48f5-994a-8399fe7cc90d', 'ip_version': 4, 'cidr': '63.11.93.0/26', 'allocation_pools': [{'start': '63.11.93.2', 'end': '63.11.93.62'}], 'gateway_ip': '63.11.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.11.93.2', 'tags': [], 'project_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6'}} 2025-04-22 12:41:41,860 - INFO - Created VN ctest-vn-24399433 2025-04-22 12:41:41,913 - DEBUG - VN ctest-vn-24399433 UUID is 95632828-2ebd-48f5-994a-8399fe7cc90d 2025-04-22 12:41:42,065 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-29219516, 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-06922928:ctest-vn-24399433, 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-22 12:41:42,373 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ed3d8b0-b396-4853-9a96-985992747c46', 'name': 'ctest-vn-29219516', 'tenant_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6', 'project_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fcf29b7a-afd4-4e9a-a819-bc4c144c366a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06922928', 'ctest-vn-29219516'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06922928', 'ctest-policy-allow-all-71108419']], 'subnet_ipam': [{'subnet_cidr': '130.34.254.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 12:41:42,626 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '95632828-2ebd-48f5-994a-8399fe7cc90d', 'name': 'ctest-vn-24399433', 'tenant_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6', 'project_id': 'b3a1cc46a5cf438b8465f4eb58ed46a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11c33e0f-4f80-4a7c-a623-ae4441f2b56f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06922928', 'ctest-vn-24399433'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06922928', 'ctest-policy-allow-all-71108419']], 'subnet_ipam': [{'subnet_cidr': '63.11.93.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 12:41:42,777 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 12:41:43,082 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 12:41:43,110 - DEBUG - Requesting: http://10.0.0.41:8082/domain/52ce1fb0-a48e-4993-93cf-9ba42c20fcb6 2025-04-22 12:41:43,123 - DEBUG - Requesting: http://10.0.0.41:8082/project/b3a1cc46-a5cf-438b-8465-f4eb58ed46a6 2025-04-22 12:41:43,210 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/2ed3d8b0-b396-4853-9a96-985992747c46 2025-04-22 12:41:43,221 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/2ed3d8b0-b396-4853-9a96-985992747c46 2025-04-22 12:41:43,232 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f8b213bd-a26a-4a6a-aeef-6b3105b1e88b 2025-04-22 12:41:43,240 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f8b213bd-a26a-4a6a-aeef-6b3105b1e88b 2025-04-22 12:41:43,247 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/911e8719-66ab-4677-8ee7-6aea4b34a7ba 2025-04-22 12:41:43,254 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 12:41:43,254 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/2ed3d8b0-b396-4853-9a96-985992747c46 2025-04-22 12:41:43,263 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f8b213bd-a26a-4a6a-aeef-6b3105b1e88b 2025-04-22 12:41:43,277 - INFO - Verified VN network id 8 for VN 2ed3d8b0-b396-4853-9a96-985992747c46 2025-04-22 12:41:43,277 - INFO - Verifications in API Server for VN ctest-vn-29219516 passed 2025-04-22 12:41:43,277 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/2ed3d8b0-b396-4853-9a96-985992747c46 2025-04-22 12:41:43,286 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f8b213bd-a26a-4a6a-aeef-6b3105b1e88b 2025-04-22 12:41:43,294 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f8b213bd-a26a-4a6a-aeef-6b3105b1e88b 2025-04-22 12:41:43,300 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/911e8719-66ab-4677-8ee7-6aea4b34a7ba 2025-04-22 12:41:43,312 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-29219516', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06922928', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3374278799269447763', 'uuid-lslong': '11139258238824119366'}, 'enable': 'true', 'created': '2025-04-22T12:41:41', 'last-modified': '2025-04-22T12:41:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968752'} 2025-04-22 12:41:43,318 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 12:41:43,318 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29219516 passed 2025-04-22 12:41:43,318 - DEBUG - ====Verifying policy data for ctest-vn-29219516 in API_Server ====== 2025-04-22 12:41:43,318 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 12:41:43,324 - DEBUG - Requesting: http://10.0.0.41:8082/domain/52ce1fb0-a48e-4993-93cf-9ba42c20fcb6 2025-04-22 12:41:43,335 - DEBUG - Requesting: http://10.0.0.41:8082/project/b3a1cc46-a5cf-438b-8465-f4eb58ed46a6 2025-04-22 12:41:43,411 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/2ed3d8b0-b396-4853-9a96-985992747c46 2025-04-22 12:41:43,422 - DEBUG - ==>Verifying data for policy with id: 171900dc-a3f6-46a8-a7b0-414e149be465, fqn: ['default-domain', 'ctest-TestBasicPolicy-06922928', 'ctest-policy-allow-all-71108419'] 2025-04-22 12:41:43,422 - INFO - VN ctest-vn-29219516 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 12:41:43,422 - DEBUG - Verifying the vn in opserver 2025-04-22 12:41:43,422 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-29219516 virtual network link through opserver 10.0.0.41 2025-04-22 12:41:43,422 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-22 12:41:43,711 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-22 12:41:43,762 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-29219516', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-29219516?flat'} 2025-04-22 12:41:43,763 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-29219516 is found in opserver 2025-04-22 12:41:43,773 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 12:41:43,778 - DEBUG - VRF ids for VN ctest-vn-29219516: {} 2025-04-22 12:41:43,778 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 12:41:43,784 - DEBUG - Requesting: http://10.0.0.41:8082/domain/52ce1fb0-a48e-4993-93cf-9ba42c20fcb6 2025-04-22 12:41:43,795 - DEBUG - Requesting: http://10.0.0.41:8082/project/b3a1cc46-a5cf-438b-8465-f4eb58ed46a6 2025-04-22 12:41:43,870 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/95632828-2ebd-48f5-994a-8399fe7cc90d 2025-04-22 12:41:43,884 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/95632828-2ebd-48f5-994a-8399fe7cc90d 2025-04-22 12:41:43,894 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/139df810-4f81-469e-ae9b-03c6e1604f1b 2025-04-22 12:41:43,901 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/139df810-4f81-469e-ae9b-03c6e1604f1b 2025-04-22 12:41:43,908 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/05516cc0-baa3-4093-9414-3bf161e33175 2025-04-22 12:41:43,915 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 12:41:43,915 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/95632828-2ebd-48f5-994a-8399fe7cc90d 2025-04-22 12:41:43,924 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/139df810-4f81-469e-ae9b-03c6e1604f1b 2025-04-22 12:41:43,937 - INFO - Verified VN network id 9 for VN 95632828-2ebd-48f5-994a-8399fe7cc90d 2025-04-22 12:41:43,938 - INFO - Verifications in API Server for VN ctest-vn-24399433 passed 2025-04-22 12:41:43,938 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/95632828-2ebd-48f5-994a-8399fe7cc90d 2025-04-22 12:41:43,947 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/139df810-4f81-469e-ae9b-03c6e1604f1b 2025-04-22 12:41:43,953 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/139df810-4f81-469e-ae9b-03c6e1604f1b 2025-04-22 12:41:43,960 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/05516cc0-baa3-4093-9414-3bf161e33175 2025-04-22 12:41:43,972 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-24399433', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06922928', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10764491687393577205', 'uuid-lslong': '11045785733502388493'}, 'enable': 'true', 'created': '2025-04-22T12:41:41', 'last-modified': '2025-04-22T12:41:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.368274'} 2025-04-22 12:41:43,978 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 12:41:43,978 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24399433 passed 2025-04-22 12:41:43,978 - DEBUG - ====Verifying policy data for ctest-vn-24399433 in API_Server ====== 2025-04-22 12:41:43,978 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 12:41:43,983 - DEBUG - Requesting: http://10.0.0.41:8082/domain/52ce1fb0-a48e-4993-93cf-9ba42c20fcb6 2025-04-22 12:41:43,994 - DEBUG - Requesting: http://10.0.0.41:8082/project/b3a1cc46-a5cf-438b-8465-f4eb58ed46a6 2025-04-22 12:41:44,066 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/95632828-2ebd-48f5-994a-8399fe7cc90d 2025-04-22 12:41:44,075 - DEBUG - ==>Verifying data for policy with id: 171900dc-a3f6-46a8-a7b0-414e149be465, fqn: ['default-domain', 'ctest-TestBasicPolicy-06922928', 'ctest-policy-allow-all-71108419'] 2025-04-22 12:41:44,076 - INFO - VN ctest-vn-24399433 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 12:41:44,076 - DEBUG - Verifying the vn in opserver 2025-04-22 12:41:44,076 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-24399433 virtual network link through opserver 10.0.0.41 2025-04-22 12:41:44,076 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-22 12:41:44,086 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-24399433', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-24399433?flat'} 2025-04-22 12:41:44,086 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-24399433 is found in opserver 2025-04-22 12:41:44,097 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 12:41:44,102 - DEBUG - VRF ids for VN ctest-vn-24399433: {} 2025-04-22 12:41:44,155 - DEBUG - Services list from nova: [, , ] 2025-04-22 12:41:45,136 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3161-1) 2025-04-22 12:41:46,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3161-1) 2025-04-22 12:41:46,401 - INFO - Waiting for VM ctest-TestBasicPolicy-06922928-99042974 to be up.. 2025-04-22 12:41:46,477 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 12:41:51,552 - DEBUG - VM is in ACTIVE state now 2025-04-22 12:41:51,553 - INFO - VM name : ctest-TestBasicPolicy-06922928-99042974 2025-04-22 12:41:51,623 - DEBUG - VM ctest-TestBasicPolicy-06922928-99042974 ID is bbbb2b63-2170-48bc-a410-c4aecab90934 2025-04-22 12:41:51,642 - DEBUG - VM ctest-TestBasicPolicy-06922928-99042974 launched on Node cn-jenkins-deploy-platform-ansible-os-3161-1 2025-04-22 12:41:51,715 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bbbb2b63-2170-48bc-a410-c4aecab90934 2025-04-22 12:41:51,723 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a04b5836-096c-4f15-b136-bb9022aa25b3 2025-04-22 12:41:54,972 - 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-04-22 12:41:54,972 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06922928-99042974 failed! 2025-04-22 12:41:55,025 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06922928:ctest-vn-29219516 is 130.34.254.65 and allocation pool is NOT set 2025-04-22 12:41:57,088 - 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=4.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.794 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.794/2.426/4.059/1.632 ms') 2025-04-22 12:41:57,088 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06922928-99042974 passed 2025-04-22 12:41:57,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:41:57,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06922928-99042974, IP 130.34.254.67, Port 22 2025-04-22 12:41:57,392 - DEBUG - VM ctest-TestBasicPolicy-06922928-99042974 is ready for SSH connections 2025-04-22 12:41:57,392 - INFO - Waiting for VM ctest-TestBasicPolicy-06922928-14792626 to be up.. 2025-04-22 12:41:57,462 - DEBUG - VM is in ACTIVE state now 2025-04-22 12:41:57,462 - INFO - VM name : ctest-TestBasicPolicy-06922928-14792626 2025-04-22 12:41:57,527 - DEBUG - VM ctest-TestBasicPolicy-06922928-14792626 ID is 07f88b0c-e457-4138-a2c3-e658ed5d9b1b 2025-04-22 12:41:57,527 - DEBUG - VM ctest-TestBasicPolicy-06922928-14792626 launched on Node cn-jenkins-deploy-platform-ansible-os-3161-1 2025-04-22 12:41:57,597 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/07f88b0c-e457-4138-a2c3-e658ed5d9b1b 2025-04-22 12:41:57,605 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b4f3dc06-5363-4682-822f-e6761a6d7c08 2025-04-22 12:41:58,834 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 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.340/1.536/2.732/1.196 ms') 2025-04-22 12:41:58,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06922928-14792626 passed 2025-04-22 12:41:58,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:41:58,985 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06922928-14792626, IP 63.11.93.3, Port 22 2025-04-22 12:41:59,136 - DEBUG - VM ctest-TestBasicPolicy-06922928-14792626 is ready for SSH connections 2025-04-22 12:41:59,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:41:59,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.11.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-22 12:41:59,136 - DEBUG - ping -s 56 -c 3 -W 1 63.11.93.3 2025-04-22 12:42:03,116 - DEBUG - PING 63.11.93.3 (63.11.93.3): 56 data bytes 64 bytes from 63.11.93.3: seq=0 ttl=63 time=3.378 ms 64 bytes from 63.11.93.3: seq=1 ttl=63 time=0.703 ms 64 bytes from 63.11.93.3: seq=2 ttl=63 time=0.772 ms --- 63.11.93.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.703/1.617/3.378 ms 2025-04-22 12:42:03,116 - INFO - Ping to IP 63.11.93.3 from VM ctest-TestBasicPolicy-06922928-99042974 passed 2025-04-22 12:42:03,293 - DEBUG - Policy Update Response {"network-policy": {"uuid": "171900dc-a3f6-46a8-a7b0-414e149be465", "href": "http://10.0.0.41:8082/network-policy/171900dc-a3f6-46a8-a7b0-414e149be465"}} 2025-04-22 12:42:03,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:42:03,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.11.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-22 12:42:03,293 - DEBUG - ping -s 56 -c 3 -W 1 63.11.93.3 2025-04-22 12:42:06,507 - DEBUG - PING 63.11.93.3 (63.11.93.3): 56 data bytes --- 63.11.93.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-22 12:42:06,508 - WARNING - Ping to IP 63.11.93.3 from VM ctest-TestBasicPolicy-06922928-99042974 failed 2025-04-22 12:42:06,508 - INFO - Deleting VM ctest-TestBasicPolicy-06922928-14792626 2025-04-22 12:42:06,575 - INFO - Deleting VM ctest-TestBasicPolicy-06922928-99042974 2025-04-22 12:42:06,927 - INFO - Deleted policy ctest-policy-allow-all-71108419 2025-04-22 12:42:06,927 - INFO - Deleting VN ctest-vn-24399433 2025-04-22 12:42:06,964 - DEBUG - VN 95632828-2ebd-48f5-994a-8399fe7cc90d still in use: Unable to complete operation on network 95632828-2ebd-48f5-994a-8399fe7cc90d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-52454b8d-a5da-4b52-8560-b69cdcd65312'] 2025-04-22 12:42:06,965 - WARNING - Deleting VN ctest-vn-24399433 failed..Will retry 2025-04-22 12:42:09,063 - DEBUG - Response for deleting network () 2025-04-22 12:42:09,063 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/139df810-4f81-469e-ae9b-03c6e1604f1b 2025-04-22 12:42:09,068 - DEBUG - Response Code: 404 2025-04-22 12:42:09,068 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 12:42:09,073 - DEBUG - Requesting: http://10.0.0.41:8082/domain/52ce1fb0-a48e-4993-93cf-9ba42c20fcb6 2025-04-22 12:42:09,126 - DEBUG - Requesting: http://10.0.0.41:8082/project/b3a1cc46-a5cf-438b-8465-f4eb58ed46a6 2025-04-22 12:42:09,191 - INFO - Validated that VN ctest-vn-24399433 is not found in API Server 2025-04-22 12:42:09,201 - DEBUG - VN ctest-vn-24399433 is not present in Agent 10.0.0.41 2025-04-22 12:42:09,201 - INFO - Validated that VN ctest-vn-24399433 is not in any agent 2025-04-22 12:42:09,215 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24399433 info 2025-04-22 12:42:09,215 - INFO - Deleting VN ctest-vn-29219516 2025-04-22 12:42:09,301 - DEBUG - Response for deleting network () 2025-04-22 12:42:09,301 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f8b213bd-a26a-4a6a-aeef-6b3105b1e88b 2025-04-22 12:42:09,308 - DEBUG - Response Code: 404 2025-04-22 12:42:09,308 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 12:42:09,313 - DEBUG - Requesting: http://10.0.0.41:8082/domain/52ce1fb0-a48e-4993-93cf-9ba42c20fcb6 2025-04-22 12:42:09,370 - DEBUG - Requesting: http://10.0.0.41:8082/project/b3a1cc46-a5cf-438b-8465-f4eb58ed46a6 2025-04-22 12:42:09,442 - INFO - Validated that VN ctest-vn-29219516 is not found in API Server 2025-04-22 12:42:09,451 - DEBUG - VN ctest-vn-29219516 is not present in Agent 10.0.0.41 2025-04-22 12:42:09,451 - INFO - Validated that VN ctest-vn-29219516 is not in any agent 2025-04-22 12:42:09,470 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29219516 info 2025-04-22 12:42:09,718 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 12:42:09,718 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-22 12:42:09,718 - INFO - -------------------------------------------------------------------------------- 2025-04-22 12:42:10,356 - INFO - Deleted project: ctest-TestBasicPolicy-06922928, ID : b3a1cc46-a5cf-438b-8465-f4eb58ed46a6