2025-10-31 22:17:46,211 - INFO - Domain Default found not creating 2025-10-31 22:17:46,343 - INFO - Project ctest-TestBasicPolicy-33956641 not found, creating it 2025-10-31 22:17:46,774 - INFO - Created Project:ctest-TestBasicPolicy-33956641, ID : 08735bf1-3209-4b05-a644-8705118b6543 2025-10-31 22:17:48,124 - INFO - ================================================================================ 2025-10-31 22:17:48,124 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 22:17:48,124 - 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-10-31 22:17:48,387 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-31 22:17:48,387 - INFO - Initial checks done. Running the testcase now 2025-10-31 22:17:48,387 - INFO - 2025-10-31 22:17:48,921 - DEBUG - Response for create_network : {'network': {'id': 'd3f36d94-bae6-4344-92a1-ecf764fca022', 'name': 'ctest-vn-54897126', 'tenant_id': '08735bf132094b05a6448705118b6543', 'project_id': '08735bf132094b05a6448705118b6543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-vn-54897126'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 22:17:49,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b9fd757-3f16-4402-b8ae-3fff8c3cbe78', 'name': '', 'tenant_id': '08735bf132094b05a6448705118b6543', 'network_id': 'd3f36d94-bae6-4344-92a1-ecf764fca022', 'ip_version': 4, 'cidr': '16.248.104.64/26', 'allocation_pools': [{'start': '16.248.104.66', 'end': '16.248.104.126'}], 'gateway_ip': '16.248.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.248.104.66', 'tags': [], 'project_id': '08735bf132094b05a6448705118b6543'}} 2025-10-31 22:17:49,147 - INFO - Created VN ctest-vn-54897126 2025-10-31 22:17:49,197 - DEBUG - VN ctest-vn-54897126 UUID is d3f36d94-bae6-4344-92a1-ecf764fca022 2025-10-31 22:17:49,472 - DEBUG - Response for create_network : {'network': {'id': 'cf64b02a-e15f-48be-b599-c6798fbc0faf', 'name': 'ctest-vn-05060548', 'tenant_id': '08735bf132094b05a6448705118b6543', 'project_id': '08735bf132094b05a6448705118b6543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-vn-05060548'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 22:17:49,607 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7d3b909-332a-4ca0-a66f-3257143af9ac', 'name': '', 'tenant_id': '08735bf132094b05a6448705118b6543', 'network_id': 'cf64b02a-e15f-48be-b599-c6798fbc0faf', 'ip_version': 4, 'cidr': '77.236.61.0/26', 'allocation_pools': [{'start': '77.236.61.2', 'end': '77.236.61.62'}], 'gateway_ip': '77.236.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.236.61.2', 'tags': [], 'project_id': '08735bf132094b05a6448705118b6543'}} 2025-10-31 22:17:49,624 - INFO - Created VN ctest-vn-05060548 2025-10-31 22:17:49,677 - DEBUG - VN ctest-vn-05060548 UUID is cf64b02a-e15f-48be-b599-c6798fbc0faf 2025-10-31 22:17:49,825 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126, 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-33956641:ctest-vn-05060548, 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-10-31 22:17:50,110 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3f36d94-bae6-4344-92a1-ecf764fca022', 'name': 'ctest-vn-54897126', 'tenant_id': '08735bf132094b05a6448705118b6543', 'project_id': '08735bf132094b05a6448705118b6543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b9fd757-3f16-4402-b8ae-3fff8c3cbe78'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-vn-54897126'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-policy-allow-all-40055947']], 'subnet_ipam': [{'subnet_cidr': '16.248.104.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 22:17:50,328 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf64b02a-e15f-48be-b599-c6798fbc0faf', 'name': 'ctest-vn-05060548', 'tenant_id': '08735bf132094b05a6448705118b6543', 'project_id': '08735bf132094b05a6448705118b6543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7d3b909-332a-4ca0-a66f-3257143af9ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-vn-05060548'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-policy-allow-all-40055947']], 'subnet_ipam': [{'subnet_cidr': '77.236.61.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 22:17:50,481 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 22:17:50,782 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 22:17:50,809 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b1cd44bd-cd8e-4086-8411-09798cb9530b 2025-10-31 22:17:50,821 - DEBUG - Requesting: http://10.0.0.50:8082/project/08735bf1-3209-4b05-a644-8705118b6543 2025-10-31 22:17:50,891 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3f36d94-bae6-4344-92a1-ecf764fca022 2025-10-31 22:17:50,901 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3f36d94-bae6-4344-92a1-ecf764fca022 2025-10-31 22:17:50,909 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2 2025-10-31 22:17:50,915 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2 2025-10-31 22:17:50,920 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b69e2447-4148-40f1-a3a7-aa16d9d43f90 2025-10-31 22:17:50,925 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 22:17:50,925 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3f36d94-bae6-4344-92a1-ecf764fca022 2025-10-31 22:17:50,932 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2 2025-10-31 22:17:50,944 - INFO - Verified VN network id 10 for VN d3f36d94-bae6-4344-92a1-ecf764fca022 2025-10-31 22:17:50,944 - INFO - Verifications in API Server for VN ctest-vn-54897126 passed 2025-10-31 22:17:50,944 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3f36d94-bae6-4344-92a1-ecf764fca022 2025-10-31 22:17:50,951 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2 2025-10-31 22:17:50,957 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2 2025-10-31 22:17:50,963 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b69e2447-4148-40f1-a3a7-aa16d9d43f90 2025-10-31 22:17:50,973 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33956641', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15272671246901723972', 'uuid-lslong': '10565986748083249186'}, 'enable': 'true', 'created': '2025-10-31T22:17:48', 'last-modified': '2025-10-31T22:17:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.882958'} 2025-10-31 22:17:50,980 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 22:17:50,980 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54897126 passed 2025-10-31 22:17:50,980 - DEBUG - ====Verifying policy data for ctest-vn-54897126 in API_Server ====== 2025-10-31 22:17:50,980 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 22:17:50,986 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b1cd44bd-cd8e-4086-8411-09798cb9530b 2025-10-31 22:17:50,996 - DEBUG - Requesting: http://10.0.0.50:8082/project/08735bf1-3209-4b05-a644-8705118b6543 2025-10-31 22:17:51,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3f36d94-bae6-4344-92a1-ecf764fca022 2025-10-31 22:17:51,074 - DEBUG - ==>Verifying data for policy with id: 8202999f-1848-4c35-b33c-14ca7a71444e, fqn: ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-policy-allow-all-40055947'] 2025-10-31 22:17:51,074 - INFO - VN ctest-vn-54897126 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 22:17:51,074 - DEBUG - Verifying the vn in opserver 2025-10-31 22:17:51,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126 virtual network link through opserver 10.0.0.50 2025-10-31 22:17:51,074 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-31 22:17:51,367 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-31 22:17:51,431 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126?flat'} 2025-10-31 22:17:51,431 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126 is found in opserver 2025-10-31 22:17:51,441 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 22:17:51,446 - DEBUG - VRF ids for VN ctest-vn-54897126: {} 2025-10-31 22:17:51,446 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 22:17:51,451 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b1cd44bd-cd8e-4086-8411-09798cb9530b 2025-10-31 22:17:51,461 - DEBUG - Requesting: http://10.0.0.50:8082/project/08735bf1-3209-4b05-a644-8705118b6543 2025-10-31 22:17:51,532 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf64b02a-e15f-48be-b599-c6798fbc0faf 2025-10-31 22:17:51,544 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf64b02a-e15f-48be-b599-c6798fbc0faf 2025-10-31 22:17:51,552 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a 2025-10-31 22:17:51,558 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a 2025-10-31 22:17:51,563 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3974c51d-83c5-4ef4-b5be-96ba4cb2cb24 2025-10-31 22:17:51,569 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 22:17:51,569 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf64b02a-e15f-48be-b599-c6798fbc0faf 2025-10-31 22:17:51,578 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a 2025-10-31 22:17:51,590 - INFO - Verified VN network id 11 for VN cf64b02a-e15f-48be-b599-c6798fbc0faf 2025-10-31 22:17:51,590 - INFO - Verifications in API Server for VN ctest-vn-05060548 passed 2025-10-31 22:17:51,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf64b02a-e15f-48be-b599-c6798fbc0faf 2025-10-31 22:17:51,598 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a 2025-10-31 22:17:51,604 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a 2025-10-31 22:17:51,610 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3974c51d-83c5-4ef4-b5be-96ba4cb2cb24 2025-10-31 22:17:51,619 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-05060548', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33956641', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14944263161738381502', 'uuid-lslong': '13085708417706495919'}, 'enable': 'true', 'created': '2025-10-31T22:17:49', 'last-modified': '2025-10-31T22:17:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.308803'} 2025-10-31 22:17:51,624 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 22:17:51,624 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05060548 passed 2025-10-31 22:17:51,624 - DEBUG - ====Verifying policy data for ctest-vn-05060548 in API_Server ====== 2025-10-31 22:17:51,624 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 22:17:51,630 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b1cd44bd-cd8e-4086-8411-09798cb9530b 2025-10-31 22:17:51,640 - DEBUG - Requesting: http://10.0.0.50:8082/project/08735bf1-3209-4b05-a644-8705118b6543 2025-10-31 22:17:51,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf64b02a-e15f-48be-b599-c6798fbc0faf 2025-10-31 22:17:51,717 - DEBUG - ==>Verifying data for policy with id: 8202999f-1848-4c35-b33c-14ca7a71444e, fqn: ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-policy-allow-all-40055947'] 2025-10-31 22:17:51,718 - INFO - VN ctest-vn-05060548 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 22:17:51,718 - DEBUG - Verifying the vn in opserver 2025-10-31 22:17:51,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-05060548 virtual network link through opserver 10.0.0.50 2025-10-31 22:17:51,718 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-31 22:17:51,728 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-05060548', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-05060548?flat'} 2025-10-31 22:17:51,728 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-05060548 is found in opserver 2025-10-31 22:17:51,738 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 22:17:51,741 - DEBUG - VRF ids for VN ctest-vn-05060548: {} 2025-10-31 22:17:51,792 - DEBUG - Services list from nova: [, , ] 2025-10-31 22:17:52,796 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4582-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4582-1) 2025-10-31 22:17:53,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4582-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4582-1) 2025-10-31 22:17:53,905 - INFO - Waiting for VM ctest-TestBasicPolicy-33956641-90160245 to be up.. 2025-10-31 22:17:53,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 22:17:59,061 - DEBUG - VM is in ACTIVE state now 2025-10-31 22:17:59,061 - INFO - VM name : ctest-TestBasicPolicy-33956641-90160245 2025-10-31 22:17:59,137 - DEBUG - VM ctest-TestBasicPolicy-33956641-90160245 ID is 62565f35-6863-4e89-809c-11c00cd6758a 2025-10-31 22:17:59,156 - DEBUG - VM ctest-TestBasicPolicy-33956641-90160245 launched on Node cn-jenkins-deploy-platform-ansible-os-4582-1 2025-10-31 22:17:59,241 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/62565f35-6863-4e89-809c-11c00cd6758a 2025-10-31 22:17:59,252 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0fca3aa1-f2d8-4476-aa18-7c0db7a3e281 2025-10-31 22:18:02,502 - 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 1019ms') 2025-10-31 22:18:02,502 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33956641-90160245 failed! 2025-10-31 22:18:02,557 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126 is 16.248.104.65 and allocation pool is NOT set 2025-10-31 22:18:04,617 - 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=2.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 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.469/1.630/2.792/1.161 ms') 2025-10-31 22:18:04,617 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33956641-90160245 passed 2025-10-31 22:18:04,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:18:04,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33956641-90160245, IP 16.248.104.67, Port 22 2025-10-31 22:18:04,938 - DEBUG - VM ctest-TestBasicPolicy-33956641-90160245 is ready for SSH connections 2025-10-31 22:18:04,939 - INFO - Waiting for VM ctest-TestBasicPolicy-33956641-64238888 to be up.. 2025-10-31 22:18:05,012 - DEBUG - VM is in ACTIVE state now 2025-10-31 22:18:05,012 - INFO - VM name : ctest-TestBasicPolicy-33956641-64238888 2025-10-31 22:18:05,098 - DEBUG - VM ctest-TestBasicPolicy-33956641-64238888 ID is 286be99b-e3d3-4bfb-9ea3-890b3e452be9 2025-10-31 22:18:05,098 - DEBUG - VM ctest-TestBasicPolicy-33956641-64238888 launched on Node cn-jenkins-deploy-platform-ansible-os-4582-1 2025-10-31 22:18:05,170 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/286be99b-e3d3-4bfb-9ea3-890b3e452be9 2025-10-31 22:18:05,177 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/02504cd9-5463-4c39-a8c4-a486fcb760c2 2025-10-31 22:18:06,411 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/2.141/3.805/1.663 ms') 2025-10-31 22:18:06,412 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33956641-64238888 passed 2025-10-31 22:18:06,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:18:06,561 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33956641-64238888, IP 77.236.61.3, Port 22 2025-10-31 22:18:06,717 - DEBUG - VM ctest-TestBasicPolicy-33956641-64238888 is ready for SSH connections 2025-10-31 22:18:06,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:18:06,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.236.61.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 22:18:06,717 - DEBUG - ping -s 56 -c 3 -W 1 77.236.61.3 2025-10-31 22:18:10,745 - DEBUG - PING 77.236.61.3 (77.236.61.3): 56 data bytes 64 bytes from 77.236.61.3: seq=0 ttl=63 time=3.146 ms 64 bytes from 77.236.61.3: seq=1 ttl=63 time=0.878 ms 64 bytes from 77.236.61.3: seq=2 ttl=63 time=1.037 ms --- 77.236.61.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/1.687/3.146 ms 2025-10-31 22:18:10,745 - INFO - Ping to IP 77.236.61.3 from VM ctest-TestBasicPolicy-33956641-90160245 passed 2025-10-31 22:18:10,917 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8202999f-1848-4c35-b33c-14ca7a71444e", "href": "http://10.0.0.50:8082/network-policy/8202999f-1848-4c35-b33c-14ca7a71444e"}} 2025-10-31 22:18:10,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:18:10,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.236.61.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 22:18:10,917 - DEBUG - ping -s 56 -c 3 -W 1 77.236.61.3 2025-10-31 22:18:14,122 - DEBUG - PING 77.236.61.3 (77.236.61.3): 56 data bytes --- 77.236.61.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 22:18:14,122 - WARNING - Ping to IP 77.236.61.3 from VM ctest-TestBasicPolicy-33956641-90160245 failed 2025-10-31 22:18:14,122 - INFO - Deleting VM ctest-TestBasicPolicy-33956641-64238888 2025-10-31 22:18:14,188 - INFO - Deleting VM ctest-TestBasicPolicy-33956641-90160245 2025-10-31 22:18:14,536 - INFO - Deleted policy ctest-policy-allow-all-40055947 2025-10-31 22:18:14,536 - INFO - Deleting VN ctest-vn-05060548 2025-10-31 22:18:14,573 - DEBUG - VN cf64b02a-e15f-48be-b599-c6798fbc0faf still in use: Unable to complete operation on network cf64b02a-e15f-48be-b599-c6798fbc0faf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5964d3f8-ce0c-489e-9370-6b4e76226f89'] 2025-10-31 22:18:14,573 - WARNING - Deleting VN ctest-vn-05060548 failed..Will retry 2025-10-31 22:18:16,672 - DEBUG - Response for deleting network () 2025-10-31 22:18:16,672 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a 2025-10-31 22:18:16,680 - DEBUG - Response Code: 404 2025-10-31 22:18:16,680 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 22:18:16,684 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b1cd44bd-cd8e-4086-8411-09798cb9530b 2025-10-31 22:18:16,738 - DEBUG - Requesting: http://10.0.0.50:8082/project/08735bf1-3209-4b05-a644-8705118b6543 2025-10-31 22:18:16,806 - INFO - Validated that VN ctest-vn-05060548 is not found in API Server 2025-10-31 22:18:16,816 - DEBUG - VN ctest-vn-05060548 is not present in Agent 10.0.0.50 2025-10-31 22:18:16,816 - INFO - Validated that VN ctest-vn-05060548 is not in any agent 2025-10-31 22:18:16,828 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05060548 info 2025-10-31 22:18:16,828 - INFO - Deleting VN ctest-vn-54897126 2025-10-31 22:18:16,929 - DEBUG - Response for deleting network () 2025-10-31 22:18:16,930 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2 2025-10-31 22:18:16,935 - DEBUG - Response Code: 404 2025-10-31 22:18:16,935 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 22:18:16,940 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b1cd44bd-cd8e-4086-8411-09798cb9530b 2025-10-31 22:18:16,993 - DEBUG - Requesting: http://10.0.0.50:8082/project/08735bf1-3209-4b05-a644-8705118b6543 2025-10-31 22:18:17,060 - INFO - Validated that VN ctest-vn-54897126 is not found in API Server 2025-10-31 22:18:17,069 - DEBUG - VN ctest-vn-54897126 is not present in Agent 10.0.0.50 2025-10-31 22:18:17,069 - INFO - Validated that VN ctest-vn-54897126 is not in any agent 2025-10-31 22:18:17,081 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54897126 info 2025-10-31 22:18:17,334 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 22:18:17,334 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-31 22:18:17,334 - INFO - -------------------------------------------------------------------------------- 2025-10-31 22:18:17,997 - INFO - Deleted project: ctest-TestBasicPolicy-33956641, ID : 08735bf1-3209-4b05-a644-8705118b6543