2025-07-18 18:31:24,361 - INFO - Domain Default found not creating 2025-07-18 18:31:24,508 - INFO - Project ctest-TestBasicPolicy-32699721 not found, creating it 2025-07-18 18:31:24,987 - INFO - Created Project:ctest-TestBasicPolicy-32699721, ID : 20d9dd45-c876-4268-aba8-7e65ccefa936 2025-07-18 18:31:26,579 - INFO - ================================================================================ 2025-07-18 18:31:26,579 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-18 18:31:26,579 - 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-18 18:31:26,834 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-18 18:31:26,834 - INFO - Initial checks done. Running the testcase now 2025-07-18 18:31:26,834 - INFO - 2025-07-18 18:31:27,466 - DEBUG - Response for create_network : {'network': {'id': 'e99730d0-b362-469f-9f32-ded37a7a0964', 'name': 'ctest-vn-55831302', 'tenant_id': '20d9dd45c8764268aba87e65ccefa936', 'project_id': '20d9dd45c8764268aba87e65ccefa936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32699721', 'ctest-vn-55831302'], 'port_security_enabled': True, 'description': ''}} 2025-07-18 18:31:27,701 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e468ca8b-e6b6-496c-8242-c36a385e3fb7', 'name': '', 'tenant_id': '20d9dd45c8764268aba87e65ccefa936', 'network_id': 'e99730d0-b362-469f-9f32-ded37a7a0964', 'ip_version': 4, 'cidr': '91.172.87.0/26', 'allocation_pools': [{'start': '91.172.87.2', 'end': '91.172.87.62'}], 'gateway_ip': '91.172.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.172.87.2', 'tags': [], 'project_id': '20d9dd45c8764268aba87e65ccefa936'}} 2025-07-18 18:31:27,721 - INFO - Created VN ctest-vn-55831302 2025-07-18 18:31:27,772 - DEBUG - VN ctest-vn-55831302 UUID is e99730d0-b362-469f-9f32-ded37a7a0964 2025-07-18 18:31:28,089 - DEBUG - Response for create_network : {'network': {'id': '7fc04b6e-507a-4f8e-a53f-16c1c453665c', 'name': 'ctest-vn-84589608', 'tenant_id': '20d9dd45c8764268aba87e65ccefa936', 'project_id': '20d9dd45c8764268aba87e65ccefa936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32699721', 'ctest-vn-84589608'], 'port_security_enabled': True, 'description': ''}} 2025-07-18 18:31:28,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c412697-da2e-43da-a5e0-3ea2387cfb53', 'name': '', 'tenant_id': '20d9dd45c8764268aba87e65ccefa936', 'network_id': '7fc04b6e-507a-4f8e-a53f-16c1c453665c', 'ip_version': 4, 'cidr': '8.192.9.128/26', 'allocation_pools': [{'start': '8.192.9.130', 'end': '8.192.9.190'}], 'gateway_ip': '8.192.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.192.9.130', 'tags': [], 'project_id': '20d9dd45c8764268aba87e65ccefa936'}} 2025-07-18 18:31:28,275 - INFO - Created VN ctest-vn-84589608 2025-07-18 18:31:28,328 - DEBUG - VN ctest-vn-84589608 UUID is 7fc04b6e-507a-4f8e-a53f-16c1c453665c 2025-07-18 18:31:28,480 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-55831302, 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-32699721:ctest-vn-84589608, 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-18 18:31:28,792 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e99730d0-b362-469f-9f32-ded37a7a0964', 'name': 'ctest-vn-55831302', 'tenant_id': '20d9dd45c8764268aba87e65ccefa936', 'project_id': '20d9dd45c8764268aba87e65ccefa936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e468ca8b-e6b6-496c-8242-c36a385e3fb7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32699721', 'ctest-vn-55831302'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32699721', 'ctest-policy-allow-all-85009971']], 'subnet_ipam': [{'subnet_cidr': '91.172.87.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-18 18:31:29,025 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7fc04b6e-507a-4f8e-a53f-16c1c453665c', 'name': 'ctest-vn-84589608', 'tenant_id': '20d9dd45c8764268aba87e65ccefa936', 'project_id': '20d9dd45c8764268aba87e65ccefa936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c412697-da2e-43da-a5e0-3ea2387cfb53'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32699721', 'ctest-vn-84589608'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32699721', 'ctest-policy-allow-all-85009971']], 'subnet_ipam': [{'subnet_cidr': '8.192.9.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-18 18:31:29,176 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 18:31:29,514 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 18:31:29,543 - DEBUG - Requesting: http://10.0.0.254:8082/domain/58970787-2a19-47bf-854e-587baf473ab7 2025-07-18 18:31:29,556 - DEBUG - Requesting: http://10.0.0.254:8082/project/20d9dd45-c876-4268-aba8-7e65ccefa936 2025-07-18 18:31:29,627 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e99730d0-b362-469f-9f32-ded37a7a0964 2025-07-18 18:31:29,640 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e99730d0-b362-469f-9f32-ded37a7a0964 2025-07-18 18:31:29,651 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3dec3e1f-c964-4626-a0db-a0ec8426e9b1 2025-07-18 18:31:29,658 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3dec3e1f-c964-4626-a0db-a0ec8426e9b1 2025-07-18 18:31:29,666 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/dbf197bb-3812-4755-a0e4-a1dfb249bfdd 2025-07-18 18:31:29,672 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-18 18:31:29,672 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e99730d0-b362-469f-9f32-ded37a7a0964 2025-07-18 18:31:29,682 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3dec3e1f-c964-4626-a0db-a0ec8426e9b1 2025-07-18 18:31:29,695 - INFO - Verified VN network id 8 for VN e99730d0-b362-469f-9f32-ded37a7a0964 2025-07-18 18:31:29,696 - INFO - Verifications in API Server for VN ctest-vn-55831302 passed 2025-07-18 18:31:29,696 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e99730d0-b362-469f-9f32-ded37a7a0964 2025-07-18 18:31:29,705 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3dec3e1f-c964-4626-a0db-a0ec8426e9b1 2025-07-18 18:31:29,712 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3dec3e1f-c964-4626-a0db-a0ec8426e9b1 2025-07-18 18:31:29,718 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/dbf197bb-3812-4755-a0e4-a1dfb249bfdd 2025-07-18 18:31:29,730 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-55831302', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32699721', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16831975805241411231', 'uuid-lslong': '11471476200740358500'}, 'enable': 'true', 'created': '2025-07-18T18:31:27', 'last-modified': '2025-07-18T18:31:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965784'} 2025-07-18 18:31:29,737 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-18 18:31:29,738 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55831302 passed 2025-07-18 18:31:29,738 - DEBUG - ====Verifying policy data for ctest-vn-55831302 in API_Server ====== 2025-07-18 18:31:29,738 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 18:31:29,744 - DEBUG - Requesting: http://10.0.0.254:8082/domain/58970787-2a19-47bf-854e-587baf473ab7 2025-07-18 18:31:29,755 - DEBUG - Requesting: http://10.0.0.254:8082/project/20d9dd45-c876-4268-aba8-7e65ccefa936 2025-07-18 18:31:29,829 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e99730d0-b362-469f-9f32-ded37a7a0964 2025-07-18 18:31:29,839 - DEBUG - ==>Verifying data for policy with id: 994a9ed4-ad98-42ca-a1ad-9e35c5ea1be2, fqn: ['default-domain', 'ctest-TestBasicPolicy-32699721', 'ctest-policy-allow-all-85009971'] 2025-07-18 18:31:29,839 - INFO - VN ctest-vn-55831302 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-18 18:31:29,839 - DEBUG - Verifying the vn in opserver 2025-07-18 18:31:29,839 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-55831302 virtual network link through opserver 10.0.0.254 2025-07-18 18:31:29,839 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-18 18:31:30,171 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-18 18:31:30,227 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-55831302', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-55831302?flat'} 2025-07-18 18:31:30,227 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-55831302 is found in opserver 2025-07-18 18:31:30,238 - DEBUG - Do not have enough data to verify VN in agent 2025-07-18 18:31:30,244 - DEBUG - VRF ids for VN ctest-vn-55831302: {} 2025-07-18 18:31:30,244 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 18:31:30,250 - DEBUG - Requesting: http://10.0.0.254:8082/domain/58970787-2a19-47bf-854e-587baf473ab7 2025-07-18 18:31:30,263 - DEBUG - Requesting: http://10.0.0.254:8082/project/20d9dd45-c876-4268-aba8-7e65ccefa936 2025-07-18 18:31:30,335 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7fc04b6e-507a-4f8e-a53f-16c1c453665c 2025-07-18 18:31:30,349 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7fc04b6e-507a-4f8e-a53f-16c1c453665c 2025-07-18 18:31:30,359 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50d44bb6-cb16-4620-93a2-1c7c3d279053 2025-07-18 18:31:30,367 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50d44bb6-cb16-4620-93a2-1c7c3d279053 2025-07-18 18:31:30,374 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fe074781-0315-47b6-9a1f-2a8b03e74442 2025-07-18 18:31:30,380 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-18 18:31:30,380 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7fc04b6e-507a-4f8e-a53f-16c1c453665c 2025-07-18 18:31:30,390 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50d44bb6-cb16-4620-93a2-1c7c3d279053 2025-07-18 18:31:30,405 - INFO - Verified VN network id 9 for VN 7fc04b6e-507a-4f8e-a53f-16c1c453665c 2025-07-18 18:31:30,405 - INFO - Verifications in API Server for VN ctest-vn-84589608 passed 2025-07-18 18:31:30,405 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7fc04b6e-507a-4f8e-a53f-16c1c453665c 2025-07-18 18:31:30,415 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50d44bb6-cb16-4620-93a2-1c7c3d279053 2025-07-18 18:31:30,422 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50d44bb6-cb16-4620-93a2-1c7c3d279053 2025-07-18 18:31:30,428 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fe074781-0315-47b6-9a1f-2a8b03e74442 2025-07-18 18:31:30,440 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-84589608', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32699721', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9205440575513972622', 'uuid-lslong': '11907260961269179996'}, 'enable': 'true', 'created': '2025-07-18T18:31:28', 'last-modified': '2025-07-18T18:31:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.437863'} 2025-07-18 18:31:30,446 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-18 18:31:30,446 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84589608 passed 2025-07-18 18:31:30,447 - DEBUG - ====Verifying policy data for ctest-vn-84589608 in API_Server ====== 2025-07-18 18:31:30,447 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 18:31:30,452 - DEBUG - Requesting: http://10.0.0.254:8082/domain/58970787-2a19-47bf-854e-587baf473ab7 2025-07-18 18:31:30,463 - DEBUG - Requesting: http://10.0.0.254:8082/project/20d9dd45-c876-4268-aba8-7e65ccefa936 2025-07-18 18:31:30,542 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7fc04b6e-507a-4f8e-a53f-16c1c453665c 2025-07-18 18:31:30,556 - DEBUG - ==>Verifying data for policy with id: 994a9ed4-ad98-42ca-a1ad-9e35c5ea1be2, fqn: ['default-domain', 'ctest-TestBasicPolicy-32699721', 'ctest-policy-allow-all-85009971'] 2025-07-18 18:31:30,556 - INFO - VN ctest-vn-84589608 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-18 18:31:30,556 - DEBUG - Verifying the vn in opserver 2025-07-18 18:31:30,556 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-84589608 virtual network link through opserver 10.0.0.254 2025-07-18 18:31:30,556 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-18 18:31:30,568 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-84589608', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-84589608?flat'} 2025-07-18 18:31:30,568 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-84589608 is found in opserver 2025-07-18 18:31:30,579 - DEBUG - Do not have enough data to verify VN in agent 2025-07-18 18:31:30,584 - DEBUG - VRF ids for VN ctest-vn-84589608: {} 2025-07-18 18:31:30,639 - DEBUG - Services list from nova: [, , ] 2025-07-18 18:31:31,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3663-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3663-1) 2025-07-18 18:31:33,067 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3663-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3663-1) 2025-07-18 18:31:33,067 - INFO - Waiting for VM ctest-TestBasicPolicy-32699721-74637601 to be up.. 2025-07-18 18:31:33,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-18 18:31:38,238 - DEBUG - VM is in ACTIVE state now 2025-07-18 18:31:38,238 - INFO - VM name : ctest-TestBasicPolicy-32699721-74637601 2025-07-18 18:31:38,315 - DEBUG - VM ctest-TestBasicPolicy-32699721-74637601 ID is d10b65d6-e68c-449f-a1a3-9981afa2ced7 2025-07-18 18:31:38,335 - DEBUG - VM ctest-TestBasicPolicy-32699721-74637601 launched on Node cn-jenkins-deploy-platform-ansible-os-3663-1 2025-07-18 18:31:38,414 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d10b65d6-e68c-449f-a1a3-9981afa2ced7 2025-07-18 18:31:38,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5442d7a0-41f8-4cc8-baa5-3512741036c2 2025-07-18 18:31:41,694 - 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 1026ms') 2025-07-18 18:31:41,694 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32699721-74637601 failed! 2025-07-18 18:31:41,748 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32699721:ctest-vn-55831302 is 91.172.87.1 and allocation pool is NOT set 2025-07-18 18:31:43,813 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/1.979/3.517/1.538 ms') 2025-07-18 18:31:43,813 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32699721-74637601 passed 2025-07-18 18:31:43,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 18:31:43,968 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32699721-74637601, IP 91.172.87.3, Port 22 2025-07-18 18:31:44,131 - DEBUG - VM ctest-TestBasicPolicy-32699721-74637601 is ready for SSH connections 2025-07-18 18:31:44,131 - INFO - Waiting for VM ctest-TestBasicPolicy-32699721-25631618 to be up.. 2025-07-18 18:31:44,204 - DEBUG - VM is in ACTIVE state now 2025-07-18 18:31:44,204 - INFO - VM name : ctest-TestBasicPolicy-32699721-25631618 2025-07-18 18:31:44,294 - DEBUG - VM ctest-TestBasicPolicy-32699721-25631618 ID is 6498e6ea-7786-4ddd-a34e-bbdc8e92369a 2025-07-18 18:31:44,294 - DEBUG - VM ctest-TestBasicPolicy-32699721-25631618 launched on Node cn-jenkins-deploy-platform-ansible-os-3663-1 2025-07-18 18:31:44,369 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6498e6ea-7786-4ddd-a34e-bbdc8e92369a 2025-07-18 18:31:44,379 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dde91d59-c3c1-4538-b2c2-b4b6ca803b0d 2025-07-18 18:31:45,635 - 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=5.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.844 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.844/2.972/5.100/2.128 ms') 2025-07-18 18:31:45,635 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32699721-25631618 passed 2025-07-18 18:31:45,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 18:31:45,784 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32699721-25631618, IP 8.192.9.131, Port 22 2025-07-18 18:31:45,943 - DEBUG - VM ctest-TestBasicPolicy-32699721-25631618 is ready for SSH connections 2025-07-18 18:31:45,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 18:31:45,943 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.192.9.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-18 18:31:45,943 - DEBUG - ping -s 56 -c 3 -W 1 8.192.9.131 2025-07-18 18:31:49,978 - DEBUG - PING 8.192.9.131 (8.192.9.131): 56 data bytes 64 bytes from 8.192.9.131: seq=0 ttl=63 time=3.539 ms 64 bytes from 8.192.9.131: seq=1 ttl=63 time=0.834 ms 64 bytes from 8.192.9.131: seq=2 ttl=63 time=0.923 ms --- 8.192.9.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.765/3.539 ms 2025-07-18 18:31:49,978 - INFO - Ping to IP 8.192.9.131 from VM ctest-TestBasicPolicy-32699721-74637601 passed 2025-07-18 18:31:50,176 - DEBUG - Policy Update Response {"network-policy": {"uuid": "994a9ed4-ad98-42ca-a1ad-9e35c5ea1be2", "href": "http://10.0.0.254:8082/network-policy/994a9ed4-ad98-42ca-a1ad-9e35c5ea1be2"}} 2025-07-18 18:31:50,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-18 18:31:50,176 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.192.9.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-18 18:31:50,176 - DEBUG - ping -s 56 -c 3 -W 1 8.192.9.131 2025-07-18 18:31:53,395 - DEBUG - PING 8.192.9.131 (8.192.9.131): 56 data bytes 64 bytes from 8.192.9.131: seq=0 ttl=63 time=1.587 ms --- 8.192.9.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.587/1.587/1.587 ms 2025-07-18 18:31:53,395 - WARNING - Ping to IP 8.192.9.131 from VM ctest-TestBasicPolicy-32699721-74637601 failed 2025-07-18 18:31:53,395 - INFO - Deleting VM ctest-TestBasicPolicy-32699721-25631618 2025-07-18 18:31:53,463 - INFO - Deleting VM ctest-TestBasicPolicy-32699721-74637601 2025-07-18 18:31:53,865 - INFO - Deleted policy ctest-policy-allow-all-85009971 2025-07-18 18:31:53,866 - INFO - Deleting VN ctest-vn-84589608 2025-07-18 18:31:53,905 - DEBUG - VN 7fc04b6e-507a-4f8e-a53f-16c1c453665c still in use: Unable to complete operation on network 7fc04b6e-507a-4f8e-a53f-16c1c453665c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b9f9c0d-143a-4822-a790-0b748d9b8c17'] 2025-07-18 18:31:53,905 - WARNING - Deleting VN ctest-vn-84589608 failed..Will retry 2025-07-18 18:31:56,006 - DEBUG - Response for deleting network () 2025-07-18 18:31:56,006 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50d44bb6-cb16-4620-93a2-1c7c3d279053 2025-07-18 18:31:56,013 - DEBUG - Response Code: 404 2025-07-18 18:31:56,013 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 18:31:56,019 - DEBUG - Requesting: http://10.0.0.254:8082/domain/58970787-2a19-47bf-854e-587baf473ab7 2025-07-18 18:31:56,074 - DEBUG - Requesting: http://10.0.0.254:8082/project/20d9dd45-c876-4268-aba8-7e65ccefa936 2025-07-18 18:31:56,158 - INFO - Validated that VN ctest-vn-84589608 is not found in API Server 2025-07-18 18:31:56,170 - DEBUG - VN ctest-vn-84589608 is not present in Agent 10.0.0.254 2025-07-18 18:31:56,170 - INFO - Validated that VN ctest-vn-84589608 is not in any agent 2025-07-18 18:31:56,186 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84589608 info 2025-07-18 18:31:56,186 - INFO - Deleting VN ctest-vn-55831302 2025-07-18 18:31:56,283 - DEBUG - Response for deleting network () 2025-07-18 18:31:56,283 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3dec3e1f-c964-4626-a0db-a0ec8426e9b1 2025-07-18 18:31:56,291 - DEBUG - Response Code: 404 2025-07-18 18:31:56,291 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-18 18:31:56,297 - DEBUG - Requesting: http://10.0.0.254:8082/domain/58970787-2a19-47bf-854e-587baf473ab7 2025-07-18 18:31:56,354 - DEBUG - Requesting: http://10.0.0.254:8082/project/20d9dd45-c876-4268-aba8-7e65ccefa936 2025-07-18 18:31:56,425 - INFO - Validated that VN ctest-vn-55831302 is not found in API Server 2025-07-18 18:31:56,436 - DEBUG - VN ctest-vn-55831302 is not present in Agent 10.0.0.254 2025-07-18 18:31:56,436 - INFO - Validated that VN ctest-vn-55831302 is not in any agent 2025-07-18 18:31:56,452 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55831302 info 2025-07-18 18:31:56,706 - DEBUG - No XMPP flaps were noticed during the test 2025-07-18 18:31:56,706 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-18 18:31:56,706 - INFO - -------------------------------------------------------------------------------- 2025-07-18 18:31:57,453 - INFO - Deleted project: ctest-TestBasicPolicy-32699721, ID : 20d9dd45-c876-4268-aba8-7e65ccefa936