2025-09-11 14:40:00,125 - INFO - Domain Default found not creating 2025-09-11 14:40:00,334 - INFO - Project ctest-TestBasicPolicy-48073208 not found, creating it 2025-09-11 14:40:00,908 - INFO - Created Project:ctest-TestBasicPolicy-48073208, ID : e3936e56-d882-41ac-9dca-045d160bb80a 2025-09-11 14:40:02,750 - INFO - ================================================================================ 2025-09-11 14:40:02,751 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 14:40:02,751 - 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-11 14:40:03,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0'}} with 2025-09-11 14:40:03,022 - INFO - Initial checks done. Running the testcase now 2025-09-11 14:40:03,022 - INFO - 2025-09-11 14:40:04,090 - DEBUG - Response for create_network : {'network': {'id': '036828a0-8e0e-470b-974c-1810f8f1e054', 'name': 'ctest-vn-60481034', 'tenant_id': 'e3936e56d88241ac9dca045d160bb80a', 'project_id': 'e3936e56d88241ac9dca045d160bb80a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48073208', 'ctest-vn-60481034'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:40:04,302 - DEBUG - Response for create_subnet : {'subnet': {'id': '92f3258f-c826-4cef-a041-11f91e9818a3', 'name': '', 'tenant_id': 'e3936e56d88241ac9dca045d160bb80a', 'network_id': '036828a0-8e0e-470b-974c-1810f8f1e054', 'ip_version': 4, 'cidr': '71.211.25.128/26', 'allocation_pools': [{'start': '71.211.25.130', 'end': '71.211.25.190'}], 'gateway_ip': '71.211.25.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.211.25.130', 'tags': [], 'project_id': 'e3936e56d88241ac9dca045d160bb80a'}} 2025-09-11 14:40:04,327 - INFO - Created VN ctest-vn-60481034 2025-09-11 14:40:04,391 - DEBUG - VN ctest-vn-60481034 UUID is 036828a0-8e0e-470b-974c-1810f8f1e054 2025-09-11 14:40:04,747 - DEBUG - Response for create_network : {'network': {'id': '9de5a541-0877-43aa-8ceb-8c912c0397e3', 'name': 'ctest-vn-29166188', 'tenant_id': 'e3936e56d88241ac9dca045d160bb80a', 'project_id': 'e3936e56d88241ac9dca045d160bb80a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48073208', 'ctest-vn-29166188'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:40:04,986 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4816f18-352d-4367-8922-5eec14034c09', 'name': '', 'tenant_id': 'e3936e56d88241ac9dca045d160bb80a', 'network_id': '9de5a541-0877-43aa-8ceb-8c912c0397e3', 'ip_version': 4, 'cidr': '47.18.100.64/26', 'allocation_pools': [{'start': '47.18.100.66', 'end': '47.18.100.126'}], 'gateway_ip': '47.18.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.18.100.66', 'tags': [], 'project_id': 'e3936e56d88241ac9dca045d160bb80a'}} 2025-09-11 14:40:05,017 - INFO - Created VN ctest-vn-29166188 2025-09-11 14:40:05,075 - DEBUG - VN ctest-vn-29166188 UUID is 9de5a541-0877-43aa-8ceb-8c912c0397e3 2025-09-11 14:40:05,214 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-60481034, 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-48073208:ctest-vn-29166188, 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-11 14:40:05,550 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '036828a0-8e0e-470b-974c-1810f8f1e054', 'name': 'ctest-vn-60481034', 'tenant_id': 'e3936e56d88241ac9dca045d160bb80a', 'project_id': 'e3936e56d88241ac9dca045d160bb80a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['92f3258f-c826-4cef-a041-11f91e9818a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48073208', 'ctest-vn-60481034'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48073208', 'ctest-policy-allow-all-89833090']], 'subnet_ipam': [{'subnet_cidr': '71.211.25.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:40:05,791 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9de5a541-0877-43aa-8ceb-8c912c0397e3', 'name': 'ctest-vn-29166188', 'tenant_id': 'e3936e56d88241ac9dca045d160bb80a', 'project_id': 'e3936e56d88241ac9dca045d160bb80a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c4816f18-352d-4367-8922-5eec14034c09'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48073208', 'ctest-vn-29166188'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48073208', 'ctest-policy-allow-all-89833090']], 'subnet_ipam': [{'subnet_cidr': '47.18.100.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:40:05,963 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-09-11 14:40:06,304 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-09-11 14:40:06,344 - DEBUG - Requesting: http://10.0.0.137:8082/domain/04dd93ea-241f-48e6-8e53-caba2a1a15aa 2025-09-11 14:40:06,360 - DEBUG - Requesting: http://10.0.0.137:8082/project/e3936e56-d882-41ac-9dca-045d160bb80a 2025-09-11 14:40:06,446 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/036828a0-8e0e-470b-974c-1810f8f1e054 2025-09-11 14:40:06,459 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/036828a0-8e0e-470b-974c-1810f8f1e054 2025-09-11 14:40:06,470 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f551e6d4-5fbe-4efd-9590-29c66a869390 2025-09-11 14:40:06,478 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f551e6d4-5fbe-4efd-9590-29c66a869390 2025-09-11 14:40:06,486 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/51f3ce3a-9265-419b-ac27-7ba9f0904f4e 2025-09-11 14:40:06,495 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 14:40:06,495 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/036828a0-8e0e-470b-974c-1810f8f1e054 2025-09-11 14:40:06,505 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f551e6d4-5fbe-4efd-9590-29c66a869390 2025-09-11 14:40:06,521 - INFO - Verified VN network id 12 for VN 036828a0-8e0e-470b-974c-1810f8f1e054 2025-09-11 14:40:06,521 - INFO - Verifications in API Server for VN ctest-vn-60481034 passed 2025-09-11 14:40:06,521 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/036828a0-8e0e-470b-974c-1810f8f1e054 2025-09-11 14:40:06,531 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f551e6d4-5fbe-4efd-9590-29c66a869390 2025-09-11 14:40:06,539 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f551e6d4-5fbe-4efd-9590-29c66a869390 2025-09-11 14:40:06,548 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/51f3ce3a-9265-419b-ac27-7ba9f0904f4e 2025-09-11 14:40:06,562 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-60481034', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48073208', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '245490849734870795', 'uuid-lslong': '10902115259132272724'}, 'enable': 'true', 'created': '2025-09-11T14:40:04', 'last-modified': '2025-09-11T14:40:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.046180'} 2025-09-11 14:40:06,569 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 14:40:06,569 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60481034 passed 2025-09-11 14:40:06,570 - DEBUG - ====Verifying policy data for ctest-vn-60481034 in API_Server ====== 2025-09-11 14:40:06,570 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-09-11 14:40:06,576 - DEBUG - Requesting: http://10.0.0.137:8082/domain/04dd93ea-241f-48e6-8e53-caba2a1a15aa 2025-09-11 14:40:06,590 - DEBUG - Requesting: http://10.0.0.137:8082/project/e3936e56-d882-41ac-9dca-045d160bb80a 2025-09-11 14:40:06,671 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/036828a0-8e0e-470b-974c-1810f8f1e054 2025-09-11 14:40:06,684 - DEBUG - ==>Verifying data for policy with id: 49c3ae54-dfb8-4b23-9d50-686be2f1e131, fqn: ['default-domain', 'ctest-TestBasicPolicy-48073208', 'ctest-policy-allow-all-89833090'] 2025-09-11 14:40:06,684 - INFO - VN ctest-vn-60481034 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 14:40:06,684 - DEBUG - Verifying the vn in opserver 2025-09-11 14:40:06,684 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-60481034 virtual network link through opserver 10.0.0.137 2025-09-11 14:40:06,685 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-09-11 14:40:07,047 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-09-11 14:40:07,124 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-60481034', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-60481034?flat'} 2025-09-11 14:40:07,124 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-60481034 is found in opserver 2025-09-11 14:40:07,144 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 14:40:07,152 - DEBUG - VRF ids for VN ctest-vn-60481034: {} 2025-09-11 14:40:07,153 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-09-11 14:40:07,160 - DEBUG - Requesting: http://10.0.0.137:8082/domain/04dd93ea-241f-48e6-8e53-caba2a1a15aa 2025-09-11 14:40:07,176 - DEBUG - Requesting: http://10.0.0.137:8082/project/e3936e56-d882-41ac-9dca-045d160bb80a 2025-09-11 14:40:07,260 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/9de5a541-0877-43aa-8ceb-8c912c0397e3 2025-09-11 14:40:07,277 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/9de5a541-0877-43aa-8ceb-8c912c0397e3 2025-09-11 14:40:07,291 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/16773abf-a05e-43c2-941b-8b0e31c70311 2025-09-11 14:40:07,302 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/16773abf-a05e-43c2-941b-8b0e31c70311 2025-09-11 14:40:07,312 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/f352082f-bb56-4d74-aade-16e1fb211da3 2025-09-11 14:40:07,324 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 14:40:07,324 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/9de5a541-0877-43aa-8ceb-8c912c0397e3 2025-09-11 14:40:07,338 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/16773abf-a05e-43c2-941b-8b0e31c70311 2025-09-11 14:40:07,360 - INFO - Verified VN network id 13 for VN 9de5a541-0877-43aa-8ceb-8c912c0397e3 2025-09-11 14:40:07,360 - INFO - Verifications in API Server for VN ctest-vn-29166188 passed 2025-09-11 14:40:07,360 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/9de5a541-0877-43aa-8ceb-8c912c0397e3 2025-09-11 14:40:07,374 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/16773abf-a05e-43c2-941b-8b0e31c70311 2025-09-11 14:40:07,383 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/16773abf-a05e-43c2-941b-8b0e31c70311 2025-09-11 14:40:07,392 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/f352082f-bb56-4d74-aade-16e1fb211da3 2025-09-11 14:40:07,408 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-29166188', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48073208', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11377681732354917290', 'uuid-lslong': '10154364339973494755'}, 'enable': 'true', 'created': '2025-09-11T14:40:04', 'last-modified': '2025-09-11T14:40:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.647365'} 2025-09-11 14:40:07,415 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 14:40:07,415 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29166188 passed 2025-09-11 14:40:07,415 - DEBUG - ====Verifying policy data for ctest-vn-29166188 in API_Server ====== 2025-09-11 14:40:07,415 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-09-11 14:40:07,423 - DEBUG - Requesting: http://10.0.0.137:8082/domain/04dd93ea-241f-48e6-8e53-caba2a1a15aa 2025-09-11 14:40:07,436 - DEBUG - Requesting: http://10.0.0.137:8082/project/e3936e56-d882-41ac-9dca-045d160bb80a 2025-09-11 14:40:07,515 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/9de5a541-0877-43aa-8ceb-8c912c0397e3 2025-09-11 14:40:07,527 - DEBUG - ==>Verifying data for policy with id: 49c3ae54-dfb8-4b23-9d50-686be2f1e131, fqn: ['default-domain', 'ctest-TestBasicPolicy-48073208', 'ctest-policy-allow-all-89833090'] 2025-09-11 14:40:07,527 - INFO - VN ctest-vn-29166188 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 14:40:07,527 - DEBUG - Verifying the vn in opserver 2025-09-11 14:40:07,527 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-29166188 virtual network link through opserver 10.0.0.137 2025-09-11 14:40:07,527 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-09-11 14:40:07,540 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-29166188', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-29166188?flat'} 2025-09-11 14:40:07,540 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-29166188 is found in opserver 2025-09-11 14:40:07,550 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 14:40:07,555 - DEBUG - VRF ids for VN ctest-vn-29166188: {} 2025-09-11 14:40:07,631 - DEBUG - Services list from nova: [, , ] 2025-09-11 14:40:08,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4093-1) 2025-09-11 14:40:10,305 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4093-1) 2025-09-11 14:40:10,305 - INFO - Waiting for VM ctest-TestBasicPolicy-48073208-26074142 to be up.. 2025-09-11 14:40:10,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 14:40:15,508 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:40:15,508 - INFO - VM name : ctest-TestBasicPolicy-48073208-26074142 2025-09-11 14:40:15,609 - DEBUG - VM ctest-TestBasicPolicy-48073208-26074142 ID is 565d3536-b071-46c5-8741-b74914330d85 2025-09-11 14:40:15,637 - DEBUG - VM ctest-TestBasicPolicy-48073208-26074142 launched on Node cn-jenkins-deploy-platform-ansible-os-4093-1 2025-09-11 14:40:15,744 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/565d3536-b071-46c5-8741-b74914330d85 2025-09-11 14:40:15,756 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/e2093562-5b9a-45da-9700-71f58b23a453 2025-09-11 14:40:19,017 - 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 1005ms') 2025-09-11 14:40:19,017 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48073208-26074142 failed! 2025-09-11 14:40:19,075 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48073208:ctest-vn-60481034 is 71.211.25.129 and allocation pool is NOT set 2025-09-11 14:40:21,149 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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.095/4.713/7.331/2.618 ms') 2025-09-11 14:40:21,149 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48073208-26074142 passed 2025-09-11 14:40:21,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:40:21,303 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48073208-26074142, IP 71.211.25.131, Port 22 2025-09-11 14:40:21,375 - 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-09-11 14:40:21,481 - DEBUG - VM ctest-TestBasicPolicy-48073208-26074142 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 14:40:26,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:40:26,483 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48073208-26074142, IP 71.211.25.131, Port 22 2025-09-11 14:40:26,655 - DEBUG - VM ctest-TestBasicPolicy-48073208-26074142 is ready for SSH connections 2025-09-11 14:40:26,655 - INFO - Waiting for VM ctest-TestBasicPolicy-48073208-02446352 to be up.. 2025-09-11 14:40:26,760 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:40:26,760 - INFO - VM name : ctest-TestBasicPolicy-48073208-02446352 2025-09-11 14:40:26,865 - DEBUG - VM ctest-TestBasicPolicy-48073208-02446352 ID is 5184fb94-70ff-4b2a-9fc9-8f29c4f33209 2025-09-11 14:40:26,865 - DEBUG - VM ctest-TestBasicPolicy-48073208-02446352 launched on Node cn-jenkins-deploy-platform-ansible-os-4093-1 2025-09-11 14:40:26,952 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/5184fb94-70ff-4b2a-9fc9-8f29c4f33209 2025-09-11 14:40:26,963 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/2bd7c42c-5e17-409d-95a4-c9ee9430afc6 2025-09-11 14:40:28,224 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.720 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.720/2.205/3.691/1.485 ms') 2025-09-11 14:40:28,224 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48073208-02446352 passed 2025-09-11 14:40:28,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:40:28,388 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48073208-02446352, IP 47.18.100.67, Port 22 2025-09-11 14:40:28,566 - DEBUG - VM ctest-TestBasicPolicy-48073208-02446352 is ready for SSH connections 2025-09-11 14:40:28,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:40:28,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.18.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-09-11 14:40:28,566 - DEBUG - ping -s 56 -c 3 -W 1 47.18.100.67 2025-09-11 14:40:32,776 - DEBUG - PING 47.18.100.67 (47.18.100.67): 56 data bytes 64 bytes from 47.18.100.67: seq=0 ttl=63 time=5.096 ms 64 bytes from 47.18.100.67: seq=1 ttl=63 time=1.507 ms 64 bytes from 47.18.100.67: seq=2 ttl=63 time=1.516 ms --- 47.18.100.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.507/2.706/5.096 ms 2025-09-11 14:40:32,776 - INFO - Ping to IP 47.18.100.67 from VM ctest-TestBasicPolicy-48073208-26074142 passed 2025-09-11 14:40:32,991 - DEBUG - Policy Update Response {"network-policy": {"uuid": "49c3ae54-dfb8-4b23-9d50-686be2f1e131", "href": "http://10.0.0.137:8082/network-policy/49c3ae54-dfb8-4b23-9d50-686be2f1e131"}} 2025-09-11 14:40:32,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:40:32,991 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.18.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-09-11 14:40:32,991 - DEBUG - ping -s 56 -c 3 -W 1 47.18.100.67 2025-09-11 14:40:36,255 - DEBUG - PING 47.18.100.67 (47.18.100.67): 56 data bytes --- 47.18.100.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 14:40:36,255 - WARNING - Ping to IP 47.18.100.67 from VM ctest-TestBasicPolicy-48073208-26074142 failed 2025-09-11 14:40:36,255 - INFO - Deleting VM ctest-TestBasicPolicy-48073208-02446352 2025-09-11 14:40:36,339 - INFO - Deleting VM ctest-TestBasicPolicy-48073208-26074142 2025-09-11 14:40:36,803 - INFO - Deleted policy ctest-policy-allow-all-89833090 2025-09-11 14:40:36,803 - INFO - Deleting VN ctest-vn-29166188 2025-09-11 14:40:36,853 - DEBUG - VN 9de5a541-0877-43aa-8ceb-8c912c0397e3 still in use: Unable to complete operation on network 9de5a541-0877-43aa-8ceb-8c912c0397e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b50fc934-90aa-46fa-9dea-c29aed7ca263'] 2025-09-11 14:40:36,853 - WARNING - Deleting VN ctest-vn-29166188 failed..Will retry 2025-09-11 14:40:38,978 - DEBUG - Response for deleting network () 2025-09-11 14:40:38,978 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/16773abf-a05e-43c2-941b-8b0e31c70311 2025-09-11 14:40:38,985 - DEBUG - Response Code: 404 2025-09-11 14:40:38,986 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-09-11 14:40:38,996 - DEBUG - Requesting: http://10.0.0.137:8082/domain/04dd93ea-241f-48e6-8e53-caba2a1a15aa 2025-09-11 14:40:39,054 - DEBUG - Requesting: http://10.0.0.137:8082/project/e3936e56-d882-41ac-9dca-045d160bb80a 2025-09-11 14:40:39,133 - INFO - Validated that VN ctest-vn-29166188 is not found in API Server 2025-09-11 14:40:39,144 - DEBUG - VN ctest-vn-29166188 is not present in Agent 10.0.0.137 2025-09-11 14:40:39,144 - INFO - Validated that VN ctest-vn-29166188 is not in any agent 2025-09-11 14:40:39,159 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29166188 info 2025-09-11 14:40:39,159 - INFO - Deleting VN ctest-vn-60481034 2025-09-11 14:40:39,305 - DEBUG - Response for deleting network () 2025-09-11 14:40:39,305 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f551e6d4-5fbe-4efd-9590-29c66a869390 2025-09-11 14:40:39,312 - DEBUG - Response Code: 404 2025-09-11 14:40:39,312 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-09-11 14:40:39,318 - DEBUG - Requesting: http://10.0.0.137:8082/domain/04dd93ea-241f-48e6-8e53-caba2a1a15aa 2025-09-11 14:40:39,374 - DEBUG - Requesting: http://10.0.0.137:8082/project/e3936e56-d882-41ac-9dca-045d160bb80a 2025-09-11 14:40:39,451 - INFO - Validated that VN ctest-vn-60481034 is not found in API Server 2025-09-11 14:40:39,463 - DEBUG - VN ctest-vn-60481034 is not present in Agent 10.0.0.137 2025-09-11 14:40:39,463 - INFO - Validated that VN ctest-vn-60481034 is not in any agent 2025-09-11 14:40:39,479 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60481034 info 2025-09-11 14:40:39,739 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 14:40:39,739 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-09-11 14:40:39,740 - INFO - -------------------------------------------------------------------------------- 2025-09-11 14:40:40,540 - INFO - Deleted project: ctest-TestBasicPolicy-48073208, ID : e3936e56-d882-41ac-9dca-045d160bb80a