2025-08-11 15:44:09,595 - INFO - Domain Default found not creating 2025-08-11 15:44:09,714 - INFO - Project ctest-TestBasicPolicy-14572775 not found, creating it 2025-08-11 15:44:10,153 - INFO - Created Project:ctest-TestBasicPolicy-14572775, ID : 534daf0d-f5e1-4e48-9dd1-9fb2c8deed1b 2025-08-11 15:44:11,461 - INFO - ================================================================================ 2025-08-11 15:44:11,461 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 15:44:11,461 - 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-11 15:44:11,716 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with 2025-08-11 15:44:11,716 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:44:11,716 - INFO - 2025-08-11 15:44:12,256 - DEBUG - Response for create_network : {'network': {'id': 'ade54da4-35a6-4069-9f3a-0ed12fc23706', 'name': 'ctest-vn-18475657', 'tenant_id': '534daf0df5e14e489dd19fb2c8deed1b', 'project_id': '534daf0df5e14e489dd19fb2c8deed1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14572775', 'ctest-vn-18475657'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:44:12,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '2160e944-300b-46fe-8d67-ab79c86ab4e3', 'name': '', 'tenant_id': '534daf0df5e14e489dd19fb2c8deed1b', 'network_id': 'ade54da4-35a6-4069-9f3a-0ed12fc23706', 'ip_version': 4, 'cidr': '194.34.180.128/26', 'allocation_pools': [{'start': '194.34.180.130', 'end': '194.34.180.190'}], 'gateway_ip': '194.34.180.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.34.180.130', 'tags': [], 'project_id': '534daf0df5e14e489dd19fb2c8deed1b'}} 2025-08-11 15:44:12,425 - INFO - Created VN ctest-vn-18475657 2025-08-11 15:44:12,482 - DEBUG - VN ctest-vn-18475657 UUID is ade54da4-35a6-4069-9f3a-0ed12fc23706 2025-08-11 15:44:12,788 - DEBUG - Response for create_network : {'network': {'id': '97f085ef-f903-42f0-94bb-db667fa4ecdc', 'name': 'ctest-vn-60409578', 'tenant_id': '534daf0df5e14e489dd19fb2c8deed1b', 'project_id': '534daf0df5e14e489dd19fb2c8deed1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14572775', 'ctest-vn-60409578'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:44:12,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '95ce09ca-d1bc-4cd3-bbb9-8a53b13ddc7d', 'name': '', 'tenant_id': '534daf0df5e14e489dd19fb2c8deed1b', 'network_id': '97f085ef-f903-42f0-94bb-db667fa4ecdc', 'ip_version': 4, 'cidr': '208.209.121.128/26', 'allocation_pools': [{'start': '208.209.121.130', 'end': '208.209.121.190'}], 'gateway_ip': '208.209.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.209.121.130', 'tags': [], 'project_id': '534daf0df5e14e489dd19fb2c8deed1b'}} 2025-08-11 15:44:13,005 - INFO - Created VN ctest-vn-60409578 2025-08-11 15:44:13,062 - DEBUG - VN ctest-vn-60409578 UUID is 97f085ef-f903-42f0-94bb-db667fa4ecdc 2025-08-11 15:44:13,210 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-18475657, 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-14572775:ctest-vn-60409578, 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-11 15:44:13,505 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ade54da4-35a6-4069-9f3a-0ed12fc23706', 'name': 'ctest-vn-18475657', 'tenant_id': '534daf0df5e14e489dd19fb2c8deed1b', 'project_id': '534daf0df5e14e489dd19fb2c8deed1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2160e944-300b-46fe-8d67-ab79c86ab4e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14572775', 'ctest-vn-18475657'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14572775', 'ctest-policy-allow-all-40292880']], 'subnet_ipam': [{'subnet_cidr': '194.34.180.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:44:13,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97f085ef-f903-42f0-94bb-db667fa4ecdc', 'name': 'ctest-vn-60409578', 'tenant_id': '534daf0df5e14e489dd19fb2c8deed1b', 'project_id': '534daf0df5e14e489dd19fb2c8deed1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95ce09ca-d1bc-4cd3-bbb9-8a53b13ddc7d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14572775', 'ctest-vn-60409578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14572775', 'ctest-policy-allow-all-40292880']], 'subnet_ipam': [{'subnet_cidr': '208.209.121.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:44:13,866 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-11 15:44:14,156 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-11 15:44:14,182 - DEBUG - Requesting: http://10.0.0.41:8082/domain/bdae8b03-1283-41c9-83d2-6ec0aab82783 2025-08-11 15:44:14,194 - DEBUG - Requesting: http://10.0.0.41:8082/project/534daf0d-f5e1-4e48-9dd1-9fb2c8deed1b 2025-08-11 15:44:14,266 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ade54da4-35a6-4069-9f3a-0ed12fc23706 2025-08-11 15:44:14,277 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ade54da4-35a6-4069-9f3a-0ed12fc23706 2025-08-11 15:44:14,288 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/34403401-63d8-4a5b-9cbf-a0d2173ff326 2025-08-11 15:44:14,295 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/34403401-63d8-4a5b-9cbf-a0d2173ff326 2025-08-11 15:44:14,303 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b9841780-2481-4df8-9eee-e58f70d4db38 2025-08-11 15:44:14,310 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 15:44:14,310 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ade54da4-35a6-4069-9f3a-0ed12fc23706 2025-08-11 15:44:14,318 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/34403401-63d8-4a5b-9cbf-a0d2173ff326 2025-08-11 15:44:14,333 - INFO - Verified VN network id 11 for VN ade54da4-35a6-4069-9f3a-0ed12fc23706 2025-08-11 15:44:14,334 - INFO - Verifications in API Server for VN ctest-vn-18475657 passed 2025-08-11 15:44:14,334 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ade54da4-35a6-4069-9f3a-0ed12fc23706 2025-08-11 15:44:14,343 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/34403401-63d8-4a5b-9cbf-a0d2173ff326 2025-08-11 15:44:14,349 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/34403401-63d8-4a5b-9cbf-a0d2173ff326 2025-08-11 15:44:14,355 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b9841780-2481-4df8-9eee-e58f70d4db38 2025-08-11 15:44:14,367 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-18475657', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14572775', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12530506905898336361', 'uuid-lslong': '11473499292291970822'}, 'enable': 'true', 'created': '2025-08-11T15:44:12', 'last-modified': '2025-08-11T15:44:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.902453'} 2025-08-11 15:44:14,373 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 15:44:14,373 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18475657 passed 2025-08-11 15:44:14,374 - DEBUG - ====Verifying policy data for ctest-vn-18475657 in API_Server ====== 2025-08-11 15:44:14,374 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-11 15:44:14,379 - DEBUG - Requesting: http://10.0.0.41:8082/domain/bdae8b03-1283-41c9-83d2-6ec0aab82783 2025-08-11 15:44:14,389 - DEBUG - Requesting: http://10.0.0.41:8082/project/534daf0d-f5e1-4e48-9dd1-9fb2c8deed1b 2025-08-11 15:44:14,465 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ade54da4-35a6-4069-9f3a-0ed12fc23706 2025-08-11 15:44:14,475 - DEBUG - ==>Verifying data for policy with id: 7ef35a46-3662-4dd1-a54b-50ada8e3b4ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-14572775', 'ctest-policy-allow-all-40292880'] 2025-08-11 15:44:14,475 - INFO - VN ctest-vn-18475657 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 15:44:14,475 - DEBUG - Verifying the vn in opserver 2025-08-11 15:44:14,475 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-18475657 virtual network link through opserver 10.0.0.41 2025-08-11 15:44:14,475 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-11 15:44:14,764 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-11 15:44:14,813 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-18475657', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-18475657?flat'} 2025-08-11 15:44:14,813 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-18475657 is found in opserver 2025-08-11 15:44:14,823 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 15:44:14,827 - DEBUG - VRF ids for VN ctest-vn-18475657: {} 2025-08-11 15:44:14,827 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-11 15:44:14,832 - DEBUG - Requesting: http://10.0.0.41:8082/domain/bdae8b03-1283-41c9-83d2-6ec0aab82783 2025-08-11 15:44:14,842 - DEBUG - Requesting: http://10.0.0.41:8082/project/534daf0d-f5e1-4e48-9dd1-9fb2c8deed1b 2025-08-11 15:44:14,915 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/97f085ef-f903-42f0-94bb-db667fa4ecdc 2025-08-11 15:44:14,926 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/97f085ef-f903-42f0-94bb-db667fa4ecdc 2025-08-11 15:44:14,934 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/30fe9359-1a0a-4eda-8d46-1247282f46e6 2025-08-11 15:44:14,941 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/30fe9359-1a0a-4eda-8d46-1247282f46e6 2025-08-11 15:44:14,947 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/5f2c7456-1e1d-4f1e-a901-c210fcf3da18 2025-08-11 15:44:14,952 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 15:44:14,952 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/97f085ef-f903-42f0-94bb-db667fa4ecdc 2025-08-11 15:44:14,966 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/30fe9359-1a0a-4eda-8d46-1247282f46e6 2025-08-11 15:44:14,979 - INFO - Verified VN network id 12 for VN 97f085ef-f903-42f0-94bb-db667fa4ecdc 2025-08-11 15:44:14,979 - INFO - Verifications in API Server for VN ctest-vn-60409578 passed 2025-08-11 15:44:14,979 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/97f085ef-f903-42f0-94bb-db667fa4ecdc 2025-08-11 15:44:14,988 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/30fe9359-1a0a-4eda-8d46-1247282f46e6 2025-08-11 15:44:14,994 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/30fe9359-1a0a-4eda-8d46-1247282f46e6 2025-08-11 15:44:15,001 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/5f2c7456-1e1d-4f1e-a901-c210fcf3da18 2025-08-11 15:44:15,014 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-60409578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14572775', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10948397959859094256', 'uuid-lslong': '10717400971532889308'}, 'enable': 'true', 'created': '2025-08-11T15:44:12', 'last-modified': '2025-08-11T15:44:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.328720'} 2025-08-11 15:44:15,019 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 15:44:15,020 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60409578 passed 2025-08-11 15:44:15,020 - DEBUG - ====Verifying policy data for ctest-vn-60409578 in API_Server ====== 2025-08-11 15:44:15,020 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-11 15:44:15,025 - DEBUG - Requesting: http://10.0.0.41:8082/domain/bdae8b03-1283-41c9-83d2-6ec0aab82783 2025-08-11 15:44:15,036 - DEBUG - Requesting: http://10.0.0.41:8082/project/534daf0d-f5e1-4e48-9dd1-9fb2c8deed1b 2025-08-11 15:44:15,104 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/97f085ef-f903-42f0-94bb-db667fa4ecdc 2025-08-11 15:44:15,113 - DEBUG - ==>Verifying data for policy with id: 7ef35a46-3662-4dd1-a54b-50ada8e3b4ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-14572775', 'ctest-policy-allow-all-40292880'] 2025-08-11 15:44:15,113 - INFO - VN ctest-vn-60409578 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 15:44:15,113 - DEBUG - Verifying the vn in opserver 2025-08-11 15:44:15,113 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-60409578 virtual network link through opserver 10.0.0.41 2025-08-11 15:44:15,113 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-11 15:44:15,123 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-60409578', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-60409578?flat'} 2025-08-11 15:44:15,123 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-60409578 is found in opserver 2025-08-11 15:44:15,133 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 15:44:15,138 - DEBUG - VRF ids for VN ctest-vn-60409578: {} 2025-08-11 15:44:15,186 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:44:16,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3811-1) 2025-08-11 15:44:17,151 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3811-1) 2025-08-11 15:44:17,151 - INFO - Waiting for VM ctest-TestBasicPolicy-14572775-05097209 to be up.. 2025-08-11 15:44:17,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:44:22,288 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:44:22,288 - INFO - VM name : ctest-TestBasicPolicy-14572775-05097209 2025-08-11 15:44:22,349 - DEBUG - VM ctest-TestBasicPolicy-14572775-05097209 ID is a5ca749e-838a-4cf2-b47b-9c7345473ac0 2025-08-11 15:44:22,365 - DEBUG - VM ctest-TestBasicPolicy-14572775-05097209 launched on Node cn-jenkins-deploy-platform-ansible-os-3811-1 2025-08-11 15:44:22,432 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a5ca749e-838a-4cf2-b47b-9c7345473ac0 2025-08-11 15:44:22,440 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/1a6082db-bc23-4c8a-9fc9-96ee0cea0a61 2025-08-11 15:44:25,684 - 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 1004ms') 2025-08-11 15:44:25,685 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14572775-05097209 failed! 2025-08-11 15:44:25,742 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14572775:ctest-vn-18475657 is 194.34.180.129 and allocation pool is NOT set 2025-08-11 15:44:27,808 - 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=3.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.760 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.760/1.925/3.091/1.165 ms') 2025-08-11 15:44:27,808 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14572775-05097209 passed 2025-08-11 15:44:27,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:44:27,954 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14572775-05097209, IP 194.34.180.131, Port 22 2025-08-11 15:44:28,105 - DEBUG - VM ctest-TestBasicPolicy-14572775-05097209 is ready for SSH connections 2025-08-11 15:44:28,105 - INFO - Waiting for VM ctest-TestBasicPolicy-14572775-90757035 to be up.. 2025-08-11 15:44:28,180 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:44:28,180 - INFO - VM name : ctest-TestBasicPolicy-14572775-90757035 2025-08-11 15:44:28,242 - DEBUG - VM ctest-TestBasicPolicy-14572775-90757035 ID is b1470d4c-5abe-4d52-b3db-7e1785888666 2025-08-11 15:44:28,242 - DEBUG - VM ctest-TestBasicPolicy-14572775-90757035 launched on Node cn-jenkins-deploy-platform-ansible-os-3811-1 2025-08-11 15:44:28,312 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/b1470d4c-5abe-4d52-b3db-7e1785888666 2025-08-11 15:44:28,319 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/40d07fce-5398-4b57-b42d-3c105ea7b83f 2025-08-11 15:44:29,545 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.320 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.320/1.435/2.551/1.115 ms') 2025-08-11 15:44:29,545 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14572775-90757035 passed 2025-08-11 15:44:29,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:44:29,694 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14572775-90757035, IP 208.209.121.131, Port 22 2025-08-11 15:44:29,858 - DEBUG - VM ctest-TestBasicPolicy-14572775-90757035 is ready for SSH connections 2025-08-11 15:44:29,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:44:29,858 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.209.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-11 15:44:29,858 - DEBUG - ping -s 56 -c 3 -W 1 208.209.121.131 2025-08-11 15:44:33,788 - DEBUG - PING 208.209.121.131 (208.209.121.131): 56 data bytes 64 bytes from 208.209.121.131: seq=0 ttl=63 time=3.247 ms 64 bytes from 208.209.121.131: seq=1 ttl=63 time=0.739 ms 64 bytes from 208.209.121.131: seq=2 ttl=63 time=0.644 ms --- 208.209.121.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.644/1.543/3.247 ms 2025-08-11 15:44:33,789 - INFO - Ping to IP 208.209.121.131 from VM ctest-TestBasicPolicy-14572775-05097209 passed 2025-08-11 15:44:34,026 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7ef35a46-3662-4dd1-a54b-50ada8e3b4ad", "href": "http://10.0.0.41:8082/network-policy/7ef35a46-3662-4dd1-a54b-50ada8e3b4ad"}} 2025-08-11 15:44:34,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:44:34,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.209.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-11 15:44:34,026 - DEBUG - ping -s 56 -c 3 -W 1 208.209.121.131 2025-08-11 15:44:37,215 - DEBUG - PING 208.209.121.131 (208.209.121.131): 56 data bytes 64 bytes from 208.209.121.131: seq=0 ttl=63 time=1.147 ms --- 208.209.121.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.147/1.147/1.147 ms 2025-08-11 15:44:37,215 - WARNING - Ping to IP 208.209.121.131 from VM ctest-TestBasicPolicy-14572775-05097209 failed 2025-08-11 15:44:37,215 - INFO - Deleting VM ctest-TestBasicPolicy-14572775-90757035 2025-08-11 15:44:37,270 - INFO - Deleting VM ctest-TestBasicPolicy-14572775-05097209 2025-08-11 15:44:37,589 - INFO - Deleted policy ctest-policy-allow-all-40292880 2025-08-11 15:44:37,589 - INFO - Deleting VN ctest-vn-60409578 2025-08-11 15:44:37,625 - DEBUG - VN 97f085ef-f903-42f0-94bb-db667fa4ecdc still in use: Unable to complete operation on network 97f085ef-f903-42f0-94bb-db667fa4ecdc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c679303-47b2-4b3c-b758-4cb41e4ed675'] 2025-08-11 15:44:37,625 - WARNING - Deleting VN ctest-vn-60409578 failed..Will retry 2025-08-11 15:44:39,711 - DEBUG - Response for deleting network () 2025-08-11 15:44:39,711 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/30fe9359-1a0a-4eda-8d46-1247282f46e6 2025-08-11 15:44:39,716 - DEBUG - Response Code: 404 2025-08-11 15:44:39,716 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-11 15:44:39,723 - DEBUG - Requesting: http://10.0.0.41:8082/domain/bdae8b03-1283-41c9-83d2-6ec0aab82783 2025-08-11 15:44:39,775 - DEBUG - Requesting: http://10.0.0.41:8082/project/534daf0d-f5e1-4e48-9dd1-9fb2c8deed1b 2025-08-11 15:44:39,846 - INFO - Validated that VN ctest-vn-60409578 is not found in API Server 2025-08-11 15:44:39,856 - DEBUG - VN ctest-vn-60409578 is not present in Agent 10.0.0.41 2025-08-11 15:44:39,856 - INFO - Validated that VN ctest-vn-60409578 is not in any agent 2025-08-11 15:44:39,870 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60409578 info 2025-08-11 15:44:39,870 - INFO - Deleting VN ctest-vn-18475657 2025-08-11 15:44:39,965 - DEBUG - Response for deleting network () 2025-08-11 15:44:39,965 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/34403401-63d8-4a5b-9cbf-a0d2173ff326 2025-08-11 15:44:39,971 - DEBUG - Response Code: 404 2025-08-11 15:44:39,971 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-11 15:44:39,975 - DEBUG - Requesting: http://10.0.0.41:8082/domain/bdae8b03-1283-41c9-83d2-6ec0aab82783 2025-08-11 15:44:40,027 - DEBUG - Requesting: http://10.0.0.41:8082/project/534daf0d-f5e1-4e48-9dd1-9fb2c8deed1b 2025-08-11 15:44:40,094 - INFO - Validated that VN ctest-vn-18475657 is not found in API Server 2025-08-11 15:44:40,104 - DEBUG - VN ctest-vn-18475657 is not present in Agent 10.0.0.41 2025-08-11 15:44:40,104 - INFO - Validated that VN ctest-vn-18475657 is not in any agent 2025-08-11 15:44:40,119 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18475657 info 2025-08-11 15:44:40,383 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:44:40,383 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-11 15:44:40,383 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:44:41,025 - INFO - Deleted project: ctest-TestBasicPolicy-14572775, ID : 534daf0d-f5e1-4e48-9dd1-9fb2c8deed1b