2026-10-05 12:57:11,036 - INFO - Domain Default found not creating 2026-10-05 12:57:11,160 - INFO - Project ctest-TestBasicPolicy-54222264 not found, creating it 2026-10-05 12:57:11,575 - INFO - Created Project:ctest-TestBasicPolicy-54222264, ID : 98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7 2026-10-05 12:57:13,167 - INFO - ================================================================================ 2026-10-05 12:57:13,167 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-05 12:57:13,167 - 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 2026-10-05 12:57:13,424 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-10-05 12:57:13,424 - INFO - Initial checks done. Running the testcase now 2026-10-05 12:57:13,424 - INFO - 2026-10-05 12:57:14,015 - DEBUG - Response for create_network : {'network': {'id': 'ae33ff8e-8143-4eba-89b3-edf3462560fa', 'name': 'ctest-vn-63997741', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-vn-63997741'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 12:57:14,235 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d4fcb6f-28d4-4597-b34f-a3c7b5d1f11c', 'name': '', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'network_id': 'ae33ff8e-8143-4eba-89b3-edf3462560fa', 'ip_version': 4, 'cidr': '211.200.131.0/26', 'allocation_pools': [{'start': '211.200.131.2', 'end': '211.200.131.62'}], 'gateway_ip': '211.200.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.200.131.2', 'tags': [], 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7'}} 2026-10-05 12:57:14,248 - INFO - Created VN ctest-vn-63997741 2026-10-05 12:57:14,299 - DEBUG - VN ctest-vn-63997741 UUID is ae33ff8e-8143-4eba-89b3-edf3462560fa 2026-10-05 12:57:14,573 - DEBUG - Response for create_network : {'network': {'id': 'ba3f4194-325d-4f33-90b1-21dbccc948ca', 'name': 'ctest-vn-69727463', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-vn-69727463'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 12:57:14,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '39447d28-8313-4999-9cc8-a77134b9a7e7', 'name': '', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'network_id': 'ba3f4194-325d-4f33-90b1-21dbccc948ca', 'ip_version': 4, 'cidr': '114.103.178.0/26', 'allocation_pools': [{'start': '114.103.178.2', 'end': '114.103.178.62'}], 'gateway_ip': '114.103.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.103.178.2', 'tags': [], 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7'}} 2026-10-05 12:57:14,734 - INFO - Created VN ctest-vn-69727463 2026-10-05 12:57:14,783 - DEBUG - VN ctest-vn-69727463 UUID is ba3f4194-325d-4f33-90b1-21dbccc948ca 2026-10-05 12:57:14,910 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741, 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-54222264:ctest-vn-69727463, 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] 2026-10-05 12:57:15,183 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae33ff8e-8143-4eba-89b3-edf3462560fa', 'name': 'ctest-vn-63997741', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6d4fcb6f-28d4-4597-b34f-a3c7b5d1f11c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-vn-63997741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-policy-allow-all-93259332']], 'subnet_ipam': [{'subnet_cidr': '211.200.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-05 12:57:15,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba3f4194-325d-4f33-90b1-21dbccc948ca', 'name': 'ctest-vn-69727463', 'tenant_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'project_id': '98ae1e0b4ec94dabb1e9d0dedbdb30d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['39447d28-8313-4999-9cc8-a77134b9a7e7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-vn-69727463'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-policy-allow-all-93259332']], 'subnet_ipam': [{'subnet_cidr': '114.103.178.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-05 12:57:15,539 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 12:57:15,897 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 12:57:15,921 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5cc6312-bf1c-48ed-8e93-fab234f39675 2026-10-05 12:57:15,932 - DEBUG - Requesting: http://10.0.0.50:8082/project/98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7 2026-10-05 12:57:16,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae33ff8e-8143-4eba-89b3-edf3462560fa 2026-10-05 12:57:16,010 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae33ff8e-8143-4eba-89b3-edf3462560fa 2026-10-05 12:57:16,017 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2 2026-10-05 12:57:16,023 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2 2026-10-05 12:57:16,028 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3e7272b3-1a39-44b3-a386-045453645f2e 2026-10-05 12:57:16,033 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-05 12:57:16,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae33ff8e-8143-4eba-89b3-edf3462560fa 2026-10-05 12:57:16,040 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2 2026-10-05 12:57:16,050 - INFO - Verified VN network id 12 for VN ae33ff8e-8143-4eba-89b3-edf3462560fa 2026-10-05 12:57:16,050 - INFO - Verifications in API Server for VN ctest-vn-63997741 passed 2026-10-05 12:57:16,050 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae33ff8e-8143-4eba-89b3-edf3462560fa 2026-10-05 12:57:16,058 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2 2026-10-05 12:57:16,063 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2 2026-10-05 12:57:16,068 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3e7272b3-1a39-44b3-a386-045453645f2e 2026-10-05 12:57:16,077 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54222264', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12552657573930815162', 'uuid-lslong': '9922536033137025274'}, 'enable': 'true', 'created': '2026-10-05T12:57:13', 'last-modified': '2026-10-05T12:57:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914841'} 2026-10-05 12:57:16,082 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-05 12:57:16,083 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63997741 passed 2026-10-05 12:57:16,083 - DEBUG - ====Verifying policy data for ctest-vn-63997741 in API_Server ====== 2026-10-05 12:57:16,083 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 12:57:16,087 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5cc6312-bf1c-48ed-8e93-fab234f39675 2026-10-05 12:57:16,095 - DEBUG - Requesting: http://10.0.0.50:8082/project/98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7 2026-10-05 12:57:16,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae33ff8e-8143-4eba-89b3-edf3462560fa 2026-10-05 12:57:16,175 - DEBUG - ==>Verifying data for policy with id: 841afe03-0576-4772-9ff7-333c356886e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-policy-allow-all-93259332'] 2026-10-05 12:57:16,175 - INFO - VN ctest-vn-63997741 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 12:57:16,175 - DEBUG - Verifying the vn in opserver 2026-10-05 12:57:16,175 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741 virtual network link through opserver 10.0.0.50 2026-10-05 12:57:16,175 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-05 12:57:16,533 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-05 12:57:16,584 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741?flat'} 2026-10-05 12:57:16,584 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741 is found in opserver 2026-10-05 12:57:16,594 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 12:57:16,598 - DEBUG - VRF ids for VN ctest-vn-63997741: {} 2026-10-05 12:57:16,598 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 12:57:16,603 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5cc6312-bf1c-48ed-8e93-fab234f39675 2026-10-05 12:57:16,612 - DEBUG - Requesting: http://10.0.0.50:8082/project/98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7 2026-10-05 12:57:16,681 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba3f4194-325d-4f33-90b1-21dbccc948ca 2026-10-05 12:57:16,690 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba3f4194-325d-4f33-90b1-21dbccc948ca 2026-10-05 12:57:16,698 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0 2026-10-05 12:57:16,704 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0 2026-10-05 12:57:16,709 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/83e9785b-ccfc-475f-90ef-b15b18608991 2026-10-05 12:57:16,713 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 12:57:16,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba3f4194-325d-4f33-90b1-21dbccc948ca 2026-10-05 12:57:16,720 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0 2026-10-05 12:57:16,731 - INFO - Verified VN network id 13 for VN ba3f4194-325d-4f33-90b1-21dbccc948ca 2026-10-05 12:57:16,731 - INFO - Verifications in API Server for VN ctest-vn-69727463 passed 2026-10-05 12:57:16,731 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba3f4194-325d-4f33-90b1-21dbccc948ca 2026-10-05 12:57:16,738 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0 2026-10-05 12:57:16,744 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0 2026-10-05 12:57:16,749 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/83e9785b-ccfc-475f-90ef-b15b18608991 2026-10-05 12:57:16,759 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54222264', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13420517519343308595', 'uuid-lslong': '10426151840256706762'}, 'enable': 'true', 'created': '2026-10-05T12:57:14', 'last-modified': '2026-10-05T12:57:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390194'} 2026-10-05 12:57:16,765 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 12:57:16,765 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69727463 passed 2026-10-05 12:57:16,765 - DEBUG - ====Verifying policy data for ctest-vn-69727463 in API_Server ====== 2026-10-05 12:57:16,765 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 12:57:16,769 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5cc6312-bf1c-48ed-8e93-fab234f39675 2026-10-05 12:57:16,777 - DEBUG - Requesting: http://10.0.0.50:8082/project/98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7 2026-10-05 12:57:16,843 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba3f4194-325d-4f33-90b1-21dbccc948ca 2026-10-05 12:57:16,851 - DEBUG - ==>Verifying data for policy with id: 841afe03-0576-4772-9ff7-333c356886e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-54222264', 'ctest-policy-allow-all-93259332'] 2026-10-05 12:57:16,851 - INFO - VN ctest-vn-69727463 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 12:57:16,851 - DEBUG - Verifying the vn in opserver 2026-10-05 12:57:16,851 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463 virtual network link through opserver 10.0.0.50 2026-10-05 12:57:16,851 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-05 12:57:16,859 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463?flat'} 2026-10-05 12:57:16,859 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463 is found in opserver 2026-10-05 12:57:16,868 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 12:57:16,872 - DEBUG - VRF ids for VN ctest-vn-69727463: {} 2026-10-05 12:57:16,920 - DEBUG - Services list from nova: [, , ] 2026-10-05 12:57:17,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6346-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6346-1) 2026-10-05 12:57:17,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6346-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6346-1) 2026-10-05 12:57:17,602 - INFO - Waiting for VM ctest-TestBasicPolicy-54222264-02260253 to be up.. 2026-10-05 12:57:17,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 12:57:22,693 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 12:57:27,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 12:57:32,829 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 12:57:37,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 12:57:42,959 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 12:57:48,028 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 12:57:53,094 - DEBUG - VM is in ACTIVE state now 2026-10-05 12:57:53,094 - INFO - VM name : ctest-TestBasicPolicy-54222264-02260253 2026-10-05 12:57:53,153 - DEBUG - VM ctest-TestBasicPolicy-54222264-02260253 ID is bf185998-337f-4d93-9ad5-a51052ebeeb9 2026-10-05 12:57:53,172 - DEBUG - VM ctest-TestBasicPolicy-54222264-02260253 launched on Node cn-jenkins-deploy-platform-ansible-os-6346-1 2026-10-05 12:57:53,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bf185998-337f-4d93-9ad5-a51052ebeeb9 2026-10-05 12:57:53,238 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fcc508bd-389c-4530-8b3e-25d6335d28dd 2026-10-05 12:57:56,483 - 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') 2026-10-05 12:57:56,483 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54222264-02260253 failed! 2026-10-05 12:57:56,535 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-63997741 is 211.200.131.1 and allocation pool is NOT set 2026-10-05 12:57:58,591 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 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.426/4.741/9.057/4.315 ms') 2026-10-05 12:57:58,592 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54222264-02260253 passed 2026-10-05 12:57:58,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 12:57:58,743 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54222264-02260253, IP 211.200.131.3, Port 22 2026-10-05 12:57:58,898 - DEBUG - VM ctest-TestBasicPolicy-54222264-02260253 is ready for SSH connections 2026-10-05 12:57:58,898 - INFO - Waiting for VM ctest-TestBasicPolicy-54222264-74922643 to be up.. 2026-10-05 12:57:58,962 - DEBUG - VM is in ACTIVE state now 2026-10-05 12:57:58,962 - INFO - VM name : ctest-TestBasicPolicy-54222264-74922643 2026-10-05 12:57:59,019 - DEBUG - VM ctest-TestBasicPolicy-54222264-74922643 ID is feaaeae7-5021-433e-a109-a51da149a752 2026-10-05 12:57:59,019 - DEBUG - VM ctest-TestBasicPolicy-54222264-74922643 launched on Node cn-jenkins-deploy-platform-ansible-os-6346-1 2026-10-05 12:57:59,073 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/feaaeae7-5021-433e-a109-a51da149a752 2026-10-05 12:57:59,080 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7842e4b5-6133-4505-b01b-695d2ebc9964 2026-10-05 12:58:02,310 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2026-10-05 12:58:02,310 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54222264-74922643 failed! 2026-10-05 12:58:02,363 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54222264:ctest-vn-69727463 is 114.103.178.1 and allocation pool is NOT set 2026-10-05 12:58:04,421 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 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.325/1.817/3.309/1.492 ms') 2026-10-05 12:58:04,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54222264-74922643 passed 2026-10-05 12:58:04,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 12:58:04,563 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54222264-74922643, IP 114.103.178.3, Port 22 2026-10-05 12:58:04,718 - DEBUG - VM ctest-TestBasicPolicy-54222264-74922643 is ready for SSH connections 2026-10-05 12:58:04,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 12:58:04,718 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.103.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-05 12:58:04,718 - DEBUG - ping -s 56 -c 3 -W 1 114.103.178.3 2026-10-05 12:58:08,601 - DEBUG - PING 114.103.178.3 (114.103.178.3): 56 data bytes 64 bytes from 114.103.178.3: seq=0 ttl=63 time=3.889 ms 64 bytes from 114.103.178.3: seq=1 ttl=63 time=0.740 ms 64 bytes from 114.103.178.3: seq=2 ttl=63 time=0.785 ms --- 114.103.178.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/1.804/3.889 ms 2026-10-05 12:58:08,601 - INFO - Ping to IP 114.103.178.3 from VM ctest-TestBasicPolicy-54222264-02260253 passed 2026-10-05 12:58:08,774 - DEBUG - Policy Update Response {"network-policy": {"uuid": "841afe03-0576-4772-9ff7-333c356886e7", "href": "http://10.0.0.50:8082/network-policy/841afe03-0576-4772-9ff7-333c356886e7"}} 2026-10-05 12:58:08,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 12:58:08,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.103.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-05 12:58:08,775 - DEBUG - ping -s 56 -c 3 -W 1 114.103.178.3 2026-10-05 12:58:11,894 - DEBUG - PING 114.103.178.3 (114.103.178.3): 56 data bytes 64 bytes from 114.103.178.3: seq=0 ttl=63 time=2.236 ms --- 114.103.178.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.236/2.236/2.236 ms 2026-10-05 12:58:11,894 - WARNING - Ping to IP 114.103.178.3 from VM ctest-TestBasicPolicy-54222264-02260253 failed 2026-10-05 12:58:11,894 - INFO - Deleting VM ctest-TestBasicPolicy-54222264-74922643 2026-10-05 12:58:12,018 - INFO - Deleting VM ctest-TestBasicPolicy-54222264-02260253 2026-10-05 12:58:12,355 - INFO - Deleted policy ctest-policy-allow-all-93259332 2026-10-05 12:58:12,355 - INFO - Deleting VN ctest-vn-69727463 2026-10-05 12:58:12,383 - DEBUG - VN ba3f4194-325d-4f33-90b1-21dbccc948ca still in use: Unable to complete operation on network ba3f4194-325d-4f33-90b1-21dbccc948ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f13fe28-4ea7-4d3c-905b-2dd0e1b0f065'] 2026-10-05 12:58:12,383 - WARNING - Deleting VN ctest-vn-69727463 failed..Will retry 2026-10-05 12:58:14,475 - DEBUG - Response for deleting network () 2026-10-05 12:58:14,475 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/84d819f2-7e9e-4e1b-8637-d6840a5d54e0 2026-10-05 12:58:14,481 - DEBUG - Response Code: 404 2026-10-05 12:58:14,482 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 12:58:14,486 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5cc6312-bf1c-48ed-8e93-fab234f39675 2026-10-05 12:58:14,540 - DEBUG - Requesting: http://10.0.0.50:8082/project/98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7 2026-10-05 12:58:14,632 - INFO - Validated that VN ctest-vn-69727463 is not found in API Server 2026-10-05 12:58:14,641 - DEBUG - VN ctest-vn-69727463 is not present in Agent 10.0.0.50 2026-10-05 12:58:14,641 - INFO - Validated that VN ctest-vn-69727463 is not in any agent 2026-10-05 12:58:14,658 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69727463 info 2026-10-05 12:58:14,658 - INFO - Deleting VN ctest-vn-63997741 2026-10-05 12:58:14,785 - DEBUG - Response for deleting network () 2026-10-05 12:58:14,785 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/408c616a-77db-410e-b678-e48692265dd2 2026-10-05 12:58:14,790 - DEBUG - Response Code: 404 2026-10-05 12:58:14,790 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 12:58:14,795 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c5cc6312-bf1c-48ed-8e93-fab234f39675 2026-10-05 12:58:14,847 - DEBUG - Requesting: http://10.0.0.50:8082/project/98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7 2026-10-05 12:58:14,921 - INFO - Validated that VN ctest-vn-63997741 is not found in API Server 2026-10-05 12:58:14,933 - DEBUG - VN ctest-vn-63997741 is not present in Agent 10.0.0.50 2026-10-05 12:58:14,933 - INFO - Validated that VN ctest-vn-63997741 is not in any agent 2026-10-05 12:58:14,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63997741 info 2026-10-05 12:58:15,216 - DEBUG - No XMPP flaps were noticed during the test
2026-10-05 12:58:15,216 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:02]
2026-10-05 12:58:15,217 - INFO - -------------------------------------------------------------------------------- 2026-10-05 12:58:15,936 - INFO - Deleted project: ctest-TestBasicPolicy-54222264, ID : 98ae1e0b-4ec9-4dab-b1e9-d0dedbdb30d7