2025-10-20 02:05:45,708 - INFO - Domain Default found not creating 2025-10-20 02:05:45,842 - INFO - Project ctest-TestBasicPolicy-73412062 not found, creating it 2025-10-20 02:05:46,266 - INFO - Created Project:ctest-TestBasicPolicy-73412062, ID : 00767c5a-ecda-4700-92a0-4eddab9af7a4 2025-10-20 02:05:47,636 - INFO - ================================================================================ 2025-10-20 02:05:47,636 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-20 02:05:47,636 - 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-10-20 02:05:47,891 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-10-20 02:05:47,891 - INFO - Initial checks done. Running the testcase now 2025-10-20 02:05:47,892 - INFO - 2025-10-20 02:05:48,417 - DEBUG - Response for create_network : {'network': {'id': 'a92cc73f-b8a2-40ba-910a-56ff868adc71', 'name': 'ctest-vn-14711103', 'tenant_id': '00767c5aecda470092a04eddab9af7a4', 'project_id': '00767c5aecda470092a04eddab9af7a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73412062', 'ctest-vn-14711103'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:05:48,576 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f940c593-f03d-4ed8-a504-42e3f348a2fc', 'name': '', 'tenant_id': '00767c5aecda470092a04eddab9af7a4', 'network_id': 'a92cc73f-b8a2-40ba-910a-56ff868adc71', 'ip_version': 4, 'cidr': '83.36.8.0/26', 'allocation_pools': [{'start': '83.36.8.2', 'end': '83.36.8.62'}], 'gateway_ip': '83.36.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.36.8.2', 'tags': [], 'project_id': '00767c5aecda470092a04eddab9af7a4'}} 2025-10-20 02:05:48,591 - INFO - Created VN ctest-vn-14711103 2025-10-20 02:05:48,641 - DEBUG - VN ctest-vn-14711103 UUID is a92cc73f-b8a2-40ba-910a-56ff868adc71 2025-10-20 02:05:48,956 - DEBUG - Response for create_network : {'network': {'id': 'fd63178f-85d4-4242-bd31-d4593ab4da34', 'name': 'ctest-vn-24058238', 'tenant_id': '00767c5aecda470092a04eddab9af7a4', 'project_id': '00767c5aecda470092a04eddab9af7a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73412062', 'ctest-vn-24058238'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:05:49,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '058ef3e1-ccd7-41f8-b00f-ea0085093e14', 'name': '', 'tenant_id': '00767c5aecda470092a04eddab9af7a4', 'network_id': 'fd63178f-85d4-4242-bd31-d4593ab4da34', 'ip_version': 4, 'cidr': '197.213.196.64/26', 'allocation_pools': [{'start': '197.213.196.66', 'end': '197.213.196.126'}], 'gateway_ip': '197.213.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.213.196.66', 'tags': [], 'project_id': '00767c5aecda470092a04eddab9af7a4'}} 2025-10-20 02:05:49,115 - INFO - Created VN ctest-vn-24058238 2025-10-20 02:05:49,165 - DEBUG - VN ctest-vn-24058238 UUID is fd63178f-85d4-4242-bd31-d4593ab4da34 2025-10-20 02:05:49,309 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-14711103, 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-73412062:ctest-vn-24058238, 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-10-20 02:05:49,600 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a92cc73f-b8a2-40ba-910a-56ff868adc71', 'name': 'ctest-vn-14711103', 'tenant_id': '00767c5aecda470092a04eddab9af7a4', 'project_id': '00767c5aecda470092a04eddab9af7a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f940c593-f03d-4ed8-a504-42e3f348a2fc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73412062', 'ctest-vn-14711103'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73412062', 'ctest-policy-allow-all-06329321']], 'subnet_ipam': [{'subnet_cidr': '83.36.8.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:05:49,880 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd63178f-85d4-4242-bd31-d4593ab4da34', 'name': 'ctest-vn-24058238', 'tenant_id': '00767c5aecda470092a04eddab9af7a4', 'project_id': '00767c5aecda470092a04eddab9af7a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['058ef3e1-ccd7-41f8-b00f-ea0085093e14'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73412062', 'ctest-vn-24058238'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73412062', 'ctest-policy-allow-all-06329321']], 'subnet_ipam': [{'subnet_cidr': '197.213.196.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:05:50,021 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-20 02:05:50,321 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-20 02:05:50,347 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b547f689-b287-4f5c-9c91-ceecdf9ff979 2025-10-20 02:05:50,358 - DEBUG - Requesting: http://10.0.0.56:8082/project/00767c5a-ecda-4700-92a0-4eddab9af7a4 2025-10-20 02:05:50,427 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/a92cc73f-b8a2-40ba-910a-56ff868adc71 2025-10-20 02:05:50,435 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/a92cc73f-b8a2-40ba-910a-56ff868adc71 2025-10-20 02:05:50,442 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d2017b59-cfa7-46dd-a0db-12d50b1ee527 2025-10-20 02:05:50,448 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d2017b59-cfa7-46dd-a0db-12d50b1ee527 2025-10-20 02:05:50,454 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/215e9e73-99b3-4554-baa6-519a2f48bf29 2025-10-20 02:05:50,459 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 02:05:50,459 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/a92cc73f-b8a2-40ba-910a-56ff868adc71 2025-10-20 02:05:50,466 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d2017b59-cfa7-46dd-a0db-12d50b1ee527 2025-10-20 02:05:50,477 - INFO - Verified VN network id 11 for VN a92cc73f-b8a2-40ba-910a-56ff868adc71 2025-10-20 02:05:50,477 - INFO - Verifications in API Server for VN ctest-vn-14711103 passed 2025-10-20 02:05:50,477 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/a92cc73f-b8a2-40ba-910a-56ff868adc71 2025-10-20 02:05:50,484 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d2017b59-cfa7-46dd-a0db-12d50b1ee527 2025-10-20 02:05:50,489 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d2017b59-cfa7-46dd-a0db-12d50b1ee527 2025-10-20 02:05:50,494 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/215e9e73-99b3-4554-baa6-519a2f48bf29 2025-10-20 02:05:50,504 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-14711103', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73412062', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12190337367879598266', 'uuid-lslong': '10451261540740553841'}, 'enable': 'true', 'created': '2025-10-20T02:05:48', 'last-modified': '2025-10-20T02:05:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930042'} 2025-10-20 02:05:50,508 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 02:05:50,508 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14711103 passed 2025-10-20 02:05:50,509 - DEBUG - ====Verifying policy data for ctest-vn-14711103 in API_Server ====== 2025-10-20 02:05:50,509 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-20 02:05:50,512 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b547f689-b287-4f5c-9c91-ceecdf9ff979 2025-10-20 02:05:50,521 - DEBUG - Requesting: http://10.0.0.56:8082/project/00767c5a-ecda-4700-92a0-4eddab9af7a4 2025-10-20 02:05:50,587 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/a92cc73f-b8a2-40ba-910a-56ff868adc71 2025-10-20 02:05:50,595 - DEBUG - ==>Verifying data for policy with id: 765a89d3-cc86-462b-bad9-789a407b1346, fqn: ['default-domain', 'ctest-TestBasicPolicy-73412062', 'ctest-policy-allow-all-06329321'] 2025-10-20 02:05:50,595 - INFO - VN ctest-vn-14711103 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 02:05:50,595 - DEBUG - Verifying the vn in opserver 2025-10-20 02:05:50,595 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-14711103 virtual network link through opserver 10.0.0.56 2025-10-20 02:05:50,595 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-10-20 02:05:50,885 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-10-20 02:05:50,936 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-14711103', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-14711103?flat'} 2025-10-20 02:05:50,936 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-14711103 is found in opserver 2025-10-20 02:05:50,945 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 02:05:50,949 - DEBUG - VRF ids for VN ctest-vn-14711103: {} 2025-10-20 02:05:50,949 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-20 02:05:50,954 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b547f689-b287-4f5c-9c91-ceecdf9ff979 2025-10-20 02:05:50,963 - DEBUG - Requesting: http://10.0.0.56:8082/project/00767c5a-ecda-4700-92a0-4eddab9af7a4 2025-10-20 02:05:51,028 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/fd63178f-85d4-4242-bd31-d4593ab4da34 2025-10-20 02:05:51,038 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/fd63178f-85d4-4242-bd31-d4593ab4da34 2025-10-20 02:05:51,046 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/4a42749e-f91b-4d38-8119-aee09dcc44cd 2025-10-20 02:05:51,052 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/4a42749e-f91b-4d38-8119-aee09dcc44cd 2025-10-20 02:05:51,058 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/d2e897cb-bae3-4d86-87ee-5ef1d6730b67 2025-10-20 02:05:51,063 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 02:05:51,063 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/fd63178f-85d4-4242-bd31-d4593ab4da34 2025-10-20 02:05:51,073 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/4a42749e-f91b-4d38-8119-aee09dcc44cd 2025-10-20 02:05:51,085 - INFO - Verified VN network id 12 for VN fd63178f-85d4-4242-bd31-d4593ab4da34 2025-10-20 02:05:51,085 - INFO - Verifications in API Server for VN ctest-vn-24058238 passed 2025-10-20 02:05:51,085 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/fd63178f-85d4-4242-bd31-d4593ab4da34 2025-10-20 02:05:51,093 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/4a42749e-f91b-4d38-8119-aee09dcc44cd 2025-10-20 02:05:51,100 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/4a42749e-f91b-4d38-8119-aee09dcc44cd 2025-10-20 02:05:51,105 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/d2e897cb-bae3-4d86-87ee-5ef1d6730b67 2025-10-20 02:05:51,117 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-24058238', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73412062', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18258463219483165250', 'uuid-lslong': '13632911026729310772'}, 'enable': 'true', 'created': '2025-10-20T02:05:48', 'last-modified': '2025-10-20T02:05:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.303527'} 2025-10-20 02:05:51,123 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 02:05:51,123 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24058238 passed 2025-10-20 02:05:51,123 - DEBUG - ====Verifying policy data for ctest-vn-24058238 in API_Server ====== 2025-10-20 02:05:51,123 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-20 02:05:51,128 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b547f689-b287-4f5c-9c91-ceecdf9ff979 2025-10-20 02:05:51,138 - DEBUG - Requesting: http://10.0.0.56:8082/project/00767c5a-ecda-4700-92a0-4eddab9af7a4 2025-10-20 02:05:51,225 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/fd63178f-85d4-4242-bd31-d4593ab4da34 2025-10-20 02:05:51,234 - DEBUG - ==>Verifying data for policy with id: 765a89d3-cc86-462b-bad9-789a407b1346, fqn: ['default-domain', 'ctest-TestBasicPolicy-73412062', 'ctest-policy-allow-all-06329321'] 2025-10-20 02:05:51,234 - INFO - VN ctest-vn-24058238 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 02:05:51,234 - DEBUG - Verifying the vn in opserver 2025-10-20 02:05:51,234 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-24058238 virtual network link through opserver 10.0.0.56 2025-10-20 02:05:51,234 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-10-20 02:05:51,244 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-24058238', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-24058238?flat'} 2025-10-20 02:05:51,244 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-24058238 is found in opserver 2025-10-20 02:05:51,254 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 02:05:51,258 - DEBUG - VRF ids for VN ctest-vn-24058238: {} 2025-10-20 02:05:51,323 - DEBUG - Services list from nova: [, , ] 2025-10-20 02:05:52,352 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4369-1) 2025-10-20 02:05:53,476 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4369-1) 2025-10-20 02:05:53,477 - INFO - Waiting for VM ctest-TestBasicPolicy-73412062-23189149 to be up.. 2025-10-20 02:05:53,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 02:05:58,625 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:05:58,625 - INFO - VM name : ctest-TestBasicPolicy-73412062-23189149 2025-10-20 02:05:58,709 - DEBUG - VM ctest-TestBasicPolicy-73412062-23189149 ID is 0f958cc1-2692-4ea9-8408-c10e8f384f56 2025-10-20 02:05:58,732 - DEBUG - VM ctest-TestBasicPolicy-73412062-23189149 launched on Node cn-jenkins-deploy-platform-ansible-os-4369-1 2025-10-20 02:05:58,805 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/0f958cc1-2692-4ea9-8408-c10e8f384f56 2025-10-20 02:05:58,813 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/88eb14e6-6d48-418c-a3de-41b351d35749 2025-10-20 02:06:02,052 - 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 1007ms') 2025-10-20 02:06:02,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73412062-23189149 failed! 2025-10-20 02:06:02,105 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73412062:ctest-vn-14711103 is 83.36.8.1 and allocation pool is NOT set 2025-10-20 02:06:04,172 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.984 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.984/2.428/3.872/1.444 ms') 2025-10-20 02:06:04,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73412062-23189149 passed 2025-10-20 02:06:04,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:06:04,321 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73412062-23189149, IP 83.36.8.3, Port 22 2025-10-20 02:06:04,495 - DEBUG - VM ctest-TestBasicPolicy-73412062-23189149 is ready for SSH connections 2025-10-20 02:06:04,495 - INFO - Waiting for VM ctest-TestBasicPolicy-73412062-85523144 to be up.. 2025-10-20 02:06:04,572 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:06:04,572 - INFO - VM name : ctest-TestBasicPolicy-73412062-85523144 2025-10-20 02:06:04,655 - DEBUG - VM ctest-TestBasicPolicy-73412062-85523144 ID is c0195b05-55e0-4589-af44-cab448f409b9 2025-10-20 02:06:04,655 - DEBUG - VM ctest-TestBasicPolicy-73412062-85523144 launched on Node cn-jenkins-deploy-platform-ansible-os-4369-1 2025-10-20 02:06:04,728 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/c0195b05-55e0-4589-af44-cab448f409b9 2025-10-20 02:06:04,736 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/7d2cd3da-e49f-4e9b-b119-9dbb9afcd925 2025-10-20 02:06:05,993 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.354 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.354/1.498/2.643/1.144 ms') 2025-10-20 02:06:05,993 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73412062-85523144 passed 2025-10-20 02:06:06,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:06:06,145 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73412062-85523144, IP 197.213.196.67, Port 22 2025-10-20 02:06:06,301 - DEBUG - VM ctest-TestBasicPolicy-73412062-85523144 is ready for SSH connections 2025-10-20 02:06:06,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:06:06,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.213.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-10-20 02:06:06,301 - DEBUG - ping -s 56 -c 3 -W 1 197.213.196.67 2025-10-20 02:06:10,320 - DEBUG - PING 197.213.196.67 (197.213.196.67): 56 data bytes 64 bytes from 197.213.196.67: seq=0 ttl=63 time=4.607 ms 64 bytes from 197.213.196.67: seq=1 ttl=63 time=1.201 ms 64 bytes from 197.213.196.67: seq=2 ttl=63 time=0.989 ms --- 197.213.196.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.989/2.265/4.607 ms 2025-10-20 02:06:10,320 - INFO - Ping to IP 197.213.196.67 from VM ctest-TestBasicPolicy-73412062-23189149 passed 2025-10-20 02:06:10,489 - DEBUG - Policy Update Response {"network-policy": {"uuid": "765a89d3-cc86-462b-bad9-789a407b1346", "href": "http://10.0.0.56:8082/network-policy/765a89d3-cc86-462b-bad9-789a407b1346"}} 2025-10-20 02:06:10,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:06:10,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.213.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-10-20 02:06:10,489 - DEBUG - ping -s 56 -c 3 -W 1 197.213.196.67 2025-10-20 02:06:13,690 - DEBUG - PING 197.213.196.67 (197.213.196.67): 56 data bytes --- 197.213.196.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 02:06:13,691 - WARNING - Ping to IP 197.213.196.67 from VM ctest-TestBasicPolicy-73412062-23189149 failed 2025-10-20 02:06:13,691 - INFO - Deleting VM ctest-TestBasicPolicy-73412062-85523144 2025-10-20 02:06:13,757 - INFO - Deleting VM ctest-TestBasicPolicy-73412062-23189149 2025-10-20 02:06:14,109 - INFO - Deleted policy ctest-policy-allow-all-06329321 2025-10-20 02:06:14,109 - INFO - Deleting VN ctest-vn-24058238 2025-10-20 02:06:14,138 - DEBUG - VN fd63178f-85d4-4242-bd31-d4593ab4da34 still in use: Unable to complete operation on network fd63178f-85d4-4242-bd31-d4593ab4da34. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c95107e-4145-4b55-9de5-fba5347f7cc2'] 2025-10-20 02:06:14,138 - WARNING - Deleting VN ctest-vn-24058238 failed..Will retry 2025-10-20 02:06:16,234 - DEBUG - Response for deleting network () 2025-10-20 02:06:16,234 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/4a42749e-f91b-4d38-8119-aee09dcc44cd 2025-10-20 02:06:16,238 - DEBUG - Response Code: 404 2025-10-20 02:06:16,238 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-20 02:06:16,243 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b547f689-b287-4f5c-9c91-ceecdf9ff979 2025-10-20 02:06:16,294 - DEBUG - Requesting: http://10.0.0.56:8082/project/00767c5a-ecda-4700-92a0-4eddab9af7a4 2025-10-20 02:06:16,363 - INFO - Validated that VN ctest-vn-24058238 is not found in API Server 2025-10-20 02:06:16,371 - DEBUG - VN ctest-vn-24058238 is not present in Agent 10.0.0.56 2025-10-20 02:06:16,371 - INFO - Validated that VN ctest-vn-24058238 is not in any agent 2025-10-20 02:06:16,382 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24058238 info 2025-10-20 02:06:16,383 - INFO - Deleting VN ctest-vn-14711103 2025-10-20 02:06:16,486 - DEBUG - Response for deleting network () 2025-10-20 02:06:16,486 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/d2017b59-cfa7-46dd-a0db-12d50b1ee527 2025-10-20 02:06:16,491 - DEBUG - Response Code: 404 2025-10-20 02:06:16,491 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-10-20 02:06:16,495 - DEBUG - Requesting: http://10.0.0.56:8082/domain/b547f689-b287-4f5c-9c91-ceecdf9ff979 2025-10-20 02:06:16,546 - DEBUG - Requesting: http://10.0.0.56:8082/project/00767c5a-ecda-4700-92a0-4eddab9af7a4 2025-10-20 02:06:16,614 - INFO - Validated that VN ctest-vn-14711103 is not found in API Server 2025-10-20 02:06:16,622 - DEBUG - VN ctest-vn-14711103 is not present in Agent 10.0.0.56 2025-10-20 02:06:16,622 - INFO - Validated that VN ctest-vn-14711103 is not in any agent 2025-10-20 02:06:16,634 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14711103 info 2025-10-20 02:06:16,886 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 02:06:16,886 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-20 02:06:16,886 - INFO - -------------------------------------------------------------------------------- 2025-10-20 02:06:17,554 - INFO - Deleted project: ctest-TestBasicPolicy-73412062, ID : 00767c5a-ecda-4700-92a0-4eddab9af7a4