2025-10-17 22:47:49,841 - INFO - Reading existing Domain with UUID c2fab7b5-42f0-4b0e-a131-4c62931bf465 2025-10-17 22:47:49,851 - INFO - Using existing domain ['admin_domain'](c2fab7b5-42f0-4b0e-a131-4c62931bf465) 2025-10-17 22:47:50,063 - INFO - Project ctest-TestBasicPolicy-50155816 not found, creating it 2025-10-17 22:47:50,584 - INFO - Created Project:ctest-TestBasicPolicy-50155816, ID : 5ce71d09-b3c7-43a7-b8c7-f37e5a880833 2025-10-17 22:47:52,342 - INFO - ================================================================================ 2025-10-17 22:47:52,343 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-17 22:47:52,343 - 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-17 22:47:52,732 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.0.0.131': '0'}} with 2025-10-17 22:47:52,732 - INFO - Initial checks done. Running the testcase now 2025-10-17 22:47:52,732 - INFO - 2025-10-17 22:47:53,528 - DEBUG - Response for create_network : {'network': {'id': '0d42cee1-e66f-4821-a638-ef854fa7be7e', 'name': 'ctest-vn-83070546', 'tenant_id': '5ce71d09b3c743a7b8c7f37e5a880833', 'project_id': '5ce71d09b3c743a7b8c7f37e5a880833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-50155816', 'ctest-vn-83070546'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-17 22:47:53,780 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd90f54f0-01a9-469d-baba-40d2668ca90f', 'name': '', 'tenant_id': '5ce71d09b3c743a7b8c7f37e5a880833', 'network_id': '0d42cee1-e66f-4821-a638-ef854fa7be7e', 'ip_version': 4, 'cidr': '180.204.128.128/26', 'allocation_pools': [{'start': '180.204.128.130', 'end': '180.204.128.190'}], 'gateway_ip': '180.204.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-17T22:47:53.647912', 'updated_at': '2025-10-17T22:47:53.647912', 'dns_server_address': '180.204.128.130', 'tags': [], 'project_id': '5ce71d09b3c743a7b8c7f37e5a880833'}} 2025-10-17 22:47:53,852 - INFO - Created VN ctest-vn-83070546 2025-10-17 22:47:53,907 - DEBUG - VN ctest-vn-83070546 UUID is 0d42cee1-e66f-4821-a638-ef854fa7be7e 2025-10-17 22:47:54,437 - DEBUG - Response for create_network : {'network': {'id': 'bf1b2b96-7a7b-48c2-bd20-76462af0902b', 'name': 'ctest-vn-69085258', 'tenant_id': '5ce71d09b3c743a7b8c7f37e5a880833', 'project_id': '5ce71d09b3c743a7b8c7f37e5a880833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-50155816', 'ctest-vn-69085258'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-17 22:47:54,727 - DEBUG - Response for create_subnet : {'subnet': {'id': '19f0ce3d-bc20-42f8-b77a-412c02652b33', 'name': '', 'tenant_id': '5ce71d09b3c743a7b8c7f37e5a880833', 'network_id': 'bf1b2b96-7a7b-48c2-bd20-76462af0902b', 'ip_version': 4, 'cidr': '91.156.136.128/26', 'allocation_pools': [{'start': '91.156.136.130', 'end': '91.156.136.190'}], 'gateway_ip': '91.156.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-17T22:47:54.609832', 'updated_at': '2025-10-17T22:47:54.609832', 'dns_server_address': '91.156.136.130', 'tags': [], 'project_id': '5ce71d09b3c743a7b8c7f37e5a880833'}} 2025-10-17 22:47:54,792 - INFO - Created VN ctest-vn-69085258 2025-10-17 22:47:54,846 - DEBUG - VN ctest-vn-69085258 UUID is bf1b2b96-7a7b-48c2-bd20-76462af0902b 2025-10-17 22:47:55,059 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-83070546, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-69085258, 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-17 22:47:55,482 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d42cee1-e66f-4821-a638-ef854fa7be7e', 'name': 'ctest-vn-83070546', 'tenant_id': '5ce71d09b3c743a7b8c7f37e5a880833', 'project_id': '5ce71d09b3c743a7b8c7f37e5a880833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d90f54f0-01a9-469d-baba-40d2668ca90f'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-50155816', 'ctest-vn-83070546'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-50155816', 'ctest-policy-allow-all-89121172']], 'subnet_ipam': [{'subnet_cidr': '180.204.128.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-17T22:47:53.452959', 'updated_at': '2025-10-17T22:47:53.665350'}} 2025-10-17 22:47:55,870 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf1b2b96-7a7b-48c2-bd20-76462af0902b', 'name': 'ctest-vn-69085258', 'tenant_id': '5ce71d09b3c743a7b8c7f37e5a880833', 'project_id': '5ce71d09b3c743a7b8c7f37e5a880833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['19f0ce3d-bc20-42f8-b77a-412c02652b33'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-50155816', 'ctest-vn-69085258'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-50155816', 'ctest-policy-allow-all-89121172']], 'subnet_ipam': [{'subnet_cidr': '91.156.136.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-17T22:47:54.361647', 'updated_at': '2025-10-17T22:47:54.630570'}} 2025-10-17 22:47:56,051 - DEBUG - Requesting: https://10.0.0.131:8082/domains 2025-10-17 22:47:56,392 - DEBUG - Requesting: https://10.0.0.131:8082/domains 2025-10-17 22:47:56,476 - DEBUG - Requesting: https://10.0.0.131:8082/domain/c2fab7b5-42f0-4b0e-a131-4c62931bf465 2025-10-17 22:47:56,540 - DEBUG - Requesting: https://10.0.0.131:8082/project/5ce71d09-b3c7-43a7-b8c7-f37e5a880833 2025-10-17 22:47:56,620 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-network/0d42cee1-e66f-4821-a638-ef854fa7be7e 2025-10-17 22:47:56,676 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-network/0d42cee1-e66f-4821-a638-ef854fa7be7e 2025-10-17 22:47:56,740 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/586e3e71-6dee-42e0-9c72-9673fb62cdde 2025-10-17 22:47:56,800 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/586e3e71-6dee-42e0-9c72-9673fb62cdde 2025-10-17 22:47:56,855 - DEBUG - Requesting: https://10.0.0.131:8082/route-target/e68fac33-e2bf-437a-847c-a3212cf59317 2025-10-17 22:47:56,907 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-17 22:47:56,907 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-network/0d42cee1-e66f-4821-a638-ef854fa7be7e 2025-10-17 22:47:56,968 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/586e3e71-6dee-42e0-9c72-9673fb62cdde 2025-10-17 22:47:57,032 - INFO - Verified VN network id 10 for VN 0d42cee1-e66f-4821-a638-ef854fa7be7e 2025-10-17 22:47:57,032 - INFO - Verifications in API Server for VN ctest-vn-83070546 passed 2025-10-17 22:47:57,032 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-network/0d42cee1-e66f-4821-a638-ef854fa7be7e 2025-10-17 22:47:57,088 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/586e3e71-6dee-42e0-9c72-9673fb62cdde 2025-10-17 22:47:57,140 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/586e3e71-6dee-42e0-9c72-9673fb62cdde 2025-10-17 22:47:57,192 - DEBUG - Requesting: https://10.0.0.131:8082/route-target/e68fac33-e2bf-437a-847c-a3212cf59317 2025-10-17 22:47:57,300 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-83070546', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50155816', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '955553540584982561', 'uuid-lslong': '11977586564837916286'}, 'enable': 'true', 'created': '2025-10-17T22:47:53', 'last-modified': '2025-10-17T22:47:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.840853'} 2025-10-17 22:47:57,353 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-17 22:47:57,353 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83070546 passed 2025-10-17 22:47:57,353 - DEBUG - ====Verifying policy data for ctest-vn-83070546 in API_Server ====== 2025-10-17 22:47:57,353 - DEBUG - Requesting: https://10.0.0.131:8082/domains 2025-10-17 22:47:57,407 - DEBUG - Requesting: https://10.0.0.131:8082/domain/c2fab7b5-42f0-4b0e-a131-4c62931bf465 2025-10-17 22:47:57,468 - DEBUG - Requesting: https://10.0.0.131:8082/project/5ce71d09-b3c7-43a7-b8c7-f37e5a880833 2025-10-17 22:47:57,544 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-network/0d42cee1-e66f-4821-a638-ef854fa7be7e 2025-10-17 22:47:57,604 - DEBUG - ==>Verifying data for policy with id: 87808062-1a97-43bf-a9d4-156efe910f85, fqn: ['admin_domain', 'ctest-TestBasicPolicy-50155816', 'ctest-policy-allow-all-89121172'] 2025-10-17 22:47:57,604 - INFO - VN ctest-vn-83070546 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-17 22:47:57,604 - DEBUG - Verifying the vn in opserver 2025-10-17 22:47:57,604 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-83070546 virtual network link through opserver 10.0.0.131 2025-10-17 22:47:57,605 - DEBUG - Requesting: https://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-17 22:47:57,958 - DEBUG - Requesting: https://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-17 22:47:58,079 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-83070546', 'href': 'https://10.0.0.131:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-83070546?flat'} 2025-10-17 22:47:58,079 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-83070546 is found in opserver 2025-10-17 22:47:58,179 - DEBUG - Do not have enough data to verify VN in agent 2025-10-17 22:47:58,231 - DEBUG - VRF ids for VN ctest-vn-83070546: {} 2025-10-17 22:47:58,231 - DEBUG - Requesting: https://10.0.0.131:8082/domains 2025-10-17 22:47:58,283 - DEBUG - Requesting: https://10.0.0.131:8082/domain/c2fab7b5-42f0-4b0e-a131-4c62931bf465 2025-10-17 22:47:58,339 - DEBUG - Requesting: https://10.0.0.131:8082/project/5ce71d09-b3c7-43a7-b8c7-f37e5a880833 2025-10-17 22:47:58,416 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-network/bf1b2b96-7a7b-48c2-bd20-76462af0902b 2025-10-17 22:47:58,472 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-network/bf1b2b96-7a7b-48c2-bd20-76462af0902b 2025-10-17 22:47:58,532 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/3d703016-04be-4ac0-a37a-57cc346e5fe1 2025-10-17 22:47:58,583 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/3d703016-04be-4ac0-a37a-57cc346e5fe1 2025-10-17 22:47:58,635 - DEBUG - Requesting: https://10.0.0.131:8082/route-target/346d137c-640d-4444-b5f2-4d8611727516 2025-10-17 22:47:58,691 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-17 22:47:58,691 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-network/bf1b2b96-7a7b-48c2-bd20-76462af0902b 2025-10-17 22:47:58,748 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/3d703016-04be-4ac0-a37a-57cc346e5fe1 2025-10-17 22:47:58,812 - INFO - Verified VN network id 11 for VN bf1b2b96-7a7b-48c2-bd20-76462af0902b 2025-10-17 22:47:58,812 - INFO - Verifications in API Server for VN ctest-vn-69085258 passed 2025-10-17 22:47:58,812 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-network/bf1b2b96-7a7b-48c2-bd20-76462af0902b 2025-10-17 22:47:58,868 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/3d703016-04be-4ac0-a37a-57cc346e5fe1 2025-10-17 22:47:58,923 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/3d703016-04be-4ac0-a37a-57cc346e5fe1 2025-10-17 22:47:58,980 - DEBUG - Requesting: https://10.0.0.131:8082/route-target/346d137c-640d-4444-b5f2-4d8611727516 2025-10-17 22:47:59,083 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-69085258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50155816', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13770648210915412162', 'uuid-lslong': '13628022516163317803'}, 'enable': 'true', 'created': '2025-10-17T22:47:54', 'last-modified': '2025-10-17T22:47:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.287559'} 2025-10-17 22:47:59,132 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-17 22:47:59,132 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69085258 passed 2025-10-17 22:47:59,133 - DEBUG - ====Verifying policy data for ctest-vn-69085258 in API_Server ====== 2025-10-17 22:47:59,133 - DEBUG - Requesting: https://10.0.0.131:8082/domains 2025-10-17 22:47:59,183 - DEBUG - Requesting: https://10.0.0.131:8082/domain/c2fab7b5-42f0-4b0e-a131-4c62931bf465 2025-10-17 22:47:59,239 - DEBUG - Requesting: https://10.0.0.131:8082/project/5ce71d09-b3c7-43a7-b8c7-f37e5a880833 2025-10-17 22:47:59,320 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-network/bf1b2b96-7a7b-48c2-bd20-76462af0902b 2025-10-17 22:47:59,376 - DEBUG - ==>Verifying data for policy with id: 87808062-1a97-43bf-a9d4-156efe910f85, fqn: ['admin_domain', 'ctest-TestBasicPolicy-50155816', 'ctest-policy-allow-all-89121172'] 2025-10-17 22:47:59,377 - INFO - VN ctest-vn-69085258 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-17 22:47:59,377 - DEBUG - Verifying the vn in opserver 2025-10-17 22:47:59,377 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-69085258 virtual network link through opserver 10.0.0.131 2025-10-17 22:47:59,377 - DEBUG - Requesting: https://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-17 22:47:59,431 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-69085258', 'href': 'https://10.0.0.131:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-69085258?flat'} 2025-10-17 22:47:59,431 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-69085258 is found in opserver 2025-10-17 22:47:59,527 - DEBUG - Do not have enough data to verify VN in agent 2025-10-17 22:47:59,575 - DEBUG - VRF ids for VN ctest-vn-69085258: {} 2025-10-17 22:47:59,639 - DEBUG - Services list from nova: [, , ] 2025-10-17 22:48:00,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-595-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-595-1) 2025-10-17 22:48:02,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-595-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-595-1) 2025-10-17 22:48:02,456 - INFO - Waiting for VM ctest-TestBasicPolicy-50155816-91690944 to be up.. 2025-10-17 22:48:02,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 22:48:07,751 - DEBUG - VM is in ACTIVE state now 2025-10-17 22:48:07,751 - INFO - VM name : ctest-TestBasicPolicy-50155816-91690944 2025-10-17 22:48:07,884 - DEBUG - VM ctest-TestBasicPolicy-50155816-91690944 ID is b55e9914-e1de-48dc-9064-703c6d83ab39 2025-10-17 22:48:07,924 - DEBUG - VM ctest-TestBasicPolicy-50155816-91690944 launched on Node cn-jenkins-deploy-platform-juju-os-595-1 2025-10-17 22:48:08,060 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-machine/b55e9914-e1de-48dc-9064-703c6d83ab39 2025-10-17 22:48:08,115 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-machine-interface/9a4a4fbb-177e-4d3c-9df8-a57029b0a4b9 2025-10-17 22:48:11,587 - 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 1018ms') 2025-10-17 22:48:11,587 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50155816-91690944 failed! 2025-10-17 22:48:11,647 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-50155816:ctest-vn-83070546 is 180.204.128.129 and allocation pool is NOT set 2025-10-17 22:48:13,736 - 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=4.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.86 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.860/3.227/4.594/1.367 ms') 2025-10-17 22:48:13,736 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50155816-91690944 passed 2025-10-17 22:48:13,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 22:48:13,907 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50155816-91690944, IP 180.204.128.131, Port 22 2025-10-17 22:48:13,993 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-17 22:48:14,132 - DEBUG - VM ctest-TestBasicPolicy-50155816-91690944 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-17 22:48:19,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 22:48:19,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50155816-91690944, IP 180.204.128.131, Port 22 2025-10-17 22:48:19,364 - DEBUG - VM ctest-TestBasicPolicy-50155816-91690944 is ready for SSH connections 2025-10-17 22:48:19,364 - INFO - Waiting for VM ctest-TestBasicPolicy-50155816-68369091 to be up.. 2025-10-17 22:48:19,509 - DEBUG - VM is in ACTIVE state now 2025-10-17 22:48:19,509 - INFO - VM name : ctest-TestBasicPolicy-50155816-68369091 2025-10-17 22:48:19,641 - DEBUG - VM ctest-TestBasicPolicy-50155816-68369091 ID is d57a1147-4141-4588-9305-22e89d9c6094 2025-10-17 22:48:19,641 - DEBUG - VM ctest-TestBasicPolicy-50155816-68369091 launched on Node cn-jenkins-deploy-platform-juju-os-595-1 2025-10-17 22:48:19,782 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-machine/d57a1147-4141-4588-9305-22e89d9c6094 2025-10-17 22:48:19,840 - DEBUG - Requesting: https://10.0.0.131:8082/virtual-machine-interface/6a5ad4fd-f761-477d-b424-4ea9dc7474c2 2025-10-17 22:48:21,323 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.575 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.575/2.196/3.817/1.621 ms') 2025-10-17 22:48:21,324 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50155816-68369091 passed 2025-10-17 22:48:21,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 22:48:21,479 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50155816-68369091, IP 91.156.136.131, Port 22 2025-10-17 22:48:21,694 - DEBUG - VM ctest-TestBasicPolicy-50155816-68369091 is ready for SSH connections 2025-10-17 22:48:21,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 22:48:21,694 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.156.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-17 22:48:21,695 - DEBUG - ping -s 56 -c 3 -W 1 91.156.136.131 2025-10-17 22:48:25,803 - DEBUG - PING 91.156.136.131 (91.156.136.131): 56 data bytes 64 bytes from 91.156.136.131: seq=0 ttl=63 time=4.886 ms 64 bytes from 91.156.136.131: seq=1 ttl=63 time=1.162 ms 64 bytes from 91.156.136.131: seq=2 ttl=63 time=0.944 ms --- 91.156.136.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/2.330/4.886 ms 2025-10-17 22:48:25,804 - INFO - Ping to IP 91.156.136.131 from VM ctest-TestBasicPolicy-50155816-91690944 passed 2025-10-17 22:48:25,994 - DEBUG - Policy Update Response {"network-policy": {"uuid": "87808062-1a97-43bf-a9d4-156efe910f85", "href": "https://10.0.0.131:8082/network-policy/87808062-1a97-43bf-a9d4-156efe910f85"}} 2025-10-17 22:48:25,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 22:48:25,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.156.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-17 22:48:25,995 - DEBUG - ping -s 56 -c 3 -W 1 91.156.136.131 2025-10-17 22:48:29,210 - DEBUG - PING 91.156.136.131 (91.156.136.131): 56 data bytes --- 91.156.136.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 22:48:29,210 - WARNING - Ping to IP 91.156.136.131 from VM ctest-TestBasicPolicy-50155816-91690944 failed 2025-10-17 22:48:29,210 - INFO - Deleting VM ctest-TestBasicPolicy-50155816-68369091 2025-10-17 22:48:29,322 - INFO - Deleting VM ctest-TestBasicPolicy-50155816-91690944 2025-10-17 22:48:30,079 - INFO - Deleted policy ctest-policy-allow-all-89121172 2025-10-17 22:48:30,079 - INFO - Deleting VN ctest-vn-69085258 2025-10-17 22:48:30,219 - DEBUG - VN bf1b2b96-7a7b-48c2-bd20-76462af0902b still in use: Unable to complete operation on network bf1b2b96-7a7b-48c2-bd20-76462af0902b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8e77d6d-8f90-44a3-b3d2-c9b8df04b7cc'] 2025-10-17 22:48:30,219 - WARNING - Deleting VN ctest-vn-69085258 failed..Will retry 2025-10-17 22:48:32,403 - DEBUG - Response for deleting network () 2025-10-17 22:48:32,403 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/3d703016-04be-4ac0-a37a-57cc346e5fe1 2025-10-17 22:48:32,459 - DEBUG - Response Code: 404 2025-10-17 22:48:32,459 - DEBUG - Requesting: https://10.0.0.131:8082/domains 2025-10-17 22:48:32,511 - DEBUG - Requesting: https://10.0.0.131:8082/domain/c2fab7b5-42f0-4b0e-a131-4c62931bf465 2025-10-17 22:48:32,571 - DEBUG - Requesting: https://10.0.0.131:8082/project/5ce71d09-b3c7-43a7-b8c7-f37e5a880833 2025-10-17 22:48:32,656 - INFO - Validated that VN ctest-vn-69085258 is not found in API Server 2025-10-17 22:48:32,759 - DEBUG - VN ctest-vn-69085258 is not present in Agent 10.0.0.131 2025-10-17 22:48:32,759 - INFO - Validated that VN ctest-vn-69085258 is not in any agent 2025-10-17 22:48:32,904 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69085258 info 2025-10-17 22:48:32,904 - INFO - Deleting VN ctest-vn-83070546 2025-10-17 22:48:33,071 - DEBUG - Response for deleting network () 2025-10-17 22:48:33,071 - DEBUG - Requesting: https://10.0.0.131:8082/routing-instance/586e3e71-6dee-42e0-9c72-9673fb62cdde 2025-10-17 22:48:33,123 - DEBUG - Response Code: 404 2025-10-17 22:48:33,123 - DEBUG - Requesting: https://10.0.0.131:8082/domains 2025-10-17 22:48:33,179 - DEBUG - Requesting: https://10.0.0.131:8082/domain/c2fab7b5-42f0-4b0e-a131-4c62931bf465 2025-10-17 22:48:33,236 - DEBUG - Requesting: https://10.0.0.131:8082/project/5ce71d09-b3c7-43a7-b8c7-f37e5a880833 2025-10-17 22:48:33,312 - INFO - Validated that VN ctest-vn-83070546 is not found in API Server 2025-10-17 22:48:33,407 - DEBUG - VN ctest-vn-83070546 is not present in Agent 10.0.0.131 2025-10-17 22:48:33,407 - INFO - Validated that VN ctest-vn-83070546 is not in any agent 2025-10-17 22:48:33,555 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83070546 info 2025-10-17 22:48:33,944 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 22:48:33,944 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2025-10-17 22:48:33,944 - INFO - -------------------------------------------------------------------------------- 2025-10-17 22:48:34,731 - INFO - Deleted project: ctest-TestBasicPolicy-50155816, ID : 5ce71d09-b3c7-43a7-b8c7-f37e5a880833