2025-07-07 08:50:32,670 - INFO - Domain Default found not creating 2025-07-07 08:50:32,814 - INFO - Project ctest-TestBasicPolicy-25652928 not found, creating it 2025-07-07 08:50:33,267 - INFO - Created Project:ctest-TestBasicPolicy-25652928, ID : 37d561f9-a8e9-498e-8991-31e71f0b695c 2025-07-07 08:50:34,811 - INFO - ================================================================================ 2025-07-07 08:50:34,812 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-07 08:50:34,812 - 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 08:50:35,068 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-07-07 08:50:35,068 - INFO - Initial checks done. Running the testcase now 2025-07-07 08:50:35,068 - INFO - 2025-07-07 08:50:35,665 - DEBUG - Response for create_network : {'network': {'id': '1aa2d546-3d01-440f-9d1f-4c6644ea68c8', 'name': 'ctest-vn-52273695', 'tenant_id': '37d561f9a8e9498e899131e71f0b695c', 'project_id': '37d561f9a8e9498e899131e71f0b695c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25652928', 'ctest-vn-52273695'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 08:50:35,882 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd2a3e0e-6347-4e48-a88e-3e28f7c5d0ee', 'name': '', 'tenant_id': '37d561f9a8e9498e899131e71f0b695c', 'network_id': '1aa2d546-3d01-440f-9d1f-4c6644ea68c8', 'ip_version': 4, 'cidr': '125.127.51.0/26', 'allocation_pools': [{'start': '125.127.51.2', 'end': '125.127.51.62'}], 'gateway_ip': '125.127.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.127.51.2', 'tags': [], 'project_id': '37d561f9a8e9498e899131e71f0b695c'}} 2025-07-07 08:50:35,901 - INFO - Created VN ctest-vn-52273695 2025-07-07 08:50:35,958 - DEBUG - VN ctest-vn-52273695 UUID is 1aa2d546-3d01-440f-9d1f-4c6644ea68c8 2025-07-07 08:50:36,300 - DEBUG - Response for create_network : {'network': {'id': '4762f5bf-e65a-4780-a4ae-c75819aebe44', 'name': 'ctest-vn-45373081', 'tenant_id': '37d561f9a8e9498e899131e71f0b695c', 'project_id': '37d561f9a8e9498e899131e71f0b695c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25652928', 'ctest-vn-45373081'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 08:50:36,513 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8058e7e-e89e-4dab-84d0-6bb95d219ef9', 'name': '', 'tenant_id': '37d561f9a8e9498e899131e71f0b695c', 'network_id': '4762f5bf-e65a-4780-a4ae-c75819aebe44', 'ip_version': 4, 'cidr': '174.164.73.192/26', 'allocation_pools': [{'start': '174.164.73.194', 'end': '174.164.73.254'}], 'gateway_ip': '174.164.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.164.73.194', 'tags': [], 'project_id': '37d561f9a8e9498e899131e71f0b695c'}} 2025-07-07 08:50:36,531 - INFO - Created VN ctest-vn-45373081 2025-07-07 08:50:36,585 - DEBUG - VN ctest-vn-45373081 UUID is 4762f5bf-e65a-4780-a4ae-c75819aebe44 2025-07-07 08:50:36,696 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-52273695, 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-25652928:ctest-vn-45373081, 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 08:50:36,998 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1aa2d546-3d01-440f-9d1f-4c6644ea68c8', 'name': 'ctest-vn-52273695', 'tenant_id': '37d561f9a8e9498e899131e71f0b695c', 'project_id': '37d561f9a8e9498e899131e71f0b695c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fd2a3e0e-6347-4e48-a88e-3e28f7c5d0ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25652928', 'ctest-vn-52273695'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25652928', 'ctest-policy-allow-all-16459752']], 'subnet_ipam': [{'subnet_cidr': '125.127.51.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-07 08:50:37,238 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4762f5bf-e65a-4780-a4ae-c75819aebe44', 'name': 'ctest-vn-45373081', 'tenant_id': '37d561f9a8e9498e899131e71f0b695c', 'project_id': '37d561f9a8e9498e899131e71f0b695c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8058e7e-e89e-4dab-84d0-6bb95d219ef9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25652928', 'ctest-vn-45373081'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25652928', 'ctest-policy-allow-all-16459752']], 'subnet_ipam': [{'subnet_cidr': '174.164.73.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-07 08:50:37,410 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-07 08:50:37,753 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-07 08:50:37,781 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dbcad863-5002-48bc-bb9e-d39fee579bb9 2025-07-07 08:50:37,794 - DEBUG - Requesting: http://10.0.0.48:8082/project/37d561f9-a8e9-498e-8991-31e71f0b695c 2025-07-07 08:50:37,867 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1aa2d546-3d01-440f-9d1f-4c6644ea68c8 2025-07-07 08:50:37,878 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1aa2d546-3d01-440f-9d1f-4c6644ea68c8 2025-07-07 08:50:37,890 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/42a9f237-8a63-4654-961d-9fde6629f8cb 2025-07-07 08:50:37,898 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/42a9f237-8a63-4654-961d-9fde6629f8cb 2025-07-07 08:50:37,905 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/a86a9bc1-b2f5-4863-8a6e-3c648c9b4bc6 2025-07-07 08:50:37,912 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-07 08:50:37,912 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1aa2d546-3d01-440f-9d1f-4c6644ea68c8 2025-07-07 08:50:37,922 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/42a9f237-8a63-4654-961d-9fde6629f8cb 2025-07-07 08:50:37,936 - INFO - Verified VN network id 8 for VN 1aa2d546-3d01-440f-9d1f-4c6644ea68c8 2025-07-07 08:50:37,936 - INFO - Verifications in API Server for VN ctest-vn-52273695 passed 2025-07-07 08:50:37,936 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1aa2d546-3d01-440f-9d1f-4c6644ea68c8 2025-07-07 08:50:37,946 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/42a9f237-8a63-4654-961d-9fde6629f8cb 2025-07-07 08:50:37,953 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/42a9f237-8a63-4654-961d-9fde6629f8cb 2025-07-07 08:50:37,960 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/a86a9bc1-b2f5-4863-8a6e-3c648c9b4bc6 2025-07-07 08:50:37,972 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-52273695', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25652928', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1919330888861172751', 'uuid-lslong': '11321851990359304392'}, 'enable': 'true', 'created': '2025-07-07T08:50:35', 'last-modified': '2025-07-07T08:50:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006503'} 2025-07-07 08:50:37,979 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-07 08:50:37,979 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52273695 passed 2025-07-07 08:50:37,980 - DEBUG - ====Verifying policy data for ctest-vn-52273695 in API_Server ====== 2025-07-07 08:50:37,980 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-07 08:50:37,985 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dbcad863-5002-48bc-bb9e-d39fee579bb9 2025-07-07 08:50:37,997 - DEBUG - Requesting: http://10.0.0.48:8082/project/37d561f9-a8e9-498e-8991-31e71f0b695c 2025-07-07 08:50:38,070 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1aa2d546-3d01-440f-9d1f-4c6644ea68c8 2025-07-07 08:50:38,080 - DEBUG - ==>Verifying data for policy with id: ce2fb09d-1db4-4939-b6d4-e0c076346921, fqn: ['default-domain', 'ctest-TestBasicPolicy-25652928', 'ctest-policy-allow-all-16459752'] 2025-07-07 08:50:38,081 - INFO - VN ctest-vn-52273695 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-07 08:50:38,081 - DEBUG - Verifying the vn in opserver 2025-07-07 08:50:38,081 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-52273695 virtual network link through opserver 10.0.0.48 2025-07-07 08:50:38,081 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-07-07 08:50:38,412 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-07-07 08:50:38,467 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-52273695', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-52273695?flat'} 2025-07-07 08:50:38,467 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-52273695 is found in opserver 2025-07-07 08:50:38,479 - DEBUG - Do not have enough data to verify VN in agent 2025-07-07 08:50:38,484 - DEBUG - VRF ids for VN ctest-vn-52273695: {} 2025-07-07 08:50:38,484 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-07 08:50:38,490 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dbcad863-5002-48bc-bb9e-d39fee579bb9 2025-07-07 08:50:38,502 - DEBUG - Requesting: http://10.0.0.48:8082/project/37d561f9-a8e9-498e-8991-31e71f0b695c 2025-07-07 08:50:38,576 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4762f5bf-e65a-4780-a4ae-c75819aebe44 2025-07-07 08:50:38,596 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4762f5bf-e65a-4780-a4ae-c75819aebe44 2025-07-07 08:50:38,607 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fff0ffa9-92ac-49a7-8473-b2fcbccb3d37 2025-07-07 08:50:38,615 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fff0ffa9-92ac-49a7-8473-b2fcbccb3d37 2025-07-07 08:50:38,622 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/550f70fd-8662-4cb9-b6b3-5d92b858f68d 2025-07-07 08:50:38,629 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-07 08:50:38,629 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4762f5bf-e65a-4780-a4ae-c75819aebe44 2025-07-07 08:50:38,638 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fff0ffa9-92ac-49a7-8473-b2fcbccb3d37 2025-07-07 08:50:38,653 - INFO - Verified VN network id 9 for VN 4762f5bf-e65a-4780-a4ae-c75819aebe44 2025-07-07 08:50:38,653 - INFO - Verifications in API Server for VN ctest-vn-45373081 passed 2025-07-07 08:50:38,653 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4762f5bf-e65a-4780-a4ae-c75819aebe44 2025-07-07 08:50:38,663 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fff0ffa9-92ac-49a7-8473-b2fcbccb3d37 2025-07-07 08:50:38,670 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fff0ffa9-92ac-49a7-8473-b2fcbccb3d37 2025-07-07 08:50:38,676 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/550f70fd-8662-4cb9-b6b3-5d92b858f68d 2025-07-07 08:50:38,688 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-45373081', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25652928', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5143943928962762624', 'uuid-lslong': '11866641249369767492'}, 'enable': 'true', 'created': '2025-07-07T08:50:36', 'last-modified': '2025-07-07T08:50:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.468378'} 2025-07-07 08:50:38,695 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-07 08:50:38,695 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45373081 passed 2025-07-07 08:50:38,695 - DEBUG - ====Verifying policy data for ctest-vn-45373081 in API_Server ====== 2025-07-07 08:50:38,696 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-07 08:50:38,701 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dbcad863-5002-48bc-bb9e-d39fee579bb9 2025-07-07 08:50:38,714 - DEBUG - Requesting: http://10.0.0.48:8082/project/37d561f9-a8e9-498e-8991-31e71f0b695c 2025-07-07 08:50:38,793 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4762f5bf-e65a-4780-a4ae-c75819aebe44 2025-07-07 08:50:38,804 - DEBUG - ==>Verifying data for policy with id: ce2fb09d-1db4-4939-b6d4-e0c076346921, fqn: ['default-domain', 'ctest-TestBasicPolicy-25652928', 'ctest-policy-allow-all-16459752'] 2025-07-07 08:50:38,804 - INFO - VN ctest-vn-45373081 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-07 08:50:38,804 - DEBUG - Verifying the vn in opserver 2025-07-07 08:50:38,804 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-45373081 virtual network link through opserver 10.0.0.48 2025-07-07 08:50:38,804 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-07-07 08:50:38,816 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-45373081', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-45373081?flat'} 2025-07-07 08:50:38,816 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-45373081 is found in opserver 2025-07-07 08:50:38,827 - DEBUG - Do not have enough data to verify VN in agent 2025-07-07 08:50:38,832 - DEBUG - VRF ids for VN ctest-vn-45373081: {} 2025-07-07 08:50:38,893 - DEBUG - Services list from nova: [, , ] 2025-07-07 08:50:39,987 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3606-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3606-1) 2025-07-07 08:50:41,299 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3606-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3606-1) 2025-07-07 08:50:41,299 - INFO - Waiting for VM ctest-TestBasicPolicy-25652928-89242548 to be up.. 2025-07-07 08:50:41,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-07 08:50:46,465 - DEBUG - VM is in ACTIVE state now 2025-07-07 08:50:46,465 - INFO - VM name : ctest-TestBasicPolicy-25652928-89242548 2025-07-07 08:50:46,535 - DEBUG - VM ctest-TestBasicPolicy-25652928-89242548 ID is 0476309c-638c-490f-870c-7a4e76700df5 2025-07-07 08:50:46,555 - DEBUG - VM ctest-TestBasicPolicy-25652928-89242548 launched on Node cn-jenkins-deploy-platform-ansible-os-3606-1 2025-07-07 08:50:46,622 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0476309c-638c-490f-870c-7a4e76700df5 2025-07-07 08:50:46,630 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/66c86d23-94fb-4f46-ac51-65f0724af2f6 2025-07-07 08:50:49,893 - 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 1031ms') 2025-07-07 08:50:49,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25652928-89242548 failed! 2025-07-07 08:50:49,949 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25652928:ctest-vn-52273695 is 125.127.51.1 and allocation pool is NOT set 2025-07-07 08:50:52,012 - 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=9.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.28 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 = 2.280/5.811/9.342/3.531 ms') 2025-07-07 08:50:52,012 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25652928-89242548 passed 2025-07-07 08:50:52,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 08:50:52,170 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25652928-89242548, IP 125.127.51.3, Port 22 2025-07-07 08:50:52,326 - DEBUG - VM ctest-TestBasicPolicy-25652928-89242548 is ready for SSH connections 2025-07-07 08:50:52,326 - INFO - Waiting for VM ctest-TestBasicPolicy-25652928-53971767 to be up.. 2025-07-07 08:50:52,414 - DEBUG - VM is in ACTIVE state now 2025-07-07 08:50:52,414 - INFO - VM name : ctest-TestBasicPolicy-25652928-53971767 2025-07-07 08:50:52,498 - DEBUG - VM ctest-TestBasicPolicy-25652928-53971767 ID is f2c737ce-6c4f-47b3-9609-f1e807921aa3 2025-07-07 08:50:52,498 - DEBUG - VM ctest-TestBasicPolicy-25652928-53971767 launched on Node cn-jenkins-deploy-platform-ansible-os-3606-1 2025-07-07 08:50:52,577 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/f2c737ce-6c4f-47b3-9609-f1e807921aa3 2025-07-07 08:50:52,586 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/539f02a0-e760-46f7-9f24-963fc223764c 2025-07-07 08:50:53,822 - 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=3.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.822 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.822/2.219/3.616/1.397 ms') 2025-07-07 08:50:53,823 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25652928-53971767 passed 2025-07-07 08:50:53,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 08:50:53,977 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25652928-53971767, IP 174.164.73.195, Port 22 2025-07-07 08:50:54,132 - DEBUG - VM ctest-TestBasicPolicy-25652928-53971767 is ready for SSH connections 2025-07-07 08:50:54,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 08:50:54,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.164.73.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-07-07 08:50:54,133 - DEBUG - ping -s 56 -c 3 -W 1 174.164.73.195 2025-07-07 08:50:58,267 - DEBUG - PING 174.164.73.195 (174.164.73.195): 56 data bytes 64 bytes from 174.164.73.195: seq=0 ttl=63 time=3.898 ms 64 bytes from 174.164.73.195: seq=1 ttl=63 time=0.769 ms 64 bytes from 174.164.73.195: seq=2 ttl=63 time=0.773 ms --- 174.164.73.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.813/3.898 ms 2025-07-07 08:50:58,267 - INFO - Ping to IP 174.164.73.195 from VM ctest-TestBasicPolicy-25652928-89242548 passed 2025-07-07 08:50:58,449 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ce2fb09d-1db4-4939-b6d4-e0c076346921", "href": "http://10.0.0.48:8082/network-policy/ce2fb09d-1db4-4939-b6d4-e0c076346921"}} 2025-07-07 08:50:58,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 08:50:58,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.164.73.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-07-07 08:50:58,450 - DEBUG - ping -s 56 -c 3 -W 1 174.164.73.195 2025-07-07 08:51:01,677 - DEBUG - PING 174.164.73.195 (174.164.73.195): 56 data bytes --- 174.164.73.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-07 08:51:01,677 - WARNING - Ping to IP 174.164.73.195 from VM ctest-TestBasicPolicy-25652928-89242548 failed 2025-07-07 08:51:01,677 - INFO - Deleting VM ctest-TestBasicPolicy-25652928-53971767 2025-07-07 08:51:01,739 - INFO - Deleting VM ctest-TestBasicPolicy-25652928-89242548 2025-07-07 08:51:02,110 - INFO - Deleted policy ctest-policy-allow-all-16459752 2025-07-07 08:51:02,110 - INFO - Deleting VN ctest-vn-45373081 2025-07-07 08:51:02,149 - DEBUG - VN 4762f5bf-e65a-4780-a4ae-c75819aebe44 still in use: Unable to complete operation on network 4762f5bf-e65a-4780-a4ae-c75819aebe44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75cecff4-93fc-4c37-a0f3-2be350db0fbe'] 2025-07-07 08:51:02,149 - WARNING - Deleting VN ctest-vn-45373081 failed..Will retry 2025-07-07 08:51:04,258 - DEBUG - Response for deleting network () 2025-07-07 08:51:04,258 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/fff0ffa9-92ac-49a7-8473-b2fcbccb3d37 2025-07-07 08:51:04,265 - DEBUG - Response Code: 404 2025-07-07 08:51:04,266 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-07 08:51:04,272 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dbcad863-5002-48bc-bb9e-d39fee579bb9 2025-07-07 08:51:04,328 - DEBUG - Requesting: http://10.0.0.48:8082/project/37d561f9-a8e9-498e-8991-31e71f0b695c 2025-07-07 08:51:04,405 - INFO - Validated that VN ctest-vn-45373081 is not found in API Server 2025-07-07 08:51:04,418 - DEBUG - VN ctest-vn-45373081 is not present in Agent 10.0.0.48 2025-07-07 08:51:04,418 - INFO - Validated that VN ctest-vn-45373081 is not in any agent 2025-07-07 08:51:04,435 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45373081 info 2025-07-07 08:51:04,435 - INFO - Deleting VN ctest-vn-52273695 2025-07-07 08:51:04,540 - DEBUG - Response for deleting network () 2025-07-07 08:51:04,540 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/42a9f237-8a63-4654-961d-9fde6629f8cb 2025-07-07 08:51:04,546 - DEBUG - Response Code: 404 2025-07-07 08:51:04,546 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-07-07 08:51:04,551 - DEBUG - Requesting: http://10.0.0.48:8082/domain/dbcad863-5002-48bc-bb9e-d39fee579bb9 2025-07-07 08:51:04,607 - DEBUG - Requesting: http://10.0.0.48:8082/project/37d561f9-a8e9-498e-8991-31e71f0b695c 2025-07-07 08:51:04,693 - INFO - Validated that VN ctest-vn-52273695 is not found in API Server 2025-07-07 08:51:04,705 - DEBUG - VN ctest-vn-52273695 is not present in Agent 10.0.0.48 2025-07-07 08:51:04,705 - INFO - Validated that VN ctest-vn-52273695 is not in any agent 2025-07-07 08:51:04,721 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52273695 info 2025-07-07 08:51:04,975 - DEBUG - No XMPP flaps were noticed during the test 2025-07-07 08:51:04,975 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-07 08:51:04,976 - INFO - -------------------------------------------------------------------------------- 2025-07-07 08:51:05,700 - INFO - Deleted project: ctest-TestBasicPolicy-25652928, ID : 37d561f9-a8e9-498e-8991-31e71f0b695c