2025-10-13 01:52:51,509 - INFO - Reading existing Domain with UUID 537505e7-1547-4002-bf39-a6f4fbcc30df 2025-10-13 01:52:51,520 - INFO - Using existing domain ['admin_domain'](537505e7-1547-4002-bf39-a6f4fbcc30df) 2025-10-13 01:52:51,732 - INFO - Project ctest-TestBasicPolicy-64046718 not found, creating it 2025-10-13 01:52:52,281 - INFO - Created Project:ctest-TestBasicPolicy-64046718, ID : 77b2b8e2-a4da-412f-8b35-1e24cd0c6d1e 2025-10-13 01:52:54,063 - INFO - ================================================================================ 2025-10-13 01:52:54,063 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-13 01:52:54,063 - 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-13 01:52:54,461 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2025-10-13 01:52:54,461 - INFO - Initial checks done. Running the testcase now 2025-10-13 01:52:54,461 - INFO - 2025-10-13 01:52:55,232 - DEBUG - Response for create_network : {'network': {'id': 'a775161f-bc20-4e17-8271-b855282ddfe2', 'name': 'ctest-vn-15109593', 'tenant_id': '77b2b8e2a4da412f8b351e24cd0c6d1e', 'project_id': '77b2b8e2a4da412f8b351e24cd0c6d1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-64046718', 'ctest-vn-15109593'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-13 01:52:55,448 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a2bed76-8a50-488e-9ed3-5c27ca7f1bb4', 'name': '', 'tenant_id': '77b2b8e2a4da412f8b351e24cd0c6d1e', 'network_id': 'a775161f-bc20-4e17-8271-b855282ddfe2', 'ip_version': 4, 'cidr': '16.59.19.64/26', 'allocation_pools': [{'start': '16.59.19.66', 'end': '16.59.19.126'}], 'gateway_ip': '16.59.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-13T01:52:55.349019', 'updated_at': '2025-10-13T01:52:55.349019', 'dns_server_address': '16.59.19.66', 'tags': [], 'project_id': '77b2b8e2a4da412f8b351e24cd0c6d1e'}} 2025-10-13 01:52:55,518 - INFO - Created VN ctest-vn-15109593 2025-10-13 01:52:55,572 - DEBUG - VN ctest-vn-15109593 UUID is a775161f-bc20-4e17-8271-b855282ddfe2 2025-10-13 01:52:56,067 - DEBUG - Response for create_network : {'network': {'id': 'ed3d3ace-9e29-4f99-9bcc-97cc7482feec', 'name': 'ctest-vn-09240494', 'tenant_id': '77b2b8e2a4da412f8b351e24cd0c6d1e', 'project_id': '77b2b8e2a4da412f8b351e24cd0c6d1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-64046718', 'ctest-vn-09240494'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-13 01:52:56,309 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ce2230d-3e19-4598-b8a8-b7dfedc20dcf', 'name': '', 'tenant_id': '77b2b8e2a4da412f8b351e24cd0c6d1e', 'network_id': 'ed3d3ace-9e29-4f99-9bcc-97cc7482feec', 'ip_version': 4, 'cidr': '63.83.171.128/26', 'allocation_pools': [{'start': '63.83.171.130', 'end': '63.83.171.190'}], 'gateway_ip': '63.83.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-13T01:52:56.204576', 'updated_at': '2025-10-13T01:52:56.204576', 'dns_server_address': '63.83.171.130', 'tags': [], 'project_id': '77b2b8e2a4da412f8b351e24cd0c6d1e'}} 2025-10-13 01:52:56,373 - INFO - Created VN ctest-vn-09240494 2025-10-13 01:52:56,427 - DEBUG - VN ctest-vn-09240494 UUID is ed3d3ace-9e29-4f99-9bcc-97cc7482feec 2025-10-13 01:52:56,649 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-15109593, 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-64046718:ctest-vn-09240494, 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-13 01:52:57,095 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a775161f-bc20-4e17-8271-b855282ddfe2', 'name': 'ctest-vn-15109593', 'tenant_id': '77b2b8e2a4da412f8b351e24cd0c6d1e', 'project_id': '77b2b8e2a4da412f8b351e24cd0c6d1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a2bed76-8a50-488e-9ed3-5c27ca7f1bb4'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-64046718', 'ctest-vn-15109593'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-64046718', 'ctest-policy-allow-all-34050929']], 'subnet_ipam': [{'subnet_cidr': '16.59.19.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-13T01:52:55.161198', 'updated_at': '2025-10-13T01:52:55.361804'}} 2025-10-13 01:52:57,487 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed3d3ace-9e29-4f99-9bcc-97cc7482feec', 'name': 'ctest-vn-09240494', 'tenant_id': '77b2b8e2a4da412f8b351e24cd0c6d1e', 'project_id': '77b2b8e2a4da412f8b351e24cd0c6d1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4ce2230d-3e19-4598-b8a8-b7dfedc20dcf'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-64046718', 'ctest-vn-09240494'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-64046718', 'ctest-policy-allow-all-34050929']], 'subnet_ipam': [{'subnet_cidr': '63.83.171.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-13T01:52:55.989761', 'updated_at': '2025-10-13T01:52:56.221980'}} 2025-10-13 01:52:57,687 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2025-10-13 01:52:58,040 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2025-10-13 01:52:58,124 - DEBUG - Requesting: https://10.0.0.129:8082/domain/537505e7-1547-4002-bf39-a6f4fbcc30df 2025-10-13 01:52:58,184 - DEBUG - Requesting: https://10.0.0.129:8082/project/77b2b8e2-a4da-412f-8b35-1e24cd0c6d1e 2025-10-13 01:52:58,264 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a775161f-bc20-4e17-8271-b855282ddfe2 2025-10-13 01:52:58,321 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a775161f-bc20-4e17-8271-b855282ddfe2 2025-10-13 01:52:58,377 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/899edfe8-7058-4e77-80e8-430ae39deac5 2025-10-13 01:52:58,432 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/899edfe8-7058-4e77-80e8-430ae39deac5 2025-10-13 01:52:58,484 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/b4187797-9b48-4845-b4f7-e00e4e1e89ac 2025-10-13 01:52:58,536 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 01:52:58,536 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a775161f-bc20-4e17-8271-b855282ddfe2 2025-10-13 01:52:58,593 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/899edfe8-7058-4e77-80e8-430ae39deac5 2025-10-13 01:52:58,657 - INFO - Verified VN network id 11 for VN a775161f-bc20-4e17-8271-b855282ddfe2 2025-10-13 01:52:58,657 - INFO - Verifications in API Server for VN ctest-vn-15109593 passed 2025-10-13 01:52:58,657 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a775161f-bc20-4e17-8271-b855282ddfe2 2025-10-13 01:52:58,717 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/899edfe8-7058-4e77-80e8-430ae39deac5 2025-10-13 01:52:58,768 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/899edfe8-7058-4e77-80e8-430ae39deac5 2025-10-13 01:52:58,821 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/b4187797-9b48-4845-b4f7-e00e4e1e89ac 2025-10-13 01:52:58,924 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-15109593', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64046718', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12066575102165143063', 'uuid-lslong': '9399496573184761826'}, 'enable': 'true', 'created': '2025-10-13T01:52:55', 'last-modified': '2025-10-13T01:52:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.874727'} 2025-10-13 01:52:58,981 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 01:52:58,981 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15109593 passed 2025-10-13 01:52:58,981 - DEBUG - ====Verifying policy data for ctest-vn-15109593 in API_Server ====== 2025-10-13 01:52:58,981 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2025-10-13 01:52:59,032 - DEBUG - Requesting: https://10.0.0.129:8082/domain/537505e7-1547-4002-bf39-a6f4fbcc30df 2025-10-13 01:52:59,092 - DEBUG - Requesting: https://10.0.0.129:8082/project/77b2b8e2-a4da-412f-8b35-1e24cd0c6d1e 2025-10-13 01:52:59,173 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/a775161f-bc20-4e17-8271-b855282ddfe2 2025-10-13 01:52:59,234 - DEBUG - ==>Verifying data for policy with id: fc5ebdac-df94-49d3-a7fd-c85fd7de66a3, fqn: ['admin_domain', 'ctest-TestBasicPolicy-64046718', 'ctest-policy-allow-all-34050929'] 2025-10-13 01:52:59,235 - INFO - VN ctest-vn-15109593 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 01:52:59,236 - DEBUG - Verifying the vn in opserver 2025-10-13 01:52:59,236 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-15109593 virtual network link through opserver 10.0.0.129 2025-10-13 01:52:59,236 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2025-10-13 01:52:59,576 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2025-10-13 01:52:59,700 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-15109593', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-15109593?flat'} 2025-10-13 01:52:59,700 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-15109593 is found in opserver 2025-10-13 01:52:59,796 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 01:52:59,844 - DEBUG - VRF ids for VN ctest-vn-15109593: {} 2025-10-13 01:52:59,845 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2025-10-13 01:52:59,900 - DEBUG - Requesting: https://10.0.0.129:8082/domain/537505e7-1547-4002-bf39-a6f4fbcc30df 2025-10-13 01:52:59,957 - DEBUG - Requesting: https://10.0.0.129:8082/project/77b2b8e2-a4da-412f-8b35-1e24cd0c6d1e 2025-10-13 01:53:00,045 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed3d3ace-9e29-4f99-9bcc-97cc7482feec 2025-10-13 01:53:00,105 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed3d3ace-9e29-4f99-9bcc-97cc7482feec 2025-10-13 01:53:00,161 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bf31d054-9f85-4956-a2ce-3ff71f7d68ed 2025-10-13 01:53:00,213 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bf31d054-9f85-4956-a2ce-3ff71f7d68ed 2025-10-13 01:53:00,268 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/efcf0e0d-7952-4dc4-89ba-69706a8b081d 2025-10-13 01:53:00,321 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 01:53:00,321 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed3d3ace-9e29-4f99-9bcc-97cc7482feec 2025-10-13 01:53:00,381 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bf31d054-9f85-4956-a2ce-3ff71f7d68ed 2025-10-13 01:53:00,442 - INFO - Verified VN network id 12 for VN ed3d3ace-9e29-4f99-9bcc-97cc7482feec 2025-10-13 01:53:00,442 - INFO - Verifications in API Server for VN ctest-vn-09240494 passed 2025-10-13 01:53:00,442 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed3d3ace-9e29-4f99-9bcc-97cc7482feec 2025-10-13 01:53:00,497 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bf31d054-9f85-4956-a2ce-3ff71f7d68ed 2025-10-13 01:53:00,557 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bf31d054-9f85-4956-a2ce-3ff71f7d68ed 2025-10-13 01:53:00,613 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/efcf0e0d-7952-4dc4-89ba-69706a8b081d 2025-10-13 01:53:00,716 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-09240494', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64046718', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17094884419659452313', 'uuid-lslong': '11226514875511668460'}, 'enable': 'true', 'created': '2025-10-13T01:52:55', 'last-modified': '2025-10-13T01:52:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.301750'} 2025-10-13 01:53:00,770 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 01:53:00,770 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09240494 passed 2025-10-13 01:53:00,770 - DEBUG - ====Verifying policy data for ctest-vn-09240494 in API_Server ====== 2025-10-13 01:53:00,770 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2025-10-13 01:53:00,824 - DEBUG - Requesting: https://10.0.0.129:8082/domain/537505e7-1547-4002-bf39-a6f4fbcc30df 2025-10-13 01:53:00,885 - DEBUG - Requesting: https://10.0.0.129:8082/project/77b2b8e2-a4da-412f-8b35-1e24cd0c6d1e 2025-10-13 01:53:00,973 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed3d3ace-9e29-4f99-9bcc-97cc7482feec 2025-10-13 01:53:01,030 - DEBUG - ==>Verifying data for policy with id: fc5ebdac-df94-49d3-a7fd-c85fd7de66a3, fqn: ['admin_domain', 'ctest-TestBasicPolicy-64046718', 'ctest-policy-allow-all-34050929'] 2025-10-13 01:53:01,031 - INFO - VN ctest-vn-09240494 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 01:53:01,031 - DEBUG - Verifying the vn in opserver 2025-10-13 01:53:01,031 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-09240494 virtual network link through opserver 10.0.0.129 2025-10-13 01:53:01,031 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2025-10-13 01:53:01,092 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-09240494', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-09240494?flat'} 2025-10-13 01:53:01,092 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-09240494 is found in opserver 2025-10-13 01:53:01,196 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 01:53:01,260 - DEBUG - VRF ids for VN ctest-vn-09240494: {} 2025-10-13 01:53:01,325 - DEBUG - Services list from nova: [, , ] 2025-10-13 01:53:02,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-589-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-589-1) 2025-10-13 01:53:03,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-589-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-589-1) 2025-10-13 01:53:03,830 - INFO - Waiting for VM ctest-TestBasicPolicy-64046718-15474618 to be up.. 2025-10-13 01:53:03,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 01:53:09,133 - DEBUG - VM is in ACTIVE state now 2025-10-13 01:53:09,133 - INFO - VM name : ctest-TestBasicPolicy-64046718-15474618 2025-10-13 01:53:09,281 - DEBUG - VM ctest-TestBasicPolicy-64046718-15474618 ID is ff720455-5b03-43eb-b7d0-a1bb467ca470 2025-10-13 01:53:09,313 - DEBUG - VM ctest-TestBasicPolicy-64046718-15474618 launched on Node cn-jenkins-deploy-platform-juju-os-589-1 2025-10-13 01:53:09,460 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/ff720455-5b03-43eb-b7d0-a1bb467ca470 2025-10-13 01:53:09,516 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/7678ebef-8148-48bc-9600-a6d7f25e3f2c 2025-10-13 01:53:12,993 - 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 1022ms') 2025-10-13 01:53:12,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64046718-15474618 failed! 2025-10-13 01:53:13,055 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-64046718:ctest-vn-15109593 is 16.59.19.65 and allocation pool is NOT set 2025-10-13 01:53:15,150 - 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=5.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.70 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 = 2.703/4.274/5.846/1.571 ms') 2025-10-13 01:53:15,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64046718-15474618 passed 2025-10-13 01:53:15,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:53:15,303 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64046718-15474618, IP 16.59.19.67, Port 22 2025-10-13 01:53:15,390 - 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-13 01:53:15,531 - DEBUG - VM ctest-TestBasicPolicy-64046718-15474618 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 01:53:20,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:53:20,533 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64046718-15474618, IP 16.59.19.67, Port 22 2025-10-13 01:53:20,763 - DEBUG - VM ctest-TestBasicPolicy-64046718-15474618 is ready for SSH connections 2025-10-13 01:53:20,763 - INFO - Waiting for VM ctest-TestBasicPolicy-64046718-46073283 to be up.. 2025-10-13 01:53:20,949 - DEBUG - VM is in ACTIVE state now 2025-10-13 01:53:20,949 - INFO - VM name : ctest-TestBasicPolicy-64046718-46073283 2025-10-13 01:53:21,107 - DEBUG - VM ctest-TestBasicPolicy-64046718-46073283 ID is d9f15428-60dc-4472-b8c0-f742abc1b9c6 2025-10-13 01:53:21,107 - DEBUG - VM ctest-TestBasicPolicy-64046718-46073283 launched on Node cn-jenkins-deploy-platform-juju-os-589-1 2025-10-13 01:53:21,256 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/d9f15428-60dc-4472-b8c0-f742abc1b9c6 2025-10-13 01:53:21,312 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/5a50a8bb-f516-43ba-8920-375961419819 2025-10-13 01:53:22,772 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.578/2.782/1.204 ms') 2025-10-13 01:53:22,772 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64046718-46073283 passed 2025-10-13 01:53:22,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:53:22,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64046718-46073283, IP 63.83.171.131, Port 22 2025-10-13 01:53:23,142 - DEBUG - VM ctest-TestBasicPolicy-64046718-46073283 is ready for SSH connections 2025-10-13 01:53:23,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:53:23,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.83.171.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-13 01:53:23,142 - DEBUG - ping -s 56 -c 3 -W 1 63.83.171.131 2025-10-13 01:53:27,347 - DEBUG - PING 63.83.171.131 (63.83.171.131): 56 data bytes 64 bytes from 63.83.171.131: seq=0 ttl=63 time=4.046 ms 64 bytes from 63.83.171.131: seq=1 ttl=63 time=1.076 ms 64 bytes from 63.83.171.131: seq=2 ttl=63 time=0.814 ms --- 63.83.171.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.978/4.046 ms 2025-10-13 01:53:27,347 - INFO - Ping to IP 63.83.171.131 from VM ctest-TestBasicPolicy-64046718-15474618 passed 2025-10-13 01:53:27,527 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fc5ebdac-df94-49d3-a7fd-c85fd7de66a3", "href": "https://10.0.0.129:8082/network-policy/fc5ebdac-df94-49d3-a7fd-c85fd7de66a3"}} 2025-10-13 01:53:27,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:53:27,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.83.171.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-13 01:53:27,528 - DEBUG - ping -s 56 -c 3 -W 1 63.83.171.131 2025-10-13 01:53:30,736 - DEBUG - PING 63.83.171.131 (63.83.171.131): 56 data bytes --- 63.83.171.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 01:53:30,736 - WARNING - Ping to IP 63.83.171.131 from VM ctest-TestBasicPolicy-64046718-15474618 failed 2025-10-13 01:53:30,736 - INFO - Deleting VM ctest-TestBasicPolicy-64046718-46073283 2025-10-13 01:53:30,847 - INFO - Deleting VM ctest-TestBasicPolicy-64046718-15474618 2025-10-13 01:53:31,669 - INFO - Deleted policy ctest-policy-allow-all-34050929 2025-10-13 01:53:31,669 - INFO - Deleting VN ctest-vn-09240494 2025-10-13 01:53:31,822 - DEBUG - VN ed3d3ace-9e29-4f99-9bcc-97cc7482feec still in use: Unable to complete operation on network ed3d3ace-9e29-4f99-9bcc-97cc7482feec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85342359-160e-40b2-b6da-bbc5f51e8c89'] 2025-10-13 01:53:31,823 - WARNING - Deleting VN ctest-vn-09240494 failed..Will retry 2025-10-13 01:53:34,002 - DEBUG - Response for deleting network () 2025-10-13 01:53:34,002 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bf31d054-9f85-4956-a2ce-3ff71f7d68ed 2025-10-13 01:53:34,055 - DEBUG - Response Code: 404 2025-10-13 01:53:34,055 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2025-10-13 01:53:34,108 - DEBUG - Requesting: https://10.0.0.129:8082/domain/537505e7-1547-4002-bf39-a6f4fbcc30df 2025-10-13 01:53:34,168 - DEBUG - Requesting: https://10.0.0.129:8082/project/77b2b8e2-a4da-412f-8b35-1e24cd0c6d1e 2025-10-13 01:53:34,248 - INFO - Validated that VN ctest-vn-09240494 is not found in API Server 2025-10-13 01:53:34,348 - DEBUG - VN ctest-vn-09240494 is not present in Agent 10.0.0.129 2025-10-13 01:53:34,348 - INFO - Validated that VN ctest-vn-09240494 is not in any agent 2025-10-13 01:53:34,492 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09240494 info 2025-10-13 01:53:34,492 - INFO - Deleting VN ctest-vn-15109593 2025-10-13 01:53:34,671 - DEBUG - Response for deleting network () 2025-10-13 01:53:34,671 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/899edfe8-7058-4e77-80e8-430ae39deac5 2025-10-13 01:53:34,731 - DEBUG - Response Code: 404 2025-10-13 01:53:34,732 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2025-10-13 01:53:34,784 - DEBUG - Requesting: https://10.0.0.129:8082/domain/537505e7-1547-4002-bf39-a6f4fbcc30df 2025-10-13 01:53:34,841 - DEBUG - Requesting: https://10.0.0.129:8082/project/77b2b8e2-a4da-412f-8b35-1e24cd0c6d1e 2025-10-13 01:53:34,945 - INFO - Validated that VN ctest-vn-15109593 is not found in API Server 2025-10-13 01:53:35,044 - DEBUG - VN ctest-vn-15109593 is not present in Agent 10.0.0.129 2025-10-13 01:53:35,044 - INFO - Validated that VN ctest-vn-15109593 is not in any agent 2025-10-13 01:53:35,196 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15109593 info 2025-10-13 01:53:35,580 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 01:53:35,580 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2025-10-13 01:53:35,580 - INFO - -------------------------------------------------------------------------------- 2025-10-13 01:53:36,318 - INFO - Deleted project: ctest-TestBasicPolicy-64046718, ID : 77b2b8e2-a4da-412f-8b35-1e24cd0c6d1e