2025-12-03 12:41:00,447 - INFO - Domain Default found not creating 2025-12-03 12:41:00,634 - INFO - Project ctest-TestBasicPolicy-56855379 not found, creating it 2025-12-03 12:41:01,103 - INFO - Created Project:ctest-TestBasicPolicy-56855379, ID : 241ca436-5b2c-4d62-90cd-abddc8776c37 2025-12-03 12:41:02,750 - INFO - ================================================================================ 2025-12-03 12:41:02,750 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-03 12:41:02,750 - 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-12-03 12:41:03,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-03 12:41:03,020 - INFO - Initial checks done. Running the testcase now 2025-12-03 12:41:03,020 - INFO - 2025-12-03 12:41:03,641 - DEBUG - Response for create_network : {'network': {'id': 'e2e83779-cb05-4222-ada7-7219cc044770', 'name': 'ctest-vn-60102214', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'project_id': '241ca4365b2c4d6290cdabddc8776c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-vn-60102214'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 12:41:03,871 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8045eae-c234-45c0-8696-9512f999a56a', 'name': '', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'network_id': 'e2e83779-cb05-4222-ada7-7219cc044770', 'ip_version': 4, 'cidr': '179.59.248.192/26', 'allocation_pools': [{'start': '179.59.248.194', 'end': '179.59.248.254'}], 'gateway_ip': '179.59.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.59.248.194', 'tags': [], 'project_id': '241ca4365b2c4d6290cdabddc8776c37'}} 2025-12-03 12:41:03,891 - INFO - Created VN ctest-vn-60102214 2025-12-03 12:41:03,943 - DEBUG - VN ctest-vn-60102214 UUID is e2e83779-cb05-4222-ada7-7219cc044770 2025-12-03 12:41:04,243 - DEBUG - Response for create_network : {'network': {'id': '599c5270-7d6c-4651-b704-2e2e82f48df7', 'name': 'ctest-vn-89540973', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'project_id': '241ca4365b2c4d6290cdabddc8776c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-vn-89540973'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 12:41:04,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd4fff07-f996-4bbf-a203-9b0e255e9c1b', 'name': '', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'network_id': '599c5270-7d6c-4651-b704-2e2e82f48df7', 'ip_version': 4, 'cidr': '146.34.88.64/26', 'allocation_pools': [{'start': '146.34.88.66', 'end': '146.34.88.126'}], 'gateway_ip': '146.34.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.34.88.66', 'tags': [], 'project_id': '241ca4365b2c4d6290cdabddc8776c37'}} 2025-12-03 12:41:04,424 - INFO - Created VN ctest-vn-89540973 2025-12-03 12:41:04,479 - DEBUG - VN ctest-vn-89540973 UUID is 599c5270-7d6c-4651-b704-2e2e82f48df7 2025-12-03 12:41:04,596 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214, 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-56855379:ctest-vn-89540973, 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-12-03 12:41:04,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2e83779-cb05-4222-ada7-7219cc044770', 'name': 'ctest-vn-60102214', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'project_id': '241ca4365b2c4d6290cdabddc8776c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8045eae-c234-45c0-8696-9512f999a56a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-vn-60102214'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-policy-allow-all-46958740']], 'subnet_ipam': [{'subnet_cidr': '179.59.248.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-03 12:41:05,152 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '599c5270-7d6c-4651-b704-2e2e82f48df7', 'name': 'ctest-vn-89540973', 'tenant_id': '241ca4365b2c4d6290cdabddc8776c37', 'project_id': '241ca4365b2c4d6290cdabddc8776c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd4fff07-f996-4bbf-a203-9b0e255e9c1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-vn-89540973'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-policy-allow-all-46958740']], 'subnet_ipam': [{'subnet_cidr': '146.34.88.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-03 12:41:05,299 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 12:41:05,645 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 12:41:05,680 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ac9ca0e9-2752-4f16-999b-5edc2fdb9916 2025-12-03 12:41:05,694 - DEBUG - Requesting: http://10.0.0.38:8082/project/241ca436-5b2c-4d62-90cd-abddc8776c37 2025-12-03 12:41:05,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2e83779-cb05-4222-ada7-7219cc044770 2025-12-03 12:41:05,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2e83779-cb05-4222-ada7-7219cc044770 2025-12-03 12:41:05,795 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6 2025-12-03 12:41:05,803 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6 2025-12-03 12:41:05,811 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c67a5ad2-ba86-45c1-b389-0df126c3018c 2025-12-03 12:41:05,817 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-03 12:41:05,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2e83779-cb05-4222-ada7-7219cc044770 2025-12-03 12:41:05,826 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6 2025-12-03 12:41:05,840 - INFO - Verified VN network id 11 for VN e2e83779-cb05-4222-ada7-7219cc044770 2025-12-03 12:41:05,840 - INFO - Verifications in API Server for VN ctest-vn-60102214 passed 2025-12-03 12:41:05,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2e83779-cb05-4222-ada7-7219cc044770 2025-12-03 12:41:05,849 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6 2025-12-03 12:41:05,857 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6 2025-12-03 12:41:05,865 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c67a5ad2-ba86-45c1-b389-0df126c3018c 2025-12-03 12:41:05,877 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56855379', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16350379443405275682', 'uuid-lslong': '12513095544794793840'}, 'enable': 'true', 'created': '2025-12-03T12:41:03', 'last-modified': '2025-12-03T12:41:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996253'} 2025-12-03 12:41:05,883 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-03 12:41:05,883 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60102214 passed 2025-12-03 12:41:05,883 - DEBUG - ====Verifying policy data for ctest-vn-60102214 in API_Server ====== 2025-12-03 12:41:05,883 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 12:41:05,889 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ac9ca0e9-2752-4f16-999b-5edc2fdb9916 2025-12-03 12:41:05,900 - DEBUG - Requesting: http://10.0.0.38:8082/project/241ca436-5b2c-4d62-90cd-abddc8776c37 2025-12-03 12:41:05,974 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e2e83779-cb05-4222-ada7-7219cc044770 2025-12-03 12:41:05,985 - DEBUG - ==>Verifying data for policy with id: c9f286eb-3617-4f15-8015-a2121cd4f846, fqn: ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-policy-allow-all-46958740'] 2025-12-03 12:41:05,985 - INFO - VN ctest-vn-60102214 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-03 12:41:05,985 - DEBUG - Verifying the vn in opserver 2025-12-03 12:41:05,985 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214 virtual network link through opserver 10.0.0.38 2025-12-03 12:41:05,986 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-03 12:41:06,321 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-03 12:41:06,389 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214?flat'} 2025-12-03 12:41:06,389 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214 is found in opserver 2025-12-03 12:41:06,399 - DEBUG - Do not have enough data to verify VN in agent 2025-12-03 12:41:06,403 - DEBUG - VRF ids for VN ctest-vn-60102214: {} 2025-12-03 12:41:06,404 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 12:41:06,409 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ac9ca0e9-2752-4f16-999b-5edc2fdb9916 2025-12-03 12:41:06,420 - DEBUG - Requesting: http://10.0.0.38:8082/project/241ca436-5b2c-4d62-90cd-abddc8776c37 2025-12-03 12:41:06,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/599c5270-7d6c-4651-b704-2e2e82f48df7 2025-12-03 12:41:06,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/599c5270-7d6c-4651-b704-2e2e82f48df7 2025-12-03 12:41:06,516 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2 2025-12-03 12:41:06,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2 2025-12-03 12:41:06,531 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/755bbe30-d29c-4186-944d-b259b4383462 2025-12-03 12:41:06,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-03 12:41:06,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/599c5270-7d6c-4651-b704-2e2e82f48df7 2025-12-03 12:41:06,546 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2 2025-12-03 12:41:06,559 - INFO - Verified VN network id 12 for VN 599c5270-7d6c-4651-b704-2e2e82f48df7 2025-12-03 12:41:06,560 - INFO - Verifications in API Server for VN ctest-vn-89540973 passed 2025-12-03 12:41:06,560 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/599c5270-7d6c-4651-b704-2e2e82f48df7 2025-12-03 12:41:06,568 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2 2025-12-03 12:41:06,575 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2 2025-12-03 12:41:06,583 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/755bbe30-d29c-4186-944d-b259b4383462 2025-12-03 12:41:06,596 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-89540973', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56855379', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6457126608836511313', 'uuid-lslong': '13187716386148093431'}, 'enable': 'true', 'created': '2025-12-03T12:41:04', 'last-modified': '2025-12-03T12:41:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.474720'} 2025-12-03 12:41:06,602 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-03 12:41:06,602 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89540973 passed 2025-12-03 12:41:06,602 - DEBUG - ====Verifying policy data for ctest-vn-89540973 in API_Server ====== 2025-12-03 12:41:06,602 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 12:41:06,608 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ac9ca0e9-2752-4f16-999b-5edc2fdb9916 2025-12-03 12:41:06,621 - DEBUG - Requesting: http://10.0.0.38:8082/project/241ca436-5b2c-4d62-90cd-abddc8776c37 2025-12-03 12:41:06,689 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/599c5270-7d6c-4651-b704-2e2e82f48df7 2025-12-03 12:41:06,698 - DEBUG - ==>Verifying data for policy with id: c9f286eb-3617-4f15-8015-a2121cd4f846, fqn: ['default-domain', 'ctest-TestBasicPolicy-56855379', 'ctest-policy-allow-all-46958740'] 2025-12-03 12:41:06,698 - INFO - VN ctest-vn-89540973 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-03 12:41:06,698 - DEBUG - Verifying the vn in opserver 2025-12-03 12:41:06,699 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-89540973 virtual network link through opserver 10.0.0.38 2025-12-03 12:41:06,699 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-03 12:41:06,708 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-89540973', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-89540973?flat'} 2025-12-03 12:41:06,708 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-89540973 is found in opserver 2025-12-03 12:41:06,718 - DEBUG - Do not have enough data to verify VN in agent 2025-12-03 12:41:06,723 - DEBUG - VRF ids for VN ctest-vn-89540973: {} 2025-12-03 12:41:06,788 - DEBUG - Services list from nova: [, , ] 2025-12-03 12:41:08,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4833-1) 2025-12-03 12:41:09,425 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4833-1) 2025-12-03 12:41:09,425 - INFO - Waiting for VM ctest-TestBasicPolicy-56855379-26103930 to be up.. 2025-12-03 12:41:09,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-03 12:41:14,606 - DEBUG - VM is in ACTIVE state now 2025-12-03 12:41:14,606 - INFO - VM name : ctest-TestBasicPolicy-56855379-26103930 2025-12-03 12:41:14,689 - DEBUG - VM ctest-TestBasicPolicy-56855379-26103930 ID is 2e30cb03-d1dd-4ccf-bbc6-e5f78b1b197a 2025-12-03 12:41:14,711 - DEBUG - VM ctest-TestBasicPolicy-56855379-26103930 launched on Node cn-jenkins-deploy-platform-ansible-os-4833-1 2025-12-03 12:41:14,793 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2e30cb03-d1dd-4ccf-bbc6-e5f78b1b197a 2025-12-03 12:41:14,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bcbd169b-26b6-4561-9724-901c04f08896 2025-12-03 12:41:18,065 - 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 1018ms') 2025-12-03 12:41:18,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56855379-26103930 failed! 2025-12-03 12:41:18,119 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56855379:ctest-vn-60102214 is 179.59.248.193 and allocation pool is NOT set 2025-12-03 12:41:20,179 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.06 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.059/5.240/7.422/2.181 ms') 2025-12-03 12:41:20,180 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56855379-26103930 passed 2025-12-03 12:41:20,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:41:20,327 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56855379-26103930, IP 179.59.248.195, Port 22 2025-12-03 12:41:20,387 - 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-12-03 12:41:20,469 - DEBUG - VM ctest-TestBasicPolicy-56855379-26103930 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-03 12:41:25,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:41:25,470 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56855379-26103930, IP 179.59.248.195, Port 22 2025-12-03 12:41:25,637 - DEBUG - VM ctest-TestBasicPolicy-56855379-26103930 is ready for SSH connections 2025-12-03 12:41:25,637 - INFO - Waiting for VM ctest-TestBasicPolicy-56855379-72313871 to be up.. 2025-12-03 12:41:25,732 - DEBUG - VM is in ACTIVE state now 2025-12-03 12:41:25,733 - INFO - VM name : ctest-TestBasicPolicy-56855379-72313871 2025-12-03 12:41:25,827 - DEBUG - VM ctest-TestBasicPolicy-56855379-72313871 ID is a27bbced-5e14-413c-9941-5bcbbb9b7760 2025-12-03 12:41:25,828 - DEBUG - VM ctest-TestBasicPolicy-56855379-72313871 launched on Node cn-jenkins-deploy-platform-ansible-os-4833-1 2025-12-03 12:41:25,915 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a27bbced-5e14-413c-9941-5bcbbb9b7760 2025-12-03 12:41:25,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a96ca12e-7d9b-4449-9bb8-597da853cf0c 2025-12-03 12:41:27,170 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/2.353/4.297/1.943 ms') 2025-12-03 12:41:27,170 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56855379-72313871 passed 2025-12-03 12:41:27,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:41:27,323 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56855379-72313871, IP 146.34.88.67, Port 22 2025-12-03 12:41:27,501 - DEBUG - VM ctest-TestBasicPolicy-56855379-72313871 is ready for SSH connections 2025-12-03 12:41:27,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:41:27,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.34.88.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 12:41:27,501 - DEBUG - ping -s 56 -c 3 -W 1 146.34.88.67 2025-12-03 12:41:31,613 - DEBUG - PING 146.34.88.67 (146.34.88.67): 56 data bytes 64 bytes from 146.34.88.67: seq=0 ttl=63 time=3.569 ms 64 bytes from 146.34.88.67: seq=1 ttl=63 time=0.968 ms 64 bytes from 146.34.88.67: seq=2 ttl=63 time=0.923 ms --- 146.34.88.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/1.820/3.569 ms 2025-12-03 12:41:31,613 - INFO - Ping to IP 146.34.88.67 from VM ctest-TestBasicPolicy-56855379-26103930 passed 2025-12-03 12:41:31,791 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c9f286eb-3617-4f15-8015-a2121cd4f846", "href": "http://10.0.0.38:8082/network-policy/c9f286eb-3617-4f15-8015-a2121cd4f846"}} 2025-12-03 12:41:31,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:41:31,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.34.88.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 12:41:31,791 - DEBUG - ping -s 56 -c 3 -W 1 146.34.88.67 2025-12-03 12:41:35,045 - DEBUG - PING 146.34.88.67 (146.34.88.67): 56 data bytes --- 146.34.88.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-03 12:41:35,045 - WARNING - Ping to IP 146.34.88.67 from VM ctest-TestBasicPolicy-56855379-26103930 failed 2025-12-03 12:41:35,045 - INFO - Deleting VM ctest-TestBasicPolicy-56855379-72313871 2025-12-03 12:41:35,149 - INFO - Deleting VM ctest-TestBasicPolicy-56855379-26103930 2025-12-03 12:41:35,547 - INFO - Deleted policy ctest-policy-allow-all-46958740 2025-12-03 12:41:35,547 - INFO - Deleting VN ctest-vn-89540973 2025-12-03 12:41:35,580 - DEBUG - VN 599c5270-7d6c-4651-b704-2e2e82f48df7 still in use: Unable to complete operation on network 599c5270-7d6c-4651-b704-2e2e82f48df7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17cb09ff-3122-4576-8e2a-49785a205175'] 2025-12-03 12:41:35,580 - WARNING - Deleting VN ctest-vn-89540973 failed..Will retry 2025-12-03 12:41:37,691 - DEBUG - Response for deleting network () 2025-12-03 12:41:37,691 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/23801b50-edf9-4203-9fa3-fdef4b7835c2 2025-12-03 12:41:37,696 - DEBUG - Response Code: 404 2025-12-03 12:41:37,696 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 12:41:37,702 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ac9ca0e9-2752-4f16-999b-5edc2fdb9916 2025-12-03 12:41:37,760 - DEBUG - Requesting: http://10.0.0.38:8082/project/241ca436-5b2c-4d62-90cd-abddc8776c37 2025-12-03 12:41:37,841 - INFO - Validated that VN ctest-vn-89540973 is not found in API Server 2025-12-03 12:41:37,851 - DEBUG - VN ctest-vn-89540973 is not present in Agent 10.0.0.38 2025-12-03 12:41:37,851 - INFO - Validated that VN ctest-vn-89540973 is not in any agent 2025-12-03 12:41:37,865 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89540973 info 2025-12-03 12:41:37,865 - INFO - Deleting VN ctest-vn-60102214 2025-12-03 12:41:37,972 - DEBUG - Response for deleting network () 2025-12-03 12:41:37,972 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0aea7c2e-7345-4c89-ab5c-69f4c9e807e6 2025-12-03 12:41:37,979 - DEBUG - Response Code: 404 2025-12-03 12:41:37,980 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 12:41:37,985 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ac9ca0e9-2752-4f16-999b-5edc2fdb9916 2025-12-03 12:41:38,036 - DEBUG - Requesting: http://10.0.0.38:8082/project/241ca436-5b2c-4d62-90cd-abddc8776c37 2025-12-03 12:41:38,115 - INFO - Validated that VN ctest-vn-60102214 is not found in API Server 2025-12-03 12:41:38,126 - DEBUG - VN ctest-vn-60102214 is not present in Agent 10.0.0.38 2025-12-03 12:41:38,126 - INFO - Validated that VN ctest-vn-60102214 is not in any agent 2025-12-03 12:41:38,141 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60102214 info 2025-12-03 12:41:38,396 - DEBUG - No XMPP flaps were noticed during the test
2025-12-03 12:41:38,396 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-12-03 12:41:38,396 - INFO - -------------------------------------------------------------------------------- 2025-12-03 12:41:39,171 - INFO - Deleted project: ctest-TestBasicPolicy-56855379, ID : 241ca436-5b2c-4d62-90cd-abddc8776c37