2026-01-07 18:07:32,990 - INFO - Domain Default found not creating 2026-01-07 18:07:33,172 - INFO - Project ctest-TestBasicPolicy-73985022 not found, creating it 2026-01-07 18:07:33,630 - INFO - Created Project:ctest-TestBasicPolicy-73985022, ID : 5d72f136-8407-4368-95d9-298cacb15d65 2026-01-07 18:07:35,099 - INFO - ================================================================================ 2026-01-07 18:07:35,099 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-07 18:07:35,099 - 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 2026-01-07 18:07:35,354 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-07 18:07:35,354 - INFO - Initial checks done. Running the testcase now 2026-01-07 18:07:35,354 - INFO - 2026-01-07 18:07:35,916 - DEBUG - Response for create_network : {'network': {'id': 'a20d24f8-9f4d-4baf-a525-fd0917f883ed', 'name': 'ctest-vn-75532072', 'tenant_id': '5d72f1368407436895d9298cacb15d65', 'project_id': '5d72f1368407436895d9298cacb15d65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73985022', 'ctest-vn-75532072'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 18:07:36,121 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca54881a-0b0e-4bfc-b124-fc25b192c28a', 'name': '', 'tenant_id': '5d72f1368407436895d9298cacb15d65', 'network_id': 'a20d24f8-9f4d-4baf-a525-fd0917f883ed', 'ip_version': 4, 'cidr': '38.56.133.128/26', 'allocation_pools': [{'start': '38.56.133.130', 'end': '38.56.133.190'}], 'gateway_ip': '38.56.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.56.133.130', 'tags': [], 'project_id': '5d72f1368407436895d9298cacb15d65'}} 2026-01-07 18:07:36,140 - INFO - Created VN ctest-vn-75532072 2026-01-07 18:07:36,191 - DEBUG - VN ctest-vn-75532072 UUID is a20d24f8-9f4d-4baf-a525-fd0917f883ed 2026-01-07 18:07:36,509 - DEBUG - Response for create_network : {'network': {'id': '473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f', 'name': 'ctest-vn-60258152', 'tenant_id': '5d72f1368407436895d9298cacb15d65', 'project_id': '5d72f1368407436895d9298cacb15d65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73985022', 'ctest-vn-60258152'], 'port_security_enabled': True, 'description': ''}} 2026-01-07 18:07:36,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a93c5e3-90e2-4a21-894a-d4008e9aa0b8', 'name': '', 'tenant_id': '5d72f1368407436895d9298cacb15d65', 'network_id': '473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f', 'ip_version': 4, 'cidr': '69.24.138.192/26', 'allocation_pools': [{'start': '69.24.138.194', 'end': '69.24.138.254'}], 'gateway_ip': '69.24.138.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.24.138.194', 'tags': [], 'project_id': '5d72f1368407436895d9298cacb15d65'}} 2026-01-07 18:07:36,704 - INFO - Created VN ctest-vn-60258152 2026-01-07 18:07:36,758 - DEBUG - VN ctest-vn-60258152 UUID is 473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f 2026-01-07 18:07:36,906 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-75532072, 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-73985022:ctest-vn-60258152, 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] 2026-01-07 18:07:37,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a20d24f8-9f4d-4baf-a525-fd0917f883ed', 'name': 'ctest-vn-75532072', 'tenant_id': '5d72f1368407436895d9298cacb15d65', 'project_id': '5d72f1368407436895d9298cacb15d65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca54881a-0b0e-4bfc-b124-fc25b192c28a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73985022', 'ctest-vn-75532072'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73985022', 'ctest-policy-allow-all-37944067']], 'subnet_ipam': [{'subnet_cidr': '38.56.133.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-07 18:07:37,407 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f', 'name': 'ctest-vn-60258152', 'tenant_id': '5d72f1368407436895d9298cacb15d65', 'project_id': '5d72f1368407436895d9298cacb15d65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a93c5e3-90e2-4a21-894a-d4008e9aa0b8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73985022', 'ctest-vn-60258152'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73985022', 'ctest-policy-allow-all-37944067']], 'subnet_ipam': [{'subnet_cidr': '69.24.138.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-07 18:07:37,571 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 18:07:37,870 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 18:07:37,902 - DEBUG - Requesting: http://10.0.0.38:8082/domain/805c8dd5-b00e-40e2-9dec-f633b777630c 2026-01-07 18:07:37,914 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d72f136-8407-4368-95d9-298cacb15d65 2026-01-07 18:07:37,987 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a20d24f8-9f4d-4baf-a525-fd0917f883ed 2026-01-07 18:07:37,998 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a20d24f8-9f4d-4baf-a525-fd0917f883ed 2026-01-07 18:07:38,008 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba4e7b-73d3-4868-a6d9-290eb5d607ec 2026-01-07 18:07:38,016 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba4e7b-73d3-4868-a6d9-290eb5d607ec 2026-01-07 18:07:38,023 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/57de9548-4bd5-4df6-ab0a-2b2e7ae9d599 2026-01-07 18:07:38,029 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-07 18:07:38,029 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a20d24f8-9f4d-4baf-a525-fd0917f883ed 2026-01-07 18:07:38,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba4e7b-73d3-4868-a6d9-290eb5d607ec 2026-01-07 18:07:38,050 - INFO - Verified VN network id 11 for VN a20d24f8-9f4d-4baf-a525-fd0917f883ed 2026-01-07 18:07:38,051 - INFO - Verifications in API Server for VN ctest-vn-75532072 passed 2026-01-07 18:07:38,051 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a20d24f8-9f4d-4baf-a525-fd0917f883ed 2026-01-07 18:07:38,059 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba4e7b-73d3-4868-a6d9-290eb5d607ec 2026-01-07 18:07:38,065 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba4e7b-73d3-4868-a6d9-290eb5d607ec 2026-01-07 18:07:38,071 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/57de9548-4bd5-4df6-ab0a-2b2e7ae9d599 2026-01-07 18:07:38,084 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-75532072', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73985022', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11677030059084696495', 'uuid-lslong': '11900195805895099373'}, 'enable': 'true', 'created': '2026-01-07T18:07:35', 'last-modified': '2026-01-07T18:07:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914380'} 2026-01-07 18:07:38,089 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-07 18:07:38,089 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75532072 passed 2026-01-07 18:07:38,090 - DEBUG - ====Verifying policy data for ctest-vn-75532072 in API_Server ====== 2026-01-07 18:07:38,090 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 18:07:38,094 - DEBUG - Requesting: http://10.0.0.38:8082/domain/805c8dd5-b00e-40e2-9dec-f633b777630c 2026-01-07 18:07:38,104 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d72f136-8407-4368-95d9-298cacb15d65 2026-01-07 18:07:38,177 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a20d24f8-9f4d-4baf-a525-fd0917f883ed 2026-01-07 18:07:38,186 - DEBUG - ==>Verifying data for policy with id: 92abdad1-c04d-4405-a26e-4b4532b2bf65, fqn: ['default-domain', 'ctest-TestBasicPolicy-73985022', 'ctest-policy-allow-all-37944067'] 2026-01-07 18:07:38,186 - INFO - VN ctest-vn-75532072 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-07 18:07:38,187 - DEBUG - Verifying the vn in opserver 2026-01-07 18:07:38,187 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-75532072 virtual network link through opserver 10.0.0.38 2026-01-07 18:07:38,187 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-07 18:07:38,483 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-07 18:07:38,545 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-75532072', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-75532072?flat'} 2026-01-07 18:07:38,545 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-75532072 is found in opserver 2026-01-07 18:07:38,554 - DEBUG - Do not have enough data to verify VN in agent 2026-01-07 18:07:38,559 - DEBUG - VRF ids for VN ctest-vn-75532072: {} 2026-01-07 18:07:38,559 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 18:07:38,563 - DEBUG - Requesting: http://10.0.0.38:8082/domain/805c8dd5-b00e-40e2-9dec-f633b777630c 2026-01-07 18:07:38,573 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d72f136-8407-4368-95d9-298cacb15d65 2026-01-07 18:07:38,639 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f 2026-01-07 18:07:38,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f 2026-01-07 18:07:38,657 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cd2714d-2bad-4dbe-bff3-bc7d35e3ceaf 2026-01-07 18:07:38,664 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cd2714d-2bad-4dbe-bff3-bc7d35e3ceaf 2026-01-07 18:07:38,670 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dd635cc7-3b4e-431c-8bf9-0912982dfc18 2026-01-07 18:07:38,676 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-07 18:07:38,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f 2026-01-07 18:07:38,684 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cd2714d-2bad-4dbe-bff3-bc7d35e3ceaf 2026-01-07 18:07:38,695 - INFO - Verified VN network id 12 for VN 473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f 2026-01-07 18:07:38,695 - INFO - Verifications in API Server for VN ctest-vn-60258152 passed 2026-01-07 18:07:38,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f 2026-01-07 18:07:38,702 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cd2714d-2bad-4dbe-bff3-bc7d35e3ceaf 2026-01-07 18:07:38,708 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cd2714d-2bad-4dbe-bff3-bc7d35e3ceaf 2026-01-07 18:07:38,714 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dd635cc7-3b4e-431c-8bf9-0912982dfc18 2026-01-07 18:07:38,724 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-60258152', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73985022', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5132718078163831882', 'uuid-lslong': '11420274731986681503'}, 'enable': 'true', 'created': '2026-01-07T18:07:36', 'last-modified': '2026-01-07T18:07:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.333471'} 2026-01-07 18:07:38,729 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-07 18:07:38,729 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60258152 passed 2026-01-07 18:07:38,729 - DEBUG - ====Verifying policy data for ctest-vn-60258152 in API_Server ====== 2026-01-07 18:07:38,729 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 18:07:38,734 - DEBUG - Requesting: http://10.0.0.38:8082/domain/805c8dd5-b00e-40e2-9dec-f633b777630c 2026-01-07 18:07:38,744 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d72f136-8407-4368-95d9-298cacb15d65 2026-01-07 18:07:38,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f 2026-01-07 18:07:38,821 - DEBUG - ==>Verifying data for policy with id: 92abdad1-c04d-4405-a26e-4b4532b2bf65, fqn: ['default-domain', 'ctest-TestBasicPolicy-73985022', 'ctest-policy-allow-all-37944067'] 2026-01-07 18:07:38,821 - INFO - VN ctest-vn-60258152 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-07 18:07:38,821 - DEBUG - Verifying the vn in opserver 2026-01-07 18:07:38,821 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-60258152 virtual network link through opserver 10.0.0.38 2026-01-07 18:07:38,821 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-07 18:07:38,829 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-60258152', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-60258152?flat'} 2026-01-07 18:07:38,829 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-60258152 is found in opserver 2026-01-07 18:07:38,838 - DEBUG - Do not have enough data to verify VN in agent 2026-01-07 18:07:38,843 - DEBUG - VRF ids for VN ctest-vn-60258152: {} 2026-01-07 18:07:38,896 - DEBUG - Services list from nova: [, , ] 2026-01-07 18:07:39,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4975-1) 2026-01-07 18:07:41,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4975-1) 2026-01-07 18:07:41,007 - INFO - Waiting for VM ctest-TestBasicPolicy-73985022-00879764 to be up.. 2026-01-07 18:07:41,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-07 18:07:46,176 - DEBUG - VM is in ACTIVE state now 2026-01-07 18:07:46,177 - INFO - VM name : ctest-TestBasicPolicy-73985022-00879764 2026-01-07 18:07:46,254 - DEBUG - VM ctest-TestBasicPolicy-73985022-00879764 ID is d66bfb83-eb74-40f2-8983-d7d5fcfbdfdf 2026-01-07 18:07:46,273 - DEBUG - VM ctest-TestBasicPolicy-73985022-00879764 launched on Node cn-jenkins-deploy-platform-ansible-os-4975-1 2026-01-07 18:07:46,352 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d66bfb83-eb74-40f2-8983-d7d5fcfbdfdf 2026-01-07 18:07:46,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/54f831fd-0036-4b94-944e-32b36315cc60 2026-01-07 18:07:49,594 - 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 1003ms') 2026-01-07 18:07:49,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73985022-00879764 failed! 2026-01-07 18:07:49,647 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73985022:ctest-vn-75532072 is 38.56.133.129 and allocation pool is NOT set 2026-01-07 18:07:51,709 - 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=7.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.536 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 = 0.536/4.194/7.853/3.658 ms') 2026-01-07 18:07:51,710 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73985022-00879764 passed 2026-01-07 18:07:51,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 18:07:51,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73985022-00879764, IP 38.56.133.131, Port 22 2026-01-07 18:07:52,014 - DEBUG - VM ctest-TestBasicPolicy-73985022-00879764 is ready for SSH connections 2026-01-07 18:07:52,014 - INFO - Waiting for VM ctest-TestBasicPolicy-73985022-32872417 to be up.. 2026-01-07 18:07:52,089 - DEBUG - VM is in ACTIVE state now 2026-01-07 18:07:52,089 - INFO - VM name : ctest-TestBasicPolicy-73985022-32872417 2026-01-07 18:07:52,163 - DEBUG - VM ctest-TestBasicPolicy-73985022-32872417 ID is b711c6e6-8ebc-45c0-bac7-60ed8642df62 2026-01-07 18:07:52,163 - DEBUG - VM ctest-TestBasicPolicy-73985022-32872417 launched on Node cn-jenkins-deploy-platform-ansible-os-4975-1 2026-01-07 18:07:52,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b711c6e6-8ebc-45c0-bac7-60ed8642df62 2026-01-07 18:07:52,248 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/44317149-5810-4e9e-89b8-f606eaf9a47c 2026-01-07 18:07:53,488 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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.025/2.357/3.689/1.332 ms') 2026-01-07 18:07:53,488 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73985022-32872417 passed 2026-01-07 18:07:53,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 18:07:53,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73985022-32872417, IP 69.24.138.195, Port 22 2026-01-07 18:07:53,690 - 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': ''} 2026-01-07 18:07:53,766 - DEBUG - VM ctest-TestBasicPolicy-73985022-32872417 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-07 18:07:58,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 18:07:58,766 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73985022-32872417, IP 69.24.138.195, Port 22 2026-01-07 18:07:58,922 - DEBUG - VM ctest-TestBasicPolicy-73985022-32872417 is ready for SSH connections 2026-01-07 18:07:58,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 18:07:58,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.24.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-07 18:07:58,922 - DEBUG - ping -s 56 -c 3 -W 1 69.24.138.195 2026-01-07 18:08:02,969 - DEBUG - PING 69.24.138.195 (69.24.138.195): 56 data bytes 64 bytes from 69.24.138.195: seq=0 ttl=63 time=5.329 ms 64 bytes from 69.24.138.195: seq=1 ttl=63 time=0.856 ms 64 bytes from 69.24.138.195: seq=2 ttl=63 time=1.152 ms --- 69.24.138.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.856/2.445/5.329 ms 2026-01-07 18:08:02,969 - INFO - Ping to IP 69.24.138.195 from VM ctest-TestBasicPolicy-73985022-00879764 passed 2026-01-07 18:08:03,146 - DEBUG - Policy Update Response {"network-policy": {"uuid": "92abdad1-c04d-4405-a26e-4b4532b2bf65", "href": "http://10.0.0.38:8082/network-policy/92abdad1-c04d-4405-a26e-4b4532b2bf65"}} 2026-01-07 18:08:03,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-07 18:08:03,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.24.138.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-07 18:08:03,147 - DEBUG - ping -s 56 -c 3 -W 1 69.24.138.195 2026-01-07 18:08:06,391 - DEBUG - PING 69.24.138.195 (69.24.138.195): 56 data bytes --- 69.24.138.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-07 18:08:06,391 - WARNING - Ping to IP 69.24.138.195 from VM ctest-TestBasicPolicy-73985022-00879764 failed 2026-01-07 18:08:06,391 - INFO - Deleting VM ctest-TestBasicPolicy-73985022-32872417 2026-01-07 18:08:06,459 - INFO - Deleting VM ctest-TestBasicPolicy-73985022-00879764 2026-01-07 18:08:06,856 - INFO - Deleted policy ctest-policy-allow-all-37944067 2026-01-07 18:08:06,856 - INFO - Deleting VN ctest-vn-60258152 2026-01-07 18:08:06,898 - DEBUG - VN 473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f still in use: Unable to complete operation on network 473b13e5-d52e-4c4a-9e7c-f75c8d6f7e9f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d8f189d7-ad00-41a2-8469-3bf3ac64c802'] 2026-01-07 18:08:06,898 - WARNING - Deleting VN ctest-vn-60258152 failed..Will retry 2026-01-07 18:08:08,981 - DEBUG - Response for deleting network () 2026-01-07 18:08:08,981 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6cd2714d-2bad-4dbe-bff3-bc7d35e3ceaf 2026-01-07 18:08:08,985 - DEBUG - Response Code: 404 2026-01-07 18:08:08,985 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 18:08:08,991 - DEBUG - Requesting: http://10.0.0.38:8082/domain/805c8dd5-b00e-40e2-9dec-f633b777630c 2026-01-07 18:08:09,048 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d72f136-8407-4368-95d9-298cacb15d65 2026-01-07 18:08:09,116 - INFO - Validated that VN ctest-vn-60258152 is not found in API Server 2026-01-07 18:08:09,125 - DEBUG - VN ctest-vn-60258152 is not present in Agent 10.0.0.38 2026-01-07 18:08:09,125 - INFO - Validated that VN ctest-vn-60258152 is not in any agent 2026-01-07 18:08:09,138 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60258152 info 2026-01-07 18:08:09,138 - INFO - Deleting VN ctest-vn-75532072 2026-01-07 18:08:09,226 - DEBUG - Response for deleting network () 2026-01-07 18:08:09,226 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba4e7b-73d3-4868-a6d9-290eb5d607ec 2026-01-07 18:08:09,232 - DEBUG - Response Code: 404 2026-01-07 18:08:09,233 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-07 18:08:09,239 - DEBUG - Requesting: http://10.0.0.38:8082/domain/805c8dd5-b00e-40e2-9dec-f633b777630c 2026-01-07 18:08:09,291 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d72f136-8407-4368-95d9-298cacb15d65 2026-01-07 18:08:09,359 - INFO - Validated that VN ctest-vn-75532072 is not found in API Server 2026-01-07 18:08:09,369 - DEBUG - VN ctest-vn-75532072 is not present in Agent 10.0.0.38 2026-01-07 18:08:09,369 - INFO - Validated that VN ctest-vn-75532072 is not in any agent 2026-01-07 18:08:09,384 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75532072 info 2026-01-07 18:08:09,638 - DEBUG - No XMPP flaps were noticed during the test 2026-01-07 18:08:09,638 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-01-07 18:08:09,638 - INFO - -------------------------------------------------------------------------------- 2026-01-07 18:08:10,304 - INFO - Deleted project: ctest-TestBasicPolicy-73985022, ID : 5d72f136-8407-4368-95d9-298cacb15d65