2025-10-15 10:46:51,795 - INFO - Domain Default found not creating 2025-10-15 10:46:51,947 - INFO - Project ctest-TestBasicPolicy-22035750 not found, creating it 2025-10-15 10:46:52,424 - INFO - Created Project:ctest-TestBasicPolicy-22035750, ID : a924d07f-1412-4722-82d2-e2d61c439f12 2025-10-15 10:46:53,857 - INFO - ================================================================================ 2025-10-15 10:46:53,858 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-15 10:46:53,858 - 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-10-15 10:46:54,117 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.145': '0'}} with 2025-10-15 10:46:54,117 - INFO - Initial checks done. Running the testcase now 2025-10-15 10:46:54,117 - INFO - 2025-10-15 10:46:54,668 - DEBUG - Response for create_network : {'network': {'id': 'cc512f49-8144-45d3-9cd5-3f7e876fa888', 'name': 'ctest-vn-24448525', 'tenant_id': 'a924d07f1412472282d2e2d61c439f12', 'project_id': 'a924d07f1412472282d2e2d61c439f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22035750', 'ctest-vn-24448525'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 10:46:54,853 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fee8233a-f984-4fd6-a078-61265fc90259', 'name': '', 'tenant_id': 'a924d07f1412472282d2e2d61c439f12', 'network_id': 'cc512f49-8144-45d3-9cd5-3f7e876fa888', 'ip_version': 4, 'cidr': '207.162.18.0/26', 'allocation_pools': [{'start': '207.162.18.2', 'end': '207.162.18.62'}], 'gateway_ip': '207.162.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.162.18.2', 'tags': [], 'project_id': 'a924d07f1412472282d2e2d61c439f12'}} 2025-10-15 10:46:54,872 - INFO - Created VN ctest-vn-24448525 2025-10-15 10:46:54,924 - DEBUG - VN ctest-vn-24448525 UUID is cc512f49-8144-45d3-9cd5-3f7e876fa888 2025-10-15 10:46:55,255 - DEBUG - Response for create_network : {'network': {'id': '094dde11-3e67-4035-a33e-e815baa96fa1', 'name': 'ctest-vn-05478893', 'tenant_id': 'a924d07f1412472282d2e2d61c439f12', 'project_id': 'a924d07f1412472282d2e2d61c439f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22035750', 'ctest-vn-05478893'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 10:46:55,443 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad71e8e5-d5d1-47a0-929d-3aecf5c21564', 'name': '', 'tenant_id': 'a924d07f1412472282d2e2d61c439f12', 'network_id': '094dde11-3e67-4035-a33e-e815baa96fa1', 'ip_version': 4, 'cidr': '188.217.224.0/26', 'allocation_pools': [{'start': '188.217.224.2', 'end': '188.217.224.62'}], 'gateway_ip': '188.217.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.217.224.2', 'tags': [], 'project_id': 'a924d07f1412472282d2e2d61c439f12'}} 2025-10-15 10:46:55,463 - INFO - Created VN ctest-vn-05478893 2025-10-15 10:46:55,512 - DEBUG - VN ctest-vn-05478893 UUID is 094dde11-3e67-4035-a33e-e815baa96fa1 2025-10-15 10:46:55,664 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-24448525, 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-22035750:ctest-vn-05478893, 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-10-15 10:46:55,957 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc512f49-8144-45d3-9cd5-3f7e876fa888', 'name': 'ctest-vn-24448525', 'tenant_id': 'a924d07f1412472282d2e2d61c439f12', 'project_id': 'a924d07f1412472282d2e2d61c439f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fee8233a-f984-4fd6-a078-61265fc90259'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22035750', 'ctest-vn-24448525'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22035750', 'ctest-policy-allow-all-52242869']], 'subnet_ipam': [{'subnet_cidr': '207.162.18.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 10:46:56,178 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '094dde11-3e67-4035-a33e-e815baa96fa1', 'name': 'ctest-vn-05478893', 'tenant_id': 'a924d07f1412472282d2e2d61c439f12', 'project_id': 'a924d07f1412472282d2e2d61c439f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad71e8e5-d5d1-47a0-929d-3aecf5c21564'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22035750', 'ctest-vn-05478893'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22035750', 'ctest-policy-allow-all-52242869']], 'subnet_ipam': [{'subnet_cidr': '188.217.224.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 10:46:56,328 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-15 10:46:56,625 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-15 10:46:56,658 - DEBUG - Requesting: http://10.0.0.241:8082/domain/58e85365-4abb-4301-b346-bf3f20865322 2025-10-15 10:46:56,670 - DEBUG - Requesting: http://10.0.0.241:8082/project/a924d07f-1412-4722-82d2-e2d61c439f12 2025-10-15 10:46:56,744 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/cc512f49-8144-45d3-9cd5-3f7e876fa888 2025-10-15 10:46:56,755 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/cc512f49-8144-45d3-9cd5-3f7e876fa888 2025-10-15 10:46:56,766 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e3f80c9e-e698-4bb6-a2b8-b6651002c24b 2025-10-15 10:46:56,774 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e3f80c9e-e698-4bb6-a2b8-b6651002c24b 2025-10-15 10:46:56,783 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/35398553-715d-4994-bd60-2f71a79a8ada 2025-10-15 10:46:56,790 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 10:46:56,790 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/cc512f49-8144-45d3-9cd5-3f7e876fa888 2025-10-15 10:46:56,801 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e3f80c9e-e698-4bb6-a2b8-b6651002c24b 2025-10-15 10:46:56,816 - INFO - Verified VN network id 11 for VN cc512f49-8144-45d3-9cd5-3f7e876fa888 2025-10-15 10:46:56,817 - INFO - Verifications in API Server for VN ctest-vn-24448525 passed 2025-10-15 10:46:56,817 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/cc512f49-8144-45d3-9cd5-3f7e876fa888 2025-10-15 10:46:56,826 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e3f80c9e-e698-4bb6-a2b8-b6651002c24b 2025-10-15 10:46:56,834 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e3f80c9e-e698-4bb6-a2b8-b6651002c24b 2025-10-15 10:46:56,842 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/35398553-715d-4994-bd60-2f71a79a8ada 2025-10-15 10:46:56,855 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-24448525', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22035750', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14722600649598715347', 'uuid-lslong': '11301008652626798728'}, 'enable': 'true', 'created': '2025-10-15T10:46:54', 'last-modified': '2025-10-15T10:46:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923188'} 2025-10-15 10:46:56,860 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 10:46:56,860 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24448525 passed 2025-10-15 10:46:56,861 - DEBUG - ====Verifying policy data for ctest-vn-24448525 in API_Server ====== 2025-10-15 10:46:56,861 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-15 10:46:56,866 - DEBUG - Requesting: http://10.0.0.241:8082/domain/58e85365-4abb-4301-b346-bf3f20865322 2025-10-15 10:46:56,877 - DEBUG - Requesting: http://10.0.0.241:8082/project/a924d07f-1412-4722-82d2-e2d61c439f12 2025-10-15 10:46:56,949 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/cc512f49-8144-45d3-9cd5-3f7e876fa888 2025-10-15 10:46:56,959 - DEBUG - ==>Verifying data for policy with id: 0aabd42b-b2a8-4ae6-a90f-9257449be4bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-22035750', 'ctest-policy-allow-all-52242869'] 2025-10-15 10:46:56,959 - INFO - VN ctest-vn-24448525 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 10:46:56,959 - DEBUG - Verifying the vn in opserver 2025-10-15 10:46:56,959 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-24448525 virtual network link through opserver 10.0.0.241 2025-10-15 10:46:56,959 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-15 10:46:57,254 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-15 10:46:57,318 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-24448525', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-24448525?flat'} 2025-10-15 10:46:57,318 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-24448525 is found in opserver 2025-10-15 10:46:57,327 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 10:46:57,333 - DEBUG - VRF ids for VN ctest-vn-24448525: {} 2025-10-15 10:46:57,333 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-15 10:46:57,339 - DEBUG - Requesting: http://10.0.0.241:8082/domain/58e85365-4abb-4301-b346-bf3f20865322 2025-10-15 10:46:57,351 - DEBUG - Requesting: http://10.0.0.241:8082/project/a924d07f-1412-4722-82d2-e2d61c439f12 2025-10-15 10:46:57,430 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/094dde11-3e67-4035-a33e-e815baa96fa1 2025-10-15 10:46:57,448 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/094dde11-3e67-4035-a33e-e815baa96fa1 2025-10-15 10:46:57,459 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a4823176-a4aa-4699-8170-667ad961de80 2025-10-15 10:46:57,467 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a4823176-a4aa-4699-8170-667ad961de80 2025-10-15 10:46:57,474 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/bc4b9ec5-1025-4914-afdc-2a1fe39d1418 2025-10-15 10:46:57,482 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 10:46:57,482 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/094dde11-3e67-4035-a33e-e815baa96fa1 2025-10-15 10:46:57,493 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a4823176-a4aa-4699-8170-667ad961de80 2025-10-15 10:46:57,510 - INFO - Verified VN network id 12 for VN 094dde11-3e67-4035-a33e-e815baa96fa1 2025-10-15 10:46:57,510 - INFO - Verifications in API Server for VN ctest-vn-05478893 passed 2025-10-15 10:46:57,511 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/094dde11-3e67-4035-a33e-e815baa96fa1 2025-10-15 10:46:57,521 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a4823176-a4aa-4699-8170-667ad961de80 2025-10-15 10:46:57,530 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a4823176-a4aa-4699-8170-667ad961de80 2025-10-15 10:46:57,538 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/bc4b9ec5-1025-4914-afdc-2a1fe39d1418 2025-10-15 10:46:57,553 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-05478893', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22035750', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '670436085190836277', 'uuid-lslong': '11763094456761937825'}, 'enable': 'true', 'created': '2025-10-15T10:46:55', 'last-modified': '2025-10-15T10:46:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396712'} 2025-10-15 10:46:57,559 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 10:46:57,559 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05478893 passed 2025-10-15 10:46:57,560 - DEBUG - ====Verifying policy data for ctest-vn-05478893 in API_Server ====== 2025-10-15 10:46:57,560 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-15 10:46:57,567 - DEBUG - Requesting: http://10.0.0.241:8082/domain/58e85365-4abb-4301-b346-bf3f20865322 2025-10-15 10:46:57,580 - DEBUG - Requesting: http://10.0.0.241:8082/project/a924d07f-1412-4722-82d2-e2d61c439f12 2025-10-15 10:46:57,662 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/094dde11-3e67-4035-a33e-e815baa96fa1 2025-10-15 10:46:57,670 - DEBUG - ==>Verifying data for policy with id: 0aabd42b-b2a8-4ae6-a90f-9257449be4bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-22035750', 'ctest-policy-allow-all-52242869'] 2025-10-15 10:46:57,670 - INFO - VN ctest-vn-05478893 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 10:46:57,670 - DEBUG - Verifying the vn in opserver 2025-10-15 10:46:57,670 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-05478893 virtual network link through opserver 10.0.0.241 2025-10-15 10:46:57,670 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-15 10:46:57,679 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-05478893', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-05478893?flat'} 2025-10-15 10:46:57,679 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-05478893 is found in opserver 2025-10-15 10:46:57,689 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 10:46:57,694 - DEBUG - VRF ids for VN ctest-vn-05478893: {} 2025-10-15 10:46:57,748 - DEBUG - Services list from nova: [, , ] 2025-10-15 10:46:58,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4323-1) 2025-10-15 10:46:59,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4323-1) 2025-10-15 10:46:59,913 - INFO - Waiting for VM ctest-TestBasicPolicy-22035750-18548133 to be up.. 2025-10-15 10:46:59,992 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 10:47:05,076 - DEBUG - VM is in ACTIVE state now 2025-10-15 10:47:05,076 - INFO - VM name : ctest-TestBasicPolicy-22035750-18548133 2025-10-15 10:47:05,156 - DEBUG - VM ctest-TestBasicPolicy-22035750-18548133 ID is e099305b-3c2f-4c26-810d-e631ca90dba7 2025-10-15 10:47:05,181 - DEBUG - VM ctest-TestBasicPolicy-22035750-18548133 launched on Node cn-jenkins-deploy-platform-ansible-os-4323-1 2025-10-15 10:47:05,267 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/e099305b-3c2f-4c26-810d-e631ca90dba7 2025-10-15 10:47:05,276 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/e6c59cac-558c-49f0-b171-57ee3f1984af 2025-10-15 10:47:08,526 - 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 1013ms') 2025-10-15 10:47:08,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22035750-18548133 failed! 2025-10-15 10:47:08,580 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22035750:ctest-vn-24448525 is 207.162.18.1 and allocation pool is NOT set 2025-10-15 10:47:10,647 - 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=6.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.297 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.297/3.247/6.198/2.950 ms') 2025-10-15 10:47:10,647 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22035750-18548133 passed 2025-10-15 10:47:10,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:47:10,796 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22035750-18548133, IP 207.162.18.3, Port 22 2025-10-15 10:47:10,952 - DEBUG - VM ctest-TestBasicPolicy-22035750-18548133 is ready for SSH connections 2025-10-15 10:47:10,952 - INFO - Waiting for VM ctest-TestBasicPolicy-22035750-21162303 to be up.. 2025-10-15 10:47:11,024 - DEBUG - VM is in ACTIVE state now 2025-10-15 10:47:11,024 - INFO - VM name : ctest-TestBasicPolicy-22035750-21162303 2025-10-15 10:47:11,092 - DEBUG - VM ctest-TestBasicPolicy-22035750-21162303 ID is 0b2e3fb4-4d20-4a2a-bf44-aebbc116ed68 2025-10-15 10:47:11,092 - DEBUG - VM ctest-TestBasicPolicy-22035750-21162303 launched on Node cn-jenkins-deploy-platform-ansible-os-4323-1 2025-10-15 10:47:11,160 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/0b2e3fb4-4d20-4a2a-bf44-aebbc116ed68 2025-10-15 10:47:11,168 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/61664938-2e6d-41ac-b76f-ec4507475a64 2025-10-15 10:47:12,403 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/2.099/3.784/1.685 ms') 2025-10-15 10:47:12,403 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22035750-21162303 passed 2025-10-15 10:47:12,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:47:12,552 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22035750-21162303, IP 188.217.224.3, Port 22 2025-10-15 10:47:12,708 - DEBUG - VM ctest-TestBasicPolicy-22035750-21162303 is ready for SSH connections 2025-10-15 10:47:12,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:47:12,708 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.217.224.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-15 10:47:12,708 - DEBUG - ping -s 56 -c 3 -W 1 188.217.224.3 2025-10-15 10:47:16,703 - DEBUG - PING 188.217.224.3 (188.217.224.3): 56 data bytes 64 bytes from 188.217.224.3: seq=0 ttl=63 time=3.736 ms 64 bytes from 188.217.224.3: seq=1 ttl=63 time=0.990 ms 64 bytes from 188.217.224.3: seq=2 ttl=63 time=0.816 ms --- 188.217.224.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.847/3.736 ms 2025-10-15 10:47:16,703 - INFO - Ping to IP 188.217.224.3 from VM ctest-TestBasicPolicy-22035750-18548133 passed 2025-10-15 10:47:16,876 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0aabd42b-b2a8-4ae6-a90f-9257449be4bd", "href": "http://10.0.0.241:8082/network-policy/0aabd42b-b2a8-4ae6-a90f-9257449be4bd"}} 2025-10-15 10:47:16,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:47:16,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.217.224.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-15 10:47:16,876 - DEBUG - ping -s 56 -c 3 -W 1 188.217.224.3 2025-10-15 10:47:20,079 - DEBUG - PING 188.217.224.3 (188.217.224.3): 56 data bytes --- 188.217.224.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-15 10:47:20,079 - WARNING - Ping to IP 188.217.224.3 from VM ctest-TestBasicPolicy-22035750-18548133 failed 2025-10-15 10:47:20,079 - INFO - Deleting VM ctest-TestBasicPolicy-22035750-21162303 2025-10-15 10:47:20,145 - INFO - Deleting VM ctest-TestBasicPolicy-22035750-18548133 2025-10-15 10:47:20,513 - INFO - Deleted policy ctest-policy-allow-all-52242869 2025-10-15 10:47:20,513 - INFO - Deleting VN ctest-vn-05478893 2025-10-15 10:47:20,551 - DEBUG - VN 094dde11-3e67-4035-a33e-e815baa96fa1 still in use: Unable to complete operation on network 094dde11-3e67-4035-a33e-e815baa96fa1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b2a4f088-70ba-4bae-81a8-e421dfb1a181'] 2025-10-15 10:47:20,551 - WARNING - Deleting VN ctest-vn-05478893 failed..Will retry 2025-10-15 10:47:22,652 - DEBUG - Response for deleting network () 2025-10-15 10:47:22,652 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a4823176-a4aa-4699-8170-667ad961de80 2025-10-15 10:47:22,661 - DEBUG - Response Code: 404 2025-10-15 10:47:22,662 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-15 10:47:22,667 - DEBUG - Requesting: http://10.0.0.241:8082/domain/58e85365-4abb-4301-b346-bf3f20865322 2025-10-15 10:47:22,721 - DEBUG - Requesting: http://10.0.0.241:8082/project/a924d07f-1412-4722-82d2-e2d61c439f12 2025-10-15 10:47:22,789 - INFO - Validated that VN ctest-vn-05478893 is not found in API Server 2025-10-15 10:47:22,798 - DEBUG - VN ctest-vn-05478893 is not present in Agent 10.0.0.241 2025-10-15 10:47:22,798 - INFO - Validated that VN ctest-vn-05478893 is not in any agent 2025-10-15 10:47:22,811 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05478893 info 2025-10-15 10:47:22,811 - INFO - Deleting VN ctest-vn-24448525 2025-10-15 10:47:22,920 - DEBUG - Response for deleting network () 2025-10-15 10:47:22,920 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e3f80c9e-e698-4bb6-a2b8-b6651002c24b 2025-10-15 10:47:22,929 - DEBUG - Response Code: 404 2025-10-15 10:47:22,931 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-15 10:47:22,937 - DEBUG - Requesting: http://10.0.0.241:8082/domain/58e85365-4abb-4301-b346-bf3f20865322 2025-10-15 10:47:22,994 - DEBUG - Requesting: http://10.0.0.241:8082/project/a924d07f-1412-4722-82d2-e2d61c439f12 2025-10-15 10:47:23,065 - INFO - Validated that VN ctest-vn-24448525 is not found in API Server 2025-10-15 10:47:23,074 - DEBUG - VN ctest-vn-24448525 is not present in Agent 10.0.0.241 2025-10-15 10:47:23,074 - INFO - Validated that VN ctest-vn-24448525 is not in any agent 2025-10-15 10:47:23,088 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24448525 info 2025-10-15 10:47:23,341 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 10:47:23,341 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-15 10:47:23,341 - INFO - -------------------------------------------------------------------------------- 2025-10-15 10:47:24,024 - INFO - Deleted project: ctest-TestBasicPolicy-22035750, ID : a924d07f-1412-4722-82d2-e2d61c439f12