2025-08-11 13:38:08,236 - INFO - Domain Default found not creating 2025-08-11 13:38:08,358 - INFO - Project ctest-TestBasicPolicy-65683294 not found, creating it 2025-08-11 13:38:08,781 - INFO - Created Project:ctest-TestBasicPolicy-65683294, ID : 28cafb7d-6f9e-454e-9e0d-c6add7deb6cb 2025-08-11 13:38:10,102 - INFO - ================================================================================ 2025-08-11 13:38:10,103 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 13:38:10,103 - 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-11 13:38:10,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-08-11 13:38:10,356 - INFO - Initial checks done. Running the testcase now 2025-08-11 13:38:10,356 - INFO - 2025-08-11 13:38:10,868 - DEBUG - Response for create_network : {'network': {'id': '0e0f8327-a41a-4f36-8442-d6c61d872379', 'name': 'ctest-vn-33769911', 'tenant_id': '28cafb7d6f9e454e9e0dc6add7deb6cb', 'project_id': '28cafb7d6f9e454e9e0dc6add7deb6cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65683294', 'ctest-vn-33769911'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:38:11,015 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd175a0db-cc16-4a22-8fe0-daafe42084bb', 'name': '', 'tenant_id': '28cafb7d6f9e454e9e0dc6add7deb6cb', 'network_id': '0e0f8327-a41a-4f36-8442-d6c61d872379', 'ip_version': 4, 'cidr': '62.199.54.192/26', 'allocation_pools': [{'start': '62.199.54.194', 'end': '62.199.54.254'}], 'gateway_ip': '62.199.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.199.54.194', 'tags': [], 'project_id': '28cafb7d6f9e454e9e0dc6add7deb6cb'}} 2025-08-11 13:38:11,031 - INFO - Created VN ctest-vn-33769911 2025-08-11 13:38:11,083 - DEBUG - VN ctest-vn-33769911 UUID is 0e0f8327-a41a-4f36-8442-d6c61d872379 2025-08-11 13:38:11,394 - DEBUG - Response for create_network : {'network': {'id': '081737c2-6514-4066-9d72-52e14f07e291', 'name': 'ctest-vn-92649622', 'tenant_id': '28cafb7d6f9e454e9e0dc6add7deb6cb', 'project_id': '28cafb7d6f9e454e9e0dc6add7deb6cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65683294', 'ctest-vn-92649622'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:38:11,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '5985ff39-2f50-49d9-8606-1e50b664e8f0', 'name': '', 'tenant_id': '28cafb7d6f9e454e9e0dc6add7deb6cb', 'network_id': '081737c2-6514-4066-9d72-52e14f07e291', 'ip_version': 4, 'cidr': '124.218.216.64/26', 'allocation_pools': [{'start': '124.218.216.66', 'end': '124.218.216.126'}], 'gateway_ip': '124.218.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.218.216.66', 'tags': [], 'project_id': '28cafb7d6f9e454e9e0dc6add7deb6cb'}} 2025-08-11 13:38:11,607 - INFO - Created VN ctest-vn-92649622 2025-08-11 13:38:11,659 - DEBUG - VN ctest-vn-92649622 UUID is 081737c2-6514-4066-9d72-52e14f07e291 2025-08-11 13:38:11,811 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-33769911, 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-65683294:ctest-vn-92649622, 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-11 13:38:12,098 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0e0f8327-a41a-4f36-8442-d6c61d872379', 'name': 'ctest-vn-33769911', 'tenant_id': '28cafb7d6f9e454e9e0dc6add7deb6cb', 'project_id': '28cafb7d6f9e454e9e0dc6add7deb6cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d175a0db-cc16-4a22-8fe0-daafe42084bb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65683294', 'ctest-vn-33769911'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65683294', 'ctest-policy-allow-all-54340824']], 'subnet_ipam': [{'subnet_cidr': '62.199.54.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:38:12,322 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '081737c2-6514-4066-9d72-52e14f07e291', 'name': 'ctest-vn-92649622', 'tenant_id': '28cafb7d6f9e454e9e0dc6add7deb6cb', 'project_id': '28cafb7d6f9e454e9e0dc6add7deb6cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5985ff39-2f50-49d9-8606-1e50b664e8f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65683294', 'ctest-vn-92649622'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65683294', 'ctest-policy-allow-all-54340824']], 'subnet_ipam': [{'subnet_cidr': '124.218.216.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:38:12,479 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 13:38:12,770 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 13:38:12,797 - DEBUG - Requesting: http://10.0.0.50:8082/domain/fef88cc7-f02d-47d8-987a-9214c09b2062 2025-08-11 13:38:12,810 - DEBUG - Requesting: http://10.0.0.50:8082/project/28cafb7d-6f9e-454e-9e0d-c6add7deb6cb 2025-08-11 13:38:12,882 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0e0f8327-a41a-4f36-8442-d6c61d872379 2025-08-11 13:38:12,893 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0e0f8327-a41a-4f36-8442-d6c61d872379 2025-08-11 13:38:12,903 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32a2d9d8-2561-4fdd-b14b-3d1af2a0effc 2025-08-11 13:38:12,909 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32a2d9d8-2561-4fdd-b14b-3d1af2a0effc 2025-08-11 13:38:12,915 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/66f8d0ff-8519-44e9-9d9b-78f33809e504 2025-08-11 13:38:12,920 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 13:38:12,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0e0f8327-a41a-4f36-8442-d6c61d872379 2025-08-11 13:38:12,928 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32a2d9d8-2561-4fdd-b14b-3d1af2a0effc 2025-08-11 13:38:12,940 - INFO - Verified VN network id 11 for VN 0e0f8327-a41a-4f36-8442-d6c61d872379 2025-08-11 13:38:12,940 - INFO - Verifications in API Server for VN ctest-vn-33769911 passed 2025-08-11 13:38:12,940 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0e0f8327-a41a-4f36-8442-d6c61d872379 2025-08-11 13:38:12,949 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32a2d9d8-2561-4fdd-b14b-3d1af2a0effc 2025-08-11 13:38:12,955 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32a2d9d8-2561-4fdd-b14b-3d1af2a0effc 2025-08-11 13:38:12,961 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/66f8d0ff-8519-44e9-9d9b-78f33809e504 2025-08-11 13:38:12,971 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-33769911', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65683294', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1013172647461801782', 'uuid-lslong': '9530415907856655225'}, 'enable': 'true', 'created': '2025-08-11T13:38:10', 'last-modified': '2025-08-11T13:38:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.896731'} 2025-08-11 13:38:12,977 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 13:38:12,977 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33769911 passed 2025-08-11 13:38:12,977 - DEBUG - ====Verifying policy data for ctest-vn-33769911 in API_Server ====== 2025-08-11 13:38:12,977 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 13:38:12,982 - DEBUG - Requesting: http://10.0.0.50:8082/domain/fef88cc7-f02d-47d8-987a-9214c09b2062 2025-08-11 13:38:12,992 - DEBUG - Requesting: http://10.0.0.50:8082/project/28cafb7d-6f9e-454e-9e0d-c6add7deb6cb 2025-08-11 13:38:13,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0e0f8327-a41a-4f36-8442-d6c61d872379 2025-08-11 13:38:13,070 - DEBUG - ==>Verifying data for policy with id: 476b8d97-14c9-489a-8ff5-7ee0089fed2d, fqn: ['default-domain', 'ctest-TestBasicPolicy-65683294', 'ctest-policy-allow-all-54340824'] 2025-08-11 13:38:13,070 - INFO - VN ctest-vn-33769911 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 13:38:13,070 - DEBUG - Verifying the vn in opserver 2025-08-11 13:38:13,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-33769911 virtual network link through opserver 10.0.0.50 2025-08-11 13:38:13,070 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-11 13:38:13,358 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-11 13:38:13,409 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-33769911', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-33769911?flat'} 2025-08-11 13:38:13,409 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-33769911 is found in opserver 2025-08-11 13:38:13,419 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 13:38:13,424 - DEBUG - VRF ids for VN ctest-vn-33769911: {} 2025-08-11 13:38:13,424 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 13:38:13,429 - DEBUG - Requesting: http://10.0.0.50:8082/domain/fef88cc7-f02d-47d8-987a-9214c09b2062 2025-08-11 13:38:13,439 - DEBUG - Requesting: http://10.0.0.50:8082/project/28cafb7d-6f9e-454e-9e0d-c6add7deb6cb 2025-08-11 13:38:13,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/081737c2-6514-4066-9d72-52e14f07e291 2025-08-11 13:38:13,523 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/081737c2-6514-4066-9d72-52e14f07e291 2025-08-11 13:38:13,533 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a14a234-2149-4c7f-a74c-2cd607dfda9b 2025-08-11 13:38:13,539 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a14a234-2149-4c7f-a74c-2cd607dfda9b 2025-08-11 13:38:13,545 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/527ee629-9c05-43d2-a46c-90a8270c778b 2025-08-11 13:38:13,551 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 13:38:13,551 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/081737c2-6514-4066-9d72-52e14f07e291 2025-08-11 13:38:13,560 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a14a234-2149-4c7f-a74c-2cd607dfda9b 2025-08-11 13:38:13,572 - INFO - Verified VN network id 12 for VN 081737c2-6514-4066-9d72-52e14f07e291 2025-08-11 13:38:13,572 - INFO - Verifications in API Server for VN ctest-vn-92649622 passed 2025-08-11 13:38:13,572 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/081737c2-6514-4066-9d72-52e14f07e291 2025-08-11 13:38:13,580 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a14a234-2149-4c7f-a74c-2cd607dfda9b 2025-08-11 13:38:13,586 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a14a234-2149-4c7f-a74c-2cd607dfda9b 2025-08-11 13:38:13,592 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/527ee629-9c05-43d2-a46c-90a8270c778b 2025-08-11 13:38:13,603 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-92649622', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65683294', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '582995984826777702', 'uuid-lslong': '11345221538946736785'}, 'enable': 'true', 'created': '2025-08-11T13:38:11', 'last-modified': '2025-08-11T13:38:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.304674'} 2025-08-11 13:38:13,609 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 13:38:13,609 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92649622 passed 2025-08-11 13:38:13,609 - DEBUG - ====Verifying policy data for ctest-vn-92649622 in API_Server ====== 2025-08-11 13:38:13,609 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 13:38:13,614 - DEBUG - Requesting: http://10.0.0.50:8082/domain/fef88cc7-f02d-47d8-987a-9214c09b2062 2025-08-11 13:38:13,624 - DEBUG - Requesting: http://10.0.0.50:8082/project/28cafb7d-6f9e-454e-9e0d-c6add7deb6cb 2025-08-11 13:38:13,693 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/081737c2-6514-4066-9d72-52e14f07e291 2025-08-11 13:38:13,702 - DEBUG - ==>Verifying data for policy with id: 476b8d97-14c9-489a-8ff5-7ee0089fed2d, fqn: ['default-domain', 'ctest-TestBasicPolicy-65683294', 'ctest-policy-allow-all-54340824'] 2025-08-11 13:38:13,702 - INFO - VN ctest-vn-92649622 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 13:38:13,702 - DEBUG - Verifying the vn in opserver 2025-08-11 13:38:13,702 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-92649622 virtual network link through opserver 10.0.0.50 2025-08-11 13:38:13,703 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-11 13:38:13,712 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-92649622', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-92649622?flat'} 2025-08-11 13:38:13,712 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-92649622 is found in opserver 2025-08-11 13:38:13,721 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 13:38:13,726 - DEBUG - VRF ids for VN ctest-vn-92649622: {} 2025-08-11 13:38:13,776 - DEBUG - Services list from nova: [, , ] 2025-08-11 13:38:14,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3807-1) 2025-08-11 13:38:15,763 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3807-1) 2025-08-11 13:38:15,764 - INFO - Waiting for VM ctest-TestBasicPolicy-65683294-01448087 to be up.. 2025-08-11 13:38:15,837 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 13:38:20,905 - DEBUG - VM is in ACTIVE state now 2025-08-11 13:38:20,905 - INFO - VM name : ctest-TestBasicPolicy-65683294-01448087 2025-08-11 13:38:20,967 - DEBUG - VM ctest-TestBasicPolicy-65683294-01448087 ID is dde7540a-e77b-4659-9547-eb878c43fd5b 2025-08-11 13:38:20,984 - DEBUG - VM ctest-TestBasicPolicy-65683294-01448087 launched on Node cn-jenkins-deploy-platform-ansible-os-3807-1 2025-08-11 13:38:21,044 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dde7540a-e77b-4659-9547-eb878c43fd5b 2025-08-11 13:38:21,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ad2ecaa6-c141-448f-b0d5-1d3777e0e5e9 2025-08-11 13:38:24,301 - 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 1019ms') 2025-08-11 13:38:24,301 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65683294-01448087 failed! 2025-08-11 13:38:24,359 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65683294:ctest-vn-33769911 is 62.199.54.193 and allocation pool is NOT set 2025-08-11 13:38:26,416 - 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=2.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/1.549/2.633/1.083 ms') 2025-08-11 13:38:26,416 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65683294-01448087 passed 2025-08-11 13:38:26,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:38:26,567 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65683294-01448087, IP 62.199.54.195, Port 22 2025-08-11 13:38:26,727 - DEBUG - VM ctest-TestBasicPolicy-65683294-01448087 is ready for SSH connections 2025-08-11 13:38:26,727 - INFO - Waiting for VM ctest-TestBasicPolicy-65683294-79366476 to be up.. 2025-08-11 13:38:26,794 - DEBUG - VM is in ACTIVE state now 2025-08-11 13:38:26,794 - INFO - VM name : ctest-TestBasicPolicy-65683294-79366476 2025-08-11 13:38:26,852 - DEBUG - VM ctest-TestBasicPolicy-65683294-79366476 ID is 81ccbe09-b093-465a-ba85-89b2f65c4c72 2025-08-11 13:38:26,853 - DEBUG - VM ctest-TestBasicPolicy-65683294-79366476 launched on Node cn-jenkins-deploy-platform-ansible-os-3807-1 2025-08-11 13:38:26,913 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/81ccbe09-b093-465a-ba85-89b2f65c4c72 2025-08-11 13:38:26,921 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ae7d6064-a7f2-4857-a110-6bbcbbeba062 2025-08-11 13:38:28,154 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.429/1.458/2.488/1.029 ms') 2025-08-11 13:38:28,154 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65683294-79366476 passed 2025-08-11 13:38:28,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:38:28,312 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65683294-79366476, IP 124.218.216.67, Port 22 2025-08-11 13:38:28,471 - DEBUG - VM ctest-TestBasicPolicy-65683294-79366476 is ready for SSH connections 2025-08-11 13:38:28,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:38:28,471 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.218.216.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 13:38:28,471 - DEBUG - ping -s 56 -c 3 -W 1 124.218.216.67 2025-08-11 13:38:32,106 - DEBUG - PING 124.218.216.67 (124.218.216.67): 56 data bytes 64 bytes from 124.218.216.67: seq=0 ttl=63 time=3.265 ms 64 bytes from 124.218.216.67: seq=1 ttl=63 time=0.753 ms 64 bytes from 124.218.216.67: seq=2 ttl=63 time=1.163 ms --- 124.218.216.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.727/3.265 ms 2025-08-11 13:38:32,106 - INFO - Ping to IP 124.218.216.67 from VM ctest-TestBasicPolicy-65683294-01448087 passed 2025-08-11 13:38:32,291 - DEBUG - Policy Update Response {"network-policy": {"uuid": "476b8d97-14c9-489a-8ff5-7ee0089fed2d", "href": "http://10.0.0.50:8082/network-policy/476b8d97-14c9-489a-8ff5-7ee0089fed2d"}} 2025-08-11 13:38:32,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:38:32,291 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.218.216.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 13:38:32,291 - DEBUG - ping -s 56 -c 3 -W 1 124.218.216.67 2025-08-11 13:38:35,488 - DEBUG - PING 124.218.216.67 (124.218.216.67): 56 data bytes 64 bytes from 124.218.216.67: seq=0 ttl=63 time=1.417 ms --- 124.218.216.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.417/1.417/1.417 ms 2025-08-11 13:38:35,489 - WARNING - Ping to IP 124.218.216.67 from VM ctest-TestBasicPolicy-65683294-01448087 failed 2025-08-11 13:38:35,489 - INFO - Deleting VM ctest-TestBasicPolicy-65683294-79366476 2025-08-11 13:38:35,545 - INFO - Deleting VM ctest-TestBasicPolicy-65683294-01448087 2025-08-11 13:38:35,888 - INFO - Deleted policy ctest-policy-allow-all-54340824 2025-08-11 13:38:35,888 - INFO - Deleting VN ctest-vn-92649622 2025-08-11 13:38:35,920 - DEBUG - VN 081737c2-6514-4066-9d72-52e14f07e291 still in use: Unable to complete operation on network 081737c2-6514-4066-9d72-52e14f07e291. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b8657d7c-411a-4ad0-9341-dc5c1218574e'] 2025-08-11 13:38:35,920 - WARNING - Deleting VN ctest-vn-92649622 failed..Will retry 2025-08-11 13:38:38,011 - DEBUG - Response for deleting network () 2025-08-11 13:38:38,012 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a14a234-2149-4c7f-a74c-2cd607dfda9b 2025-08-11 13:38:38,018 - DEBUG - Response Code: 404 2025-08-11 13:38:38,018 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 13:38:38,024 - DEBUG - Requesting: http://10.0.0.50:8082/domain/fef88cc7-f02d-47d8-987a-9214c09b2062 2025-08-11 13:38:38,084 - DEBUG - Requesting: http://10.0.0.50:8082/project/28cafb7d-6f9e-454e-9e0d-c6add7deb6cb 2025-08-11 13:38:38,151 - INFO - Validated that VN ctest-vn-92649622 is not found in API Server 2025-08-11 13:38:38,162 - DEBUG - VN ctest-vn-92649622 is not present in Agent 10.0.0.50 2025-08-11 13:38:38,163 - INFO - Validated that VN ctest-vn-92649622 is not in any agent 2025-08-11 13:38:38,177 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92649622 info 2025-08-11 13:38:38,177 - INFO - Deleting VN ctest-vn-33769911 2025-08-11 13:38:38,273 - DEBUG - Response for deleting network () 2025-08-11 13:38:38,274 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/32a2d9d8-2561-4fdd-b14b-3d1af2a0effc 2025-08-11 13:38:38,279 - DEBUG - Response Code: 404 2025-08-11 13:38:38,279 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-11 13:38:38,284 - DEBUG - Requesting: http://10.0.0.50:8082/domain/fef88cc7-f02d-47d8-987a-9214c09b2062 2025-08-11 13:38:38,336 - DEBUG - Requesting: http://10.0.0.50:8082/project/28cafb7d-6f9e-454e-9e0d-c6add7deb6cb 2025-08-11 13:38:38,404 - INFO - Validated that VN ctest-vn-33769911 is not found in API Server 2025-08-11 13:38:38,414 - DEBUG - VN ctest-vn-33769911 is not present in Agent 10.0.0.50 2025-08-11 13:38:38,414 - INFO - Validated that VN ctest-vn-33769911 is not in any agent 2025-08-11 13:38:38,429 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33769911 info 2025-08-11 13:38:38,697 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 13:38:38,697 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-08-11 13:38:38,697 - INFO - -------------------------------------------------------------------------------- 2025-08-11 13:38:39,346 - INFO - Deleted project: ctest-TestBasicPolicy-65683294, ID : 28cafb7d-6f9e-454e-9e0d-c6add7deb6cb