2025-08-25 21:10:18,886 - INFO - Domain Default found not creating 2025-08-25 21:10:19,029 - INFO - Project ctest-TestBasicPolicy-98224652 not found, creating it 2025-08-25 21:10:19,534 - INFO - Created Project:ctest-TestBasicPolicy-98224652, ID : 77641285-9002-4258-a043-0c2fba371f72 2025-08-25 21:10:21,015 - INFO - ================================================================================ 2025-08-25 21:10:21,015 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-25 21:10:21,015 - 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-08-25 21:10:21,270 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-08-25 21:10:21,270 - INFO - Initial checks done. Running the testcase now 2025-08-25 21:10:21,270 - INFO - 2025-08-25 21:10:21,836 - DEBUG - Response for create_network : {'network': {'id': '81931618-8f39-4eee-840e-d798dc5de76c', 'name': 'ctest-vn-01292059', 'tenant_id': '7764128590024258a0430c2fba371f72', 'project_id': '7764128590024258a0430c2fba371f72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98224652', 'ctest-vn-01292059'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:10:22,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c2625d2-a1f3-4d82-804f-682ef4e61ba7', 'name': '', 'tenant_id': '7764128590024258a0430c2fba371f72', 'network_id': '81931618-8f39-4eee-840e-d798dc5de76c', 'ip_version': 4, 'cidr': '81.96.123.192/26', 'allocation_pools': [{'start': '81.96.123.194', 'end': '81.96.123.254'}], 'gateway_ip': '81.96.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.96.123.194', 'tags': [], 'project_id': '7764128590024258a0430c2fba371f72'}} 2025-08-25 21:10:22,061 - INFO - Created VN ctest-vn-01292059 2025-08-25 21:10:22,114 - DEBUG - VN ctest-vn-01292059 UUID is 81931618-8f39-4eee-840e-d798dc5de76c 2025-08-25 21:10:22,445 - DEBUG - Response for create_network : {'network': {'id': '2d96cd31-1141-4f64-913c-be4642864d2a', 'name': 'ctest-vn-79420880', 'tenant_id': '7764128590024258a0430c2fba371f72', 'project_id': '7764128590024258a0430c2fba371f72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98224652', 'ctest-vn-79420880'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:10:22,682 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef58752c-dfdf-46cc-8df3-135efde2568b', 'name': '', 'tenant_id': '7764128590024258a0430c2fba371f72', 'network_id': '2d96cd31-1141-4f64-913c-be4642864d2a', 'ip_version': 4, 'cidr': '156.220.183.128/26', 'allocation_pools': [{'start': '156.220.183.130', 'end': '156.220.183.190'}], 'gateway_ip': '156.220.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.220.183.130', 'tags': [], 'project_id': '7764128590024258a0430c2fba371f72'}} 2025-08-25 21:10:22,699 - INFO - Created VN ctest-vn-79420880 2025-08-25 21:10:22,750 - DEBUG - VN ctest-vn-79420880 UUID is 2d96cd31-1141-4f64-913c-be4642864d2a 2025-08-25 21:10:22,906 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-01292059, 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-98224652:ctest-vn-79420880, 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-08-25 21:10:23,260 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81931618-8f39-4eee-840e-d798dc5de76c', 'name': 'ctest-vn-01292059', 'tenant_id': '7764128590024258a0430c2fba371f72', 'project_id': '7764128590024258a0430c2fba371f72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2c2625d2-a1f3-4d82-804f-682ef4e61ba7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98224652', 'ctest-vn-01292059'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98224652', 'ctest-policy-allow-all-70471185']], 'subnet_ipam': [{'subnet_cidr': '81.96.123.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:10:23,568 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d96cd31-1141-4f64-913c-be4642864d2a', 'name': 'ctest-vn-79420880', 'tenant_id': '7764128590024258a0430c2fba371f72', 'project_id': '7764128590024258a0430c2fba371f72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef58752c-dfdf-46cc-8df3-135efde2568b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98224652', 'ctest-vn-79420880'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98224652', 'ctest-policy-allow-all-70471185']], 'subnet_ipam': [{'subnet_cidr': '156.220.183.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:10:23,714 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-25 21:10:24,030 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-25 21:10:24,057 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7ccab2fd-10b3-4283-9563-fbc2338b27df 2025-08-25 21:10:24,070 - DEBUG - Requesting: http://10.0.0.242:8082/project/77641285-9002-4258-a043-0c2fba371f72 2025-08-25 21:10:24,147 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/81931618-8f39-4eee-840e-d798dc5de76c 2025-08-25 21:10:24,159 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/81931618-8f39-4eee-840e-d798dc5de76c 2025-08-25 21:10:24,169 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd735c40-5164-4486-bff1-a63efe1bbf32 2025-08-25 21:10:24,177 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd735c40-5164-4486-bff1-a63efe1bbf32 2025-08-25 21:10:24,184 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/35b7729b-24e8-4c88-b9b0-8751304f394e 2025-08-25 21:10:24,190 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 21:10:24,190 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/81931618-8f39-4eee-840e-d798dc5de76c 2025-08-25 21:10:24,199 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd735c40-5164-4486-bff1-a63efe1bbf32 2025-08-25 21:10:24,214 - INFO - Verified VN network id 10 for VN 81931618-8f39-4eee-840e-d798dc5de76c 2025-08-25 21:10:24,214 - INFO - Verifications in API Server for VN ctest-vn-01292059 passed 2025-08-25 21:10:24,214 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/81931618-8f39-4eee-840e-d798dc5de76c 2025-08-25 21:10:24,226 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd735c40-5164-4486-bff1-a63efe1bbf32 2025-08-25 21:10:24,234 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd735c40-5164-4486-bff1-a63efe1bbf32 2025-08-25 21:10:24,242 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/35b7729b-24e8-4c88-b9b0-8751304f394e 2025-08-25 21:10:24,255 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-01292059', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98224652', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9336830747207093998', 'uuid-lslong': '9515780114212579180'}, 'enable': 'true', 'created': '2025-08-25T21:10:21', 'last-modified': '2025-08-25T21:10:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.047737'} 2025-08-25 21:10:24,262 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 21:10:24,262 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01292059 passed 2025-08-25 21:10:24,262 - DEBUG - ====Verifying policy data for ctest-vn-01292059 in API_Server ====== 2025-08-25 21:10:24,262 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-25 21:10:24,269 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7ccab2fd-10b3-4283-9563-fbc2338b27df 2025-08-25 21:10:24,281 - DEBUG - Requesting: http://10.0.0.242:8082/project/77641285-9002-4258-a043-0c2fba371f72 2025-08-25 21:10:24,352 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/81931618-8f39-4eee-840e-d798dc5de76c 2025-08-25 21:10:24,363 - DEBUG - ==>Verifying data for policy with id: a0887940-2616-428e-a767-ccee9d16c453, fqn: ['default-domain', 'ctest-TestBasicPolicy-98224652', 'ctest-policy-allow-all-70471185'] 2025-08-25 21:10:24,363 - INFO - VN ctest-vn-01292059 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 21:10:24,363 - DEBUG - Verifying the vn in opserver 2025-08-25 21:10:24,363 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-01292059 virtual network link through opserver 10.0.0.242 2025-08-25 21:10:24,364 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-08-25 21:10:24,655 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-08-25 21:10:24,707 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-01292059', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-01292059?flat'} 2025-08-25 21:10:24,707 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-01292059 is found in opserver 2025-08-25 21:10:24,718 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 21:10:24,723 - DEBUG - VRF ids for VN ctest-vn-01292059: {} 2025-08-25 21:10:24,723 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-25 21:10:24,729 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7ccab2fd-10b3-4283-9563-fbc2338b27df 2025-08-25 21:10:24,740 - DEBUG - Requesting: http://10.0.0.242:8082/project/77641285-9002-4258-a043-0c2fba371f72 2025-08-25 21:10:24,840 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2d96cd31-1141-4f64-913c-be4642864d2a 2025-08-25 21:10:24,853 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2d96cd31-1141-4f64-913c-be4642864d2a 2025-08-25 21:10:24,865 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/77e5e6e2-2b4c-40f8-a3a5-1336925746da 2025-08-25 21:10:24,872 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/77e5e6e2-2b4c-40f8-a3a5-1336925746da 2025-08-25 21:10:24,879 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/969c548f-fb1f-4622-a2f1-b00476d38c3a 2025-08-25 21:10:24,886 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 21:10:24,886 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2d96cd31-1141-4f64-913c-be4642864d2a 2025-08-25 21:10:24,896 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/77e5e6e2-2b4c-40f8-a3a5-1336925746da 2025-08-25 21:10:24,909 - INFO - Verified VN network id 11 for VN 2d96cd31-1141-4f64-913c-be4642864d2a 2025-08-25 21:10:24,909 - INFO - Verifications in API Server for VN ctest-vn-79420880 passed 2025-08-25 21:10:24,909 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2d96cd31-1141-4f64-913c-be4642864d2a 2025-08-25 21:10:24,918 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/77e5e6e2-2b4c-40f8-a3a5-1336925746da 2025-08-25 21:10:24,925 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/77e5e6e2-2b4c-40f8-a3a5-1336925746da 2025-08-25 21:10:24,932 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/969c548f-fb1f-4622-a2f1-b00476d38c3a 2025-08-25 21:10:24,945 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-79420880', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98224652', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3285038588839939940', 'uuid-lslong': '10465448843075276074'}, 'enable': 'true', 'created': '2025-08-25T21:10:22', 'last-modified': '2025-08-25T21:10:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.455248'} 2025-08-25 21:10:24,951 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 21:10:24,951 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79420880 passed 2025-08-25 21:10:24,952 - DEBUG - ====Verifying policy data for ctest-vn-79420880 in API_Server ====== 2025-08-25 21:10:24,952 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-25 21:10:24,958 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7ccab2fd-10b3-4283-9563-fbc2338b27df 2025-08-25 21:10:24,970 - DEBUG - Requesting: http://10.0.0.242:8082/project/77641285-9002-4258-a043-0c2fba371f72 2025-08-25 21:10:25,044 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2d96cd31-1141-4f64-913c-be4642864d2a 2025-08-25 21:10:25,055 - DEBUG - ==>Verifying data for policy with id: a0887940-2616-428e-a767-ccee9d16c453, fqn: ['default-domain', 'ctest-TestBasicPolicy-98224652', 'ctest-policy-allow-all-70471185'] 2025-08-25 21:10:25,055 - INFO - VN ctest-vn-79420880 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 21:10:25,055 - DEBUG - Verifying the vn in opserver 2025-08-25 21:10:25,055 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-79420880 virtual network link through opserver 10.0.0.242 2025-08-25 21:10:25,055 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-08-25 21:10:25,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-79420880', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-79420880?flat'} 2025-08-25 21:10:25,065 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-79420880 is found in opserver 2025-08-25 21:10:25,078 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 21:10:25,083 - DEBUG - VRF ids for VN ctest-vn-79420880: {} 2025-08-25 21:10:25,141 - DEBUG - Services list from nova: [, , ] 2025-08-25 21:10:26,141 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3928-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3928-1) 2025-08-25 21:10:27,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3928-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3928-1) 2025-08-25 21:10:27,352 - INFO - Waiting for VM ctest-TestBasicPolicy-98224652-60872445 to be up.. 2025-08-25 21:10:27,446 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 21:10:32,523 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:10:32,523 - INFO - VM name : ctest-TestBasicPolicy-98224652-60872445 2025-08-25 21:10:32,599 - DEBUG - VM ctest-TestBasicPolicy-98224652-60872445 ID is 8056e5d7-4de0-49c2-b760-c00178244784 2025-08-25 21:10:32,617 - DEBUG - VM ctest-TestBasicPolicy-98224652-60872445 launched on Node cn-jenkins-deploy-platform-ansible-os-3928-1 2025-08-25 21:10:32,702 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8056e5d7-4de0-49c2-b760-c00178244784 2025-08-25 21:10:32,711 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/322eeab1-e7c8-42f1-a44a-fe9ba383b148 2025-08-25 21:10:35,964 - 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 1006ms') 2025-08-25 21:10:35,964 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98224652-60872445 failed! 2025-08-25 21:10:36,022 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98224652:ctest-vn-01292059 is 81.96.123.193 and allocation pool is NOT set 2025-08-25 21:10:38,085 - 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=8.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/4.625/8.822/4.196 ms') 2025-08-25 21:10:38,086 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98224652-60872445 passed 2025-08-25 21:10:38,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:10:38,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98224652-60872445, IP 81.96.123.195, Port 22 2025-08-25 21:10:38,394 - DEBUG - VM ctest-TestBasicPolicy-98224652-60872445 is ready for SSH connections 2025-08-25 21:10:38,394 - INFO - Waiting for VM ctest-TestBasicPolicy-98224652-42522215 to be up.. 2025-08-25 21:10:38,479 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:10:38,479 - INFO - VM name : ctest-TestBasicPolicy-98224652-42522215 2025-08-25 21:10:38,556 - DEBUG - VM ctest-TestBasicPolicy-98224652-42522215 ID is b95a0571-a30b-40a8-a973-b1d832bb4222 2025-08-25 21:10:38,556 - DEBUG - VM ctest-TestBasicPolicy-98224652-42522215 launched on Node cn-jenkins-deploy-platform-ansible-os-3928-1 2025-08-25 21:10:38,629 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b95a0571-a30b-40a8-a973-b1d832bb4222 2025-08-25 21:10:38,637 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/fdfb6d2e-dc04-4451-b90d-da9c1d57df60 2025-08-25 21:10:39,885 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.939/3.454/1.514 ms') 2025-08-25 21:10:39,885 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98224652-42522215 passed 2025-08-25 21:10:40,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:10:40,034 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98224652-42522215, IP 156.220.183.131, Port 22 2025-08-25 21:10:40,190 - DEBUG - VM ctest-TestBasicPolicy-98224652-42522215 is ready for SSH connections 2025-08-25 21:10:40,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:10:40,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.220.183.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-25 21:10:40,190 - DEBUG - ping -s 56 -c 3 -W 1 156.220.183.131 2025-08-25 21:10:44,392 - DEBUG - PING 156.220.183.131 (156.220.183.131): 56 data bytes 64 bytes from 156.220.183.131: seq=0 ttl=63 time=2.980 ms 64 bytes from 156.220.183.131: seq=1 ttl=63 time=0.782 ms 64 bytes from 156.220.183.131: seq=2 ttl=63 time=0.848 ms --- 156.220.183.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/1.536/2.980 ms 2025-08-25 21:10:44,392 - INFO - Ping to IP 156.220.183.131 from VM ctest-TestBasicPolicy-98224652-60872445 passed 2025-08-25 21:10:44,574 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0887940-2616-428e-a767-ccee9d16c453", "href": "http://10.0.0.242:8082/network-policy/a0887940-2616-428e-a767-ccee9d16c453"}} 2025-08-25 21:10:44,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:10:44,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.220.183.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-25 21:10:44,574 - DEBUG - ping -s 56 -c 3 -W 1 156.220.183.131 2025-08-25 21:10:47,787 - DEBUG - PING 156.220.183.131 (156.220.183.131): 56 data bytes --- 156.220.183.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 21:10:47,787 - WARNING - Ping to IP 156.220.183.131 from VM ctest-TestBasicPolicy-98224652-60872445 failed 2025-08-25 21:10:47,787 - INFO - Deleting VM ctest-TestBasicPolicy-98224652-42522215 2025-08-25 21:10:47,850 - INFO - Deleting VM ctest-TestBasicPolicy-98224652-60872445 2025-08-25 21:10:48,234 - INFO - Deleted policy ctest-policy-allow-all-70471185 2025-08-25 21:10:48,234 - INFO - Deleting VN ctest-vn-79420880 2025-08-25 21:10:48,271 - DEBUG - VN 2d96cd31-1141-4f64-913c-be4642864d2a still in use: Unable to complete operation on network 2d96cd31-1141-4f64-913c-be4642864d2a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6fd3064b-ed09-4f0c-8f8d-2cbd8c56257d'] 2025-08-25 21:10:48,272 - WARNING - Deleting VN ctest-vn-79420880 failed..Will retry 2025-08-25 21:10:50,389 - DEBUG - Response for deleting network () 2025-08-25 21:10:50,389 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/77e5e6e2-2b4c-40f8-a3a5-1336925746da 2025-08-25 21:10:50,398 - DEBUG - Response Code: 404 2025-08-25 21:10:50,398 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-25 21:10:50,406 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7ccab2fd-10b3-4283-9563-fbc2338b27df 2025-08-25 21:10:50,460 - DEBUG - Requesting: http://10.0.0.242:8082/project/77641285-9002-4258-a043-0c2fba371f72 2025-08-25 21:10:50,537 - INFO - Validated that VN ctest-vn-79420880 is not found in API Server 2025-08-25 21:10:50,548 - DEBUG - VN ctest-vn-79420880 is not present in Agent 10.0.0.242 2025-08-25 21:10:50,549 - INFO - Validated that VN ctest-vn-79420880 is not in any agent 2025-08-25 21:10:50,565 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79420880 info 2025-08-25 21:10:50,566 - INFO - Deleting VN ctest-vn-01292059 2025-08-25 21:10:50,665 - DEBUG - Response for deleting network () 2025-08-25 21:10:50,666 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd735c40-5164-4486-bff1-a63efe1bbf32 2025-08-25 21:10:50,673 - DEBUG - Response Code: 404 2025-08-25 21:10:50,673 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-25 21:10:50,681 - DEBUG - Requesting: http://10.0.0.242:8082/domain/7ccab2fd-10b3-4283-9563-fbc2338b27df 2025-08-25 21:10:50,739 - DEBUG - Requesting: http://10.0.0.242:8082/project/77641285-9002-4258-a043-0c2fba371f72 2025-08-25 21:10:50,825 - INFO - Validated that VN ctest-vn-01292059 is not found in API Server 2025-08-25 21:10:50,836 - DEBUG - VN ctest-vn-01292059 is not present in Agent 10.0.0.242 2025-08-25 21:10:50,836 - INFO - Validated that VN ctest-vn-01292059 is not in any agent 2025-08-25 21:10:50,853 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01292059 info 2025-08-25 21:10:51,120 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 21:10:51,120 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-25 21:10:51,120 - INFO - -------------------------------------------------------------------------------- 2025-08-25 21:10:51,782 - INFO - Deleted project: ctest-TestBasicPolicy-98224652, ID : 77641285-9002-4258-a043-0c2fba371f72