2025-11-05 17:10:39,783 - INFO - Domain Default found not creating 2025-11-05 17:10:39,921 - INFO - Project ctest-TestBasicPolicy-52326472 not found, creating it 2025-11-05 17:10:40,356 - INFO - Created Project:ctest-TestBasicPolicy-52326472, ID : f6def4b5-d419-41f8-84c6-e7b6e32a31c8 2025-11-05 17:10:41,783 - INFO - ================================================================================ 2025-11-05 17:10:41,784 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 17:10:41,784 - 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-11-05 17:10:42,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2025-11-05 17:10:42,043 - INFO - Initial checks done. Running the testcase now 2025-11-05 17:10:42,043 - INFO - 2025-11-05 17:10:42,571 - DEBUG - Response for create_network : {'network': {'id': '925e3829-d43b-4350-9a74-6dd81f49b37a', 'name': 'ctest-vn-63453543', 'tenant_id': 'f6def4b5d41941f884c6e7b6e32a31c8', 'project_id': 'f6def4b5d41941f884c6e7b6e32a31c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52326472', 'ctest-vn-63453543'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 17:10:42,758 - DEBUG - Response for create_subnet : {'subnet': {'id': '347de28f-2a5d-4bdc-861f-e6410e2f90c2', 'name': '', 'tenant_id': 'f6def4b5d41941f884c6e7b6e32a31c8', 'network_id': '925e3829-d43b-4350-9a74-6dd81f49b37a', 'ip_version': 4, 'cidr': '209.108.176.64/26', 'allocation_pools': [{'start': '209.108.176.66', 'end': '209.108.176.126'}], 'gateway_ip': '209.108.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.108.176.66', 'tags': [], 'project_id': 'f6def4b5d41941f884c6e7b6e32a31c8'}} 2025-11-05 17:10:42,777 - INFO - Created VN ctest-vn-63453543 2025-11-05 17:10:42,828 - DEBUG - VN ctest-vn-63453543 UUID is 925e3829-d43b-4350-9a74-6dd81f49b37a 2025-11-05 17:10:43,129 - DEBUG - Response for create_network : {'network': {'id': 'a9225b69-ebb3-4991-8081-d47889b03615', 'name': 'ctest-vn-95903221', 'tenant_id': 'f6def4b5d41941f884c6e7b6e32a31c8', 'project_id': 'f6def4b5d41941f884c6e7b6e32a31c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52326472', 'ctest-vn-95903221'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 17:10:43,314 - DEBUG - Response for create_subnet : {'subnet': {'id': '858fc295-d7cf-4ffb-94c2-754185ada681', 'name': '', 'tenant_id': 'f6def4b5d41941f884c6e7b6e32a31c8', 'network_id': 'a9225b69-ebb3-4991-8081-d47889b03615', 'ip_version': 4, 'cidr': '117.108.25.64/26', 'allocation_pools': [{'start': '117.108.25.66', 'end': '117.108.25.126'}], 'gateway_ip': '117.108.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.108.25.66', 'tags': [], 'project_id': 'f6def4b5d41941f884c6e7b6e32a31c8'}} 2025-11-05 17:10:43,336 - INFO - Created VN ctest-vn-95903221 2025-11-05 17:10:43,388 - DEBUG - VN ctest-vn-95903221 UUID is a9225b69-ebb3-4991-8081-d47889b03615 2025-11-05 17:10:43,508 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-63453543, 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-52326472:ctest-vn-95903221, 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-11-05 17:10:43,815 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '925e3829-d43b-4350-9a74-6dd81f49b37a', 'name': 'ctest-vn-63453543', 'tenant_id': 'f6def4b5d41941f884c6e7b6e32a31c8', 'project_id': 'f6def4b5d41941f884c6e7b6e32a31c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['347de28f-2a5d-4bdc-861f-e6410e2f90c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52326472', 'ctest-vn-63453543'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52326472', 'ctest-policy-allow-all-07965327']], 'subnet_ipam': [{'subnet_cidr': '209.108.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 17:10:44,091 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9225b69-ebb3-4991-8081-d47889b03615', 'name': 'ctest-vn-95903221', 'tenant_id': 'f6def4b5d41941f884c6e7b6e32a31c8', 'project_id': 'f6def4b5d41941f884c6e7b6e32a31c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['858fc295-d7cf-4ffb-94c2-754185ada681'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52326472', 'ctest-vn-95903221'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52326472', 'ctest-policy-allow-all-07965327']], 'subnet_ipam': [{'subnet_cidr': '117.108.25.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 17:10:44,256 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 17:10:44,546 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 17:10:44,581 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f949f6e3-268e-4fd4-a19d-51f2e7b15998 2025-11-05 17:10:44,596 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6def4b5-d419-41f8-84c6-e7b6e32a31c8 2025-11-05 17:10:44,672 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/925e3829-d43b-4350-9a74-6dd81f49b37a 2025-11-05 17:10:44,684 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/925e3829-d43b-4350-9a74-6dd81f49b37a 2025-11-05 17:10:44,695 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f78c957c-f65c-40a5-bb30-1baffbc1994b 2025-11-05 17:10:44,704 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f78c957c-f65c-40a5-bb30-1baffbc1994b 2025-11-05 17:10:44,713 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/badc4ad7-cdd9-404d-9899-8f9822301b96 2025-11-05 17:10:44,720 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 17:10:44,720 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/925e3829-d43b-4350-9a74-6dd81f49b37a 2025-11-05 17:10:44,731 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f78c957c-f65c-40a5-bb30-1baffbc1994b 2025-11-05 17:10:44,749 - INFO - Verified VN network id 11 for VN 925e3829-d43b-4350-9a74-6dd81f49b37a 2025-11-05 17:10:44,749 - INFO - Verifications in API Server for VN ctest-vn-63453543 passed 2025-11-05 17:10:44,749 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/925e3829-d43b-4350-9a74-6dd81f49b37a 2025-11-05 17:10:44,760 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f78c957c-f65c-40a5-bb30-1baffbc1994b 2025-11-05 17:10:44,769 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f78c957c-f65c-40a5-bb30-1baffbc1994b 2025-11-05 17:10:44,777 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/badc4ad7-cdd9-404d-9899-8f9822301b96 2025-11-05 17:10:44,790 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-63453543', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52326472', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10546929129653748560', 'uuid-lslong': '11129641354144625530'}, 'enable': 'true', 'created': '2025-11-05T17:10:42', 'last-modified': '2025-11-05T17:10:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005056'} 2025-11-05 17:10:44,796 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 17:10:44,796 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63453543 passed 2025-11-05 17:10:44,796 - DEBUG - ====Verifying policy data for ctest-vn-63453543 in API_Server ====== 2025-11-05 17:10:44,796 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 17:10:44,802 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f949f6e3-268e-4fd4-a19d-51f2e7b15998 2025-11-05 17:10:44,816 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6def4b5-d419-41f8-84c6-e7b6e32a31c8 2025-11-05 17:10:44,894 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/925e3829-d43b-4350-9a74-6dd81f49b37a 2025-11-05 17:10:44,905 - DEBUG - ==>Verifying data for policy with id: b268bd0a-6ca6-48fa-a3da-c12a739d6ccb, fqn: ['default-domain', 'ctest-TestBasicPolicy-52326472', 'ctest-policy-allow-all-07965327'] 2025-11-05 17:10:44,905 - INFO - VN ctest-vn-63453543 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 17:10:44,905 - DEBUG - Verifying the vn in opserver 2025-11-05 17:10:44,905 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-63453543 virtual network link through opserver 10.0.0.242 2025-11-05 17:10:44,906 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-05 17:10:45,213 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-05 17:10:45,283 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-63453543', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-63453543?flat'} 2025-11-05 17:10:45,283 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-63453543 is found in opserver 2025-11-05 17:10:45,294 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 17:10:45,299 - DEBUG - VRF ids for VN ctest-vn-63453543: {} 2025-11-05 17:10:45,299 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 17:10:45,305 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f949f6e3-268e-4fd4-a19d-51f2e7b15998 2025-11-05 17:10:45,315 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6def4b5-d419-41f8-84c6-e7b6e32a31c8 2025-11-05 17:10:45,387 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a9225b69-ebb3-4991-8081-d47889b03615 2025-11-05 17:10:45,399 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a9225b69-ebb3-4991-8081-d47889b03615 2025-11-05 17:10:45,408 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b8f47ba0-87da-4ccb-b4e1-5460b541a849 2025-11-05 17:10:45,415 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b8f47ba0-87da-4ccb-b4e1-5460b541a849 2025-11-05 17:10:45,422 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/11a21639-303b-40d0-928f-0fbef632d660 2025-11-05 17:10:45,428 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 17:10:45,428 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a9225b69-ebb3-4991-8081-d47889b03615 2025-11-05 17:10:45,437 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b8f47ba0-87da-4ccb-b4e1-5460b541a849 2025-11-05 17:10:45,449 - INFO - Verified VN network id 12 for VN a9225b69-ebb3-4991-8081-d47889b03615 2025-11-05 17:10:45,449 - INFO - Verifications in API Server for VN ctest-vn-95903221 passed 2025-11-05 17:10:45,449 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a9225b69-ebb3-4991-8081-d47889b03615 2025-11-05 17:10:45,459 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b8f47ba0-87da-4ccb-b4e1-5460b541a849 2025-11-05 17:10:45,466 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b8f47ba0-87da-4ccb-b4e1-5460b541a849 2025-11-05 17:10:45,473 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/11a21639-303b-40d0-928f-0fbef632d660 2025-11-05 17:10:45,483 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-95903221', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52326472', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12187404052102072721', 'uuid-lslong': '9259915923021641237'}, 'enable': 'true', 'created': '2025-11-05T17:10:43', 'last-modified': '2025-11-05T17:10:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.464790'} 2025-11-05 17:10:45,491 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 17:10:45,491 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95903221 passed 2025-11-05 17:10:45,491 - DEBUG - ====Verifying policy data for ctest-vn-95903221 in API_Server ====== 2025-11-05 17:10:45,491 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 17:10:45,496 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f949f6e3-268e-4fd4-a19d-51f2e7b15998 2025-11-05 17:10:45,506 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6def4b5-d419-41f8-84c6-e7b6e32a31c8 2025-11-05 17:10:45,576 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a9225b69-ebb3-4991-8081-d47889b03615 2025-11-05 17:10:45,584 - DEBUG - ==>Verifying data for policy with id: b268bd0a-6ca6-48fa-a3da-c12a739d6ccb, fqn: ['default-domain', 'ctest-TestBasicPolicy-52326472', 'ctest-policy-allow-all-07965327'] 2025-11-05 17:10:45,584 - INFO - VN ctest-vn-95903221 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 17:10:45,584 - DEBUG - Verifying the vn in opserver 2025-11-05 17:10:45,584 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-95903221 virtual network link through opserver 10.0.0.242 2025-11-05 17:10:45,584 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-05 17:10:45,593 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-95903221', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-95903221?flat'} 2025-11-05 17:10:45,593 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-95903221 is found in opserver 2025-11-05 17:10:45,603 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 17:10:45,608 - DEBUG - VRF ids for VN ctest-vn-95903221: {} 2025-11-05 17:10:45,665 - DEBUG - Services list from nova: [, , ] 2025-11-05 17:10:46,658 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4651-1) 2025-11-05 17:10:47,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4651-1) 2025-11-05 17:10:47,785 - INFO - Waiting for VM ctest-TestBasicPolicy-52326472-78528882 to be up.. 2025-11-05 17:10:47,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 17:10:52,936 - DEBUG - VM is in ACTIVE state now 2025-11-05 17:10:52,936 - INFO - VM name : ctest-TestBasicPolicy-52326472-78528882 2025-11-05 17:10:53,005 - DEBUG - VM ctest-TestBasicPolicy-52326472-78528882 ID is ca1d6093-c8e5-4247-9a97-f08d15a7f530 2025-11-05 17:10:53,023 - DEBUG - VM ctest-TestBasicPolicy-52326472-78528882 launched on Node cn-jenkins-deploy-platform-ansible-os-4651-1 2025-11-05 17:10:53,091 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ca1d6093-c8e5-4247-9a97-f08d15a7f530 2025-11-05 17:10:53,099 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/154b5202-546f-4da6-b140-6c3d48ff3251 2025-11-05 17:10:56,348 - 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') 2025-11-05 17:10:56,348 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52326472-78528882 failed! 2025-11-05 17:10:56,404 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52326472:ctest-vn-63453543 is 209.108.176.65 and allocation pool is NOT set 2025-11-05 17:10:58,473 - 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=9.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.802 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.802/5.062/9.323/4.260 ms') 2025-11-05 17:10:58,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52326472-78528882 passed 2025-11-05 17:10:58,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:10:58,624 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52326472-78528882, IP 209.108.176.67, Port 22 2025-11-05 17:10:58,779 - DEBUG - VM ctest-TestBasicPolicy-52326472-78528882 is ready for SSH connections 2025-11-05 17:10:58,779 - INFO - Waiting for VM ctest-TestBasicPolicy-52326472-54596445 to be up.. 2025-11-05 17:10:58,850 - DEBUG - VM is in ACTIVE state now 2025-11-05 17:10:58,850 - INFO - VM name : ctest-TestBasicPolicy-52326472-54596445 2025-11-05 17:10:58,922 - DEBUG - VM ctest-TestBasicPolicy-52326472-54596445 ID is fee339c6-a039-4cd0-a8e9-b1d04e34c067 2025-11-05 17:10:58,922 - DEBUG - VM ctest-TestBasicPolicy-52326472-54596445 launched on Node cn-jenkins-deploy-platform-ansible-os-4651-1 2025-11-05 17:10:58,989 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/fee339c6-a039-4cd0-a8e9-b1d04e34c067 2025-11-05 17:10:58,997 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b110b47e-d369-48fa-9962-fc979c09fec0 2025-11-05 17:11:00,228 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.931/3.488/1.557 ms') 2025-11-05 17:11:00,229 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52326472-54596445 passed 2025-11-05 17:11:00,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:11:00,376 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52326472-54596445, IP 117.108.25.67, Port 22 2025-11-05 17:11:00,532 - DEBUG - VM ctest-TestBasicPolicy-52326472-54596445 is ready for SSH connections 2025-11-05 17:11:00,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:11:00,532 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.108.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 17:11:00,532 - DEBUG - ping -s 56 -c 3 -W 1 117.108.25.67 2025-11-05 17:11:04,583 - DEBUG - PING 117.108.25.67 (117.108.25.67): 56 data bytes 64 bytes from 117.108.25.67: seq=0 ttl=63 time=3.437 ms 64 bytes from 117.108.25.67: seq=1 ttl=63 time=1.098 ms 64 bytes from 117.108.25.67: seq=2 ttl=63 time=0.818 ms --- 117.108.25.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/1.784/3.437 ms 2025-11-05 17:11:04,584 - INFO - Ping to IP 117.108.25.67 from VM ctest-TestBasicPolicy-52326472-78528882 passed 2025-11-05 17:11:04,764 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b268bd0a-6ca6-48fa-a3da-c12a739d6ccb", "href": "http://10.0.0.242:8082/network-policy/b268bd0a-6ca6-48fa-a3da-c12a739d6ccb"}} 2025-11-05 17:11:04,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 17:11:04,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.108.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 17:11:04,764 - DEBUG - ping -s 56 -c 3 -W 1 117.108.25.67 2025-11-05 17:11:07,968 - DEBUG - PING 117.108.25.67 (117.108.25.67): 56 data bytes --- 117.108.25.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 17:11:07,969 - WARNING - Ping to IP 117.108.25.67 from VM ctest-TestBasicPolicy-52326472-78528882 failed 2025-11-05 17:11:07,969 - INFO - Deleting VM ctest-TestBasicPolicy-52326472-54596445 2025-11-05 17:11:08,035 - INFO - Deleting VM ctest-TestBasicPolicy-52326472-78528882 2025-11-05 17:11:08,390 - INFO - Deleted policy ctest-policy-allow-all-07965327 2025-11-05 17:11:08,390 - INFO - Deleting VN ctest-vn-95903221 2025-11-05 17:11:08,424 - DEBUG - VN a9225b69-ebb3-4991-8081-d47889b03615 still in use: Unable to complete operation on network a9225b69-ebb3-4991-8081-d47889b03615. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aea60244-0cda-4ef1-bd13-ba458ca766be'] 2025-11-05 17:11:08,425 - WARNING - Deleting VN ctest-vn-95903221 failed..Will retry 2025-11-05 17:11:10,534 - DEBUG - Response for deleting network () 2025-11-05 17:11:10,534 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b8f47ba0-87da-4ccb-b4e1-5460b541a849 2025-11-05 17:11:10,540 - DEBUG - Response Code: 404 2025-11-05 17:11:10,540 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 17:11:10,545 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f949f6e3-268e-4fd4-a19d-51f2e7b15998 2025-11-05 17:11:10,598 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6def4b5-d419-41f8-84c6-e7b6e32a31c8 2025-11-05 17:11:10,668 - INFO - Validated that VN ctest-vn-95903221 is not found in API Server 2025-11-05 17:11:10,676 - DEBUG - VN ctest-vn-95903221 is not present in Agent 10.0.0.242 2025-11-05 17:11:10,676 - INFO - Validated that VN ctest-vn-95903221 is not in any agent 2025-11-05 17:11:10,690 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95903221 info 2025-11-05 17:11:10,690 - INFO - Deleting VN ctest-vn-63453543 2025-11-05 17:11:10,785 - DEBUG - Response for deleting network () 2025-11-05 17:11:10,785 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f78c957c-f65c-40a5-bb30-1baffbc1994b 2025-11-05 17:11:10,795 - DEBUG - Response Code: 404 2025-11-05 17:11:10,796 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-05 17:11:10,800 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f949f6e3-268e-4fd4-a19d-51f2e7b15998 2025-11-05 17:11:10,853 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6def4b5-d419-41f8-84c6-e7b6e32a31c8 2025-11-05 17:11:10,922 - INFO - Validated that VN ctest-vn-63453543 is not found in API Server 2025-11-05 17:11:10,931 - DEBUG - VN ctest-vn-63453543 is not present in Agent 10.0.0.242 2025-11-05 17:11:10,931 - INFO - Validated that VN ctest-vn-63453543 is not in any agent 2025-11-05 17:11:10,946 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63453543 info 2025-11-05 17:11:11,209 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 17:11:11,209 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-05 17:11:11,209 - INFO - -------------------------------------------------------------------------------- 2025-11-05 17:11:11,895 - INFO - Deleted project: ctest-TestBasicPolicy-52326472, ID : f6def4b5-d419-41f8-84c6-e7b6e32a31c8