2025-07-07 23:01:02,013 - INFO - Domain Default found not creating 2025-07-07 23:01:02,151 - INFO - Project ctest-TestBasicPolicy-04640328 not found, creating it 2025-07-07 23:01:02,591 - INFO - Created Project:ctest-TestBasicPolicy-04640328, ID : 7d5880fc-a6b0-477e-a7ab-faabefda22f7 2025-07-07 23:01:04,002 - INFO - ================================================================================ 2025-07-07 23:01:04,002 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-07 23:01:04,002 - 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-07-07 23:01:04,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-07-07 23:01:04,256 - INFO - Initial checks done. Running the testcase now 2025-07-07 23:01:04,256 - INFO - 2025-07-07 23:01:04,785 - DEBUG - Response for create_network : {'network': {'id': '2f823a7b-2ba8-40de-9d41-63d55152b6f2', 'name': 'ctest-vn-21952463', 'tenant_id': '7d5880fca6b0477ea7abfaabefda22f7', 'project_id': '7d5880fca6b0477ea7abfaabefda22f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04640328', 'ctest-vn-21952463'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 23:01:04,940 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6245b04-e1b8-4efe-8c0a-0eb4f931d19f', 'name': '', 'tenant_id': '7d5880fca6b0477ea7abfaabefda22f7', 'network_id': '2f823a7b-2ba8-40de-9d41-63d55152b6f2', 'ip_version': 4, 'cidr': '93.38.43.192/26', 'allocation_pools': [{'start': '93.38.43.194', 'end': '93.38.43.254'}], 'gateway_ip': '93.38.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.38.43.194', 'tags': [], 'project_id': '7d5880fca6b0477ea7abfaabefda22f7'}} 2025-07-07 23:01:04,956 - INFO - Created VN ctest-vn-21952463 2025-07-07 23:01:05,006 - DEBUG - VN ctest-vn-21952463 UUID is 2f823a7b-2ba8-40de-9d41-63d55152b6f2 2025-07-07 23:01:05,341 - DEBUG - Response for create_network : {'network': {'id': 'b42de790-97ea-49de-899c-ac7951f5cdc7', 'name': 'ctest-vn-46027452', 'tenant_id': '7d5880fca6b0477ea7abfaabefda22f7', 'project_id': '7d5880fca6b0477ea7abfaabefda22f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04640328', 'ctest-vn-46027452'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 23:01:05,528 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf8c041f-7773-4f1f-8874-bfb2cdf854d5', 'name': '', 'tenant_id': '7d5880fca6b0477ea7abfaabefda22f7', 'network_id': 'b42de790-97ea-49de-899c-ac7951f5cdc7', 'ip_version': 4, 'cidr': '111.241.208.64/26', 'allocation_pools': [{'start': '111.241.208.66', 'end': '111.241.208.126'}], 'gateway_ip': '111.241.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.241.208.66', 'tags': [], 'project_id': '7d5880fca6b0477ea7abfaabefda22f7'}} 2025-07-07 23:01:05,544 - INFO - Created VN ctest-vn-46027452 2025-07-07 23:01:05,594 - DEBUG - VN ctest-vn-46027452 UUID is b42de790-97ea-49de-899c-ac7951f5cdc7 2025-07-07 23:01:05,708 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-21952463, 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-04640328:ctest-vn-46027452, 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-07-07 23:01:05,995 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f823a7b-2ba8-40de-9d41-63d55152b6f2', 'name': 'ctest-vn-21952463', 'tenant_id': '7d5880fca6b0477ea7abfaabefda22f7', 'project_id': '7d5880fca6b0477ea7abfaabefda22f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f6245b04-e1b8-4efe-8c0a-0eb4f931d19f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04640328', 'ctest-vn-21952463'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04640328', 'ctest-policy-allow-all-69341064']], 'subnet_ipam': [{'subnet_cidr': '93.38.43.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-07 23:01:06,235 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b42de790-97ea-49de-899c-ac7951f5cdc7', 'name': 'ctest-vn-46027452', 'tenant_id': '7d5880fca6b0477ea7abfaabefda22f7', 'project_id': '7d5880fca6b0477ea7abfaabefda22f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf8c041f-7773-4f1f-8874-bfb2cdf854d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04640328', 'ctest-vn-46027452'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04640328', 'ctest-policy-allow-all-69341064']], 'subnet_ipam': [{'subnet_cidr': '111.241.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-07 23:01:06,406 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-07 23:01:06,700 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-07 23:01:06,726 - DEBUG - Requesting: http://10.0.0.130:8082/domain/21a61782-8a9c-48eb-86a8-d7d8f42e9cd4 2025-07-07 23:01:06,739 - DEBUG - Requesting: http://10.0.0.130:8082/project/7d5880fc-a6b0-477e-a7ab-faabefda22f7 2025-07-07 23:01:06,816 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2f823a7b-2ba8-40de-9d41-63d55152b6f2 2025-07-07 23:01:06,828 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2f823a7b-2ba8-40de-9d41-63d55152b6f2 2025-07-07 23:01:06,839 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3c1b96f9-46dc-4286-be88-2f3336cbd7a3 2025-07-07 23:01:06,848 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3c1b96f9-46dc-4286-be88-2f3336cbd7a3 2025-07-07 23:01:06,856 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/fb4f2e6d-7a28-48e9-bac4-b87951f044f1 2025-07-07 23:01:06,863 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-07 23:01:06,863 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2f823a7b-2ba8-40de-9d41-63d55152b6f2 2025-07-07 23:01:06,872 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3c1b96f9-46dc-4286-be88-2f3336cbd7a3 2025-07-07 23:01:06,887 - INFO - Verified VN network id 7 for VN 2f823a7b-2ba8-40de-9d41-63d55152b6f2 2025-07-07 23:01:06,887 - INFO - Verifications in API Server for VN ctest-vn-21952463 passed 2025-07-07 23:01:06,887 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2f823a7b-2ba8-40de-9d41-63d55152b6f2 2025-07-07 23:01:06,898 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3c1b96f9-46dc-4286-be88-2f3336cbd7a3 2025-07-07 23:01:06,904 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3c1b96f9-46dc-4286-be88-2f3336cbd7a3 2025-07-07 23:01:06,911 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/fb4f2e6d-7a28-48e9-bac4-b87951f044f1 2025-07-07 23:01:06,922 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-21952463', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04640328', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3423362967442833630', 'uuid-lslong': '11331447905284437746'}, 'enable': 'true', 'created': '2025-07-07T23:01:04', 'last-modified': '2025-07-07T23:01:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950038'} 2025-07-07 23:01:06,928 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-07 23:01:06,928 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21952463 passed 2025-07-07 23:01:06,928 - DEBUG - ====Verifying policy data for ctest-vn-21952463 in API_Server ====== 2025-07-07 23:01:06,928 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-07 23:01:06,934 - DEBUG - Requesting: http://10.0.0.130:8082/domain/21a61782-8a9c-48eb-86a8-d7d8f42e9cd4 2025-07-07 23:01:06,946 - DEBUG - Requesting: http://10.0.0.130:8082/project/7d5880fc-a6b0-477e-a7ab-faabefda22f7 2025-07-07 23:01:07,017 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/2f823a7b-2ba8-40de-9d41-63d55152b6f2 2025-07-07 23:01:07,029 - DEBUG - ==>Verifying data for policy with id: 4e524626-1c66-412c-b5cf-6a08fde49721, fqn: ['default-domain', 'ctest-TestBasicPolicy-04640328', 'ctest-policy-allow-all-69341064'] 2025-07-07 23:01:07,029 - INFO - VN ctest-vn-21952463 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-07 23:01:07,029 - DEBUG - Verifying the vn in opserver 2025-07-07 23:01:07,029 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-21952463 virtual network link through opserver 10.0.0.130 2025-07-07 23:01:07,029 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-07-07 23:01:07,321 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-07-07 23:01:07,372 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-21952463', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-21952463?flat'} 2025-07-07 23:01:07,372 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-21952463 is found in opserver 2025-07-07 23:01:07,383 - DEBUG - Do not have enough data to verify VN in agent 2025-07-07 23:01:07,388 - DEBUG - VRF ids for VN ctest-vn-21952463: {} 2025-07-07 23:01:07,388 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-07 23:01:07,393 - DEBUG - Requesting: http://10.0.0.130:8082/domain/21a61782-8a9c-48eb-86a8-d7d8f42e9cd4 2025-07-07 23:01:07,406 - DEBUG - Requesting: http://10.0.0.130:8082/project/7d5880fc-a6b0-477e-a7ab-faabefda22f7 2025-07-07 23:01:07,478 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b42de790-97ea-49de-899c-ac7951f5cdc7 2025-07-07 23:01:07,491 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b42de790-97ea-49de-899c-ac7951f5cdc7 2025-07-07 23:01:07,501 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/87832649-6da7-40d0-961a-74801c05b790 2025-07-07 23:01:07,508 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/87832649-6da7-40d0-961a-74801c05b790 2025-07-07 23:01:07,514 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/2543987a-4670-491c-bd91-2501eb9e79e2 2025-07-07 23:01:07,521 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-07 23:01:07,521 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b42de790-97ea-49de-899c-ac7951f5cdc7 2025-07-07 23:01:07,529 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/87832649-6da7-40d0-961a-74801c05b790 2025-07-07 23:01:07,541 - INFO - Verified VN network id 8 for VN b42de790-97ea-49de-899c-ac7951f5cdc7 2025-07-07 23:01:07,542 - INFO - Verifications in API Server for VN ctest-vn-46027452 passed 2025-07-07 23:01:07,542 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b42de790-97ea-49de-899c-ac7951f5cdc7 2025-07-07 23:01:07,551 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/87832649-6da7-40d0-961a-74801c05b790 2025-07-07 23:01:07,557 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/87832649-6da7-40d0-961a-74801c05b790 2025-07-07 23:01:07,564 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/2543987a-4670-491c-bd91-2501eb9e79e2 2025-07-07 23:01:07,576 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-46027452', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04640328', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12983287908989028830', 'uuid-lslong': '9915990116629073351'}, 'enable': 'true', 'created': '2025-07-07T23:01:05', 'last-modified': '2025-07-07T23:01:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364894'} 2025-07-07 23:01:07,583 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-07 23:01:07,583 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46027452 passed 2025-07-07 23:01:07,583 - DEBUG - ====Verifying policy data for ctest-vn-46027452 in API_Server ====== 2025-07-07 23:01:07,583 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-07 23:01:07,589 - DEBUG - Requesting: http://10.0.0.130:8082/domain/21a61782-8a9c-48eb-86a8-d7d8f42e9cd4 2025-07-07 23:01:07,600 - DEBUG - Requesting: http://10.0.0.130:8082/project/7d5880fc-a6b0-477e-a7ab-faabefda22f7 2025-07-07 23:01:07,675 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b42de790-97ea-49de-899c-ac7951f5cdc7 2025-07-07 23:01:07,684 - DEBUG - ==>Verifying data for policy with id: 4e524626-1c66-412c-b5cf-6a08fde49721, fqn: ['default-domain', 'ctest-TestBasicPolicy-04640328', 'ctest-policy-allow-all-69341064'] 2025-07-07 23:01:07,685 - INFO - VN ctest-vn-46027452 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-07 23:01:07,685 - DEBUG - Verifying the vn in opserver 2025-07-07 23:01:07,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-46027452 virtual network link through opserver 10.0.0.130 2025-07-07 23:01:07,685 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-07-07 23:01:07,694 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-46027452', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-46027452?flat'} 2025-07-07 23:01:07,694 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-46027452 is found in opserver 2025-07-07 23:01:07,704 - DEBUG - Do not have enough data to verify VN in agent 2025-07-07 23:01:07,709 - DEBUG - VRF ids for VN ctest-vn-46027452: {} 2025-07-07 23:01:07,761 - DEBUG - Services list from nova: [, , ] 2025-07-07 23:01:08,743 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3610-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3610-1) 2025-07-07 23:01:09,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3610-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3610-1) 2025-07-07 23:01:09,981 - INFO - Waiting for VM ctest-TestBasicPolicy-04640328-61734002 to be up.. 2025-07-07 23:01:10,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-07 23:01:15,125 - DEBUG - VM is in ACTIVE state now 2025-07-07 23:01:15,126 - INFO - VM name : ctest-TestBasicPolicy-04640328-61734002 2025-07-07 23:01:15,194 - DEBUG - VM ctest-TestBasicPolicy-04640328-61734002 ID is 70df5b7e-e7e7-42d2-a464-1d64ebd024d8 2025-07-07 23:01:15,213 - DEBUG - VM ctest-TestBasicPolicy-04640328-61734002 launched on Node cn-jenkins-deploy-platform-ansible-os-3610-1 2025-07-07 23:01:15,281 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/70df5b7e-e7e7-42d2-a464-1d64ebd024d8 2025-07-07 23:01:15,289 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/9bf15db5-ac2f-4112-9a6c-77e8b380f964 2025-07-07 23:01:18,541 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2025-07-07 23:01:18,541 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04640328-61734002 failed! 2025-07-07 23:01:18,598 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04640328:ctest-vn-21952463 is 93.38.43.193 and allocation pool is NOT set 2025-07-07 23:01:20,655 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.737/3.069/1.332 ms') 2025-07-07 23:01:20,655 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04640328-61734002 passed 2025-07-07 23:01:20,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 23:01:20,802 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04640328-61734002, IP 93.38.43.195, Port 22 2025-07-07 23:01:20,953 - DEBUG - VM ctest-TestBasicPolicy-04640328-61734002 is ready for SSH connections 2025-07-07 23:01:20,953 - INFO - Waiting for VM ctest-TestBasicPolicy-04640328-96198978 to be up.. 2025-07-07 23:01:21,032 - DEBUG - VM is in ACTIVE state now 2025-07-07 23:01:21,032 - INFO - VM name : ctest-TestBasicPolicy-04640328-96198978 2025-07-07 23:01:21,100 - DEBUG - VM ctest-TestBasicPolicy-04640328-96198978 ID is de325ebc-baf9-44b6-89c8-e83849554738 2025-07-07 23:01:21,100 - DEBUG - VM ctest-TestBasicPolicy-04640328-96198978 launched on Node cn-jenkins-deploy-platform-ansible-os-3610-1 2025-07-07 23:01:21,167 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/de325ebc-baf9-44b6-89c8-e83849554738 2025-07-07 23:01:21,175 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7e01d152-eadf-4b29-830e-755e84c8fe0c 2025-07-07 23:01:22,409 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.557/2.738/1.180 ms') 2025-07-07 23:01:22,410 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04640328-96198978 passed 2025-07-07 23:01:22,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 23:01:22,558 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04640328-96198978, IP 111.241.208.67, Port 22 2025-07-07 23:01:22,714 - DEBUG - VM ctest-TestBasicPolicy-04640328-96198978 is ready for SSH connections 2025-07-07 23:01:22,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 23:01:22,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.241.208.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-07 23:01:22,714 - DEBUG - ping -s 56 -c 3 -W 1 111.241.208.67 2025-07-07 23:01:26,688 - DEBUG - PING 111.241.208.67 (111.241.208.67): 56 data bytes 64 bytes from 111.241.208.67: seq=0 ttl=63 time=3.867 ms 64 bytes from 111.241.208.67: seq=1 ttl=63 time=0.745 ms 64 bytes from 111.241.208.67: seq=2 ttl=63 time=0.848 ms --- 111.241.208.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/1.820/3.867 ms 2025-07-07 23:01:26,688 - INFO - Ping to IP 111.241.208.67 from VM ctest-TestBasicPolicy-04640328-61734002 passed 2025-07-07 23:01:26,874 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4e524626-1c66-412c-b5cf-6a08fde49721", "href": "http://10.0.0.130:8082/network-policy/4e524626-1c66-412c-b5cf-6a08fde49721"}} 2025-07-07 23:01:26,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 23:01:26,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.241.208.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-07 23:01:26,874 - DEBUG - ping -s 56 -c 3 -W 1 111.241.208.67 2025-07-07 23:01:30,069 - DEBUG - PING 111.241.208.67 (111.241.208.67): 56 data bytes --- 111.241.208.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-07 23:01:30,070 - WARNING - Ping to IP 111.241.208.67 from VM ctest-TestBasicPolicy-04640328-61734002 failed 2025-07-07 23:01:30,070 - INFO - Deleting VM ctest-TestBasicPolicy-04640328-96198978 2025-07-07 23:01:30,133 - INFO - Deleting VM ctest-TestBasicPolicy-04640328-61734002 2025-07-07 23:01:30,506 - INFO - Deleted policy ctest-policy-allow-all-69341064 2025-07-07 23:01:30,507 - INFO - Deleting VN ctest-vn-46027452 2025-07-07 23:01:30,542 - DEBUG - VN b42de790-97ea-49de-899c-ac7951f5cdc7 still in use: Unable to complete operation on network b42de790-97ea-49de-899c-ac7951f5cdc7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf3ea50b-3bd9-4def-866c-3327b5d563f4'] 2025-07-07 23:01:30,542 - WARNING - Deleting VN ctest-vn-46027452 failed..Will retry 2025-07-07 23:01:32,651 - DEBUG - Response for deleting network () 2025-07-07 23:01:32,651 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/87832649-6da7-40d0-961a-74801c05b790 2025-07-07 23:01:32,658 - DEBUG - Response Code: 404 2025-07-07 23:01:32,658 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-07 23:01:32,664 - DEBUG - Requesting: http://10.0.0.130:8082/domain/21a61782-8a9c-48eb-86a8-d7d8f42e9cd4 2025-07-07 23:01:32,724 - DEBUG - Requesting: http://10.0.0.130:8082/project/7d5880fc-a6b0-477e-a7ab-faabefda22f7 2025-07-07 23:01:32,800 - INFO - Validated that VN ctest-vn-46027452 is not found in API Server 2025-07-07 23:01:32,812 - DEBUG - VN ctest-vn-46027452 is not present in Agent 10.0.0.130 2025-07-07 23:01:32,812 - INFO - Validated that VN ctest-vn-46027452 is not in any agent 2025-07-07 23:01:32,828 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46027452 info 2025-07-07 23:01:32,828 - INFO - Deleting VN ctest-vn-21952463 2025-07-07 23:01:32,928 - DEBUG - Response for deleting network () 2025-07-07 23:01:32,928 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/3c1b96f9-46dc-4286-be88-2f3336cbd7a3 2025-07-07 23:01:32,934 - DEBUG - Response Code: 404 2025-07-07 23:01:32,934 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-07 23:01:32,940 - DEBUG - Requesting: http://10.0.0.130:8082/domain/21a61782-8a9c-48eb-86a8-d7d8f42e9cd4 2025-07-07 23:01:32,991 - DEBUG - Requesting: http://10.0.0.130:8082/project/7d5880fc-a6b0-477e-a7ab-faabefda22f7 2025-07-07 23:01:33,070 - INFO - Validated that VN ctest-vn-21952463 is not found in API Server 2025-07-07 23:01:33,090 - DEBUG - VN ctest-vn-21952463 is not present in Agent 10.0.0.130 2025-07-07 23:01:33,090 - INFO - Validated that VN ctest-vn-21952463 is not in any agent 2025-07-07 23:01:33,108 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21952463 info 2025-07-07 23:01:33,364 - DEBUG - No XMPP flaps were noticed during the test 2025-07-07 23:01:33,364 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-07 23:01:33,364 - INFO - -------------------------------------------------------------------------------- 2025-07-07 23:01:34,042 - INFO - Deleted project: ctest-TestBasicPolicy-04640328, ID : 7d5880fc-a6b0-477e-a7ab-faabefda22f7