2026-06-19 17:29:00,281 - INFO - Domain Default found not creating 2026-06-19 17:29:00,424 - INFO - Project ctest-TestBasicPolicy-06837613 not found, creating it 2026-06-19 17:29:00,888 - INFO - Created Project:ctest-TestBasicPolicy-06837613, ID : 0768557a-c928-4b08-8fdc-0e2ec6ce9dd0 2026-06-19 17:29:02,562 - INFO - ================================================================================ 2026-06-19 17:29:02,562 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-19 17:29:02,563 - 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-06-19 17:29:02,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2026-06-19 17:29:02,821 - INFO - Initial checks done. Running the testcase now 2026-06-19 17:29:02,822 - INFO - 2026-06-19 17:29:03,425 - DEBUG - Response for create_network : {'network': {'id': '4978ace2-a070-445d-940d-ae72e313fac6', 'name': 'ctest-vn-11099634', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-vn-11099634'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 17:29:03,636 - DEBUG - Response for create_subnet : {'subnet': {'id': 'feddc35c-528f-4bae-a6a2-688762d791b7', 'name': '', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'network_id': '4978ace2-a070-445d-940d-ae72e313fac6', 'ip_version': 4, 'cidr': '15.108.74.128/26', 'allocation_pools': [{'start': '15.108.74.130', 'end': '15.108.74.190'}], 'gateway_ip': '15.108.74.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.108.74.130', 'tags': [], 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0'}} 2026-06-19 17:29:03,652 - INFO - Created VN ctest-vn-11099634 2026-06-19 17:29:03,704 - DEBUG - VN ctest-vn-11099634 UUID is 4978ace2-a070-445d-940d-ae72e313fac6 2026-06-19 17:29:04,023 - DEBUG - Response for create_network : {'network': {'id': 'd4ce01bb-07ba-4ebd-aab4-3b0768514177', 'name': 'ctest-vn-88831053', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-vn-88831053'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 17:29:04,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '161bd6cd-cb90-430b-883e-1eeafcb16295', 'name': '', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'network_id': 'd4ce01bb-07ba-4ebd-aab4-3b0768514177', 'ip_version': 4, 'cidr': '93.113.13.128/26', 'allocation_pools': [{'start': '93.113.13.130', 'end': '93.113.13.190'}], 'gateway_ip': '93.113.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.113.13.130', 'tags': [], 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0'}} 2026-06-19 17:29:04,256 - INFO - Created VN ctest-vn-88831053 2026-06-19 17:29:04,307 - DEBUG - VN ctest-vn-88831053 UUID is d4ce01bb-07ba-4ebd-aab4-3b0768514177 2026-06-19 17:29:04,447 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634, 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-06837613:ctest-vn-88831053, 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-06-19 17:29:04,727 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4978ace2-a070-445d-940d-ae72e313fac6', 'name': 'ctest-vn-11099634', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['feddc35c-528f-4bae-a6a2-688762d791b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-vn-11099634'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-policy-allow-all-19009403']], 'subnet_ipam': [{'subnet_cidr': '15.108.74.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 17:29:04,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4ce01bb-07ba-4ebd-aab4-3b0768514177', 'name': 'ctest-vn-88831053', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['161bd6cd-cb90-430b-883e-1eeafcb16295'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-vn-88831053'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-policy-allow-all-19009403']], 'subnet_ipam': [{'subnet_cidr': '93.113.13.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 17:29:05,108 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 17:29:05,470 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 17:29:05,499 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d754428f-4522-465f-aea6-66cab492d664 2026-06-19 17:29:05,510 - DEBUG - Requesting: http://10.0.0.19:8082/project/0768557a-c928-4b08-8fdc-0e2ec6ce9dd0 2026-06-19 17:29:05,586 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4978ace2-a070-445d-940d-ae72e313fac6 2026-06-19 17:29:05,598 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4978ace2-a070-445d-940d-ae72e313fac6 2026-06-19 17:29:05,606 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c 2026-06-19 17:29:05,612 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c 2026-06-19 17:29:05,620 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3ab0a0f8-19ff-4b9f-9601-aa8a9acca50f 2026-06-19 17:29:05,627 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 17:29:05,627 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4978ace2-a070-445d-940d-ae72e313fac6 2026-06-19 17:29:05,637 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c 2026-06-19 17:29:05,649 - INFO - Verified VN network id 11 for VN 4978ace2-a070-445d-940d-ae72e313fac6 2026-06-19 17:29:05,649 - INFO - Verifications in API Server for VN ctest-vn-11099634 passed 2026-06-19 17:29:05,649 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4978ace2-a070-445d-940d-ae72e313fac6 2026-06-19 17:29:05,657 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c 2026-06-19 17:29:05,663 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c 2026-06-19 17:29:05,669 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3ab0a0f8-19ff-4b9f-9601-aa8a9acca50f 2026-06-19 17:29:05,679 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06837613', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5294171451328316509', 'uuid-lslong': '10668374900769815238'}, 'enable': 'true', 'created': '2026-06-19T17:29:03', 'last-modified': '2026-06-19T17:29:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974273'} 2026-06-19 17:29:05,684 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 17:29:05,684 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11099634 passed 2026-06-19 17:29:05,685 - DEBUG - ====Verifying policy data for ctest-vn-11099634 in API_Server ====== 2026-06-19 17:29:05,685 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 17:29:05,689 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d754428f-4522-465f-aea6-66cab492d664 2026-06-19 17:29:05,698 - DEBUG - Requesting: http://10.0.0.19:8082/project/0768557a-c928-4b08-8fdc-0e2ec6ce9dd0 2026-06-19 17:29:05,775 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4978ace2-a070-445d-940d-ae72e313fac6 2026-06-19 17:29:05,784 - DEBUG - ==>Verifying data for policy with id: 8363d496-3052-44ce-b226-b2370a97a63d, fqn: ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-policy-allow-all-19009403'] 2026-06-19 17:29:05,784 - INFO - VN ctest-vn-11099634 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 17:29:05,784 - DEBUG - Verifying the vn in opserver 2026-06-19 17:29:05,784 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634 virtual network link through opserver 10.0.0.19 2026-06-19 17:29:05,784 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 17:29:06,147 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 17:29:06,195 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634?flat'} 2026-06-19 17:29:06,195 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634 is found in opserver 2026-06-19 17:29:06,203 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 17:29:06,207 - DEBUG - VRF ids for VN ctest-vn-11099634: {} 2026-06-19 17:29:06,207 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 17:29:06,212 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d754428f-4522-465f-aea6-66cab492d664 2026-06-19 17:29:06,221 - DEBUG - Requesting: http://10.0.0.19:8082/project/0768557a-c928-4b08-8fdc-0e2ec6ce9dd0 2026-06-19 17:29:06,289 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d4ce01bb-07ba-4ebd-aab4-3b0768514177 2026-06-19 17:29:06,301 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d4ce01bb-07ba-4ebd-aab4-3b0768514177 2026-06-19 17:29:06,310 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571 2026-06-19 17:29:06,317 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571 2026-06-19 17:29:06,324 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/acb3d5dd-0e77-4bd6-8f14-fb0120a0e8eb 2026-06-19 17:29:06,330 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 17:29:06,330 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d4ce01bb-07ba-4ebd-aab4-3b0768514177 2026-06-19 17:29:06,339 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571 2026-06-19 17:29:06,353 - INFO - Verified VN network id 12 for VN d4ce01bb-07ba-4ebd-aab4-3b0768514177 2026-06-19 17:29:06,353 - INFO - Verifications in API Server for VN ctest-vn-88831053 passed 2026-06-19 17:29:06,353 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d4ce01bb-07ba-4ebd-aab4-3b0768514177 2026-06-19 17:29:06,362 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571 2026-06-19 17:29:06,367 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571 2026-06-19 17:29:06,372 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/acb3d5dd-0e77-4bd6-8f14-fb0120a0e8eb 2026-06-19 17:29:06,382 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-88831053', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06837613', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15334195684043280061', 'uuid-lslong': '12300521385256632695'}, 'enable': 'true', 'created': '2026-06-19T17:29:03', 'last-modified': '2026-06-19T17:29:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.455937'} 2026-06-19 17:29:06,387 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 17:29:06,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88831053 passed 2026-06-19 17:29:06,387 - DEBUG - ====Verifying policy data for ctest-vn-88831053 in API_Server ====== 2026-06-19 17:29:06,387 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 17:29:06,392 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d754428f-4522-465f-aea6-66cab492d664 2026-06-19 17:29:06,403 - DEBUG - Requesting: http://10.0.0.19:8082/project/0768557a-c928-4b08-8fdc-0e2ec6ce9dd0 2026-06-19 17:29:06,471 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d4ce01bb-07ba-4ebd-aab4-3b0768514177 2026-06-19 17:29:06,480 - DEBUG - ==>Verifying data for policy with id: 8363d496-3052-44ce-b226-b2370a97a63d, fqn: ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-policy-allow-all-19009403'] 2026-06-19 17:29:06,480 - INFO - VN ctest-vn-88831053 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 17:29:06,480 - DEBUG - Verifying the vn in opserver 2026-06-19 17:29:06,480 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-88831053 virtual network link through opserver 10.0.0.19 2026-06-19 17:29:06,480 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 17:29:06,488 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-88831053', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-88831053?flat'} 2026-06-19 17:29:06,488 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-88831053 is found in opserver 2026-06-19 17:29:06,496 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 17:29:06,500 - DEBUG - VRF ids for VN ctest-vn-88831053: {} 2026-06-19 17:29:06,551 - DEBUG - Services list from nova: [, , ] 2026-06-19 17:29:07,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5998-1) 2026-06-19 17:29:08,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5998-1) 2026-06-19 17:29:08,954 - INFO - Waiting for VM ctest-TestBasicPolicy-06837613-99435962 to be up.. 2026-06-19 17:29:08,998 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 17:29:14,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 17:29:19,212 - DEBUG - VM is in ACTIVE state now 2026-06-19 17:29:19,212 - INFO - VM name : ctest-TestBasicPolicy-06837613-99435962 2026-06-19 17:29:19,285 - DEBUG - VM ctest-TestBasicPolicy-06837613-99435962 ID is 6b28eb40-afe3-49a7-974a-d73704ee3ca5 2026-06-19 17:29:19,302 - DEBUG - VM ctest-TestBasicPolicy-06837613-99435962 launched on Node cn-jenkins-deploy-platform-ansible-os-5998-1 2026-06-19 17:29:19,370 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6b28eb40-afe3-49a7-974a-d73704ee3ca5 2026-06-19 17:29:19,381 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e76139be-8e6b-4b15-ba6f-153e714f2dd6 2026-06-19 17:29:22,655 - 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 1034ms') 2026-06-19 17:29:22,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06837613-99435962 failed! 2026-06-19 17:29:22,712 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634 is 15.108.74.129 and allocation pool is NOT set 2026-06-19 17:29:24,773 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.373 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 = 0.373/5.367/10.361/4.994 ms') 2026-06-19 17:29:24,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06837613-99435962 passed 2026-06-19 17:29:24,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 17:29:24,920 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06837613-99435962, IP 15.108.74.131, Port 22 2026-06-19 17:29:25,075 - DEBUG - VM ctest-TestBasicPolicy-06837613-99435962 is ready for SSH connections 2026-06-19 17:29:25,075 - INFO - Waiting for VM ctest-TestBasicPolicy-06837613-95001946 to be up.. 2026-06-19 17:29:25,152 - DEBUG - VM is in ACTIVE state now 2026-06-19 17:29:25,152 - INFO - VM name : ctest-TestBasicPolicy-06837613-95001946 2026-06-19 17:29:25,232 - DEBUG - VM ctest-TestBasicPolicy-06837613-95001946 ID is 457b43cb-aae6-4e3c-8734-d83d85bf06b0 2026-06-19 17:29:25,233 - DEBUG - VM ctest-TestBasicPolicy-06837613-95001946 launched on Node cn-jenkins-deploy-platform-ansible-os-5998-1 2026-06-19 17:29:25,309 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/457b43cb-aae6-4e3c-8734-d83d85bf06b0 2026-06-19 17:29:25,316 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/4049a40f-a358-4ad5-b64f-7d3ad2672bfe 2026-06-19 17:29:26,547 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.595 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.595/2.235/3.875/1.640 ms') 2026-06-19 17:29:26,547 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06837613-95001946 passed 2026-06-19 17:29:26,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 17:29:26,696 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06837613-95001946, IP 93.113.13.131, Port 22 2026-06-19 17:29:26,766 - 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-06-19 17:29:26,840 - DEBUG - VM ctest-TestBasicPolicy-06837613-95001946 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 17:29:31,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 17:29:31,841 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06837613-95001946, IP 93.113.13.131, Port 22 2026-06-19 17:29:32,013 - DEBUG - VM ctest-TestBasicPolicy-06837613-95001946 is ready for SSH connections 2026-06-19 17:29:32,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 17:29:32,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.113.13.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-19 17:29:32,013 - DEBUG - ping -s 56 -c 3 -W 1 93.113.13.131 2026-06-19 17:29:35,927 - DEBUG - PING 93.113.13.131 (93.113.13.131): 56 data bytes 64 bytes from 93.113.13.131: seq=0 ttl=63 time=3.613 ms 64 bytes from 93.113.13.131: seq=1 ttl=63 time=0.916 ms 64 bytes from 93.113.13.131: seq=2 ttl=63 time=1.070 ms --- 93.113.13.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/1.866/3.613 ms 2026-06-19 17:29:35,928 - INFO - Ping to IP 93.113.13.131 from VM ctest-TestBasicPolicy-06837613-99435962 passed 2026-06-19 17:29:36,099 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8363d496-3052-44ce-b226-b2370a97a63d", "href": "http://10.0.0.19:8082/network-policy/8363d496-3052-44ce-b226-b2370a97a63d"}} 2026-06-19 17:29:36,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 17:29:36,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.113.13.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-19 17:29:36,100 - DEBUG - ping -s 56 -c 3 -W 1 93.113.13.131 2026-06-19 17:29:39,217 - DEBUG - PING 93.113.13.131 (93.113.13.131): 56 data bytes --- 93.113.13.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-19 17:29:39,218 - WARNING - Ping to IP 93.113.13.131 from VM ctest-TestBasicPolicy-06837613-99435962 failed 2026-06-19 17:29:39,218 - INFO - Deleting VM ctest-TestBasicPolicy-06837613-95001946 2026-06-19 17:29:39,285 - INFO - Deleting VM ctest-TestBasicPolicy-06837613-99435962 2026-06-19 17:29:39,610 - INFO - Deleted policy ctest-policy-allow-all-19009403 2026-06-19 17:29:39,610 - INFO - Deleting VN ctest-vn-88831053 2026-06-19 17:29:39,640 - DEBUG - VN d4ce01bb-07ba-4ebd-aab4-3b0768514177 still in use: Unable to complete operation on network d4ce01bb-07ba-4ebd-aab4-3b0768514177. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08230a31-504c-48f7-af8d-549ef775e9b8'] 2026-06-19 17:29:39,641 - WARNING - Deleting VN ctest-vn-88831053 failed..Will retry 2026-06-19 17:29:41,735 - DEBUG - Response for deleting network () 2026-06-19 17:29:41,735 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571 2026-06-19 17:29:41,740 - DEBUG - Response Code: 404 2026-06-19 17:29:41,740 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 17:29:41,744 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d754428f-4522-465f-aea6-66cab492d664 2026-06-19 17:29:41,797 - DEBUG - Requesting: http://10.0.0.19:8082/project/0768557a-c928-4b08-8fdc-0e2ec6ce9dd0 2026-06-19 17:29:41,864 - INFO - Validated that VN ctest-vn-88831053 is not found in API Server 2026-06-19 17:29:41,873 - DEBUG - VN ctest-vn-88831053 is not present in Agent 10.0.0.19 2026-06-19 17:29:41,873 - INFO - Validated that VN ctest-vn-88831053 is not in any agent 2026-06-19 17:29:41,886 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88831053 info 2026-06-19 17:29:41,887 - INFO - Deleting VN ctest-vn-11099634 2026-06-19 17:29:41,976 - DEBUG - Response for deleting network () 2026-06-19 17:29:41,976 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c 2026-06-19 17:29:41,981 - DEBUG - Response Code: 404 2026-06-19 17:29:41,983 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 17:29:41,989 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d754428f-4522-465f-aea6-66cab492d664 2026-06-19 17:29:42,040 - DEBUG - Requesting: http://10.0.0.19:8082/project/0768557a-c928-4b08-8fdc-0e2ec6ce9dd0 2026-06-19 17:29:42,110 - INFO - Validated that VN ctest-vn-11099634 is not found in API Server 2026-06-19 17:29:42,119 - DEBUG - VN ctest-vn-11099634 is not present in Agent 10.0.0.19 2026-06-19 17:29:42,119 - INFO - Validated that VN ctest-vn-11099634 is not in any agent 2026-06-19 17:29:42,131 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11099634 info 2026-06-19 17:29:42,384 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 17:29:42,384 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-06-19 17:29:42,384 - INFO - -------------------------------------------------------------------------------- 2026-06-19 17:29:43,095 - INFO - Deleted project: ctest-TestBasicPolicy-06837613, ID : 0768557a-c928-4b08-8fdc-0e2ec6ce9dd0