2025-04-22 13:40:32,399 - INFO - Domain Default found not creating 2025-04-22 13:40:32,530 - INFO - Project ctest-TestBasicPolicy-87884293 not found, creating it 2025-04-22 13:40:32,966 - INFO - Created Project:ctest-TestBasicPolicy-87884293, ID : d3780f47-222d-4e0f-b459-40cea64c06e4 2025-04-22 13:40:34,323 - INFO - ================================================================================ 2025-04-22 13:40:34,323 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 13:40:34,323 - 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-22 13:40:34,590 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.254': '0'}} with 2025-04-22 13:40:34,590 - INFO - Initial checks done. Running the testcase now 2025-04-22 13:40:34,590 - INFO - 2025-04-22 13:40:35,134 - DEBUG - Response for create_network : {'network': {'id': 'f894e9af-bdbb-48a7-9462-699d6b56a978', 'name': 'ctest-vn-05760607', 'tenant_id': 'd3780f47222d4e0fb45940cea64c06e4', 'project_id': 'd3780f47222d4e0fb45940cea64c06e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87884293', 'ctest-vn-05760607'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 13:40:35,336 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6118d95-bfbd-4e66-9e9c-9f5f8c97f2cb', 'name': '', 'tenant_id': 'd3780f47222d4e0fb45940cea64c06e4', 'network_id': 'f894e9af-bdbb-48a7-9462-699d6b56a978', 'ip_version': 4, 'cidr': '172.221.112.128/26', 'allocation_pools': [{'start': '172.221.112.130', 'end': '172.221.112.190'}], 'gateway_ip': '172.221.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.221.112.130', 'tags': [], 'project_id': 'd3780f47222d4e0fb45940cea64c06e4'}} 2025-04-22 13:40:35,354 - INFO - Created VN ctest-vn-05760607 2025-04-22 13:40:35,404 - DEBUG - VN ctest-vn-05760607 UUID is f894e9af-bdbb-48a7-9462-699d6b56a978 2025-04-22 13:40:35,729 - DEBUG - Response for create_network : {'network': {'id': '6088c8cf-cc0d-4d31-9334-404ce48a3e42', 'name': 'ctest-vn-85187344', 'tenant_id': 'd3780f47222d4e0fb45940cea64c06e4', 'project_id': 'd3780f47222d4e0fb45940cea64c06e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87884293', 'ctest-vn-85187344'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 13:40:35,948 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfcb8706-ba3c-4caf-bae5-3187996a02ac', 'name': '', 'tenant_id': 'd3780f47222d4e0fb45940cea64c06e4', 'network_id': '6088c8cf-cc0d-4d31-9334-404ce48a3e42', 'ip_version': 4, 'cidr': '146.147.204.0/26', 'allocation_pools': [{'start': '146.147.204.2', 'end': '146.147.204.62'}], 'gateway_ip': '146.147.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.147.204.2', 'tags': [], 'project_id': 'd3780f47222d4e0fb45940cea64c06e4'}} 2025-04-22 13:40:35,965 - INFO - Created VN ctest-vn-85187344 2025-04-22 13:40:36,020 - DEBUG - VN ctest-vn-85187344 UUID is 6088c8cf-cc0d-4d31-9334-404ce48a3e42 2025-04-22 13:40:36,176 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-05760607, 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-87884293:ctest-vn-85187344, 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-22 13:40:36,473 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f894e9af-bdbb-48a7-9462-699d6b56a978', 'name': 'ctest-vn-05760607', 'tenant_id': 'd3780f47222d4e0fb45940cea64c06e4', 'project_id': 'd3780f47222d4e0fb45940cea64c06e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a6118d95-bfbd-4e66-9e9c-9f5f8c97f2cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87884293', 'ctest-vn-05760607'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87884293', 'ctest-policy-allow-all-80301997']], 'subnet_ipam': [{'subnet_cidr': '172.221.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 13:40:36,705 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6088c8cf-cc0d-4d31-9334-404ce48a3e42', 'name': 'ctest-vn-85187344', 'tenant_id': 'd3780f47222d4e0fb45940cea64c06e4', 'project_id': 'd3780f47222d4e0fb45940cea64c06e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bfcb8706-ba3c-4caf-bae5-3187996a02ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87884293', 'ctest-vn-85187344'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87884293', 'ctest-policy-allow-all-80301997']], 'subnet_ipam': [{'subnet_cidr': '146.147.204.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 13:40:36,852 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-22 13:40:37,161 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-22 13:40:37,187 - DEBUG - Requesting: http://10.0.0.56:8082/domain/8c726ea6-5801-4327-b4c7-a076bb85c377 2025-04-22 13:40:37,200 - DEBUG - Requesting: http://10.0.0.56:8082/project/d3780f47-222d-4e0f-b459-40cea64c06e4 2025-04-22 13:40:37,276 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/f894e9af-bdbb-48a7-9462-699d6b56a978 2025-04-22 13:40:37,287 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/f894e9af-bdbb-48a7-9462-699d6b56a978 2025-04-22 13:40:37,296 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f36a8b71-19a3-406b-9806-d432d89e89dc 2025-04-22 13:40:37,303 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f36a8b71-19a3-406b-9806-d432d89e89dc 2025-04-22 13:40:37,309 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/621cd333-70e5-4885-846d-dda90c23bac7 2025-04-22 13:40:37,315 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 13:40:37,315 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/f894e9af-bdbb-48a7-9462-699d6b56a978 2025-04-22 13:40:37,324 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f36a8b71-19a3-406b-9806-d432d89e89dc 2025-04-22 13:40:37,338 - INFO - Verified VN network id 8 for VN f894e9af-bdbb-48a7-9462-699d6b56a978 2025-04-22 13:40:37,338 - INFO - Verifications in API Server for VN ctest-vn-05760607 passed 2025-04-22 13:40:37,338 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/f894e9af-bdbb-48a7-9462-699d6b56a978 2025-04-22 13:40:37,348 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f36a8b71-19a3-406b-9806-d432d89e89dc 2025-04-22 13:40:37,355 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f36a8b71-19a3-406b-9806-d432d89e89dc 2025-04-22 13:40:37,362 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/621cd333-70e5-4885-846d-dda90c23bac7 2025-04-22 13:40:37,373 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-05760607', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87884293', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17912198558971021479', 'uuid-lslong': '10692224590162602360'}, 'enable': 'true', 'created': '2025-04-22T13:40:35', 'last-modified': '2025-04-22T13:40:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929145'} 2025-04-22 13:40:37,379 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 13:40:37,379 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05760607 passed 2025-04-22 13:40:37,379 - DEBUG - ====Verifying policy data for ctest-vn-05760607 in API_Server ====== 2025-04-22 13:40:37,379 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-22 13:40:37,384 - DEBUG - Requesting: http://10.0.0.56:8082/domain/8c726ea6-5801-4327-b4c7-a076bb85c377 2025-04-22 13:40:37,394 - DEBUG - Requesting: http://10.0.0.56:8082/project/d3780f47-222d-4e0f-b459-40cea64c06e4 2025-04-22 13:40:37,467 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/f894e9af-bdbb-48a7-9462-699d6b56a978 2025-04-22 13:40:37,477 - DEBUG - ==>Verifying data for policy with id: 03ef6334-6146-4492-b000-f07429b6f185, fqn: ['default-domain', 'ctest-TestBasicPolicy-87884293', 'ctest-policy-allow-all-80301997'] 2025-04-22 13:40:37,477 - INFO - VN ctest-vn-05760607 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 13:40:37,477 - DEBUG - Verifying the vn in opserver 2025-04-22 13:40:37,477 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-05760607 virtual network link through opserver 10.0.0.56 2025-04-22 13:40:37,477 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-04-22 13:40:37,766 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-04-22 13:40:37,823 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-05760607', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-05760607?flat'} 2025-04-22 13:40:37,823 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-05760607 is found in opserver 2025-04-22 13:40:37,834 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 13:40:37,839 - DEBUG - VRF ids for VN ctest-vn-05760607: {} 2025-04-22 13:40:37,839 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-22 13:40:37,845 - DEBUG - Requesting: http://10.0.0.56:8082/domain/8c726ea6-5801-4327-b4c7-a076bb85c377 2025-04-22 13:40:37,858 - DEBUG - Requesting: http://10.0.0.56:8082/project/d3780f47-222d-4e0f-b459-40cea64c06e4 2025-04-22 13:40:37,937 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/6088c8cf-cc0d-4d31-9334-404ce48a3e42 2025-04-22 13:40:37,951 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/6088c8cf-cc0d-4d31-9334-404ce48a3e42 2025-04-22 13:40:37,960 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/50d5c9f8-6a90-4cf3-90b7-5861eb793e5d 2025-04-22 13:40:37,967 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/50d5c9f8-6a90-4cf3-90b7-5861eb793e5d 2025-04-22 13:40:37,973 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/99662562-2dba-4930-89d9-8a28cc86a506 2025-04-22 13:40:37,979 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 13:40:37,979 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/6088c8cf-cc0d-4d31-9334-404ce48a3e42 2025-04-22 13:40:37,988 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/50d5c9f8-6a90-4cf3-90b7-5861eb793e5d 2025-04-22 13:40:38,001 - INFO - Verified VN network id 9 for VN 6088c8cf-cc0d-4d31-9334-404ce48a3e42 2025-04-22 13:40:38,001 - INFO - Verifications in API Server for VN ctest-vn-85187344 passed 2025-04-22 13:40:38,001 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/6088c8cf-cc0d-4d31-9334-404ce48a3e42 2025-04-22 13:40:38,010 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/50d5c9f8-6a90-4cf3-90b7-5861eb793e5d 2025-04-22 13:40:38,017 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/50d5c9f8-6a90-4cf3-90b7-5861eb793e5d 2025-04-22 13:40:38,023 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/99662562-2dba-4930-89d9-8a28cc86a506 2025-04-22 13:40:38,034 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-85187344', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87884293', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6956030419280940337', 'uuid-lslong': '10607173721360318018'}, 'enable': 'true', 'created': '2025-04-22T13:40:35', 'last-modified': '2025-04-22T13:40:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.349017'} 2025-04-22 13:40:38,040 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 13:40:38,040 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85187344 passed 2025-04-22 13:40:38,040 - DEBUG - ====Verifying policy data for ctest-vn-85187344 in API_Server ====== 2025-04-22 13:40:38,040 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-22 13:40:38,045 - DEBUG - Requesting: http://10.0.0.56:8082/domain/8c726ea6-5801-4327-b4c7-a076bb85c377 2025-04-22 13:40:38,057 - DEBUG - Requesting: http://10.0.0.56:8082/project/d3780f47-222d-4e0f-b459-40cea64c06e4 2025-04-22 13:40:38,135 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/6088c8cf-cc0d-4d31-9334-404ce48a3e42 2025-04-22 13:40:38,145 - DEBUG - ==>Verifying data for policy with id: 03ef6334-6146-4492-b000-f07429b6f185, fqn: ['default-domain', 'ctest-TestBasicPolicy-87884293', 'ctest-policy-allow-all-80301997'] 2025-04-22 13:40:38,145 - INFO - VN ctest-vn-85187344 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 13:40:38,145 - DEBUG - Verifying the vn in opserver 2025-04-22 13:40:38,145 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-85187344 virtual network link through opserver 10.0.0.56 2025-04-22 13:40:38,145 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-04-22 13:40:38,155 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-85187344', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-85187344?flat'} 2025-04-22 13:40:38,155 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-85187344 is found in opserver 2025-04-22 13:40:38,165 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 13:40:38,170 - DEBUG - VRF ids for VN ctest-vn-85187344: {} 2025-04-22 13:40:38,224 - DEBUG - Services list from nova: [, , ] 2025-04-22 13:40:39,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3163-1) 2025-04-22 13:40:40,382 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3163-1) 2025-04-22 13:40:40,383 - INFO - Waiting for VM ctest-TestBasicPolicy-87884293-27439472 to be up.. 2025-04-22 13:40:40,455 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 13:40:45,531 - DEBUG - VM is in ACTIVE state now 2025-04-22 13:40:45,531 - INFO - VM name : ctest-TestBasicPolicy-87884293-27439472 2025-04-22 13:40:45,605 - DEBUG - VM ctest-TestBasicPolicy-87884293-27439472 ID is 943e1267-9824-4c3b-a237-614f4108bd8a 2025-04-22 13:40:45,623 - DEBUG - VM ctest-TestBasicPolicy-87884293-27439472 launched on Node cn-jenkins-deploy-platform-ansible-os-3163-1 2025-04-22 13:40:45,692 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/943e1267-9824-4c3b-a237-614f4108bd8a 2025-04-22 13:40:45,700 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/e68f1a99-5a89-49b2-a47f-d7a514dccc85 2025-04-22 13:40:48,948 - 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 1011ms') 2025-04-22 13:40:48,948 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87884293-27439472 failed! 2025-04-22 13:40:49,008 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87884293:ctest-vn-05760607 is 172.221.112.129 and allocation pool is NOT set 2025-04-22 13:40:51,069 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.426/1.808/3.191/1.382 ms') 2025-04-22 13:40:51,069 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87884293-27439472 passed 2025-04-22 13:40:51,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:40:51,220 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87884293-27439472, IP 172.221.112.131, Port 22 2025-04-22 13:40:51,380 - DEBUG - VM ctest-TestBasicPolicy-87884293-27439472 is ready for SSH connections 2025-04-22 13:40:51,380 - INFO - Waiting for VM ctest-TestBasicPolicy-87884293-02070873 to be up.. 2025-04-22 13:40:51,455 - DEBUG - VM is in ACTIVE state now 2025-04-22 13:40:51,455 - INFO - VM name : ctest-TestBasicPolicy-87884293-02070873 2025-04-22 13:40:51,531 - DEBUG - VM ctest-TestBasicPolicy-87884293-02070873 ID is 8d9e87a2-9ec9-45d8-8095-600de53333f8 2025-04-22 13:40:51,532 - DEBUG - VM ctest-TestBasicPolicy-87884293-02070873 launched on Node cn-jenkins-deploy-platform-ansible-os-3163-1 2025-04-22 13:40:51,605 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/8d9e87a2-9ec9-45d8-8095-600de53333f8 2025-04-22 13:40:51,613 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/6f6ec1ed-42bf-4331-ab9d-d47c7c2970aa 2025-04-22 13:40:52,846 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.591/2.784/1.192 ms') 2025-04-22 13:40:52,846 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87884293-02070873 passed 2025-04-22 13:40:53,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:40:53,000 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87884293-02070873, IP 146.147.204.3, Port 22 2025-04-22 13:40:53,155 - DEBUG - VM ctest-TestBasicPolicy-87884293-02070873 is ready for SSH connections 2025-04-22 13:40:53,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:40:53,155 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.147.204.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-04-22 13:40:53,155 - DEBUG - ping -s 56 -c 3 -W 1 146.147.204.3 2025-04-22 13:40:56,833 - DEBUG - PING 146.147.204.3 (146.147.204.3): 56 data bytes 64 bytes from 146.147.204.3: seq=0 ttl=63 time=3.092 ms 64 bytes from 146.147.204.3: seq=1 ttl=63 time=0.699 ms 64 bytes from 146.147.204.3: seq=2 ttl=63 time=0.873 ms --- 146.147.204.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.699/1.554/3.092 ms 2025-04-22 13:40:56,833 - INFO - Ping to IP 146.147.204.3 from VM ctest-TestBasicPolicy-87884293-27439472 passed 2025-04-22 13:40:57,024 - DEBUG - Policy Update Response {"network-policy": {"uuid": "03ef6334-6146-4492-b000-f07429b6f185", "href": "http://10.0.0.56:8082/network-policy/03ef6334-6146-4492-b000-f07429b6f185"}} 2025-04-22 13:40:57,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:40:57,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.147.204.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-04-22 13:40:57,024 - DEBUG - ping -s 56 -c 3 -W 1 146.147.204.3 2025-04-22 13:41:00,226 - DEBUG - PING 146.147.204.3 (146.147.204.3): 56 data bytes --- 146.147.204.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-22 13:41:00,226 - WARNING - Ping to IP 146.147.204.3 from VM ctest-TestBasicPolicy-87884293-27439472 failed 2025-04-22 13:41:00,226 - INFO - Deleting VM ctest-TestBasicPolicy-87884293-02070873 2025-04-22 13:41:00,285 - INFO - Deleting VM ctest-TestBasicPolicy-87884293-27439472 2025-04-22 13:41:00,640 - INFO - Deleted policy ctest-policy-allow-all-80301997 2025-04-22 13:41:00,640 - INFO - Deleting VN ctest-vn-85187344 2025-04-22 13:41:00,672 - DEBUG - VN 6088c8cf-cc0d-4d31-9334-404ce48a3e42 still in use: Unable to complete operation on network 6088c8cf-cc0d-4d31-9334-404ce48a3e42. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-556c3ab4-3c17-4dcf-a27c-50d09da4c291'] 2025-04-22 13:41:00,672 - WARNING - Deleting VN ctest-vn-85187344 failed..Will retry 2025-04-22 13:41:02,785 - DEBUG - Response for deleting network () 2025-04-22 13:41:02,785 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/50d5c9f8-6a90-4cf3-90b7-5861eb793e5d 2025-04-22 13:41:02,790 - DEBUG - Response Code: 404 2025-04-22 13:41:02,790 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-22 13:41:02,795 - DEBUG - Requesting: http://10.0.0.56:8082/domain/8c726ea6-5801-4327-b4c7-a076bb85c377 2025-04-22 13:41:02,853 - DEBUG - Requesting: http://10.0.0.56:8082/project/d3780f47-222d-4e0f-b459-40cea64c06e4 2025-04-22 13:41:02,924 - INFO - Validated that VN ctest-vn-85187344 is not found in API Server 2025-04-22 13:41:02,938 - DEBUG - VN ctest-vn-85187344 is not present in Agent 10.0.0.56 2025-04-22 13:41:02,938 - INFO - Validated that VN ctest-vn-85187344 is not in any agent 2025-04-22 13:41:02,954 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85187344 info 2025-04-22 13:41:02,954 - INFO - Deleting VN ctest-vn-05760607 2025-04-22 13:41:03,057 - DEBUG - Response for deleting network () 2025-04-22 13:41:03,057 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f36a8b71-19a3-406b-9806-d432d89e89dc 2025-04-22 13:41:03,065 - DEBUG - Response Code: 404 2025-04-22 13:41:03,065 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-22 13:41:03,070 - DEBUG - Requesting: http://10.0.0.56:8082/domain/8c726ea6-5801-4327-b4c7-a076bb85c377 2025-04-22 13:41:03,125 - DEBUG - Requesting: http://10.0.0.56:8082/project/d3780f47-222d-4e0f-b459-40cea64c06e4 2025-04-22 13:41:03,194 - INFO - Validated that VN ctest-vn-05760607 is not found in API Server 2025-04-22 13:41:03,205 - DEBUG - VN ctest-vn-05760607 is not present in Agent 10.0.0.56 2025-04-22 13:41:03,205 - INFO - Validated that VN ctest-vn-05760607 is not in any agent 2025-04-22 13:41:03,220 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05760607 info 2025-04-22 13:41:03,473 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 13:41:03,473 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-22 13:41:03,473 - INFO - -------------------------------------------------------------------------------- 2025-04-22 13:41:04,163 - INFO - Deleted project: ctest-TestBasicPolicy-87884293, ID : d3780f47-222d-4e0f-b459-40cea64c06e4