2025-06-26 02:11:37,997 - INFO - Domain Default found not creating 2025-06-26 02:11:38,144 - INFO - Project ctest-TestBasicPolicy-42650574 not found, creating it 2025-06-26 02:11:38,589 - INFO - Created Project:ctest-TestBasicPolicy-42650574, ID : 2b6f1240-ec05-4db9-a46d-2691f0b719a6 2025-06-26 02:11:39,980 - INFO - ================================================================================ 2025-06-26 02:11:39,980 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-26 02:11:39,981 - 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-06-26 02:11:40,239 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.193': '0'}} with 2025-06-26 02:11:40,239 - INFO - Initial checks done. Running the testcase now 2025-06-26 02:11:40,240 - INFO - 2025-06-26 02:11:40,769 - DEBUG - Response for create_network : {'network': {'id': 'c1818949-5239-49a5-bfdc-3dbd963efe4f', 'name': 'ctest-vn-08527135', 'tenant_id': '2b6f1240ec054db9a46d2691f0b719a6', 'project_id': '2b6f1240ec054db9a46d2691f0b719a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42650574', 'ctest-vn-08527135'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 02:11:40,976 - DEBUG - Response for create_subnet : {'subnet': {'id': '58267f5d-a5e0-4253-8430-c7e64a1ddffa', 'name': '', 'tenant_id': '2b6f1240ec054db9a46d2691f0b719a6', 'network_id': 'c1818949-5239-49a5-bfdc-3dbd963efe4f', 'ip_version': 4, 'cidr': '168.239.114.192/26', 'allocation_pools': [{'start': '168.239.114.194', 'end': '168.239.114.254'}], 'gateway_ip': '168.239.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.239.114.194', 'tags': [], 'project_id': '2b6f1240ec054db9a46d2691f0b719a6'}} 2025-06-26 02:11:40,992 - INFO - Created VN ctest-vn-08527135 2025-06-26 02:11:41,045 - DEBUG - VN ctest-vn-08527135 UUID is c1818949-5239-49a5-bfdc-3dbd963efe4f 2025-06-26 02:11:41,372 - DEBUG - Response for create_network : {'network': {'id': 'd90ac080-4e2a-4d44-898e-cc5e6d29cae7', 'name': 'ctest-vn-71303190', 'tenant_id': '2b6f1240ec054db9a46d2691f0b719a6', 'project_id': '2b6f1240ec054db9a46d2691f0b719a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42650574', 'ctest-vn-71303190'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 02:11:41,586 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e687c44a-f5a9-447e-a192-73cce8692bc2', 'name': '', 'tenant_id': '2b6f1240ec054db9a46d2691f0b719a6', 'network_id': 'd90ac080-4e2a-4d44-898e-cc5e6d29cae7', 'ip_version': 4, 'cidr': '154.14.135.128/26', 'allocation_pools': [{'start': '154.14.135.130', 'end': '154.14.135.190'}], 'gateway_ip': '154.14.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.14.135.130', 'tags': [], 'project_id': '2b6f1240ec054db9a46d2691f0b719a6'}} 2025-06-26 02:11:41,609 - INFO - Created VN ctest-vn-71303190 2025-06-26 02:11:41,662 - DEBUG - VN ctest-vn-71303190 UUID is d90ac080-4e2a-4d44-898e-cc5e6d29cae7 2025-06-26 02:11:41,798 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-08527135, 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-42650574:ctest-vn-71303190, 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-06-26 02:11:42,144 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1818949-5239-49a5-bfdc-3dbd963efe4f', 'name': 'ctest-vn-08527135', 'tenant_id': '2b6f1240ec054db9a46d2691f0b719a6', 'project_id': '2b6f1240ec054db9a46d2691f0b719a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58267f5d-a5e0-4253-8430-c7e64a1ddffa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42650574', 'ctest-vn-08527135'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42650574', 'ctest-policy-allow-all-29711421']], 'subnet_ipam': [{'subnet_cidr': '168.239.114.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 02:11:42,382 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd90ac080-4e2a-4d44-898e-cc5e6d29cae7', 'name': 'ctest-vn-71303190', 'tenant_id': '2b6f1240ec054db9a46d2691f0b719a6', 'project_id': '2b6f1240ec054db9a46d2691f0b719a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e687c44a-f5a9-447e-a192-73cce8692bc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42650574', 'ctest-vn-71303190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42650574', 'ctest-policy-allow-all-29711421']], 'subnet_ipam': [{'subnet_cidr': '154.14.135.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 02:11:42,529 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-26 02:11:42,842 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-26 02:11:42,875 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d9eb277d-5c31-4740-88ff-cddedccdd65f 2025-06-26 02:11:42,891 - DEBUG - Requesting: http://10.0.0.33:8082/project/2b6f1240-ec05-4db9-a46d-2691f0b719a6 2025-06-26 02:11:42,968 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c1818949-5239-49a5-bfdc-3dbd963efe4f 2025-06-26 02:11:42,981 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c1818949-5239-49a5-bfdc-3dbd963efe4f 2025-06-26 02:11:42,992 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96e5f0d7-c6bf-45e9-82d5-83a3d32b1119 2025-06-26 02:11:43,002 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96e5f0d7-c6bf-45e9-82d5-83a3d32b1119 2025-06-26 02:11:43,010 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b158d248-81d8-4f1c-a4c5-f55e11745803 2025-06-26 02:11:43,017 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 02:11:43,017 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c1818949-5239-49a5-bfdc-3dbd963efe4f 2025-06-26 02:11:43,027 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96e5f0d7-c6bf-45e9-82d5-83a3d32b1119 2025-06-26 02:11:43,041 - INFO - Verified VN network id 8 for VN c1818949-5239-49a5-bfdc-3dbd963efe4f 2025-06-26 02:11:43,041 - INFO - Verifications in API Server for VN ctest-vn-08527135 passed 2025-06-26 02:11:43,042 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c1818949-5239-49a5-bfdc-3dbd963efe4f 2025-06-26 02:11:43,050 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96e5f0d7-c6bf-45e9-82d5-83a3d32b1119 2025-06-26 02:11:43,057 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96e5f0d7-c6bf-45e9-82d5-83a3d32b1119 2025-06-26 02:11:43,064 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b158d248-81d8-4f1c-a4c5-f55e11745803 2025-06-26 02:11:43,075 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-08527135', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42650574', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13943576869320870309', 'uuid-lslong': '13824992840599404111'}, 'enable': 'true', 'created': '2025-06-26T02:11:40', 'last-modified': '2025-06-26T02:11:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962508'} 2025-06-26 02:11:43,081 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 02:11:43,082 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08527135 passed 2025-06-26 02:11:43,082 - DEBUG - ====Verifying policy data for ctest-vn-08527135 in API_Server ====== 2025-06-26 02:11:43,082 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-26 02:11:43,089 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d9eb277d-5c31-4740-88ff-cddedccdd65f 2025-06-26 02:11:43,102 - DEBUG - Requesting: http://10.0.0.33:8082/project/2b6f1240-ec05-4db9-a46d-2691f0b719a6 2025-06-26 02:11:43,173 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c1818949-5239-49a5-bfdc-3dbd963efe4f 2025-06-26 02:11:43,183 - DEBUG - ==>Verifying data for policy with id: 5ee92d2c-b77f-491f-bd38-c8b9763201bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-42650574', 'ctest-policy-allow-all-29711421'] 2025-06-26 02:11:43,183 - INFO - VN ctest-vn-08527135 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 02:11:43,183 - DEBUG - Verifying the vn in opserver 2025-06-26 02:11:43,183 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-08527135 virtual network link through opserver 10.0.0.33 2025-06-26 02:11:43,183 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-26 02:11:43,485 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-26 02:11:43,548 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-08527135', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-08527135?flat'} 2025-06-26 02:11:43,549 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-08527135 is found in opserver 2025-06-26 02:11:43,561 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 02:11:43,567 - DEBUG - VRF ids for VN ctest-vn-08527135: {} 2025-06-26 02:11:43,567 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-26 02:11:43,573 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d9eb277d-5c31-4740-88ff-cddedccdd65f 2025-06-26 02:11:43,587 - DEBUG - Requesting: http://10.0.0.33:8082/project/2b6f1240-ec05-4db9-a46d-2691f0b719a6 2025-06-26 02:11:43,663 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d90ac080-4e2a-4d44-898e-cc5e6d29cae7 2025-06-26 02:11:43,677 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d90ac080-4e2a-4d44-898e-cc5e6d29cae7 2025-06-26 02:11:43,688 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a2626be3-7197-4e8f-9181-ccd125213222 2025-06-26 02:11:43,696 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a2626be3-7197-4e8f-9181-ccd125213222 2025-06-26 02:11:43,703 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b5704587-f838-4382-8c86-b5a8392682dc 2025-06-26 02:11:43,710 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 02:11:43,710 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d90ac080-4e2a-4d44-898e-cc5e6d29cae7 2025-06-26 02:11:43,720 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a2626be3-7197-4e8f-9181-ccd125213222 2025-06-26 02:11:43,737 - INFO - Verified VN network id 9 for VN d90ac080-4e2a-4d44-898e-cc5e6d29cae7 2025-06-26 02:11:43,737 - INFO - Verifications in API Server for VN ctest-vn-71303190 passed 2025-06-26 02:11:43,737 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d90ac080-4e2a-4d44-898e-cc5e6d29cae7 2025-06-26 02:11:43,750 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a2626be3-7197-4e8f-9181-ccd125213222 2025-06-26 02:11:43,760 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a2626be3-7197-4e8f-9181-ccd125213222 2025-06-26 02:11:43,768 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b5704587-f838-4382-8c86-b5a8392682dc 2025-06-26 02:11:43,781 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-71303190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42650574', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15639524313297210692', 'uuid-lslong': '9912084535819487975'}, 'enable': 'true', 'created': '2025-06-26T02:11:41', 'last-modified': '2025-06-26T02:11:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.423554'} 2025-06-26 02:11:43,788 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 02:11:43,788 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71303190 passed 2025-06-26 02:11:43,788 - DEBUG - ====Verifying policy data for ctest-vn-71303190 in API_Server ====== 2025-06-26 02:11:43,788 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-26 02:11:43,795 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d9eb277d-5c31-4740-88ff-cddedccdd65f 2025-06-26 02:11:43,808 - DEBUG - Requesting: http://10.0.0.33:8082/project/2b6f1240-ec05-4db9-a46d-2691f0b719a6 2025-06-26 02:11:43,888 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d90ac080-4e2a-4d44-898e-cc5e6d29cae7 2025-06-26 02:11:43,899 - DEBUG - ==>Verifying data for policy with id: 5ee92d2c-b77f-491f-bd38-c8b9763201bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-42650574', 'ctest-policy-allow-all-29711421'] 2025-06-26 02:11:43,899 - INFO - VN ctest-vn-71303190 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 02:11:43,899 - DEBUG - Verifying the vn in opserver 2025-06-26 02:11:43,899 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-71303190 virtual network link through opserver 10.0.0.33 2025-06-26 02:11:43,899 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-26 02:11:43,913 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-71303190', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-71303190?flat'} 2025-06-26 02:11:43,913 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-71303190 is found in opserver 2025-06-26 02:11:43,926 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 02:11:43,931 - DEBUG - VRF ids for VN ctest-vn-71303190: {} 2025-06-26 02:11:43,998 - DEBUG - Services list from nova: [, , ] 2025-06-26 02:11:45,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3556-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3556-1) 2025-06-26 02:11:46,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3556-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3556-1) 2025-06-26 02:11:46,229 - INFO - Waiting for VM ctest-TestBasicPolicy-42650574-34714944 to be up.. 2025-06-26 02:11:46,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 02:11:51,396 - DEBUG - VM is in ACTIVE state now 2025-06-26 02:11:51,396 - INFO - VM name : ctest-TestBasicPolicy-42650574-34714944 2025-06-26 02:11:51,466 - DEBUG - VM ctest-TestBasicPolicy-42650574-34714944 ID is 4d888069-b4d7-4cef-8e76-2346304e9c72 2025-06-26 02:11:51,484 - DEBUG - VM ctest-TestBasicPolicy-42650574-34714944 launched on Node cn-jenkins-deploy-platform-ansible-os-3556-1 2025-06-26 02:11:51,566 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4d888069-b4d7-4cef-8e76-2346304e9c72 2025-06-26 02:11:51,574 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6a2d24cd-b328-4b8b-a59b-46aac2c8cb9e 2025-06-26 02:11:54,819 - 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 1003ms') 2025-06-26 02:11:54,819 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42650574-34714944 failed! 2025-06-26 02:11:54,873 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42650574:ctest-vn-08527135 is 168.239.114.193 and allocation pool is NOT set 2025-06-26 02:11:56,932 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.400 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.400/1.498/2.597/1.098 ms') 2025-06-26 02:11:56,932 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42650574-34714944 passed 2025-06-26 02:11:57,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:11:57,081 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42650574-34714944, IP 168.239.114.195, Port 22 2025-06-26 02:11:57,248 - DEBUG - VM ctest-TestBasicPolicy-42650574-34714944 is ready for SSH connections 2025-06-26 02:11:57,248 - INFO - Waiting for VM ctest-TestBasicPolicy-42650574-68549970 to be up.. 2025-06-26 02:11:57,346 - DEBUG - VM is in ACTIVE state now 2025-06-26 02:11:57,346 - INFO - VM name : ctest-TestBasicPolicy-42650574-68549970 2025-06-26 02:11:57,418 - DEBUG - VM ctest-TestBasicPolicy-42650574-68549970 ID is 459bc4bf-9bc1-4e61-a275-385bc202416a 2025-06-26 02:11:57,418 - DEBUG - VM ctest-TestBasicPolicy-42650574-68549970 launched on Node cn-jenkins-deploy-platform-ansible-os-3556-1 2025-06-26 02:11:57,493 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/459bc4bf-9bc1-4e61-a275-385bc202416a 2025-06-26 02:11:57,501 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bf9dc4dc-2c49-477a-a9de-386028fae677 2025-06-26 02:11:58,745 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.670 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.670/2.029/3.388/1.359 ms') 2025-06-26 02:11:58,745 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42650574-68549970 passed 2025-06-26 02:11:58,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:11:58,894 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42650574-68549970, IP 154.14.135.131, Port 22 2025-06-26 02:11:59,052 - DEBUG - VM ctest-TestBasicPolicy-42650574-68549970 is ready for SSH connections 2025-06-26 02:11:59,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:11:59,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.14.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-26 02:11:59,053 - DEBUG - ping -s 56 -c 3 -W 1 154.14.135.131 2025-06-26 02:12:02,787 - DEBUG - PING 154.14.135.131 (154.14.135.131): 56 data bytes 64 bytes from 154.14.135.131: seq=0 ttl=63 time=3.079 ms 64 bytes from 154.14.135.131: seq=1 ttl=63 time=1.017 ms 64 bytes from 154.14.135.131: seq=2 ttl=63 time=0.935 ms --- 154.14.135.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/1.677/3.079 ms 2025-06-26 02:12:02,787 - INFO - Ping to IP 154.14.135.131 from VM ctest-TestBasicPolicy-42650574-34714944 passed 2025-06-26 02:12:02,977 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5ee92d2c-b77f-491f-bd38-c8b9763201bb", "href": "http://10.0.0.33:8082/network-policy/5ee92d2c-b77f-491f-bd38-c8b9763201bb"}} 2025-06-26 02:12:02,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:12:02,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.14.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-26 02:12:02,977 - DEBUG - ping -s 56 -c 3 -W 1 154.14.135.131 2025-06-26 02:12:06,227 - DEBUG - PING 154.14.135.131 (154.14.135.131): 56 data bytes --- 154.14.135.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-26 02:12:06,227 - WARNING - Ping to IP 154.14.135.131 from VM ctest-TestBasicPolicy-42650574-34714944 failed 2025-06-26 02:12:06,227 - INFO - Deleting VM ctest-TestBasicPolicy-42650574-68549970 2025-06-26 02:12:06,297 - INFO - Deleting VM ctest-TestBasicPolicy-42650574-34714944 2025-06-26 02:12:06,683 - INFO - Deleted policy ctest-policy-allow-all-29711421 2025-06-26 02:12:06,684 - INFO - Deleting VN ctest-vn-71303190 2025-06-26 02:12:06,727 - DEBUG - VN d90ac080-4e2a-4d44-898e-cc5e6d29cae7 still in use: Unable to complete operation on network d90ac080-4e2a-4d44-898e-cc5e6d29cae7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-53e6748b-1097-4744-be73-757ae5f8b79f'] 2025-06-26 02:12:06,727 - WARNING - Deleting VN ctest-vn-71303190 failed..Will retry 2025-06-26 02:12:08,837 - DEBUG - Response for deleting network () 2025-06-26 02:12:08,837 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a2626be3-7197-4e8f-9181-ccd125213222 2025-06-26 02:12:08,842 - DEBUG - Response Code: 404 2025-06-26 02:12:08,842 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-26 02:12:08,851 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d9eb277d-5c31-4740-88ff-cddedccdd65f 2025-06-26 02:12:08,903 - DEBUG - Requesting: http://10.0.0.33:8082/project/2b6f1240-ec05-4db9-a46d-2691f0b719a6 2025-06-26 02:12:08,973 - INFO - Validated that VN ctest-vn-71303190 is not found in API Server 2025-06-26 02:12:08,984 - DEBUG - VN ctest-vn-71303190 is not present in Agent 10.0.0.33 2025-06-26 02:12:08,984 - INFO - Validated that VN ctest-vn-71303190 is not in any agent 2025-06-26 02:12:09,003 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71303190 info 2025-06-26 02:12:09,004 - INFO - Deleting VN ctest-vn-08527135 2025-06-26 02:12:09,112 - DEBUG - Response for deleting network () 2025-06-26 02:12:09,112 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96e5f0d7-c6bf-45e9-82d5-83a3d32b1119 2025-06-26 02:12:09,119 - DEBUG - Response Code: 404 2025-06-26 02:12:09,119 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-26 02:12:09,126 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d9eb277d-5c31-4740-88ff-cddedccdd65f 2025-06-26 02:12:09,179 - DEBUG - Requesting: http://10.0.0.33:8082/project/2b6f1240-ec05-4db9-a46d-2691f0b719a6 2025-06-26 02:12:09,249 - INFO - Validated that VN ctest-vn-08527135 is not found in API Server 2025-06-26 02:12:09,262 - DEBUG - VN ctest-vn-08527135 is not present in Agent 10.0.0.33 2025-06-26 02:12:09,262 - INFO - Validated that VN ctest-vn-08527135 is not in any agent 2025-06-26 02:12:09,279 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08527135 info 2025-06-26 02:12:09,540 - DEBUG - No XMPP flaps were noticed during the test
2025-06-26 02:12:09,540 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-26 02:12:09,540 - INFO - -------------------------------------------------------------------------------- 2025-06-26 02:12:10,201 - INFO - Deleted project: ctest-TestBasicPolicy-42650574, ID : 2b6f1240-ec05-4db9-a46d-2691f0b719a6