2025-05-07 07:48:16,580 - INFO - Domain Default found not creating 2025-05-07 07:48:16,716 - INFO - Project ctest-TestBasicPolicy-17576140 not found, creating it 2025-05-07 07:48:17,150 - INFO - Created Project:ctest-TestBasicPolicy-17576140, ID : ff058907-c3c5-4f63-8b17-d81ccfdf1022 2025-05-07 07:48:18,534 - INFO - ================================================================================ 2025-05-07 07:48:18,534 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-07 07:48:18,534 - 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-05-07 07:48:18,788 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-07 07:48:18,788 - INFO - Initial checks done. Running the testcase now 2025-05-07 07:48:18,788 - INFO - 2025-05-07 07:48:19,319 - DEBUG - Response for create_network : {'network': {'id': 'c554e148-8084-4172-bd0b-0a072a31e81b', 'name': 'ctest-vn-97707547', 'tenant_id': 'ff058907c3c54f638b17d81ccfdf1022', 'project_id': 'ff058907c3c54f638b17d81ccfdf1022', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17576140', 'ctest-vn-97707547'], 'port_security_enabled': True, 'description': ''}} 2025-05-07 07:48:19,501 - DEBUG - Response for create_subnet : {'subnet': {'id': '33150f27-a810-4ce5-9ade-69ae7be2c505', 'name': '', 'tenant_id': 'ff058907c3c54f638b17d81ccfdf1022', 'network_id': 'c554e148-8084-4172-bd0b-0a072a31e81b', 'ip_version': 4, 'cidr': '196.197.86.128/26', 'allocation_pools': [{'start': '196.197.86.130', 'end': '196.197.86.190'}], 'gateway_ip': '196.197.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.197.86.130', 'tags': [], 'project_id': 'ff058907c3c54f638b17d81ccfdf1022'}} 2025-05-07 07:48:19,518 - INFO - Created VN ctest-vn-97707547 2025-05-07 07:48:19,569 - DEBUG - VN ctest-vn-97707547 UUID is c554e148-8084-4172-bd0b-0a072a31e81b 2025-05-07 07:48:20,311 - DEBUG - Response for create_network : {'network': {'id': '9fcb0dda-983b-4f6e-88bf-e6e11fd66f04', 'name': 'ctest-vn-96975722', 'tenant_id': 'ff058907c3c54f638b17d81ccfdf1022', 'project_id': 'ff058907c3c54f638b17d81ccfdf1022', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17576140', 'ctest-vn-96975722'], 'port_security_enabled': True, 'description': ''}} 2025-05-07 07:48:20,575 - DEBUG - Response for create_subnet : {'subnet': {'id': '96a42e97-b086-4a73-8fb1-d2a4af615f29', 'name': '', 'tenant_id': 'ff058907c3c54f638b17d81ccfdf1022', 'network_id': '9fcb0dda-983b-4f6e-88bf-e6e11fd66f04', 'ip_version': 4, 'cidr': '117.85.219.128/26', 'allocation_pools': [{'start': '117.85.219.130', 'end': '117.85.219.190'}], 'gateway_ip': '117.85.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.85.219.130', 'tags': [], 'project_id': 'ff058907c3c54f638b17d81ccfdf1022'}} 2025-05-07 07:48:20,593 - INFO - Created VN ctest-vn-96975722 2025-05-07 07:48:20,645 - DEBUG - VN ctest-vn-96975722 UUID is 9fcb0dda-983b-4f6e-88bf-e6e11fd66f04 2025-05-07 07:48:20,881 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-97707547, 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-17576140:ctest-vn-96975722, 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-05-07 07:48:21,168 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c554e148-8084-4172-bd0b-0a072a31e81b', 'name': 'ctest-vn-97707547', 'tenant_id': 'ff058907c3c54f638b17d81ccfdf1022', 'project_id': 'ff058907c3c54f638b17d81ccfdf1022', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['33150f27-a810-4ce5-9ade-69ae7be2c505'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17576140', 'ctest-vn-97707547'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17576140', 'ctest-policy-allow-all-62981553']], 'subnet_ipam': [{'subnet_cidr': '196.197.86.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-07 07:48:21,403 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9fcb0dda-983b-4f6e-88bf-e6e11fd66f04', 'name': 'ctest-vn-96975722', 'tenant_id': 'ff058907c3c54f638b17d81ccfdf1022', 'project_id': 'ff058907c3c54f638b17d81ccfdf1022', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['96a42e97-b086-4a73-8fb1-d2a4af615f29'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17576140', 'ctest-vn-96975722'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17576140', 'ctest-policy-allow-all-62981553']], 'subnet_ipam': [{'subnet_cidr': '117.85.219.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-07 07:48:21,569 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 07:48:21,866 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 07:48:21,894 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a561182a-543a-4de0-863f-64e7a49eddec 2025-05-07 07:48:21,907 - DEBUG - Requesting: http://10.0.0.38:8082/project/ff058907-c3c5-4f63-8b17-d81ccfdf1022 2025-05-07 07:48:21,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c554e148-8084-4172-bd0b-0a072a31e81b 2025-05-07 07:48:21,992 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c554e148-8084-4172-bd0b-0a072a31e81b 2025-05-07 07:48:22,001 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33bbbc89-683b-47c9-a0ba-50e1a2de2f5a 2025-05-07 07:48:22,007 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33bbbc89-683b-47c9-a0ba-50e1a2de2f5a 2025-05-07 07:48:22,014 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/99d1f1e0-a61f-4317-a15c-d29365c6b769 2025-05-07 07:48:22,019 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-07 07:48:22,019 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c554e148-8084-4172-bd0b-0a072a31e81b 2025-05-07 07:48:22,028 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33bbbc89-683b-47c9-a0ba-50e1a2de2f5a 2025-05-07 07:48:22,040 - INFO - Verified VN network id 9 for VN c554e148-8084-4172-bd0b-0a072a31e81b 2025-05-07 07:48:22,041 - INFO - Verifications in API Server for VN ctest-vn-97707547 passed 2025-05-07 07:48:22,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c554e148-8084-4172-bd0b-0a072a31e81b 2025-05-07 07:48:22,049 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33bbbc89-683b-47c9-a0ba-50e1a2de2f5a 2025-05-07 07:48:22,055 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33bbbc89-683b-47c9-a0ba-50e1a2de2f5a 2025-05-07 07:48:22,061 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/99d1f1e0-a61f-4317-a15c-d29365c6b769 2025-05-07 07:48:22,072 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-97707547', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17576140', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14219237625025544562', 'uuid-lslong': '13621992523801159707'}, 'enable': 'true', 'created': '2025-05-07T07:48:19', 'last-modified': '2025-05-07T07:48:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925365'} 2025-05-07 07:48:22,078 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-07 07:48:22,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97707547 passed 2025-05-07 07:48:22,079 - DEBUG - ====Verifying policy data for ctest-vn-97707547 in API_Server ====== 2025-05-07 07:48:22,079 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 07:48:22,084 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a561182a-543a-4de0-863f-64e7a49eddec 2025-05-07 07:48:22,095 - DEBUG - Requesting: http://10.0.0.38:8082/project/ff058907-c3c5-4f63-8b17-d81ccfdf1022 2025-05-07 07:48:22,165 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c554e148-8084-4172-bd0b-0a072a31e81b 2025-05-07 07:48:22,176 - DEBUG - ==>Verifying data for policy with id: 1af27611-66cc-44ea-ad59-c04a7b204701, fqn: ['default-domain', 'ctest-TestBasicPolicy-17576140', 'ctest-policy-allow-all-62981553'] 2025-05-07 07:48:22,176 - INFO - VN ctest-vn-97707547 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-07 07:48:22,177 - DEBUG - Verifying the vn in opserver 2025-05-07 07:48:22,177 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-97707547 virtual network link through opserver 10.0.0.38 2025-05-07 07:48:22,177 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-07 07:48:22,465 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-07 07:48:22,515 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-97707547', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-97707547?flat'} 2025-05-07 07:48:22,515 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-97707547 is found in opserver 2025-05-07 07:48:22,528 - DEBUG - Do not have enough data to verify VN in agent 2025-05-07 07:48:22,533 - DEBUG - VRF ids for VN ctest-vn-97707547: {} 2025-05-07 07:48:22,533 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 07:48:22,538 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a561182a-543a-4de0-863f-64e7a49eddec 2025-05-07 07:48:22,550 - DEBUG - Requesting: http://10.0.0.38:8082/project/ff058907-c3c5-4f63-8b17-d81ccfdf1022 2025-05-07 07:48:22,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9fcb0dda-983b-4f6e-88bf-e6e11fd66f04 2025-05-07 07:48:22,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9fcb0dda-983b-4f6e-88bf-e6e11fd66f04 2025-05-07 07:48:22,641 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a25fd1f-3e87-4116-86f1-204727bcdec9 2025-05-07 07:48:22,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a25fd1f-3e87-4116-86f1-204727bcdec9 2025-05-07 07:48:22,656 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/43f8ed1e-d7bf-4bbb-b278-4add74cdc0b8 2025-05-07 07:48:22,662 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-07 07:48:22,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9fcb0dda-983b-4f6e-88bf-e6e11fd66f04 2025-05-07 07:48:22,672 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a25fd1f-3e87-4116-86f1-204727bcdec9 2025-05-07 07:48:22,686 - INFO - Verified VN network id 10 for VN 9fcb0dda-983b-4f6e-88bf-e6e11fd66f04 2025-05-07 07:48:22,686 - INFO - Verifications in API Server for VN ctest-vn-96975722 passed 2025-05-07 07:48:22,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9fcb0dda-983b-4f6e-88bf-e6e11fd66f04 2025-05-07 07:48:22,695 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a25fd1f-3e87-4116-86f1-204727bcdec9 2025-05-07 07:48:22,702 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a25fd1f-3e87-4116-86f1-204727bcdec9 2025-05-07 07:48:22,709 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/43f8ed1e-d7bf-4bbb-b278-4add74cdc0b8 2025-05-07 07:48:22,721 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-96975722', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17576140', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11514312104810860398', 'uuid-lslong': '9853848364286111492'}, 'enable': 'true', 'created': '2025-05-07T07:48:20', 'last-modified': '2025-05-07T07:48:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.340322'} 2025-05-07 07:48:22,728 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-07 07:48:22,729 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96975722 passed 2025-05-07 07:48:22,729 - DEBUG - ====Verifying policy data for ctest-vn-96975722 in API_Server ====== 2025-05-07 07:48:22,729 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 07:48:22,735 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a561182a-543a-4de0-863f-64e7a49eddec 2025-05-07 07:48:22,745 - DEBUG - Requesting: http://10.0.0.38:8082/project/ff058907-c3c5-4f63-8b17-d81ccfdf1022 2025-05-07 07:48:22,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9fcb0dda-983b-4f6e-88bf-e6e11fd66f04 2025-05-07 07:48:22,826 - DEBUG - ==>Verifying data for policy with id: 1af27611-66cc-44ea-ad59-c04a7b204701, fqn: ['default-domain', 'ctest-TestBasicPolicy-17576140', 'ctest-policy-allow-all-62981553'] 2025-05-07 07:48:22,826 - INFO - VN ctest-vn-96975722 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-07 07:48:22,826 - DEBUG - Verifying the vn in opserver 2025-05-07 07:48:22,826 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-96975722 virtual network link through opserver 10.0.0.38 2025-05-07 07:48:22,826 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-07 07:48:22,836 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-96975722', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-96975722?flat'} 2025-05-07 07:48:22,836 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-96975722 is found in opserver 2025-05-07 07:48:22,846 - DEBUG - Do not have enough data to verify VN in agent 2025-05-07 07:48:22,850 - DEBUG - VRF ids for VN ctest-vn-96975722: {} 2025-05-07 07:48:22,903 - DEBUG - Services list from nova: [, , ] 2025-05-07 07:48:23,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3280-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3280-1) 2025-05-07 07:48:25,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3280-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3280-1) 2025-05-07 07:48:25,200 - INFO - Waiting for VM ctest-TestBasicPolicy-17576140-79982169 to be up.. 2025-05-07 07:48:25,279 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-07 07:48:30,358 - DEBUG - VM is in ACTIVE state now 2025-05-07 07:48:30,358 - INFO - VM name : ctest-TestBasicPolicy-17576140-79982169 2025-05-07 07:48:30,430 - DEBUG - VM ctest-TestBasicPolicy-17576140-79982169 ID is 82056164-d8bd-4bab-988a-5ef9531473fa 2025-05-07 07:48:30,449 - DEBUG - VM ctest-TestBasicPolicy-17576140-79982169 launched on Node cn-jenkins-deploy-platform-ansible-os-3280-1 2025-05-07 07:48:30,521 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/82056164-d8bd-4bab-988a-5ef9531473fa 2025-05-07 07:48:30,530 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/016e0205-1a82-4456-bace-ae6f81c1a56c 2025-05-07 07:48:33,792 - 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 1023ms') 2025-05-07 07:48:33,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17576140-79982169 failed! 2025-05-07 07:48:33,869 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17576140:ctest-vn-97707547 is 196.197.86.129 and allocation pool is NOT set 2025-05-07 07:48:35,933 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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 = 1.181/2.489/3.798/1.308 ms') 2025-05-07 07:48:35,933 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17576140-79982169 passed 2025-05-07 07:48:36,089 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 07:48:36,090 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17576140-79982169, IP 196.197.86.131, Port 22 2025-05-07 07:48:36,249 - DEBUG - VM ctest-TestBasicPolicy-17576140-79982169 is ready for SSH connections 2025-05-07 07:48:36,249 - INFO - Waiting for VM ctest-TestBasicPolicy-17576140-75656527 to be up.. 2025-05-07 07:48:36,318 - DEBUG - VM is in ACTIVE state now 2025-05-07 07:48:36,318 - INFO - VM name : ctest-TestBasicPolicy-17576140-75656527 2025-05-07 07:48:36,387 - DEBUG - VM ctest-TestBasicPolicy-17576140-75656527 ID is 491c1017-ed57-490a-b1b4-fd22abbfc5ee 2025-05-07 07:48:36,388 - DEBUG - VM ctest-TestBasicPolicy-17576140-75656527 launched on Node cn-jenkins-deploy-platform-ansible-os-3280-1 2025-05-07 07:48:36,472 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/491c1017-ed57-490a-b1b4-fd22abbfc5ee 2025-05-07 07:48:36,481 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d7dfcb48-b732-4c94-bec3-b4bce5395db9 2025-05-07 07:48:37,723 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.633 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.633/1.629/2.626/0.996 ms') 2025-05-07 07:48:37,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17576140-75656527 passed 2025-05-07 07:48:37,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 07:48:37,882 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17576140-75656527, IP 117.85.219.131, Port 22 2025-05-07 07:48:38,041 - DEBUG - VM ctest-TestBasicPolicy-17576140-75656527 is ready for SSH connections 2025-05-07 07:48:38,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 07:48:38,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.85.219.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-07 07:48:38,041 - DEBUG - ping -s 56 -c 3 -W 1 117.85.219.131 2025-05-07 07:48:42,002 - DEBUG - PING 117.85.219.131 (117.85.219.131): 56 data bytes 64 bytes from 117.85.219.131: seq=0 ttl=63 time=3.615 ms 64 bytes from 117.85.219.131: seq=1 ttl=63 time=0.790 ms 64 bytes from 117.85.219.131: seq=2 ttl=63 time=0.721 ms --- 117.85.219.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.721/1.708/3.615 ms 2025-05-07 07:48:42,002 - INFO - Ping to IP 117.85.219.131 from VM ctest-TestBasicPolicy-17576140-79982169 passed 2025-05-07 07:48:42,193 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1af27611-66cc-44ea-ad59-c04a7b204701", "href": "http://10.0.0.38:8082/network-policy/1af27611-66cc-44ea-ad59-c04a7b204701"}} 2025-05-07 07:48:42,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 07:48:42,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.85.219.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-07 07:48:42,194 - DEBUG - ping -s 56 -c 3 -W 1 117.85.219.131 2025-05-07 07:48:45,407 - DEBUG - PING 117.85.219.131 (117.85.219.131): 56 data bytes --- 117.85.219.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-07 07:48:45,407 - WARNING - Ping to IP 117.85.219.131 from VM ctest-TestBasicPolicy-17576140-79982169 failed 2025-05-07 07:48:45,408 - INFO - Deleting VM ctest-TestBasicPolicy-17576140-75656527 2025-05-07 07:48:45,470 - INFO - Deleting VM ctest-TestBasicPolicy-17576140-79982169 2025-05-07 07:48:45,826 - INFO - Deleted policy ctest-policy-allow-all-62981553 2025-05-07 07:48:45,826 - INFO - Deleting VN ctest-vn-96975722 2025-05-07 07:48:45,868 - DEBUG - VN 9fcb0dda-983b-4f6e-88bf-e6e11fd66f04 still in use: Unable to complete operation on network 9fcb0dda-983b-4f6e-88bf-e6e11fd66f04. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-23dc46dc-24c9-4b23-af09-204285395666'] 2025-05-07 07:48:45,869 - WARNING - Deleting VN ctest-vn-96975722 failed..Will retry 2025-05-07 07:48:47,965 - DEBUG - Response for deleting network () 2025-05-07 07:48:47,965 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3a25fd1f-3e87-4116-86f1-204727bcdec9 2025-05-07 07:48:47,972 - DEBUG - Response Code: 404 2025-05-07 07:48:47,973 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 07:48:47,978 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a561182a-543a-4de0-863f-64e7a49eddec 2025-05-07 07:48:48,030 - DEBUG - Requesting: http://10.0.0.38:8082/project/ff058907-c3c5-4f63-8b17-d81ccfdf1022 2025-05-07 07:48:48,100 - INFO - Validated that VN ctest-vn-96975722 is not found in API Server 2025-05-07 07:48:48,110 - DEBUG - VN ctest-vn-96975722 is not present in Agent 10.0.0.38 2025-05-07 07:48:48,110 - INFO - Validated that VN ctest-vn-96975722 is not in any agent 2025-05-07 07:48:48,125 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96975722 info 2025-05-07 07:48:48,125 - INFO - Deleting VN ctest-vn-97707547 2025-05-07 07:48:48,214 - DEBUG - Response for deleting network () 2025-05-07 07:48:48,214 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/33bbbc89-683b-47c9-a0ba-50e1a2de2f5a 2025-05-07 07:48:48,222 - DEBUG - Response Code: 404 2025-05-07 07:48:48,222 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-07 07:48:48,227 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a561182a-543a-4de0-863f-64e7a49eddec 2025-05-07 07:48:48,283 - DEBUG - Requesting: http://10.0.0.38:8082/project/ff058907-c3c5-4f63-8b17-d81ccfdf1022 2025-05-07 07:48:48,354 - INFO - Validated that VN ctest-vn-97707547 is not found in API Server 2025-05-07 07:48:48,365 - DEBUG - VN ctest-vn-97707547 is not present in Agent 10.0.0.38 2025-05-07 07:48:48,365 - INFO - Validated that VN ctest-vn-97707547 is not in any agent 2025-05-07 07:48:48,380 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97707547 info 2025-05-07 07:48:48,637 - DEBUG - No XMPP flaps were noticed during the test 2025-05-07 07:48:48,637 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-07 07:48:48,637 - INFO - -------------------------------------------------------------------------------- 2025-05-07 07:48:49,319 - INFO - Deleted project: ctest-TestBasicPolicy-17576140, ID : ff058907-c3c5-4f63-8b17-d81ccfdf1022