2025-12-01 17:54:59,031 - INFO - Domain Default found not creating 2025-12-01 17:54:59,190 - INFO - Project ctest-TestBasicPolicy-76998750 not found, creating it 2025-12-01 17:54:59,645 - INFO - Created Project:ctest-TestBasicPolicy-76998750, ID : 02649985-031a-46e2-965a-a0534bea36d9 2025-12-01 17:55:01,090 - INFO - ================================================================================ 2025-12-01 17:55:01,090 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-01 17:55:01,090 - 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-12-01 17:55:01,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-12-01 17:55:01,346 - INFO - Initial checks done. Running the testcase now 2025-12-01 17:55:01,346 - INFO - 2025-12-01 17:55:01,890 - DEBUG - Response for create_network : {'network': {'id': 'cbac50e1-1ced-4acc-b9d7-8dc03ea9e870', 'name': 'ctest-vn-18561083', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'project_id': '02649985031a46e2965aa0534bea36d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-vn-18561083'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:55:02,118 - DEBUG - Response for create_subnet : {'subnet': {'id': '12b691ce-68f6-43ba-a1ff-48f9ac86b51b', 'name': '', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'network_id': 'cbac50e1-1ced-4acc-b9d7-8dc03ea9e870', 'ip_version': 4, 'cidr': '125.5.95.64/26', 'allocation_pools': [{'start': '125.5.95.66', 'end': '125.5.95.126'}], 'gateway_ip': '125.5.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.5.95.66', 'tags': [], 'project_id': '02649985031a46e2965aa0534bea36d9'}} 2025-12-01 17:55:02,136 - INFO - Created VN ctest-vn-18561083 2025-12-01 17:55:02,188 - DEBUG - VN ctest-vn-18561083 UUID is cbac50e1-1ced-4acc-b9d7-8dc03ea9e870 2025-12-01 17:55:02,468 - DEBUG - Response for create_network : {'network': {'id': '8f3ee346-e7db-42e7-99dd-7f2135d9b6dd', 'name': 'ctest-vn-07538142', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'project_id': '02649985031a46e2965aa0534bea36d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-vn-07538142'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:55:02,684 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae27670e-0405-4a92-b5b6-af5fa8d274e1', 'name': '', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'network_id': '8f3ee346-e7db-42e7-99dd-7f2135d9b6dd', 'ip_version': 4, 'cidr': '44.74.119.128/26', 'allocation_pools': [{'start': '44.74.119.130', 'end': '44.74.119.190'}], 'gateway_ip': '44.74.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.74.119.130', 'tags': [], 'project_id': '02649985031a46e2965aa0534bea36d9'}} 2025-12-01 17:55:02,701 - INFO - Created VN ctest-vn-07538142 2025-12-01 17:55:02,752 - DEBUG - VN ctest-vn-07538142 UUID is 8f3ee346-e7db-42e7-99dd-7f2135d9b6dd 2025-12-01 17:55:02,904 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083, 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-76998750:ctest-vn-07538142, 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-12-01 17:55:03,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cbac50e1-1ced-4acc-b9d7-8dc03ea9e870', 'name': 'ctest-vn-18561083', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'project_id': '02649985031a46e2965aa0534bea36d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['12b691ce-68f6-43ba-a1ff-48f9ac86b51b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-vn-18561083'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-policy-allow-all-31737226']], 'subnet_ipam': [{'subnet_cidr': '125.5.95.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:55:03,419 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f3ee346-e7db-42e7-99dd-7f2135d9b6dd', 'name': 'ctest-vn-07538142', 'tenant_id': '02649985031a46e2965aa0534bea36d9', 'project_id': '02649985031a46e2965aa0534bea36d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae27670e-0405-4a92-b5b6-af5fa8d274e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-vn-07538142'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-policy-allow-all-31737226']], 'subnet_ipam': [{'subnet_cidr': '44.74.119.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:55:03,580 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-01 17:55:03,873 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-01 17:55:03,903 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3deabbef-de8b-4a7e-af23-dc68ae7df84d 2025-12-01 17:55:03,914 - DEBUG - Requesting: http://10.0.0.33:8082/project/02649985-031a-46e2-965a-a0534bea36d9 2025-12-01 17:55:03,981 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbac50e1-1ced-4acc-b9d7-8dc03ea9e870 2025-12-01 17:55:03,992 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbac50e1-1ced-4acc-b9d7-8dc03ea9e870 2025-12-01 17:55:04,001 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21 2025-12-01 17:55:04,008 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21 2025-12-01 17:55:04,014 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/50a847ab-2fdf-4748-a91d-6ee99173824f 2025-12-01 17:55:04,020 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 17:55:04,020 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbac50e1-1ced-4acc-b9d7-8dc03ea9e870 2025-12-01 17:55:04,028 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21 2025-12-01 17:55:04,040 - INFO - Verified VN network id 12 for VN cbac50e1-1ced-4acc-b9d7-8dc03ea9e870 2025-12-01 17:55:04,040 - INFO - Verifications in API Server for VN ctest-vn-18561083 passed 2025-12-01 17:55:04,040 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbac50e1-1ced-4acc-b9d7-8dc03ea9e870 2025-12-01 17:55:04,048 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21 2025-12-01 17:55:04,054 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21 2025-12-01 17:55:04,060 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/50a847ab-2fdf-4748-a91d-6ee99173824f 2025-12-01 17:55:04,071 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76998750', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14676194213476780748', 'uuid-lslong': '13391327873834018928'}, 'enable': 'true', 'created': '2025-12-01T17:55:01', 'last-modified': '2025-12-01T17:55:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.902490'} 2025-12-01 17:55:04,078 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 17:55:04,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18561083 passed 2025-12-01 17:55:04,078 - DEBUG - ====Verifying policy data for ctest-vn-18561083 in API_Server ====== 2025-12-01 17:55:04,078 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-01 17:55:04,083 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3deabbef-de8b-4a7e-af23-dc68ae7df84d 2025-12-01 17:55:04,093 - DEBUG - Requesting: http://10.0.0.33:8082/project/02649985-031a-46e2-965a-a0534bea36d9 2025-12-01 17:55:04,161 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbac50e1-1ced-4acc-b9d7-8dc03ea9e870 2025-12-01 17:55:04,170 - DEBUG - ==>Verifying data for policy with id: 422234d2-2969-47f1-9914-df45e1902b27, fqn: ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-policy-allow-all-31737226'] 2025-12-01 17:55:04,170 - INFO - VN ctest-vn-18561083 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 17:55:04,170 - DEBUG - Verifying the vn in opserver 2025-12-01 17:55:04,170 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083 virtual network link through opserver 10.0.0.33 2025-12-01 17:55:04,171 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-01 17:55:04,459 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-01 17:55:04,527 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083?flat'} 2025-12-01 17:55:04,527 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083 is found in opserver 2025-12-01 17:55:04,536 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 17:55:04,540 - DEBUG - VRF ids for VN ctest-vn-18561083: {} 2025-12-01 17:55:04,540 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-01 17:55:04,545 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3deabbef-de8b-4a7e-af23-dc68ae7df84d 2025-12-01 17:55:04,556 - DEBUG - Requesting: http://10.0.0.33:8082/project/02649985-031a-46e2-965a-a0534bea36d9 2025-12-01 17:55:04,623 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f3ee346-e7db-42e7-99dd-7f2135d9b6dd 2025-12-01 17:55:04,634 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f3ee346-e7db-42e7-99dd-7f2135d9b6dd 2025-12-01 17:55:04,642 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca 2025-12-01 17:55:04,648 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca 2025-12-01 17:55:04,653 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2a4cb7d9-cd48-4299-90b8-5e14635d6f91 2025-12-01 17:55:04,659 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 17:55:04,659 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f3ee346-e7db-42e7-99dd-7f2135d9b6dd 2025-12-01 17:55:04,669 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca 2025-12-01 17:55:04,684 - INFO - Verified VN network id 13 for VN 8f3ee346-e7db-42e7-99dd-7f2135d9b6dd 2025-12-01 17:55:04,684 - INFO - Verifications in API Server for VN ctest-vn-07538142 passed 2025-12-01 17:55:04,684 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f3ee346-e7db-42e7-99dd-7f2135d9b6dd 2025-12-01 17:55:04,695 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca 2025-12-01 17:55:04,703 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca 2025-12-01 17:55:04,710 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2a4cb7d9-cd48-4299-90b8-5e14635d6f91 2025-12-01 17:55:04,722 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-07538142', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76998750', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10321937289656877799', 'uuid-lslong': '11087157638270138077'}, 'enable': 'true', 'created': '2025-12-01T17:55:02', 'last-modified': '2025-12-01T17:55:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.331511'} 2025-12-01 17:55:04,728 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 17:55:04,729 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07538142 passed 2025-12-01 17:55:04,729 - DEBUG - ====Verifying policy data for ctest-vn-07538142 in API_Server ====== 2025-12-01 17:55:04,729 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-01 17:55:04,734 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3deabbef-de8b-4a7e-af23-dc68ae7df84d 2025-12-01 17:55:04,744 - DEBUG - Requesting: http://10.0.0.33:8082/project/02649985-031a-46e2-965a-a0534bea36d9 2025-12-01 17:55:04,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f3ee346-e7db-42e7-99dd-7f2135d9b6dd 2025-12-01 17:55:04,825 - DEBUG - ==>Verifying data for policy with id: 422234d2-2969-47f1-9914-df45e1902b27, fqn: ['default-domain', 'ctest-TestBasicPolicy-76998750', 'ctest-policy-allow-all-31737226'] 2025-12-01 17:55:04,825 - INFO - VN ctest-vn-07538142 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 17:55:04,825 - DEBUG - Verifying the vn in opserver 2025-12-01 17:55:04,826 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-07538142 virtual network link through opserver 10.0.0.33 2025-12-01 17:55:04,826 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-01 17:55:04,834 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-07538142', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-07538142?flat'} 2025-12-01 17:55:04,834 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-07538142 is found in opserver 2025-12-01 17:55:04,843 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 17:55:04,847 - DEBUG - VRF ids for VN ctest-vn-07538142: {} 2025-12-01 17:55:04,905 - DEBUG - Services list from nova: [, , ] 2025-12-01 17:55:05,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4832-1) 2025-12-01 17:55:07,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4832-1) 2025-12-01 17:55:07,018 - INFO - Waiting for VM ctest-TestBasicPolicy-76998750-36631708 to be up.. 2025-12-01 17:55:07,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 17:55:12,169 - DEBUG - VM is in ACTIVE state now 2025-12-01 17:55:12,169 - INFO - VM name : ctest-TestBasicPolicy-76998750-36631708 2025-12-01 17:55:12,237 - DEBUG - VM ctest-TestBasicPolicy-76998750-36631708 ID is 118bcd88-fa0e-4cee-9902-d40a3e82e080 2025-12-01 17:55:12,255 - DEBUG - VM ctest-TestBasicPolicy-76998750-36631708 launched on Node cn-jenkins-deploy-platform-ansible-os-4832-1 2025-12-01 17:55:12,324 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/118bcd88-fa0e-4cee-9902-d40a3e82e080 2025-12-01 17:55:12,333 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e2382e24-0ed1-455e-872a-5cae4a87dee3 2025-12-01 17:55:15,597 - 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-12-01 17:55:15,597 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76998750-36631708 failed! 2025-12-01 17:55:15,652 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76998750:ctest-vn-18561083 is 125.5.95.65 and allocation pool is NOT set 2025-12-01 17:55:17,712 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.489 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.489/1.844/3.200/1.355 ms') 2025-12-01 17:55:17,712 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76998750-36631708 passed 2025-12-01 17:55:17,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:55:17,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76998750-36631708, IP 125.5.95.67, Port 22 2025-12-01 17:55:18,011 - DEBUG - VM ctest-TestBasicPolicy-76998750-36631708 is ready for SSH connections 2025-12-01 17:55:18,011 - INFO - Waiting for VM ctest-TestBasicPolicy-76998750-96946021 to be up.. 2025-12-01 17:55:18,082 - DEBUG - VM is in ACTIVE state now 2025-12-01 17:55:18,082 - INFO - VM name : ctest-TestBasicPolicy-76998750-96946021 2025-12-01 17:55:18,148 - DEBUG - VM ctest-TestBasicPolicy-76998750-96946021 ID is 94e0f1a5-6476-4926-8bd5-52606371ffa4 2025-12-01 17:55:18,148 - DEBUG - VM ctest-TestBasicPolicy-76998750-96946021 launched on Node cn-jenkins-deploy-platform-ansible-os-4832-1 2025-12-01 17:55:18,216 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/94e0f1a5-6476-4926-8bd5-52606371ffa4 2025-12-01 17:55:18,225 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a8216b9e-4dbd-4705-b04c-c5831ecd9f0a 2025-12-01 17:55:19,464 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 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.457/2.065/3.674/1.608 ms') 2025-12-01 17:55:19,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76998750-96946021 passed 2025-12-01 17:55:19,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:55:19,616 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76998750-96946021, IP 44.74.119.131, Port 22 2025-12-01 17:55:19,775 - DEBUG - VM ctest-TestBasicPolicy-76998750-96946021 is ready for SSH connections 2025-12-01 17:55:19,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:55:19,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.74.119.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-01 17:55:19,776 - DEBUG - ping -s 56 -c 3 -W 1 44.74.119.131 2025-12-01 17:55:23,480 - DEBUG - PING 44.74.119.131 (44.74.119.131): 56 data bytes 64 bytes from 44.74.119.131: seq=0 ttl=63 time=3.242 ms 64 bytes from 44.74.119.131: seq=1 ttl=63 time=0.879 ms 64 bytes from 44.74.119.131: seq=2 ttl=63 time=0.830 ms --- 44.74.119.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.650/3.242 ms 2025-12-01 17:55:23,480 - INFO - Ping to IP 44.74.119.131 from VM ctest-TestBasicPolicy-76998750-36631708 passed 2025-12-01 17:55:23,668 - DEBUG - Policy Update Response {"network-policy": {"uuid": "422234d2-2969-47f1-9914-df45e1902b27", "href": "http://10.0.0.33:8082/network-policy/422234d2-2969-47f1-9914-df45e1902b27"}} 2025-12-01 17:55:23,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:55:23,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.74.119.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-01 17:55:23,668 - DEBUG - ping -s 56 -c 3 -W 1 44.74.119.131 2025-12-01 17:55:26,875 - DEBUG - PING 44.74.119.131 (44.74.119.131): 56 data bytes --- 44.74.119.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-01 17:55:26,875 - WARNING - Ping to IP 44.74.119.131 from VM ctest-TestBasicPolicy-76998750-36631708 failed 2025-12-01 17:55:26,876 - INFO - Deleting VM ctest-TestBasicPolicy-76998750-96946021 2025-12-01 17:55:26,944 - INFO - Deleting VM ctest-TestBasicPolicy-76998750-36631708 2025-12-01 17:55:27,362 - INFO - Deleted policy ctest-policy-allow-all-31737226 2025-12-01 17:55:27,362 - INFO - Deleting VN ctest-vn-07538142 2025-12-01 17:55:27,395 - DEBUG - VN 8f3ee346-e7db-42e7-99dd-7f2135d9b6dd still in use: Unable to complete operation on network 8f3ee346-e7db-42e7-99dd-7f2135d9b6dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-42b8987c-9d28-4fbd-aa66-4b0f8fc259b6'] 2025-12-01 17:55:27,395 - WARNING - Deleting VN ctest-vn-07538142 failed..Will retry 2025-12-01 17:55:29,488 - DEBUG - Response for deleting network () 2025-12-01 17:55:29,488 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77e72615-e201-4b2b-9d6d-a7589f576eca 2025-12-01 17:55:29,494 - DEBUG - Response Code: 404 2025-12-01 17:55:29,494 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-01 17:55:29,500 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3deabbef-de8b-4a7e-af23-dc68ae7df84d 2025-12-01 17:55:29,555 - DEBUG - Requesting: http://10.0.0.33:8082/project/02649985-031a-46e2-965a-a0534bea36d9 2025-12-01 17:55:29,640 - INFO - Validated that VN ctest-vn-07538142 is not found in API Server 2025-12-01 17:55:29,649 - DEBUG - VN ctest-vn-07538142 is not present in Agent 10.0.0.33 2025-12-01 17:55:29,649 - INFO - Validated that VN ctest-vn-07538142 is not in any agent 2025-12-01 17:55:29,662 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07538142 info 2025-12-01 17:55:29,662 - INFO - Deleting VN ctest-vn-18561083 2025-12-01 17:55:29,762 - DEBUG - Response for deleting network () 2025-12-01 17:55:29,762 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1753d1b4-d87b-4d7a-8ed3-b3ac29fecb21 2025-12-01 17:55:29,768 - DEBUG - Response Code: 404 2025-12-01 17:55:29,768 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-01 17:55:29,774 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3deabbef-de8b-4a7e-af23-dc68ae7df84d 2025-12-01 17:55:29,829 - DEBUG - Requesting: http://10.0.0.33:8082/project/02649985-031a-46e2-965a-a0534bea36d9 2025-12-01 17:55:29,896 - INFO - Validated that VN ctest-vn-18561083 is not found in API Server 2025-12-01 17:55:29,905 - DEBUG - VN ctest-vn-18561083 is not present in Agent 10.0.0.33 2025-12-01 17:55:29,905 - INFO - Validated that VN ctest-vn-18561083 is not in any agent 2025-12-01 17:55:29,917 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18561083 info 2025-12-01 17:55:30,169 - DEBUG - No XMPP flaps were noticed during the test 2025-12-01 17:55:30,169 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-12-01 17:55:30,169 - INFO - -------------------------------------------------------------------------------- 2025-12-01 17:55:30,825 - INFO - Deleted project: ctest-TestBasicPolicy-76998750, ID : 02649985-031a-46e2-965a-a0534bea36d9