2025-06-05 16:31:38,072 - INFO - Domain Default found not creating 2025-06-05 16:31:38,241 - INFO - Project ctest-TestBasicPolicy-74195307 not found, creating it 2025-06-05 16:31:38,742 - INFO - Created Project:ctest-TestBasicPolicy-74195307, ID : ab28501f-47f6-41ec-bf1d-9fa13ae845f9 2025-06-05 16:31:40,397 - INFO - ================================================================================ 2025-06-05 16:31:40,398 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-05 16:31:40,398 - 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-06-05 16:31:40,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-06-05 16:31:40,653 - INFO - Initial checks done. Running the testcase now 2025-06-05 16:31:40,653 - INFO - 2025-06-05 16:31:41,595 - DEBUG - Response for create_network : {'network': {'id': '73a12a00-7ac0-42d3-9ed7-de43d0612e57', 'name': 'ctest-vn-24786005', 'tenant_id': 'ab28501f47f641ecbf1d9fa13ae845f9', 'project_id': 'ab28501f47f641ecbf1d9fa13ae845f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74195307', 'ctest-vn-24786005'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 16:31:41,773 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ae1013e-328d-4846-9865-2540d87ab009', 'name': '', 'tenant_id': 'ab28501f47f641ecbf1d9fa13ae845f9', 'network_id': '73a12a00-7ac0-42d3-9ed7-de43d0612e57', 'ip_version': 4, 'cidr': '187.216.111.0/26', 'allocation_pools': [{'start': '187.216.111.2', 'end': '187.216.111.62'}], 'gateway_ip': '187.216.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.216.111.2', 'tags': [], 'project_id': 'ab28501f47f641ecbf1d9fa13ae845f9'}} 2025-06-05 16:31:41,794 - INFO - Created VN ctest-vn-24786005 2025-06-05 16:31:41,854 - DEBUG - VN ctest-vn-24786005 UUID is 73a12a00-7ac0-42d3-9ed7-de43d0612e57 2025-06-05 16:31:42,188 - DEBUG - Response for create_network : {'network': {'id': '9e4e3300-3858-4d99-a372-71be1c17dae8', 'name': 'ctest-vn-53365002', 'tenant_id': 'ab28501f47f641ecbf1d9fa13ae845f9', 'project_id': 'ab28501f47f641ecbf1d9fa13ae845f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74195307', 'ctest-vn-53365002'], 'port_security_enabled': True, 'description': ''}} 2025-06-05 16:31:42,374 - DEBUG - Response for create_subnet : {'subnet': {'id': '519e797a-5dbb-4ac2-af2c-58855cd11bb0', 'name': '', 'tenant_id': 'ab28501f47f641ecbf1d9fa13ae845f9', 'network_id': '9e4e3300-3858-4d99-a372-71be1c17dae8', 'ip_version': 4, 'cidr': '99.130.236.0/26', 'allocation_pools': [{'start': '99.130.236.2', 'end': '99.130.236.62'}], 'gateway_ip': '99.130.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.130.236.2', 'tags': [], 'project_id': 'ab28501f47f641ecbf1d9fa13ae845f9'}} 2025-06-05 16:31:42,397 - INFO - Created VN ctest-vn-53365002 2025-06-05 16:31:42,454 - DEBUG - VN ctest-vn-53365002 UUID is 9e4e3300-3858-4d99-a372-71be1c17dae8 2025-06-05 16:31:42,572 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-24786005, 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-74195307:ctest-vn-53365002, 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-06-05 16:31:42,879 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73a12a00-7ac0-42d3-9ed7-de43d0612e57', 'name': 'ctest-vn-24786005', 'tenant_id': 'ab28501f47f641ecbf1d9fa13ae845f9', 'project_id': 'ab28501f47f641ecbf1d9fa13ae845f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6ae1013e-328d-4846-9865-2540d87ab009'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74195307', 'ctest-vn-24786005'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74195307', 'ctest-policy-allow-all-19771501']], 'subnet_ipam': [{'subnet_cidr': '187.216.111.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-05 16:31:43,127 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9e4e3300-3858-4d99-a372-71be1c17dae8', 'name': 'ctest-vn-53365002', 'tenant_id': 'ab28501f47f641ecbf1d9fa13ae845f9', 'project_id': 'ab28501f47f641ecbf1d9fa13ae845f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['519e797a-5dbb-4ac2-af2c-58855cd11bb0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74195307', 'ctest-vn-53365002'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74195307', 'ctest-policy-allow-all-19771501']], 'subnet_ipam': [{'subnet_cidr': '99.130.236.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-05 16:31:43,306 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-05 16:31:43,646 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-05 16:31:43,676 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b9b6de51-2895-40a4-9f53-86e07342ae76 2025-06-05 16:31:43,691 - DEBUG - Requesting: http://10.0.0.49:8082/project/ab28501f-47f6-41ec-bf1d-9fa13ae845f9 2025-06-05 16:31:43,771 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/73a12a00-7ac0-42d3-9ed7-de43d0612e57 2025-06-05 16:31:43,784 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/73a12a00-7ac0-42d3-9ed7-de43d0612e57 2025-06-05 16:31:43,796 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/04e28346-5e05-4271-b5f3-62266dc1d557 2025-06-05 16:31:43,804 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/04e28346-5e05-4271-b5f3-62266dc1d557 2025-06-05 16:31:43,812 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/0532ee26-2dca-4159-a893-d435febd07b0 2025-06-05 16:31:43,819 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-05 16:31:43,819 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/73a12a00-7ac0-42d3-9ed7-de43d0612e57 2025-06-05 16:31:43,829 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/04e28346-5e05-4271-b5f3-62266dc1d557 2025-06-05 16:31:43,845 - INFO - Verified VN network id 8 for VN 73a12a00-7ac0-42d3-9ed7-de43d0612e57 2025-06-05 16:31:43,845 - INFO - Verifications in API Server for VN ctest-vn-24786005 passed 2025-06-05 16:31:43,845 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/73a12a00-7ac0-42d3-9ed7-de43d0612e57 2025-06-05 16:31:43,855 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/04e28346-5e05-4271-b5f3-62266dc1d557 2025-06-05 16:31:43,863 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/04e28346-5e05-4271-b5f3-62266dc1d557 2025-06-05 16:31:43,871 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/0532ee26-2dca-4159-a893-d435febd07b0 2025-06-05 16:31:43,884 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-24786005', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74195307', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8331986967159915219', 'uuid-lslong': '11445861360825609815'}, 'enable': 'true', 'created': '2025-06-05T16:31:41', 'last-modified': '2025-06-05T16:31:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.028275'} 2025-06-05 16:31:43,891 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-05 16:31:43,891 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24786005 passed 2025-06-05 16:31:43,891 - DEBUG - ====Verifying policy data for ctest-vn-24786005 in API_Server ====== 2025-06-05 16:31:43,891 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-05 16:31:43,897 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b9b6de51-2895-40a4-9f53-86e07342ae76 2025-06-05 16:31:43,910 - DEBUG - Requesting: http://10.0.0.49:8082/project/ab28501f-47f6-41ec-bf1d-9fa13ae845f9 2025-06-05 16:31:43,988 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/73a12a00-7ac0-42d3-9ed7-de43d0612e57 2025-06-05 16:31:43,999 - DEBUG - ==>Verifying data for policy with id: 3be5f77b-ec73-4a78-aeed-644f3e774022, fqn: ['default-domain', 'ctest-TestBasicPolicy-74195307', 'ctest-policy-allow-all-19771501'] 2025-06-05 16:31:43,999 - INFO - VN ctest-vn-24786005 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-05 16:31:43,999 - DEBUG - Verifying the vn in opserver 2025-06-05 16:31:43,999 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-24786005 virtual network link through opserver 10.0.0.49 2025-06-05 16:31:43,999 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-05 16:31:44,336 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-05 16:31:44,394 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-24786005', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-24786005?flat'} 2025-06-05 16:31:44,394 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-24786005 is found in opserver 2025-06-05 16:31:44,408 - DEBUG - Do not have enough data to verify VN in agent 2025-06-05 16:31:44,413 - DEBUG - VRF ids for VN ctest-vn-24786005: {} 2025-06-05 16:31:44,413 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-05 16:31:44,419 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b9b6de51-2895-40a4-9f53-86e07342ae76 2025-06-05 16:31:44,432 - DEBUG - Requesting: http://10.0.0.49:8082/project/ab28501f-47f6-41ec-bf1d-9fa13ae845f9 2025-06-05 16:31:44,509 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9e4e3300-3858-4d99-a372-71be1c17dae8 2025-06-05 16:31:44,523 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9e4e3300-3858-4d99-a372-71be1c17dae8 2025-06-05 16:31:44,536 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1307a25b-7bcb-4b77-8f2a-2ed78561ff21 2025-06-05 16:31:44,544 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1307a25b-7bcb-4b77-8f2a-2ed78561ff21 2025-06-05 16:31:44,552 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/f913a96c-b715-4a44-8434-73d46b50dd4a 2025-06-05 16:31:44,559 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-05 16:31:44,560 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9e4e3300-3858-4d99-a372-71be1c17dae8 2025-06-05 16:31:44,570 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1307a25b-7bcb-4b77-8f2a-2ed78561ff21 2025-06-05 16:31:44,586 - INFO - Verified VN network id 9 for VN 9e4e3300-3858-4d99-a372-71be1c17dae8 2025-06-05 16:31:44,587 - INFO - Verifications in API Server for VN ctest-vn-53365002 passed 2025-06-05 16:31:44,587 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9e4e3300-3858-4d99-a372-71be1c17dae8 2025-06-05 16:31:44,598 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1307a25b-7bcb-4b77-8f2a-2ed78561ff21 2025-06-05 16:31:44,605 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1307a25b-7bcb-4b77-8f2a-2ed78561ff21 2025-06-05 16:31:44,613 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/f913a96c-b715-4a44-8434-73d46b50dd4a 2025-06-05 16:31:44,626 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-53365002', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74195307', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11407110982214372761', 'uuid-lslong': '11777601036856318696'}, 'enable': 'true', 'created': '2025-06-05T16:31:42', 'last-modified': '2025-06-05T16:31:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.523001'} 2025-06-05 16:31:44,633 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-05 16:31:44,633 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53365002 passed 2025-06-05 16:31:44,634 - DEBUG - ====Verifying policy data for ctest-vn-53365002 in API_Server ====== 2025-06-05 16:31:44,634 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-05 16:31:44,640 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b9b6de51-2895-40a4-9f53-86e07342ae76 2025-06-05 16:31:44,652 - DEBUG - Requesting: http://10.0.0.49:8082/project/ab28501f-47f6-41ec-bf1d-9fa13ae845f9 2025-06-05 16:31:44,725 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9e4e3300-3858-4d99-a372-71be1c17dae8 2025-06-05 16:31:44,736 - DEBUG - ==>Verifying data for policy with id: 3be5f77b-ec73-4a78-aeed-644f3e774022, fqn: ['default-domain', 'ctest-TestBasicPolicy-74195307', 'ctest-policy-allow-all-19771501'] 2025-06-05 16:31:44,736 - INFO - VN ctest-vn-53365002 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-05 16:31:44,737 - DEBUG - Verifying the vn in opserver 2025-06-05 16:31:44,737 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-53365002 virtual network link through opserver 10.0.0.49 2025-06-05 16:31:44,737 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-05 16:31:44,748 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-53365002', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-53365002?flat'} 2025-06-05 16:31:44,748 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-53365002 is found in opserver 2025-06-05 16:31:44,761 - DEBUG - Do not have enough data to verify VN in agent 2025-06-05 16:31:44,767 - DEBUG - VRF ids for VN ctest-vn-53365002: {} 2025-06-05 16:31:44,830 - DEBUG - Services list from nova: [, , ] 2025-06-05 16:31:45,960 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3406-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3406-1) 2025-06-05 16:31:47,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3406-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3406-1) 2025-06-05 16:31:47,350 - INFO - Waiting for VM ctest-TestBasicPolicy-74195307-58625900 to be up.. 2025-06-05 16:31:47,455 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-05 16:31:52,551 - DEBUG - VM is in ACTIVE state now 2025-06-05 16:31:52,551 - INFO - VM name : ctest-TestBasicPolicy-74195307-58625900 2025-06-05 16:31:52,645 - DEBUG - VM ctest-TestBasicPolicy-74195307-58625900 ID is 8158fed8-e112-4e64-95d6-9007cfa019f8 2025-06-05 16:31:52,666 - DEBUG - VM ctest-TestBasicPolicy-74195307-58625900 launched on Node cn-jenkins-deploy-platform-ansible-os-3406-1 2025-06-05 16:31:52,754 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/8158fed8-e112-4e64-95d6-9007cfa019f8 2025-06-05 16:31:52,766 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/f294fd42-3e9b-492e-ac54-a05fbe385377 2025-06-05 16:31:56,035 - 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 1018ms') 2025-06-05 16:31:56,035 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74195307-58625900 failed! 2025-06-05 16:31:56,094 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74195307:ctest-vn-24786005 is 187.216.111.1 and allocation pool is NOT set 2025-06-05 16:31:58,153 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.651 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.651/3.328/6.006/2.677 ms') 2025-06-05 16:31:58,153 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74195307-58625900 passed 2025-06-05 16:31:58,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 16:31:58,310 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74195307-58625900, IP 187.216.111.3, Port 22 2025-06-05 16:31:58,484 - DEBUG - VM ctest-TestBasicPolicy-74195307-58625900 is ready for SSH connections 2025-06-05 16:31:58,485 - INFO - Waiting for VM ctest-TestBasicPolicy-74195307-40145312 to be up.. 2025-06-05 16:31:58,571 - DEBUG - VM is in ACTIVE state now 2025-06-05 16:31:58,571 - INFO - VM name : ctest-TestBasicPolicy-74195307-40145312 2025-06-05 16:31:58,654 - DEBUG - VM ctest-TestBasicPolicy-74195307-40145312 ID is 6899865c-6228-4c6b-9dc2-6a1954351046 2025-06-05 16:31:58,654 - DEBUG - VM ctest-TestBasicPolicy-74195307-40145312 launched on Node cn-jenkins-deploy-platform-ansible-os-3406-1 2025-06-05 16:31:58,743 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6899865c-6228-4c6b-9dc2-6a1954351046 2025-06-05 16:31:58,753 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/06b859e6-0138-4968-b6f6-b2acdb563320 2025-06-05 16:32:00,004 - 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=8.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.36 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 = 1.361/4.694/8.027/3.333 ms') 2025-06-05 16:32:00,004 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74195307-40145312 passed 2025-06-05 16:32:00,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 16:32:00,158 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74195307-40145312, IP 99.130.236.3, Port 22 2025-06-05 16:32:00,324 - DEBUG - VM ctest-TestBasicPolicy-74195307-40145312 is ready for SSH connections 2025-06-05 16:32:00,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 16:32:00,324 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.130.236.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-05 16:32:00,324 - DEBUG - ping -s 56 -c 3 -W 1 99.130.236.3 2025-06-05 16:32:04,462 - DEBUG - PING 99.130.236.3 (99.130.236.3): 56 data bytes 64 bytes from 99.130.236.3: seq=0 ttl=63 time=3.722 ms 64 bytes from 99.130.236.3: seq=1 ttl=63 time=1.192 ms 64 bytes from 99.130.236.3: seq=2 ttl=63 time=0.886 ms --- 99.130.236.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.933/3.722 ms 2025-06-05 16:32:04,462 - INFO - Ping to IP 99.130.236.3 from VM ctest-TestBasicPolicy-74195307-58625900 passed 2025-06-05 16:32:04,642 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3be5f77b-ec73-4a78-aeed-644f3e774022", "href": "http://10.0.0.49:8082/network-policy/3be5f77b-ec73-4a78-aeed-644f3e774022"}} 2025-06-05 16:32:04,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 16:32:04,642 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.130.236.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-05 16:32:04,642 - DEBUG - ping -s 56 -c 3 -W 1 99.130.236.3 2025-06-05 16:32:07,867 - DEBUG - PING 99.130.236.3 (99.130.236.3): 56 data bytes 64 bytes from 99.130.236.3: seq=0 ttl=63 time=1.332 ms --- 99.130.236.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.332/1.332/1.332 ms 2025-06-05 16:32:07,867 - WARNING - Ping to IP 99.130.236.3 from VM ctest-TestBasicPolicy-74195307-58625900 failed 2025-06-05 16:32:07,867 - INFO - Deleting VM ctest-TestBasicPolicy-74195307-40145312 2025-06-05 16:32:07,939 - INFO - Deleting VM ctest-TestBasicPolicy-74195307-58625900 2025-06-05 16:32:08,363 - INFO - Deleted policy ctest-policy-allow-all-19771501 2025-06-05 16:32:08,363 - INFO - Deleting VN ctest-vn-53365002 2025-06-05 16:32:08,399 - DEBUG - VN 9e4e3300-3858-4d99-a372-71be1c17dae8 still in use: Unable to complete operation on network 9e4e3300-3858-4d99-a372-71be1c17dae8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-384d362e-ad46-4373-8b9a-f0794dc04c9a'] 2025-06-05 16:32:08,399 - WARNING - Deleting VN ctest-vn-53365002 failed..Will retry 2025-06-05 16:32:10,518 - DEBUG - Response for deleting network () 2025-06-05 16:32:10,518 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1307a25b-7bcb-4b77-8f2a-2ed78561ff21 2025-06-05 16:32:10,525 - DEBUG - Response Code: 404 2025-06-05 16:32:10,530 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-05 16:32:10,540 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b9b6de51-2895-40a4-9f53-86e07342ae76 2025-06-05 16:32:10,596 - DEBUG - Requesting: http://10.0.0.49:8082/project/ab28501f-47f6-41ec-bf1d-9fa13ae845f9 2025-06-05 16:32:10,679 - INFO - Validated that VN ctest-vn-53365002 is not found in API Server 2025-06-05 16:32:10,690 - DEBUG - VN ctest-vn-53365002 is not present in Agent 10.0.0.49 2025-06-05 16:32:10,690 - INFO - Validated that VN ctest-vn-53365002 is not in any agent 2025-06-05 16:32:10,710 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53365002 info 2025-06-05 16:32:10,711 - INFO - Deleting VN ctest-vn-24786005 2025-06-05 16:32:10,821 - DEBUG - Response for deleting network () 2025-06-05 16:32:10,821 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/04e28346-5e05-4271-b5f3-62266dc1d557 2025-06-05 16:32:10,828 - DEBUG - Response Code: 404 2025-06-05 16:32:10,829 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-05 16:32:10,835 - DEBUG - Requesting: http://10.0.0.49:8082/domain/b9b6de51-2895-40a4-9f53-86e07342ae76 2025-06-05 16:32:10,887 - DEBUG - Requesting: http://10.0.0.49:8082/project/ab28501f-47f6-41ec-bf1d-9fa13ae845f9 2025-06-05 16:32:10,969 - INFO - Validated that VN ctest-vn-24786005 is not found in API Server 2025-06-05 16:32:10,984 - DEBUG - VN ctest-vn-24786005 is not present in Agent 10.0.0.49 2025-06-05 16:32:10,984 - INFO - Validated that VN ctest-vn-24786005 is not in any agent 2025-06-05 16:32:11,004 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24786005 info 2025-06-05 16:32:11,260 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 16:32:11,260 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-06-05 16:32:11,260 - INFO - -------------------------------------------------------------------------------- 2025-06-05 16:32:11,992 - INFO - Deleted project: ctest-TestBasicPolicy-74195307, ID : ab28501f-47f6-41ec-bf1d-9fa13ae845f9