2025-08-25 02:16:13,120 - INFO - Domain Default found not creating 2025-08-25 02:16:13,245 - INFO - Project ctest-TestBasicPolicy-08542021 not found, creating it 2025-08-25 02:16:13,685 - INFO - Created Project:ctest-TestBasicPolicy-08542021, ID : c7a57a77-ca88-4576-944d-75d97f9a7999 2025-08-25 02:16:15,080 - INFO - ================================================================================ 2025-08-25 02:16:15,080 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-25 02:16:15,080 - 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-08-25 02:16:15,341 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-08-25 02:16:15,342 - INFO - Initial checks done. Running the testcase now 2025-08-25 02:16:15,342 - INFO - 2025-08-25 02:16:15,874 - DEBUG - Response for create_network : {'network': {'id': 'd3b8a01e-0512-4f84-8637-d9c5f341e0da', 'name': 'ctest-vn-21019745', 'tenant_id': 'c7a57a77ca884576944d75d97f9a7999', 'project_id': 'c7a57a77ca884576944d75d97f9a7999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08542021', 'ctest-vn-21019745'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:16:16,079 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cebd5cf3-7467-4324-a0eb-7fbd9c369d19', 'name': '', 'tenant_id': 'c7a57a77ca884576944d75d97f9a7999', 'network_id': 'd3b8a01e-0512-4f84-8637-d9c5f341e0da', 'ip_version': 4, 'cidr': '57.202.161.128/26', 'allocation_pools': [{'start': '57.202.161.130', 'end': '57.202.161.190'}], 'gateway_ip': '57.202.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.202.161.130', 'tags': [], 'project_id': 'c7a57a77ca884576944d75d97f9a7999'}} 2025-08-25 02:16:16,097 - INFO - Created VN ctest-vn-21019745 2025-08-25 02:16:16,150 - DEBUG - VN ctest-vn-21019745 UUID is d3b8a01e-0512-4f84-8637-d9c5f341e0da 2025-08-25 02:16:16,470 - DEBUG - Response for create_network : {'network': {'id': '37154cc3-20c3-4682-b949-2049c4decb5a', 'name': 'ctest-vn-90132705', 'tenant_id': 'c7a57a77ca884576944d75d97f9a7999', 'project_id': 'c7a57a77ca884576944d75d97f9a7999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08542021', 'ctest-vn-90132705'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:16:16,666 - DEBUG - Response for create_subnet : {'subnet': {'id': '33036c0a-540e-44ef-ae01-3b2860a899d0', 'name': '', 'tenant_id': 'c7a57a77ca884576944d75d97f9a7999', 'network_id': '37154cc3-20c3-4682-b949-2049c4decb5a', 'ip_version': 4, 'cidr': '34.180.255.64/26', 'allocation_pools': [{'start': '34.180.255.66', 'end': '34.180.255.126'}], 'gateway_ip': '34.180.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.180.255.66', 'tags': [], 'project_id': 'c7a57a77ca884576944d75d97f9a7999'}} 2025-08-25 02:16:16,682 - INFO - Created VN ctest-vn-90132705 2025-08-25 02:16:16,735 - DEBUG - VN ctest-vn-90132705 UUID is 37154cc3-20c3-4682-b949-2049c4decb5a 2025-08-25 02:16:16,886 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-21019745, 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-08542021:ctest-vn-90132705, 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-08-25 02:16:17,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3b8a01e-0512-4f84-8637-d9c5f341e0da', 'name': 'ctest-vn-21019745', 'tenant_id': 'c7a57a77ca884576944d75d97f9a7999', 'project_id': 'c7a57a77ca884576944d75d97f9a7999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cebd5cf3-7467-4324-a0eb-7fbd9c369d19'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08542021', 'ctest-vn-21019745'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08542021', 'ctest-policy-allow-all-89169256']], 'subnet_ipam': [{'subnet_cidr': '57.202.161.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:16:17,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '37154cc3-20c3-4682-b949-2049c4decb5a', 'name': 'ctest-vn-90132705', 'tenant_id': 'c7a57a77ca884576944d75d97f9a7999', 'project_id': 'c7a57a77ca884576944d75d97f9a7999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['33036c0a-540e-44ef-ae01-3b2860a899d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08542021', 'ctest-vn-90132705'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08542021', 'ctest-policy-allow-all-89169256']], 'subnet_ipam': [{'subnet_cidr': '34.180.255.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:16:17,598 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-25 02:16:17,887 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-25 02:16:17,912 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7c1c5fd1-2917-4961-9f07-b2c8c0eec004 2025-08-25 02:16:17,925 - DEBUG - Requesting: http://10.0.0.50:8082/project/c7a57a77-ca88-4576-944d-75d97f9a7999 2025-08-25 02:16:18,003 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3b8a01e-0512-4f84-8637-d9c5f341e0da 2025-08-25 02:16:18,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3b8a01e-0512-4f84-8637-d9c5f341e0da 2025-08-25 02:16:18,022 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8754dc30-098d-4b89-b116-38cf86094f97 2025-08-25 02:16:18,028 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8754dc30-098d-4b89-b116-38cf86094f97 2025-08-25 02:16:18,035 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/27dc489d-43e8-4536-bd89-81932fca2b92 2025-08-25 02:16:18,041 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 02:16:18,041 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3b8a01e-0512-4f84-8637-d9c5f341e0da 2025-08-25 02:16:18,049 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8754dc30-098d-4b89-b116-38cf86094f97 2025-08-25 02:16:18,061 - INFO - Verified VN network id 11 for VN d3b8a01e-0512-4f84-8637-d9c5f341e0da 2025-08-25 02:16:18,061 - INFO - Verifications in API Server for VN ctest-vn-21019745 passed 2025-08-25 02:16:18,061 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3b8a01e-0512-4f84-8637-d9c5f341e0da 2025-08-25 02:16:18,071 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8754dc30-098d-4b89-b116-38cf86094f97 2025-08-25 02:16:18,077 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8754dc30-098d-4b89-b116-38cf86094f97 2025-08-25 02:16:18,083 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/27dc489d-43e8-4536-bd89-81932fca2b92 2025-08-25 02:16:18,094 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-21019745', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08542021', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15256119788512104324', 'uuid-lslong': '9671438169014395098'}, 'enable': 'true', 'created': '2025-08-25T02:16:15', 'last-modified': '2025-08-25T02:16:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.926897'} 2025-08-25 02:16:18,100 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 02:16:18,100 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21019745 passed 2025-08-25 02:16:18,100 - DEBUG - ====Verifying policy data for ctest-vn-21019745 in API_Server ====== 2025-08-25 02:16:18,100 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-25 02:16:18,104 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7c1c5fd1-2917-4961-9f07-b2c8c0eec004 2025-08-25 02:16:18,115 - DEBUG - Requesting: http://10.0.0.50:8082/project/c7a57a77-ca88-4576-944d-75d97f9a7999 2025-08-25 02:16:18,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3b8a01e-0512-4f84-8637-d9c5f341e0da 2025-08-25 02:16:18,207 - DEBUG - ==>Verifying data for policy with id: 4b974b04-b7be-4355-a9ba-3fc108be56b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-08542021', 'ctest-policy-allow-all-89169256'] 2025-08-25 02:16:18,207 - INFO - VN ctest-vn-21019745 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 02:16:18,207 - DEBUG - Verifying the vn in opserver 2025-08-25 02:16:18,207 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-21019745 virtual network link through opserver 10.0.0.50 2025-08-25 02:16:18,208 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-25 02:16:18,495 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-25 02:16:18,544 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-21019745', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-21019745?flat'} 2025-08-25 02:16:18,544 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-21019745 is found in opserver 2025-08-25 02:16:18,554 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 02:16:18,559 - DEBUG - VRF ids for VN ctest-vn-21019745: {} 2025-08-25 02:16:18,559 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-25 02:16:18,564 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7c1c5fd1-2917-4961-9f07-b2c8c0eec004 2025-08-25 02:16:18,574 - DEBUG - Requesting: http://10.0.0.50:8082/project/c7a57a77-ca88-4576-944d-75d97f9a7999 2025-08-25 02:16:18,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/37154cc3-20c3-4682-b949-2049c4decb5a 2025-08-25 02:16:18,653 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/37154cc3-20c3-4682-b949-2049c4decb5a 2025-08-25 02:16:18,662 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/959c9b21-f95b-4655-8fe8-6a8fb7d2c542 2025-08-25 02:16:18,668 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/959c9b21-f95b-4655-8fe8-6a8fb7d2c542 2025-08-25 02:16:18,674 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/36c2f687-4d38-4450-8da3-079c0137ddad 2025-08-25 02:16:18,679 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 02:16:18,679 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/37154cc3-20c3-4682-b949-2049c4decb5a 2025-08-25 02:16:18,688 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/959c9b21-f95b-4655-8fe8-6a8fb7d2c542 2025-08-25 02:16:18,700 - INFO - Verified VN network id 12 for VN 37154cc3-20c3-4682-b949-2049c4decb5a 2025-08-25 02:16:18,700 - INFO - Verifications in API Server for VN ctest-vn-90132705 passed 2025-08-25 02:16:18,700 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/37154cc3-20c3-4682-b949-2049c4decb5a 2025-08-25 02:16:18,709 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/959c9b21-f95b-4655-8fe8-6a8fb7d2c542 2025-08-25 02:16:18,715 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/959c9b21-f95b-4655-8fe8-6a8fb7d2c542 2025-08-25 02:16:18,720 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/36c2f687-4d38-4450-8da3-079c0137ddad 2025-08-25 02:16:18,731 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-90132705', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08542021', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3969163047548962434', 'uuid-lslong': '13351238071524182874'}, 'enable': 'true', 'created': '2025-08-25T02:16:16', 'last-modified': '2025-08-25T02:16:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338174'} 2025-08-25 02:16:18,737 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 02:16:18,737 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90132705 passed 2025-08-25 02:16:18,737 - DEBUG - ====Verifying policy data for ctest-vn-90132705 in API_Server ====== 2025-08-25 02:16:18,737 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-25 02:16:18,743 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7c1c5fd1-2917-4961-9f07-b2c8c0eec004 2025-08-25 02:16:18,754 - DEBUG - Requesting: http://10.0.0.50:8082/project/c7a57a77-ca88-4576-944d-75d97f9a7999 2025-08-25 02:16:18,825 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/37154cc3-20c3-4682-b949-2049c4decb5a 2025-08-25 02:16:18,835 - DEBUG - ==>Verifying data for policy with id: 4b974b04-b7be-4355-a9ba-3fc108be56b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-08542021', 'ctest-policy-allow-all-89169256'] 2025-08-25 02:16:18,835 - INFO - VN ctest-vn-90132705 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 02:16:18,835 - DEBUG - Verifying the vn in opserver 2025-08-25 02:16:18,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-90132705 virtual network link through opserver 10.0.0.50 2025-08-25 02:16:18,835 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-25 02:16:18,844 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-90132705', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-90132705?flat'} 2025-08-25 02:16:18,844 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-90132705 is found in opserver 2025-08-25 02:16:18,855 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 02:16:18,859 - DEBUG - VRF ids for VN ctest-vn-90132705: {} 2025-08-25 02:16:18,907 - DEBUG - Services list from nova: [, , ] 2025-08-25 02:16:19,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3918-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3918-1) 2025-08-25 02:16:20,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3918-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3918-1) 2025-08-25 02:16:20,885 - INFO - Waiting for VM ctest-TestBasicPolicy-08542021-06237546 to be up.. 2025-08-25 02:16:20,962 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 02:16:26,041 - DEBUG - VM is in ACTIVE state now 2025-08-25 02:16:26,041 - INFO - VM name : ctest-TestBasicPolicy-08542021-06237546 2025-08-25 02:16:26,109 - DEBUG - VM ctest-TestBasicPolicy-08542021-06237546 ID is 7ace9426-1b49-4b78-b99e-78caec72055f 2025-08-25 02:16:26,129 - DEBUG - VM ctest-TestBasicPolicy-08542021-06237546 launched on Node cn-jenkins-deploy-platform-ansible-os-3918-1 2025-08-25 02:16:26,200 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7ace9426-1b49-4b78-b99e-78caec72055f 2025-08-25 02:16:26,208 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e41a4733-7b30-459b-8413-46b809934154 2025-08-25 02:16:29,451 - 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 1004ms') 2025-08-25 02:16:29,452 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08542021-06237546 failed! 2025-08-25 02:16:29,510 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08542021:ctest-vn-21019745 is 57.202.161.129 and allocation pool is NOT set 2025-08-25 02:16:31,574 - 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=8.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.502 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.502/4.493/8.484/3.991 ms') 2025-08-25 02:16:31,574 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08542021-06237546 passed 2025-08-25 02:16:31,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:16:31,722 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08542021-06237546, IP 57.202.161.131, Port 22 2025-08-25 02:16:31,873 - DEBUG - VM ctest-TestBasicPolicy-08542021-06237546 is ready for SSH connections 2025-08-25 02:16:31,873 - INFO - Waiting for VM ctest-TestBasicPolicy-08542021-28958800 to be up.. 2025-08-25 02:16:31,940 - DEBUG - VM is in ACTIVE state now 2025-08-25 02:16:31,940 - INFO - VM name : ctest-TestBasicPolicy-08542021-28958800 2025-08-25 02:16:32,002 - DEBUG - VM ctest-TestBasicPolicy-08542021-28958800 ID is 41dad41e-c945-4c7c-8bf3-e3d66c7ab240 2025-08-25 02:16:32,002 - DEBUG - VM ctest-TestBasicPolicy-08542021-28958800 launched on Node cn-jenkins-deploy-platform-ansible-os-3918-1 2025-08-25 02:16:32,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/41dad41e-c945-4c7c-8bf3-e3d66c7ab240 2025-08-25 02:16:32,072 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/65ffb2a8-9ceb-4215-a2e2-8a50d318442b 2025-08-25 02:16:33,307 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.324 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.324/1.498/2.672/1.174 ms') 2025-08-25 02:16:33,307 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08542021-28958800 passed 2025-08-25 02:16:33,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:16:33,459 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08542021-28958800, IP 34.180.255.67, Port 22 2025-08-25 02:16:33,617 - DEBUG - VM ctest-TestBasicPolicy-08542021-28958800 is ready for SSH connections 2025-08-25 02:16:33,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:16:33,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.180.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-25 02:16:33,618 - DEBUG - ping -s 56 -c 3 -W 1 34.180.255.67 2025-08-25 02:16:37,280 - DEBUG - PING 34.180.255.67 (34.180.255.67): 56 data bytes 64 bytes from 34.180.255.67: seq=0 ttl=63 time=3.052 ms 64 bytes from 34.180.255.67: seq=1 ttl=63 time=0.664 ms 64 bytes from 34.180.255.67: seq=2 ttl=63 time=0.668 ms --- 34.180.255.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.664/1.461/3.052 ms 2025-08-25 02:16:37,280 - INFO - Ping to IP 34.180.255.67 from VM ctest-TestBasicPolicy-08542021-06237546 passed 2025-08-25 02:16:37,458 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4b974b04-b7be-4355-a9ba-3fc108be56b2", "href": "http://10.0.0.50:8082/network-policy/4b974b04-b7be-4355-a9ba-3fc108be56b2"}} 2025-08-25 02:16:37,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:16:37,458 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.180.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-25 02:16:37,458 - DEBUG - ping -s 56 -c 3 -W 1 34.180.255.67 2025-08-25 02:16:40,655 - DEBUG - PING 34.180.255.67 (34.180.255.67): 56 data bytes 64 bytes from 34.180.255.67: seq=0 ttl=63 time=2.151 ms --- 34.180.255.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.151/2.151/2.151 ms 2025-08-25 02:16:40,655 - WARNING - Ping to IP 34.180.255.67 from VM ctest-TestBasicPolicy-08542021-06237546 failed 2025-08-25 02:16:40,656 - INFO - Deleting VM ctest-TestBasicPolicy-08542021-28958800 2025-08-25 02:16:40,716 - INFO - Deleting VM ctest-TestBasicPolicy-08542021-06237546 2025-08-25 02:16:41,112 - INFO - Deleted policy ctest-policy-allow-all-89169256 2025-08-25 02:16:41,112 - INFO - Deleting VN ctest-vn-90132705 2025-08-25 02:16:41,150 - DEBUG - VN 37154cc3-20c3-4682-b949-2049c4decb5a still in use: Unable to complete operation on network 37154cc3-20c3-4682-b949-2049c4decb5a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36d45926-5b81-4470-9dad-f655671c4780'] 2025-08-25 02:16:41,150 - WARNING - Deleting VN ctest-vn-90132705 failed..Will retry 2025-08-25 02:16:43,253 - DEBUG - Response for deleting network () 2025-08-25 02:16:43,253 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/959c9b21-f95b-4655-8fe8-6a8fb7d2c542 2025-08-25 02:16:43,258 - DEBUG - Response Code: 404 2025-08-25 02:16:43,258 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-25 02:16:43,264 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7c1c5fd1-2917-4961-9f07-b2c8c0eec004 2025-08-25 02:16:43,316 - DEBUG - Requesting: http://10.0.0.50:8082/project/c7a57a77-ca88-4576-944d-75d97f9a7999 2025-08-25 02:16:43,387 - INFO - Validated that VN ctest-vn-90132705 is not found in API Server 2025-08-25 02:16:43,398 - DEBUG - VN ctest-vn-90132705 is not present in Agent 10.0.0.50 2025-08-25 02:16:43,398 - INFO - Validated that VN ctest-vn-90132705 is not in any agent 2025-08-25 02:16:43,412 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90132705 info 2025-08-25 02:16:43,412 - INFO - Deleting VN ctest-vn-21019745 2025-08-25 02:16:43,506 - DEBUG - Response for deleting network () 2025-08-25 02:16:43,506 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8754dc30-098d-4b89-b116-38cf86094f97 2025-08-25 02:16:43,517 - DEBUG - Response Code: 404 2025-08-25 02:16:43,517 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-25 02:16:43,523 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7c1c5fd1-2917-4961-9f07-b2c8c0eec004 2025-08-25 02:16:43,575 - DEBUG - Requesting: http://10.0.0.50:8082/project/c7a57a77-ca88-4576-944d-75d97f9a7999 2025-08-25 02:16:43,646 - INFO - Validated that VN ctest-vn-21019745 is not found in API Server 2025-08-25 02:16:43,656 - DEBUG - VN ctest-vn-21019745 is not present in Agent 10.0.0.50 2025-08-25 02:16:43,657 - INFO - Validated that VN ctest-vn-21019745 is not in any agent 2025-08-25 02:16:43,671 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21019745 info 2025-08-25 02:16:43,931 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 02:16:43,932 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-08-25 02:16:43,932 - INFO - -------------------------------------------------------------------------------- 2025-08-25 02:16:44,574 - INFO - Deleted project: ctest-TestBasicPolicy-08542021, ID : c7a57a77-ca88-4576-944d-75d97f9a7999