2025-06-20 08:18:35,747 - INFO - Domain Default found not creating 2025-06-20 08:18:35,901 - INFO - Project ctest-TestBasicPolicy-40078690 not found, creating it 2025-06-20 08:18:36,387 - INFO - Created Project:ctest-TestBasicPolicy-40078690, ID : fa40752a-3d14-4b0e-a2b7-ab7134261989 2025-06-20 08:18:38,013 - INFO - ================================================================================ 2025-06-20 08:18:38,014 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-20 08:18:38,014 - 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-06-20 08:18:38,270 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-20 08:18:38,270 - INFO - Initial checks done. Running the testcase now 2025-06-20 08:18:38,270 - INFO - 2025-06-20 08:18:38,920 - DEBUG - Response for create_network : {'network': {'id': '9a484eff-0827-4b77-9478-6df4f7732c6f', 'name': 'ctest-vn-45645404', 'tenant_id': 'fa40752a3d144b0ea2b7ab7134261989', 'project_id': 'fa40752a3d144b0ea2b7ab7134261989', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40078690', 'ctest-vn-45645404'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:18:39,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b4dfad5-119e-457a-b9b9-241101f5c17a', 'name': '', 'tenant_id': 'fa40752a3d144b0ea2b7ab7134261989', 'network_id': '9a484eff-0827-4b77-9478-6df4f7732c6f', 'ip_version': 4, 'cidr': '95.133.102.0/26', 'allocation_pools': [{'start': '95.133.102.2', 'end': '95.133.102.62'}], 'gateway_ip': '95.133.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.133.102.2', 'tags': [], 'project_id': 'fa40752a3d144b0ea2b7ab7134261989'}} 2025-06-20 08:18:39,113 - INFO - Created VN ctest-vn-45645404 2025-06-20 08:18:39,167 - DEBUG - VN ctest-vn-45645404 UUID is 9a484eff-0827-4b77-9478-6df4f7732c6f 2025-06-20 08:18:39,463 - DEBUG - Response for create_network : {'network': {'id': '6c39b262-fdc8-4294-8ab3-075b3f68b655', 'name': 'ctest-vn-96707418', 'tenant_id': 'fa40752a3d144b0ea2b7ab7134261989', 'project_id': 'fa40752a3d144b0ea2b7ab7134261989', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40078690', 'ctest-vn-96707418'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:18:39,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '62688519-531a-44ae-a619-ad3a0f1f9098', 'name': '', 'tenant_id': 'fa40752a3d144b0ea2b7ab7134261989', 'network_id': '6c39b262-fdc8-4294-8ab3-075b3f68b655', 'ip_version': 4, 'cidr': '73.224.241.64/26', 'allocation_pools': [{'start': '73.224.241.66', 'end': '73.224.241.126'}], 'gateway_ip': '73.224.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.224.241.66', 'tags': [], 'project_id': 'fa40752a3d144b0ea2b7ab7134261989'}} 2025-06-20 08:18:39,695 - INFO - Created VN ctest-vn-96707418 2025-06-20 08:18:39,751 - DEBUG - VN ctest-vn-96707418 UUID is 6c39b262-fdc8-4294-8ab3-075b3f68b655 2025-06-20 08:18:39,869 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-45645404, 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-40078690:ctest-vn-96707418, 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-06-20 08:18:40,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9a484eff-0827-4b77-9478-6df4f7732c6f', 'name': 'ctest-vn-45645404', 'tenant_id': 'fa40752a3d144b0ea2b7ab7134261989', 'project_id': 'fa40752a3d144b0ea2b7ab7134261989', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5b4dfad5-119e-457a-b9b9-241101f5c17a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40078690', 'ctest-vn-45645404'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40078690', 'ctest-policy-allow-all-34773006']], 'subnet_ipam': [{'subnet_cidr': '95.133.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:18:40,417 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c39b262-fdc8-4294-8ab3-075b3f68b655', 'name': 'ctest-vn-96707418', 'tenant_id': 'fa40752a3d144b0ea2b7ab7134261989', 'project_id': 'fa40752a3d144b0ea2b7ab7134261989', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['62688519-531a-44ae-a619-ad3a0f1f9098'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40078690', 'ctest-vn-96707418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40078690', 'ctest-policy-allow-all-34773006']], 'subnet_ipam': [{'subnet_cidr': '73.224.241.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 08:18:40,587 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 08:18:40,921 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 08:18:40,950 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3433a493-9ce2-4549-a3c9-ca291f5d20bf 2025-06-20 08:18:40,964 - DEBUG - Requesting: http://10.0.0.38:8082/project/fa40752a-3d14-4b0e-a2b7-ab7134261989 2025-06-20 08:18:41,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a484eff-0827-4b77-9478-6df4f7732c6f 2025-06-20 08:18:41,057 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a484eff-0827-4b77-9478-6df4f7732c6f 2025-06-20 08:18:41,068 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa8efa78-7220-4051-b42c-1aaf9341ac74 2025-06-20 08:18:41,077 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa8efa78-7220-4051-b42c-1aaf9341ac74 2025-06-20 08:18:41,084 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f7955ef4-43b5-4369-a34f-9a29993b9a59 2025-06-20 08:18:41,092 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 08:18:41,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a484eff-0827-4b77-9478-6df4f7732c6f 2025-06-20 08:18:41,103 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa8efa78-7220-4051-b42c-1aaf9341ac74 2025-06-20 08:18:41,122 - INFO - Verified VN network id 9 for VN 9a484eff-0827-4b77-9478-6df4f7732c6f 2025-06-20 08:18:41,122 - INFO - Verifications in API Server for VN ctest-vn-45645404 passed 2025-06-20 08:18:41,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a484eff-0827-4b77-9478-6df4f7732c6f 2025-06-20 08:18:41,196 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa8efa78-7220-4051-b42c-1aaf9341ac74 2025-06-20 08:18:41,205 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa8efa78-7220-4051-b42c-1aaf9341ac74 2025-06-20 08:18:41,216 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f7955ef4-43b5-4369-a34f-9a29993b9a59 2025-06-20 08:18:41,231 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-45645404', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40078690', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11117222537424489335', 'uuid-lslong': '10698421813709581423'}, 'enable': 'true', 'created': '2025-06-20T08:18:38', 'last-modified': '2025-06-20T08:18:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.077463'} 2025-06-20 08:18:41,239 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 08:18:41,239 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45645404 passed 2025-06-20 08:18:41,239 - DEBUG - ====Verifying policy data for ctest-vn-45645404 in API_Server ====== 2025-06-20 08:18:41,239 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 08:18:41,246 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3433a493-9ce2-4549-a3c9-ca291f5d20bf 2025-06-20 08:18:41,259 - DEBUG - Requesting: http://10.0.0.38:8082/project/fa40752a-3d14-4b0e-a2b7-ab7134261989 2025-06-20 08:18:41,334 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a484eff-0827-4b77-9478-6df4f7732c6f 2025-06-20 08:18:41,346 - DEBUG - ==>Verifying data for policy with id: 1cd87617-859f-49b1-8c50-31d31cff23e5, fqn: ['default-domain', 'ctest-TestBasicPolicy-40078690', 'ctest-policy-allow-all-34773006'] 2025-06-20 08:18:41,346 - INFO - VN ctest-vn-45645404 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 08:18:41,346 - DEBUG - Verifying the vn in opserver 2025-06-20 08:18:41,346 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-45645404 virtual network link through opserver 10.0.0.38 2025-06-20 08:18:41,346 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-20 08:18:41,678 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-20 08:18:41,738 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-45645404', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-45645404?flat'} 2025-06-20 08:18:41,738 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-45645404 is found in opserver 2025-06-20 08:18:41,750 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 08:18:41,756 - DEBUG - VRF ids for VN ctest-vn-45645404: {} 2025-06-20 08:18:41,756 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 08:18:41,763 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3433a493-9ce2-4549-a3c9-ca291f5d20bf 2025-06-20 08:18:41,776 - DEBUG - Requesting: http://10.0.0.38:8082/project/fa40752a-3d14-4b0e-a2b7-ab7134261989 2025-06-20 08:18:41,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6c39b262-fdc8-4294-8ab3-075b3f68b655 2025-06-20 08:18:41,870 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6c39b262-fdc8-4294-8ab3-075b3f68b655 2025-06-20 08:18:41,881 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9d07a8d-c455-404f-ac3b-370b7b90cd7b 2025-06-20 08:18:41,891 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9d07a8d-c455-404f-ac3b-370b7b90cd7b 2025-06-20 08:18:41,899 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f22f1beb-57f4-4b5a-aca1-1429bddd05db 2025-06-20 08:18:41,906 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 08:18:41,906 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6c39b262-fdc8-4294-8ab3-075b3f68b655 2025-06-20 08:18:41,917 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9d07a8d-c455-404f-ac3b-370b7b90cd7b 2025-06-20 08:18:41,932 - INFO - Verified VN network id 10 for VN 6c39b262-fdc8-4294-8ab3-075b3f68b655 2025-06-20 08:18:41,932 - INFO - Verifications in API Server for VN ctest-vn-96707418 passed 2025-06-20 08:18:41,933 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6c39b262-fdc8-4294-8ab3-075b3f68b655 2025-06-20 08:18:41,944 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9d07a8d-c455-404f-ac3b-370b7b90cd7b 2025-06-20 08:18:41,954 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9d07a8d-c455-404f-ac3b-370b7b90cd7b 2025-06-20 08:18:41,964 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f22f1beb-57f4-4b5a-aca1-1429bddd05db 2025-06-20 08:18:41,980 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-96707418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40078690', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7798460368003023508', 'uuid-lslong': '9994340086552507989'}, 'enable': 'true', 'created': '2025-06-20T08:18:39', 'last-modified': '2025-06-20T08:18:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.582007'} 2025-06-20 08:18:41,989 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 08:18:41,989 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96707418 passed 2025-06-20 08:18:41,989 - DEBUG - ====Verifying policy data for ctest-vn-96707418 in API_Server ====== 2025-06-20 08:18:41,989 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 08:18:41,997 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3433a493-9ce2-4549-a3c9-ca291f5d20bf 2025-06-20 08:18:42,011 - DEBUG - Requesting: http://10.0.0.38:8082/project/fa40752a-3d14-4b0e-a2b7-ab7134261989 2025-06-20 08:18:42,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6c39b262-fdc8-4294-8ab3-075b3f68b655 2025-06-20 08:18:42,104 - DEBUG - ==>Verifying data for policy with id: 1cd87617-859f-49b1-8c50-31d31cff23e5, fqn: ['default-domain', 'ctest-TestBasicPolicy-40078690', 'ctest-policy-allow-all-34773006'] 2025-06-20 08:18:42,104 - INFO - VN ctest-vn-96707418 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 08:18:42,104 - DEBUG - Verifying the vn in opserver 2025-06-20 08:18:42,104 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-96707418 virtual network link through opserver 10.0.0.38 2025-06-20 08:18:42,104 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-20 08:18:42,116 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-96707418', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-96707418?flat'} 2025-06-20 08:18:42,117 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-96707418 is found in opserver 2025-06-20 08:18:42,128 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 08:18:42,134 - DEBUG - VRF ids for VN ctest-vn-96707418: {} 2025-06-20 08:18:42,208 - DEBUG - Services list from nova: [, , ] 2025-06-20 08:18:43,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3502-1) 2025-06-20 08:18:45,012 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3502-1) 2025-06-20 08:18:45,012 - INFO - Waiting for VM ctest-TestBasicPolicy-40078690-62889986 to be up.. 2025-06-20 08:18:45,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 08:18:50,240 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:18:50,240 - INFO - VM name : ctest-TestBasicPolicy-40078690-62889986 2025-06-20 08:18:50,329 - DEBUG - VM ctest-TestBasicPolicy-40078690-62889986 ID is 75231846-0c5f-4c51-add6-ddc8211234d8 2025-06-20 08:18:50,350 - DEBUG - VM ctest-TestBasicPolicy-40078690-62889986 launched on Node cn-jenkins-deploy-platform-ansible-os-3502-1 2025-06-20 08:18:50,443 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/75231846-0c5f-4c51-add6-ddc8211234d8 2025-06-20 08:18:50,455 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a03ed90e-2828-4f95-a8ae-8ec31674e1e2 2025-06-20 08:18:53,727 - 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 1027ms') 2025-06-20 08:18:53,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40078690-62889986 failed! 2025-06-20 08:18:53,783 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40078690:ctest-vn-45645404 is 95.133.102.1 and allocation pool is NOT set 2025-06-20 08:18:55,847 - 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=11.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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 = 2.769/6.939/11.109/4.170 ms') 2025-06-20 08:18:55,847 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40078690-62889986 passed 2025-06-20 08:18:56,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:18:56,011 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40078690-62889986, IP 95.133.102.3, Port 22 2025-06-20 08:18:56,080 - 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-06-20 08:18:56,163 - DEBUG - VM ctest-TestBasicPolicy-40078690-62889986 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-20 08:19:01,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:19:01,163 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40078690-62889986, IP 95.133.102.3, Port 22 2025-06-20 08:19:01,322 - DEBUG - VM ctest-TestBasicPolicy-40078690-62889986 is ready for SSH connections 2025-06-20 08:19:01,322 - INFO - Waiting for VM ctest-TestBasicPolicy-40078690-01706887 to be up.. 2025-06-20 08:19:01,406 - DEBUG - VM is in ACTIVE state now 2025-06-20 08:19:01,406 - INFO - VM name : ctest-TestBasicPolicy-40078690-01706887 2025-06-20 08:19:01,492 - DEBUG - VM ctest-TestBasicPolicy-40078690-01706887 ID is fc5a047a-a275-4196-8584-bb52e88871da 2025-06-20 08:19:01,492 - DEBUG - VM ctest-TestBasicPolicy-40078690-01706887 launched on Node cn-jenkins-deploy-platform-ansible-os-3502-1 2025-06-20 08:19:01,581 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fc5a047a-a275-4196-8584-bb52e88871da 2025-06-20 08:19:01,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9b7f86a3-0605-4964-993d-7ab85c3f06d9 2025-06-20 08:19:02,837 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 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.488/1.905/3.323/1.417 ms') 2025-06-20 08:19:02,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40078690-01706887 passed 2025-06-20 08:19:02,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:19:02,991 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40078690-01706887, IP 73.224.241.67, Port 22 2025-06-20 08:19:03,147 - DEBUG - VM ctest-TestBasicPolicy-40078690-01706887 is ready for SSH connections 2025-06-20 08:19:03,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:19:03,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.224.241.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-20 08:19:03,148 - DEBUG - ping -s 56 -c 3 -W 1 73.224.241.67 2025-06-20 08:19:07,229 - DEBUG - PING 73.224.241.67 (73.224.241.67): 56 data bytes 64 bytes from 73.224.241.67: seq=0 ttl=63 time=3.715 ms 64 bytes from 73.224.241.67: seq=1 ttl=63 time=1.126 ms 64 bytes from 73.224.241.67: seq=2 ttl=63 time=0.983 ms --- 73.224.241.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.983/1.941/3.715 ms 2025-06-20 08:19:07,229 - INFO - Ping to IP 73.224.241.67 from VM ctest-TestBasicPolicy-40078690-62889986 passed 2025-06-20 08:19:07,422 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1cd87617-859f-49b1-8c50-31d31cff23e5", "href": "http://10.0.0.38:8082/network-policy/1cd87617-859f-49b1-8c50-31d31cff23e5"}} 2025-06-20 08:19:07,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 08:19:07,423 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.224.241.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-20 08:19:07,423 - DEBUG - ping -s 56 -c 3 -W 1 73.224.241.67 2025-06-20 08:19:10,656 - DEBUG - PING 73.224.241.67 (73.224.241.67): 56 data bytes 64 bytes from 73.224.241.67: seq=0 ttl=63 time=1.717 ms --- 73.224.241.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.717/1.717/1.717 ms 2025-06-20 08:19:10,656 - WARNING - Ping to IP 73.224.241.67 from VM ctest-TestBasicPolicy-40078690-62889986 failed 2025-06-20 08:19:10,656 - INFO - Deleting VM ctest-TestBasicPolicy-40078690-01706887 2025-06-20 08:19:10,749 - INFO - Deleting VM ctest-TestBasicPolicy-40078690-62889986 2025-06-20 08:19:11,208 - INFO - Deleted policy ctest-policy-allow-all-34773006 2025-06-20 08:19:11,208 - INFO - Deleting VN ctest-vn-96707418 2025-06-20 08:19:11,276 - DEBUG - VN 6c39b262-fdc8-4294-8ab3-075b3f68b655 still in use: Unable to complete operation on network 6c39b262-fdc8-4294-8ab3-075b3f68b655. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b2619805-d1a8-4a78-8924-c7ea55d87c72'] 2025-06-20 08:19:11,277 - WARNING - Deleting VN ctest-vn-96707418 failed..Will retry 2025-06-20 08:19:13,391 - DEBUG - Response for deleting network () 2025-06-20 08:19:13,391 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d9d07a8d-c455-404f-ac3b-370b7b90cd7b 2025-06-20 08:19:13,401 - DEBUG - Response Code: 404 2025-06-20 08:19:13,401 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 08:19:13,407 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3433a493-9ce2-4549-a3c9-ca291f5d20bf 2025-06-20 08:19:13,466 - DEBUG - Requesting: http://10.0.0.38:8082/project/fa40752a-3d14-4b0e-a2b7-ab7134261989 2025-06-20 08:19:13,542 - INFO - Validated that VN ctest-vn-96707418 is not found in API Server 2025-06-20 08:19:13,553 - DEBUG - VN ctest-vn-96707418 is not present in Agent 10.0.0.38 2025-06-20 08:19:13,554 - INFO - Validated that VN ctest-vn-96707418 is not in any agent 2025-06-20 08:19:13,569 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96707418 info 2025-06-20 08:19:13,570 - INFO - Deleting VN ctest-vn-45645404 2025-06-20 08:19:13,678 - DEBUG - Response for deleting network () 2025-06-20 08:19:13,678 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/aa8efa78-7220-4051-b42c-1aaf9341ac74 2025-06-20 08:19:13,686 - DEBUG - Response Code: 404 2025-06-20 08:19:13,686 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 08:19:13,692 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3433a493-9ce2-4549-a3c9-ca291f5d20bf 2025-06-20 08:19:13,744 - DEBUG - Requesting: http://10.0.0.38:8082/project/fa40752a-3d14-4b0e-a2b7-ab7134261989 2025-06-20 08:19:13,819 - INFO - Validated that VN ctest-vn-45645404 is not found in API Server 2025-06-20 08:19:13,830 - DEBUG - VN ctest-vn-45645404 is not present in Agent 10.0.0.38 2025-06-20 08:19:13,830 - INFO - Validated that VN ctest-vn-45645404 is not in any agent 2025-06-20 08:19:13,846 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45645404 info 2025-06-20 08:19:14,105 - DEBUG - No XMPP flaps were noticed during the test
2025-06-20 08:19:14,105 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-06-20 08:19:14,105 - INFO - -------------------------------------------------------------------------------- 2025-06-20 08:19:14,833 - INFO - Deleted project: ctest-TestBasicPolicy-40078690, ID : fa40752a-3d14-4b0e-a2b7-ab7134261989