2025-10-29 14:42:19,167 - INFO - Domain Default found not creating 2025-10-29 14:42:19,341 - INFO - Project ctest-TestBasicPolicy-68685435 not found, creating it 2025-10-29 14:42:19,814 - INFO - Created Project:ctest-TestBasicPolicy-68685435, ID : ef9f32ca-afa2-4bf9-98c5-98e2a857bf78 2025-10-29 14:42:21,357 - INFO - ================================================================================ 2025-10-29 14:42:21,357 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-29 14:42:21,357 - 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-29 14:42:21,620 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with 2025-10-29 14:42:21,620 - INFO - Initial checks done. Running the testcase now 2025-10-29 14:42:21,620 - INFO - 2025-10-29 14:42:22,201 - DEBUG - Response for create_network : {'network': {'id': '582a66a2-0fd4-4134-b57b-05539890ab4f', 'name': 'ctest-vn-39195574', 'tenant_id': 'ef9f32caafa24bf998c598e2a857bf78', 'project_id': 'ef9f32caafa24bf998c598e2a857bf78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68685435', 'ctest-vn-39195574'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 14:42:22,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '72285df8-9886-4dee-adb5-5c4309fb0425', 'name': '', 'tenant_id': 'ef9f32caafa24bf998c598e2a857bf78', 'network_id': '582a66a2-0fd4-4134-b57b-05539890ab4f', 'ip_version': 4, 'cidr': '207.216.2.192/26', 'allocation_pools': [{'start': '207.216.2.194', 'end': '207.216.2.254'}], 'gateway_ip': '207.216.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.216.2.194', 'tags': [], 'project_id': 'ef9f32caafa24bf998c598e2a857bf78'}} 2025-10-29 14:42:22,453 - INFO - Created VN ctest-vn-39195574 2025-10-29 14:42:22,506 - DEBUG - VN ctest-vn-39195574 UUID is 582a66a2-0fd4-4134-b57b-05539890ab4f 2025-10-29 14:42:22,841 - DEBUG - Response for create_network : {'network': {'id': '8b809eff-330e-4cc7-825b-e508e5ae9a69', 'name': 'ctest-vn-08161911', 'tenant_id': 'ef9f32caafa24bf998c598e2a857bf78', 'project_id': 'ef9f32caafa24bf998c598e2a857bf78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68685435', 'ctest-vn-08161911'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 14:42:23,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '42564df7-5fe1-45c8-8baf-f3b5d4c10b38', 'name': '', 'tenant_id': 'ef9f32caafa24bf998c598e2a857bf78', 'network_id': '8b809eff-330e-4cc7-825b-e508e5ae9a69', 'ip_version': 4, 'cidr': '33.99.159.192/26', 'allocation_pools': [{'start': '33.99.159.194', 'end': '33.99.159.254'}], 'gateway_ip': '33.99.159.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.99.159.194', 'tags': [], 'project_id': 'ef9f32caafa24bf998c598e2a857bf78'}} 2025-10-29 14:42:23,025 - INFO - Created VN ctest-vn-08161911 2025-10-29 14:42:23,074 - DEBUG - VN ctest-vn-08161911 UUID is 8b809eff-330e-4cc7-825b-e508e5ae9a69 2025-10-29 14:42:23,191 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-39195574, 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-68685435:ctest-vn-08161911, 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-29 14:42:23,478 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '582a66a2-0fd4-4134-b57b-05539890ab4f', 'name': 'ctest-vn-39195574', 'tenant_id': 'ef9f32caafa24bf998c598e2a857bf78', 'project_id': 'ef9f32caafa24bf998c598e2a857bf78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72285df8-9886-4dee-adb5-5c4309fb0425'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68685435', 'ctest-vn-39195574'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68685435', 'ctest-policy-allow-all-44237054']], 'subnet_ipam': [{'subnet_cidr': '207.216.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-29 14:42:23,711 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b809eff-330e-4cc7-825b-e508e5ae9a69', 'name': 'ctest-vn-08161911', 'tenant_id': 'ef9f32caafa24bf998c598e2a857bf78', 'project_id': 'ef9f32caafa24bf998c598e2a857bf78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['42564df7-5fe1-45c8-8baf-f3b5d4c10b38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68685435', 'ctest-vn-08161911'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68685435', 'ctest-policy-allow-all-44237054']], 'subnet_ipam': [{'subnet_cidr': '33.99.159.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-29 14:42:23,862 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-29 14:42:24,205 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-29 14:42:24,234 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1ba524dc-f32c-4c6c-b739-f1f9172404bc 2025-10-29 14:42:24,246 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef9f32ca-afa2-4bf9-98c5-98e2a857bf78 2025-10-29 14:42:24,319 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/582a66a2-0fd4-4134-b57b-05539890ab4f 2025-10-29 14:42:24,329 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/582a66a2-0fd4-4134-b57b-05539890ab4f 2025-10-29 14:42:24,338 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7fa676d0-675e-4ded-8960-474a3bfd5a9c 2025-10-29 14:42:24,345 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7fa676d0-675e-4ded-8960-474a3bfd5a9c 2025-10-29 14:42:24,352 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c85a1d9b-1859-4e78-9392-2a2028717822 2025-10-29 14:42:24,358 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 14:42:24,358 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/582a66a2-0fd4-4134-b57b-05539890ab4f 2025-10-29 14:42:24,367 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7fa676d0-675e-4ded-8960-474a3bfd5a9c 2025-10-29 14:42:24,381 - INFO - Verified VN network id 11 for VN 582a66a2-0fd4-4134-b57b-05539890ab4f 2025-10-29 14:42:24,381 - INFO - Verifications in API Server for VN ctest-vn-39195574 passed 2025-10-29 14:42:24,381 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/582a66a2-0fd4-4134-b57b-05539890ab4f 2025-10-29 14:42:24,392 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7fa676d0-675e-4ded-8960-474a3bfd5a9c 2025-10-29 14:42:24,398 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7fa676d0-675e-4ded-8960-474a3bfd5a9c 2025-10-29 14:42:24,404 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c85a1d9b-1859-4e78-9392-2a2028717822 2025-10-29 14:42:24,414 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-39195574', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68685435', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6353003070595809588', 'uuid-lslong': '13077051799600409423'}, 'enable': 'true', 'created': '2025-10-29T14:42:22', 'last-modified': '2025-10-29T14:42:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956932'} 2025-10-29 14:42:24,419 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 14:42:24,419 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39195574 passed 2025-10-29 14:42:24,419 - DEBUG - ====Verifying policy data for ctest-vn-39195574 in API_Server ====== 2025-10-29 14:42:24,420 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-29 14:42:24,424 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1ba524dc-f32c-4c6c-b739-f1f9172404bc 2025-10-29 14:42:24,436 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef9f32ca-afa2-4bf9-98c5-98e2a857bf78 2025-10-29 14:42:24,506 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/582a66a2-0fd4-4134-b57b-05539890ab4f 2025-10-29 14:42:24,516 - DEBUG - ==>Verifying data for policy with id: 413010de-bad6-47f8-a9bc-ca8dcf1d5929, fqn: ['default-domain', 'ctest-TestBasicPolicy-68685435', 'ctest-policy-allow-all-44237054'] 2025-10-29 14:42:24,516 - INFO - VN ctest-vn-39195574 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-29 14:42:24,516 - DEBUG - Verifying the vn in opserver 2025-10-29 14:42:24,516 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-39195574 virtual network link through opserver 10.0.0.33 2025-10-29 14:42:24,516 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-29 14:42:24,848 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-29 14:42:24,908 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-39195574', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-39195574?flat'} 2025-10-29 14:42:24,909 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-39195574 is found in opserver 2025-10-29 14:42:24,919 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 14:42:24,924 - DEBUG - VRF ids for VN ctest-vn-39195574: {} 2025-10-29 14:42:24,924 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-29 14:42:24,929 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1ba524dc-f32c-4c6c-b739-f1f9172404bc 2025-10-29 14:42:24,940 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef9f32ca-afa2-4bf9-98c5-98e2a857bf78 2025-10-29 14:42:25,011 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8b809eff-330e-4cc7-825b-e508e5ae9a69 2025-10-29 14:42:25,024 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8b809eff-330e-4cc7-825b-e508e5ae9a69 2025-10-29 14:42:25,033 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/feb920c9-a93c-46a3-a145-c9a6a5d85bc4 2025-10-29 14:42:25,040 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/feb920c9-a93c-46a3-a145-c9a6a5d85bc4 2025-10-29 14:42:25,046 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ed598c13-2ecd-4402-a300-c8f6bc09ec67 2025-10-29 14:42:25,052 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-29 14:42:25,052 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8b809eff-330e-4cc7-825b-e508e5ae9a69 2025-10-29 14:42:25,061 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/feb920c9-a93c-46a3-a145-c9a6a5d85bc4 2025-10-29 14:42:25,073 - INFO - Verified VN network id 12 for VN 8b809eff-330e-4cc7-825b-e508e5ae9a69 2025-10-29 14:42:25,073 - INFO - Verifications in API Server for VN ctest-vn-08161911 passed 2025-10-29 14:42:25,073 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8b809eff-330e-4cc7-825b-e508e5ae9a69 2025-10-29 14:42:25,081 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/feb920c9-a93c-46a3-a145-c9a6a5d85bc4 2025-10-29 14:42:25,087 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/feb920c9-a93c-46a3-a145-c9a6a5d85bc4 2025-10-29 14:42:25,094 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ed598c13-2ecd-4402-a300-c8f6bc09ec67 2025-10-29 14:42:25,105 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-08161911', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68685435', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10052209187201371335', 'uuid-lslong': '9393353274187225705'}, 'enable': 'true', 'created': '2025-10-29T14:42:22', 'last-modified': '2025-10-29T14:42:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.414761'} 2025-10-29 14:42:25,112 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-29 14:42:25,112 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08161911 passed 2025-10-29 14:42:25,113 - DEBUG - ====Verifying policy data for ctest-vn-08161911 in API_Server ====== 2025-10-29 14:42:25,113 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-29 14:42:25,119 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1ba524dc-f32c-4c6c-b739-f1f9172404bc 2025-10-29 14:42:25,129 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef9f32ca-afa2-4bf9-98c5-98e2a857bf78 2025-10-29 14:42:25,210 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8b809eff-330e-4cc7-825b-e508e5ae9a69 2025-10-29 14:42:25,219 - DEBUG - ==>Verifying data for policy with id: 413010de-bad6-47f8-a9bc-ca8dcf1d5929, fqn: ['default-domain', 'ctest-TestBasicPolicy-68685435', 'ctest-policy-allow-all-44237054'] 2025-10-29 14:42:25,219 - INFO - VN ctest-vn-08161911 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-29 14:42:25,220 - DEBUG - Verifying the vn in opserver 2025-10-29 14:42:25,220 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-08161911 virtual network link through opserver 10.0.0.33 2025-10-29 14:42:25,220 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-29 14:42:25,229 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-08161911', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-08161911?flat'} 2025-10-29 14:42:25,229 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-08161911 is found in opserver 2025-10-29 14:42:25,238 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 14:42:25,243 - DEBUG - VRF ids for VN ctest-vn-08161911: {} 2025-10-29 14:42:25,303 - DEBUG - Services list from nova: [, , ] 2025-10-29 14:42:26,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4522-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4522-1) 2025-10-29 14:42:27,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4522-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4522-1) 2025-10-29 14:42:27,764 - INFO - Waiting for VM ctest-TestBasicPolicy-68685435-39022127 to be up.. 2025-10-29 14:42:27,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 14:42:32,952 - DEBUG - VM is in ACTIVE state now 2025-10-29 14:42:32,952 - INFO - VM name : ctest-TestBasicPolicy-68685435-39022127 2025-10-29 14:42:33,034 - DEBUG - VM ctest-TestBasicPolicy-68685435-39022127 ID is fc2ba98e-a864-4911-aee1-141c04251813 2025-10-29 14:42:33,057 - DEBUG - VM ctest-TestBasicPolicy-68685435-39022127 launched on Node cn-jenkins-deploy-platform-ansible-os-4522-1 2025-10-29 14:42:33,139 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fc2ba98e-a864-4911-aee1-141c04251813 2025-10-29 14:42:33,151 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/54d283fa-cdf0-49a3-9b0b-fc1412081929 2025-10-29 14:42:36,419 - 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 1025ms') 2025-10-29 14:42:36,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68685435-39022127 failed! 2025-10-29 14:42:36,498 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68685435:ctest-vn-39195574 is 207.216.2.193 and allocation pool is NOT set 2025-10-29 14:42:38,566 - 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=6.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.97 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.968/5.015/6.062/1.047 ms') 2025-10-29 14:42:38,566 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68685435-39022127 passed 2025-10-29 14:42:38,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:42:38,718 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68685435-39022127, IP 207.216.2.195, Port 22 2025-10-29 14:42:38,785 - 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-29 14:42:38,874 - DEBUG - VM ctest-TestBasicPolicy-68685435-39022127 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 14:42:43,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:42:43,875 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68685435-39022127, IP 207.216.2.195, Port 22 2025-10-29 14:42:44,034 - DEBUG - VM ctest-TestBasicPolicy-68685435-39022127 is ready for SSH connections 2025-10-29 14:42:44,034 - INFO - Waiting for VM ctest-TestBasicPolicy-68685435-83432104 to be up.. 2025-10-29 14:42:44,107 - DEBUG - VM is in ACTIVE state now 2025-10-29 14:42:44,108 - INFO - VM name : ctest-TestBasicPolicy-68685435-83432104 2025-10-29 14:42:44,181 - DEBUG - VM ctest-TestBasicPolicy-68685435-83432104 ID is dd813efd-e1d4-4bf3-8046-a1905af6dffa 2025-10-29 14:42:44,181 - DEBUG - VM ctest-TestBasicPolicy-68685435-83432104 launched on Node cn-jenkins-deploy-platform-ansible-os-4522-1 2025-10-29 14:42:44,252 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dd813efd-e1d4-4bf3-8046-a1905af6dffa 2025-10-29 14:42:44,260 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/15ad2f40-d766-40af-8958-7a71643bea57 2025-10-29 14:42:45,491 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/1.946/3.397/1.451 ms') 2025-10-29 14:42:45,491 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68685435-83432104 passed 2025-10-29 14:42:45,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:42:45,642 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68685435-83432104, IP 33.99.159.195, Port 22 2025-10-29 14:42:45,797 - DEBUG - VM ctest-TestBasicPolicy-68685435-83432104 is ready for SSH connections 2025-10-29 14:42:45,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:42:45,798 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.99.159.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-29 14:42:45,798 - DEBUG - ping -s 56 -c 3 -W 1 33.99.159.195 2025-10-29 14:42:49,915 - DEBUG - PING 33.99.159.195 (33.99.159.195): 56 data bytes 64 bytes from 33.99.159.195: seq=0 ttl=63 time=4.778 ms 64 bytes from 33.99.159.195: seq=1 ttl=63 time=0.891 ms 64 bytes from 33.99.159.195: seq=2 ttl=63 time=0.875 ms --- 33.99.159.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/2.181/4.778 ms 2025-10-29 14:42:49,916 - INFO - Ping to IP 33.99.159.195 from VM ctest-TestBasicPolicy-68685435-39022127 passed 2025-10-29 14:42:50,094 - DEBUG - Policy Update Response {"network-policy": {"uuid": "413010de-bad6-47f8-a9bc-ca8dcf1d5929", "href": "http://10.0.0.33:8082/network-policy/413010de-bad6-47f8-a9bc-ca8dcf1d5929"}} 2025-10-29 14:42:50,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:42:50,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.99.159.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-29 14:42:50,094 - DEBUG - ping -s 56 -c 3 -W 1 33.99.159.195 2025-10-29 14:42:53,335 - DEBUG - PING 33.99.159.195 (33.99.159.195): 56 data bytes --- 33.99.159.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 14:42:53,335 - WARNING - Ping to IP 33.99.159.195 from VM ctest-TestBasicPolicy-68685435-39022127 failed 2025-10-29 14:42:53,335 - INFO - Deleting VM ctest-TestBasicPolicy-68685435-83432104 2025-10-29 14:42:53,428 - INFO - Deleting VM ctest-TestBasicPolicy-68685435-39022127 2025-10-29 14:42:53,826 - INFO - Deleted policy ctest-policy-allow-all-44237054 2025-10-29 14:42:53,826 - INFO - Deleting VN ctest-vn-08161911 2025-10-29 14:42:53,864 - DEBUG - VN 8b809eff-330e-4cc7-825b-e508e5ae9a69 still in use: Unable to complete operation on network 8b809eff-330e-4cc7-825b-e508e5ae9a69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3bd05964-efa8-4dfb-b945-98060751a222'] 2025-10-29 14:42:53,864 - WARNING - Deleting VN ctest-vn-08161911 failed..Will retry 2025-10-29 14:42:55,964 - DEBUG - Response for deleting network () 2025-10-29 14:42:55,965 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/feb920c9-a93c-46a3-a145-c9a6a5d85bc4 2025-10-29 14:42:55,969 - DEBUG - Response Code: 404 2025-10-29 14:42:55,970 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-29 14:42:55,975 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1ba524dc-f32c-4c6c-b739-f1f9172404bc 2025-10-29 14:42:56,028 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef9f32ca-afa2-4bf9-98c5-98e2a857bf78 2025-10-29 14:42:56,101 - INFO - Validated that VN ctest-vn-08161911 is not found in API Server 2025-10-29 14:42:56,112 - DEBUG - VN ctest-vn-08161911 is not present in Agent 10.0.0.33 2025-10-29 14:42:56,112 - INFO - Validated that VN ctest-vn-08161911 is not in any agent 2025-10-29 14:42:56,131 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08161911 info 2025-10-29 14:42:56,131 - INFO - Deleting VN ctest-vn-39195574 2025-10-29 14:42:56,221 - DEBUG - Response for deleting network () 2025-10-29 14:42:56,221 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7fa676d0-675e-4ded-8960-474a3bfd5a9c 2025-10-29 14:42:56,225 - DEBUG - Response Code: 404 2025-10-29 14:42:56,225 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-29 14:42:56,233 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1ba524dc-f32c-4c6c-b739-f1f9172404bc 2025-10-29 14:42:56,287 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef9f32ca-afa2-4bf9-98c5-98e2a857bf78 2025-10-29 14:42:56,361 - INFO - Validated that VN ctest-vn-39195574 is not found in API Server 2025-10-29 14:42:56,372 - DEBUG - VN ctest-vn-39195574 is not present in Agent 10.0.0.33 2025-10-29 14:42:56,372 - INFO - Validated that VN ctest-vn-39195574 is not in any agent 2025-10-29 14:42:56,388 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39195574 info 2025-10-29 14:42:56,644 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 14:42:56,644 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-29 14:42:56,644 - INFO - -------------------------------------------------------------------------------- 2025-10-29 14:42:57,349 - INFO - Deleted project: ctest-TestBasicPolicy-68685435, ID : ef9f32ca-afa2-4bf9-98c5-98e2a857bf78