2025-11-07 13:30:50,205 - INFO - Domain Default found not creating 2025-11-07 13:30:50,381 - INFO - Project ctest-TestBasicPolicy-26837676 not found, creating it 2025-11-07 13:30:50,876 - INFO - Created Project:ctest-TestBasicPolicy-26837676, ID : 68334f3a-c4a2-4f46-a823-bccd78590fdc 2025-11-07 13:30:52,384 - INFO - ================================================================================ 2025-11-07 13:30:52,384 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-07 13:30:52,384 - 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-07 13:30:52,646 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-07 13:30:52,646 - INFO - Initial checks done. Running the testcase now 2025-11-07 13:30:52,646 - INFO - 2025-11-07 13:30:53,300 - DEBUG - Response for create_network : {'network': {'id': '52da8be2-070e-43a3-8244-9e7bda41ebbc', 'name': 'ctest-vn-26333123', 'tenant_id': '68334f3ac4a24f46a823bccd78590fdc', 'project_id': '68334f3ac4a24f46a823bccd78590fdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26837676', 'ctest-vn-26333123'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:30:53,492 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cceafbf3-05ca-447c-bb7b-031e01f6d9ca', 'name': '', 'tenant_id': '68334f3ac4a24f46a823bccd78590fdc', 'network_id': '52da8be2-070e-43a3-8244-9e7bda41ebbc', 'ip_version': 4, 'cidr': '175.157.5.64/26', 'allocation_pools': [{'start': '175.157.5.66', 'end': '175.157.5.126'}], 'gateway_ip': '175.157.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.157.5.66', 'tags': [], 'project_id': '68334f3ac4a24f46a823bccd78590fdc'}} 2025-11-07 13:30:53,512 - INFO - Created VN ctest-vn-26333123 2025-11-07 13:30:53,566 - DEBUG - VN ctest-vn-26333123 UUID is 52da8be2-070e-43a3-8244-9e7bda41ebbc 2025-11-07 13:30:53,879 - DEBUG - Response for create_network : {'network': {'id': 'cf466925-780a-4b30-839f-b7be4e5ac4ec', 'name': 'ctest-vn-56702110', 'tenant_id': '68334f3ac4a24f46a823bccd78590fdc', 'project_id': '68334f3ac4a24f46a823bccd78590fdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26837676', 'ctest-vn-56702110'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:30:54,073 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a828673d-aa31-4f65-a8ce-b87057490781', 'name': '', 'tenant_id': '68334f3ac4a24f46a823bccd78590fdc', 'network_id': 'cf466925-780a-4b30-839f-b7be4e5ac4ec', 'ip_version': 4, 'cidr': '18.170.65.128/26', 'allocation_pools': [{'start': '18.170.65.130', 'end': '18.170.65.190'}], 'gateway_ip': '18.170.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.170.65.130', 'tags': [], 'project_id': '68334f3ac4a24f46a823bccd78590fdc'}} 2025-11-07 13:30:54,093 - INFO - Created VN ctest-vn-56702110 2025-11-07 13:30:54,146 - DEBUG - VN ctest-vn-56702110 UUID is cf466925-780a-4b30-839f-b7be4e5ac4ec 2025-11-07 13:30:54,263 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-26333123, 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-26837676:ctest-vn-56702110, 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-07 13:30:54,572 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '52da8be2-070e-43a3-8244-9e7bda41ebbc', 'name': 'ctest-vn-26333123', 'tenant_id': '68334f3ac4a24f46a823bccd78590fdc', 'project_id': '68334f3ac4a24f46a823bccd78590fdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cceafbf3-05ca-447c-bb7b-031e01f6d9ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26837676', 'ctest-vn-26333123'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26837676', 'ctest-policy-allow-all-21039043']], 'subnet_ipam': [{'subnet_cidr': '175.157.5.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:30:54,805 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf466925-780a-4b30-839f-b7be4e5ac4ec', 'name': 'ctest-vn-56702110', 'tenant_id': '68334f3ac4a24f46a823bccd78590fdc', 'project_id': '68334f3ac4a24f46a823bccd78590fdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a828673d-aa31-4f65-a8ce-b87057490781'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26837676', 'ctest-vn-56702110'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26837676', 'ctest-policy-allow-all-21039043']], 'subnet_ipam': [{'subnet_cidr': '18.170.65.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:30:54,974 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 13:30:55,271 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 13:30:55,304 - DEBUG - Requesting: http://10.0.0.38:8082/domain/056d5a6e-916c-4124-858a-8b323dc4a83d 2025-11-07 13:30:55,318 - DEBUG - Requesting: http://10.0.0.38:8082/project/68334f3a-c4a2-4f46-a823-bccd78590fdc 2025-11-07 13:30:55,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/52da8be2-070e-43a3-8244-9e7bda41ebbc 2025-11-07 13:30:55,406 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/52da8be2-070e-43a3-8244-9e7bda41ebbc 2025-11-07 13:30:55,417 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2523bccb-1240-4489-a488-f8c269029f43 2025-11-07 13:30:55,426 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2523bccb-1240-4489-a488-f8c269029f43 2025-11-07 13:30:55,434 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f1e3f7ef-3af9-4f20-9629-0d637284f8c2 2025-11-07 13:30:55,441 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 13:30:55,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/52da8be2-070e-43a3-8244-9e7bda41ebbc 2025-11-07 13:30:55,452 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2523bccb-1240-4489-a488-f8c269029f43 2025-11-07 13:30:55,470 - INFO - Verified VN network id 11 for VN 52da8be2-070e-43a3-8244-9e7bda41ebbc 2025-11-07 13:30:55,471 - INFO - Verifications in API Server for VN ctest-vn-26333123 passed 2025-11-07 13:30:55,471 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/52da8be2-070e-43a3-8244-9e7bda41ebbc 2025-11-07 13:30:55,483 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2523bccb-1240-4489-a488-f8c269029f43 2025-11-07 13:30:55,492 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2523bccb-1240-4489-a488-f8c269029f43 2025-11-07 13:30:55,501 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f1e3f7ef-3af9-4f20-9629-0d637284f8c2 2025-11-07 13:30:55,514 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-26333123', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26837676', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5970238058930258851', 'uuid-lslong': '9386801778126875580'}, 'enable': 'true', 'created': '2025-11-07T13:30:53', 'last-modified': '2025-11-07T13:30:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964165'} 2025-11-07 13:30:55,521 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 13:30:55,521 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26333123 passed 2025-11-07 13:30:55,521 - DEBUG - ====Verifying policy data for ctest-vn-26333123 in API_Server ====== 2025-11-07 13:30:55,521 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 13:30:55,527 - DEBUG - Requesting: http://10.0.0.38:8082/domain/056d5a6e-916c-4124-858a-8b323dc4a83d 2025-11-07 13:30:55,539 - DEBUG - Requesting: http://10.0.0.38:8082/project/68334f3a-c4a2-4f46-a823-bccd78590fdc 2025-11-07 13:30:55,612 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/52da8be2-070e-43a3-8244-9e7bda41ebbc 2025-11-07 13:30:55,622 - DEBUG - ==>Verifying data for policy with id: 032030ee-b2e0-45bd-b6a4-fb506c4b98ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-26837676', 'ctest-policy-allow-all-21039043'] 2025-11-07 13:30:55,622 - INFO - VN ctest-vn-26333123 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 13:30:55,622 - DEBUG - Verifying the vn in opserver 2025-11-07 13:30:55,622 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-26333123 virtual network link through opserver 10.0.0.38 2025-11-07 13:30:55,622 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-07 13:30:55,919 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-07 13:30:55,989 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-26333123', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-26333123?flat'} 2025-11-07 13:30:55,989 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-26333123 is found in opserver 2025-11-07 13:30:55,999 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 13:30:56,004 - DEBUG - VRF ids for VN ctest-vn-26333123: {} 2025-11-07 13:30:56,004 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 13:30:56,011 - DEBUG - Requesting: http://10.0.0.38:8082/domain/056d5a6e-916c-4124-858a-8b323dc4a83d 2025-11-07 13:30:56,022 - DEBUG - Requesting: http://10.0.0.38:8082/project/68334f3a-c4a2-4f46-a823-bccd78590fdc 2025-11-07 13:30:56,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf466925-780a-4b30-839f-b7be4e5ac4ec 2025-11-07 13:30:56,111 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf466925-780a-4b30-839f-b7be4e5ac4ec 2025-11-07 13:30:56,122 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee43ff82-dba7-444e-8cdb-7ba166f15f79 2025-11-07 13:30:56,131 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee43ff82-dba7-444e-8cdb-7ba166f15f79 2025-11-07 13:30:56,138 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c97e8afd-b896-489b-97ef-be24e947e8b1 2025-11-07 13:30:56,145 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 13:30:56,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf466925-780a-4b30-839f-b7be4e5ac4ec 2025-11-07 13:30:56,155 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee43ff82-dba7-444e-8cdb-7ba166f15f79 2025-11-07 13:30:56,171 - INFO - Verified VN network id 12 for VN cf466925-780a-4b30-839f-b7be4e5ac4ec 2025-11-07 13:30:56,171 - INFO - Verifications in API Server for VN ctest-vn-56702110 passed 2025-11-07 13:30:56,171 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf466925-780a-4b30-839f-b7be4e5ac4ec 2025-11-07 13:30:56,182 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee43ff82-dba7-444e-8cdb-7ba166f15f79 2025-11-07 13:30:56,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee43ff82-dba7-444e-8cdb-7ba166f15f79 2025-11-07 13:30:56,198 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c97e8afd-b896-489b-97ef-be24e947e8b1 2025-11-07 13:30:56,213 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-56702110', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26837676', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14935740823869475632', 'uuid-lslong': '9484501368251794668'}, 'enable': 'true', 'created': '2025-11-07T13:30:53', 'last-modified': '2025-11-07T13:30:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.428893'} 2025-11-07 13:30:56,219 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 13:30:56,219 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56702110 passed 2025-11-07 13:30:56,219 - DEBUG - ====Verifying policy data for ctest-vn-56702110 in API_Server ====== 2025-11-07 13:30:56,219 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 13:30:56,226 - DEBUG - Requesting: http://10.0.0.38:8082/domain/056d5a6e-916c-4124-858a-8b323dc4a83d 2025-11-07 13:30:56,240 - DEBUG - Requesting: http://10.0.0.38:8082/project/68334f3a-c4a2-4f46-a823-bccd78590fdc 2025-11-07 13:30:56,312 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf466925-780a-4b30-839f-b7be4e5ac4ec 2025-11-07 13:30:56,320 - DEBUG - ==>Verifying data for policy with id: 032030ee-b2e0-45bd-b6a4-fb506c4b98ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-26837676', 'ctest-policy-allow-all-21039043'] 2025-11-07 13:30:56,320 - INFO - VN ctest-vn-56702110 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 13:30:56,320 - DEBUG - Verifying the vn in opserver 2025-11-07 13:30:56,320 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-56702110 virtual network link through opserver 10.0.0.38 2025-11-07 13:30:56,321 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-07 13:30:56,331 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-56702110', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-56702110?flat'} 2025-11-07 13:30:56,331 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-56702110 is found in opserver 2025-11-07 13:30:56,340 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 13:30:56,345 - DEBUG - VRF ids for VN ctest-vn-56702110: {} 2025-11-07 13:30:56,407 - DEBUG - Services list from nova: [, , ] 2025-11-07 13:30:57,466 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4669-1) 2025-11-07 13:30:58,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4669-1) 2025-11-07 13:30:58,707 - INFO - Waiting for VM ctest-TestBasicPolicy-26837676-59385637 to be up.. 2025-11-07 13:30:58,811 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 13:31:03,894 - DEBUG - VM is in ACTIVE state now 2025-11-07 13:31:03,894 - INFO - VM name : ctest-TestBasicPolicy-26837676-59385637 2025-11-07 13:31:03,978 - DEBUG - VM ctest-TestBasicPolicy-26837676-59385637 ID is e9f7acba-d164-46a4-af9c-d3f2d54c0ba9 2025-11-07 13:31:04,004 - DEBUG - VM ctest-TestBasicPolicy-26837676-59385637 launched on Node cn-jenkins-deploy-platform-ansible-os-4669-1 2025-11-07 13:31:04,090 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e9f7acba-d164-46a4-af9c-d3f2d54c0ba9 2025-11-07 13:31:04,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b18c44c5-712f-4d7d-92f9-57997a4b1719 2025-11-07 13:31:07,371 - 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 1026ms') 2025-11-07 13:31:07,371 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26837676-59385637 failed! 2025-11-07 13:31:07,426 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26837676:ctest-vn-26333123 is 175.157.5.65 and allocation pool is NOT set 2025-11-07 13:31:09,483 - 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=6.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 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 = 1.383/3.974/6.565/2.591 ms') 2025-11-07 13:31:09,483 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26837676-59385637 passed 2025-11-07 13:31:09,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:31:09,643 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26837676-59385637, IP 175.157.5.67, Port 22 2025-11-07 13:31:09,820 - DEBUG - VM ctest-TestBasicPolicy-26837676-59385637 is ready for SSH connections 2025-11-07 13:31:09,820 - INFO - Waiting for VM ctest-TestBasicPolicy-26837676-12928198 to be up.. 2025-11-07 13:31:09,918 - DEBUG - VM is in ACTIVE state now 2025-11-07 13:31:09,918 - INFO - VM name : ctest-TestBasicPolicy-26837676-12928198 2025-11-07 13:31:10,114 - DEBUG - VM ctest-TestBasicPolicy-26837676-12928198 ID is 0af39ece-11aa-4909-9a98-9c3954a198ac 2025-11-07 13:31:10,114 - DEBUG - VM ctest-TestBasicPolicy-26837676-12928198 launched on Node cn-jenkins-deploy-platform-ansible-os-4669-1 2025-11-07 13:31:10,194 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0af39ece-11aa-4909-9a98-9c3954a198ac 2025-11-07 13:31:10,203 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ac621c0b-8ebc-4905-98de-1e072837e831 2025-11-07 13:31:11,436 - 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=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.668 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.668/1.811/2.954/1.143 ms') 2025-11-07 13:31:11,436 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26837676-12928198 passed 2025-11-07 13:31:11,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:31:11,587 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26837676-12928198, IP 18.170.65.131, Port 22 2025-11-07 13:31:11,742 - DEBUG - VM ctest-TestBasicPolicy-26837676-12928198 is ready for SSH connections 2025-11-07 13:31:11,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:31:11,742 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.170.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 13:31:11,742 - DEBUG - ping -s 56 -c 3 -W 1 18.170.65.131 2025-11-07 13:31:15,893 - DEBUG - PING 18.170.65.131 (18.170.65.131): 56 data bytes 64 bytes from 18.170.65.131: seq=0 ttl=63 time=3.554 ms 64 bytes from 18.170.65.131: seq=1 ttl=63 time=0.820 ms 64 bytes from 18.170.65.131: seq=2 ttl=63 time=1.030 ms --- 18.170.65.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/1.801/3.554 ms 2025-11-07 13:31:15,893 - INFO - Ping to IP 18.170.65.131 from VM ctest-TestBasicPolicy-26837676-59385637 passed 2025-11-07 13:31:16,070 - DEBUG - Policy Update Response {"network-policy": {"uuid": "032030ee-b2e0-45bd-b6a4-fb506c4b98ba", "href": "http://10.0.0.38:8082/network-policy/032030ee-b2e0-45bd-b6a4-fb506c4b98ba"}} 2025-11-07 13:31:16,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:31:16,071 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.170.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 13:31:16,071 - DEBUG - ping -s 56 -c 3 -W 1 18.170.65.131 2025-11-07 13:31:19,310 - DEBUG - PING 18.170.65.131 (18.170.65.131): 56 data bytes --- 18.170.65.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 13:31:19,310 - WARNING - Ping to IP 18.170.65.131 from VM ctest-TestBasicPolicy-26837676-59385637 failed 2025-11-07 13:31:19,310 - INFO - Deleting VM ctest-TestBasicPolicy-26837676-12928198 2025-11-07 13:31:19,394 - INFO - Deleting VM ctest-TestBasicPolicy-26837676-59385637 2025-11-07 13:31:19,809 - INFO - Deleted policy ctest-policy-allow-all-21039043 2025-11-07 13:31:19,809 - INFO - Deleting VN ctest-vn-56702110 2025-11-07 13:31:19,856 - DEBUG - VN cf466925-780a-4b30-839f-b7be4e5ac4ec still in use: Unable to complete operation on network cf466925-780a-4b30-839f-b7be4e5ac4ec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-337690af-dda0-4938-9173-84a2e07698ab'] 2025-11-07 13:31:19,856 - WARNING - Deleting VN ctest-vn-56702110 failed..Will retry 2025-11-07 13:31:21,968 - DEBUG - Response for deleting network () 2025-11-07 13:31:21,968 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee43ff82-dba7-444e-8cdb-7ba166f15f79 2025-11-07 13:31:21,976 - DEBUG - Response Code: 404 2025-11-07 13:31:21,977 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 13:31:21,982 - DEBUG - Requesting: http://10.0.0.38:8082/domain/056d5a6e-916c-4124-858a-8b323dc4a83d 2025-11-07 13:31:22,037 - DEBUG - Requesting: http://10.0.0.38:8082/project/68334f3a-c4a2-4f46-a823-bccd78590fdc 2025-11-07 13:31:22,111 - INFO - Validated that VN ctest-vn-56702110 is not found in API Server 2025-11-07 13:31:22,120 - DEBUG - VN ctest-vn-56702110 is not present in Agent 10.0.0.38 2025-11-07 13:31:22,120 - INFO - Validated that VN ctest-vn-56702110 is not in any agent 2025-11-07 13:31:22,134 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56702110 info 2025-11-07 13:31:22,134 - INFO - Deleting VN ctest-vn-26333123 2025-11-07 13:31:22,244 - DEBUG - Response for deleting network () 2025-11-07 13:31:22,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2523bccb-1240-4489-a488-f8c269029f43 2025-11-07 13:31:22,252 - DEBUG - Response Code: 404 2025-11-07 13:31:22,252 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 13:31:22,258 - DEBUG - Requesting: http://10.0.0.38:8082/domain/056d5a6e-916c-4124-858a-8b323dc4a83d 2025-11-07 13:31:22,312 - DEBUG - Requesting: http://10.0.0.38:8082/project/68334f3a-c4a2-4f46-a823-bccd78590fdc 2025-11-07 13:31:22,384 - INFO - Validated that VN ctest-vn-26333123 is not found in API Server 2025-11-07 13:31:22,394 - DEBUG - VN ctest-vn-26333123 is not present in Agent 10.0.0.38 2025-11-07 13:31:22,394 - INFO - Validated that VN ctest-vn-26333123 is not in any agent 2025-11-07 13:31:22,408 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26333123 info 2025-11-07 13:31:22,675 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 13:31:22,675 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-07 13:31:22,675 - INFO - -------------------------------------------------------------------------------- 2025-11-07 13:31:23,374 - INFO - Deleted project: ctest-TestBasicPolicy-26837676, ID : 68334f3a-c4a2-4f46-a823-bccd78590fdc