2025-12-01 02:11:49,060 - INFO - Domain Default found not creating 2025-12-01 02:11:49,231 - INFO - Project ctest-TestBasicPolicy-56361873 not found, creating it 2025-12-01 02:11:49,676 - INFO - Created Project:ctest-TestBasicPolicy-56361873, ID : 1e9b44d0-b6cc-4a86-98b3-740049f2f4be 2025-12-01 02:11:51,127 - INFO - ================================================================================ 2025-12-01 02:11:51,127 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-01 02:11:51,127 - 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-01 02:11:51,380 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.18': '0'}} with 2025-12-01 02:11:51,380 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:11:51,380 - INFO - 2025-12-01 02:11:51,917 - DEBUG - Response for create_network : {'network': {'id': 'efe52d61-ce2f-499f-a5be-52e5ab2369f3', 'name': 'ctest-vn-94622734', 'tenant_id': '1e9b44d0b6cc4a8698b3740049f2f4be', 'project_id': '1e9b44d0b6cc4a8698b3740049f2f4be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56361873', 'ctest-vn-94622734'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:11:52,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2538339-ca04-4d4e-a298-5ee685efaf4a', 'name': '', 'tenant_id': '1e9b44d0b6cc4a8698b3740049f2f4be', 'network_id': 'efe52d61-ce2f-499f-a5be-52e5ab2369f3', 'ip_version': 4, 'cidr': '118.165.108.192/26', 'allocation_pools': [{'start': '118.165.108.194', 'end': '118.165.108.254'}], 'gateway_ip': '118.165.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.165.108.194', 'tags': [], 'project_id': '1e9b44d0b6cc4a8698b3740049f2f4be'}} 2025-12-01 02:11:52,089 - INFO - Created VN ctest-vn-94622734 2025-12-01 02:11:52,143 - DEBUG - VN ctest-vn-94622734 UUID is efe52d61-ce2f-499f-a5be-52e5ab2369f3 2025-12-01 02:11:52,413 - DEBUG - Response for create_network : {'network': {'id': '9c667b54-802f-4b37-9082-ca6316e92690', 'name': 'ctest-vn-36385875', 'tenant_id': '1e9b44d0b6cc4a8698b3740049f2f4be', 'project_id': '1e9b44d0b6cc4a8698b3740049f2f4be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56361873', 'ctest-vn-36385875'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:11:52,627 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f272bc3c-d1ac-4b0c-9635-d5ba65afec07', 'name': '', 'tenant_id': '1e9b44d0b6cc4a8698b3740049f2f4be', 'network_id': '9c667b54-802f-4b37-9082-ca6316e92690', 'ip_version': 4, 'cidr': '197.243.116.64/26', 'allocation_pools': [{'start': '197.243.116.66', 'end': '197.243.116.126'}], 'gateway_ip': '197.243.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.243.116.66', 'tags': [], 'project_id': '1e9b44d0b6cc4a8698b3740049f2f4be'}} 2025-12-01 02:11:52,644 - INFO - Created VN ctest-vn-36385875 2025-12-01 02:11:52,695 - DEBUG - VN ctest-vn-36385875 UUID is 9c667b54-802f-4b37-9082-ca6316e92690 2025-12-01 02:11:52,839 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-94622734, 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-56361873:ctest-vn-36385875, 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-01 02:11:53,130 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efe52d61-ce2f-499f-a5be-52e5ab2369f3', 'name': 'ctest-vn-94622734', 'tenant_id': '1e9b44d0b6cc4a8698b3740049f2f4be', 'project_id': '1e9b44d0b6cc4a8698b3740049f2f4be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c2538339-ca04-4d4e-a298-5ee685efaf4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56361873', 'ctest-vn-94622734'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56361873', 'ctest-policy-allow-all-71705795']], 'subnet_ipam': [{'subnet_cidr': '118.165.108.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:11:53,349 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c667b54-802f-4b37-9082-ca6316e92690', 'name': 'ctest-vn-36385875', 'tenant_id': '1e9b44d0b6cc4a8698b3740049f2f4be', 'project_id': '1e9b44d0b6cc4a8698b3740049f2f4be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f272bc3c-d1ac-4b0c-9635-d5ba65afec07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56361873', 'ctest-vn-36385875'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56361873', 'ctest-policy-allow-all-71705795']], 'subnet_ipam': [{'subnet_cidr': '197.243.116.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:11:53,523 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-12-01 02:11:53,816 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-12-01 02:11:53,844 - DEBUG - Requesting: http://10.0.0.240:8082/domain/5c8f8bdc-c560-44ad-b11f-1b7b7676572f 2025-12-01 02:11:53,854 - DEBUG - Requesting: http://10.0.0.240:8082/project/1e9b44d0-b6cc-4a86-98b3-740049f2f4be 2025-12-01 02:11:53,923 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/efe52d61-ce2f-499f-a5be-52e5ab2369f3 2025-12-01 02:11:53,932 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/efe52d61-ce2f-499f-a5be-52e5ab2369f3 2025-12-01 02:11:53,939 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a9fdd7ac-935c-42b9-aa72-f359b7a68f00 2025-12-01 02:11:53,945 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a9fdd7ac-935c-42b9-aa72-f359b7a68f00 2025-12-01 02:11:53,950 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/ae6c059a-bf5b-4f89-8aed-0e72f2b159ac 2025-12-01 02:11:53,954 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 02:11:53,955 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/efe52d61-ce2f-499f-a5be-52e5ab2369f3 2025-12-01 02:11:53,963 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a9fdd7ac-935c-42b9-aa72-f359b7a68f00 2025-12-01 02:11:53,975 - INFO - Verified VN network id 11 for VN efe52d61-ce2f-499f-a5be-52e5ab2369f3 2025-12-01 02:11:53,976 - INFO - Verifications in API Server for VN ctest-vn-94622734 passed 2025-12-01 02:11:53,976 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/efe52d61-ce2f-499f-a5be-52e5ab2369f3 2025-12-01 02:11:53,983 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a9fdd7ac-935c-42b9-aa72-f359b7a68f00 2025-12-01 02:11:53,988 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a9fdd7ac-935c-42b9-aa72-f359b7a68f00 2025-12-01 02:11:53,993 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/ae6c059a-bf5b-4f89-8aed-0e72f2b159ac 2025-12-01 02:11:54,004 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-94622734', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56361873', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17286272642825800095', 'uuid-lslong': '11943074408205347315'}, 'enable': 'true', 'created': '2025-12-01T02:11:51', 'last-modified': '2025-12-01T02:11:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.896532'} 2025-12-01 02:11:54,010 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 02:11:54,010 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94622734 passed 2025-12-01 02:11:54,010 - DEBUG - ====Verifying policy data for ctest-vn-94622734 in API_Server ====== 2025-12-01 02:11:54,010 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-12-01 02:11:54,014 - DEBUG - Requesting: http://10.0.0.240:8082/domain/5c8f8bdc-c560-44ad-b11f-1b7b7676572f 2025-12-01 02:11:54,023 - DEBUG - Requesting: http://10.0.0.240:8082/project/1e9b44d0-b6cc-4a86-98b3-740049f2f4be 2025-12-01 02:11:54,092 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/efe52d61-ce2f-499f-a5be-52e5ab2369f3 2025-12-01 02:11:54,101 - DEBUG - ==>Verifying data for policy with id: 9c6b5217-e39e-4cb8-92f9-ae057cd9736c, fqn: ['default-domain', 'ctest-TestBasicPolicy-56361873', 'ctest-policy-allow-all-71705795'] 2025-12-01 02:11:54,101 - INFO - VN ctest-vn-94622734 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 02:11:54,101 - DEBUG - Verifying the vn in opserver 2025-12-01 02:11:54,101 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-94622734 virtual network link through opserver 10.0.0.240 2025-12-01 02:11:54,101 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-12-01 02:11:54,390 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-12-01 02:11:54,445 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-94622734', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-94622734?flat'} 2025-12-01 02:11:54,445 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-94622734 is found in opserver 2025-12-01 02:11:54,454 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 02:11:54,459 - DEBUG - VRF ids for VN ctest-vn-94622734: {} 2025-12-01 02:11:54,459 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-12-01 02:11:54,464 - DEBUG - Requesting: http://10.0.0.240:8082/domain/5c8f8bdc-c560-44ad-b11f-1b7b7676572f 2025-12-01 02:11:54,473 - DEBUG - Requesting: http://10.0.0.240:8082/project/1e9b44d0-b6cc-4a86-98b3-740049f2f4be 2025-12-01 02:11:54,542 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/9c667b54-802f-4b37-9082-ca6316e92690 2025-12-01 02:11:54,553 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/9c667b54-802f-4b37-9082-ca6316e92690 2025-12-01 02:11:54,561 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/22e761b2-f6af-4f1d-823c-c26cfa333f95 2025-12-01 02:11:54,568 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/22e761b2-f6af-4f1d-823c-c26cfa333f95 2025-12-01 02:11:54,574 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/cbe9ce77-5199-45ef-81e5-ec0e244152bd 2025-12-01 02:11:54,581 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 02:11:54,581 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/9c667b54-802f-4b37-9082-ca6316e92690 2025-12-01 02:11:54,590 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/22e761b2-f6af-4f1d-823c-c26cfa333f95 2025-12-01 02:11:54,606 - INFO - Verified VN network id 12 for VN 9c667b54-802f-4b37-9082-ca6316e92690 2025-12-01 02:11:54,606 - INFO - Verifications in API Server for VN ctest-vn-36385875 passed 2025-12-01 02:11:54,606 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/9c667b54-802f-4b37-9082-ca6316e92690 2025-12-01 02:11:54,614 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/22e761b2-f6af-4f1d-823c-c26cfa333f95 2025-12-01 02:11:54,620 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/22e761b2-f6af-4f1d-823c-c26cfa333f95 2025-12-01 02:11:54,625 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/cbe9ce77-5199-45ef-81e5-ec0e244152bd 2025-12-01 02:11:54,635 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-36385875', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56361873', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11269830720399297335', 'uuid-lslong': '10413107815368959632'}, 'enable': 'true', 'created': '2025-12-01T02:11:52', 'last-modified': '2025-12-01T02:11:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.308451'} 2025-12-01 02:11:54,642 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 02:11:54,642 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36385875 passed 2025-12-01 02:11:54,643 - DEBUG - ====Verifying policy data for ctest-vn-36385875 in API_Server ====== 2025-12-01 02:11:54,643 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-12-01 02:11:54,648 - DEBUG - Requesting: http://10.0.0.240:8082/domain/5c8f8bdc-c560-44ad-b11f-1b7b7676572f 2025-12-01 02:11:54,657 - DEBUG - Requesting: http://10.0.0.240:8082/project/1e9b44d0-b6cc-4a86-98b3-740049f2f4be 2025-12-01 02:11:54,729 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/9c667b54-802f-4b37-9082-ca6316e92690 2025-12-01 02:11:54,739 - DEBUG - ==>Verifying data for policy with id: 9c6b5217-e39e-4cb8-92f9-ae057cd9736c, fqn: ['default-domain', 'ctest-TestBasicPolicy-56361873', 'ctest-policy-allow-all-71705795'] 2025-12-01 02:11:54,739 - INFO - VN ctest-vn-36385875 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 02:11:54,739 - DEBUG - Verifying the vn in opserver 2025-12-01 02:11:54,739 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-36385875 virtual network link through opserver 10.0.0.240 2025-12-01 02:11:54,739 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2025-12-01 02:11:54,748 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-36385875', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-36385875?flat'} 2025-12-01 02:11:54,748 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-36385875 is found in opserver 2025-12-01 02:11:54,758 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 02:11:54,763 - DEBUG - VRF ids for VN ctest-vn-36385875: {} 2025-12-01 02:11:54,847 - DEBUG - Services list from nova: [, , ] 2025-12-01 02:11:55,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4828-1) 2025-12-01 02:11:56,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4828-1) 2025-12-01 02:11:56,961 - INFO - Waiting for VM ctest-TestBasicPolicy-56361873-37399329 to be up.. 2025-12-01 02:11:57,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 02:12:02,109 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:12:02,109 - INFO - VM name : ctest-TestBasicPolicy-56361873-37399329 2025-12-01 02:12:02,180 - DEBUG - VM ctest-TestBasicPolicy-56361873-37399329 ID is 871425fc-06e9-4c0c-b6b0-de80f7d6d536 2025-12-01 02:12:02,203 - DEBUG - VM ctest-TestBasicPolicy-56361873-37399329 launched on Node cn-jenkins-deploy-platform-ansible-os-4828-1 2025-12-01 02:12:02,279 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/871425fc-06e9-4c0c-b6b0-de80f7d6d536 2025-12-01 02:12:02,289 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/bbbac136-17ee-4a42-8c3b-de39e563ba3f 2025-12-01 02:12:05,509 - 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 1026ms') 2025-12-01 02:12:05,509 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56361873-37399329 failed! 2025-12-01 02:12:05,563 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56361873:ctest-vn-94622734 is 118.165.108.193 and allocation pool is NOT set 2025-12-01 02:12:07,620 - 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=2.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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 = 0.395/1.571/2.748/1.176 ms') 2025-12-01 02:12:07,620 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56361873-37399329 passed 2025-12-01 02:12:07,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:12:07,771 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56361873-37399329, IP 118.165.108.195, Port 22 2025-12-01 02:12:07,926 - DEBUG - VM ctest-TestBasicPolicy-56361873-37399329 is ready for SSH connections 2025-12-01 02:12:07,926 - INFO - Waiting for VM ctest-TestBasicPolicy-56361873-79678123 to be up.. 2025-12-01 02:12:08,000 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:12:08,000 - INFO - VM name : ctest-TestBasicPolicy-56361873-79678123 2025-12-01 02:12:08,078 - DEBUG - VM ctest-TestBasicPolicy-56361873-79678123 ID is 3ca8e098-273d-410f-8f27-f4ef26a695bb 2025-12-01 02:12:08,078 - DEBUG - VM ctest-TestBasicPolicy-56361873-79678123 launched on Node cn-jenkins-deploy-platform-ansible-os-4828-1 2025-12-01 02:12:08,155 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/3ca8e098-273d-410f-8f27-f4ef26a695bb 2025-12-01 02:12:08,166 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/74d9d759-a8e9-4899-bf07-a49121ffa48d 2025-12-01 02:12:09,404 - 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=2.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.633 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 = 0.633/1.806/2.980/1.173 ms') 2025-12-01 02:12:09,404 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56361873-79678123 passed 2025-12-01 02:12:09,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:12:09,551 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56361873-79678123, IP 197.243.116.67, Port 22 2025-12-01 02:12:09,706 - DEBUG - VM ctest-TestBasicPolicy-56361873-79678123 is ready for SSH connections 2025-12-01 02:12:09,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:12:09,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.243.116.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-12-01 02:12:09,706 - DEBUG - ping -s 56 -c 3 -W 1 197.243.116.67 2025-12-01 02:12:13,416 - DEBUG - PING 197.243.116.67 (197.243.116.67): 56 data bytes 64 bytes from 197.243.116.67: seq=0 ttl=63 time=3.317 ms 64 bytes from 197.243.116.67: seq=1 ttl=63 time=1.016 ms 64 bytes from 197.243.116.67: seq=2 ttl=63 time=0.777 ms --- 197.243.116.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/1.703/3.317 ms 2025-12-01 02:12:13,416 - INFO - Ping to IP 197.243.116.67 from VM ctest-TestBasicPolicy-56361873-37399329 passed 2025-12-01 02:12:13,582 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c6b5217-e39e-4cb8-92f9-ae057cd9736c", "href": "http://10.0.0.240:8082/network-policy/9c6b5217-e39e-4cb8-92f9-ae057cd9736c"}} 2025-12-01 02:12:13,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:12:13,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.243.116.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-12-01 02:12:13,583 - DEBUG - ping -s 56 -c 3 -W 1 197.243.116.67 2025-12-01 02:12:16,789 - DEBUG - PING 197.243.116.67 (197.243.116.67): 56 data bytes --- 197.243.116.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-01 02:12:16,789 - WARNING - Ping to IP 197.243.116.67 from VM ctest-TestBasicPolicy-56361873-37399329 failed 2025-12-01 02:12:16,789 - INFO - Deleting VM ctest-TestBasicPolicy-56361873-79678123 2025-12-01 02:12:16,853 - INFO - Deleting VM ctest-TestBasicPolicy-56361873-37399329 2025-12-01 02:12:17,196 - INFO - Deleted policy ctest-policy-allow-all-71705795 2025-12-01 02:12:17,196 - INFO - Deleting VN ctest-vn-36385875 2025-12-01 02:12:17,234 - DEBUG - VN 9c667b54-802f-4b37-9082-ca6316e92690 still in use: Unable to complete operation on network 9c667b54-802f-4b37-9082-ca6316e92690. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee42f8e4-1b55-4ec8-99dd-af7b8a38adac'] 2025-12-01 02:12:17,234 - WARNING - Deleting VN ctest-vn-36385875 failed..Will retry 2025-12-01 02:12:19,345 - DEBUG - Response for deleting network () 2025-12-01 02:12:19,345 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/22e761b2-f6af-4f1d-823c-c26cfa333f95 2025-12-01 02:12:19,352 - DEBUG - Response Code: 404 2025-12-01 02:12:19,352 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-12-01 02:12:19,356 - DEBUG - Requesting: http://10.0.0.240:8082/domain/5c8f8bdc-c560-44ad-b11f-1b7b7676572f 2025-12-01 02:12:19,407 - DEBUG - Requesting: http://10.0.0.240:8082/project/1e9b44d0-b6cc-4a86-98b3-740049f2f4be 2025-12-01 02:12:19,482 - INFO - Validated that VN ctest-vn-36385875 is not found in API Server 2025-12-01 02:12:19,495 - DEBUG - VN ctest-vn-36385875 is not present in Agent 10.0.0.240 2025-12-01 02:12:19,496 - INFO - Validated that VN ctest-vn-36385875 is not in any agent 2025-12-01 02:12:19,509 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36385875 info 2025-12-01 02:12:19,509 - INFO - Deleting VN ctest-vn-94622734 2025-12-01 02:12:19,618 - DEBUG - Response for deleting network () 2025-12-01 02:12:19,618 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/a9fdd7ac-935c-42b9-aa72-f359b7a68f00 2025-12-01 02:12:19,622 - DEBUG - Response Code: 404 2025-12-01 02:12:19,622 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2025-12-01 02:12:19,630 - DEBUG - Requesting: http://10.0.0.240:8082/domain/5c8f8bdc-c560-44ad-b11f-1b7b7676572f 2025-12-01 02:12:19,684 - DEBUG - Requesting: http://10.0.0.240:8082/project/1e9b44d0-b6cc-4a86-98b3-740049f2f4be 2025-12-01 02:12:19,755 - INFO - Validated that VN ctest-vn-94622734 is not found in API Server 2025-12-01 02:12:19,764 - DEBUG - VN ctest-vn-94622734 is not present in Agent 10.0.0.240 2025-12-01 02:12:19,764 - INFO - Validated that VN ctest-vn-94622734 is not in any agent 2025-12-01 02:12:19,777 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94622734 info 2025-12-01 02:12:20,032 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 02:12:20,032 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-12-01 02:12:20,032 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:12:20,718 - INFO - Deleted project: ctest-TestBasicPolicy-56361873, ID : 1e9b44d0-b6cc-4a86-98b3-740049f2f4be