2025-04-24 13:23:57,478 - INFO - Domain Default found not creating 2025-04-24 13:23:57,624 - INFO - Project ctest-TestBasicPolicy-31226260 not found, creating it 2025-04-24 13:23:58,192 - INFO - Created Project:ctest-TestBasicPolicy-31226260, ID : cd41d6b9-53be-4778-bfa6-e25bea348fa7 2025-04-24 13:23:59,859 - INFO - ================================================================================ 2025-04-24 13:23:59,859 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-24 13:23:59,859 - 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-04-24 13:24:00,120 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-24 13:24:00,120 - INFO - Initial checks done. Running the testcase now 2025-04-24 13:24:00,120 - INFO - 2025-04-24 13:24:00,747 - DEBUG - Response for create_network : {'network': {'id': '2e29f4e7-760e-4476-9635-660f477afed6', 'name': 'ctest-vn-21485073', 'tenant_id': 'cd41d6b953be4778bfa6e25bea348fa7', 'project_id': 'cd41d6b953be4778bfa6e25bea348fa7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31226260', 'ctest-vn-21485073'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:24:00,964 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa3ba273-c98b-4160-9039-882e313b3ca6', 'name': '', 'tenant_id': 'cd41d6b953be4778bfa6e25bea348fa7', 'network_id': '2e29f4e7-760e-4476-9635-660f477afed6', 'ip_version': 4, 'cidr': '96.42.6.64/26', 'allocation_pools': [{'start': '96.42.6.66', 'end': '96.42.6.126'}], 'gateway_ip': '96.42.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.42.6.66', 'tags': [], 'project_id': 'cd41d6b953be4778bfa6e25bea348fa7'}} 2025-04-24 13:24:00,986 - INFO - Created VN ctest-vn-21485073 2025-04-24 13:24:01,038 - DEBUG - VN ctest-vn-21485073 UUID is 2e29f4e7-760e-4476-9635-660f477afed6 2025-04-24 13:24:01,375 - DEBUG - Response for create_network : {'network': {'id': 'bb320624-853d-4445-9939-d72f93306e2b', 'name': 'ctest-vn-87155200', 'tenant_id': 'cd41d6b953be4778bfa6e25bea348fa7', 'project_id': 'cd41d6b953be4778bfa6e25bea348fa7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31226260', 'ctest-vn-87155200'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:24:01,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '87e7e66c-cd95-48b7-8396-f0c89e737268', 'name': '', 'tenant_id': 'cd41d6b953be4778bfa6e25bea348fa7', 'network_id': 'bb320624-853d-4445-9939-d72f93306e2b', 'ip_version': 4, 'cidr': '147.207.56.128/26', 'allocation_pools': [{'start': '147.207.56.130', 'end': '147.207.56.190'}], 'gateway_ip': '147.207.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.207.56.130', 'tags': [], 'project_id': 'cd41d6b953be4778bfa6e25bea348fa7'}} 2025-04-24 13:24:01,603 - INFO - Created VN ctest-vn-87155200 2025-04-24 13:24:01,658 - DEBUG - VN ctest-vn-87155200 UUID is bb320624-853d-4445-9939-d72f93306e2b 2025-04-24 13:24:01,774 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-21485073, 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-31226260:ctest-vn-87155200, 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-04-24 13:24:02,075 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e29f4e7-760e-4476-9635-660f477afed6', 'name': 'ctest-vn-21485073', 'tenant_id': 'cd41d6b953be4778bfa6e25bea348fa7', 'project_id': 'cd41d6b953be4778bfa6e25bea348fa7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aa3ba273-c98b-4160-9039-882e313b3ca6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31226260', 'ctest-vn-21485073'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31226260', 'ctest-policy-allow-all-33010096']], 'subnet_ipam': [{'subnet_cidr': '96.42.6.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:24:02,309 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb320624-853d-4445-9939-d72f93306e2b', 'name': 'ctest-vn-87155200', 'tenant_id': 'cd41d6b953be4778bfa6e25bea348fa7', 'project_id': 'cd41d6b953be4778bfa6e25bea348fa7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87e7e66c-cd95-48b7-8396-f0c89e737268'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31226260', 'ctest-vn-87155200'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31226260', 'ctest-policy-allow-all-33010096']], 'subnet_ipam': [{'subnet_cidr': '147.207.56.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:24:02,478 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 13:24:02,813 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 13:24:02,841 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b8086cc8-b181-4b95-a041-5a77782077b0 2025-04-24 13:24:02,855 - DEBUG - Requesting: http://10.0.0.254:8082/project/cd41d6b9-53be-4778-bfa6-e25bea348fa7 2025-04-24 13:24:02,936 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2e29f4e7-760e-4476-9635-660f477afed6 2025-04-24 13:24:02,951 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2e29f4e7-760e-4476-9635-660f477afed6 2025-04-24 13:24:02,962 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0d3f8c1e-2e95-47f4-968b-8acfa0259f0b 2025-04-24 13:24:02,971 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0d3f8c1e-2e95-47f4-968b-8acfa0259f0b 2025-04-24 13:24:02,978 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fc2f5cb6-3fc9-4e5d-bb88-9b1879f09803 2025-04-24 13:24:02,985 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 13:24:02,986 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2e29f4e7-760e-4476-9635-660f477afed6 2025-04-24 13:24:02,996 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0d3f8c1e-2e95-47f4-968b-8acfa0259f0b 2025-04-24 13:24:03,012 - INFO - Verified VN network id 9 for VN 2e29f4e7-760e-4476-9635-660f477afed6 2025-04-24 13:24:03,012 - INFO - Verifications in API Server for VN ctest-vn-21485073 passed 2025-04-24 13:24:03,012 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2e29f4e7-760e-4476-9635-660f477afed6 2025-04-24 13:24:03,024 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0d3f8c1e-2e95-47f4-968b-8acfa0259f0b 2025-04-24 13:24:03,031 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0d3f8c1e-2e95-47f4-968b-8acfa0259f0b 2025-04-24 13:24:03,039 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fc2f5cb6-3fc9-4e5d-bb88-9b1879f09803 2025-04-24 13:24:03,052 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-21485073', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31226260', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3326459074745091190', 'uuid-lslong': '10823669495264640726'}, 'enable': 'true', 'created': '2025-04-24T13:24:00', 'last-modified': '2025-04-24T13:24:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005656'} 2025-04-24 13:24:03,060 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 13:24:03,060 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21485073 passed 2025-04-24 13:24:03,060 - DEBUG - ====Verifying policy data for ctest-vn-21485073 in API_Server ====== 2025-04-24 13:24:03,060 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 13:24:03,067 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b8086cc8-b181-4b95-a041-5a77782077b0 2025-04-24 13:24:03,079 - DEBUG - Requesting: http://10.0.0.254:8082/project/cd41d6b9-53be-4778-bfa6-e25bea348fa7 2025-04-24 13:24:03,153 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2e29f4e7-760e-4476-9635-660f477afed6 2025-04-24 13:24:03,164 - DEBUG - ==>Verifying data for policy with id: 1c9a0259-d165-4019-8082-6b65d5553501, fqn: ['default-domain', 'ctest-TestBasicPolicy-31226260', 'ctest-policy-allow-all-33010096'] 2025-04-24 13:24:03,164 - INFO - VN ctest-vn-21485073 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 13:24:03,164 - DEBUG - Verifying the vn in opserver 2025-04-24 13:24:03,164 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-21485073 virtual network link through opserver 10.0.0.254 2025-04-24 13:24:03,164 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-24 13:24:03,496 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-24 13:24:03,548 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-21485073', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-21485073?flat'} 2025-04-24 13:24:03,549 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-21485073 is found in opserver 2025-04-24 13:24:03,560 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 13:24:03,565 - DEBUG - VRF ids for VN ctest-vn-21485073: {} 2025-04-24 13:24:03,565 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 13:24:03,571 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b8086cc8-b181-4b95-a041-5a77782077b0 2025-04-24 13:24:03,583 - DEBUG - Requesting: http://10.0.0.254:8082/project/cd41d6b9-53be-4778-bfa6-e25bea348fa7 2025-04-24 13:24:03,659 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bb320624-853d-4445-9939-d72f93306e2b 2025-04-24 13:24:03,672 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bb320624-853d-4445-9939-d72f93306e2b 2025-04-24 13:24:03,682 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e95ed4c-b068-4eb1-8f7b-531d53c76f9d 2025-04-24 13:24:03,690 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e95ed4c-b068-4eb1-8f7b-531d53c76f9d 2025-04-24 13:24:03,698 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/75841f14-4e5c-4318-bb99-5de93906e438 2025-04-24 13:24:03,705 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 13:24:03,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bb320624-853d-4445-9939-d72f93306e2b 2025-04-24 13:24:03,714 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e95ed4c-b068-4eb1-8f7b-531d53c76f9d 2025-04-24 13:24:03,729 - INFO - Verified VN network id 10 for VN bb320624-853d-4445-9939-d72f93306e2b 2025-04-24 13:24:03,729 - INFO - Verifications in API Server for VN ctest-vn-87155200 passed 2025-04-24 13:24:03,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bb320624-853d-4445-9939-d72f93306e2b 2025-04-24 13:24:03,739 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e95ed4c-b068-4eb1-8f7b-531d53c76f9d 2025-04-24 13:24:03,746 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e95ed4c-b068-4eb1-8f7b-531d53c76f9d 2025-04-24 13:24:03,754 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/75841f14-4e5c-4318-bb99-5de93906e438 2025-04-24 13:24:03,766 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-87155200', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31226260', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13488850587852031045', 'uuid-lslong': '11041092560808341035'}, 'enable': 'true', 'created': '2025-04-24T13:24:01', 'last-modified': '2025-04-24T13:24:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477759'} 2025-04-24 13:24:03,772 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 13:24:03,773 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87155200 passed 2025-04-24 13:24:03,773 - DEBUG - ====Verifying policy data for ctest-vn-87155200 in API_Server ====== 2025-04-24 13:24:03,773 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 13:24:03,778 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b8086cc8-b181-4b95-a041-5a77782077b0 2025-04-24 13:24:03,790 - DEBUG - Requesting: http://10.0.0.254:8082/project/cd41d6b9-53be-4778-bfa6-e25bea348fa7 2025-04-24 13:24:03,868 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bb320624-853d-4445-9939-d72f93306e2b 2025-04-24 13:24:03,879 - DEBUG - ==>Verifying data for policy with id: 1c9a0259-d165-4019-8082-6b65d5553501, fqn: ['default-domain', 'ctest-TestBasicPolicy-31226260', 'ctest-policy-allow-all-33010096'] 2025-04-24 13:24:03,879 - INFO - VN ctest-vn-87155200 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 13:24:03,879 - DEBUG - Verifying the vn in opserver 2025-04-24 13:24:03,879 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-87155200 virtual network link through opserver 10.0.0.254 2025-04-24 13:24:03,879 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-24 13:24:03,890 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-87155200', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-87155200?flat'} 2025-04-24 13:24:03,890 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-87155200 is found in opserver 2025-04-24 13:24:03,901 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 13:24:03,907 - DEBUG - VRF ids for VN ctest-vn-87155200: {} 2025-04-24 13:24:03,963 - DEBUG - Services list from nova: [, , ] 2025-04-24 13:24:05,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3204-1) 2025-04-24 13:24:06,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3204-1) 2025-04-24 13:24:06,342 - INFO - Waiting for VM ctest-TestBasicPolicy-31226260-81219879 to be up.. 2025-04-24 13:24:06,496 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 13:24:11,594 - DEBUG - VM is in ACTIVE state now 2025-04-24 13:24:11,594 - INFO - VM name : ctest-TestBasicPolicy-31226260-81219879 2025-04-24 13:24:11,710 - DEBUG - VM ctest-TestBasicPolicy-31226260-81219879 ID is 2bf4b3b3-76ad-4982-aff5-38e5c0a19f15 2025-04-24 13:24:11,735 - DEBUG - VM ctest-TestBasicPolicy-31226260-81219879 launched on Node cn-jenkins-deploy-platform-ansible-os-3204-1 2025-04-24 13:24:11,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2bf4b3b3-76ad-4982-aff5-38e5c0a19f15 2025-04-24 13:24:11,838 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0de75f7a-bc57-4753-85d0-6cfe52e9a5cc 2025-04-24 13:24:15,107 - 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 1010ms') 2025-04-24 13:24:15,107 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31226260-81219879 failed! 2025-04-24 13:24:15,162 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31226260:ctest-vn-21485073 is 96.42.6.65 and allocation pool is NOT set 2025-04-24 13:24:17,230 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.502 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.502/4.189/7.876/3.687 ms') 2025-04-24 13:24:17,230 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31226260-81219879 passed 2025-04-24 13:24:17,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:24:17,386 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31226260-81219879, IP 96.42.6.67, Port 22 2025-04-24 13:24:17,541 - DEBUG - VM ctest-TestBasicPolicy-31226260-81219879 is ready for SSH connections 2025-04-24 13:24:17,541 - INFO - Waiting for VM ctest-TestBasicPolicy-31226260-02426922 to be up.. 2025-04-24 13:24:17,617 - DEBUG - VM is in ACTIVE state now 2025-04-24 13:24:17,617 - INFO - VM name : ctest-TestBasicPolicy-31226260-02426922 2025-04-24 13:24:17,697 - DEBUG - VM ctest-TestBasicPolicy-31226260-02426922 ID is 3be7f3af-47e3-4002-87b5-4148a39d26ae 2025-04-24 13:24:17,697 - DEBUG - VM ctest-TestBasicPolicy-31226260-02426922 launched on Node cn-jenkins-deploy-platform-ansible-os-3204-1 2025-04-24 13:24:17,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3be7f3af-47e3-4002-87b5-4148a39d26ae 2025-04-24 13:24:17,781 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/61892bb0-8712-4ee5-8108-e8b59a965fb3 2025-04-24 13:24:19,045 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.851 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.851/2.434/4.018/1.583 ms') 2025-04-24 13:24:19,045 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31226260-02426922 passed 2025-04-24 13:24:19,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:24:19,202 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31226260-02426922, IP 147.207.56.131, Port 22 2025-04-24 13:24:19,361 - DEBUG - VM ctest-TestBasicPolicy-31226260-02426922 is ready for SSH connections 2025-04-24 13:24:19,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:24:19,361 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.207.56.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-24 13:24:19,361 - DEBUG - ping -s 56 -c 3 -W 1 147.207.56.131 2025-04-24 13:24:23,422 - DEBUG - PING 147.207.56.131 (147.207.56.131): 56 data bytes 64 bytes from 147.207.56.131: seq=0 ttl=63 time=3.637 ms 64 bytes from 147.207.56.131: seq=1 ttl=63 time=0.712 ms 64 bytes from 147.207.56.131: seq=2 ttl=63 time=0.800 ms --- 147.207.56.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.712/1.716/3.637 ms 2025-04-24 13:24:23,422 - INFO - Ping to IP 147.207.56.131 from VM ctest-TestBasicPolicy-31226260-81219879 passed 2025-04-24 13:24:23,613 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1c9a0259-d165-4019-8082-6b65d5553501", "href": "http://10.0.0.254:8082/network-policy/1c9a0259-d165-4019-8082-6b65d5553501"}} 2025-04-24 13:24:23,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:24:23,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.207.56.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-24 13:24:23,614 - DEBUG - ping -s 56 -c 3 -W 1 147.207.56.131 2025-04-24 13:24:26,834 - DEBUG - PING 147.207.56.131 (147.207.56.131): 56 data bytes 64 bytes from 147.207.56.131: seq=0 ttl=63 time=1.753 ms --- 147.207.56.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.753/1.753/1.753 ms 2025-04-24 13:24:26,834 - WARNING - Ping to IP 147.207.56.131 from VM ctest-TestBasicPolicy-31226260-81219879 failed 2025-04-24 13:24:26,834 - INFO - Deleting VM ctest-TestBasicPolicy-31226260-02426922 2025-04-24 13:24:26,902 - INFO - Deleting VM ctest-TestBasicPolicy-31226260-81219879 2025-04-24 13:24:27,324 - INFO - Deleted policy ctest-policy-allow-all-33010096 2025-04-24 13:24:27,324 - INFO - Deleting VN ctest-vn-87155200 2025-04-24 13:24:27,361 - DEBUG - VN bb320624-853d-4445-9939-d72f93306e2b still in use: Unable to complete operation on network bb320624-853d-4445-9939-d72f93306e2b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-470c1ac7-5a0d-4f6a-814a-68e1d1330258'] 2025-04-24 13:24:27,362 - WARNING - Deleting VN ctest-vn-87155200 failed..Will retry 2025-04-24 13:24:29,466 - DEBUG - Response for deleting network () 2025-04-24 13:24:29,467 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8e95ed4c-b068-4eb1-8f7b-531d53c76f9d 2025-04-24 13:24:29,474 - DEBUG - Response Code: 404 2025-04-24 13:24:29,474 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 13:24:29,482 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b8086cc8-b181-4b95-a041-5a77782077b0 2025-04-24 13:24:29,536 - DEBUG - Requesting: http://10.0.0.254:8082/project/cd41d6b9-53be-4778-bfa6-e25bea348fa7 2025-04-24 13:24:29,610 - INFO - Validated that VN ctest-vn-87155200 is not found in API Server 2025-04-24 13:24:29,622 - DEBUG - VN ctest-vn-87155200 is not present in Agent 10.0.0.254 2025-04-24 13:24:29,622 - INFO - Validated that VN ctest-vn-87155200 is not in any agent 2025-04-24 13:24:29,639 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87155200 info 2025-04-24 13:24:29,639 - INFO - Deleting VN ctest-vn-21485073 2025-04-24 13:24:29,767 - DEBUG - Response for deleting network () 2025-04-24 13:24:29,767 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/0d3f8c1e-2e95-47f4-968b-8acfa0259f0b 2025-04-24 13:24:29,772 - DEBUG - Response Code: 404 2025-04-24 13:24:29,772 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-24 13:24:29,784 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b8086cc8-b181-4b95-a041-5a77782077b0 2025-04-24 13:24:29,839 - DEBUG - Requesting: http://10.0.0.254:8082/project/cd41d6b9-53be-4778-bfa6-e25bea348fa7 2025-04-24 13:24:29,918 - INFO - Validated that VN ctest-vn-21485073 is not found in API Server 2025-04-24 13:24:29,930 - DEBUG - VN ctest-vn-21485073 is not present in Agent 10.0.0.254 2025-04-24 13:24:29,930 - INFO - Validated that VN ctest-vn-21485073 is not in any agent 2025-04-24 13:24:29,947 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21485073 info 2025-04-24 13:24:30,211 - DEBUG - No XMPP flaps were noticed during the test 2025-04-24 13:24:30,211 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-24 13:24:30,211 - INFO - -------------------------------------------------------------------------------- 2025-04-24 13:24:30,962 - INFO - Deleted project: ctest-TestBasicPolicy-31226260, ID : cd41d6b9-53be-4778-bfa6-e25bea348fa7