2025-06-25 10:00:30,432 - INFO - Domain Default found not creating 2025-06-25 10:00:30,566 - INFO - Project ctest-TestBasicPolicy-38414083 not found, creating it 2025-06-25 10:00:31,012 - INFO - Created Project:ctest-TestBasicPolicy-38414083, ID : cb682838-eac7-4d9c-a0dc-5077fc2db3ec 2025-06-25 10:00:32,399 - INFO - ================================================================================ 2025-06-25 10:00:32,399 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-25 10:00:32,399 - 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-25 10:00:32,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-06-25 10:00:32,657 - INFO - Initial checks done. Running the testcase now 2025-06-25 10:00:32,657 - INFO - 2025-06-25 10:00:33,199 - DEBUG - Response for create_network : {'network': {'id': 'f4238e86-9c16-48ad-9976-5fb38f894ee7', 'name': 'ctest-vn-66369638', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-vn-66369638'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 10:00:33,364 - DEBUG - Response for create_subnet : {'subnet': {'id': '88299482-238c-406f-84fc-b35f48abcc1c', 'name': '', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'network_id': 'f4238e86-9c16-48ad-9976-5fb38f894ee7', 'ip_version': 4, 'cidr': '143.219.176.192/26', 'allocation_pools': [{'start': '143.219.176.194', 'end': '143.219.176.254'}], 'gateway_ip': '143.219.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.219.176.194', 'tags': [], 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec'}} 2025-06-25 10:00:33,384 - INFO - Created VN ctest-vn-66369638 2025-06-25 10:00:33,439 - DEBUG - VN ctest-vn-66369638 UUID is f4238e86-9c16-48ad-9976-5fb38f894ee7 2025-06-25 10:00:33,745 - DEBUG - Response for create_network : {'network': {'id': 'abef5f6d-f399-4101-ba74-397068ef214b', 'name': 'ctest-vn-10567057', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-vn-10567057'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 10:00:33,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e605e47-0e98-4f3f-bca2-66dfa6d01a9d', 'name': '', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'network_id': 'abef5f6d-f399-4101-ba74-397068ef214b', 'ip_version': 4, 'cidr': '77.127.215.0/26', 'allocation_pools': [{'start': '77.127.215.2', 'end': '77.127.215.62'}], 'gateway_ip': '77.127.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.127.215.2', 'tags': [], 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec'}} 2025-06-25 10:00:33,925 - INFO - Created VN ctest-vn-10567057 2025-06-25 10:00:33,979 - DEBUG - VN ctest-vn-10567057 UUID is abef5f6d-f399-4101-ba74-397068ef214b 2025-06-25 10:00:34,091 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638, 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-38414083:ctest-vn-10567057, 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-25 10:00:34,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4238e86-9c16-48ad-9976-5fb38f894ee7', 'name': 'ctest-vn-66369638', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['88299482-238c-406f-84fc-b35f48abcc1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-vn-66369638'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-policy-allow-all-91903072']], 'subnet_ipam': [{'subnet_cidr': '143.219.176.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 10:00:34,671 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abef5f6d-f399-4101-ba74-397068ef214b', 'name': 'ctest-vn-10567057', 'tenant_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'project_id': 'cb682838eac74d9ca0dc5077fc2db3ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e605e47-0e98-4f3f-bca2-66dfa6d01a9d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-vn-10567057'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-policy-allow-all-91903072']], 'subnet_ipam': [{'subnet_cidr': '77.127.215.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 10:00:34,823 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-25 10:00:35,119 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-25 10:00:35,145 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4791c714-9681-4975-b6fd-100d78d186be 2025-06-25 10:00:35,158 - DEBUG - Requesting: http://10.0.0.19:8082/project/cb682838-eac7-4d9c-a0dc-5077fc2db3ec 2025-06-25 10:00:35,232 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f4238e86-9c16-48ad-9976-5fb38f894ee7 2025-06-25 10:00:35,243 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f4238e86-9c16-48ad-9976-5fb38f894ee7 2025-06-25 10:00:35,253 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0 2025-06-25 10:00:35,260 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0 2025-06-25 10:00:35,266 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9ff5b36c-928a-4aa6-888d-491c6560e93f 2025-06-25 10:00:35,272 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 10:00:35,273 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f4238e86-9c16-48ad-9976-5fb38f894ee7 2025-06-25 10:00:35,281 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0 2025-06-25 10:00:35,294 - INFO - Verified VN network id 8 for VN f4238e86-9c16-48ad-9976-5fb38f894ee7 2025-06-25 10:00:35,295 - INFO - Verifications in API Server for VN ctest-vn-66369638 passed 2025-06-25 10:00:35,295 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f4238e86-9c16-48ad-9976-5fb38f894ee7 2025-06-25 10:00:35,304 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0 2025-06-25 10:00:35,311 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0 2025-06-25 10:00:35,318 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9ff5b36c-928a-4aa6-888d-491c6560e93f 2025-06-25 10:00:35,330 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38414083', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17592061278234757293', 'uuid-lslong': '11058131159866756839'}, 'enable': 'true', 'created': '2025-06-25T10:00:33', 'last-modified': '2025-06-25T10:00:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.963339'} 2025-06-25 10:00:35,336 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 10:00:35,336 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66369638 passed 2025-06-25 10:00:35,337 - DEBUG - ====Verifying policy data for ctest-vn-66369638 in API_Server ====== 2025-06-25 10:00:35,337 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-25 10:00:35,343 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4791c714-9681-4975-b6fd-100d78d186be 2025-06-25 10:00:35,355 - DEBUG - Requesting: http://10.0.0.19:8082/project/cb682838-eac7-4d9c-a0dc-5077fc2db3ec 2025-06-25 10:00:35,429 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f4238e86-9c16-48ad-9976-5fb38f894ee7 2025-06-25 10:00:35,440 - DEBUG - ==>Verifying data for policy with id: 08674ba7-3391-4cee-823c-b81f27d677aa, fqn: ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-policy-allow-all-91903072'] 2025-06-25 10:00:35,440 - INFO - VN ctest-vn-66369638 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 10:00:35,440 - DEBUG - Verifying the vn in opserver 2025-06-25 10:00:35,441 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638 virtual network link through opserver 10.0.0.19 2025-06-25 10:00:35,441 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-25 10:00:35,731 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-25 10:00:35,784 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638?flat'} 2025-06-25 10:00:35,784 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638 is found in opserver 2025-06-25 10:00:35,795 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 10:00:35,801 - DEBUG - VRF ids for VN ctest-vn-66369638: {} 2025-06-25 10:00:35,801 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-25 10:00:35,807 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4791c714-9681-4975-b6fd-100d78d186be 2025-06-25 10:00:35,819 - DEBUG - Requesting: http://10.0.0.19:8082/project/cb682838-eac7-4d9c-a0dc-5077fc2db3ec 2025-06-25 10:00:35,887 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/abef5f6d-f399-4101-ba74-397068ef214b 2025-06-25 10:00:35,900 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/abef5f6d-f399-4101-ba74-397068ef214b 2025-06-25 10:00:35,912 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48 2025-06-25 10:00:35,921 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48 2025-06-25 10:00:35,929 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e7934a47-9e85-4315-8655-6a2975ead0ba 2025-06-25 10:00:35,936 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 10:00:35,936 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/abef5f6d-f399-4101-ba74-397068ef214b 2025-06-25 10:00:35,945 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48 2025-06-25 10:00:35,960 - INFO - Verified VN network id 9 for VN abef5f6d-f399-4101-ba74-397068ef214b 2025-06-25 10:00:35,960 - INFO - Verifications in API Server for VN ctest-vn-10567057 passed 2025-06-25 10:00:35,961 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/abef5f6d-f399-4101-ba74-397068ef214b 2025-06-25 10:00:35,971 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48 2025-06-25 10:00:35,979 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48 2025-06-25 10:00:35,986 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e7934a47-9e85-4315-8655-6a2975ead0ba 2025-06-25 10:00:35,999 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-10567057', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38414083', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12389226025762504961', 'uuid-lslong': '13435426743312654667'}, 'enable': 'true', 'created': '2025-06-25T10:00:33', 'last-modified': '2025-06-25T10:00:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398285'} 2025-06-25 10:00:36,007 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 10:00:36,007 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10567057 passed 2025-06-25 10:00:36,007 - DEBUG - ====Verifying policy data for ctest-vn-10567057 in API_Server ====== 2025-06-25 10:00:36,007 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-25 10:00:36,013 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4791c714-9681-4975-b6fd-100d78d186be 2025-06-25 10:00:36,026 - DEBUG - Requesting: http://10.0.0.19:8082/project/cb682838-eac7-4d9c-a0dc-5077fc2db3ec 2025-06-25 10:00:36,102 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/abef5f6d-f399-4101-ba74-397068ef214b 2025-06-25 10:00:36,112 - DEBUG - ==>Verifying data for policy with id: 08674ba7-3391-4cee-823c-b81f27d677aa, fqn: ['default-domain', 'ctest-TestBasicPolicy-38414083', 'ctest-policy-allow-all-91903072'] 2025-06-25 10:00:36,112 - INFO - VN ctest-vn-10567057 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 10:00:36,112 - DEBUG - Verifying the vn in opserver 2025-06-25 10:00:36,113 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-10567057 virtual network link through opserver 10.0.0.19 2025-06-25 10:00:36,113 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-25 10:00:36,123 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-10567057', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-10567057?flat'} 2025-06-25 10:00:36,123 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-10567057 is found in opserver 2025-06-25 10:00:36,134 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 10:00:36,139 - DEBUG - VRF ids for VN ctest-vn-10567057: {} 2025-06-25 10:00:36,194 - DEBUG - Services list from nova: [, , ] 2025-06-25 10:00:37,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3546-1) 2025-06-25 10:00:38,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3546-1) 2025-06-25 10:00:38,443 - INFO - Waiting for VM ctest-TestBasicPolicy-38414083-67807462 to be up.. 2025-06-25 10:00:38,523 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 10:00:43,596 - DEBUG - VM is in ACTIVE state now 2025-06-25 10:00:43,596 - INFO - VM name : ctest-TestBasicPolicy-38414083-67807462 2025-06-25 10:00:43,672 - DEBUG - VM ctest-TestBasicPolicy-38414083-67807462 ID is 43b23eda-0791-4410-80a4-a884c47dd0a3 2025-06-25 10:00:43,701 - DEBUG - VM ctest-TestBasicPolicy-38414083-67807462 launched on Node cn-jenkins-deploy-platform-ansible-os-3546-1 2025-06-25 10:00:43,775 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/43b23eda-0791-4410-80a4-a884c47dd0a3 2025-06-25 10:00:43,784 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/bf4a00a7-fd4e-4a9f-8c1a-98fb37204976 2025-06-25 10:00:47,033 - 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-06-25 10:00:47,033 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38414083-67807462 failed! 2025-06-25 10:00:47,087 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38414083:ctest-vn-66369638 is 143.219.176.193 and allocation pool is NOT set 2025-06-25 10:00:49,145 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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.442/1.592/2.742/1.150 ms') 2025-06-25 10:00:49,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38414083-67807462 passed 2025-06-25 10:00:49,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 10:00:49,295 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38414083-67807462, IP 143.219.176.195, Port 22 2025-06-25 10:00:49,451 - DEBUG - VM ctest-TestBasicPolicy-38414083-67807462 is ready for SSH connections 2025-06-25 10:00:49,451 - INFO - Waiting for VM ctest-TestBasicPolicy-38414083-02901565 to be up.. 2025-06-25 10:00:49,531 - DEBUG - VM is in ACTIVE state now 2025-06-25 10:00:49,531 - INFO - VM name : ctest-TestBasicPolicy-38414083-02901565 2025-06-25 10:00:49,606 - DEBUG - VM ctest-TestBasicPolicy-38414083-02901565 ID is 072fbc0d-8217-4de7-8cd1-6e90fc64e9ca 2025-06-25 10:00:49,606 - DEBUG - VM ctest-TestBasicPolicy-38414083-02901565 launched on Node cn-jenkins-deploy-platform-ansible-os-3546-1 2025-06-25 10:00:49,676 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/072fbc0d-8217-4de7-8cd1-6e90fc64e9ca 2025-06-25 10:00:49,684 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b8f14e02-a09b-4f5a-85e1-b609b6b17d95 2025-06-25 10:00:50,932 - 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=4.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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 = 1.074/2.963/4.853/1.889 ms') 2025-06-25 10:00:50,932 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38414083-02901565 passed 2025-06-25 10:00:51,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 10:00:51,083 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38414083-02901565, IP 77.127.215.3, Port 22 2025-06-25 10:00:51,235 - DEBUG - VM ctest-TestBasicPolicy-38414083-02901565 is ready for SSH connections 2025-06-25 10:00:51,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 10:00:51,235 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.127.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-25 10:00:51,235 - DEBUG - ping -s 56 -c 3 -W 1 77.127.215.3 2025-06-25 10:00:54,912 - DEBUG - PING 77.127.215.3 (77.127.215.3): 56 data bytes 64 bytes from 77.127.215.3: seq=0 ttl=63 time=4.199 ms 64 bytes from 77.127.215.3: seq=1 ttl=63 time=0.821 ms 64 bytes from 77.127.215.3: seq=2 ttl=63 time=0.721 ms --- 77.127.215.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.721/1.913/4.199 ms 2025-06-25 10:00:54,912 - INFO - Ping to IP 77.127.215.3 from VM ctest-TestBasicPolicy-38414083-67807462 passed 2025-06-25 10:00:55,087 - DEBUG - Policy Update Response {"network-policy": {"uuid": "08674ba7-3391-4cee-823c-b81f27d677aa", "href": "http://10.0.0.19:8082/network-policy/08674ba7-3391-4cee-823c-b81f27d677aa"}} 2025-06-25 10:00:55,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 10:00:55,087 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.127.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-25 10:00:55,087 - DEBUG - ping -s 56 -c 3 -W 1 77.127.215.3 2025-06-25 10:00:58,307 - DEBUG - PING 77.127.215.3 (77.127.215.3): 56 data bytes --- 77.127.215.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-25 10:00:58,308 - WARNING - Ping to IP 77.127.215.3 from VM ctest-TestBasicPolicy-38414083-67807462 failed 2025-06-25 10:00:58,308 - INFO - Deleting VM ctest-TestBasicPolicy-38414083-02901565 2025-06-25 10:00:58,409 - INFO - Deleting VM ctest-TestBasicPolicy-38414083-67807462 2025-06-25 10:00:58,823 - INFO - Deleted policy ctest-policy-allow-all-91903072 2025-06-25 10:00:58,824 - INFO - Deleting VN ctest-vn-10567057 2025-06-25 10:00:58,857 - DEBUG - VN abef5f6d-f399-4101-ba74-397068ef214b still in use: Unable to complete operation on network abef5f6d-f399-4101-ba74-397068ef214b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38cb6d2a-93bd-4281-b4cc-f6f6fa7f8957'] 2025-06-25 10:00:58,857 - WARNING - Deleting VN ctest-vn-10567057 failed..Will retry 2025-06-25 10:01:00,976 - DEBUG - Response for deleting network () 2025-06-25 10:01:00,977 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/da42f9ab-c8e4-4244-861e-235ef2bc0d48 2025-06-25 10:01:00,983 - DEBUG - Response Code: 404 2025-06-25 10:01:00,983 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-25 10:01:00,988 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4791c714-9681-4975-b6fd-100d78d186be 2025-06-25 10:01:01,046 - DEBUG - Requesting: http://10.0.0.19:8082/project/cb682838-eac7-4d9c-a0dc-5077fc2db3ec 2025-06-25 10:01:01,122 - INFO - Validated that VN ctest-vn-10567057 is not found in API Server 2025-06-25 10:01:01,134 - DEBUG - VN ctest-vn-10567057 is not present in Agent 10.0.0.19 2025-06-25 10:01:01,134 - INFO - Validated that VN ctest-vn-10567057 is not in any agent 2025-06-25 10:01:01,154 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10567057 info 2025-06-25 10:01:01,154 - INFO - Deleting VN ctest-vn-66369638 2025-06-25 10:01:01,265 - DEBUG - Response for deleting network () 2025-06-25 10:01:01,265 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3814b16b-d4ea-4a10-bc1a-8a3256e919f0 2025-06-25 10:01:01,273 - DEBUG - Response Code: 404 2025-06-25 10:01:01,273 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-25 10:01:01,290 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4791c714-9681-4975-b6fd-100d78d186be 2025-06-25 10:01:01,349 - DEBUG - Requesting: http://10.0.0.19:8082/project/cb682838-eac7-4d9c-a0dc-5077fc2db3ec 2025-06-25 10:01:01,429 - INFO - Validated that VN ctest-vn-66369638 is not found in API Server 2025-06-25 10:01:01,443 - DEBUG - VN ctest-vn-66369638 is not present in Agent 10.0.0.19 2025-06-25 10:01:01,443 - INFO - Validated that VN ctest-vn-66369638 is not in any agent 2025-06-25 10:01:01,459 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66369638 info 2025-06-25 10:01:01,716 - DEBUG - No XMPP flaps were noticed during the test 2025-06-25 10:01:01,716 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-25 10:01:01,717 - INFO - -------------------------------------------------------------------------------- 2025-06-25 10:01:02,400 - INFO - Deleted project: ctest-TestBasicPolicy-38414083, ID : cb682838-eac7-4d9c-a0dc-5077fc2db3ec