2025-01-09 02:39:04,453 - INFO - Domain Default found not creating 2025-01-09 02:39:04,593 - INFO - Project ctest-TestBasicPolicy-41809499 not found, creating it 2025-01-09 02:39:05,045 - INFO - Created Project:ctest-TestBasicPolicy-41809499, ID : b9a6d85b-e09d-4b30-92c5-2d6bceb1fe14 2025-01-09 02:39:06,444 - INFO - ================================================================================ 2025-01-09 02:39:06,444 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-09 02:39:06,444 - 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-01-09 02:39:06,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.20': '0'}} with 2025-01-09 02:39:06,701 - INFO - Initial checks done. Running the testcase now 2025-01-09 02:39:06,701 - INFO - 2025-01-09 02:39:07,218 - DEBUG - Response for create_network : {'network': {'id': '90755590-e961-41dc-a871-9915033f2da6', 'name': 'ctest-vn-53210418', 'tenant_id': 'b9a6d85be09d4b3092c52d6bceb1fe14', 'project_id': 'b9a6d85be09d4b3092c52d6bceb1fe14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41809499', 'ctest-vn-53210418'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 02:39:07,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '005be13b-3048-48a5-a2da-20d80e1c2044', 'name': '', 'tenant_id': 'b9a6d85be09d4b3092c52d6bceb1fe14', 'network_id': '90755590-e961-41dc-a871-9915033f2da6', 'ip_version': 4, 'cidr': '142.18.85.0/26', 'allocation_pools': [{'start': '142.18.85.2', 'end': '142.18.85.62'}], 'gateway_ip': '142.18.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.18.85.2', 'tags': [], 'project_id': 'b9a6d85be09d4b3092c52d6bceb1fe14'}} 2025-01-09 02:39:07,377 - INFO - Created VN ctest-vn-53210418 2025-01-09 02:39:07,427 - DEBUG - VN ctest-vn-53210418 UUID is 90755590-e961-41dc-a871-9915033f2da6 2025-01-09 02:39:07,703 - DEBUG - Response for create_network : {'network': {'id': 'ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8', 'name': 'ctest-vn-44375477', 'tenant_id': 'b9a6d85be09d4b3092c52d6bceb1fe14', 'project_id': 'b9a6d85be09d4b3092c52d6bceb1fe14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41809499', 'ctest-vn-44375477'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 02:39:07,852 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afe678aa-2cdb-4d76-9c20-30914ec159b5', 'name': '', 'tenant_id': 'b9a6d85be09d4b3092c52d6bceb1fe14', 'network_id': 'ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8', 'ip_version': 4, 'cidr': '188.159.17.0/26', 'allocation_pools': [{'start': '188.159.17.2', 'end': '188.159.17.62'}], 'gateway_ip': '188.159.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.159.17.2', 'tags': [], 'project_id': 'b9a6d85be09d4b3092c52d6bceb1fe14'}} 2025-01-09 02:39:07,872 - INFO - Created VN ctest-vn-44375477 2025-01-09 02:39:07,923 - DEBUG - VN ctest-vn-44375477 UUID is ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8 2025-01-09 02:39:08,039 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-53210418, 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-41809499:ctest-vn-44375477, 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-01-09 02:39:08,352 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90755590-e961-41dc-a871-9915033f2da6', 'name': 'ctest-vn-53210418', 'tenant_id': 'b9a6d85be09d4b3092c52d6bceb1fe14', 'project_id': 'b9a6d85be09d4b3092c52d6bceb1fe14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['005be13b-3048-48a5-a2da-20d80e1c2044'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41809499', 'ctest-vn-53210418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41809499', 'ctest-policy-allow-all-57757883']], 'subnet_ipam': [{'subnet_cidr': '142.18.85.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 02:39:08,588 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8', 'name': 'ctest-vn-44375477', 'tenant_id': 'b9a6d85be09d4b3092c52d6bceb1fe14', 'project_id': 'b9a6d85be09d4b3092c52d6bceb1fe14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['afe678aa-2cdb-4d76-9c20-30914ec159b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41809499', 'ctest-vn-44375477'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41809499', 'ctest-policy-allow-all-57757883']], 'subnet_ipam': [{'subnet_cidr': '188.159.17.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 02:39:08,731 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-09 02:39:09,032 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-09 02:39:09,061 - DEBUG - Requesting: http://10.0.0.40:8082/domain/58a93cfa-4fe6-4499-91fe-c3b3d1d14e9f 2025-01-09 02:39:09,076 - DEBUG - Requesting: http://10.0.0.40:8082/project/b9a6d85b-e09d-4b30-92c5-2d6bceb1fe14 2025-01-09 02:39:09,148 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/90755590-e961-41dc-a871-9915033f2da6 2025-01-09 02:39:09,157 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/90755590-e961-41dc-a871-9915033f2da6 2025-01-09 02:39:09,164 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/a0137653-9127-475c-9617-aed5ef3635a6 2025-01-09 02:39:09,171 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/a0137653-9127-475c-9617-aed5ef3635a6 2025-01-09 02:39:09,177 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/ec706df9-1318-4af9-8bdd-004721eb02c1 2025-01-09 02:39:09,183 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 02:39:09,183 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/90755590-e961-41dc-a871-9915033f2da6 2025-01-09 02:39:09,189 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/a0137653-9127-475c-9617-aed5ef3635a6 2025-01-09 02:39:09,201 - INFO - Verified VN network id 9 for VN 90755590-e961-41dc-a871-9915033f2da6 2025-01-09 02:39:09,201 - INFO - Verifications in API Server for VN ctest-vn-53210418 passed 2025-01-09 02:39:09,201 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/90755590-e961-41dc-a871-9915033f2da6 2025-01-09 02:39:09,211 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/a0137653-9127-475c-9617-aed5ef3635a6 2025-01-09 02:39:09,219 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/a0137653-9127-475c-9617-aed5ef3635a6 2025-01-09 02:39:09,225 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/ec706df9-1318-4af9-8bdd-004721eb02c1 2025-01-09 02:39:09,237 - DEBUG - Control-node 10.0.0.40 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-53210418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41809499', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10409320194615886300', 'uuid-lslong': '12137650786268032422'}, 'enable': 'true', 'created': '2025-01-09T02:39:07', 'last-modified': '2025-01-09T02:39:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.909834'} 2025-01-09 02:39:09,244 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 02:39:09,244 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53210418 passed 2025-01-09 02:39:09,244 - DEBUG - ====Verifying policy data for ctest-vn-53210418 in API_Server ====== 2025-01-09 02:39:09,244 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-09 02:39:09,250 - DEBUG - Requesting: http://10.0.0.40:8082/domain/58a93cfa-4fe6-4499-91fe-c3b3d1d14e9f 2025-01-09 02:39:09,261 - DEBUG - Requesting: http://10.0.0.40:8082/project/b9a6d85b-e09d-4b30-92c5-2d6bceb1fe14 2025-01-09 02:39:09,333 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/90755590-e961-41dc-a871-9915033f2da6 2025-01-09 02:39:09,341 - DEBUG - ==>Verifying data for policy with id: 08850800-7491-4e71-8ecf-8b825f765dae, fqn: ['default-domain', 'ctest-TestBasicPolicy-41809499', 'ctest-policy-allow-all-57757883'] 2025-01-09 02:39:09,341 - INFO - VN ctest-vn-53210418 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 02:39:09,342 - DEBUG - Verifying the vn in opserver 2025-01-09 02:39:09,342 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-53210418 virtual network link through opserver 10.0.0.40 2025-01-09 02:39:09,342 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-01-09 02:39:09,637 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-01-09 02:39:09,696 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-53210418', 'href': 'http://10.0.0.40:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-53210418?flat'} 2025-01-09 02:39:09,696 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-53210418 is found in opserver 2025-01-09 02:39:09,706 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 02:39:09,711 - DEBUG - VRF ids for VN ctest-vn-53210418: {} 2025-01-09 02:39:09,711 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-09 02:39:09,717 - DEBUG - Requesting: http://10.0.0.40:8082/domain/58a93cfa-4fe6-4499-91fe-c3b3d1d14e9f 2025-01-09 02:39:09,727 - DEBUG - Requesting: http://10.0.0.40:8082/project/b9a6d85b-e09d-4b30-92c5-2d6bceb1fe14 2025-01-09 02:39:09,795 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8 2025-01-09 02:39:09,804 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8 2025-01-09 02:39:09,812 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/85102141-7498-423a-9667-6f6701b9a494 2025-01-09 02:39:09,819 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/85102141-7498-423a-9667-6f6701b9a494 2025-01-09 02:39:09,826 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/4d0a6b81-06f1-48c7-9f77-0431d0aade82 2025-01-09 02:39:09,831 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-09 02:39:09,831 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8 2025-01-09 02:39:09,839 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/85102141-7498-423a-9667-6f6701b9a494 2025-01-09 02:39:09,851 - INFO - Verified VN network id 10 for VN ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8 2025-01-09 02:39:09,851 - INFO - Verifications in API Server for VN ctest-vn-44375477 passed 2025-01-09 02:39:09,851 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8 2025-01-09 02:39:09,858 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/85102141-7498-423a-9667-6f6701b9a494 2025-01-09 02:39:09,864 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/85102141-7498-423a-9667-6f6701b9a494 2025-01-09 02:39:09,870 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/4d0a6b81-06f1-48c7-9f77-0431d0aade82 2025-01-09 02:39:09,882 - DEBUG - Control-node 10.0.0.40 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-44375477', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41809499', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12560803849667038121', 'uuid-lslong': '13608737081133296040'}, 'enable': 'true', 'created': '2025-01-09T02:39:07', 'last-modified': '2025-01-09T02:39:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317164'} 2025-01-09 02:39:09,888 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-09 02:39:09,888 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44375477 passed 2025-01-09 02:39:09,889 - DEBUG - ====Verifying policy data for ctest-vn-44375477 in API_Server ====== 2025-01-09 02:39:09,889 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-09 02:39:09,894 - DEBUG - Requesting: http://10.0.0.40:8082/domain/58a93cfa-4fe6-4499-91fe-c3b3d1d14e9f 2025-01-09 02:39:09,907 - DEBUG - Requesting: http://10.0.0.40:8082/project/b9a6d85b-e09d-4b30-92c5-2d6bceb1fe14 2025-01-09 02:39:09,974 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8 2025-01-09 02:39:09,982 - DEBUG - ==>Verifying data for policy with id: 08850800-7491-4e71-8ecf-8b825f765dae, fqn: ['default-domain', 'ctest-TestBasicPolicy-41809499', 'ctest-policy-allow-all-57757883'] 2025-01-09 02:39:09,982 - INFO - VN ctest-vn-44375477 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 02:39:09,982 - DEBUG - Verifying the vn in opserver 2025-01-09 02:39:09,982 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-44375477 virtual network link through opserver 10.0.0.40 2025-01-09 02:39:09,982 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2025-01-09 02:39:09,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-44375477', 'href': 'http://10.0.0.40:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-44375477?flat'} 2025-01-09 02:39:09,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-44375477 is found in opserver 2025-01-09 02:39:10,003 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 02:39:10,008 - DEBUG - VRF ids for VN ctest-vn-44375477: {} 2025-01-09 02:39:10,061 - DEBUG - Services list from nova: [, , ] 2025-01-09 02:39:11,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2574-1) 2025-01-09 02:39:12,205 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2574-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2574-1) 2025-01-09 02:39:12,205 - INFO - Waiting for VM ctest-TestBasicPolicy-41809499-90065678 to be up.. 2025-01-09 02:39:12,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 02:39:17,386 - DEBUG - VM is in ACTIVE state now 2025-01-09 02:39:17,386 - INFO - VM name : ctest-TestBasicPolicy-41809499-90065678 2025-01-09 02:39:17,470 - DEBUG - VM ctest-TestBasicPolicy-41809499-90065678 ID is 74411d76-3471-4987-9d12-939887c061a1 2025-01-09 02:39:17,498 - DEBUG - VM ctest-TestBasicPolicy-41809499-90065678 launched on Node cn-jenkins-deploy-platform-ansible-os-2574-1 2025-01-09 02:39:17,573 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/74411d76-3471-4987-9d12-939887c061a1 2025-01-09 02:39:17,582 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/cc97b778-06fb-409b-9ec3-97853185c53e 2025-01-09 02:39:20,840 - 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 1020ms') 2025-01-09 02:39:20,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41809499-90065678 failed! 2025-01-09 02:39:20,892 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41809499:ctest-vn-53210418 is 142.18.85.1 and allocation pool is NOT set 2025-01-09 02:39:22,954 - 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=3.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/1.743/3.040/1.296 ms') 2025-01-09 02:39:22,954 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41809499-90065678 passed 2025-01-09 02:39:23,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:39:23,104 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41809499-90065678, IP 142.18.85.3, Port 22 2025-01-09 02:39:23,259 - DEBUG - VM ctest-TestBasicPolicy-41809499-90065678 is ready for SSH connections 2025-01-09 02:39:23,259 - INFO - Waiting for VM ctest-TestBasicPolicy-41809499-26445486 to be up.. 2025-01-09 02:39:23,332 - DEBUG - VM is in ACTIVE state now 2025-01-09 02:39:23,332 - INFO - VM name : ctest-TestBasicPolicy-41809499-26445486 2025-01-09 02:39:23,401 - DEBUG - VM ctest-TestBasicPolicy-41809499-26445486 ID is 44216edc-608f-4ef4-8467-277b0cf1cd48 2025-01-09 02:39:23,401 - DEBUG - VM ctest-TestBasicPolicy-41809499-26445486 launched on Node cn-jenkins-deploy-platform-ansible-os-2574-1 2025-01-09 02:39:23,475 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/44216edc-608f-4ef4-8467-277b0cf1cd48 2025-01-09 02:39:23,483 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/dd09bc87-793f-46a9-bbae-a6522f631230 2025-01-09 02:39:24,710 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.550 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.550/1.831/3.113/1.281 ms') 2025-01-09 02:39:24,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41809499-26445486 passed 2025-01-09 02:39:24,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:39:24,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41809499-26445486, IP 188.159.17.3, Port 22 2025-01-09 02:39:25,015 - DEBUG - VM ctest-TestBasicPolicy-41809499-26445486 is ready for SSH connections 2025-01-09 02:39:25,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:39:25,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.159.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-01-09 02:39:25,016 - DEBUG - ping -s 56 -c 3 -W 1 188.159.17.3 2025-01-09 02:39:28,974 - DEBUG - PING 188.159.17.3 (188.159.17.3): 56 data bytes 64 bytes from 188.159.17.3: seq=0 ttl=63 time=3.183 ms 64 bytes from 188.159.17.3: seq=1 ttl=63 time=0.705 ms 64 bytes from 188.159.17.3: seq=2 ttl=63 time=0.767 ms --- 188.159.17.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.705/1.551/3.183 ms 2025-01-09 02:39:28,974 - INFO - Ping to IP 188.159.17.3 from VM ctest-TestBasicPolicy-41809499-90065678 passed 2025-01-09 02:39:29,143 - DEBUG - Policy Update Response {"network-policy": {"uuid": "08850800-7491-4e71-8ecf-8b825f765dae", "href": "http://10.0.0.40:8082/network-policy/08850800-7491-4e71-8ecf-8b825f765dae"}} 2025-01-09 02:39:29,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:39:29,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.159.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-01-09 02:39:29,144 - DEBUG - ping -s 56 -c 3 -W 1 188.159.17.3 2025-01-09 02:39:32,351 - DEBUG - PING 188.159.17.3 (188.159.17.3): 56 data bytes --- 188.159.17.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-09 02:39:32,351 - WARNING - Ping to IP 188.159.17.3 from VM ctest-TestBasicPolicy-41809499-90065678 failed 2025-01-09 02:39:32,351 - INFO - Deleting VM ctest-TestBasicPolicy-41809499-26445486 2025-01-09 02:39:32,422 - INFO - Deleting VM ctest-TestBasicPolicy-41809499-90065678 2025-01-09 02:39:32,835 - INFO - Deleted policy ctest-policy-allow-all-57757883 2025-01-09 02:39:32,835 - INFO - Deleting VN ctest-vn-44375477 2025-01-09 02:39:32,878 - DEBUG - VN ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8 still in use: Unable to complete operation on network ae50f08d-20c3-4ba9-bcdb-f245eaa2e9a8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b4eaf2e-c490-4aa4-b8a1-345cb74607e0'] 2025-01-09 02:39:32,879 - WARNING - Deleting VN ctest-vn-44375477 failed..Will retry 2025-01-09 02:39:34,972 - DEBUG - Response for deleting network () 2025-01-09 02:39:34,972 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/85102141-7498-423a-9667-6f6701b9a494 2025-01-09 02:39:34,980 - DEBUG - Response Code: 404 2025-01-09 02:39:34,980 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-09 02:39:34,988 - DEBUG - Requesting: http://10.0.0.40:8082/domain/58a93cfa-4fe6-4499-91fe-c3b3d1d14e9f 2025-01-09 02:39:35,045 - DEBUG - Requesting: http://10.0.0.40:8082/project/b9a6d85b-e09d-4b30-92c5-2d6bceb1fe14 2025-01-09 02:39:35,113 - INFO - Validated that VN ctest-vn-44375477 is not found in API Server 2025-01-09 02:39:35,125 - DEBUG - VN ctest-vn-44375477 is not present in Agent 10.0.0.40 2025-01-09 02:39:35,126 - INFO - Validated that VN ctest-vn-44375477 is not in any agent 2025-01-09 02:39:35,143 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44375477 info 2025-01-09 02:39:35,143 - INFO - Deleting VN ctest-vn-53210418 2025-01-09 02:39:35,250 - DEBUG - Response for deleting network () 2025-01-09 02:39:35,250 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/a0137653-9127-475c-9617-aed5ef3635a6 2025-01-09 02:39:35,262 - DEBUG - Response Code: 404 2025-01-09 02:39:35,262 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2025-01-09 02:39:35,269 - DEBUG - Requesting: http://10.0.0.40:8082/domain/58a93cfa-4fe6-4499-91fe-c3b3d1d14e9f 2025-01-09 02:39:35,325 - DEBUG - Requesting: http://10.0.0.40:8082/project/b9a6d85b-e09d-4b30-92c5-2d6bceb1fe14 2025-01-09 02:39:35,396 - INFO - Validated that VN ctest-vn-53210418 is not found in API Server 2025-01-09 02:39:35,409 - DEBUG - VN ctest-vn-53210418 is not present in Agent 10.0.0.40 2025-01-09 02:39:35,409 - INFO - Validated that VN ctest-vn-53210418 is not in any agent 2025-01-09 02:39:35,425 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53210418 info 2025-01-09 02:39:35,682 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 02:39:35,682 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-01-09 02:39:35,682 - INFO - -------------------------------------------------------------------------------- 2025-01-09 02:39:36,347 - INFO - Deleted project: ctest-TestBasicPolicy-41809499, ID : b9a6d85b-e09d-4b30-92c5-2d6bceb1fe14