2025-11-18 17:10:25,668 - INFO - Domain Default found not creating 2025-11-18 17:10:25,870 - INFO - Project ctest-TestBasicPolicy-35476116 not found, creating it 2025-11-18 17:10:26,358 - INFO - Created Project:ctest-TestBasicPolicy-35476116, ID : 3a59c331-1735-4ebb-9e2a-b1f84510dd7f 2025-11-18 17:10:27,844 - INFO - ================================================================================ 2025-11-18 17:10:27,844 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-18 17:10:27,844 - 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-18 17:10:28,113 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-18 17:10:28,114 - INFO - Initial checks done. Running the testcase now 2025-11-18 17:10:28,114 - INFO - 2025-11-18 17:10:28,709 - DEBUG - Response for create_network : {'network': {'id': 'e8ee8a71-80a5-469a-8891-cddd3a20e378', 'name': 'ctest-vn-33680673', 'tenant_id': '3a59c33117354ebb9e2ab1f84510dd7f', 'project_id': '3a59c33117354ebb9e2ab1f84510dd7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35476116', 'ctest-vn-33680673'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:10:28,929 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6defed7-2bdc-485d-967b-fbfb6ea0c18f', 'name': '', 'tenant_id': '3a59c33117354ebb9e2ab1f84510dd7f', 'network_id': 'e8ee8a71-80a5-469a-8891-cddd3a20e378', 'ip_version': 4, 'cidr': '192.212.101.64/26', 'allocation_pools': [{'start': '192.212.101.66', 'end': '192.212.101.126'}], 'gateway_ip': '192.212.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.212.101.66', 'tags': [], 'project_id': '3a59c33117354ebb9e2ab1f84510dd7f'}} 2025-11-18 17:10:28,950 - INFO - Created VN ctest-vn-33680673 2025-11-18 17:10:29,003 - DEBUG - VN ctest-vn-33680673 UUID is e8ee8a71-80a5-469a-8891-cddd3a20e378 2025-11-18 17:10:29,336 - DEBUG - Response for create_network : {'network': {'id': 'fde3c049-10ac-4eb7-90d0-820da1a3c22b', 'name': 'ctest-vn-76028444', 'tenant_id': '3a59c33117354ebb9e2ab1f84510dd7f', 'project_id': '3a59c33117354ebb9e2ab1f84510dd7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35476116', 'ctest-vn-76028444'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:10:29,510 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4b8487c-ec1f-4b79-a104-cc81958b9eae', 'name': '', 'tenant_id': '3a59c33117354ebb9e2ab1f84510dd7f', 'network_id': 'fde3c049-10ac-4eb7-90d0-820da1a3c22b', 'ip_version': 4, 'cidr': '65.20.103.128/26', 'allocation_pools': [{'start': '65.20.103.130', 'end': '65.20.103.190'}], 'gateway_ip': '65.20.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.20.103.130', 'tags': [], 'project_id': '3a59c33117354ebb9e2ab1f84510dd7f'}} 2025-11-18 17:10:29,528 - INFO - Created VN ctest-vn-76028444 2025-11-18 17:10:29,583 - DEBUG - VN ctest-vn-76028444 UUID is fde3c049-10ac-4eb7-90d0-820da1a3c22b 2025-11-18 17:10:29,735 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-33680673, 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-35476116:ctest-vn-76028444, 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-18 17:10:30,033 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e8ee8a71-80a5-469a-8891-cddd3a20e378', 'name': 'ctest-vn-33680673', 'tenant_id': '3a59c33117354ebb9e2ab1f84510dd7f', 'project_id': '3a59c33117354ebb9e2ab1f84510dd7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c6defed7-2bdc-485d-967b-fbfb6ea0c18f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35476116', 'ctest-vn-33680673'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35476116', 'ctest-policy-allow-all-97313189']], 'subnet_ipam': [{'subnet_cidr': '192.212.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:10:30,254 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fde3c049-10ac-4eb7-90d0-820da1a3c22b', 'name': 'ctest-vn-76028444', 'tenant_id': '3a59c33117354ebb9e2ab1f84510dd7f', 'project_id': '3a59c33117354ebb9e2ab1f84510dd7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a4b8487c-ec1f-4b79-a104-cc81958b9eae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35476116', 'ctest-vn-76028444'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35476116', 'ctest-policy-allow-all-97313189']], 'subnet_ipam': [{'subnet_cidr': '65.20.103.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:10:30,455 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-18 17:10:30,749 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-18 17:10:30,780 - DEBUG - Requesting: http://10.0.0.38:8082/domain/58ccf629-dd8e-4acc-81f6-bd4003554774 2025-11-18 17:10:30,791 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a59c331-1735-4ebb-9e2a-b1f84510dd7f 2025-11-18 17:10:30,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e8ee8a71-80a5-469a-8891-cddd3a20e378 2025-11-18 17:10:30,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e8ee8a71-80a5-469a-8891-cddd3a20e378 2025-11-18 17:10:30,883 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80af274-bf1a-4b1c-9999-44e9e10843d4 2025-11-18 17:10:30,893 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80af274-bf1a-4b1c-9999-44e9e10843d4 2025-11-18 17:10:30,901 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f6d2d1ba-1a89-412b-b0eb-899edc0d16b9 2025-11-18 17:10:30,907 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-18 17:10:30,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e8ee8a71-80a5-469a-8891-cddd3a20e378 2025-11-18 17:10:30,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80af274-bf1a-4b1c-9999-44e9e10843d4 2025-11-18 17:10:30,928 - INFO - Verified VN network id 11 for VN e8ee8a71-80a5-469a-8891-cddd3a20e378 2025-11-18 17:10:30,929 - INFO - Verifications in API Server for VN ctest-vn-33680673 passed 2025-11-18 17:10:30,929 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e8ee8a71-80a5-469a-8891-cddd3a20e378 2025-11-18 17:10:30,937 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80af274-bf1a-4b1c-9999-44e9e10843d4 2025-11-18 17:10:30,944 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80af274-bf1a-4b1c-9999-44e9e10843d4 2025-11-18 17:10:30,950 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f6d2d1ba-1a89-412b-b0eb-899edc0d16b9 2025-11-18 17:10:30,961 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-33680673', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35476116', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16784505081350669978', 'uuid-lslong': '9840873010827944824'}, 'enable': 'true', 'created': '2025-11-18T17:10:28', 'last-modified': '2025-11-18T17:10:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953698'} 2025-11-18 17:10:30,967 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-18 17:10:30,967 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33680673 passed 2025-11-18 17:10:30,968 - DEBUG - ====Verifying policy data for ctest-vn-33680673 in API_Server ====== 2025-11-18 17:10:30,968 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-18 17:10:30,973 - DEBUG - Requesting: http://10.0.0.38:8082/domain/58ccf629-dd8e-4acc-81f6-bd4003554774 2025-11-18 17:10:30,983 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a59c331-1735-4ebb-9e2a-b1f84510dd7f 2025-11-18 17:10:31,052 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e8ee8a71-80a5-469a-8891-cddd3a20e378 2025-11-18 17:10:31,061 - DEBUG - ==>Verifying data for policy with id: 2fcc5746-a580-41df-bfb8-c28d893acb3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-35476116', 'ctest-policy-allow-all-97313189'] 2025-11-18 17:10:31,061 - INFO - VN ctest-vn-33680673 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-18 17:10:31,061 - DEBUG - Verifying the vn in opserver 2025-11-18 17:10:31,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-33680673 virtual network link through opserver 10.0.0.38 2025-11-18 17:10:31,061 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-18 17:10:31,351 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-18 17:10:31,423 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-33680673', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-33680673?flat'} 2025-11-18 17:10:31,423 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-33680673 is found in opserver 2025-11-18 17:10:31,433 - DEBUG - Do not have enough data to verify VN in agent 2025-11-18 17:10:31,438 - DEBUG - VRF ids for VN ctest-vn-33680673: {} 2025-11-18 17:10:31,438 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-18 17:10:31,444 - DEBUG - Requesting: http://10.0.0.38:8082/domain/58ccf629-dd8e-4acc-81f6-bd4003554774 2025-11-18 17:10:31,455 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a59c331-1735-4ebb-9e2a-b1f84510dd7f 2025-11-18 17:10:31,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fde3c049-10ac-4eb7-90d0-820da1a3c22b 2025-11-18 17:10:31,540 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fde3c049-10ac-4eb7-90d0-820da1a3c22b 2025-11-18 17:10:31,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a54b0c85-c55b-443f-9d6e-216601951767 2025-11-18 17:10:31,556 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a54b0c85-c55b-443f-9d6e-216601951767 2025-11-18 17:10:31,562 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/97d09f49-8fe2-4e8d-b414-166baed0aa96 2025-11-18 17:10:31,569 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-18 17:10:31,569 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fde3c049-10ac-4eb7-90d0-820da1a3c22b 2025-11-18 17:10:31,577 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a54b0c85-c55b-443f-9d6e-216601951767 2025-11-18 17:10:31,591 - INFO - Verified VN network id 12 for VN fde3c049-10ac-4eb7-90d0-820da1a3c22b 2025-11-18 17:10:31,591 - INFO - Verifications in API Server for VN ctest-vn-76028444 passed 2025-11-18 17:10:31,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fde3c049-10ac-4eb7-90d0-820da1a3c22b 2025-11-18 17:10:31,600 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a54b0c85-c55b-443f-9d6e-216601951767 2025-11-18 17:10:31,607 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a54b0c85-c55b-443f-9d6e-216601951767 2025-11-18 17:10:31,613 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/97d09f49-8fe2-4e8d-b414-166baed0aa96 2025-11-18 17:10:31,625 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-76028444', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35476116', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18294677531353960119', 'uuid-lslong': '10434983331675488811'}, 'enable': 'true', 'created': '2025-11-18T17:10:29', 'last-modified': '2025-11-18T17:10:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.388473'} 2025-11-18 17:10:31,631 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-18 17:10:31,631 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76028444 passed 2025-11-18 17:10:31,631 - DEBUG - ====Verifying policy data for ctest-vn-76028444 in API_Server ====== 2025-11-18 17:10:31,631 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-18 17:10:31,637 - DEBUG - Requesting: http://10.0.0.38:8082/domain/58ccf629-dd8e-4acc-81f6-bd4003554774 2025-11-18 17:10:31,648 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a59c331-1735-4ebb-9e2a-b1f84510dd7f 2025-11-18 17:10:31,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fde3c049-10ac-4eb7-90d0-820da1a3c22b 2025-11-18 17:10:31,723 - DEBUG - ==>Verifying data for policy with id: 2fcc5746-a580-41df-bfb8-c28d893acb3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-35476116', 'ctest-policy-allow-all-97313189'] 2025-11-18 17:10:31,723 - INFO - VN ctest-vn-76028444 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-18 17:10:31,723 - DEBUG - Verifying the vn in opserver 2025-11-18 17:10:31,723 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-76028444 virtual network link through opserver 10.0.0.38 2025-11-18 17:10:31,723 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-18 17:10:31,733 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-76028444', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-76028444?flat'} 2025-11-18 17:10:31,733 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-76028444 is found in opserver 2025-11-18 17:10:31,744 - DEBUG - Do not have enough data to verify VN in agent 2025-11-18 17:10:31,749 - DEBUG - VRF ids for VN ctest-vn-76028444: {} 2025-11-18 17:10:31,808 - DEBUG - Services list from nova: [, , ] 2025-11-18 17:10:32,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4758-1) 2025-11-18 17:10:33,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4758-1) 2025-11-18 17:10:33,957 - INFO - Waiting for VM ctest-TestBasicPolicy-35476116-44415039 to be up.. 2025-11-18 17:10:34,034 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 17:10:39,128 - DEBUG - VM is in ACTIVE state now 2025-11-18 17:10:39,129 - INFO - VM name : ctest-TestBasicPolicy-35476116-44415039 2025-11-18 17:10:39,219 - DEBUG - VM ctest-TestBasicPolicy-35476116-44415039 ID is 7fa5d592-9299-4259-9df7-87ca0e7593ba 2025-11-18 17:10:39,239 - DEBUG - VM ctest-TestBasicPolicy-35476116-44415039 launched on Node cn-jenkins-deploy-platform-ansible-os-4758-1 2025-11-18 17:10:39,330 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7fa5d592-9299-4259-9df7-87ca0e7593ba 2025-11-18 17:10:39,339 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b85821c1-a51e-4a7a-870c-3544fc79397f 2025-11-18 17:10:42,584 - 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') 2025-11-18 17:10:42,584 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35476116-44415039 failed! 2025-11-18 17:10:42,647 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35476116:ctest-vn-33680673 is 192.212.101.65 and allocation pool is NOT set 2025-11-18 17:10:44,709 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.30 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.299/6.124/9.950/3.825 ms') 2025-11-18 17:10:44,709 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35476116-44415039 passed 2025-11-18 17:10:44,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:10:44,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35476116-44415039, IP 192.212.101.67, Port 22 2025-11-18 17:10:45,029 - DEBUG - VM ctest-TestBasicPolicy-35476116-44415039 is ready for SSH connections 2025-11-18 17:10:45,030 - INFO - Waiting for VM ctest-TestBasicPolicy-35476116-34428740 to be up.. 2025-11-18 17:10:45,110 - DEBUG - VM is in ACTIVE state now 2025-11-18 17:10:45,110 - INFO - VM name : ctest-TestBasicPolicy-35476116-34428740 2025-11-18 17:10:45,196 - DEBUG - VM ctest-TestBasicPolicy-35476116-34428740 ID is 2f15c074-802d-4739-aa60-baf740d6e86e 2025-11-18 17:10:45,196 - DEBUG - VM ctest-TestBasicPolicy-35476116-34428740 launched on Node cn-jenkins-deploy-platform-ansible-os-4758-1 2025-11-18 17:10:45,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2f15c074-802d-4739-aa60-baf740d6e86e 2025-11-18 17:10:45,295 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f68f60b6-9798-4f4d-b391-8639375339b0 2025-11-18 17:10:46,539 - 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=5.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=6.62 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 = 5.137/5.879/6.622/0.742 ms') 2025-11-18 17:10:46,539 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35476116-34428740 passed 2025-11-18 17:10:46,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:10:46,691 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35476116-34428740, IP 65.20.103.131, Port 22 2025-11-18 17:10:46,847 - DEBUG - VM ctest-TestBasicPolicy-35476116-34428740 is ready for SSH connections 2025-11-18 17:10:46,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:10:46,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.20.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 17:10:46,847 - DEBUG - ping -s 56 -c 3 -W 1 65.20.103.131 2025-11-18 17:10:50,872 - DEBUG - PING 65.20.103.131 (65.20.103.131): 56 data bytes 64 bytes from 65.20.103.131: seq=0 ttl=63 time=3.625 ms 64 bytes from 65.20.103.131: seq=1 ttl=63 time=0.866 ms 64 bytes from 65.20.103.131: seq=2 ttl=63 time=0.857 ms --- 65.20.103.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/1.782/3.625 ms 2025-11-18 17:10:50,872 - INFO - Ping to IP 65.20.103.131 from VM ctest-TestBasicPolicy-35476116-44415039 passed 2025-11-18 17:10:51,047 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2fcc5746-a580-41df-bfb8-c28d893acb3b", "href": "http://10.0.0.38:8082/network-policy/2fcc5746-a580-41df-bfb8-c28d893acb3b"}} 2025-11-18 17:10:51,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:10:51,047 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.20.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 17:10:51,047 - DEBUG - ping -s 56 -c 3 -W 1 65.20.103.131 2025-11-18 17:10:54,292 - DEBUG - PING 65.20.103.131 (65.20.103.131): 56 data bytes --- 65.20.103.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-18 17:10:54,292 - WARNING - Ping to IP 65.20.103.131 from VM ctest-TestBasicPolicy-35476116-44415039 failed 2025-11-18 17:10:54,293 - INFO - Deleting VM ctest-TestBasicPolicy-35476116-34428740 2025-11-18 17:10:54,372 - INFO - Deleting VM ctest-TestBasicPolicy-35476116-44415039 2025-11-18 17:10:54,731 - INFO - Deleted policy ctest-policy-allow-all-97313189 2025-11-18 17:10:54,731 - INFO - Deleting VN ctest-vn-76028444 2025-11-18 17:10:54,765 - DEBUG - VN fde3c049-10ac-4eb7-90d0-820da1a3c22b still in use: Unable to complete operation on network fde3c049-10ac-4eb7-90d0-820da1a3c22b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-580ae875-30ce-48fb-81d5-de2feee6cf48'] 2025-11-18 17:10:54,765 - WARNING - Deleting VN ctest-vn-76028444 failed..Will retry 2025-11-18 17:10:56,869 - DEBUG - Response for deleting network () 2025-11-18 17:10:56,869 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a54b0c85-c55b-443f-9d6e-216601951767 2025-11-18 17:10:56,875 - DEBUG - Response Code: 404 2025-11-18 17:10:56,875 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-18 17:10:56,881 - DEBUG - Requesting: http://10.0.0.38:8082/domain/58ccf629-dd8e-4acc-81f6-bd4003554774 2025-11-18 17:10:56,936 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a59c331-1735-4ebb-9e2a-b1f84510dd7f 2025-11-18 17:10:57,004 - INFO - Validated that VN ctest-vn-76028444 is not found in API Server 2025-11-18 17:10:57,013 - DEBUG - VN ctest-vn-76028444 is not present in Agent 10.0.0.38 2025-11-18 17:10:57,013 - INFO - Validated that VN ctest-vn-76028444 is not in any agent 2025-11-18 17:10:57,028 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76028444 info 2025-11-18 17:10:57,028 - INFO - Deleting VN ctest-vn-33680673 2025-11-18 17:10:57,134 - DEBUG - Response for deleting network () 2025-11-18 17:10:57,134 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80af274-bf1a-4b1c-9999-44e9e10843d4 2025-11-18 17:10:57,141 - DEBUG - Response Code: 404 2025-11-18 17:10:57,141 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-18 17:10:57,146 - DEBUG - Requesting: http://10.0.0.38:8082/domain/58ccf629-dd8e-4acc-81f6-bd4003554774 2025-11-18 17:10:57,200 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a59c331-1735-4ebb-9e2a-b1f84510dd7f 2025-11-18 17:10:57,270 - INFO - Validated that VN ctest-vn-33680673 is not found in API Server 2025-11-18 17:10:57,279 - DEBUG - VN ctest-vn-33680673 is not present in Agent 10.0.0.38 2025-11-18 17:10:57,279 - INFO - Validated that VN ctest-vn-33680673 is not in any agent 2025-11-18 17:10:57,293 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33680673 info 2025-11-18 17:10:57,549 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 17:10:57,549 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-18 17:10:57,549 - INFO - -------------------------------------------------------------------------------- 2025-11-18 17:10:58,252 - INFO - Deleted project: ctest-TestBasicPolicy-35476116, ID : 3a59c331-1735-4ebb-9e2a-b1f84510dd7f