2025-06-30 02:33:30,290 - INFO - Domain Default found not creating 2025-06-30 02:33:30,418 - INFO - Project ctest-TestBasicPolicy-07190810 not found, creating it 2025-06-30 02:33:30,858 - INFO - Created Project:ctest-TestBasicPolicy-07190810, ID : f7053ae7-ed59-4eec-8cff-5baa31e71e76 2025-06-30 02:33:32,184 - INFO - ================================================================================ 2025-06-30 02:33:32,184 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 02:33:32,184 - 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-30 02:33:32,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with 2025-06-30 02:33:32,440 - INFO - Initial checks done. Running the testcase now 2025-06-30 02:33:32,440 - INFO - 2025-06-30 02:33:32,955 - DEBUG - Response for create_network : {'network': {'id': '3896d7ff-e0c8-42cc-953a-4845c9d33a1b', 'name': 'ctest-vn-55596769', 'tenant_id': 'f7053ae7ed594eec8cff5baa31e71e76', 'project_id': 'f7053ae7ed594eec8cff5baa31e71e76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07190810', 'ctest-vn-55596769'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:33:33,127 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e79e9d5e-01fd-4100-ac2f-64046ed8d978', 'name': '', 'tenant_id': 'f7053ae7ed594eec8cff5baa31e71e76', 'network_id': '3896d7ff-e0c8-42cc-953a-4845c9d33a1b', 'ip_version': 4, 'cidr': '215.112.154.192/26', 'allocation_pools': [{'start': '215.112.154.194', 'end': '215.112.154.254'}], 'gateway_ip': '215.112.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.112.154.194', 'tags': [], 'project_id': 'f7053ae7ed594eec8cff5baa31e71e76'}} 2025-06-30 02:33:33,145 - INFO - Created VN ctest-vn-55596769 2025-06-30 02:33:33,198 - DEBUG - VN ctest-vn-55596769 UUID is 3896d7ff-e0c8-42cc-953a-4845c9d33a1b 2025-06-30 02:33:33,510 - DEBUG - Response for create_network : {'network': {'id': 'c01dfd1b-009f-48d6-92c8-7e2b0168eb55', 'name': 'ctest-vn-75191319', 'tenant_id': 'f7053ae7ed594eec8cff5baa31e71e76', 'project_id': 'f7053ae7ed594eec8cff5baa31e71e76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07190810', 'ctest-vn-75191319'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:33:33,669 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c654fc73-8d33-4ba8-82a8-2179d410a093', 'name': '', 'tenant_id': 'f7053ae7ed594eec8cff5baa31e71e76', 'network_id': 'c01dfd1b-009f-48d6-92c8-7e2b0168eb55', 'ip_version': 4, 'cidr': '114.152.86.64/26', 'allocation_pools': [{'start': '114.152.86.66', 'end': '114.152.86.126'}], 'gateway_ip': '114.152.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.152.86.66', 'tags': [], 'project_id': 'f7053ae7ed594eec8cff5baa31e71e76'}} 2025-06-30 02:33:33,687 - INFO - Created VN ctest-vn-75191319 2025-06-30 02:33:33,738 - DEBUG - VN ctest-vn-75191319 UUID is c01dfd1b-009f-48d6-92c8-7e2b0168eb55 2025-06-30 02:33:33,886 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-55596769, 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-07190810:ctest-vn-75191319, 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-30 02:33:34,177 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3896d7ff-e0c8-42cc-953a-4845c9d33a1b', 'name': 'ctest-vn-55596769', 'tenant_id': 'f7053ae7ed594eec8cff5baa31e71e76', 'project_id': 'f7053ae7ed594eec8cff5baa31e71e76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e79e9d5e-01fd-4100-ac2f-64046ed8d978'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07190810', 'ctest-vn-55596769'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07190810', 'ctest-policy-allow-all-48960616']], 'subnet_ipam': [{'subnet_cidr': '215.112.154.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:33:34,448 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c01dfd1b-009f-48d6-92c8-7e2b0168eb55', 'name': 'ctest-vn-75191319', 'tenant_id': 'f7053ae7ed594eec8cff5baa31e71e76', 'project_id': 'f7053ae7ed594eec8cff5baa31e71e76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c654fc73-8d33-4ba8-82a8-2179d410a093'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07190810', 'ctest-vn-75191319'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07190810', 'ctest-policy-allow-all-48960616']], 'subnet_ipam': [{'subnet_cidr': '114.152.86.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 02:33:34,590 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 02:33:34,887 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 02:33:34,912 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2079f23d-ad5a-4df4-a8b3-dec8e90e045f 2025-06-30 02:33:34,925 - DEBUG - Requesting: http://10.0.0.19:8082/project/f7053ae7-ed59-4eec-8cff-5baa31e71e76 2025-06-30 02:33:34,998 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3896d7ff-e0c8-42cc-953a-4845c9d33a1b 2025-06-30 02:33:35,008 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3896d7ff-e0c8-42cc-953a-4845c9d33a1b 2025-06-30 02:33:35,017 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/571d6b5b-d218-4d64-8d12-e149a58d67aa 2025-06-30 02:33:35,023 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/571d6b5b-d218-4d64-8d12-e149a58d67aa 2025-06-30 02:33:35,029 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/355ee379-8212-4774-a3e7-e31a4c51f0a9 2025-06-30 02:33:35,035 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 02:33:35,035 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3896d7ff-e0c8-42cc-953a-4845c9d33a1b 2025-06-30 02:33:35,044 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/571d6b5b-d218-4d64-8d12-e149a58d67aa 2025-06-30 02:33:35,055 - INFO - Verified VN network id 8 for VN 3896d7ff-e0c8-42cc-953a-4845c9d33a1b 2025-06-30 02:33:35,055 - INFO - Verifications in API Server for VN ctest-vn-55596769 passed 2025-06-30 02:33:35,056 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3896d7ff-e0c8-42cc-953a-4845c9d33a1b 2025-06-30 02:33:35,064 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/571d6b5b-d218-4d64-8d12-e149a58d67aa 2025-06-30 02:33:35,070 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/571d6b5b-d218-4d64-8d12-e149a58d67aa 2025-06-30 02:33:35,075 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/355ee379-8212-4774-a3e7-e31a4c51f0a9 2025-06-30 02:33:35,086 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-55596769', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07190810', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4077684006618415820', 'uuid-lslong': '10752986524876487195'}, 'enable': 'true', 'created': '2025-06-30T02:33:32', 'last-modified': '2025-06-30T02:33:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927944'} 2025-06-30 02:33:35,092 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 02:33:35,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55596769 passed 2025-06-30 02:33:35,093 - DEBUG - ====Verifying policy data for ctest-vn-55596769 in API_Server ====== 2025-06-30 02:33:35,093 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 02:33:35,098 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2079f23d-ad5a-4df4-a8b3-dec8e90e045f 2025-06-30 02:33:35,108 - DEBUG - Requesting: http://10.0.0.19:8082/project/f7053ae7-ed59-4eec-8cff-5baa31e71e76 2025-06-30 02:33:35,180 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3896d7ff-e0c8-42cc-953a-4845c9d33a1b 2025-06-30 02:33:35,189 - DEBUG - ==>Verifying data for policy with id: 4dda6c36-ba45-4817-9f8c-1b289b257701, fqn: ['default-domain', 'ctest-TestBasicPolicy-07190810', 'ctest-policy-allow-all-48960616'] 2025-06-30 02:33:35,189 - INFO - VN ctest-vn-55596769 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 02:33:35,189 - DEBUG - Verifying the vn in opserver 2025-06-30 02:33:35,189 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-55596769 virtual network link through opserver 10.0.0.19 2025-06-30 02:33:35,190 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-30 02:33:35,480 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-30 02:33:35,533 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-55596769', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-55596769?flat'} 2025-06-30 02:33:35,533 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-55596769 is found in opserver 2025-06-30 02:33:35,543 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 02:33:35,548 - DEBUG - VRF ids for VN ctest-vn-55596769: {} 2025-06-30 02:33:35,548 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 02:33:35,554 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2079f23d-ad5a-4df4-a8b3-dec8e90e045f 2025-06-30 02:33:35,565 - DEBUG - Requesting: http://10.0.0.19:8082/project/f7053ae7-ed59-4eec-8cff-5baa31e71e76 2025-06-30 02:33:35,639 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c01dfd1b-009f-48d6-92c8-7e2b0168eb55 2025-06-30 02:33:35,650 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c01dfd1b-009f-48d6-92c8-7e2b0168eb55 2025-06-30 02:33:35,659 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/74750136-7d58-4ac3-b398-fffda45eefca 2025-06-30 02:33:35,666 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/74750136-7d58-4ac3-b398-fffda45eefca 2025-06-30 02:33:35,673 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3707a0a6-1f57-4fc4-a403-983f1278b881 2025-06-30 02:33:35,679 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 02:33:35,679 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c01dfd1b-009f-48d6-92c8-7e2b0168eb55 2025-06-30 02:33:35,688 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/74750136-7d58-4ac3-b398-fffda45eefca 2025-06-30 02:33:35,703 - INFO - Verified VN network id 9 for VN c01dfd1b-009f-48d6-92c8-7e2b0168eb55 2025-06-30 02:33:35,703 - INFO - Verifications in API Server for VN ctest-vn-75191319 passed 2025-06-30 02:33:35,703 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c01dfd1b-009f-48d6-92c8-7e2b0168eb55 2025-06-30 02:33:35,712 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/74750136-7d58-4ac3-b398-fffda45eefca 2025-06-30 02:33:35,718 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/74750136-7d58-4ac3-b398-fffda45eefca 2025-06-30 02:33:35,726 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3707a0a6-1f57-4fc4-a403-983f1278b881 2025-06-30 02:33:35,737 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-75191319', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07190810', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13843499122023155926', 'uuid-lslong': '10576842448051956565'}, 'enable': 'true', 'created': '2025-06-30T02:33:33', 'last-modified': '2025-06-30T02:33:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.360320'} 2025-06-30 02:33:35,742 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 02:33:35,743 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75191319 passed 2025-06-30 02:33:35,743 - DEBUG - ====Verifying policy data for ctest-vn-75191319 in API_Server ====== 2025-06-30 02:33:35,743 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 02:33:35,747 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2079f23d-ad5a-4df4-a8b3-dec8e90e045f 2025-06-30 02:33:35,758 - DEBUG - Requesting: http://10.0.0.19:8082/project/f7053ae7-ed59-4eec-8cff-5baa31e71e76 2025-06-30 02:33:35,831 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c01dfd1b-009f-48d6-92c8-7e2b0168eb55 2025-06-30 02:33:35,841 - DEBUG - ==>Verifying data for policy with id: 4dda6c36-ba45-4817-9f8c-1b289b257701, fqn: ['default-domain', 'ctest-TestBasicPolicy-07190810', 'ctest-policy-allow-all-48960616'] 2025-06-30 02:33:35,841 - INFO - VN ctest-vn-75191319 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 02:33:35,841 - DEBUG - Verifying the vn in opserver 2025-06-30 02:33:35,841 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-75191319 virtual network link through opserver 10.0.0.19 2025-06-30 02:33:35,841 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-30 02:33:35,856 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-75191319', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-75191319?flat'} 2025-06-30 02:33:35,856 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-75191319 is found in opserver 2025-06-30 02:33:35,867 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 02:33:35,872 - DEBUG - VRF ids for VN ctest-vn-75191319: {} 2025-06-30 02:33:35,926 - DEBUG - Services list from nova: [, , ] 2025-06-30 02:33:36,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3570-1) 2025-06-30 02:33:38,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3570-1) 2025-06-30 02:33:38,049 - INFO - Waiting for VM ctest-TestBasicPolicy-07190810-59487482 to be up.. 2025-06-30 02:33:38,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 02:33:43,188 - DEBUG - VM is in ACTIVE state now 2025-06-30 02:33:43,188 - INFO - VM name : ctest-TestBasicPolicy-07190810-59487482 2025-06-30 02:33:43,256 - DEBUG - VM ctest-TestBasicPolicy-07190810-59487482 ID is ebe58faf-0cd0-44bc-8db9-b805f834b05e 2025-06-30 02:33:43,272 - DEBUG - VM ctest-TestBasicPolicy-07190810-59487482 launched on Node cn-jenkins-deploy-platform-ansible-os-3570-1 2025-06-30 02:33:43,339 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ebe58faf-0cd0-44bc-8db9-b805f834b05e 2025-06-30 02:33:43,347 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3e2011bb-8a87-40e1-8967-9459db52f7eb 2025-06-30 02:33:46,585 - 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 1008ms') 2025-06-30 02:33:46,586 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07190810-59487482 failed! 2025-06-30 02:33:46,642 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07190810:ctest-vn-55596769 is 215.112.154.193 and allocation pool is NOT set 2025-06-30 02:33:48,702 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/1.801/3.184/1.382 ms') 2025-06-30 02:33:48,702 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07190810-59487482 passed 2025-06-30 02:33:48,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:33:48,850 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07190810-59487482, IP 215.112.154.195, Port 22 2025-06-30 02:33:49,001 - DEBUG - VM ctest-TestBasicPolicy-07190810-59487482 is ready for SSH connections 2025-06-30 02:33:49,002 - INFO - Waiting for VM ctest-TestBasicPolicy-07190810-39652925 to be up.. 2025-06-30 02:33:49,074 - DEBUG - VM is in ACTIVE state now 2025-06-30 02:33:49,074 - INFO - VM name : ctest-TestBasicPolicy-07190810-39652925 2025-06-30 02:33:49,140 - DEBUG - VM ctest-TestBasicPolicy-07190810-39652925 ID is b0a6203f-ae81-45f5-90c4-441fb90b0109 2025-06-30 02:33:49,140 - DEBUG - VM ctest-TestBasicPolicy-07190810-39652925 launched on Node cn-jenkins-deploy-platform-ansible-os-3570-1 2025-06-30 02:33:49,208 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b0a6203f-ae81-45f5-90c4-441fb90b0109 2025-06-30 02:33:49,216 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c2688623-62e4-4382-91fe-92b338ace486 2025-06-30 02:33:50,450 - 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=4.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.985 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.985/2.598/4.211/1.613 ms') 2025-06-30 02:33:50,450 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07190810-39652925 passed 2025-06-30 02:33:50,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:33:50,603 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07190810-39652925, IP 114.152.86.67, Port 22 2025-06-30 02:33:50,765 - DEBUG - VM ctest-TestBasicPolicy-07190810-39652925 is ready for SSH connections 2025-06-30 02:33:50,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:33:50,765 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.152.86.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-30 02:33:50,765 - DEBUG - ping -s 56 -c 3 -W 1 114.152.86.67 2025-06-30 02:33:54,431 - DEBUG - PING 114.152.86.67 (114.152.86.67): 56 data bytes 64 bytes from 114.152.86.67: seq=0 ttl=63 time=3.160 ms 64 bytes from 114.152.86.67: seq=1 ttl=63 time=0.851 ms 64 bytes from 114.152.86.67: seq=2 ttl=63 time=0.780 ms --- 114.152.86.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/1.597/3.160 ms 2025-06-30 02:33:54,432 - INFO - Ping to IP 114.152.86.67 from VM ctest-TestBasicPolicy-07190810-59487482 passed 2025-06-30 02:33:54,610 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4dda6c36-ba45-4817-9f8c-1b289b257701", "href": "http://10.0.0.19:8082/network-policy/4dda6c36-ba45-4817-9f8c-1b289b257701"}} 2025-06-30 02:33:54,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 02:33:54,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.152.86.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-30 02:33:54,611 - DEBUG - ping -s 56 -c 3 -W 1 114.152.86.67 2025-06-30 02:33:57,817 - DEBUG - PING 114.152.86.67 (114.152.86.67): 56 data bytes --- 114.152.86.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-30 02:33:57,817 - WARNING - Ping to IP 114.152.86.67 from VM ctest-TestBasicPolicy-07190810-59487482 failed 2025-06-30 02:33:57,818 - INFO - Deleting VM ctest-TestBasicPolicy-07190810-39652925 2025-06-30 02:33:57,885 - INFO - Deleting VM ctest-TestBasicPolicy-07190810-59487482 2025-06-30 02:33:58,235 - INFO - Deleted policy ctest-policy-allow-all-48960616 2025-06-30 02:33:58,235 - INFO - Deleting VN ctest-vn-75191319 2025-06-30 02:33:58,270 - DEBUG - VN c01dfd1b-009f-48d6-92c8-7e2b0168eb55 still in use: Unable to complete operation on network c01dfd1b-009f-48d6-92c8-7e2b0168eb55. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5c340b5-0fde-48e3-b8e5-71bcff63d532'] 2025-06-30 02:33:58,270 - WARNING - Deleting VN ctest-vn-75191319 failed..Will retry 2025-06-30 02:34:00,382 - DEBUG - Response for deleting network () 2025-06-30 02:34:00,383 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/74750136-7d58-4ac3-b398-fffda45eefca 2025-06-30 02:34:00,392 - DEBUG - Response Code: 404 2025-06-30 02:34:00,392 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 02:34:00,398 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2079f23d-ad5a-4df4-a8b3-dec8e90e045f 2025-06-30 02:34:00,452 - DEBUG - Requesting: http://10.0.0.19:8082/project/f7053ae7-ed59-4eec-8cff-5baa31e71e76 2025-06-30 02:34:00,527 - INFO - Validated that VN ctest-vn-75191319 is not found in API Server 2025-06-30 02:34:00,538 - DEBUG - VN ctest-vn-75191319 is not present in Agent 10.0.0.19 2025-06-30 02:34:00,538 - INFO - Validated that VN ctest-vn-75191319 is not in any agent 2025-06-30 02:34:00,553 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75191319 info 2025-06-30 02:34:00,553 - INFO - Deleting VN ctest-vn-55596769 2025-06-30 02:34:00,652 - DEBUG - Response for deleting network () 2025-06-30 02:34:00,652 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/571d6b5b-d218-4d64-8d12-e149a58d67aa 2025-06-30 02:34:00,657 - DEBUG - Response Code: 404 2025-06-30 02:34:00,657 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-30 02:34:00,668 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2079f23d-ad5a-4df4-a8b3-dec8e90e045f 2025-06-30 02:34:00,724 - DEBUG - Requesting: http://10.0.0.19:8082/project/f7053ae7-ed59-4eec-8cff-5baa31e71e76 2025-06-30 02:34:00,796 - INFO - Validated that VN ctest-vn-55596769 is not found in API Server 2025-06-30 02:34:00,807 - DEBUG - VN ctest-vn-55596769 is not present in Agent 10.0.0.19 2025-06-30 02:34:00,807 - INFO - Validated that VN ctest-vn-55596769 is not in any agent 2025-06-30 02:34:00,823 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55596769 info 2025-06-30 02:34:01,071 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 02:34:01,071 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-30 02:34:01,071 - INFO - -------------------------------------------------------------------------------- 2025-06-30 02:34:01,734 - INFO - Deleted project: ctest-TestBasicPolicy-07190810, ID : f7053ae7-ed59-4eec-8cff-5baa31e71e76