2025-03-27 16:48:26,584 - INFO - Domain Default found not creating 2025-03-27 16:48:26,749 - INFO - Project ctest-TestBasicPolicy-44521466 not found, creating it 2025-03-27 16:48:27,554 - INFO - Created Project:ctest-TestBasicPolicy-44521466, ID : 5503df15-81f9-481f-992c-b7810e0ce4ab 2025-03-27 16:48:29,067 - INFO - ================================================================================ 2025-03-27 16:48:29,067 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-27 16:48:29,068 - 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-03-27 16:48:29,339 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.27': '0'}} with 2025-03-27 16:48:29,339 - INFO - Initial checks done. Running the testcase now 2025-03-27 16:48:29,339 - INFO - 2025-03-27 16:48:29,917 - DEBUG - Response for create_network : {'network': {'id': 'e19791e9-4922-4134-a769-625bc83edb49', 'name': 'ctest-vn-27233548', 'tenant_id': '5503df1581f9481f992cb7810e0ce4ab', 'project_id': '5503df1581f9481f992cb7810e0ce4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44521466', 'ctest-vn-27233548'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:48:30,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '9edb86ad-44d5-4756-8523-75db684daeda', 'name': '', 'tenant_id': '5503df1581f9481f992cb7810e0ce4ab', 'network_id': 'e19791e9-4922-4134-a769-625bc83edb49', 'ip_version': 4, 'cidr': '97.247.172.64/26', 'allocation_pools': [{'start': '97.247.172.66', 'end': '97.247.172.126'}], 'gateway_ip': '97.247.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.247.172.66', 'tags': [], 'project_id': '5503df1581f9481f992cb7810e0ce4ab'}} 2025-03-27 16:48:30,092 - INFO - Created VN ctest-vn-27233548 2025-03-27 16:48:30,147 - DEBUG - VN ctest-vn-27233548 UUID is e19791e9-4922-4134-a769-625bc83edb49 2025-03-27 16:48:30,441 - DEBUG - Response for create_network : {'network': {'id': 'ec94702a-255a-42eb-a40a-55b51f5fb4de', 'name': 'ctest-vn-03607554', 'tenant_id': '5503df1581f9481f992cb7810e0ce4ab', 'project_id': '5503df1581f9481f992cb7810e0ce4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44521466', 'ctest-vn-03607554'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:48:30,659 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b8ebce9-709d-4d13-a2b3-0fd7e22067ec', 'name': '', 'tenant_id': '5503df1581f9481f992cb7810e0ce4ab', 'network_id': 'ec94702a-255a-42eb-a40a-55b51f5fb4de', 'ip_version': 4, 'cidr': '24.41.168.128/26', 'allocation_pools': [{'start': '24.41.168.130', 'end': '24.41.168.190'}], 'gateway_ip': '24.41.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.41.168.130', 'tags': [], 'project_id': '5503df1581f9481f992cb7810e0ce4ab'}} 2025-03-27 16:48:30,678 - INFO - Created VN ctest-vn-03607554 2025-03-27 16:48:30,731 - DEBUG - VN ctest-vn-03607554 UUID is ec94702a-255a-42eb-a40a-55b51f5fb4de 2025-03-27 16:48:30,852 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-27233548, 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-44521466:ctest-vn-03607554, 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-03-27 16:48:31,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e19791e9-4922-4134-a769-625bc83edb49', 'name': 'ctest-vn-27233548', 'tenant_id': '5503df1581f9481f992cb7810e0ce4ab', 'project_id': '5503df1581f9481f992cb7810e0ce4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9edb86ad-44d5-4756-8523-75db684daeda'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44521466', 'ctest-vn-27233548'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44521466', 'ctest-policy-allow-all-02931800']], 'subnet_ipam': [{'subnet_cidr': '97.247.172.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:48:31,458 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec94702a-255a-42eb-a40a-55b51f5fb4de', 'name': 'ctest-vn-03607554', 'tenant_id': '5503df1581f9481f992cb7810e0ce4ab', 'project_id': '5503df1581f9481f992cb7810e0ce4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b8ebce9-709d-4d13-a2b3-0fd7e22067ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44521466', 'ctest-vn-03607554'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44521466', 'ctest-policy-allow-all-02931800']], 'subnet_ipam': [{'subnet_cidr': '24.41.168.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:48:31,611 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 16:48:31,919 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 16:48:31,953 - DEBUG - Requesting: http://10.0.0.37:8082/domain/2b32e1b7-fdc9-4fcc-9ca4-ed647d29c8cb 2025-03-27 16:48:31,967 - DEBUG - Requesting: http://10.0.0.37:8082/project/5503df15-81f9-481f-992c-b7810e0ce4ab 2025-03-27 16:48:32,045 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/e19791e9-4922-4134-a769-625bc83edb49 2025-03-27 16:48:32,058 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/e19791e9-4922-4134-a769-625bc83edb49 2025-03-27 16:48:32,069 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/f41edd69-7dd8-4a35-8976-bc4c5db80e15 2025-03-27 16:48:32,079 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/f41edd69-7dd8-4a35-8976-bc4c5db80e15 2025-03-27 16:48:32,087 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/7f0f8ce7-9d93-4acd-b74c-e9d15d86c113 2025-03-27 16:48:32,096 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 16:48:32,096 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/e19791e9-4922-4134-a769-625bc83edb49 2025-03-27 16:48:32,108 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/f41edd69-7dd8-4a35-8976-bc4c5db80e15 2025-03-27 16:48:32,125 - INFO - Verified VN network id 8 for VN e19791e9-4922-4134-a769-625bc83edb49 2025-03-27 16:48:32,126 - INFO - Verifications in API Server for VN ctest-vn-27233548 passed 2025-03-27 16:48:32,126 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/e19791e9-4922-4134-a769-625bc83edb49 2025-03-27 16:48:32,137 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/f41edd69-7dd8-4a35-8976-bc4c5db80e15 2025-03-27 16:48:32,145 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/f41edd69-7dd8-4a35-8976-bc4c5db80e15 2025-03-27 16:48:32,154 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/7f0f8ce7-9d93-4acd-b74c-e9d15d86c113 2025-03-27 16:48:32,170 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-27233548', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44521466', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16255621811157483828', 'uuid-lslong': '12063281223229692745'}, 'enable': 'true', 'created': '2025-03-27T16:48:29', 'last-modified': '2025-03-27T16:48:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012356'} 2025-03-27 16:48:32,176 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 16:48:32,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27233548 passed 2025-03-27 16:48:32,177 - DEBUG - ====Verifying policy data for ctest-vn-27233548 in API_Server ====== 2025-03-27 16:48:32,177 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 16:48:32,183 - DEBUG - Requesting: http://10.0.0.37:8082/domain/2b32e1b7-fdc9-4fcc-9ca4-ed647d29c8cb 2025-03-27 16:48:32,194 - DEBUG - Requesting: http://10.0.0.37:8082/project/5503df15-81f9-481f-992c-b7810e0ce4ab 2025-03-27 16:48:32,275 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/e19791e9-4922-4134-a769-625bc83edb49 2025-03-27 16:48:32,285 - DEBUG - ==>Verifying data for policy with id: 73053a31-5b7b-4204-a5e4-acbab3cadce8, fqn: ['default-domain', 'ctest-TestBasicPolicy-44521466', 'ctest-policy-allow-all-02931800'] 2025-03-27 16:48:32,285 - INFO - VN ctest-vn-27233548 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 16:48:32,285 - DEBUG - Verifying the vn in opserver 2025-03-27 16:48:32,285 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-27233548 virtual network link through opserver 10.0.0.37 2025-03-27 16:48:32,286 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-03-27 16:48:32,581 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-03-27 16:48:32,648 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-27233548', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-27233548?flat'} 2025-03-27 16:48:32,648 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-27233548 is found in opserver 2025-03-27 16:48:32,662 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 16:48:32,669 - DEBUG - VRF ids for VN ctest-vn-27233548: {} 2025-03-27 16:48:32,669 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 16:48:32,677 - DEBUG - Requesting: http://10.0.0.37:8082/domain/2b32e1b7-fdc9-4fcc-9ca4-ed647d29c8cb 2025-03-27 16:48:32,690 - DEBUG - Requesting: http://10.0.0.37:8082/project/5503df15-81f9-481f-992c-b7810e0ce4ab 2025-03-27 16:48:32,762 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/ec94702a-255a-42eb-a40a-55b51f5fb4de 2025-03-27 16:48:32,775 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/ec94702a-255a-42eb-a40a-55b51f5fb4de 2025-03-27 16:48:32,785 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/76d56945-b9dd-4ed0-9130-fe3adff3c55c 2025-03-27 16:48:32,793 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/76d56945-b9dd-4ed0-9130-fe3adff3c55c 2025-03-27 16:48:32,801 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/9ec4a5ed-ac40-47d1-99ba-1f74f8b42d8c 2025-03-27 16:48:32,809 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 16:48:32,809 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/ec94702a-255a-42eb-a40a-55b51f5fb4de 2025-03-27 16:48:32,819 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/76d56945-b9dd-4ed0-9130-fe3adff3c55c 2025-03-27 16:48:32,836 - INFO - Verified VN network id 9 for VN ec94702a-255a-42eb-a40a-55b51f5fb4de 2025-03-27 16:48:32,836 - INFO - Verifications in API Server for VN ctest-vn-03607554 passed 2025-03-27 16:48:32,836 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/ec94702a-255a-42eb-a40a-55b51f5fb4de 2025-03-27 16:48:32,848 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/76d56945-b9dd-4ed0-9130-fe3adff3c55c 2025-03-27 16:48:32,858 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/76d56945-b9dd-4ed0-9130-fe3adff3c55c 2025-03-27 16:48:32,867 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/9ec4a5ed-ac40-47d1-99ba-1f74f8b42d8c 2025-03-27 16:48:32,882 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-03607554', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44521466', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17047373815821779691', 'uuid-lslong': '11820354408391095518'}, 'enable': 'true', 'created': '2025-03-27T16:48:30', 'last-modified': '2025-03-27T16:48:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.490050'} 2025-03-27 16:48:32,889 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 16:48:32,889 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03607554 passed 2025-03-27 16:48:32,889 - DEBUG - ====Verifying policy data for ctest-vn-03607554 in API_Server ====== 2025-03-27 16:48:32,889 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 16:48:32,897 - DEBUG - Requesting: http://10.0.0.37:8082/domain/2b32e1b7-fdc9-4fcc-9ca4-ed647d29c8cb 2025-03-27 16:48:32,911 - DEBUG - Requesting: http://10.0.0.37:8082/project/5503df15-81f9-481f-992c-b7810e0ce4ab 2025-03-27 16:48:32,992 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/ec94702a-255a-42eb-a40a-55b51f5fb4de 2025-03-27 16:48:33,006 - DEBUG - ==>Verifying data for policy with id: 73053a31-5b7b-4204-a5e4-acbab3cadce8, fqn: ['default-domain', 'ctest-TestBasicPolicy-44521466', 'ctest-policy-allow-all-02931800'] 2025-03-27 16:48:33,006 - INFO - VN ctest-vn-03607554 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 16:48:33,007 - DEBUG - Verifying the vn in opserver 2025-03-27 16:48:33,007 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-03607554 virtual network link through opserver 10.0.0.37 2025-03-27 16:48:33,007 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-03-27 16:48:33,019 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-03607554', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-03607554?flat'} 2025-03-27 16:48:33,019 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-03607554 is found in opserver 2025-03-27 16:48:33,031 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 16:48:33,037 - DEBUG - VRF ids for VN ctest-vn-03607554: {} 2025-03-27 16:48:33,099 - DEBUG - Services list from nova: [, , ] 2025-03-27 16:48:34,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2982-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2982-1) 2025-03-27 16:48:35,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2982-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2982-1) 2025-03-27 16:48:35,431 - INFO - Waiting for VM ctest-TestBasicPolicy-44521466-27427815 to be up.. 2025-03-27 16:48:35,539 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 16:48:40,622 - DEBUG - VM is in ACTIVE state now 2025-03-27 16:48:40,622 - INFO - VM name : ctest-TestBasicPolicy-44521466-27427815 2025-03-27 16:48:40,710 - DEBUG - VM ctest-TestBasicPolicy-44521466-27427815 ID is 4c762779-d251-426f-bddf-33bee603bf3b 2025-03-27 16:48:40,731 - DEBUG - VM ctest-TestBasicPolicy-44521466-27427815 launched on Node cn-jenkins-deploy-platform-ansible-os-2982-1 2025-03-27 16:48:40,816 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/4c762779-d251-426f-bddf-33bee603bf3b 2025-03-27 16:48:40,829 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/6d295140-9e4c-49e4-9755-0564aae7b953 2025-03-27 16:48:44,101 - 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 1007ms') 2025-03-27 16:48:44,101 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44521466-27427815 failed! 2025-03-27 16:48:44,155 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44521466:ctest-vn-27233548 is 97.247.172.65 and allocation pool is NOT set 2025-03-27 16:48:46,216 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.366 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.366/3.351/6.336/2.985 ms') 2025-03-27 16:48:46,216 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44521466-27427815 passed 2025-03-27 16:48:46,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:48:46,379 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44521466-27427815, IP 97.247.172.67, Port 22 2025-03-27 16:48:46,545 - DEBUG - VM ctest-TestBasicPolicy-44521466-27427815 is ready for SSH connections 2025-03-27 16:48:46,545 - INFO - Waiting for VM ctest-TestBasicPolicy-44521466-07419346 to be up.. 2025-03-27 16:48:46,630 - DEBUG - VM is in ACTIVE state now 2025-03-27 16:48:46,630 - INFO - VM name : ctest-TestBasicPolicy-44521466-07419346 2025-03-27 16:48:46,712 - DEBUG - VM ctest-TestBasicPolicy-44521466-07419346 ID is 195eb5d8-bed5-4ead-a2fa-ead2ec77ac47 2025-03-27 16:48:46,712 - DEBUG - VM ctest-TestBasicPolicy-44521466-07419346 launched on Node cn-jenkins-deploy-platform-ansible-os-2982-1 2025-03-27 16:48:46,793 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/195eb5d8-bed5-4ead-a2fa-ead2ec77ac47 2025-03-27 16:48:46,802 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/ea1910ef-69ee-40e8-9c00-f178bcdafa8c 2025-03-27 16:48:48,049 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.531/2.611/1.080 ms') 2025-03-27 16:48:48,050 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44521466-07419346 passed 2025-03-27 16:48:48,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:48:48,207 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44521466-07419346, IP 24.41.168.131, Port 22 2025-03-27 16:48:48,362 - DEBUG - VM ctest-TestBasicPolicy-44521466-07419346 is ready for SSH connections 2025-03-27 16:48:48,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:48:48,362 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.41.168.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-03-27 16:48:48,362 - DEBUG - ping -s 56 -c 3 -W 1 24.41.168.131 2025-03-27 16:48:52,369 - DEBUG - PING 24.41.168.131 (24.41.168.131): 56 data bytes 64 bytes from 24.41.168.131: seq=0 ttl=63 time=3.561 ms 64 bytes from 24.41.168.131: seq=1 ttl=63 time=0.856 ms 64 bytes from 24.41.168.131: seq=2 ttl=63 time=1.026 ms --- 24.41.168.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.856/1.814/3.561 ms 2025-03-27 16:48:52,369 - INFO - Ping to IP 24.41.168.131 from VM ctest-TestBasicPolicy-44521466-27427815 passed 2025-03-27 16:48:52,566 - DEBUG - Policy Update Response {"network-policy": {"uuid": "73053a31-5b7b-4204-a5e4-acbab3cadce8", "href": "http://10.0.0.37:8082/network-policy/73053a31-5b7b-4204-a5e4-acbab3cadce8"}} 2025-03-27 16:48:52,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:48:52,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.41.168.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-03-27 16:48:52,567 - DEBUG - ping -s 56 -c 3 -W 1 24.41.168.131 2025-03-27 16:48:55,775 - DEBUG - PING 24.41.168.131 (24.41.168.131): 56 data bytes 64 bytes from 24.41.168.131: seq=0 ttl=63 time=1.184 ms --- 24.41.168.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.184/1.184/1.184 ms 2025-03-27 16:48:55,775 - WARNING - Ping to IP 24.41.168.131 from VM ctest-TestBasicPolicy-44521466-27427815 failed 2025-03-27 16:48:55,775 - INFO - Deleting VM ctest-TestBasicPolicy-44521466-07419346 2025-03-27 16:48:55,861 - INFO - Deleting VM ctest-TestBasicPolicy-44521466-27427815 2025-03-27 16:48:56,252 - INFO - Deleted policy ctest-policy-allow-all-02931800 2025-03-27 16:48:56,252 - INFO - Deleting VN ctest-vn-03607554 2025-03-27 16:48:56,293 - DEBUG - VN ec94702a-255a-42eb-a40a-55b51f5fb4de still in use: Unable to complete operation on network ec94702a-255a-42eb-a40a-55b51f5fb4de. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4fe5befb-840b-4595-9366-68c4458453ef'] 2025-03-27 16:48:56,293 - WARNING - Deleting VN ctest-vn-03607554 failed..Will retry 2025-03-27 16:48:58,422 - DEBUG - Response for deleting network () 2025-03-27 16:48:58,423 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/76d56945-b9dd-4ed0-9130-fe3adff3c55c 2025-03-27 16:48:58,433 - DEBUG - Response Code: 404 2025-03-27 16:48:58,433 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 16:48:58,440 - DEBUG - Requesting: http://10.0.0.37:8082/domain/2b32e1b7-fdc9-4fcc-9ca4-ed647d29c8cb 2025-03-27 16:48:58,498 - DEBUG - Requesting: http://10.0.0.37:8082/project/5503df15-81f9-481f-992c-b7810e0ce4ab 2025-03-27 16:48:58,580 - INFO - Validated that VN ctest-vn-03607554 is not found in API Server 2025-03-27 16:48:58,594 - DEBUG - VN ctest-vn-03607554 is not present in Agent 10.0.0.37 2025-03-27 16:48:58,594 - INFO - Validated that VN ctest-vn-03607554 is not in any agent 2025-03-27 16:48:58,610 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03607554 info 2025-03-27 16:48:58,611 - INFO - Deleting VN ctest-vn-27233548 2025-03-27 16:48:58,726 - DEBUG - Response for deleting network () 2025-03-27 16:48:58,726 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/f41edd69-7dd8-4a35-8976-bc4c5db80e15 2025-03-27 16:48:58,736 - DEBUG - Response Code: 404 2025-03-27 16:48:58,736 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 16:48:58,745 - DEBUG - Requesting: http://10.0.0.37:8082/domain/2b32e1b7-fdc9-4fcc-9ca4-ed647d29c8cb 2025-03-27 16:48:58,801 - DEBUG - Requesting: http://10.0.0.37:8082/project/5503df15-81f9-481f-992c-b7810e0ce4ab 2025-03-27 16:48:58,877 - INFO - Validated that VN ctest-vn-27233548 is not found in API Server 2025-03-27 16:48:58,889 - DEBUG - VN ctest-vn-27233548 is not present in Agent 10.0.0.37 2025-03-27 16:48:58,889 - INFO - Validated that VN ctest-vn-27233548 is not in any agent 2025-03-27 16:48:58,908 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27233548 info 2025-03-27 16:48:59,166 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 16:48:59,166 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-03-27 16:48:59,166 - INFO - -------------------------------------------------------------------------------- 2025-03-27 16:48:59,883 - INFO - Deleted project: ctest-TestBasicPolicy-44521466, ID : 5503df15-81f9-481f-992c-b7810e0ce4ab