2025-11-13 11:04:00,942 - INFO - Domain Default found not creating 2025-11-13 11:04:01,118 - INFO - Project ctest-TestBasicPolicy-30295126 not found, creating it 2025-11-13 11:04:01,621 - INFO - Created Project:ctest-TestBasicPolicy-30295126, ID : 3f684e75-6f2f-43c1-9dbd-08708a1a5c89 2025-11-13 11:04:03,168 - INFO - ================================================================================ 2025-11-13 11:04:03,168 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-13 11:04:03,168 - 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-11-13 11:04:03,423 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-13 11:04:03,423 - INFO - Initial checks done. Running the testcase now 2025-11-13 11:04:03,423 - INFO - 2025-11-13 11:04:03,986 - DEBUG - Response for create_network : {'network': {'id': 'cb5f4f96-ed1b-4e1a-b6a5-4cca5c67f832', 'name': 'ctest-vn-04560793', 'tenant_id': '3f684e756f2f43c19dbd08708a1a5c89', 'project_id': '3f684e756f2f43c19dbd08708a1a5c89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30295126', 'ctest-vn-04560793'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 11:04:04,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '57c78b93-421f-4389-9e29-f234b53d477d', 'name': '', 'tenant_id': '3f684e756f2f43c19dbd08708a1a5c89', 'network_id': 'cb5f4f96-ed1b-4e1a-b6a5-4cca5c67f832', 'ip_version': 4, 'cidr': '159.249.229.128/26', 'allocation_pools': [{'start': '159.249.229.130', 'end': '159.249.229.190'}], 'gateway_ip': '159.249.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.249.229.130', 'tags': [], 'project_id': '3f684e756f2f43c19dbd08708a1a5c89'}} 2025-11-13 11:04:04,222 - INFO - Created VN ctest-vn-04560793 2025-11-13 11:04:04,274 - DEBUG - VN ctest-vn-04560793 UUID is cb5f4f96-ed1b-4e1a-b6a5-4cca5c67f832 2025-11-13 11:04:04,557 - DEBUG - Response for create_network : {'network': {'id': '922c93a2-0ba9-4935-83e0-64122ddb0d59', 'name': 'ctest-vn-38260011', 'tenant_id': '3f684e756f2f43c19dbd08708a1a5c89', 'project_id': '3f684e756f2f43c19dbd08708a1a5c89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30295126', 'ctest-vn-38260011'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 11:04:04,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '11d26a8f-3b13-4873-bdb6-3362ef7c833c', 'name': '', 'tenant_id': '3f684e756f2f43c19dbd08708a1a5c89', 'network_id': '922c93a2-0ba9-4935-83e0-64122ddb0d59', 'ip_version': 4, 'cidr': '98.204.154.192/26', 'allocation_pools': [{'start': '98.204.154.194', 'end': '98.204.154.254'}], 'gateway_ip': '98.204.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.204.154.194', 'tags': [], 'project_id': '3f684e756f2f43c19dbd08708a1a5c89'}} 2025-11-13 11:04:04,759 - INFO - Created VN ctest-vn-38260011 2025-11-13 11:04:04,810 - DEBUG - VN ctest-vn-38260011 UUID is 922c93a2-0ba9-4935-83e0-64122ddb0d59 2025-11-13 11:04:04,966 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-04560793, 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-30295126:ctest-vn-38260011, 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-11-13 11:04:05,253 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb5f4f96-ed1b-4e1a-b6a5-4cca5c67f832', 'name': 'ctest-vn-04560793', 'tenant_id': '3f684e756f2f43c19dbd08708a1a5c89', 'project_id': '3f684e756f2f43c19dbd08708a1a5c89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57c78b93-421f-4389-9e29-f234b53d477d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30295126', 'ctest-vn-04560793'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30295126', 'ctest-policy-allow-all-49494052']], 'subnet_ipam': [{'subnet_cidr': '159.249.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 11:04:05,473 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '922c93a2-0ba9-4935-83e0-64122ddb0d59', 'name': 'ctest-vn-38260011', 'tenant_id': '3f684e756f2f43c19dbd08708a1a5c89', 'project_id': '3f684e756f2f43c19dbd08708a1a5c89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11d26a8f-3b13-4873-bdb6-3362ef7c833c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30295126', 'ctest-vn-38260011'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30295126', 'ctest-policy-allow-all-49494052']], 'subnet_ipam': [{'subnet_cidr': '98.204.154.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 11:04:05,630 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 11:04:05,924 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 11:04:05,954 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3921acc6-de55-45a3-ac43-ed1ba5566efa 2025-11-13 11:04:05,966 - DEBUG - Requesting: http://10.0.0.50:8082/project/3f684e75-6f2f-43c1-9dbd-08708a1a5c89 2025-11-13 11:04:06,040 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb5f4f96-ed1b-4e1a-b6a5-4cca5c67f832 2025-11-13 11:04:06,050 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb5f4f96-ed1b-4e1a-b6a5-4cca5c67f832 2025-11-13 11:04:06,059 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e0cabdd6-76f9-4532-82d9-2a5ff7dc64ca 2025-11-13 11:04:06,066 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e0cabdd6-76f9-4532-82d9-2a5ff7dc64ca 2025-11-13 11:04:06,073 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d967002c-6c24-4cf9-a939-c15a45c9cb06 2025-11-13 11:04:06,079 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 11:04:06,079 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb5f4f96-ed1b-4e1a-b6a5-4cca5c67f832 2025-11-13 11:04:06,088 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e0cabdd6-76f9-4532-82d9-2a5ff7dc64ca 2025-11-13 11:04:06,102 - INFO - Verified VN network id 11 for VN cb5f4f96-ed1b-4e1a-b6a5-4cca5c67f832 2025-11-13 11:04:06,102 - INFO - Verifications in API Server for VN ctest-vn-04560793 passed 2025-11-13 11:04:06,102 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb5f4f96-ed1b-4e1a-b6a5-4cca5c67f832 2025-11-13 11:04:06,112 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e0cabdd6-76f9-4532-82d9-2a5ff7dc64ca 2025-11-13 11:04:06,119 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e0cabdd6-76f9-4532-82d9-2a5ff7dc64ca 2025-11-13 11:04:06,125 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d967002c-6c24-4cf9-a939-c15a45c9cb06 2025-11-13 11:04:06,138 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-04560793', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30295126', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14654519222128561690', 'uuid-lslong': '13161009918077564978'}, 'enable': 'true', 'created': '2025-11-13T11:04:03', 'last-modified': '2025-11-13T11:04:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905972'} 2025-11-13 11:04:06,145 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 11:04:06,145 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04560793 passed 2025-11-13 11:04:06,146 - DEBUG - ====Verifying policy data for ctest-vn-04560793 in API_Server ====== 2025-11-13 11:04:06,146 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 11:04:06,151 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3921acc6-de55-45a3-ac43-ed1ba5566efa 2025-11-13 11:04:06,163 - DEBUG - Requesting: http://10.0.0.50:8082/project/3f684e75-6f2f-43c1-9dbd-08708a1a5c89 2025-11-13 11:04:06,229 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cb5f4f96-ed1b-4e1a-b6a5-4cca5c67f832 2025-11-13 11:04:06,238 - DEBUG - ==>Verifying data for policy with id: e3fb2760-2df9-4f03-8f68-9a3b4c8b4a54, fqn: ['default-domain', 'ctest-TestBasicPolicy-30295126', 'ctest-policy-allow-all-49494052'] 2025-11-13 11:04:06,238 - INFO - VN ctest-vn-04560793 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 11:04:06,238 - DEBUG - Verifying the vn in opserver 2025-11-13 11:04:06,238 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-04560793 virtual network link through opserver 10.0.0.50 2025-11-13 11:04:06,238 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-13 11:04:06,532 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-13 11:04:06,592 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-04560793', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-04560793?flat'} 2025-11-13 11:04:06,592 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-04560793 is found in opserver 2025-11-13 11:04:06,602 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 11:04:06,606 - DEBUG - VRF ids for VN ctest-vn-04560793: {} 2025-11-13 11:04:06,606 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 11:04:06,612 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3921acc6-de55-45a3-ac43-ed1ba5566efa 2025-11-13 11:04:06,623 - DEBUG - Requesting: http://10.0.0.50:8082/project/3f684e75-6f2f-43c1-9dbd-08708a1a5c89 2025-11-13 11:04:06,692 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/922c93a2-0ba9-4935-83e0-64122ddb0d59 2025-11-13 11:04:06,702 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/922c93a2-0ba9-4935-83e0-64122ddb0d59 2025-11-13 11:04:06,710 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a248513-c4dd-498f-854c-275bf29b2e05 2025-11-13 11:04:06,717 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a248513-c4dd-498f-854c-275bf29b2e05 2025-11-13 11:04:06,723 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5c7ee2e5-946c-427a-92e4-bd7495cdb2e4 2025-11-13 11:04:06,729 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 11:04:06,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/922c93a2-0ba9-4935-83e0-64122ddb0d59 2025-11-13 11:04:06,736 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a248513-c4dd-498f-854c-275bf29b2e05 2025-11-13 11:04:06,747 - INFO - Verified VN network id 12 for VN 922c93a2-0ba9-4935-83e0-64122ddb0d59 2025-11-13 11:04:06,747 - INFO - Verifications in API Server for VN ctest-vn-38260011 passed 2025-11-13 11:04:06,748 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/922c93a2-0ba9-4935-83e0-64122ddb0d59 2025-11-13 11:04:06,755 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a248513-c4dd-498f-854c-275bf29b2e05 2025-11-13 11:04:06,761 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a248513-c4dd-498f-854c-275bf29b2e05 2025-11-13 11:04:06,767 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5c7ee2e5-946c-427a-92e4-bd7495cdb2e4 2025-11-13 11:04:06,777 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-38260011', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30295126', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10532955952702376245', 'uuid-lslong': '9502705242993266009'}, 'enable': 'true', 'created': '2025-11-13T11:04:04', 'last-modified': '2025-11-13T11:04:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324967'} 2025-11-13 11:04:06,782 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 11:04:06,782 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38260011 passed 2025-11-13 11:04:06,782 - DEBUG - ====Verifying policy data for ctest-vn-38260011 in API_Server ====== 2025-11-13 11:04:06,782 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 11:04:06,787 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3921acc6-de55-45a3-ac43-ed1ba5566efa 2025-11-13 11:04:06,796 - DEBUG - Requesting: http://10.0.0.50:8082/project/3f684e75-6f2f-43c1-9dbd-08708a1a5c89 2025-11-13 11:04:06,863 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/922c93a2-0ba9-4935-83e0-64122ddb0d59 2025-11-13 11:04:06,874 - DEBUG - ==>Verifying data for policy with id: e3fb2760-2df9-4f03-8f68-9a3b4c8b4a54, fqn: ['default-domain', 'ctest-TestBasicPolicy-30295126', 'ctest-policy-allow-all-49494052'] 2025-11-13 11:04:06,874 - INFO - VN ctest-vn-38260011 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 11:04:06,874 - DEBUG - Verifying the vn in opserver 2025-11-13 11:04:06,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-38260011 virtual network link through opserver 10.0.0.50 2025-11-13 11:04:06,874 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-13 11:04:06,883 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-38260011', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-38260011?flat'} 2025-11-13 11:04:06,884 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-38260011 is found in opserver 2025-11-13 11:04:06,892 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 11:04:06,897 - DEBUG - VRF ids for VN ctest-vn-38260011: {} 2025-11-13 11:04:06,955 - DEBUG - Services list from nova: [, , ] 2025-11-13 11:04:07,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4719-1) 2025-11-13 11:04:09,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4719-1) 2025-11-13 11:04:09,142 - INFO - Waiting for VM ctest-TestBasicPolicy-30295126-06692564 to be up.. 2025-11-13 11:04:09,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 11:04:14,288 - DEBUG - VM is in ACTIVE state now 2025-11-13 11:04:14,288 - INFO - VM name : ctest-TestBasicPolicy-30295126-06692564 2025-11-13 11:04:14,358 - DEBUG - VM ctest-TestBasicPolicy-30295126-06692564 ID is c41d29c3-78bc-4888-b602-20dd78fbe09a 2025-11-13 11:04:14,378 - DEBUG - VM ctest-TestBasicPolicy-30295126-06692564 launched on Node cn-jenkins-deploy-platform-ansible-os-4719-1 2025-11-13 11:04:14,452 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c41d29c3-78bc-4888-b602-20dd78fbe09a 2025-11-13 11:04:14,460 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/12533a8f-177c-4ec0-b2be-ca08b26b8722 2025-11-13 11:04:17,716 - 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 1019ms') 2025-11-13 11:04:17,716 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30295126-06692564 failed! 2025-11-13 11:04:17,770 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30295126:ctest-vn-04560793 is 159.249.229.129 and allocation pool is NOT set 2025-11-13 11:04:19,834 - 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=7.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 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 = 2.608/4.995/7.382/2.387 ms') 2025-11-13 11:04:19,834 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30295126-06692564 passed 2025-11-13 11:04:19,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:04:19,994 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30295126-06692564, IP 159.249.229.131, Port 22 2025-11-13 11:04:20,154 - DEBUG - VM ctest-TestBasicPolicy-30295126-06692564 is ready for SSH connections 2025-11-13 11:04:20,154 - INFO - Waiting for VM ctest-TestBasicPolicy-30295126-96846305 to be up.. 2025-11-13 11:04:20,231 - DEBUG - VM is in ACTIVE state now 2025-11-13 11:04:20,231 - INFO - VM name : ctest-TestBasicPolicy-30295126-96846305 2025-11-13 11:04:20,306 - DEBUG - VM ctest-TestBasicPolicy-30295126-96846305 ID is 8c4ad41a-f2bf-494e-8bbc-d9736b350f97 2025-11-13 11:04:20,306 - DEBUG - VM ctest-TestBasicPolicy-30295126-96846305 launched on Node cn-jenkins-deploy-platform-ansible-os-4719-1 2025-11-13 11:04:20,385 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8c4ad41a-f2bf-494e-8bbc-d9736b350f97 2025-11-13 11:04:20,394 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cb43faf3-6e83-4bea-9305-9defd0d556c4 2025-11-13 11:04:21,638 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.525 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.525/1.699/2.873/1.174 ms') 2025-11-13 11:04:21,638 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30295126-96846305 passed 2025-11-13 11:04:21,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:04:21,798 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30295126-96846305, IP 98.204.154.195, Port 22 2025-11-13 11:04:21,957 - DEBUG - VM ctest-TestBasicPolicy-30295126-96846305 is ready for SSH connections 2025-11-13 11:04:21,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:04:21,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.204.154.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 11:04:21,958 - DEBUG - ping -s 56 -c 3 -W 1 98.204.154.195 2025-11-13 11:04:25,973 - DEBUG - PING 98.204.154.195 (98.204.154.195): 56 data bytes 64 bytes from 98.204.154.195: seq=0 ttl=63 time=3.240 ms 64 bytes from 98.204.154.195: seq=1 ttl=63 time=0.897 ms 64 bytes from 98.204.154.195: seq=2 ttl=63 time=0.791 ms --- 98.204.154.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/1.642/3.240 ms 2025-11-13 11:04:25,973 - INFO - Ping to IP 98.204.154.195 from VM ctest-TestBasicPolicy-30295126-06692564 passed 2025-11-13 11:04:26,150 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e3fb2760-2df9-4f03-8f68-9a3b4c8b4a54", "href": "http://10.0.0.50:8082/network-policy/e3fb2760-2df9-4f03-8f68-9a3b4c8b4a54"}} 2025-11-13 11:04:26,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 11:04:26,150 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.204.154.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 11:04:26,150 - DEBUG - ping -s 56 -c 3 -W 1 98.204.154.195 2025-11-13 11:04:29,363 - DEBUG - PING 98.204.154.195 (98.204.154.195): 56 data bytes --- 98.204.154.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 11:04:29,363 - WARNING - Ping to IP 98.204.154.195 from VM ctest-TestBasicPolicy-30295126-06692564 failed 2025-11-13 11:04:29,363 - INFO - Deleting VM ctest-TestBasicPolicy-30295126-96846305 2025-11-13 11:04:29,430 - INFO - Deleting VM ctest-TestBasicPolicy-30295126-06692564 2025-11-13 11:04:29,796 - INFO - Deleted policy ctest-policy-allow-all-49494052 2025-11-13 11:04:29,796 - INFO - Deleting VN ctest-vn-38260011 2025-11-13 11:04:29,843 - DEBUG - VN 922c93a2-0ba9-4935-83e0-64122ddb0d59 still in use: Unable to complete operation on network 922c93a2-0ba9-4935-83e0-64122ddb0d59. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd33e8e6-4273-40ac-b772-abb63dcee62d'] 2025-11-13 11:04:29,844 - WARNING - Deleting VN ctest-vn-38260011 failed..Will retry 2025-11-13 11:04:31,941 - DEBUG - Response for deleting network () 2025-11-13 11:04:31,941 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1a248513-c4dd-498f-854c-275bf29b2e05 2025-11-13 11:04:31,949 - DEBUG - Response Code: 404 2025-11-13 11:04:31,949 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 11:04:31,954 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3921acc6-de55-45a3-ac43-ed1ba5566efa 2025-11-13 11:04:32,011 - DEBUG - Requesting: http://10.0.0.50:8082/project/3f684e75-6f2f-43c1-9dbd-08708a1a5c89 2025-11-13 11:04:32,081 - INFO - Validated that VN ctest-vn-38260011 is not found in API Server 2025-11-13 11:04:32,091 - DEBUG - VN ctest-vn-38260011 is not present in Agent 10.0.0.50 2025-11-13 11:04:32,091 - INFO - Validated that VN ctest-vn-38260011 is not in any agent 2025-11-13 11:04:32,107 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38260011 info 2025-11-13 11:04:32,107 - INFO - Deleting VN ctest-vn-04560793 2025-11-13 11:04:32,203 - DEBUG - Response for deleting network () 2025-11-13 11:04:32,203 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e0cabdd6-76f9-4532-82d9-2a5ff7dc64ca 2025-11-13 11:04:32,207 - DEBUG - Response Code: 404 2025-11-13 11:04:32,207 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 11:04:32,216 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3921acc6-de55-45a3-ac43-ed1ba5566efa 2025-11-13 11:04:32,267 - DEBUG - Requesting: http://10.0.0.50:8082/project/3f684e75-6f2f-43c1-9dbd-08708a1a5c89 2025-11-13 11:04:32,342 - INFO - Validated that VN ctest-vn-04560793 is not found in API Server 2025-11-13 11:04:32,351 - DEBUG - VN ctest-vn-04560793 is not present in Agent 10.0.0.50 2025-11-13 11:04:32,351 - INFO - Validated that VN ctest-vn-04560793 is not in any agent 2025-11-13 11:04:32,364 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04560793 info 2025-11-13 11:04:32,620 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 11:04:32,620 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-13 11:04:32,620 - INFO - -------------------------------------------------------------------------------- 2025-11-13 11:04:33,316 - INFO - Deleted project: ctest-TestBasicPolicy-30295126, ID : 3f684e75-6f2f-43c1-9dbd-08708a1a5c89