2025-09-16 11:41:07,676 - INFO - Domain Default found not creating 2025-09-16 11:41:07,818 - INFO - Project ctest-TestBasicPolicy-92089111 not found, creating it 2025-09-16 11:41:08,255 - INFO - Created Project:ctest-TestBasicPolicy-92089111, ID : 48320785-af83-4e57-9a0d-a25a5860457b 2025-09-16 11:41:09,725 - INFO - ================================================================================ 2025-09-16 11:41:09,725 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-16 11:41:09,725 - 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-09-16 11:41:09,983 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-16 11:41:09,983 - INFO - Initial checks done. Running the testcase now 2025-09-16 11:41:09,983 - INFO - 2025-09-16 11:41:10,531 - DEBUG - Response for create_network : {'network': {'id': '32850dc9-4310-4173-9c84-406c54d9505f', 'name': 'ctest-vn-48098778', 'tenant_id': '48320785af834e579a0da25a5860457b', 'project_id': '48320785af834e579a0da25a5860457b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92089111', 'ctest-vn-48098778'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 11:41:10,700 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c29e5ae5-83b2-41dd-a39f-831fba24f68f', 'name': '', 'tenant_id': '48320785af834e579a0da25a5860457b', 'network_id': '32850dc9-4310-4173-9c84-406c54d9505f', 'ip_version': 4, 'cidr': '218.65.4.64/26', 'allocation_pools': [{'start': '218.65.4.66', 'end': '218.65.4.126'}], 'gateway_ip': '218.65.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.65.4.66', 'tags': [], 'project_id': '48320785af834e579a0da25a5860457b'}} 2025-09-16 11:41:10,725 - INFO - Created VN ctest-vn-48098778 2025-09-16 11:41:10,802 - DEBUG - VN ctest-vn-48098778 UUID is 32850dc9-4310-4173-9c84-406c54d9505f 2025-09-16 11:41:11,079 - DEBUG - Response for create_network : {'network': {'id': '87009799-1aaa-4d3e-b41c-04dbdcca3857', 'name': 'ctest-vn-10724975', 'tenant_id': '48320785af834e579a0da25a5860457b', 'project_id': '48320785af834e579a0da25a5860457b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92089111', 'ctest-vn-10724975'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 11:41:11,232 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afd1f53c-7305-486c-a6b5-48b156b4d872', 'name': '', 'tenant_id': '48320785af834e579a0da25a5860457b', 'network_id': '87009799-1aaa-4d3e-b41c-04dbdcca3857', 'ip_version': 4, 'cidr': '195.40.160.128/26', 'allocation_pools': [{'start': '195.40.160.130', 'end': '195.40.160.190'}], 'gateway_ip': '195.40.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.40.160.130', 'tags': [], 'project_id': '48320785af834e579a0da25a5860457b'}} 2025-09-16 11:41:11,250 - INFO - Created VN ctest-vn-10724975 2025-09-16 11:41:11,306 - DEBUG - VN ctest-vn-10724975 UUID is 87009799-1aaa-4d3e-b41c-04dbdcca3857 2025-09-16 11:41:11,425 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-48098778, 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-92089111:ctest-vn-10724975, 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-09-16 11:41:11,723 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '32850dc9-4310-4173-9c84-406c54d9505f', 'name': 'ctest-vn-48098778', 'tenant_id': '48320785af834e579a0da25a5860457b', 'project_id': '48320785af834e579a0da25a5860457b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c29e5ae5-83b2-41dd-a39f-831fba24f68f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92089111', 'ctest-vn-48098778'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92089111', 'ctest-policy-allow-all-50318270']], 'subnet_ipam': [{'subnet_cidr': '218.65.4.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-16 11:41:12,005 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '87009799-1aaa-4d3e-b41c-04dbdcca3857', 'name': 'ctest-vn-10724975', 'tenant_id': '48320785af834e579a0da25a5860457b', 'project_id': '48320785af834e579a0da25a5860457b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['afd1f53c-7305-486c-a6b5-48b156b4d872'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92089111', 'ctest-vn-10724975'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92089111', 'ctest-policy-allow-all-50318270']], 'subnet_ipam': [{'subnet_cidr': '195.40.160.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-16 11:41:12,158 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-16 11:41:12,458 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-16 11:41:12,486 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d8e99ed6-e77a-4092-9c7e-98035934e7ea 2025-09-16 11:41:12,498 - DEBUG - Requesting: http://10.0.0.38:8082/project/48320785-af83-4e57-9a0d-a25a5860457b 2025-09-16 11:41:12,569 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/32850dc9-4310-4173-9c84-406c54d9505f 2025-09-16 11:41:12,578 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/32850dc9-4310-4173-9c84-406c54d9505f 2025-09-16 11:41:12,587 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfc50e3f-acce-45e9-9b65-9bd5ef0f816e 2025-09-16 11:41:12,593 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfc50e3f-acce-45e9-9b65-9bd5ef0f816e 2025-09-16 11:41:12,599 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1ffecf95-4c2f-4731-9ef1-eada8e73acd6 2025-09-16 11:41:12,604 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-16 11:41:12,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/32850dc9-4310-4173-9c84-406c54d9505f 2025-09-16 11:41:12,611 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfc50e3f-acce-45e9-9b65-9bd5ef0f816e 2025-09-16 11:41:12,623 - INFO - Verified VN network id 11 for VN 32850dc9-4310-4173-9c84-406c54d9505f 2025-09-16 11:41:12,623 - INFO - Verifications in API Server for VN ctest-vn-48098778 passed 2025-09-16 11:41:12,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/32850dc9-4310-4173-9c84-406c54d9505f 2025-09-16 11:41:12,631 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfc50e3f-acce-45e9-9b65-9bd5ef0f816e 2025-09-16 11:41:12,636 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfc50e3f-acce-45e9-9b65-9bd5ef0f816e 2025-09-16 11:41:12,641 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1ffecf95-4c2f-4731-9ef1-eada8e73acd6 2025-09-16 11:41:12,651 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-48098778', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92089111', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3640331031863640435', 'uuid-lslong': '11278210200866738271'}, 'enable': 'true', 'created': '2025-09-16T11:41:10', 'last-modified': '2025-09-16T11:41:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947770'} 2025-09-16 11:41:12,656 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-16 11:41:12,656 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48098778 passed 2025-09-16 11:41:12,657 - DEBUG - ====Verifying policy data for ctest-vn-48098778 in API_Server ====== 2025-09-16 11:41:12,657 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-16 11:41:12,662 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d8e99ed6-e77a-4092-9c7e-98035934e7ea 2025-09-16 11:41:12,672 - DEBUG - Requesting: http://10.0.0.38:8082/project/48320785-af83-4e57-9a0d-a25a5860457b 2025-09-16 11:41:12,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/32850dc9-4310-4173-9c84-406c54d9505f 2025-09-16 11:41:12,746 - DEBUG - ==>Verifying data for policy with id: 5038c1bc-c38b-4dc5-ad40-c48f857a0d2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-92089111', 'ctest-policy-allow-all-50318270'] 2025-09-16 11:41:12,746 - INFO - VN ctest-vn-48098778 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-16 11:41:12,746 - DEBUG - Verifying the vn in opserver 2025-09-16 11:41:12,746 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-48098778 virtual network link through opserver 10.0.0.38 2025-09-16 11:41:12,746 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-16 11:41:13,036 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-16 11:41:13,088 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-48098778', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-48098778?flat'} 2025-09-16 11:41:13,088 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-48098778 is found in opserver 2025-09-16 11:41:13,097 - DEBUG - Do not have enough data to verify VN in agent 2025-09-16 11:41:13,101 - DEBUG - VRF ids for VN ctest-vn-48098778: {} 2025-09-16 11:41:13,101 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-16 11:41:13,106 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d8e99ed6-e77a-4092-9c7e-98035934e7ea 2025-09-16 11:41:13,116 - DEBUG - Requesting: http://10.0.0.38:8082/project/48320785-af83-4e57-9a0d-a25a5860457b 2025-09-16 11:41:13,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/87009799-1aaa-4d3e-b41c-04dbdcca3857 2025-09-16 11:41:13,197 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/87009799-1aaa-4d3e-b41c-04dbdcca3857 2025-09-16 11:41:13,204 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/22a33f98-5bd0-45c9-bea2-4fcecae06bd5 2025-09-16 11:41:13,211 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/22a33f98-5bd0-45c9-bea2-4fcecae06bd5 2025-09-16 11:41:13,217 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/624fd393-f091-4906-888c-1a369dec2997 2025-09-16 11:41:13,224 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-16 11:41:13,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/87009799-1aaa-4d3e-b41c-04dbdcca3857 2025-09-16 11:41:13,232 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/22a33f98-5bd0-45c9-bea2-4fcecae06bd5 2025-09-16 11:41:13,246 - INFO - Verified VN network id 12 for VN 87009799-1aaa-4d3e-b41c-04dbdcca3857 2025-09-16 11:41:13,246 - INFO - Verifications in API Server for VN ctest-vn-10724975 passed 2025-09-16 11:41:13,246 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/87009799-1aaa-4d3e-b41c-04dbdcca3857 2025-09-16 11:41:13,255 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/22a33f98-5bd0-45c9-bea2-4fcecae06bd5 2025-09-16 11:41:13,262 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/22a33f98-5bd0-45c9-bea2-4fcecae06bd5 2025-09-16 11:41:13,269 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/624fd393-f091-4906-888c-1a369dec2997 2025-09-16 11:41:13,280 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-10724975', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92089111', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9727941878953430334', 'uuid-lslong': '12978253568523515991'}, 'enable': 'true', 'created': '2025-09-16T11:41:11', 'last-modified': '2025-09-16T11:41:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.342696'} 2025-09-16 11:41:13,288 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-16 11:41:13,288 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10724975 passed 2025-09-16 11:41:13,288 - DEBUG - ====Verifying policy data for ctest-vn-10724975 in API_Server ====== 2025-09-16 11:41:13,288 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-16 11:41:13,294 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d8e99ed6-e77a-4092-9c7e-98035934e7ea 2025-09-16 11:41:13,303 - DEBUG - Requesting: http://10.0.0.38:8082/project/48320785-af83-4e57-9a0d-a25a5860457b 2025-09-16 11:41:13,368 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/87009799-1aaa-4d3e-b41c-04dbdcca3857 2025-09-16 11:41:13,377 - DEBUG - ==>Verifying data for policy with id: 5038c1bc-c38b-4dc5-ad40-c48f857a0d2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-92089111', 'ctest-policy-allow-all-50318270'] 2025-09-16 11:41:13,377 - INFO - VN ctest-vn-10724975 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-16 11:41:13,377 - DEBUG - Verifying the vn in opserver 2025-09-16 11:41:13,377 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-10724975 virtual network link through opserver 10.0.0.38 2025-09-16 11:41:13,377 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-16 11:41:13,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-10724975', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-10724975?flat'} 2025-09-16 11:41:13,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-10724975 is found in opserver 2025-09-16 11:41:13,398 - DEBUG - Do not have enough data to verify VN in agent 2025-09-16 11:41:13,403 - DEBUG - VRF ids for VN ctest-vn-10724975: {} 2025-09-16 11:41:13,462 - DEBUG - Services list from nova: [, , ] 2025-09-16 11:41:14,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4121-1) 2025-09-16 11:41:15,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4121-1) 2025-09-16 11:41:15,621 - INFO - Waiting for VM ctest-TestBasicPolicy-92089111-85069878 to be up.. 2025-09-16 11:41:15,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 11:41:20,798 - DEBUG - VM is in ACTIVE state now 2025-09-16 11:41:20,798 - INFO - VM name : ctest-TestBasicPolicy-92089111-85069878 2025-09-16 11:41:20,870 - DEBUG - VM ctest-TestBasicPolicy-92089111-85069878 ID is ed371937-f452-46c1-9d73-da7684e21af9 2025-09-16 11:41:20,889 - DEBUG - VM ctest-TestBasicPolicy-92089111-85069878 launched on Node cn-jenkins-deploy-platform-ansible-os-4121-1 2025-09-16 11:41:20,962 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ed371937-f452-46c1-9d73-da7684e21af9 2025-09-16 11:41:20,970 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5e86fb10-0fb5-4ad0-bed4-699e83ea77a2 2025-09-16 11:41:24,212 - 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-09-16 11:41:24,212 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92089111-85069878 failed! 2025-09-16 11:41:24,266 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92089111:ctest-vn-48098778 is 218.65.4.65 and allocation pool is NOT set 2025-09-16 11:41:26,335 - 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=7.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.679/5.105/7.531/2.426 ms') 2025-09-16 11:41:26,335 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92089111-85069878 passed 2025-09-16 11:41:26,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:41:26,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92089111-85069878, IP 218.65.4.67, Port 22 2025-09-16 11:41:26,645 - DEBUG - VM ctest-TestBasicPolicy-92089111-85069878 is ready for SSH connections 2025-09-16 11:41:26,645 - INFO - Waiting for VM ctest-TestBasicPolicy-92089111-13495616 to be up.. 2025-09-16 11:41:26,720 - DEBUG - VM is in ACTIVE state now 2025-09-16 11:41:26,720 - INFO - VM name : ctest-TestBasicPolicy-92089111-13495616 2025-09-16 11:41:26,789 - DEBUG - VM ctest-TestBasicPolicy-92089111-13495616 ID is fc0737a5-a610-4437-8a8b-af0ebfc801f6 2025-09-16 11:41:26,789 - DEBUG - VM ctest-TestBasicPolicy-92089111-13495616 launched on Node cn-jenkins-deploy-platform-ansible-os-4121-1 2025-09-16 11:41:26,860 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fc0737a5-a610-4437-8a8b-af0ebfc801f6 2025-09-16 11:41:26,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b7e1350c-3e99-4aac-a96d-32cdd3edf21b 2025-09-16 11:41:28,095 - 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=4.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.71 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.707/3.312/4.918/1.605 ms') 2025-09-16 11:41:28,095 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92089111-13495616 passed 2025-09-16 11:41:28,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:41:28,250 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92089111-13495616, IP 195.40.160.131, Port 22 2025-09-16 11:41:28,409 - DEBUG - VM ctest-TestBasicPolicy-92089111-13495616 is ready for SSH connections 2025-09-16 11:41:28,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:41:28,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.40.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-16 11:41:28,410 - DEBUG - ping -s 56 -c 3 -W 1 195.40.160.131 2025-09-16 11:41:32,120 - DEBUG - PING 195.40.160.131 (195.40.160.131): 56 data bytes 64 bytes from 195.40.160.131: seq=0 ttl=63 time=5.440 ms 64 bytes from 195.40.160.131: seq=1 ttl=63 time=0.998 ms 64 bytes from 195.40.160.131: seq=2 ttl=63 time=0.932 ms --- 195.40.160.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.932/2.456/5.440 ms 2025-09-16 11:41:32,121 - INFO - Ping to IP 195.40.160.131 from VM ctest-TestBasicPolicy-92089111-85069878 passed 2025-09-16 11:41:32,294 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5038c1bc-c38b-4dc5-ad40-c48f857a0d2b", "href": "http://10.0.0.38:8082/network-policy/5038c1bc-c38b-4dc5-ad40-c48f857a0d2b"}} 2025-09-16 11:41:32,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:41:32,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.40.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-16 11:41:32,294 - DEBUG - ping -s 56 -c 3 -W 1 195.40.160.131 2025-09-16 11:41:35,519 - DEBUG - PING 195.40.160.131 (195.40.160.131): 56 data bytes --- 195.40.160.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 11:41:35,519 - WARNING - Ping to IP 195.40.160.131 from VM ctest-TestBasicPolicy-92089111-85069878 failed 2025-09-16 11:41:35,519 - INFO - Deleting VM ctest-TestBasicPolicy-92089111-13495616 2025-09-16 11:41:35,590 - INFO - Deleting VM ctest-TestBasicPolicy-92089111-85069878 2025-09-16 11:41:35,977 - INFO - Deleted policy ctest-policy-allow-all-50318270 2025-09-16 11:41:35,978 - INFO - Deleting VN ctest-vn-10724975 2025-09-16 11:41:36,014 - DEBUG - VN 87009799-1aaa-4d3e-b41c-04dbdcca3857 still in use: Unable to complete operation on network 87009799-1aaa-4d3e-b41c-04dbdcca3857. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0bd4a9d1-bc49-4696-a1ac-4a0417a5e3b0'] 2025-09-16 11:41:36,014 - WARNING - Deleting VN ctest-vn-10724975 failed..Will retry 2025-09-16 11:41:38,127 - DEBUG - Response for deleting network () 2025-09-16 11:41:38,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/22a33f98-5bd0-45c9-bea2-4fcecae06bd5 2025-09-16 11:41:38,136 - DEBUG - Response Code: 404 2025-09-16 11:41:38,136 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-16 11:41:38,142 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d8e99ed6-e77a-4092-9c7e-98035934e7ea 2025-09-16 11:41:38,194 - DEBUG - Requesting: http://10.0.0.38:8082/project/48320785-af83-4e57-9a0d-a25a5860457b 2025-09-16 11:41:38,265 - INFO - Validated that VN ctest-vn-10724975 is not found in API Server 2025-09-16 11:41:38,274 - DEBUG - VN ctest-vn-10724975 is not present in Agent 10.0.0.38 2025-09-16 11:41:38,274 - INFO - Validated that VN ctest-vn-10724975 is not in any agent 2025-09-16 11:41:38,288 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10724975 info 2025-09-16 11:41:38,288 - INFO - Deleting VN ctest-vn-48098778 2025-09-16 11:41:38,398 - DEBUG - Response for deleting network () 2025-09-16 11:41:38,398 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bfc50e3f-acce-45e9-9b65-9bd5ef0f816e 2025-09-16 11:41:38,404 - DEBUG - Response Code: 404 2025-09-16 11:41:38,404 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-16 11:41:38,410 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d8e99ed6-e77a-4092-9c7e-98035934e7ea 2025-09-16 11:41:38,463 - DEBUG - Requesting: http://10.0.0.38:8082/project/48320785-af83-4e57-9a0d-a25a5860457b 2025-09-16 11:41:38,536 - INFO - Validated that VN ctest-vn-48098778 is not found in API Server 2025-09-16 11:41:38,546 - DEBUG - VN ctest-vn-48098778 is not present in Agent 10.0.0.38 2025-09-16 11:41:38,546 - INFO - Validated that VN ctest-vn-48098778 is not in any agent 2025-09-16 11:41:38,559 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48098778 info 2025-09-16 11:41:38,811 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 11:41:38,811 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-16 11:41:38,811 - INFO - -------------------------------------------------------------------------------- 2025-09-16 11:41:39,465 - INFO - Deleted project: ctest-TestBasicPolicy-92089111, ID : 48320785-af83-4e57-9a0d-a25a5860457b