2025-10-27 06:31:53,270 - INFO - Domain Default found not creating 2025-10-27 06:31:53,467 - INFO - Project ctest-TestBasicPolicy-35742868 not found, creating it 2025-10-27 06:31:53,979 - INFO - Created Project:ctest-TestBasicPolicy-35742868, ID : e3472d2e-a620-4578-af72-831643f753ee 2025-10-27 06:31:55,781 - INFO - ================================================================================ 2025-10-27 06:31:55,782 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 06:31:55,782 - 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-27 06:31:56,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-10-27 06:31:56,063 - INFO - Initial checks done. Running the testcase now 2025-10-27 06:31:56,063 - INFO - 2025-10-27 06:31:56,677 - DEBUG - Response for create_network : {'network': {'id': '9f356098-81d5-4a9e-be02-b48b46b77f2f', 'name': 'ctest-vn-53938472', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'project_id': 'e3472d2ea6204578af72831643f753ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-vn-53938472'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 06:31:56,914 - DEBUG - Response for create_subnet : {'subnet': {'id': '58665740-a027-425a-8b5e-da4bb89359db', 'name': '', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'network_id': '9f356098-81d5-4a9e-be02-b48b46b77f2f', 'ip_version': 4, 'cidr': '53.140.112.128/26', 'allocation_pools': [{'start': '53.140.112.130', 'end': '53.140.112.190'}], 'gateway_ip': '53.140.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.140.112.130', 'tags': [], 'project_id': 'e3472d2ea6204578af72831643f753ee'}} 2025-10-27 06:31:56,940 - INFO - Created VN ctest-vn-53938472 2025-10-27 06:31:56,997 - DEBUG - VN ctest-vn-53938472 UUID is 9f356098-81d5-4a9e-be02-b48b46b77f2f 2025-10-27 06:31:57,378 - DEBUG - Response for create_network : {'network': {'id': '88dd468c-3163-4ddc-89c5-16cabccdcfdd', 'name': 'ctest-vn-19648118', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'project_id': 'e3472d2ea6204578af72831643f753ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-vn-19648118'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 06:31:57,568 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bfe33eb-aae5-4fae-aeaa-7d7f2d49db3d', 'name': '', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'network_id': '88dd468c-3163-4ddc-89c5-16cabccdcfdd', 'ip_version': 4, 'cidr': '8.15.169.0/26', 'allocation_pools': [{'start': '8.15.169.2', 'end': '8.15.169.62'}], 'gateway_ip': '8.15.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.15.169.2', 'tags': [], 'project_id': 'e3472d2ea6204578af72831643f753ee'}} 2025-10-27 06:31:57,594 - INFO - Created VN ctest-vn-19648118 2025-10-27 06:31:57,649 - DEBUG - VN ctest-vn-19648118 UUID is 88dd468c-3163-4ddc-89c5-16cabccdcfdd 2025-10-27 06:31:57,782 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472, 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-35742868:ctest-vn-19648118, 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-27 06:31:58,103 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f356098-81d5-4a9e-be02-b48b46b77f2f', 'name': 'ctest-vn-53938472', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'project_id': 'e3472d2ea6204578af72831643f753ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58665740-a027-425a-8b5e-da4bb89359db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-vn-53938472'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-policy-allow-all-36420629']], 'subnet_ipam': [{'subnet_cidr': '53.140.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 06:31:58,405 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88dd468c-3163-4ddc-89c5-16cabccdcfdd', 'name': 'ctest-vn-19648118', 'tenant_id': 'e3472d2ea6204578af72831643f753ee', 'project_id': 'e3472d2ea6204578af72831643f753ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5bfe33eb-aae5-4fae-aeaa-7d7f2d49db3d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-vn-19648118'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-policy-allow-all-36420629']], 'subnet_ipam': [{'subnet_cidr': '8.15.169.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 06:31:58,565 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 06:31:58,889 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 06:31:58,926 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4845a3a4-43c4-4e3e-bb30-7f2ade919bb3 2025-10-27 06:31:58,940 - DEBUG - Requesting: http://10.0.0.22:8082/project/e3472d2e-a620-4578-af72-831643f753ee 2025-10-27 06:31:59,016 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f356098-81d5-4a9e-be02-b48b46b77f2f 2025-10-27 06:31:59,030 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f356098-81d5-4a9e-be02-b48b46b77f2f 2025-10-27 06:31:59,041 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a 2025-10-27 06:31:59,050 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a 2025-10-27 06:31:59,059 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/db62f9d0-d9a4-4530-ad1a-b57587ef9db8 2025-10-27 06:31:59,069 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 06:31:59,069 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f356098-81d5-4a9e-be02-b48b46b77f2f 2025-10-27 06:31:59,083 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a 2025-10-27 06:31:59,104 - INFO - Verified VN network id 11 for VN 9f356098-81d5-4a9e-be02-b48b46b77f2f 2025-10-27 06:31:59,104 - INFO - Verifications in API Server for VN ctest-vn-53938472 passed 2025-10-27 06:31:59,104 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f356098-81d5-4a9e-be02-b48b46b77f2f 2025-10-27 06:31:59,119 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a 2025-10-27 06:31:59,130 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a 2025-10-27 06:31:59,140 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/db62f9d0-d9a4-4530-ad1a-b57587ef9db8 2025-10-27 06:31:59,158 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35742868', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11472181833925741214', 'uuid-lslong': '13691704327439613743'}, 'enable': 'true', 'created': '2025-10-27T06:31:56', 'last-modified': '2025-10-27T06:31:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.085954'} 2025-10-27 06:31:59,165 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 06:31:59,165 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53938472 passed 2025-10-27 06:31:59,165 - DEBUG - ====Verifying policy data for ctest-vn-53938472 in API_Server ====== 2025-10-27 06:31:59,165 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 06:31:59,175 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4845a3a4-43c4-4e3e-bb30-7f2ade919bb3 2025-10-27 06:31:59,189 - DEBUG - Requesting: http://10.0.0.22:8082/project/e3472d2e-a620-4578-af72-831643f753ee 2025-10-27 06:31:59,274 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f356098-81d5-4a9e-be02-b48b46b77f2f 2025-10-27 06:31:59,285 - DEBUG - ==>Verifying data for policy with id: 4156779a-1be8-4075-bf5b-64040fd6692c, fqn: ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-policy-allow-all-36420629'] 2025-10-27 06:31:59,285 - INFO - VN ctest-vn-53938472 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 06:31:59,285 - DEBUG - Verifying the vn in opserver 2025-10-27 06:31:59,285 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472 virtual network link through opserver 10.0.0.22 2025-10-27 06:31:59,285 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-27 06:31:59,586 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-27 06:31:59,660 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472?flat'} 2025-10-27 06:31:59,660 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472 is found in opserver 2025-10-27 06:31:59,671 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 06:31:59,677 - DEBUG - VRF ids for VN ctest-vn-53938472: {} 2025-10-27 06:31:59,677 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 06:31:59,685 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4845a3a4-43c4-4e3e-bb30-7f2ade919bb3 2025-10-27 06:31:59,699 - DEBUG - Requesting: http://10.0.0.22:8082/project/e3472d2e-a620-4578-af72-831643f753ee 2025-10-27 06:31:59,777 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/88dd468c-3163-4ddc-89c5-16cabccdcfdd 2025-10-27 06:31:59,790 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/88dd468c-3163-4ddc-89c5-16cabccdcfdd 2025-10-27 06:31:59,802 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254 2025-10-27 06:31:59,812 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254 2025-10-27 06:31:59,822 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1674316a-13cc-4218-bb0f-acfbd615050a 2025-10-27 06:31:59,831 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 06:31:59,831 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/88dd468c-3163-4ddc-89c5-16cabccdcfdd 2025-10-27 06:31:59,842 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254 2025-10-27 06:31:59,858 - INFO - Verified VN network id 12 for VN 88dd468c-3163-4ddc-89c5-16cabccdcfdd 2025-10-27 06:31:59,858 - INFO - Verifications in API Server for VN ctest-vn-19648118 passed 2025-10-27 06:31:59,858 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/88dd468c-3163-4ddc-89c5-16cabccdcfdd 2025-10-27 06:31:59,869 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254 2025-10-27 06:31:59,880 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254 2025-10-27 06:31:59,890 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1674316a-13cc-4218-bb0f-acfbd615050a 2025-10-27 06:31:59,905 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-19648118', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35742868', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9862116326949211612', 'uuid-lslong': '9927366013614936029'}, 'enable': 'true', 'created': '2025-10-27T06:31:57', 'last-modified': '2025-10-27T06:31:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.573719'} 2025-10-27 06:31:59,912 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 06:31:59,912 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19648118 passed 2025-10-27 06:31:59,912 - DEBUG - ====Verifying policy data for ctest-vn-19648118 in API_Server ====== 2025-10-27 06:31:59,913 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 06:31:59,921 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4845a3a4-43c4-4e3e-bb30-7f2ade919bb3 2025-10-27 06:31:59,935 - DEBUG - Requesting: http://10.0.0.22:8082/project/e3472d2e-a620-4578-af72-831643f753ee 2025-10-27 06:32:00,016 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/88dd468c-3163-4ddc-89c5-16cabccdcfdd 2025-10-27 06:32:00,028 - DEBUG - ==>Verifying data for policy with id: 4156779a-1be8-4075-bf5b-64040fd6692c, fqn: ['default-domain', 'ctest-TestBasicPolicy-35742868', 'ctest-policy-allow-all-36420629'] 2025-10-27 06:32:00,028 - INFO - VN ctest-vn-19648118 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 06:32:00,028 - DEBUG - Verifying the vn in opserver 2025-10-27 06:32:00,028 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-19648118 virtual network link through opserver 10.0.0.22 2025-10-27 06:32:00,028 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-27 06:32:00,040 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-19648118', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-19648118?flat'} 2025-10-27 06:32:00,040 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-19648118 is found in opserver 2025-10-27 06:32:00,052 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 06:32:00,059 - DEBUG - VRF ids for VN ctest-vn-19648118: {} 2025-10-27 06:32:00,147 - DEBUG - Services list from nova: [, , ] 2025-10-27 06:32:01,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4494-1) 2025-10-27 06:32:02,780 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4494-1) 2025-10-27 06:32:02,780 - INFO - Waiting for VM ctest-TestBasicPolicy-35742868-86307630 to be up.. 2025-10-27 06:32:02,902 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 06:32:08,013 - DEBUG - VM is in ACTIVE state now 2025-10-27 06:32:08,013 - INFO - VM name : ctest-TestBasicPolicy-35742868-86307630 2025-10-27 06:32:08,135 - DEBUG - VM ctest-TestBasicPolicy-35742868-86307630 ID is d688d462-d022-4049-bcda-567d3270d9f5 2025-10-27 06:32:08,168 - DEBUG - VM ctest-TestBasicPolicy-35742868-86307630 launched on Node cn-jenkins-deploy-platform-ansible-os-4494-1 2025-10-27 06:32:08,307 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d688d462-d022-4049-bcda-567d3270d9f5 2025-10-27 06:32:08,320 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/768c2913-01dc-4e89-a531-b4d69b319eb2 2025-10-27 06:32:11,608 - 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-27 06:32:11,608 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35742868-86307630 failed! 2025-10-27 06:32:11,669 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35742868:ctest-vn-53938472 is 53.140.112.129 and allocation pool is NOT set 2025-10-27 06:32:15,767 - 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=2 ttl=63 time=10.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 10.117/10.117/10.117/0.000 ms') 2025-10-27 06:32:15,767 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35742868-86307630 passed 2025-10-27 06:32:15,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:32:15,926 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35742868-86307630, IP 53.140.112.131, Port 22 2025-10-27 06:32:15,992 - 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-10-27 06:32:16,112 - DEBUG - VM ctest-TestBasicPolicy-35742868-86307630 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 06:32:21,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:32:21,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35742868-86307630, IP 53.140.112.131, Port 22 2025-10-27 06:32:21,292 - DEBUG - VM ctest-TestBasicPolicy-35742868-86307630 is ready for SSH connections 2025-10-27 06:32:21,292 - INFO - Waiting for VM ctest-TestBasicPolicy-35742868-64009448 to be up.. 2025-10-27 06:32:21,388 - DEBUG - VM is in ACTIVE state now 2025-10-27 06:32:21,388 - INFO - VM name : ctest-TestBasicPolicy-35742868-64009448 2025-10-27 06:32:21,497 - DEBUG - VM ctest-TestBasicPolicy-35742868-64009448 ID is 21ac7f8c-2d57-4713-8864-6470e70a4cf5 2025-10-27 06:32:21,497 - DEBUG - VM ctest-TestBasicPolicy-35742868-64009448 launched on Node cn-jenkins-deploy-platform-ansible-os-4494-1 2025-10-27 06:32:21,596 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/21ac7f8c-2d57-4713-8864-6470e70a4cf5 2025-10-27 06:32:21,607 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/af5df9e1-904b-4453-9b81-127f7f4cd693 2025-10-27 06:32:22,867 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.682 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.682/1.959/3.237/1.277 ms') 2025-10-27 06:32:22,867 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35742868-64009448 passed 2025-10-27 06:32:23,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:32:23,025 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35742868-64009448, IP 8.15.169.3, Port 22 2025-10-27 06:32:23,196 - DEBUG - VM ctest-TestBasicPolicy-35742868-64009448 is ready for SSH connections 2025-10-27 06:32:23,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:32:23,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.15.169.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 06:32:23,196 - DEBUG - ping -s 56 -c 3 -W 1 8.15.169.3 2025-10-27 06:32:27,496 - DEBUG - PING 8.15.169.3 (8.15.169.3): 56 data bytes 64 bytes from 8.15.169.3: seq=0 ttl=63 time=4.619 ms 64 bytes from 8.15.169.3: seq=1 ttl=63 time=1.610 ms 64 bytes from 8.15.169.3: seq=2 ttl=63 time=1.289 ms --- 8.15.169.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.289/2.506/4.619 ms 2025-10-27 06:32:27,496 - INFO - Ping to IP 8.15.169.3 from VM ctest-TestBasicPolicy-35742868-86307630 passed 2025-10-27 06:32:27,697 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4156779a-1be8-4075-bf5b-64040fd6692c", "href": "http://10.0.0.22:8082/network-policy/4156779a-1be8-4075-bf5b-64040fd6692c"}} 2025-10-27 06:32:27,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:32:27,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.15.169.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 06:32:27,697 - DEBUG - ping -s 56 -c 3 -W 1 8.15.169.3 2025-10-27 06:32:30,965 - DEBUG - PING 8.15.169.3 (8.15.169.3): 56 data bytes --- 8.15.169.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 06:32:30,965 - WARNING - Ping to IP 8.15.169.3 from VM ctest-TestBasicPolicy-35742868-86307630 failed 2025-10-27 06:32:30,966 - INFO - Deleting VM ctest-TestBasicPolicy-35742868-64009448 2025-10-27 06:32:31,063 - INFO - Deleting VM ctest-TestBasicPolicy-35742868-86307630 2025-10-27 06:32:31,545 - INFO - Deleted policy ctest-policy-allow-all-36420629 2025-10-27 06:32:31,546 - INFO - Deleting VN ctest-vn-19648118 2025-10-27 06:32:31,586 - DEBUG - VN 88dd468c-3163-4ddc-89c5-16cabccdcfdd still in use: Unable to complete operation on network 88dd468c-3163-4ddc-89c5-16cabccdcfdd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6d0e204-131e-49b9-a975-690c13adcc41'] 2025-10-27 06:32:31,586 - WARNING - Deleting VN ctest-vn-19648118 failed..Will retry 2025-10-27 06:32:33,731 - DEBUG - Response for deleting network () 2025-10-27 06:32:33,732 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0f4ddda7-fc2c-4163-9b1d-a2eb7ad84254 2025-10-27 06:32:33,741 - DEBUG - Response Code: 404 2025-10-27 06:32:33,741 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 06:32:33,749 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4845a3a4-43c4-4e3e-bb30-7f2ade919bb3 2025-10-27 06:32:33,809 - DEBUG - Requesting: http://10.0.0.22:8082/project/e3472d2e-a620-4578-af72-831643f753ee 2025-10-27 06:32:33,891 - INFO - Validated that VN ctest-vn-19648118 is not found in API Server 2025-10-27 06:32:33,905 - DEBUG - VN ctest-vn-19648118 is not present in Agent 10.0.0.22 2025-10-27 06:32:33,905 - INFO - Validated that VN ctest-vn-19648118 is not in any agent 2025-10-27 06:32:33,924 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19648118 info 2025-10-27 06:32:33,924 - INFO - Deleting VN ctest-vn-53938472 2025-10-27 06:32:34,062 - DEBUG - Response for deleting network () 2025-10-27 06:32:34,062 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3a763785-b0d4-406d-a679-7b907e68378a 2025-10-27 06:32:34,080 - DEBUG - Response Code: 404 2025-10-27 06:32:34,081 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 06:32:34,090 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4845a3a4-43c4-4e3e-bb30-7f2ade919bb3 2025-10-27 06:32:34,103 - DEBUG - Requesting: http://10.0.0.22:8082/project/e3472d2e-a620-4578-af72-831643f753ee 2025-10-27 06:32:34,179 - INFO - Validated that VN ctest-vn-53938472 is not found in API Server 2025-10-27 06:32:34,193 - DEBUG - VN ctest-vn-53938472 is not present in Agent 10.0.0.22 2025-10-27 06:32:34,193 - INFO - Validated that VN ctest-vn-53938472 is not in any agent 2025-10-27 06:32:34,216 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53938472 info 2025-10-27 06:32:34,490 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 06:32:34,490 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-10-27 06:32:34,490 - INFO - -------------------------------------------------------------------------------- 2025-10-27 06:32:35,231 - INFO - Deleted project: ctest-TestBasicPolicy-35742868, ID : e3472d2e-a620-4578-af72-831643f753ee