2025-10-24 19:52:33,284 - INFO - Domain Default found not creating 2025-10-24 19:52:33,667 - INFO - Project ctest-TestBasicPolicy-21626330 not found, creating it 2025-10-24 19:52:34,396 - INFO - Created Project:ctest-TestBasicPolicy-21626330, ID : f2daf06d-73c3-410f-a05c-bc3222b915bb 2025-10-24 19:52:36,548 - INFO - ================================================================================ 2025-10-24 19:52:36,549 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-24 19:52:36,549 - 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-24 19:52:36,823 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-24 19:52:36,823 - INFO - Initial checks done. Running the testcase now 2025-10-24 19:52:36,823 - INFO - 2025-10-24 19:52:37,555 - DEBUG - Response for create_network : {'network': {'id': '7a8f69f3-fcc5-4596-970b-9831a13e5067', 'name': 'ctest-vn-58982477', 'tenant_id': 'f2daf06d73c3410fa05cbc3222b915bb', 'project_id': 'f2daf06d73c3410fa05cbc3222b915bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21626330', 'ctest-vn-58982477'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:52:37,790 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7132864-60c0-411f-bee8-3449dc05095e', 'name': '', 'tenant_id': 'f2daf06d73c3410fa05cbc3222b915bb', 'network_id': '7a8f69f3-fcc5-4596-970b-9831a13e5067', 'ip_version': 4, 'cidr': '70.57.33.64/26', 'allocation_pools': [{'start': '70.57.33.66', 'end': '70.57.33.126'}], 'gateway_ip': '70.57.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.57.33.66', 'tags': [], 'project_id': 'f2daf06d73c3410fa05cbc3222b915bb'}} 2025-10-24 19:52:37,817 - INFO - Created VN ctest-vn-58982477 2025-10-24 19:52:37,878 - DEBUG - VN ctest-vn-58982477 UUID is 7a8f69f3-fcc5-4596-970b-9831a13e5067 2025-10-24 19:52:38,391 - DEBUG - Response for create_network : {'network': {'id': 'a82c4ef7-e708-48da-8816-29193426a58d', 'name': 'ctest-vn-89852532', 'tenant_id': 'f2daf06d73c3410fa05cbc3222b915bb', 'project_id': 'f2daf06d73c3410fa05cbc3222b915bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21626330', 'ctest-vn-89852532'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:52:38,629 - DEBUG - Response for create_subnet : {'subnet': {'id': '8707e894-163a-4a43-9365-dda98971ab73', 'name': '', 'tenant_id': 'f2daf06d73c3410fa05cbc3222b915bb', 'network_id': 'a82c4ef7-e708-48da-8816-29193426a58d', 'ip_version': 4, 'cidr': '15.23.161.0/26', 'allocation_pools': [{'start': '15.23.161.2', 'end': '15.23.161.62'}], 'gateway_ip': '15.23.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.23.161.2', 'tags': [], 'project_id': 'f2daf06d73c3410fa05cbc3222b915bb'}} 2025-10-24 19:52:38,654 - INFO - Created VN ctest-vn-89852532 2025-10-24 19:52:38,714 - DEBUG - VN ctest-vn-89852532 UUID is a82c4ef7-e708-48da-8816-29193426a58d 2025-10-24 19:52:38,875 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-58982477, 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-21626330:ctest-vn-89852532, 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-24 19:52:39,338 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a8f69f3-fcc5-4596-970b-9831a13e5067', 'name': 'ctest-vn-58982477', 'tenant_id': 'f2daf06d73c3410fa05cbc3222b915bb', 'project_id': 'f2daf06d73c3410fa05cbc3222b915bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7132864-60c0-411f-bee8-3449dc05095e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21626330', 'ctest-vn-58982477'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21626330', 'ctest-policy-allow-all-96618690']], 'subnet_ipam': [{'subnet_cidr': '70.57.33.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:52:39,693 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a82c4ef7-e708-48da-8816-29193426a58d', 'name': 'ctest-vn-89852532', 'tenant_id': 'f2daf06d73c3410fa05cbc3222b915bb', 'project_id': 'f2daf06d73c3410fa05cbc3222b915bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8707e894-163a-4a43-9365-dda98971ab73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21626330', 'ctest-vn-89852532'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21626330', 'ctest-policy-allow-all-96618690']], 'subnet_ipam': [{'subnet_cidr': '15.23.161.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:52:39,878 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-24 19:52:40,181 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-24 19:52:40,259 - DEBUG - Requesting: http://10.0.0.38:8082/domain/68ae4022-3de6-45d7-988b-c83042729b8e 2025-10-24 19:52:40,286 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2daf06d-73c3-410f-a05c-bc3222b915bb 2025-10-24 19:52:40,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7a8f69f3-fcc5-4596-970b-9831a13e5067 2025-10-24 19:52:40,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7a8f69f3-fcc5-4596-970b-9831a13e5067 2025-10-24 19:52:40,459 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a86b9aed-8122-4cf5-a981-6d4426aaacac 2025-10-24 19:52:40,478 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a86b9aed-8122-4cf5-a981-6d4426aaacac 2025-10-24 19:52:40,494 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a6e3569-20ae-4967-9860-56602f9a7b57 2025-10-24 19:52:40,511 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 19:52:40,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7a8f69f3-fcc5-4596-970b-9831a13e5067 2025-10-24 19:52:40,535 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a86b9aed-8122-4cf5-a981-6d4426aaacac 2025-10-24 19:52:40,572 - INFO - Verified VN network id 11 for VN 7a8f69f3-fcc5-4596-970b-9831a13e5067 2025-10-24 19:52:40,572 - INFO - Verifications in API Server for VN ctest-vn-58982477 passed 2025-10-24 19:52:40,572 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7a8f69f3-fcc5-4596-970b-9831a13e5067 2025-10-24 19:52:40,596 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a86b9aed-8122-4cf5-a981-6d4426aaacac 2025-10-24 19:52:40,612 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a86b9aed-8122-4cf5-a981-6d4426aaacac 2025-10-24 19:52:40,629 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a6e3569-20ae-4967-9860-56602f9a7b57 2025-10-24 19:52:40,661 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-58982477', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21626330', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8831393890935588246', 'uuid-lslong': '10883960263396970599'}, 'enable': 'true', 'created': '2025-10-24T19:52:37', 'last-modified': '2025-10-24T19:52:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.371399'} 2025-10-24 19:52:40,679 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 19:52:40,679 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58982477 passed 2025-10-24 19:52:40,680 - DEBUG - ====Verifying policy data for ctest-vn-58982477 in API_Server ====== 2025-10-24 19:52:40,680 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-24 19:52:40,693 - DEBUG - Requesting: http://10.0.0.38:8082/domain/68ae4022-3de6-45d7-988b-c83042729b8e 2025-10-24 19:52:40,723 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2daf06d-73c3-410f-a05c-bc3222b915bb 2025-10-24 19:52:40,850 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7a8f69f3-fcc5-4596-970b-9831a13e5067 2025-10-24 19:52:40,875 - DEBUG - ==>Verifying data for policy with id: ad5e17f2-189c-42ef-b2f0-a2601ea5e62e, fqn: ['default-domain', 'ctest-TestBasicPolicy-21626330', 'ctest-policy-allow-all-96618690'] 2025-10-24 19:52:40,875 - INFO - VN ctest-vn-58982477 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 19:52:40,875 - DEBUG - Verifying the vn in opserver 2025-10-24 19:52:40,875 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-58982477 virtual network link through opserver 10.0.0.38 2025-10-24 19:52:40,876 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-24 19:52:41,229 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-24 19:52:41,314 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-58982477', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-58982477?flat'} 2025-10-24 19:52:41,314 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-58982477 is found in opserver 2025-10-24 19:52:41,344 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 19:52:41,358 - DEBUG - VRF ids for VN ctest-vn-58982477: {} 2025-10-24 19:52:41,358 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-24 19:52:41,375 - DEBUG - Requesting: http://10.0.0.38:8082/domain/68ae4022-3de6-45d7-988b-c83042729b8e 2025-10-24 19:52:41,408 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2daf06d-73c3-410f-a05c-bc3222b915bb 2025-10-24 19:52:41,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a82c4ef7-e708-48da-8816-29193426a58d 2025-10-24 19:52:41,548 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a82c4ef7-e708-48da-8816-29193426a58d 2025-10-24 19:52:41,563 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7e6a076b-f845-48e6-a3ee-5bd338b41c57 2025-10-24 19:52:41,578 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7e6a076b-f845-48e6-a3ee-5bd338b41c57 2025-10-24 19:52:41,587 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4691b07f-5b65-4140-85a9-f9cebecba35b 2025-10-24 19:52:41,594 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 19:52:41,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a82c4ef7-e708-48da-8816-29193426a58d 2025-10-24 19:52:41,604 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7e6a076b-f845-48e6-a3ee-5bd338b41c57 2025-10-24 19:52:41,626 - INFO - Verified VN network id 12 for VN a82c4ef7-e708-48da-8816-29193426a58d 2025-10-24 19:52:41,626 - INFO - Verifications in API Server for VN ctest-vn-89852532 passed 2025-10-24 19:52:41,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a82c4ef7-e708-48da-8816-29193426a58d 2025-10-24 19:52:41,644 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7e6a076b-f845-48e6-a3ee-5bd338b41c57 2025-10-24 19:52:41,656 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7e6a076b-f845-48e6-a3ee-5bd338b41c57 2025-10-24 19:52:41,670 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4691b07f-5b65-4140-85a9-f9cebecba35b 2025-10-24 19:52:41,689 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-89852532', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21626330', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12118147523987130586', 'uuid-lslong': '9806070426871702925'}, 'enable': 'true', 'created': '2025-10-24T19:52:38', 'last-modified': '2025-10-24T19:52:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.074674'} 2025-10-24 19:52:41,697 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 19:52:41,697 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89852532 passed 2025-10-24 19:52:41,697 - DEBUG - ====Verifying policy data for ctest-vn-89852532 in API_Server ====== 2025-10-24 19:52:41,697 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-24 19:52:41,706 - DEBUG - Requesting: http://10.0.0.38:8082/domain/68ae4022-3de6-45d7-988b-c83042729b8e 2025-10-24 19:52:41,721 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2daf06d-73c3-410f-a05c-bc3222b915bb 2025-10-24 19:52:41,818 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a82c4ef7-e708-48da-8816-29193426a58d 2025-10-24 19:52:41,838 - DEBUG - ==>Verifying data for policy with id: ad5e17f2-189c-42ef-b2f0-a2601ea5e62e, fqn: ['default-domain', 'ctest-TestBasicPolicy-21626330', 'ctest-policy-allow-all-96618690'] 2025-10-24 19:52:41,839 - INFO - VN ctest-vn-89852532 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 19:52:41,839 - DEBUG - Verifying the vn in opserver 2025-10-24 19:52:41,839 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-89852532 virtual network link through opserver 10.0.0.38 2025-10-24 19:52:41,839 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-24 19:52:41,860 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-89852532', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-89852532?flat'} 2025-10-24 19:52:41,860 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-89852532 is found in opserver 2025-10-24 19:52:41,888 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 19:52:41,896 - DEBUG - VRF ids for VN ctest-vn-89852532: {} 2025-10-24 19:52:42,049 - DEBUG - Services list from nova: [, , ] 2025-10-24 19:52:43,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4479-1) 2025-10-24 19:52:44,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4479-1) 2025-10-24 19:52:44,988 - INFO - Waiting for VM ctest-TestBasicPolicy-21626330-63017610 to be up.. 2025-10-24 19:52:45,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 19:52:50,312 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:52:50,312 - INFO - VM name : ctest-TestBasicPolicy-21626330-63017610 2025-10-24 19:52:50,494 - DEBUG - VM ctest-TestBasicPolicy-21626330-63017610 ID is c0ddbc19-2b51-462b-a3e0-b01e20af781a 2025-10-24 19:52:50,540 - DEBUG - VM ctest-TestBasicPolicy-21626330-63017610 launched on Node cn-jenkins-deploy-platform-ansible-os-4479-1 2025-10-24 19:52:50,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c0ddbc19-2b51-462b-a3e0-b01e20af781a 2025-10-24 19:52:50,700 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b69d6868-34ab-49ae-b768-9cdb888fc7c9 2025-10-24 19:52:54,009 - 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-24 19:52:54,009 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21626330-63017610 failed! 2025-10-24 19:52:54,090 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21626330:ctest-vn-58982477 is 70.57.33.65 and allocation pool is NOT set 2025-10-24 19:52:56,172 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.97 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 = 1.972/3.068/4.165/1.096 ms') 2025-10-24 19:52:56,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21626330-63017610 passed 2025-10-24 19:52:56,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:52:56,362 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21626330-63017610, IP 70.57.33.67, Port 22 2025-10-24 19:52:56,564 - DEBUG - VM ctest-TestBasicPolicy-21626330-63017610 is ready for SSH connections 2025-10-24 19:52:56,564 - INFO - Waiting for VM ctest-TestBasicPolicy-21626330-05919790 to be up.. 2025-10-24 19:52:56,750 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:52:56,750 - INFO - VM name : ctest-TestBasicPolicy-21626330-05919790 2025-10-24 19:52:56,870 - DEBUG - VM ctest-TestBasicPolicy-21626330-05919790 ID is 4ace6a37-83ed-47b5-b0f9-581e2f9796e7 2025-10-24 19:52:56,870 - DEBUG - VM ctest-TestBasicPolicy-21626330-05919790 launched on Node cn-jenkins-deploy-platform-ansible-os-4479-1 2025-10-24 19:52:57,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4ace6a37-83ed-47b5-b0f9-581e2f9796e7 2025-10-24 19:52:57,034 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cdd0d8ac-2639-475b-9645-0f42c8cdb226 2025-10-24 19:52:58,349 - 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=4.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.30 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 = 1.301/3.076/4.852/1.775 ms') 2025-10-24 19:52:58,349 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21626330-05919790 passed 2025-10-24 19:52:58,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:52:58,535 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21626330-05919790, IP 15.23.161.3, Port 22 2025-10-24 19:52:58,616 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-24 19:52:58,803 - DEBUG - VM ctest-TestBasicPolicy-21626330-05919790 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-24 19:53:03,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:53:03,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21626330-05919790, IP 15.23.161.3, Port 22 2025-10-24 19:53:04,008 - DEBUG - VM ctest-TestBasicPolicy-21626330-05919790 is ready for SSH connections 2025-10-24 19:53:04,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:53:04,008 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.23.161.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-24 19:53:04,008 - DEBUG - ping -s 56 -c 3 -W 1 15.23.161.3 2025-10-24 19:53:08,465 - DEBUG - PING 15.23.161.3 (15.23.161.3): 56 data bytes 64 bytes from 15.23.161.3: seq=0 ttl=63 time=7.455 ms 64 bytes from 15.23.161.3: seq=1 ttl=63 time=1.978 ms 64 bytes from 15.23.161.3: seq=2 ttl=63 time=1.946 ms --- 15.23.161.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.946/3.793/7.455 ms 2025-10-24 19:53:08,466 - INFO - Ping to IP 15.23.161.3 from VM ctest-TestBasicPolicy-21626330-63017610 passed 2025-10-24 19:53:08,705 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ad5e17f2-189c-42ef-b2f0-a2601ea5e62e", "href": "http://10.0.0.38:8082/network-policy/ad5e17f2-189c-42ef-b2f0-a2601ea5e62e"}} 2025-10-24 19:53:08,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:53:08,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.23.161.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-24 19:53:08,706 - DEBUG - ping -s 56 -c 3 -W 1 15.23.161.3 2025-10-24 19:53:12,027 - DEBUG - PING 15.23.161.3 (15.23.161.3): 56 data bytes 64 bytes from 15.23.161.3: seq=0 ttl=63 time=1.986 ms --- 15.23.161.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.986/1.986/1.986 ms 2025-10-24 19:53:12,027 - WARNING - Ping to IP 15.23.161.3 from VM ctest-TestBasicPolicy-21626330-63017610 failed 2025-10-24 19:53:12,028 - INFO - Deleting VM ctest-TestBasicPolicy-21626330-05919790 2025-10-24 19:53:12,210 - INFO - Deleting VM ctest-TestBasicPolicy-21626330-63017610 2025-10-24 19:53:12,751 - INFO - Deleted policy ctest-policy-allow-all-96618690 2025-10-24 19:53:12,751 - INFO - Deleting VN ctest-vn-89852532 2025-10-24 19:53:12,792 - DEBUG - VN a82c4ef7-e708-48da-8816-29193426a58d still in use: Unable to complete operation on network a82c4ef7-e708-48da-8816-29193426a58d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9efded85-6b7a-4205-9339-3b1c7202dadd'] 2025-10-24 19:53:12,792 - WARNING - Deleting VN ctest-vn-89852532 failed..Will retry 2025-10-24 19:53:14,994 - DEBUG - Response for deleting network () 2025-10-24 19:53:14,995 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7e6a076b-f845-48e6-a3ee-5bd338b41c57 2025-10-24 19:53:15,000 - DEBUG - Response Code: 404 2025-10-24 19:53:15,001 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-24 19:53:15,008 - DEBUG - Requesting: http://10.0.0.38:8082/domain/68ae4022-3de6-45d7-988b-c83042729b8e 2025-10-24 19:53:15,068 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2daf06d-73c3-410f-a05c-bc3222b915bb 2025-10-24 19:53:15,174 - INFO - Validated that VN ctest-vn-89852532 is not found in API Server 2025-10-24 19:53:15,202 - DEBUG - VN ctest-vn-89852532 is not present in Agent 10.0.0.38 2025-10-24 19:53:15,202 - INFO - Validated that VN ctest-vn-89852532 is not in any agent 2025-10-24 19:53:15,237 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89852532 info 2025-10-24 19:53:15,238 - INFO - Deleting VN ctest-vn-58982477 2025-10-24 19:53:15,391 - DEBUG - Response for deleting network () 2025-10-24 19:53:15,391 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a86b9aed-8122-4cf5-a981-6d4426aaacac 2025-10-24 19:53:15,401 - DEBUG - Response Code: 404 2025-10-24 19:53:15,401 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-24 19:53:15,410 - DEBUG - Requesting: http://10.0.0.38:8082/domain/68ae4022-3de6-45d7-988b-c83042729b8e 2025-10-24 19:53:15,467 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2daf06d-73c3-410f-a05c-bc3222b915bb 2025-10-24 19:53:15,567 - INFO - Validated that VN ctest-vn-58982477 is not found in API Server 2025-10-24 19:53:15,577 - DEBUG - VN ctest-vn-58982477 is not present in Agent 10.0.0.38 2025-10-24 19:53:15,578 - INFO - Validated that VN ctest-vn-58982477 is not in any agent 2025-10-24 19:53:15,596 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58982477 info 2025-10-24 19:53:15,879 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 19:53:15,879 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-10-24 19:53:15,879 - INFO - -------------------------------------------------------------------------------- 2025-10-24 19:53:16,717 - INFO - Deleted project: ctest-TestBasicPolicy-21626330, ID : f2daf06d-73c3-410f-a05c-bc3222b915bb