2025-10-30 09:12:35,405 - INFO - Domain Default found not creating 2025-10-30 09:12:35,529 - INFO - Project ctest-TestBasicPolicy-29120433 not found, creating it 2025-10-30 09:12:35,951 - INFO - Created Project:ctest-TestBasicPolicy-29120433, ID : 53306ba2-5b6a-47d0-a0e3-4dc99d75d197 2025-10-30 09:12:37,310 - INFO - ================================================================================ 2025-10-30 09:12:37,310 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 09:12:37,310 - 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-30 09:12:37,564 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-30 09:12:37,564 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:12:37,564 - INFO - 2025-10-30 09:12:38,099 - DEBUG - Response for create_network : {'network': {'id': '6ac2a79c-c73a-4294-b9ab-6673b06d698e', 'name': 'ctest-vn-56719474', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'project_id': '53306ba25b6a47d0a0e34dc99d75d197', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-vn-56719474'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:12:38,280 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff3375c4-5de2-4479-8ed0-23bd52cb3d9f', 'name': '', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'network_id': '6ac2a79c-c73a-4294-b9ab-6673b06d698e', 'ip_version': 4, 'cidr': '96.198.92.128/26', 'allocation_pools': [{'start': '96.198.92.130', 'end': '96.198.92.190'}], 'gateway_ip': '96.198.92.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.198.92.130', 'tags': [], 'project_id': '53306ba25b6a47d0a0e34dc99d75d197'}} 2025-10-30 09:12:38,294 - INFO - Created VN ctest-vn-56719474 2025-10-30 09:12:38,347 - DEBUG - VN ctest-vn-56719474 UUID is 6ac2a79c-c73a-4294-b9ab-6673b06d698e 2025-10-30 09:12:38,646 - DEBUG - Response for create_network : {'network': {'id': 'd584617a-55aa-4512-b44b-a1532f0dbe44', 'name': 'ctest-vn-81356867', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'project_id': '53306ba25b6a47d0a0e34dc99d75d197', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-vn-81356867'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:12:38,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d81aeb9-1214-496c-8810-cec1a81b61a9', 'name': '', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'network_id': 'd584617a-55aa-4512-b44b-a1532f0dbe44', 'ip_version': 4, 'cidr': '184.236.235.192/26', 'allocation_pools': [{'start': '184.236.235.194', 'end': '184.236.235.254'}], 'gateway_ip': '184.236.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.236.235.194', 'tags': [], 'project_id': '53306ba25b6a47d0a0e34dc99d75d197'}} 2025-10-30 09:12:38,879 - INFO - Created VN ctest-vn-81356867 2025-10-30 09:12:38,931 - DEBUG - VN ctest-vn-81356867 UUID is d584617a-55aa-4512-b44b-a1532f0dbe44 2025-10-30 09:12:39,075 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474, 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-29120433:ctest-vn-81356867, 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-30 09:12:39,362 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6ac2a79c-c73a-4294-b9ab-6673b06d698e', 'name': 'ctest-vn-56719474', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'project_id': '53306ba25b6a47d0a0e34dc99d75d197', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff3375c4-5de2-4479-8ed0-23bd52cb3d9f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-vn-56719474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-policy-allow-all-09426374']], 'subnet_ipam': [{'subnet_cidr': '96.198.92.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:12:39,577 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd584617a-55aa-4512-b44b-a1532f0dbe44', 'name': 'ctest-vn-81356867', 'tenant_id': '53306ba25b6a47d0a0e34dc99d75d197', 'project_id': '53306ba25b6a47d0a0e34dc99d75d197', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d81aeb9-1214-496c-8810-cec1a81b61a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-vn-81356867'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-policy-allow-all-09426374']], 'subnet_ipam': [{'subnet_cidr': '184.236.235.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:12:39,727 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:12:40,014 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:12:40,042 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3ad196e3-e9ed-448e-b324-761caacf56f0 2025-10-30 09:12:40,054 - DEBUG - Requesting: http://10.0.0.38:8082/project/53306ba2-5b6a-47d0-a0e3-4dc99d75d197 2025-10-30 09:12:40,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ac2a79c-c73a-4294-b9ab-6673b06d698e 2025-10-30 09:12:40,131 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ac2a79c-c73a-4294-b9ab-6673b06d698e 2025-10-30 09:12:40,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062 2025-10-30 09:12:40,145 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062 2025-10-30 09:12:40,151 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6655414b-94a4-41c0-a17f-d602564ff88e 2025-10-30 09:12:40,157 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 09:12:40,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ac2a79c-c73a-4294-b9ab-6673b06d698e 2025-10-30 09:12:40,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062 2025-10-30 09:12:40,176 - INFO - Verified VN network id 12 for VN 6ac2a79c-c73a-4294-b9ab-6673b06d698e 2025-10-30 09:12:40,176 - INFO - Verifications in API Server for VN ctest-vn-56719474 passed 2025-10-30 09:12:40,176 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ac2a79c-c73a-4294-b9ab-6673b06d698e 2025-10-30 09:12:40,184 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062 2025-10-30 09:12:40,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062 2025-10-30 09:12:40,197 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6655414b-94a4-41c0-a17f-d602564ff88e 2025-10-30 09:12:40,208 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29120433', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7692895405301449364', 'uuid-lslong': '13378899765101422990'}, 'enable': 'true', 'created': '2025-10-30T09:12:38', 'last-modified': '2025-10-30T09:12:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.870024'} 2025-10-30 09:12:40,213 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 09:12:40,213 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56719474 passed 2025-10-30 09:12:40,213 - DEBUG - ====Verifying policy data for ctest-vn-56719474 in API_Server ====== 2025-10-30 09:12:40,213 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:12:40,219 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3ad196e3-e9ed-448e-b324-761caacf56f0 2025-10-30 09:12:40,228 - DEBUG - Requesting: http://10.0.0.38:8082/project/53306ba2-5b6a-47d0-a0e3-4dc99d75d197 2025-10-30 09:12:40,297 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ac2a79c-c73a-4294-b9ab-6673b06d698e 2025-10-30 09:12:40,305 - DEBUG - ==>Verifying data for policy with id: 5fc02774-5571-4b36-8017-f17b62aa90d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-policy-allow-all-09426374'] 2025-10-30 09:12:40,305 - INFO - VN ctest-vn-56719474 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 09:12:40,305 - DEBUG - Verifying the vn in opserver 2025-10-30 09:12:40,305 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474 virtual network link through opserver 10.0.0.38 2025-10-30 09:12:40,305 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 09:12:40,597 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 09:12:40,661 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474?flat'} 2025-10-30 09:12:40,661 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474 is found in opserver 2025-10-30 09:12:40,671 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 09:12:40,675 - DEBUG - VRF ids for VN ctest-vn-56719474: {} 2025-10-30 09:12:40,675 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:12:40,680 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3ad196e3-e9ed-448e-b324-761caacf56f0 2025-10-30 09:12:40,691 - DEBUG - Requesting: http://10.0.0.38:8082/project/53306ba2-5b6a-47d0-a0e3-4dc99d75d197 2025-10-30 09:12:40,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d584617a-55aa-4512-b44b-a1532f0dbe44 2025-10-30 09:12:40,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d584617a-55aa-4512-b44b-a1532f0dbe44 2025-10-30 09:12:40,777 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183 2025-10-30 09:12:40,782 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183 2025-10-30 09:12:40,787 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a8acf8f7-923a-4383-9150-e5bb0f281749 2025-10-30 09:12:40,793 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 09:12:40,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d584617a-55aa-4512-b44b-a1532f0dbe44 2025-10-30 09:12:40,801 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183 2025-10-30 09:12:40,811 - INFO - Verified VN network id 13 for VN d584617a-55aa-4512-b44b-a1532f0dbe44 2025-10-30 09:12:40,811 - INFO - Verifications in API Server for VN ctest-vn-81356867 passed 2025-10-30 09:12:40,811 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d584617a-55aa-4512-b44b-a1532f0dbe44 2025-10-30 09:12:40,819 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183 2025-10-30 09:12:40,824 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183 2025-10-30 09:12:40,829 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a8acf8f7-923a-4383-9150-e5bb0f281749 2025-10-30 09:12:40,838 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-81356867', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29120433', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15385529405055583506', 'uuid-lslong': '12991654928724115012'}, 'enable': 'true', 'created': '2025-10-30T09:12:38', 'last-modified': '2025-10-30T09:12:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.281563'} 2025-10-30 09:12:40,843 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 09:12:40,843 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81356867 passed 2025-10-30 09:12:40,843 - DEBUG - ====Verifying policy data for ctest-vn-81356867 in API_Server ====== 2025-10-30 09:12:40,843 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:12:40,847 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3ad196e3-e9ed-448e-b324-761caacf56f0 2025-10-30 09:12:40,855 - DEBUG - Requesting: http://10.0.0.38:8082/project/53306ba2-5b6a-47d0-a0e3-4dc99d75d197 2025-10-30 09:12:40,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d584617a-55aa-4512-b44b-a1532f0dbe44 2025-10-30 09:12:40,934 - DEBUG - ==>Verifying data for policy with id: 5fc02774-5571-4b36-8017-f17b62aa90d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29120433', 'ctest-policy-allow-all-09426374'] 2025-10-30 09:12:40,934 - INFO - VN ctest-vn-81356867 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 09:12:40,934 - DEBUG - Verifying the vn in opserver 2025-10-30 09:12:40,934 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-81356867 virtual network link through opserver 10.0.0.38 2025-10-30 09:12:40,934 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 09:12:40,945 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-81356867', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-81356867?flat'} 2025-10-30 09:12:40,945 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-81356867 is found in opserver 2025-10-30 09:12:40,955 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 09:12:40,959 - DEBUG - VRF ids for VN ctest-vn-81356867: {} 2025-10-30 09:12:41,011 - DEBUG - Services list from nova: [, , ] 2025-10-30 09:12:41,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4537-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4537-1) 2025-10-30 09:12:43,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4537-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4537-1) 2025-10-30 09:12:43,099 - INFO - Waiting for VM ctest-TestBasicPolicy-29120433-72841354 to be up.. 2025-10-30 09:12:43,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 09:12:48,231 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:12:48,231 - INFO - VM name : ctest-TestBasicPolicy-29120433-72841354 2025-10-30 09:12:48,293 - DEBUG - VM ctest-TestBasicPolicy-29120433-72841354 ID is 4a23ec8b-3be8-441f-aaed-3983b0a06f72 2025-10-30 09:12:48,311 - DEBUG - VM ctest-TestBasicPolicy-29120433-72841354 launched on Node cn-jenkins-deploy-platform-ansible-os-4537-1 2025-10-30 09:12:48,373 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4a23ec8b-3be8-441f-aaed-3983b0a06f72 2025-10-30 09:12:48,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9248760b-dd4e-419d-8417-1deb19c6ef25 2025-10-30 09:12:51,624 - 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 1015ms') 2025-10-30 09:12:51,624 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29120433-72841354 failed! 2025-10-30 09:12:51,675 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29120433:ctest-vn-56719474 is 96.198.92.129 and allocation pool is NOT set 2025-10-30 09:12:53,740 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.439 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.439/1.508/2.577/1.069 ms') 2025-10-30 09:12:53,741 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29120433-72841354 passed 2025-10-30 09:12:53,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:12:53,888 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29120433-72841354, IP 96.198.92.131, Port 22 2025-10-30 09:12:54,043 - DEBUG - VM ctest-TestBasicPolicy-29120433-72841354 is ready for SSH connections 2025-10-30 09:12:54,043 - INFO - Waiting for VM ctest-TestBasicPolicy-29120433-70639816 to be up.. 2025-10-30 09:12:54,111 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:12:54,111 - INFO - VM name : ctest-TestBasicPolicy-29120433-70639816 2025-10-30 09:12:54,173 - DEBUG - VM ctest-TestBasicPolicy-29120433-70639816 ID is 95d5e4a2-6b8b-4317-8abe-edaa7ec035f6 2025-10-30 09:12:54,173 - DEBUG - VM ctest-TestBasicPolicy-29120433-70639816 launched on Node cn-jenkins-deploy-platform-ansible-os-4537-1 2025-10-30 09:12:54,236 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/95d5e4a2-6b8b-4317-8abe-edaa7ec035f6 2025-10-30 09:12:54,244 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a2da9713-1e57-4fc3-88a9-c93e03365127 2025-10-30 09:12:55,477 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.354 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.354/1.580/2.807/1.226 ms') 2025-10-30 09:12:55,477 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29120433-70639816 passed 2025-10-30 09:12:55,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:12:55,624 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29120433-70639816, IP 184.236.235.195, Port 22 2025-10-30 09:12:55,775 - DEBUG - VM ctest-TestBasicPolicy-29120433-70639816 is ready for SSH connections 2025-10-30 09:12:55,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:12:55,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.236.235.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 09:12:55,775 - DEBUG - ping -s 56 -c 3 -W 1 184.236.235.195 2025-10-30 09:12:59,466 - DEBUG - PING 184.236.235.195 (184.236.235.195): 56 data bytes 64 bytes from 184.236.235.195: seq=0 ttl=63 time=2.959 ms 64 bytes from 184.236.235.195: seq=1 ttl=63 time=0.818 ms 64 bytes from 184.236.235.195: seq=2 ttl=63 time=0.946 ms --- 184.236.235.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/1.574/2.959 ms 2025-10-30 09:12:59,466 - INFO - Ping to IP 184.236.235.195 from VM ctest-TestBasicPolicy-29120433-72841354 passed 2025-10-30 09:12:59,651 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5fc02774-5571-4b36-8017-f17b62aa90d6", "href": "http://10.0.0.38:8082/network-policy/5fc02774-5571-4b36-8017-f17b62aa90d6"}} 2025-10-30 09:12:59,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:12:59,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.236.235.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 09:12:59,652 - DEBUG - ping -s 56 -c 3 -W 1 184.236.235.195 2025-10-30 09:13:02,869 - DEBUG - PING 184.236.235.195 (184.236.235.195): 56 data bytes --- 184.236.235.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 09:13:02,869 - WARNING - Ping to IP 184.236.235.195 from VM ctest-TestBasicPolicy-29120433-72841354 failed 2025-10-30 09:13:02,869 - INFO - Deleting VM ctest-TestBasicPolicy-29120433-70639816 2025-10-30 09:13:02,931 - INFO - Deleting VM ctest-TestBasicPolicy-29120433-72841354 2025-10-30 09:13:03,282 - INFO - Deleted policy ctest-policy-allow-all-09426374 2025-10-30 09:13:03,283 - INFO - Deleting VN ctest-vn-81356867 2025-10-30 09:13:03,318 - DEBUG - VN d584617a-55aa-4512-b44b-a1532f0dbe44 still in use: Unable to complete operation on network d584617a-55aa-4512-b44b-a1532f0dbe44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7414b45b-1206-4b0b-82f9-34a1f10174ab'] 2025-10-30 09:13:03,318 - WARNING - Deleting VN ctest-vn-81356867 failed..Will retry 2025-10-30 09:13:05,438 - DEBUG - Response for deleting network () 2025-10-30 09:13:05,438 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/140ade4a-689d-4d14-b16e-7ed9aedad183 2025-10-30 09:13:05,443 - DEBUG - Response Code: 404 2025-10-30 09:13:05,443 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:13:05,454 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3ad196e3-e9ed-448e-b324-761caacf56f0 2025-10-30 09:13:05,510 - DEBUG - Requesting: http://10.0.0.38:8082/project/53306ba2-5b6a-47d0-a0e3-4dc99d75d197 2025-10-30 09:13:05,585 - INFO - Validated that VN ctest-vn-81356867 is not found in API Server 2025-10-30 09:13:05,596 - DEBUG - VN ctest-vn-81356867 is not present in Agent 10.0.0.38 2025-10-30 09:13:05,596 - INFO - Validated that VN ctest-vn-81356867 is not in any agent 2025-10-30 09:13:05,610 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81356867 info 2025-10-30 09:13:05,610 - INFO - Deleting VN ctest-vn-56719474 2025-10-30 09:13:05,711 - DEBUG - Response for deleting network () 2025-10-30 09:13:05,711 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b48ea945-60ab-4974-812d-a441e2be0062 2025-10-30 09:13:05,718 - DEBUG - Response Code: 404 2025-10-30 09:13:05,718 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:13:05,726 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3ad196e3-e9ed-448e-b324-761caacf56f0 2025-10-30 09:13:05,780 - DEBUG - Requesting: http://10.0.0.38:8082/project/53306ba2-5b6a-47d0-a0e3-4dc99d75d197 2025-10-30 09:13:05,848 - INFO - Validated that VN ctest-vn-56719474 is not found in API Server 2025-10-30 09:13:05,859 - DEBUG - VN ctest-vn-56719474 is not present in Agent 10.0.0.38 2025-10-30 09:13:05,859 - INFO - Validated that VN ctest-vn-56719474 is not in any agent 2025-10-30 09:13:05,876 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56719474 info 2025-10-30 09:13:06,140 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 09:13:06,140 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-30 09:13:06,140 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:13:06,806 - INFO - Deleted project: ctest-TestBasicPolicy-29120433, ID : 53306ba2-5b6a-47d0-a0e3-4dc99d75d197