2025-08-28 18:40:24,119 - INFO - Domain Default found not creating 2025-08-28 18:40:24,309 - INFO - Project ctest-TestBasicPolicy-96060668 not found, creating it 2025-08-28 18:40:24,795 - INFO - Created Project:ctest-TestBasicPolicy-96060668, ID : 5beaaf29-ae2e-4a98-8f52-2439254c19be 2025-08-28 18:40:26,372 - INFO - ================================================================================ 2025-08-28 18:40:26,373 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-28 18:40:26,373 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-08-28 18:40:26,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-28 18:40:26,636 - INFO - Initial checks done. Running the testcase now 2025-08-28 18:40:26,636 - INFO - 2025-08-28 18:40:27,259 - DEBUG - Response for create_network : {'network': {'id': '3232f989-9482-407f-9e3b-c700f18de0ce', 'name': 'ctest-vn-49047248', 'tenant_id': '5beaaf29ae2e4a988f522439254c19be', 'project_id': '5beaaf29ae2e4a988f522439254c19be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96060668', 'ctest-vn-49047248'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 18:40:27,474 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6b6f8ac-09b6-478a-a096-4d50b93c5729', 'name': '', 'tenant_id': '5beaaf29ae2e4a988f522439254c19be', 'network_id': '3232f989-9482-407f-9e3b-c700f18de0ce', 'ip_version': 4, 'cidr': '132.38.228.0/26', 'allocation_pools': [{'start': '132.38.228.2', 'end': '132.38.228.62'}], 'gateway_ip': '132.38.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.38.228.2', 'tags': [], 'project_id': '5beaaf29ae2e4a988f522439254c19be'}} 2025-08-28 18:40:27,497 - INFO - Created VN ctest-vn-49047248 2025-08-28 18:40:27,549 - DEBUG - VN ctest-vn-49047248 UUID is 3232f989-9482-407f-9e3b-c700f18de0ce 2025-08-28 18:40:27,874 - DEBUG - Response for create_network : {'network': {'id': '847dec56-5274-4bb9-b89f-5844f9b7c3b1', 'name': 'ctest-vn-62418409', 'tenant_id': '5beaaf29ae2e4a988f522439254c19be', 'project_id': '5beaaf29ae2e4a988f522439254c19be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96060668', 'ctest-vn-62418409'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 18:40:28,049 - DEBUG - Response for create_subnet : {'subnet': {'id': '57c30b7a-3fda-46ce-9f63-ef0f300005c2', 'name': '', 'tenant_id': '5beaaf29ae2e4a988f522439254c19be', 'network_id': '847dec56-5274-4bb9-b89f-5844f9b7c3b1', 'ip_version': 4, 'cidr': '55.183.5.0/26', 'allocation_pools': [{'start': '55.183.5.2', 'end': '55.183.5.62'}], 'gateway_ip': '55.183.5.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.183.5.2', 'tags': [], 'project_id': '5beaaf29ae2e4a988f522439254c19be'}} 2025-08-28 18:40:28,069 - INFO - Created VN ctest-vn-62418409 2025-08-28 18:40:28,125 - DEBUG - VN ctest-vn-62418409 UUID is 847dec56-5274-4bb9-b89f-5844f9b7c3b1 2025-08-28 18:40:28,251 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-49047248, 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-96060668:ctest-vn-62418409, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-08-28 18:40:28,556 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3232f989-9482-407f-9e3b-c700f18de0ce', 'name': 'ctest-vn-49047248', 'tenant_id': '5beaaf29ae2e4a988f522439254c19be', 'project_id': '5beaaf29ae2e4a988f522439254c19be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6b6f8ac-09b6-478a-a096-4d50b93c5729'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96060668', 'ctest-vn-49047248'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96060668', 'ctest-policy-allow-all-20329421']], 'subnet_ipam': [{'subnet_cidr': '132.38.228.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 18:40:28,797 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '847dec56-5274-4bb9-b89f-5844f9b7c3b1', 'name': 'ctest-vn-62418409', 'tenant_id': '5beaaf29ae2e4a988f522439254c19be', 'project_id': '5beaaf29ae2e4a988f522439254c19be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57c30b7a-3fda-46ce-9f63-ef0f300005c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96060668', 'ctest-vn-62418409'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96060668', 'ctest-policy-allow-all-20329421']], 'subnet_ipam': [{'subnet_cidr': '55.183.5.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 18:40:28,993 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-28 18:40:29,294 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-28 18:40:29,325 - DEBUG - Requesting: http://10.0.0.254:8082/domain/eb4e0600-9558-4345-8dba-38d7c5747ae8 2025-08-28 18:40:29,337 - DEBUG - Requesting: http://10.0.0.254:8082/project/5beaaf29-ae2e-4a98-8f52-2439254c19be 2025-08-28 18:40:29,416 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3232f989-9482-407f-9e3b-c700f18de0ce 2025-08-28 18:40:29,427 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3232f989-9482-407f-9e3b-c700f18de0ce 2025-08-28 18:40:29,437 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/34b95a68-fbad-440a-91fd-cb898164d931 2025-08-28 18:40:29,444 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/34b95a68-fbad-440a-91fd-cb898164d931 2025-08-28 18:40:29,452 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5820a2cc-469b-4741-b0b5-3cc6b9f56fff 2025-08-28 18:40:29,459 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 18:40:29,459 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3232f989-9482-407f-9e3b-c700f18de0ce 2025-08-28 18:40:29,468 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/34b95a68-fbad-440a-91fd-cb898164d931 2025-08-28 18:40:29,483 - INFO - Verified VN network id 11 for VN 3232f989-9482-407f-9e3b-c700f18de0ce 2025-08-28 18:40:29,483 - INFO - Verifications in API Server for VN ctest-vn-49047248 passed 2025-08-28 18:40:29,483 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3232f989-9482-407f-9e3b-c700f18de0ce 2025-08-28 18:40:29,493 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/34b95a68-fbad-440a-91fd-cb898164d931 2025-08-28 18:40:29,500 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/34b95a68-fbad-440a-91fd-cb898164d931 2025-08-28 18:40:29,507 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5820a2cc-469b-4741-b0b5-3cc6b9f56fff 2025-08-28 18:40:29,520 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-49047248', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96060668', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3617227820029329535', 'uuid-lslong': '11401925688485077198'}, 'enable': 'true', 'created': '2025-08-28T18:40:27', 'last-modified': '2025-08-28T18:40:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981533'} 2025-08-28 18:40:29,526 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 18:40:29,526 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49047248 passed 2025-08-28 18:40:29,526 - DEBUG - ====Verifying policy data for ctest-vn-49047248 in API_Server ====== 2025-08-28 18:40:29,526 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-28 18:40:29,533 - DEBUG - Requesting: http://10.0.0.254:8082/domain/eb4e0600-9558-4345-8dba-38d7c5747ae8 2025-08-28 18:40:29,544 - DEBUG - Requesting: http://10.0.0.254:8082/project/5beaaf29-ae2e-4a98-8f52-2439254c19be 2025-08-28 18:40:29,614 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3232f989-9482-407f-9e3b-c700f18de0ce 2025-08-28 18:40:29,625 - DEBUG - ==>Verifying data for policy with id: 850d05af-2a4a-471c-b539-93566d8bcca2, fqn: ['default-domain', 'ctest-TestBasicPolicy-96060668', 'ctest-policy-allow-all-20329421'] 2025-08-28 18:40:29,625 - INFO - VN ctest-vn-49047248 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 18:40:29,625 - DEBUG - Verifying the vn in opserver 2025-08-28 18:40:29,625 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-49047248 virtual network link through opserver 10.0.0.254 2025-08-28 18:40:29,625 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-28 18:40:29,929 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-28 18:40:29,994 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-49047248', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-49047248?flat'} 2025-08-28 18:40:29,994 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-49047248 is found in opserver 2025-08-28 18:40:30,004 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 18:40:30,008 - DEBUG - VRF ids for VN ctest-vn-49047248: {} 2025-08-28 18:40:30,008 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-28 18:40:30,014 - DEBUG - Requesting: http://10.0.0.254:8082/domain/eb4e0600-9558-4345-8dba-38d7c5747ae8 2025-08-28 18:40:30,027 - DEBUG - Requesting: http://10.0.0.254:8082/project/5beaaf29-ae2e-4a98-8f52-2439254c19be 2025-08-28 18:40:30,100 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/847dec56-5274-4bb9-b89f-5844f9b7c3b1 2025-08-28 18:40:30,111 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/847dec56-5274-4bb9-b89f-5844f9b7c3b1 2025-08-28 18:40:30,124 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7b71db5-6b94-4936-97a1-a75c62b3b3a3 2025-08-28 18:40:30,131 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7b71db5-6b94-4936-97a1-a75c62b3b3a3 2025-08-28 18:40:30,139 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/795f3b0f-2da7-4c5e-bbda-d72ef53a3c39 2025-08-28 18:40:30,148 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 18:40:30,148 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/847dec56-5274-4bb9-b89f-5844f9b7c3b1 2025-08-28 18:40:30,160 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7b71db5-6b94-4936-97a1-a75c62b3b3a3 2025-08-28 18:40:30,176 - INFO - Verified VN network id 12 for VN 847dec56-5274-4bb9-b89f-5844f9b7c3b1 2025-08-28 18:40:30,177 - INFO - Verifications in API Server for VN ctest-vn-62418409 passed 2025-08-28 18:40:30,177 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/847dec56-5274-4bb9-b89f-5844f9b7c3b1 2025-08-28 18:40:30,188 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7b71db5-6b94-4936-97a1-a75c62b3b3a3 2025-08-28 18:40:30,197 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7b71db5-6b94-4936-97a1-a75c62b3b3a3 2025-08-28 18:40:30,205 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/795f3b0f-2da7-4c5e-bbda-d72ef53a3c39 2025-08-28 18:40:30,217 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-62418409', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96060668', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9547046640590015417', 'uuid-lslong': '13303448877546324913'}, 'enable': 'true', 'created': '2025-08-28T18:40:27', 'last-modified': '2025-08-28T18:40:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.445414'} 2025-08-28 18:40:30,223 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 18:40:30,224 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62418409 passed 2025-08-28 18:40:30,224 - DEBUG - ====Verifying policy data for ctest-vn-62418409 in API_Server ====== 2025-08-28 18:40:30,224 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-28 18:40:30,230 - DEBUG - Requesting: http://10.0.0.254:8082/domain/eb4e0600-9558-4345-8dba-38d7c5747ae8 2025-08-28 18:40:30,243 - DEBUG - Requesting: http://10.0.0.254:8082/project/5beaaf29-ae2e-4a98-8f52-2439254c19be 2025-08-28 18:40:30,310 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/847dec56-5274-4bb9-b89f-5844f9b7c3b1 2025-08-28 18:40:30,320 - DEBUG - ==>Verifying data for policy with id: 850d05af-2a4a-471c-b539-93566d8bcca2, fqn: ['default-domain', 'ctest-TestBasicPolicy-96060668', 'ctest-policy-allow-all-20329421'] 2025-08-28 18:40:30,320 - INFO - VN ctest-vn-62418409 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 18:40:30,320 - DEBUG - Verifying the vn in opserver 2025-08-28 18:40:30,320 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-62418409 virtual network link through opserver 10.0.0.254 2025-08-28 18:40:30,320 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-28 18:40:30,331 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-62418409', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-62418409?flat'} 2025-08-28 18:40:30,331 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-62418409 is found in opserver 2025-08-28 18:40:30,341 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 18:40:30,345 - DEBUG - VRF ids for VN ctest-vn-62418409: {} 2025-08-28 18:40:30,408 - DEBUG - Services list from nova: [, , ] 2025-08-28 18:40:31,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3965-1) 2025-08-28 18:40:32,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3965-1) 2025-08-28 18:40:32,700 - INFO - Waiting for VM ctest-TestBasicPolicy-96060668-33055410 to be up.. 2025-08-28 18:40:32,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 18:40:37,867 - DEBUG - VM is in ACTIVE state now 2025-08-28 18:40:37,867 - INFO - VM name : ctest-TestBasicPolicy-96060668-33055410 2025-08-28 18:40:37,949 - DEBUG - VM ctest-TestBasicPolicy-96060668-33055410 ID is 74a449b3-11f2-4e32-b7c1-185f4b4fdfdc 2025-08-28 18:40:37,972 - DEBUG - VM ctest-TestBasicPolicy-96060668-33055410 launched on Node cn-jenkins-deploy-platform-ansible-os-3965-1 2025-08-28 18:40:38,050 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/74a449b3-11f2-4e32-b7c1-185f4b4fdfdc 2025-08-28 18:40:38,058 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/652d81ff-80a9-478e-8d91-6d67e8af12f5 2025-08-28 18:40:41,330 - 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 1030ms') 2025-08-28 18:40:41,331 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96060668-33055410 failed! 2025-08-28 18:40:41,385 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96060668:ctest-vn-49047248 is 132.38.228.1 and allocation pool is NOT set 2025-08-28 18:40:43,452 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.520 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.520/4.119/7.718/3.599 ms') 2025-08-28 18:40:43,452 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96060668-33055410 passed 2025-08-28 18:40:43,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:40:43,610 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96060668-33055410, IP 132.38.228.3, Port 22 2025-08-28 18:40:43,776 - DEBUG - VM ctest-TestBasicPolicy-96060668-33055410 is ready for SSH connections 2025-08-28 18:40:43,776 - INFO - Waiting for VM ctest-TestBasicPolicy-96060668-93116781 to be up.. 2025-08-28 18:40:43,872 - DEBUG - VM is in ACTIVE state now 2025-08-28 18:40:43,872 - INFO - VM name : ctest-TestBasicPolicy-96060668-93116781 2025-08-28 18:40:44,071 - DEBUG - VM ctest-TestBasicPolicy-96060668-93116781 ID is 4cd6bab6-10cd-495a-80cd-e11be505a213 2025-08-28 18:40:44,071 - DEBUG - VM ctest-TestBasicPolicy-96060668-93116781 launched on Node cn-jenkins-deploy-platform-ansible-os-3965-1 2025-08-28 18:40:44,150 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4cd6bab6-10cd-495a-80cd-e11be505a213 2025-08-28 18:40:44,161 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/43d7c8ab-a939-4c70-bf12-4db7ed80f957 2025-08-28 18:40:45,404 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/1.782/3.043/1.261 ms') 2025-08-28 18:40:45,405 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96060668-93116781 passed 2025-08-28 18:40:45,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:40:45,557 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96060668-93116781, IP 55.183.5.3, Port 22 2025-08-28 18:40:45,724 - DEBUG - VM ctest-TestBasicPolicy-96060668-93116781 is ready for SSH connections 2025-08-28 18:40:45,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:40:45,724 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.183.5.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 18:40:45,724 - DEBUG - ping -s 56 -c 3 -W 1 55.183.5.3 2025-08-28 18:40:49,804 - DEBUG - PING 55.183.5.3 (55.183.5.3): 56 data bytes 64 bytes from 55.183.5.3: seq=0 ttl=63 time=4.669 ms 64 bytes from 55.183.5.3: seq=1 ttl=63 time=0.973 ms 64 bytes from 55.183.5.3: seq=2 ttl=63 time=1.048 ms --- 55.183.5.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.973/2.230/4.669 ms 2025-08-28 18:40:49,804 - INFO - Ping to IP 55.183.5.3 from VM ctest-TestBasicPolicy-96060668-33055410 passed 2025-08-28 18:40:49,985 - DEBUG - Policy Update Response {"network-policy": {"uuid": "850d05af-2a4a-471c-b539-93566d8bcca2", "href": "http://10.0.0.254:8082/network-policy/850d05af-2a4a-471c-b539-93566d8bcca2"}} 2025-08-28 18:40:49,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:40:49,986 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.183.5.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 18:40:49,986 - DEBUG - ping -s 56 -c 3 -W 1 55.183.5.3 2025-08-28 18:40:53,198 - DEBUG - PING 55.183.5.3 (55.183.5.3): 56 data bytes --- 55.183.5.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 18:40:53,199 - WARNING - Ping to IP 55.183.5.3 from VM ctest-TestBasicPolicy-96060668-33055410 failed 2025-08-28 18:40:53,199 - INFO - Deleting VM ctest-TestBasicPolicy-96060668-93116781 2025-08-28 18:40:53,269 - INFO - Deleting VM ctest-TestBasicPolicy-96060668-33055410 2025-08-28 18:40:53,650 - INFO - Deleted policy ctest-policy-allow-all-20329421 2025-08-28 18:40:53,651 - INFO - Deleting VN ctest-vn-62418409 2025-08-28 18:40:53,686 - DEBUG - VN 847dec56-5274-4bb9-b89f-5844f9b7c3b1 still in use: Unable to complete operation on network 847dec56-5274-4bb9-b89f-5844f9b7c3b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d50a0d33-9b54-406c-9c54-4f5c2291aa87'] 2025-08-28 18:40:53,686 - WARNING - Deleting VN ctest-vn-62418409 failed..Will retry 2025-08-28 18:40:55,803 - DEBUG - Response for deleting network () 2025-08-28 18:40:55,803 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7b71db5-6b94-4936-97a1-a75c62b3b3a3 2025-08-28 18:40:55,811 - DEBUG - Response Code: 404 2025-08-28 18:40:55,812 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-28 18:40:55,818 - DEBUG - Requesting: http://10.0.0.254:8082/domain/eb4e0600-9558-4345-8dba-38d7c5747ae8 2025-08-28 18:40:55,871 - DEBUG - Requesting: http://10.0.0.254:8082/project/5beaaf29-ae2e-4a98-8f52-2439254c19be 2025-08-28 18:40:55,940 - INFO - Validated that VN ctest-vn-62418409 is not found in API Server 2025-08-28 18:40:55,949 - DEBUG - VN ctest-vn-62418409 is not present in Agent 10.0.0.254 2025-08-28 18:40:55,950 - INFO - Validated that VN ctest-vn-62418409 is not in any agent 2025-08-28 18:40:55,965 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62418409 info 2025-08-28 18:40:55,965 - INFO - Deleting VN ctest-vn-49047248 2025-08-28 18:40:56,078 - DEBUG - Response for deleting network () 2025-08-28 18:40:56,079 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/34b95a68-fbad-440a-91fd-cb898164d931 2025-08-28 18:40:56,084 - DEBUG - Response Code: 404 2025-08-28 18:40:56,084 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-28 18:40:56,092 - DEBUG - Requesting: http://10.0.0.254:8082/domain/eb4e0600-9558-4345-8dba-38d7c5747ae8 2025-08-28 18:40:56,146 - DEBUG - Requesting: http://10.0.0.254:8082/project/5beaaf29-ae2e-4a98-8f52-2439254c19be 2025-08-28 18:40:56,217 - INFO - Validated that VN ctest-vn-49047248 is not found in API Server 2025-08-28 18:40:56,227 - DEBUG - VN ctest-vn-49047248 is not present in Agent 10.0.0.254 2025-08-28 18:40:56,227 - INFO - Validated that VN ctest-vn-49047248 is not in any agent 2025-08-28 18:40:56,244 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49047248 info 2025-08-28 18:40:56,508 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 18:40:56,508 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-28 18:40:56,508 - INFO - -------------------------------------------------------------------------------- 2025-08-28 18:40:57,227 - INFO - Deleted project: ctest-TestBasicPolicy-96060668, ID : 5beaaf29-ae2e-4a98-8f52-2439254c19be