2026-05-20 14:34:42,242 - INFO - Domain Default found not creating 2026-05-20 14:34:42,452 - INFO - Project ctest-TestBasicPolicy-04106410 not found, creating it 2026-05-20 14:34:42,917 - INFO - Created Project:ctest-TestBasicPolicy-04106410, ID : 1d00a60a-072d-4d54-bc95-1cd7ee5b1149 2026-05-20 14:34:44,547 - INFO - ================================================================================ 2026-05-20 14:34:44,547 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-20 14:34:44,547 - 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-05-20 14:34:44,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-05-20 14:34:44,809 - INFO - Initial checks done. Running the testcase now 2026-05-20 14:34:44,809 - INFO - 2026-05-20 14:34:45,411 - DEBUG - Response for create_network : {'network': {'id': '5c8ffd76-fcc0-4ac8-9d18-56d5a2688bcd', 'name': 'ctest-vn-59180698', 'tenant_id': '1d00a60a072d4d54bc951cd7ee5b1149', 'project_id': '1d00a60a072d4d54bc951cd7ee5b1149', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04106410', 'ctest-vn-59180698'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:34:45,607 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d6ce408-d2d8-4fb4-98e2-6e08552e3c6b', 'name': '', 'tenant_id': '1d00a60a072d4d54bc951cd7ee5b1149', 'network_id': '5c8ffd76-fcc0-4ac8-9d18-56d5a2688bcd', 'ip_version': 4, 'cidr': '136.120.67.0/26', 'allocation_pools': [{'start': '136.120.67.2', 'end': '136.120.67.62'}], 'gateway_ip': '136.120.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.120.67.2', 'tags': [], 'project_id': '1d00a60a072d4d54bc951cd7ee5b1149'}} 2026-05-20 14:34:45,629 - INFO - Created VN ctest-vn-59180698 2026-05-20 14:34:45,682 - DEBUG - VN ctest-vn-59180698 UUID is 5c8ffd76-fcc0-4ac8-9d18-56d5a2688bcd 2026-05-20 14:34:46,019 - DEBUG - Response for create_network : {'network': {'id': 'a1e710a3-8547-4e51-b024-60e91fb5b1fe', 'name': 'ctest-vn-40169667', 'tenant_id': '1d00a60a072d4d54bc951cd7ee5b1149', 'project_id': '1d00a60a072d4d54bc951cd7ee5b1149', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04106410', 'ctest-vn-40169667'], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:34:46,253 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7a573cb-e323-4acd-b89d-92acd45bf79d', 'name': '', 'tenant_id': '1d00a60a072d4d54bc951cd7ee5b1149', 'network_id': 'a1e710a3-8547-4e51-b024-60e91fb5b1fe', 'ip_version': 4, 'cidr': '64.147.176.192/26', 'allocation_pools': [{'start': '64.147.176.194', 'end': '64.147.176.254'}], 'gateway_ip': '64.147.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.147.176.194', 'tags': [], 'project_id': '1d00a60a072d4d54bc951cd7ee5b1149'}} 2026-05-20 14:34:46,274 - INFO - Created VN ctest-vn-40169667 2026-05-20 14:34:46,326 - DEBUG - VN ctest-vn-40169667 UUID is a1e710a3-8547-4e51-b024-60e91fb5b1fe 2026-05-20 14:34:46,452 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-59180698, 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-04106410:ctest-vn-40169667, 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-05-20 14:34:46,756 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c8ffd76-fcc0-4ac8-9d18-56d5a2688bcd', 'name': 'ctest-vn-59180698', 'tenant_id': '1d00a60a072d4d54bc951cd7ee5b1149', 'project_id': '1d00a60a072d4d54bc951cd7ee5b1149', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d6ce408-d2d8-4fb4-98e2-6e08552e3c6b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04106410', 'ctest-vn-59180698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04106410', 'ctest-policy-allow-all-38689887']], 'subnet_ipam': [{'subnet_cidr': '136.120.67.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:34:46,998 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1e710a3-8547-4e51-b024-60e91fb5b1fe', 'name': 'ctest-vn-40169667', 'tenant_id': '1d00a60a072d4d54bc951cd7ee5b1149', 'project_id': '1d00a60a072d4d54bc951cd7ee5b1149', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a7a573cb-e323-4acd-b89d-92acd45bf79d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04106410', 'ctest-vn-40169667'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04106410', 'ctest-policy-allow-all-38689887']], 'subnet_ipam': [{'subnet_cidr': '64.147.176.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-20 14:34:47,178 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 14:34:47,485 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 14:34:47,524 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69153c15-03f5-4428-b130-bd33acb6977f 2026-05-20 14:34:47,537 - DEBUG - Requesting: http://10.0.0.50:8082/project/1d00a60a-072d-4d54-bc95-1cd7ee5b1149 2026-05-20 14:34:47,610 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5c8ffd76-fcc0-4ac8-9d18-56d5a2688bcd 2026-05-20 14:34:47,624 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5c8ffd76-fcc0-4ac8-9d18-56d5a2688bcd 2026-05-20 14:34:47,636 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55cf746f-a53f-40c5-b893-dd815dd5aa89 2026-05-20 14:34:47,644 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55cf746f-a53f-40c5-b893-dd815dd5aa89 2026-05-20 14:34:47,653 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/823b14ed-5784-4678-b49f-5a6788140763 2026-05-20 14:34:47,660 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-20 14:34:47,660 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5c8ffd76-fcc0-4ac8-9d18-56d5a2688bcd 2026-05-20 14:34:47,670 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55cf746f-a53f-40c5-b893-dd815dd5aa89 2026-05-20 14:34:47,687 - INFO - Verified VN network id 11 for VN 5c8ffd76-fcc0-4ac8-9d18-56d5a2688bcd 2026-05-20 14:34:47,687 - INFO - Verifications in API Server for VN ctest-vn-59180698 passed 2026-05-20 14:34:47,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5c8ffd76-fcc0-4ac8-9d18-56d5a2688bcd 2026-05-20 14:34:47,697 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55cf746f-a53f-40c5-b893-dd815dd5aa89 2026-05-20 14:34:47,705 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55cf746f-a53f-40c5-b893-dd815dd5aa89 2026-05-20 14:34:47,715 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/823b14ed-5784-4678-b49f-5a6788140763 2026-05-20 14:34:47,728 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-59180698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04106410', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6669828260647422664', 'uuid-lslong': '11319893138948525005'}, 'enable': 'true', 'created': '2026-05-20T14:34:45', 'last-modified': '2026-05-20T14:34:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995030'} 2026-05-20 14:34:47,735 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-20 14:34:47,735 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59180698 passed 2026-05-20 14:34:47,736 - DEBUG - ====Verifying policy data for ctest-vn-59180698 in API_Server ====== 2026-05-20 14:34:47,736 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 14:34:47,742 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69153c15-03f5-4428-b130-bd33acb6977f 2026-05-20 14:34:47,753 - DEBUG - Requesting: http://10.0.0.50:8082/project/1d00a60a-072d-4d54-bc95-1cd7ee5b1149 2026-05-20 14:34:47,825 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5c8ffd76-fcc0-4ac8-9d18-56d5a2688bcd 2026-05-20 14:34:47,834 - DEBUG - ==>Verifying data for policy with id: 783ff7ef-4af6-4e54-9023-9ef9d0c617ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-04106410', 'ctest-policy-allow-all-38689887'] 2026-05-20 14:34:47,834 - INFO - VN ctest-vn-59180698 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-20 14:34:47,835 - DEBUG - Verifying the vn in opserver 2026-05-20 14:34:47,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-59180698 virtual network link through opserver 10.0.0.50 2026-05-20 14:34:47,835 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-20 14:34:48,145 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-20 14:34:48,221 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-59180698', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-59180698?flat'} 2026-05-20 14:34:48,221 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-59180698 is found in opserver 2026-05-20 14:34:48,233 - DEBUG - Do not have enough data to verify VN in agent 2026-05-20 14:34:48,239 - DEBUG - VRF ids for VN ctest-vn-59180698: {} 2026-05-20 14:34:48,239 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 14:34:48,245 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69153c15-03f5-4428-b130-bd33acb6977f 2026-05-20 14:34:48,257 - DEBUG - Requesting: http://10.0.0.50:8082/project/1d00a60a-072d-4d54-bc95-1cd7ee5b1149 2026-05-20 14:34:48,330 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1e710a3-8547-4e51-b024-60e91fb5b1fe 2026-05-20 14:34:48,343 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1e710a3-8547-4e51-b024-60e91fb5b1fe 2026-05-20 14:34:48,354 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d306015-f4f4-4604-a59b-92c4940a3c9d 2026-05-20 14:34:48,363 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d306015-f4f4-4604-a59b-92c4940a3c9d 2026-05-20 14:34:48,372 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/559a5415-6c8a-420c-b7a4-34eb566661b2 2026-05-20 14:34:48,379 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-20 14:34:48,379 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1e710a3-8547-4e51-b024-60e91fb5b1fe 2026-05-20 14:34:48,390 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d306015-f4f4-4604-a59b-92c4940a3c9d 2026-05-20 14:34:48,407 - INFO - Verified VN network id 12 for VN a1e710a3-8547-4e51-b024-60e91fb5b1fe 2026-05-20 14:34:48,407 - INFO - Verifications in API Server for VN ctest-vn-40169667 passed 2026-05-20 14:34:48,407 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1e710a3-8547-4e51-b024-60e91fb5b1fe 2026-05-20 14:34:48,420 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d306015-f4f4-4604-a59b-92c4940a3c9d 2026-05-20 14:34:48,428 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d306015-f4f4-4604-a59b-92c4940a3c9d 2026-05-20 14:34:48,439 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/559a5415-6c8a-420c-b7a4-34eb566661b2 2026-05-20 14:34:48,454 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-40169667', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04106410', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11666311654228315729', 'uuid-lslong': '12692376204212548094'}, 'enable': 'true', 'created': '2026-05-20T14:34:45', 'last-modified': '2026-05-20T14:34:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.483300'} 2026-05-20 14:34:48,460 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-20 14:34:48,460 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40169667 passed 2026-05-20 14:34:48,460 - DEBUG - ====Verifying policy data for ctest-vn-40169667 in API_Server ====== 2026-05-20 14:34:48,460 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 14:34:48,468 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69153c15-03f5-4428-b130-bd33acb6977f 2026-05-20 14:34:48,482 - DEBUG - Requesting: http://10.0.0.50:8082/project/1d00a60a-072d-4d54-bc95-1cd7ee5b1149 2026-05-20 14:34:48,563 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1e710a3-8547-4e51-b024-60e91fb5b1fe 2026-05-20 14:34:48,574 - DEBUG - ==>Verifying data for policy with id: 783ff7ef-4af6-4e54-9023-9ef9d0c617ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-04106410', 'ctest-policy-allow-all-38689887'] 2026-05-20 14:34:48,574 - INFO - VN ctest-vn-40169667 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-20 14:34:48,574 - DEBUG - Verifying the vn in opserver 2026-05-20 14:34:48,574 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-40169667 virtual network link through opserver 10.0.0.50 2026-05-20 14:34:48,574 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-20 14:34:48,585 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-40169667', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-40169667?flat'} 2026-05-20 14:34:48,585 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-40169667 is found in opserver 2026-05-20 14:34:48,598 - DEBUG - Do not have enough data to verify VN in agent 2026-05-20 14:34:48,603 - DEBUG - VRF ids for VN ctest-vn-40169667: {} 2026-05-20 14:34:48,670 - DEBUG - Services list from nova: [, , ] 2026-05-20 14:34:49,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5802-1) 2026-05-20 14:34:51,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5802-1) 2026-05-20 14:34:51,117 - INFO - Waiting for VM ctest-TestBasicPolicy-04106410-02757858 to be up.. 2026-05-20 14:34:51,217 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-20 14:34:56,339 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:34:56,339 - INFO - VM name : ctest-TestBasicPolicy-04106410-02757858 2026-05-20 14:34:56,466 - DEBUG - VM ctest-TestBasicPolicy-04106410-02757858 ID is 0b729319-b7dd-417e-a694-8f0394c8a179 2026-05-20 14:34:56,491 - DEBUG - VM ctest-TestBasicPolicy-04106410-02757858 launched on Node cn-jenkins-deploy-platform-ansible-os-5802-1 2026-05-20 14:34:56,595 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0b729319-b7dd-417e-a694-8f0394c8a179 2026-05-20 14:34:56,604 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b48c770f-7c1b-49fb-a288-b5a7a42360a5 2026-05-20 14:34:59,869 - 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 1017ms') 2026-05-20 14:34:59,869 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04106410-02757858 failed! 2026-05-20 14:34:59,926 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04106410:ctest-vn-59180698 is 136.120.67.1 and allocation pool is NOT set 2026-05-20 14:35:01,989 - 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=8.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.76 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 = 3.758/6.055/8.353/2.297 ms') 2026-05-20 14:35:01,989 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04106410-02757858 passed 2026-05-20 14:35:02,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:35:02,150 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04106410-02757858, IP 136.120.67.3, Port 22 2026-05-20 14:35:02,325 - DEBUG - VM ctest-TestBasicPolicy-04106410-02757858 is ready for SSH connections 2026-05-20 14:35:02,325 - INFO - Waiting for VM ctest-TestBasicPolicy-04106410-09331890 to be up.. 2026-05-20 14:35:02,434 - DEBUG - VM is in ACTIVE state now 2026-05-20 14:35:02,434 - INFO - VM name : ctest-TestBasicPolicy-04106410-09331890 2026-05-20 14:35:02,530 - DEBUG - VM ctest-TestBasicPolicy-04106410-09331890 ID is 934a2e04-c938-4672-b59e-023064c5a3c5 2026-05-20 14:35:02,531 - DEBUG - VM ctest-TestBasicPolicy-04106410-09331890 launched on Node cn-jenkins-deploy-platform-ansible-os-5802-1 2026-05-20 14:35:02,632 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/934a2e04-c938-4672-b59e-023064c5a3c5 2026-05-20 14:35:02,645 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9c644fb9-8ad6-488c-9efc-3a0ad9636bb9 2026-05-20 14:35:03,910 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.496/1.916/3.337/1.420 ms') 2026-05-20 14:35:03,910 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04106410-09331890 passed 2026-05-20 14:35:04,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:35:04,074 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04106410-09331890, IP 64.147.176.195, Port 22 2026-05-20 14:35:04,144 - 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-05-20 14:35:04,245 - DEBUG - VM ctest-TestBasicPolicy-04106410-09331890 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-20 14:35:09,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:35:09,246 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04106410-09331890, IP 64.147.176.195, Port 22 2026-05-20 14:35:09,406 - DEBUG - VM ctest-TestBasicPolicy-04106410-09331890 is ready for SSH connections 2026-05-20 14:35:09,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:35:09,406 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.147.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-20 14:35:09,406 - DEBUG - ping -s 56 -c 3 -W 1 64.147.176.195 2026-05-20 14:35:13,549 - DEBUG - PING 64.147.176.195 (64.147.176.195): 56 data bytes 64 bytes from 64.147.176.195: seq=0 ttl=63 time=3.562 ms 64 bytes from 64.147.176.195: seq=1 ttl=63 time=1.074 ms 64 bytes from 64.147.176.195: seq=2 ttl=63 time=1.232 ms --- 64.147.176.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.074/1.956/3.562 ms 2026-05-20 14:35:13,549 - INFO - Ping to IP 64.147.176.195 from VM ctest-TestBasicPolicy-04106410-02757858 passed 2026-05-20 14:35:13,738 - DEBUG - Policy Update Response {"network-policy": {"uuid": "783ff7ef-4af6-4e54-9023-9ef9d0c617ba", "href": "http://10.0.0.50:8082/network-policy/783ff7ef-4af6-4e54-9023-9ef9d0c617ba"}} 2026-05-20 14:35:13,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-20 14:35:13,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.147.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-20 14:35:13,738 - DEBUG - ping -s 56 -c 3 -W 1 64.147.176.195 2026-05-20 14:35:16,975 - DEBUG - PING 64.147.176.195 (64.147.176.195): 56 data bytes --- 64.147.176.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-20 14:35:16,975 - WARNING - Ping to IP 64.147.176.195 from VM ctest-TestBasicPolicy-04106410-02757858 failed 2026-05-20 14:35:16,975 - INFO - Deleting VM ctest-TestBasicPolicy-04106410-09331890 2026-05-20 14:35:17,062 - INFO - Deleting VM ctest-TestBasicPolicy-04106410-02757858 2026-05-20 14:35:17,479 - INFO - Deleted policy ctest-policy-allow-all-38689887 2026-05-20 14:35:17,479 - INFO - Deleting VN ctest-vn-40169667 2026-05-20 14:35:17,544 - DEBUG - VN a1e710a3-8547-4e51-b024-60e91fb5b1fe still in use: Unable to complete operation on network a1e710a3-8547-4e51-b024-60e91fb5b1fe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-082fb194-cbd8-4dbe-886b-87c362a0373b'] 2026-05-20 14:35:17,544 - WARNING - Deleting VN ctest-vn-40169667 failed..Will retry 2026-05-20 14:35:19,673 - DEBUG - Response for deleting network () 2026-05-20 14:35:19,673 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d306015-f4f4-4604-a59b-92c4940a3c9d 2026-05-20 14:35:19,680 - DEBUG - Response Code: 404 2026-05-20 14:35:19,680 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 14:35:19,688 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69153c15-03f5-4428-b130-bd33acb6977f 2026-05-20 14:35:19,745 - DEBUG - Requesting: http://10.0.0.50:8082/project/1d00a60a-072d-4d54-bc95-1cd7ee5b1149 2026-05-20 14:35:19,824 - INFO - Validated that VN ctest-vn-40169667 is not found in API Server 2026-05-20 14:35:19,834 - DEBUG - VN ctest-vn-40169667 is not present in Agent 10.0.0.50 2026-05-20 14:35:19,834 - INFO - Validated that VN ctest-vn-40169667 is not in any agent 2026-05-20 14:35:19,849 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40169667 info 2026-05-20 14:35:19,850 - INFO - Deleting VN ctest-vn-59180698 2026-05-20 14:35:19,971 - DEBUG - Response for deleting network () 2026-05-20 14:35:19,971 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/55cf746f-a53f-40c5-b893-dd815dd5aa89 2026-05-20 14:35:19,977 - DEBUG - Response Code: 404 2026-05-20 14:35:19,977 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-20 14:35:19,983 - DEBUG - Requesting: http://10.0.0.50:8082/domain/69153c15-03f5-4428-b130-bd33acb6977f 2026-05-20 14:35:20,035 - DEBUG - Requesting: http://10.0.0.50:8082/project/1d00a60a-072d-4d54-bc95-1cd7ee5b1149 2026-05-20 14:35:20,109 - INFO - Validated that VN ctest-vn-59180698 is not found in API Server 2026-05-20 14:35:20,121 - DEBUG - VN ctest-vn-59180698 is not present in Agent 10.0.0.50 2026-05-20 14:35:20,121 - INFO - Validated that VN ctest-vn-59180698 is not in any agent 2026-05-20 14:35:20,142 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59180698 info 2026-05-20 14:35:20,405 - DEBUG - No XMPP flaps were noticed during the test 2026-05-20 14:35:20,405 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-05-20 14:35:20,405 - INFO - -------------------------------------------------------------------------------- 2026-05-20 14:35:21,136 - INFO - Deleted project: ctest-TestBasicPolicy-04106410, ID : 1d00a60a-072d-4d54-bc95-1cd7ee5b1149