2025-07-25 02:28:33,266 - INFO - Domain Default found not creating 2025-07-25 02:28:33,426 - INFO - Project ctest-TestBasicPolicy-07939167 not found, creating it 2025-07-25 02:28:33,931 - INFO - Created Project:ctest-TestBasicPolicy-07939167, ID : d292057e-09fa-4d71-b8c7-7050e198d39a 2025-07-25 02:28:35,555 - INFO - ================================================================================ 2025-07-25 02:28:35,555 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-25 02:28:35,555 - 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-07-25 02:28:35,817 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-25 02:28:35,817 - INFO - Initial checks done. Running the testcase now 2025-07-25 02:28:35,817 - INFO - 2025-07-25 02:28:36,431 - DEBUG - Response for create_network : {'network': {'id': 'ba24be8d-07e6-4340-93ab-06ce535c5466', 'name': 'ctest-vn-81022797', 'tenant_id': 'd292057e09fa4d71b8c77050e198d39a', 'project_id': 'd292057e09fa4d71b8c77050e198d39a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07939167', 'ctest-vn-81022797'], 'port_security_enabled': True, 'description': ''}} 2025-07-25 02:28:36,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '39ef0da8-7626-48f3-99a9-08c669ce69b7', 'name': '', 'tenant_id': 'd292057e09fa4d71b8c77050e198d39a', 'network_id': 'ba24be8d-07e6-4340-93ab-06ce535c5466', 'ip_version': 4, 'cidr': '108.24.49.64/26', 'allocation_pools': [{'start': '108.24.49.66', 'end': '108.24.49.126'}], 'gateway_ip': '108.24.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.24.49.66', 'tags': [], 'project_id': 'd292057e09fa4d71b8c77050e198d39a'}} 2025-07-25 02:28:36,610 - INFO - Created VN ctest-vn-81022797 2025-07-25 02:28:36,666 - DEBUG - VN ctest-vn-81022797 UUID is ba24be8d-07e6-4340-93ab-06ce535c5466 2025-07-25 02:28:36,970 - DEBUG - Response for create_network : {'network': {'id': '29b60866-2538-4852-80c6-235e4b22e010', 'name': 'ctest-vn-93084000', 'tenant_id': 'd292057e09fa4d71b8c77050e198d39a', 'project_id': 'd292057e09fa4d71b8c77050e198d39a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07939167', 'ctest-vn-93084000'], 'port_security_enabled': True, 'description': ''}} 2025-07-25 02:28:37,151 - DEBUG - Response for create_subnet : {'subnet': {'id': '61f37e7e-3f5c-4c42-b5ff-d8d2635e87c8', 'name': '', 'tenant_id': 'd292057e09fa4d71b8c77050e198d39a', 'network_id': '29b60866-2538-4852-80c6-235e4b22e010', 'ip_version': 4, 'cidr': '71.165.126.64/26', 'allocation_pools': [{'start': '71.165.126.66', 'end': '71.165.126.126'}], 'gateway_ip': '71.165.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.165.126.66', 'tags': [], 'project_id': 'd292057e09fa4d71b8c77050e198d39a'}} 2025-07-25 02:28:37,170 - INFO - Created VN ctest-vn-93084000 2025-07-25 02:28:37,226 - DEBUG - VN ctest-vn-93084000 UUID is 29b60866-2538-4852-80c6-235e4b22e010 2025-07-25 02:28:37,346 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-81022797, 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-07939167:ctest-vn-93084000, 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-07-25 02:28:37,656 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba24be8d-07e6-4340-93ab-06ce535c5466', 'name': 'ctest-vn-81022797', 'tenant_id': 'd292057e09fa4d71b8c77050e198d39a', 'project_id': 'd292057e09fa4d71b8c77050e198d39a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39ef0da8-7626-48f3-99a9-08c669ce69b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07939167', 'ctest-vn-81022797'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07939167', 'ctest-policy-allow-all-69003756']], 'subnet_ipam': [{'subnet_cidr': '108.24.49.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-25 02:28:37,898 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '29b60866-2538-4852-80c6-235e4b22e010', 'name': 'ctest-vn-93084000', 'tenant_id': 'd292057e09fa4d71b8c77050e198d39a', 'project_id': 'd292057e09fa4d71b8c77050e198d39a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61f37e7e-3f5c-4c42-b5ff-d8d2635e87c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07939167', 'ctest-vn-93084000'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07939167', 'ctest-policy-allow-all-69003756']], 'subnet_ipam': [{'subnet_cidr': '71.165.126.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-25 02:28:38,050 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-25 02:28:38,384 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-25 02:28:38,412 - DEBUG - Requesting: http://10.0.0.254:8082/domain/40a01d10-0fe3-40f2-8054-46ddbb699d4b 2025-07-25 02:28:38,426 - DEBUG - Requesting: http://10.0.0.254:8082/project/d292057e-09fa-4d71-b8c7-7050e198d39a 2025-07-25 02:28:38,507 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ba24be8d-07e6-4340-93ab-06ce535c5466 2025-07-25 02:28:38,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ba24be8d-07e6-4340-93ab-06ce535c5466 2025-07-25 02:28:38,533 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fec165ab-fc49-4603-ad08-03f751bb5a99 2025-07-25 02:28:38,541 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fec165ab-fc49-4603-ad08-03f751bb5a99 2025-07-25 02:28:38,548 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c150c3b4-fa1f-466c-afec-19de365e1ae4 2025-07-25 02:28:38,556 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-25 02:28:38,556 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ba24be8d-07e6-4340-93ab-06ce535c5466 2025-07-25 02:28:38,568 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fec165ab-fc49-4603-ad08-03f751bb5a99 2025-07-25 02:28:38,586 - INFO - Verified VN network id 11 for VN ba24be8d-07e6-4340-93ab-06ce535c5466 2025-07-25 02:28:38,586 - INFO - Verifications in API Server for VN ctest-vn-81022797 passed 2025-07-25 02:28:38,586 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ba24be8d-07e6-4340-93ab-06ce535c5466 2025-07-25 02:28:38,601 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fec165ab-fc49-4603-ad08-03f751bb5a99 2025-07-25 02:28:38,608 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fec165ab-fc49-4603-ad08-03f751bb5a99 2025-07-25 02:28:38,617 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c150c3b4-fa1f-466c-afec-19de365e1ae4 2025-07-25 02:28:38,630 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-81022797', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07939167', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13413055103148376896', 'uuid-lslong': '10640606027824518246'}, 'enable': 'true', 'created': '2025-07-25T02:28:36', 'last-modified': '2025-07-25T02:28:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999757'} 2025-07-25 02:28:38,638 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-25 02:28:38,638 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81022797 passed 2025-07-25 02:28:38,638 - DEBUG - ====Verifying policy data for ctest-vn-81022797 in API_Server ====== 2025-07-25 02:28:38,638 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-25 02:28:38,645 - DEBUG - Requesting: http://10.0.0.254:8082/domain/40a01d10-0fe3-40f2-8054-46ddbb699d4b 2025-07-25 02:28:38,660 - DEBUG - Requesting: http://10.0.0.254:8082/project/d292057e-09fa-4d71-b8c7-7050e198d39a 2025-07-25 02:28:38,739 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ba24be8d-07e6-4340-93ab-06ce535c5466 2025-07-25 02:28:38,753 - DEBUG - ==>Verifying data for policy with id: db490b01-be2e-4265-a4e1-e52dd657ff1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-07939167', 'ctest-policy-allow-all-69003756'] 2025-07-25 02:28:38,753 - INFO - VN ctest-vn-81022797 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-25 02:28:38,753 - DEBUG - Verifying the vn in opserver 2025-07-25 02:28:38,754 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-81022797 virtual network link through opserver 10.0.0.254 2025-07-25 02:28:38,754 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-25 02:28:39,086 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-25 02:28:39,145 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-81022797', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-81022797?flat'} 2025-07-25 02:28:39,146 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-81022797 is found in opserver 2025-07-25 02:28:39,158 - DEBUG - Do not have enough data to verify VN in agent 2025-07-25 02:28:39,163 - DEBUG - VRF ids for VN ctest-vn-81022797: {} 2025-07-25 02:28:39,163 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-25 02:28:39,170 - DEBUG - Requesting: http://10.0.0.254:8082/domain/40a01d10-0fe3-40f2-8054-46ddbb699d4b 2025-07-25 02:28:39,183 - DEBUG - Requesting: http://10.0.0.254:8082/project/d292057e-09fa-4d71-b8c7-7050e198d39a 2025-07-25 02:28:39,273 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/29b60866-2538-4852-80c6-235e4b22e010 2025-07-25 02:28:39,293 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/29b60866-2538-4852-80c6-235e4b22e010 2025-07-25 02:28:39,304 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0cd009a-fb1a-478a-bd47-72b30c229320 2025-07-25 02:28:39,312 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0cd009a-fb1a-478a-bd47-72b30c229320 2025-07-25 02:28:39,320 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c6438d80-b7f1-48d9-928e-6633249ed1e3 2025-07-25 02:28:39,327 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-25 02:28:39,328 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/29b60866-2538-4852-80c6-235e4b22e010 2025-07-25 02:28:39,338 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0cd009a-fb1a-478a-bd47-72b30c229320 2025-07-25 02:28:39,355 - INFO - Verified VN network id 12 for VN 29b60866-2538-4852-80c6-235e4b22e010 2025-07-25 02:28:39,355 - INFO - Verifications in API Server for VN ctest-vn-93084000 passed 2025-07-25 02:28:39,355 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/29b60866-2538-4852-80c6-235e4b22e010 2025-07-25 02:28:39,370 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0cd009a-fb1a-478a-bd47-72b30c229320 2025-07-25 02:28:39,379 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0cd009a-fb1a-478a-bd47-72b30c229320 2025-07-25 02:28:39,388 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c6438d80-b7f1-48d9-928e-6633249ed1e3 2025-07-25 02:28:39,403 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-93084000', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07939167', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3005599036120516690', 'uuid-lslong': '9279142970137960464'}, 'enable': 'true', 'created': '2025-07-25T02:28:36', 'last-modified': '2025-07-25T02:28:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.530776'} 2025-07-25 02:28:39,410 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-25 02:28:39,411 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93084000 passed 2025-07-25 02:28:39,411 - DEBUG - ====Verifying policy data for ctest-vn-93084000 in API_Server ====== 2025-07-25 02:28:39,411 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-25 02:28:39,418 - DEBUG - Requesting: http://10.0.0.254:8082/domain/40a01d10-0fe3-40f2-8054-46ddbb699d4b 2025-07-25 02:28:39,431 - DEBUG - Requesting: http://10.0.0.254:8082/project/d292057e-09fa-4d71-b8c7-7050e198d39a 2025-07-25 02:28:39,509 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/29b60866-2538-4852-80c6-235e4b22e010 2025-07-25 02:28:39,521 - DEBUG - ==>Verifying data for policy with id: db490b01-be2e-4265-a4e1-e52dd657ff1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-07939167', 'ctest-policy-allow-all-69003756'] 2025-07-25 02:28:39,521 - INFO - VN ctest-vn-93084000 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-25 02:28:39,521 - DEBUG - Verifying the vn in opserver 2025-07-25 02:28:39,521 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-93084000 virtual network link through opserver 10.0.0.254 2025-07-25 02:28:39,521 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-25 02:28:39,536 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-93084000', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-93084000?flat'} 2025-07-25 02:28:39,536 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-93084000 is found in opserver 2025-07-25 02:28:39,549 - DEBUG - Do not have enough data to verify VN in agent 2025-07-25 02:28:39,556 - DEBUG - VRF ids for VN ctest-vn-93084000: {} 2025-07-25 02:28:39,621 - DEBUG - Services list from nova: [, , ] 2025-07-25 02:28:40,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3715-1) 2025-07-25 02:28:41,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3715-1) 2025-07-25 02:28:41,999 - INFO - Waiting for VM ctest-TestBasicPolicy-07939167-25091794 to be up.. 2025-07-25 02:28:42,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-25 02:28:47,177 - DEBUG - VM is in ACTIVE state now 2025-07-25 02:28:47,177 - INFO - VM name : ctest-TestBasicPolicy-07939167-25091794 2025-07-25 02:28:47,264 - DEBUG - VM ctest-TestBasicPolicy-07939167-25091794 ID is deaa91ce-7516-4877-b52a-e32449f483c7 2025-07-25 02:28:47,291 - DEBUG - VM ctest-TestBasicPolicy-07939167-25091794 launched on Node cn-jenkins-deploy-platform-ansible-os-3715-1 2025-07-25 02:28:47,371 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/deaa91ce-7516-4877-b52a-e32449f483c7 2025-07-25 02:28:47,382 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/78ff1dc6-57ab-4926-aa9c-8c0b5218da3c 2025-07-25 02:28:50,654 - 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 1023ms') 2025-07-25 02:28:50,654 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07939167-25091794 failed! 2025-07-25 02:28:50,710 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07939167:ctest-vn-81022797 is 108.24.49.65 and allocation pool is NOT set 2025-07-25 02:28:52,773 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.02 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 = 3.021/5.531/8.042/2.510 ms') 2025-07-25 02:28:52,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07939167-25091794 passed 2025-07-25 02:28:52,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-25 02:28:52,935 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07939167-25091794, IP 108.24.49.67, Port 22 2025-07-25 02:28:52,991 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-25 02:28:53,079 - DEBUG - VM ctest-TestBasicPolicy-07939167-25091794 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-25 02:28:58,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-25 02:28:58,080 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07939167-25091794, IP 108.24.49.67, Port 22 2025-07-25 02:28:58,238 - DEBUG - VM ctest-TestBasicPolicy-07939167-25091794 is ready for SSH connections 2025-07-25 02:28:58,238 - INFO - Waiting for VM ctest-TestBasicPolicy-07939167-77859352 to be up.. 2025-07-25 02:28:58,320 - DEBUG - VM is in ACTIVE state now 2025-07-25 02:28:58,320 - INFO - VM name : ctest-TestBasicPolicy-07939167-77859352 2025-07-25 02:28:58,398 - DEBUG - VM ctest-TestBasicPolicy-07939167-77859352 ID is 5eb1ce2e-11e9-4659-9110-4439f4f93b74 2025-07-25 02:28:58,398 - DEBUG - VM ctest-TestBasicPolicy-07939167-77859352 launched on Node cn-jenkins-deploy-platform-ansible-os-3715-1 2025-07-25 02:28:58,479 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5eb1ce2e-11e9-4659-9110-4439f4f93b74 2025-07-25 02:28:58,491 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c0ac947c-f70f-4c35-a07e-9b9b456f0e45 2025-07-25 02:28:59,732 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.997/3.590/1.592 ms') 2025-07-25 02:28:59,732 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07939167-77859352 passed 2025-07-25 02:28:59,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-25 02:28:59,890 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07939167-77859352, IP 71.165.126.67, Port 22 2025-07-25 02:29:00,050 - DEBUG - VM ctest-TestBasicPolicy-07939167-77859352 is ready for SSH connections 2025-07-25 02:29:00,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-25 02:29:00,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.165.126.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-25 02:29:00,050 - DEBUG - ping -s 56 -c 3 -W 1 71.165.126.67 2025-07-25 02:29:04,140 - DEBUG - PING 71.165.126.67 (71.165.126.67): 56 data bytes 64 bytes from 71.165.126.67: seq=0 ttl=63 time=3.974 ms 64 bytes from 71.165.126.67: seq=1 ttl=63 time=1.058 ms 64 bytes from 71.165.126.67: seq=2 ttl=63 time=0.859 ms --- 71.165.126.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/1.963/3.974 ms 2025-07-25 02:29:04,140 - INFO - Ping to IP 71.165.126.67 from VM ctest-TestBasicPolicy-07939167-25091794 passed 2025-07-25 02:29:04,322 - DEBUG - Policy Update Response {"network-policy": {"uuid": "db490b01-be2e-4265-a4e1-e52dd657ff1e", "href": "http://10.0.0.254:8082/network-policy/db490b01-be2e-4265-a4e1-e52dd657ff1e"}} 2025-07-25 02:29:04,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-25 02:29:04,322 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.165.126.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-25 02:29:04,323 - DEBUG - ping -s 56 -c 3 -W 1 71.165.126.67 2025-07-25 02:29:07,546 - DEBUG - PING 71.165.126.67 (71.165.126.67): 56 data bytes --- 71.165.126.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-25 02:29:07,546 - WARNING - Ping to IP 71.165.126.67 from VM ctest-TestBasicPolicy-07939167-25091794 failed 2025-07-25 02:29:07,547 - INFO - Deleting VM ctest-TestBasicPolicy-07939167-77859352 2025-07-25 02:29:07,619 - INFO - Deleting VM ctest-TestBasicPolicy-07939167-25091794 2025-07-25 02:29:08,030 - INFO - Deleted policy ctest-policy-allow-all-69003756 2025-07-25 02:29:08,030 - INFO - Deleting VN ctest-vn-93084000 2025-07-25 02:29:08,069 - DEBUG - VN 29b60866-2538-4852-80c6-235e4b22e010 still in use: Unable to complete operation on network 29b60866-2538-4852-80c6-235e4b22e010. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2408a649-61ec-4511-94de-8579f031feba'] 2025-07-25 02:29:08,069 - WARNING - Deleting VN ctest-vn-93084000 failed..Will retry 2025-07-25 02:29:10,180 - DEBUG - Response for deleting network () 2025-07-25 02:29:10,180 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0cd009a-fb1a-478a-bd47-72b30c229320 2025-07-25 02:29:10,188 - DEBUG - Response Code: 404 2025-07-25 02:29:10,188 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-25 02:29:10,194 - DEBUG - Requesting: http://10.0.0.254:8082/domain/40a01d10-0fe3-40f2-8054-46ddbb699d4b 2025-07-25 02:29:10,248 - DEBUG - Requesting: http://10.0.0.254:8082/project/d292057e-09fa-4d71-b8c7-7050e198d39a 2025-07-25 02:29:10,320 - INFO - Validated that VN ctest-vn-93084000 is not found in API Server 2025-07-25 02:29:10,332 - DEBUG - VN ctest-vn-93084000 is not present in Agent 10.0.0.254 2025-07-25 02:29:10,332 - INFO - Validated that VN ctest-vn-93084000 is not in any agent 2025-07-25 02:29:10,349 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93084000 info 2025-07-25 02:29:10,349 - INFO - Deleting VN ctest-vn-81022797 2025-07-25 02:29:10,454 - DEBUG - Response for deleting network () 2025-07-25 02:29:10,454 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fec165ab-fc49-4603-ad08-03f751bb5a99 2025-07-25 02:29:10,460 - DEBUG - Response Code: 404 2025-07-25 02:29:10,460 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-25 02:29:10,466 - DEBUG - Requesting: http://10.0.0.254:8082/domain/40a01d10-0fe3-40f2-8054-46ddbb699d4b 2025-07-25 02:29:10,520 - DEBUG - Requesting: http://10.0.0.254:8082/project/d292057e-09fa-4d71-b8c7-7050e198d39a 2025-07-25 02:29:10,599 - INFO - Validated that VN ctest-vn-81022797 is not found in API Server 2025-07-25 02:29:10,612 - DEBUG - VN ctest-vn-81022797 is not present in Agent 10.0.0.254 2025-07-25 02:29:10,612 - INFO - Validated that VN ctest-vn-81022797 is not in any agent 2025-07-25 02:29:10,629 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81022797 info 2025-07-25 02:29:10,885 - DEBUG - No XMPP flaps were noticed during the test
2025-07-25 02:29:10,885 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-07-25 02:29:10,885 - INFO - -------------------------------------------------------------------------------- 2025-07-25 02:29:11,604 - INFO - Deleted project: ctest-TestBasicPolicy-07939167, ID : d292057e-09fa-4d71-b8c7-7050e198d39a