2025-04-15 13:13:46,186 - INFO - Domain Default found not creating 2025-04-15 13:13:46,350 - INFO - Project ctest-TestBasicPolicy-99329287 not found, creating it 2025-04-15 13:13:46,862 - INFO - Created Project:ctest-TestBasicPolicy-99329287, ID : 5ee06581-9128-4417-af6c-864697515451 2025-04-15 13:13:48,367 - INFO - ================================================================================ 2025-04-15 13:13:48,367 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-15 13:13:48,367 - 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-04-15 13:13:48,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-15 13:13:48,636 - INFO - Initial checks done. Running the testcase now 2025-04-15 13:13:48,636 - INFO - 2025-04-15 13:13:49,208 - DEBUG - Response for create_network : {'network': {'id': 'f8d81e12-7222-4c06-bb77-71e27df42f04', 'name': 'ctest-vn-39967818', 'tenant_id': '5ee0658191284417af6c864697515451', 'project_id': '5ee0658191284417af6c864697515451', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99329287', 'ctest-vn-39967818'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 13:13:49,432 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f81bd35c-0bb0-4107-a5bc-ef5deb454647', 'name': '', 'tenant_id': '5ee0658191284417af6c864697515451', 'network_id': 'f8d81e12-7222-4c06-bb77-71e27df42f04', 'ip_version': 4, 'cidr': '154.238.241.0/26', 'allocation_pools': [{'start': '154.238.241.2', 'end': '154.238.241.62'}], 'gateway_ip': '154.238.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.238.241.2', 'tags': [], 'project_id': '5ee0658191284417af6c864697515451'}} 2025-04-15 13:13:49,451 - INFO - Created VN ctest-vn-39967818 2025-04-15 13:13:49,510 - DEBUG - VN ctest-vn-39967818 UUID is f8d81e12-7222-4c06-bb77-71e27df42f04 2025-04-15 13:13:49,833 - DEBUG - Response for create_network : {'network': {'id': 'e439255b-7bf1-48c8-9ceb-c21b523ed7b6', 'name': 'ctest-vn-52412472', 'tenant_id': '5ee0658191284417af6c864697515451', 'project_id': '5ee0658191284417af6c864697515451', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99329287', 'ctest-vn-52412472'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 13:13:50,020 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a6e9d6a-691e-462f-86c5-141c032340d0', 'name': '', 'tenant_id': '5ee0658191284417af6c864697515451', 'network_id': 'e439255b-7bf1-48c8-9ceb-c21b523ed7b6', 'ip_version': 4, 'cidr': '65.72.124.64/26', 'allocation_pools': [{'start': '65.72.124.66', 'end': '65.72.124.126'}], 'gateway_ip': '65.72.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.72.124.66', 'tags': [], 'project_id': '5ee0658191284417af6c864697515451'}} 2025-04-15 13:13:50,042 - INFO - Created VN ctest-vn-52412472 2025-04-15 13:13:50,098 - DEBUG - VN ctest-vn-52412472 UUID is e439255b-7bf1-48c8-9ceb-c21b523ed7b6 2025-04-15 13:13:50,220 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-39967818, 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-99329287:ctest-vn-52412472, 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-04-15 13:13:50,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8d81e12-7222-4c06-bb77-71e27df42f04', 'name': 'ctest-vn-39967818', 'tenant_id': '5ee0658191284417af6c864697515451', 'project_id': '5ee0658191284417af6c864697515451', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f81bd35c-0bb0-4107-a5bc-ef5deb454647'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99329287', 'ctest-vn-39967818'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99329287', 'ctest-policy-allow-all-87919439']], 'subnet_ipam': [{'subnet_cidr': '154.238.241.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-15 13:13:50,804 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e439255b-7bf1-48c8-9ceb-c21b523ed7b6', 'name': 'ctest-vn-52412472', 'tenant_id': '5ee0658191284417af6c864697515451', 'project_id': '5ee0658191284417af6c864697515451', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a6e9d6a-691e-462f-86c5-141c032340d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99329287', 'ctest-vn-52412472'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99329287', 'ctest-policy-allow-all-87919439']], 'subnet_ipam': [{'subnet_cidr': '65.72.124.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-15 13:13:50,982 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-15 13:13:51,301 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-15 13:13:51,337 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd56a7e3-f979-4944-bd6e-79bf441fa300 2025-04-15 13:13:51,352 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ee06581-9128-4417-af6c-864697515451 2025-04-15 13:13:51,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f8d81e12-7222-4c06-bb77-71e27df42f04 2025-04-15 13:13:51,456 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f8d81e12-7222-4c06-bb77-71e27df42f04 2025-04-15 13:13:51,470 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ea35b0f-0ad6-4f64-9cbc-cbc754c7cc11 2025-04-15 13:13:51,481 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ea35b0f-0ad6-4f64-9cbc-cbc754c7cc11 2025-04-15 13:13:51,492 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/46315391-c2c6-4be7-bf79-0c0064e44cba 2025-04-15 13:13:51,501 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-15 13:13:51,501 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f8d81e12-7222-4c06-bb77-71e27df42f04 2025-04-15 13:13:51,513 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ea35b0f-0ad6-4f64-9cbc-cbc754c7cc11 2025-04-15 13:13:51,533 - INFO - Verified VN network id 8 for VN f8d81e12-7222-4c06-bb77-71e27df42f04 2025-04-15 13:13:51,534 - INFO - Verifications in API Server for VN ctest-vn-39967818 passed 2025-04-15 13:13:51,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f8d81e12-7222-4c06-bb77-71e27df42f04 2025-04-15 13:13:51,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ea35b0f-0ad6-4f64-9cbc-cbc754c7cc11 2025-04-15 13:13:51,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ea35b0f-0ad6-4f64-9cbc-cbc754c7cc11 2025-04-15 13:13:51,565 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/46315391-c2c6-4be7-bf79-0c0064e44cba 2025-04-15 13:13:51,580 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-39967818', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99329287', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17931114980948724742', 'uuid-lslong': '13508390824910794500'}, 'enable': 'true', 'created': '2025-04-15T13:13:49', 'last-modified': '2025-04-15T13:13:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.066898'} 2025-04-15 13:13:51,588 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-15 13:13:51,588 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39967818 passed 2025-04-15 13:13:51,588 - DEBUG - ====Verifying policy data for ctest-vn-39967818 in API_Server ====== 2025-04-15 13:13:51,588 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-15 13:13:51,595 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd56a7e3-f979-4944-bd6e-79bf441fa300 2025-04-15 13:13:51,612 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ee06581-9128-4417-af6c-864697515451 2025-04-15 13:13:51,692 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f8d81e12-7222-4c06-bb77-71e27df42f04 2025-04-15 13:13:51,704 - DEBUG - ==>Verifying data for policy with id: fc0dd536-3cb0-4266-9343-e6304a38b204, fqn: ['default-domain', 'ctest-TestBasicPolicy-99329287', 'ctest-policy-allow-all-87919439'] 2025-04-15 13:13:51,704 - INFO - VN ctest-vn-39967818 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-15 13:13:51,704 - DEBUG - Verifying the vn in opserver 2025-04-15 13:13:51,704 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-39967818 virtual network link through opserver 10.0.0.38 2025-04-15 13:13:51,704 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-15 13:13:52,002 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-15 13:13:52,075 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-39967818', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-39967818?flat'} 2025-04-15 13:13:52,075 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-39967818 is found in opserver 2025-04-15 13:13:52,088 - DEBUG - Do not have enough data to verify VN in agent 2025-04-15 13:13:52,094 - DEBUG - VRF ids for VN ctest-vn-39967818: {} 2025-04-15 13:13:52,094 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-15 13:13:52,100 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd56a7e3-f979-4944-bd6e-79bf441fa300 2025-04-15 13:13:52,113 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ee06581-9128-4417-af6c-864697515451 2025-04-15 13:13:52,187 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e439255b-7bf1-48c8-9ceb-c21b523ed7b6 2025-04-15 13:13:52,200 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e439255b-7bf1-48c8-9ceb-c21b523ed7b6 2025-04-15 13:13:52,210 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50498cb4-b04a-4b71-b3bf-448787a63145 2025-04-15 13:13:52,219 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50498cb4-b04a-4b71-b3bf-448787a63145 2025-04-15 13:13:52,226 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/66f2d784-95eb-4a98-b9af-7467fbf01196 2025-04-15 13:13:52,235 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-15 13:13:52,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e439255b-7bf1-48c8-9ceb-c21b523ed7b6 2025-04-15 13:13:52,247 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50498cb4-b04a-4b71-b3bf-448787a63145 2025-04-15 13:13:52,263 - INFO - Verified VN network id 9 for VN e439255b-7bf1-48c8-9ceb-c21b523ed7b6 2025-04-15 13:13:52,263 - INFO - Verifications in API Server for VN ctest-vn-52412472 passed 2025-04-15 13:13:52,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e439255b-7bf1-48c8-9ceb-c21b523ed7b6 2025-04-15 13:13:52,274 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50498cb4-b04a-4b71-b3bf-448787a63145 2025-04-15 13:13:52,284 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50498cb4-b04a-4b71-b3bf-448787a63145 2025-04-15 13:13:52,295 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/66f2d784-95eb-4a98-b9af-7467fbf01196 2025-04-15 13:13:52,314 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-52412472', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99329287', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16445216589171738824', 'uuid-lslong': '11307344712043517878'}, 'enable': 'true', 'created': '2025-04-15T13:13:49', 'last-modified': '2025-04-15T13:13:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.544246'} 2025-04-15 13:13:52,323 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-15 13:13:52,323 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52412472 passed 2025-04-15 13:13:52,323 - DEBUG - ====Verifying policy data for ctest-vn-52412472 in API_Server ====== 2025-04-15 13:13:52,323 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-15 13:13:52,331 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd56a7e3-f979-4944-bd6e-79bf441fa300 2025-04-15 13:13:52,345 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ee06581-9128-4417-af6c-864697515451 2025-04-15 13:13:52,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e439255b-7bf1-48c8-9ceb-c21b523ed7b6 2025-04-15 13:13:52,431 - DEBUG - ==>Verifying data for policy with id: fc0dd536-3cb0-4266-9343-e6304a38b204, fqn: ['default-domain', 'ctest-TestBasicPolicy-99329287', 'ctest-policy-allow-all-87919439'] 2025-04-15 13:13:52,431 - INFO - VN ctest-vn-52412472 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-15 13:13:52,432 - DEBUG - Verifying the vn in opserver 2025-04-15 13:13:52,432 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-52412472 virtual network link through opserver 10.0.0.38 2025-04-15 13:13:52,432 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-15 13:13:52,446 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-52412472', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-52412472?flat'} 2025-04-15 13:13:52,446 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-52412472 is found in opserver 2025-04-15 13:13:52,460 - DEBUG - Do not have enough data to verify VN in agent 2025-04-15 13:13:52,467 - DEBUG - VRF ids for VN ctest-vn-52412472: {} 2025-04-15 13:13:52,528 - DEBUG - Services list from nova: [, , ] 2025-04-15 13:13:53,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3118-1) 2025-04-15 13:13:54,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3118-1) 2025-04-15 13:13:54,862 - INFO - Waiting for VM ctest-TestBasicPolicy-99329287-89187213 to be up.. 2025-04-15 13:13:54,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 13:14:00,069 - DEBUG - VM is in ACTIVE state now 2025-04-15 13:14:00,069 - INFO - VM name : ctest-TestBasicPolicy-99329287-89187213 2025-04-15 13:14:00,158 - DEBUG - VM ctest-TestBasicPolicy-99329287-89187213 ID is 1b84323c-cb93-4b5b-9cca-9e4eaaeecea8 2025-04-15 13:14:00,180 - DEBUG - VM ctest-TestBasicPolicy-99329287-89187213 launched on Node cn-jenkins-deploy-platform-ansible-os-3118-1 2025-04-15 13:14:00,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1b84323c-cb93-4b5b-9cca-9e4eaaeecea8 2025-04-15 13:14:00,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a3eb518b-e872-4eb3-a327-b1ccad0d9d20 2025-04-15 13:14:03,557 - 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 1021ms') 2025-04-15 13:14:03,557 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99329287-89187213 failed! 2025-04-15 13:14:03,618 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99329287:ctest-vn-39967818 is 154.238.241.1 and allocation pool is NOT set 2025-04-15 13:14:05,692 - 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=5.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.97 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 = 4.974/5.292/5.610/0.318 ms') 2025-04-15 13:14:05,692 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99329287-89187213 passed 2025-04-15 13:14:05,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 13:14:05,854 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99329287-89187213, IP 154.238.241.3, Port 22 2025-04-15 13:14:06,024 - DEBUG - VM ctest-TestBasicPolicy-99329287-89187213 is ready for SSH connections 2025-04-15 13:14:06,024 - INFO - Waiting for VM ctest-TestBasicPolicy-99329287-93628910 to be up.. 2025-04-15 13:14:06,118 - DEBUG - VM is in ACTIVE state now 2025-04-15 13:14:06,118 - INFO - VM name : ctest-TestBasicPolicy-99329287-93628910 2025-04-15 13:14:06,220 - DEBUG - VM ctest-TestBasicPolicy-99329287-93628910 ID is db8fd06f-99c3-4576-b8e1-1100e976100f 2025-04-15 13:14:06,220 - DEBUG - VM ctest-TestBasicPolicy-99329287-93628910 launched on Node cn-jenkins-deploy-platform-ansible-os-3118-1 2025-04-15 13:14:06,314 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/db8fd06f-99c3-4576-b8e1-1100e976100f 2025-04-15 13:14:06,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dfac3f11-a939-41d2-b0e7-044f0fc1489a 2025-04-15 13:14:07,578 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.974 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.974/2.333/3.693/1.359 ms') 2025-04-15 13:14:07,579 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99329287-93628910 passed 2025-04-15 13:14:07,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 13:14:07,734 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99329287-93628910, IP 65.72.124.67, Port 22 2025-04-15 13:14:07,889 - DEBUG - VM ctest-TestBasicPolicy-99329287-93628910 is ready for SSH connections 2025-04-15 13:14:07,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 13:14:07,889 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.72.124.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-15 13:14:07,889 - DEBUG - ping -s 56 -c 3 -W 1 65.72.124.67 2025-04-15 13:14:11,607 - DEBUG - PING 65.72.124.67 (65.72.124.67): 56 data bytes 64 bytes from 65.72.124.67: seq=0 ttl=63 time=3.569 ms 64 bytes from 65.72.124.67: seq=1 ttl=63 time=0.831 ms 64 bytes from 65.72.124.67: seq=2 ttl=63 time=0.917 ms --- 65.72.124.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/1.772/3.569 ms 2025-04-15 13:14:11,608 - INFO - Ping to IP 65.72.124.67 from VM ctest-TestBasicPolicy-99329287-89187213 passed 2025-04-15 13:14:11,790 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fc0dd536-3cb0-4266-9343-e6304a38b204", "href": "http://10.0.0.38:8082/network-policy/fc0dd536-3cb0-4266-9343-e6304a38b204"}} 2025-04-15 13:14:11,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 13:14:11,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.72.124.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-15 13:14:11,791 - DEBUG - ping -s 56 -c 3 -W 1 65.72.124.67 2025-04-15 13:14:15,028 - DEBUG - PING 65.72.124.67 (65.72.124.67): 56 data bytes 64 bytes from 65.72.124.67: seq=0 ttl=63 time=1.657 ms --- 65.72.124.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.657/1.657/1.657 ms 2025-04-15 13:14:15,029 - WARNING - Ping to IP 65.72.124.67 from VM ctest-TestBasicPolicy-99329287-89187213 failed 2025-04-15 13:14:15,029 - INFO - Deleting VM ctest-TestBasicPolicy-99329287-93628910 2025-04-15 13:14:15,109 - INFO - Deleting VM ctest-TestBasicPolicy-99329287-89187213 2025-04-15 13:14:15,552 - INFO - Deleted policy ctest-policy-allow-all-87919439 2025-04-15 13:14:15,553 - INFO - Deleting VN ctest-vn-52412472 2025-04-15 13:14:15,597 - DEBUG - VN e439255b-7bf1-48c8-9ceb-c21b523ed7b6 still in use: Unable to complete operation on network e439255b-7bf1-48c8-9ceb-c21b523ed7b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e90f5fc4-9d82-4ea8-9d61-ba73ceef29c7'] 2025-04-15 13:14:15,597 - WARNING - Deleting VN ctest-vn-52412472 failed..Will retry 2025-04-15 13:14:17,708 - DEBUG - Response for deleting network () 2025-04-15 13:14:17,708 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50498cb4-b04a-4b71-b3bf-448787a63145 2025-04-15 13:14:17,714 - DEBUG - Response Code: 404 2025-04-15 13:14:17,714 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-15 13:14:17,725 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd56a7e3-f979-4944-bd6e-79bf441fa300 2025-04-15 13:14:17,780 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ee06581-9128-4417-af6c-864697515451 2025-04-15 13:14:17,857 - INFO - Validated that VN ctest-vn-52412472 is not found in API Server 2025-04-15 13:14:17,869 - DEBUG - VN ctest-vn-52412472 is not present in Agent 10.0.0.38 2025-04-15 13:14:17,869 - INFO - Validated that VN ctest-vn-52412472 is not in any agent 2025-04-15 13:14:17,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52412472 info 2025-04-15 13:14:17,889 - INFO - Deleting VN ctest-vn-39967818 2025-04-15 13:14:18,005 - DEBUG - Response for deleting network () 2025-04-15 13:14:18,005 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4ea35b0f-0ad6-4f64-9cbc-cbc754c7cc11 2025-04-15 13:14:18,016 - DEBUG - Response Code: 404 2025-04-15 13:14:18,017 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-15 13:14:18,033 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bd56a7e3-f979-4944-bd6e-79bf441fa300 2025-04-15 13:14:18,051 - DEBUG - Requesting: http://10.0.0.38:8082/project/5ee06581-9128-4417-af6c-864697515451 2025-04-15 13:14:18,130 - INFO - Validated that VN ctest-vn-39967818 is not found in API Server 2025-04-15 13:14:18,146 - DEBUG - VN ctest-vn-39967818 is not present in Agent 10.0.0.38 2025-04-15 13:14:18,146 - INFO - Validated that VN ctest-vn-39967818 is not in any agent 2025-04-15 13:14:18,170 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39967818 info 2025-04-15 13:14:18,428 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 13:14:18,428 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-04-15 13:14:18,429 - INFO - -------------------------------------------------------------------------------- 2025-04-15 13:14:19,126 - INFO - Deleted project: ctest-TestBasicPolicy-99329287, ID : 5ee06581-9128-4417-af6c-864697515451