2026-02-02 12:56:38,328 - INFO - Domain Default found not creating 2026-02-02 12:56:38,510 - INFO - Project ctest-TestBasicPolicy-01901593 not found, creating it 2026-02-02 12:56:39,000 - INFO - Created Project:ctest-TestBasicPolicy-01901593, ID : 4d819de7-f8da-4ca9-a111-4346fe35b44a 2026-02-02 12:56:40,620 - INFO - ================================================================================ 2026-02-02 12:56:40,621 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 12:56:40,621 - 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-02-02 12:56:40,881 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2026-02-02 12:56:40,881 - INFO - Initial checks done. Running the testcase now 2026-02-02 12:56:40,881 - INFO - 2026-02-02 12:56:41,470 - DEBUG - Response for create_network : {'network': {'id': 'e6de392d-651f-42bf-8774-9f5149f19aa8', 'name': 'ctest-vn-09556153', 'tenant_id': '4d819de7f8da4ca9a1114346fe35b44a', 'project_id': '4d819de7f8da4ca9a1114346fe35b44a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01901593', 'ctest-vn-09556153'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 12:56:41,654 - DEBUG - Response for create_subnet : {'subnet': {'id': '87cbccf8-0e33-4ca8-b71a-c7e4f202141e', 'name': '', 'tenant_id': '4d819de7f8da4ca9a1114346fe35b44a', 'network_id': 'e6de392d-651f-42bf-8774-9f5149f19aa8', 'ip_version': 4, 'cidr': '206.157.198.192/26', 'allocation_pools': [{'start': '206.157.198.194', 'end': '206.157.198.254'}], 'gateway_ip': '206.157.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.157.198.194', 'tags': [], 'project_id': '4d819de7f8da4ca9a1114346fe35b44a'}} 2026-02-02 12:56:41,673 - INFO - Created VN ctest-vn-09556153 2026-02-02 12:56:41,727 - DEBUG - VN ctest-vn-09556153 UUID is e6de392d-651f-42bf-8774-9f5149f19aa8 2026-02-02 12:56:42,025 - DEBUG - Response for create_network : {'network': {'id': '99553a4d-267c-4da4-bc6a-12b8e561b848', 'name': 'ctest-vn-25177851', 'tenant_id': '4d819de7f8da4ca9a1114346fe35b44a', 'project_id': '4d819de7f8da4ca9a1114346fe35b44a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01901593', 'ctest-vn-25177851'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 12:56:42,267 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bdc7acc-9d00-477e-81b8-6fd1b1406554', 'name': '', 'tenant_id': '4d819de7f8da4ca9a1114346fe35b44a', 'network_id': '99553a4d-267c-4da4-bc6a-12b8e561b848', 'ip_version': 4, 'cidr': '74.11.185.0/26', 'allocation_pools': [{'start': '74.11.185.2', 'end': '74.11.185.62'}], 'gateway_ip': '74.11.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.11.185.2', 'tags': [], 'project_id': '4d819de7f8da4ca9a1114346fe35b44a'}} 2026-02-02 12:56:42,287 - INFO - Created VN ctest-vn-25177851 2026-02-02 12:56:42,339 - DEBUG - VN ctest-vn-25177851 UUID is 99553a4d-267c-4da4-bc6a-12b8e561b848 2026-02-02 12:56:42,457 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-09556153, 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-01901593:ctest-vn-25177851, 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-02-02 12:56:42,759 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e6de392d-651f-42bf-8774-9f5149f19aa8', 'name': 'ctest-vn-09556153', 'tenant_id': '4d819de7f8da4ca9a1114346fe35b44a', 'project_id': '4d819de7f8da4ca9a1114346fe35b44a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87cbccf8-0e33-4ca8-b71a-c7e4f202141e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01901593', 'ctest-vn-09556153'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01901593', 'ctest-policy-allow-all-13905439']], 'subnet_ipam': [{'subnet_cidr': '206.157.198.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 12:56:42,999 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99553a4d-267c-4da4-bc6a-12b8e561b848', 'name': 'ctest-vn-25177851', 'tenant_id': '4d819de7f8da4ca9a1114346fe35b44a', 'project_id': '4d819de7f8da4ca9a1114346fe35b44a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9bdc7acc-9d00-477e-81b8-6fd1b1406554'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01901593', 'ctest-vn-25177851'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01901593', 'ctest-policy-allow-all-13905439']], 'subnet_ipam': [{'subnet_cidr': '74.11.185.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 12:56:43,175 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 12:56:43,479 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 12:56:43,513 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e8660c38-585c-4d05-9c60-2599c1ad8ea8 2026-02-02 12:56:43,525 - DEBUG - Requesting: http://10.0.0.129:8082/project/4d819de7-f8da-4ca9-a111-4346fe35b44a 2026-02-02 12:56:43,607 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/e6de392d-651f-42bf-8774-9f5149f19aa8 2026-02-02 12:56:43,621 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/e6de392d-651f-42bf-8774-9f5149f19aa8 2026-02-02 12:56:43,633 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9f7da088-03f7-467f-9187-daee4a7e6c66 2026-02-02 12:56:43,642 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9f7da088-03f7-467f-9187-daee4a7e6c66 2026-02-02 12:56:43,651 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/45ce927d-8a12-4572-9420-3ddd0a32a899 2026-02-02 12:56:43,661 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 12:56:43,661 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/e6de392d-651f-42bf-8774-9f5149f19aa8 2026-02-02 12:56:43,677 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9f7da088-03f7-467f-9187-daee4a7e6c66 2026-02-02 12:56:43,695 - INFO - Verified VN network id 10 for VN e6de392d-651f-42bf-8774-9f5149f19aa8 2026-02-02 12:56:43,696 - INFO - Verifications in API Server for VN ctest-vn-09556153 passed 2026-02-02 12:56:43,696 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/e6de392d-651f-42bf-8774-9f5149f19aa8 2026-02-02 12:56:43,710 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9f7da088-03f7-467f-9187-daee4a7e6c66 2026-02-02 12:56:43,718 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9f7da088-03f7-467f-9187-daee4a7e6c66 2026-02-02 12:56:43,726 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/45ce927d-8a12-4572-9420-3ddd0a32a899 2026-02-02 12:56:43,738 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-09556153', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01901593', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16635796940686049983', 'uuid-lslong': '9760601463900445352'}, 'enable': 'true', 'created': '2026-02-02T12:56:41', 'last-modified': '2026-02-02T12:56:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005336'} 2026-02-02 12:56:43,745 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 12:56:43,745 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09556153 passed 2026-02-02 12:56:43,745 - DEBUG - ====Verifying policy data for ctest-vn-09556153 in API_Server ====== 2026-02-02 12:56:43,745 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 12:56:43,751 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e8660c38-585c-4d05-9c60-2599c1ad8ea8 2026-02-02 12:56:43,762 - DEBUG - Requesting: http://10.0.0.129:8082/project/4d819de7-f8da-4ca9-a111-4346fe35b44a 2026-02-02 12:56:43,840 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/e6de392d-651f-42bf-8774-9f5149f19aa8 2026-02-02 12:56:43,856 - DEBUG - ==>Verifying data for policy with id: c0ec44f4-928a-4598-9f65-8972aff93770, fqn: ['default-domain', 'ctest-TestBasicPolicy-01901593', 'ctest-policy-allow-all-13905439'] 2026-02-02 12:56:43,856 - INFO - VN ctest-vn-09556153 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 12:56:43,856 - DEBUG - Verifying the vn in opserver 2026-02-02 12:56:43,857 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-09556153 virtual network link through opserver 10.0.0.129 2026-02-02 12:56:43,857 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-02 12:56:44,157 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-02 12:56:44,225 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-09556153', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-09556153?flat'} 2026-02-02 12:56:44,225 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-09556153 is found in opserver 2026-02-02 12:56:44,235 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 12:56:44,240 - DEBUG - VRF ids for VN ctest-vn-09556153: {} 2026-02-02 12:56:44,240 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 12:56:44,246 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e8660c38-585c-4d05-9c60-2599c1ad8ea8 2026-02-02 12:56:44,257 - DEBUG - Requesting: http://10.0.0.129:8082/project/4d819de7-f8da-4ca9-a111-4346fe35b44a 2026-02-02 12:56:44,336 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/99553a4d-267c-4da4-bc6a-12b8e561b848 2026-02-02 12:56:44,349 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/99553a4d-267c-4da4-bc6a-12b8e561b848 2026-02-02 12:56:44,359 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3e2f9464-b0f3-4f40-a009-1aedf03d3400 2026-02-02 12:56:44,368 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3e2f9464-b0f3-4f40-a009-1aedf03d3400 2026-02-02 12:56:44,375 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/6a92164d-147e-40c9-9f3a-e40d1957a80a 2026-02-02 12:56:44,384 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 12:56:44,384 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/99553a4d-267c-4da4-bc6a-12b8e561b848 2026-02-02 12:56:44,395 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3e2f9464-b0f3-4f40-a009-1aedf03d3400 2026-02-02 12:56:44,413 - INFO - Verified VN network id 11 for VN 99553a4d-267c-4da4-bc6a-12b8e561b848 2026-02-02 12:56:44,413 - INFO - Verifications in API Server for VN ctest-vn-25177851 passed 2026-02-02 12:56:44,413 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/99553a4d-267c-4da4-bc6a-12b8e561b848 2026-02-02 12:56:44,425 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3e2f9464-b0f3-4f40-a009-1aedf03d3400 2026-02-02 12:56:44,434 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3e2f9464-b0f3-4f40-a009-1aedf03d3400 2026-02-02 12:56:44,443 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/6a92164d-147e-40c9-9f3a-e40d1957a80a 2026-02-02 12:56:44,458 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-25177851', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01901593', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11048801363855953316', 'uuid-lslong': '13576684611993450568'}, 'enable': 'true', 'created': '2026-02-02T12:56:41', 'last-modified': '2026-02-02T12:56:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.485340'} 2026-02-02 12:56:44,465 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 12:56:44,465 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25177851 passed 2026-02-02 12:56:44,465 - DEBUG - ====Verifying policy data for ctest-vn-25177851 in API_Server ====== 2026-02-02 12:56:44,465 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 12:56:44,472 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e8660c38-585c-4d05-9c60-2599c1ad8ea8 2026-02-02 12:56:44,483 - DEBUG - Requesting: http://10.0.0.129:8082/project/4d819de7-f8da-4ca9-a111-4346fe35b44a 2026-02-02 12:56:44,560 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/99553a4d-267c-4da4-bc6a-12b8e561b848 2026-02-02 12:56:44,570 - DEBUG - ==>Verifying data for policy with id: c0ec44f4-928a-4598-9f65-8972aff93770, fqn: ['default-domain', 'ctest-TestBasicPolicy-01901593', 'ctest-policy-allow-all-13905439'] 2026-02-02 12:56:44,570 - INFO - VN ctest-vn-25177851 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 12:56:44,571 - DEBUG - Verifying the vn in opserver 2026-02-02 12:56:44,571 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-25177851 virtual network link through opserver 10.0.0.129 2026-02-02 12:56:44,571 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-02 12:56:44,581 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-25177851', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-25177851?flat'} 2026-02-02 12:56:44,581 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-25177851 is found in opserver 2026-02-02 12:56:44,591 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 12:56:44,596 - DEBUG - VRF ids for VN ctest-vn-25177851: {} 2026-02-02 12:56:44,660 - DEBUG - Services list from nova: [, , ] 2026-02-02 12:56:45,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5172-1) 2026-02-02 12:56:46,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5172-1) 2026-02-02 12:56:46,972 - INFO - Waiting for VM ctest-TestBasicPolicy-01901593-64666055 to be up.. 2026-02-02 12:56:47,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 12:56:52,160 - DEBUG - VM is in ACTIVE state now 2026-02-02 12:56:52,160 - INFO - VM name : ctest-TestBasicPolicy-01901593-64666055 2026-02-02 12:56:52,246 - DEBUG - VM ctest-TestBasicPolicy-01901593-64666055 ID is e1a3ca3c-8684-480f-bec6-a8c3cdb8d7a1 2026-02-02 12:56:52,270 - DEBUG - VM ctest-TestBasicPolicy-01901593-64666055 launched on Node cn-jenkins-deploy-platform-ansible-os-5172-1 2026-02-02 12:56:52,357 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/e1a3ca3c-8684-480f-bec6-a8c3cdb8d7a1 2026-02-02 12:56:52,366 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/753c545c-097e-4816-823e-a4725873465e 2026-02-02 12:56:55,607 - 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 1002ms') 2026-02-02 12:56:55,608 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01901593-64666055 failed! 2026-02-02 12:56:55,663 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01901593:ctest-vn-09556153 is 206.157.198.193 and allocation pool is NOT set 2026-02-02 12:56:57,727 - 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.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.59 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 = 2.594/6.446/10.299/3.852 ms') 2026-02-02 12:56:57,728 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01901593-64666055 passed 2026-02-02 12:56:57,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 12:56:57,880 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01901593-64666055, IP 206.157.198.195, Port 22 2026-02-02 12:56:58,039 - DEBUG - VM ctest-TestBasicPolicy-01901593-64666055 is ready for SSH connections 2026-02-02 12:56:58,039 - INFO - Waiting for VM ctest-TestBasicPolicy-01901593-22388647 to be up.. 2026-02-02 12:56:58,122 - DEBUG - VM is in ACTIVE state now 2026-02-02 12:56:58,123 - INFO - VM name : ctest-TestBasicPolicy-01901593-22388647 2026-02-02 12:56:58,218 - DEBUG - VM ctest-TestBasicPolicy-01901593-22388647 ID is 735c381e-58aa-4475-825f-688a12a2ac46 2026-02-02 12:56:58,218 - DEBUG - VM ctest-TestBasicPolicy-01901593-22388647 launched on Node cn-jenkins-deploy-platform-ansible-os-5172-1 2026-02-02 12:56:58,304 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/735c381e-58aa-4475-825f-688a12a2ac46 2026-02-02 12:56:58,313 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1065757d-0d8f-43d5-8444-7fe827b4c047 2026-02-02 12:56:59,554 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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.282/2.907/4.533/1.625 ms') 2026-02-02 12:56:59,554 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01901593-22388647 passed 2026-02-02 12:56:59,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 12:56:59,712 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01901593-22388647, IP 74.11.185.3, Port 22 2026-02-02 12:56:59,777 - 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-02-02 12:56:59,869 - DEBUG - VM ctest-TestBasicPolicy-01901593-22388647 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 12:57:04,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 12:57:04,870 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01901593-22388647, IP 74.11.185.3, Port 22 2026-02-02 12:57:05,041 - DEBUG - VM ctest-TestBasicPolicy-01901593-22388647 is ready for SSH connections 2026-02-02 12:57:05,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 12:57:05,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.11.185.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-02 12:57:05,041 - DEBUG - ping -s 56 -c 3 -W 1 74.11.185.3 2026-02-02 12:57:09,155 - DEBUG - PING 74.11.185.3 (74.11.185.3): 56 data bytes 64 bytes from 74.11.185.3: seq=0 ttl=63 time=4.453 ms 64 bytes from 74.11.185.3: seq=1 ttl=63 time=0.942 ms 64 bytes from 74.11.185.3: seq=2 ttl=63 time=2.058 ms --- 74.11.185.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/2.484/4.453 ms 2026-02-02 12:57:09,155 - INFO - Ping to IP 74.11.185.3 from VM ctest-TestBasicPolicy-01901593-64666055 passed 2026-02-02 12:57:09,347 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c0ec44f4-928a-4598-9f65-8972aff93770", "href": "http://10.0.0.129:8082/network-policy/c0ec44f4-928a-4598-9f65-8972aff93770"}} 2026-02-02 12:57:09,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 12:57:09,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.11.185.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-02 12:57:09,347 - DEBUG - ping -s 56 -c 3 -W 1 74.11.185.3 2026-02-02 12:57:12,606 - DEBUG - PING 74.11.185.3 (74.11.185.3): 56 data bytes --- 74.11.185.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 12:57:12,606 - WARNING - Ping to IP 74.11.185.3 from VM ctest-TestBasicPolicy-01901593-64666055 failed 2026-02-02 12:57:12,606 - INFO - Deleting VM ctest-TestBasicPolicy-01901593-22388647 2026-02-02 12:57:12,691 - INFO - Deleting VM ctest-TestBasicPolicy-01901593-64666055 2026-02-02 12:57:13,105 - INFO - Deleted policy ctest-policy-allow-all-13905439 2026-02-02 12:57:13,105 - INFO - Deleting VN ctest-vn-25177851 2026-02-02 12:57:13,152 - DEBUG - VN 99553a4d-267c-4da4-bc6a-12b8e561b848 still in use: Unable to complete operation on network 99553a4d-267c-4da4-bc6a-12b8e561b848. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ce1807c-cdcc-44c9-9ca0-a68d19a96f2c'] 2026-02-02 12:57:13,152 - WARNING - Deleting VN ctest-vn-25177851 failed..Will retry 2026-02-02 12:57:15,263 - DEBUG - Response for deleting network () 2026-02-02 12:57:15,263 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3e2f9464-b0f3-4f40-a009-1aedf03d3400 2026-02-02 12:57:15,276 - DEBUG - Response Code: 404 2026-02-02 12:57:15,276 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 12:57:15,283 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e8660c38-585c-4d05-9c60-2599c1ad8ea8 2026-02-02 12:57:15,336 - DEBUG - Requesting: http://10.0.0.129:8082/project/4d819de7-f8da-4ca9-a111-4346fe35b44a 2026-02-02 12:57:15,407 - INFO - Validated that VN ctest-vn-25177851 is not found in API Server 2026-02-02 12:57:15,418 - DEBUG - VN ctest-vn-25177851 is not present in Agent 10.0.0.129 2026-02-02 12:57:15,418 - INFO - Validated that VN ctest-vn-25177851 is not in any agent 2026-02-02 12:57:15,434 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25177851 info 2026-02-02 12:57:15,434 - INFO - Deleting VN ctest-vn-09556153 2026-02-02 12:57:15,540 - DEBUG - Response for deleting network () 2026-02-02 12:57:15,540 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/9f7da088-03f7-467f-9187-daee4a7e6c66 2026-02-02 12:57:15,548 - DEBUG - Response Code: 404 2026-02-02 12:57:15,548 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 12:57:15,554 - DEBUG - Requesting: http://10.0.0.129:8082/domain/e8660c38-585c-4d05-9c60-2599c1ad8ea8 2026-02-02 12:57:15,608 - DEBUG - Requesting: http://10.0.0.129:8082/project/4d819de7-f8da-4ca9-a111-4346fe35b44a 2026-02-02 12:57:15,682 - INFO - Validated that VN ctest-vn-09556153 is not found in API Server 2026-02-02 12:57:15,691 - DEBUG - VN ctest-vn-09556153 is not present in Agent 10.0.0.129 2026-02-02 12:57:15,691 - INFO - Validated that VN ctest-vn-09556153 is not in any agent 2026-02-02 12:57:15,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09556153 info 2026-02-02 12:57:15,975 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 12:57:15,975 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-02 12:57:15,975 - INFO - -------------------------------------------------------------------------------- 2026-02-02 12:57:16,691 - INFO - Deleted project: ctest-TestBasicPolicy-01901593, ID : 4d819de7-f8da-4ca9-a111-4346fe35b44a