2025-01-13 20:04:00,766 - INFO - Domain Default found not creating 2025-01-13 20:04:00,918 - INFO - Project ctest-TestBasicPolicy-88963466 not found, creating it 2025-01-13 20:04:01,393 - INFO - Created Project:ctest-TestBasicPolicy-88963466, ID : a2d3c166-b4cf-4abd-9738-a2f74f22a9b9 2025-01-13 20:04:02,982 - INFO - ================================================================================ 2025-01-13 20:04:02,982 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-13 20:04:02,982 - 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-01-13 20:04:03,245 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.18': '0'}} with 2025-01-13 20:04:03,245 - INFO - Initial checks done. Running the testcase now 2025-01-13 20:04:03,246 - INFO - 2025-01-13 20:04:03,847 - DEBUG - Response for create_network : {'network': {'id': '03885434-2a7c-40bb-94cb-ecbe8ace9316', 'name': 'ctest-vn-95654171', 'tenant_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9', 'project_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88963466', 'ctest-vn-95654171'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 20:04:04,083 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df953d26-d1c4-425e-ab34-3ab32658f3e8', 'name': '', 'tenant_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9', 'network_id': '03885434-2a7c-40bb-94cb-ecbe8ace9316', 'ip_version': 4, 'cidr': '129.255.253.64/26', 'allocation_pools': [{'start': '129.255.253.66', 'end': '129.255.253.126'}], 'gateway_ip': '129.255.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.255.253.66', 'tags': [], 'project_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9'}} 2025-01-13 20:04:04,103 - INFO - Created VN ctest-vn-95654171 2025-01-13 20:04:04,156 - DEBUG - VN ctest-vn-95654171 UUID is 03885434-2a7c-40bb-94cb-ecbe8ace9316 2025-01-13 20:04:04,450 - DEBUG - Response for create_network : {'network': {'id': '9a456e68-fe26-4024-a23a-88b49fd4ddbe', 'name': 'ctest-vn-49225962', 'tenant_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9', 'project_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88963466', 'ctest-vn-49225962'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 20:04:04,637 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd37a7627-9edd-4077-bb48-7d906538cfe0', 'name': '', 'tenant_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9', 'network_id': '9a456e68-fe26-4024-a23a-88b49fd4ddbe', 'ip_version': 4, 'cidr': '11.35.102.64/26', 'allocation_pools': [{'start': '11.35.102.66', 'end': '11.35.102.126'}], 'gateway_ip': '11.35.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.35.102.66', 'tags': [], 'project_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9'}} 2025-01-13 20:04:04,657 - INFO - Created VN ctest-vn-49225962 2025-01-13 20:04:04,712 - DEBUG - VN ctest-vn-49225962 UUID is 9a456e68-fe26-4024-a23a-88b49fd4ddbe 2025-01-13 20:04:04,831 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-95654171, 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-88963466:ctest-vn-49225962, 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-01-13 20:04:05,126 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '03885434-2a7c-40bb-94cb-ecbe8ace9316', 'name': 'ctest-vn-95654171', 'tenant_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9', 'project_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['df953d26-d1c4-425e-ab34-3ab32658f3e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88963466', 'ctest-vn-95654171'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88963466', 'ctest-policy-allow-all-89793320']], 'subnet_ipam': [{'subnet_cidr': '129.255.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 20:04:05,430 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9a456e68-fe26-4024-a23a-88b49fd4ddbe', 'name': 'ctest-vn-49225962', 'tenant_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9', 'project_id': 'a2d3c166b4cf4abd9738a2f74f22a9b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d37a7627-9edd-4077-bb48-7d906538cfe0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88963466', 'ctest-vn-49225962'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88963466', 'ctest-policy-allow-all-89793320']], 'subnet_ipam': [{'subnet_cidr': '11.35.102.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 20:04:05,581 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-13 20:04:05,881 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-13 20:04:05,915 - DEBUG - Requesting: http://10.0.0.31:8082/domain/c259daad-cc48-472c-b677-040c67d7450e 2025-01-13 20:04:05,932 - DEBUG - Requesting: http://10.0.0.31:8082/project/a2d3c166-b4cf-4abd-9738-a2f74f22a9b9 2025-01-13 20:04:06,010 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/03885434-2a7c-40bb-94cb-ecbe8ace9316 2025-01-13 20:04:06,023 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/03885434-2a7c-40bb-94cb-ecbe8ace9316 2025-01-13 20:04:06,035 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/43ebe3b9-e645-46f5-b1b9-35bb07875037 2025-01-13 20:04:06,045 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/43ebe3b9-e645-46f5-b1b9-35bb07875037 2025-01-13 20:04:06,055 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/beb9bb63-ad17-4043-88f6-b86f6a7edaaa 2025-01-13 20:04:06,063 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 20:04:06,063 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/03885434-2a7c-40bb-94cb-ecbe8ace9316 2025-01-13 20:04:06,073 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/43ebe3b9-e645-46f5-b1b9-35bb07875037 2025-01-13 20:04:06,088 - INFO - Verified VN network id 8 for VN 03885434-2a7c-40bb-94cb-ecbe8ace9316 2025-01-13 20:04:06,088 - INFO - Verifications in API Server for VN ctest-vn-95654171 passed 2025-01-13 20:04:06,089 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/03885434-2a7c-40bb-94cb-ecbe8ace9316 2025-01-13 20:04:06,103 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/43ebe3b9-e645-46f5-b1b9-35bb07875037 2025-01-13 20:04:06,115 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/43ebe3b9-e645-46f5-b1b9-35bb07875037 2025-01-13 20:04:06,125 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/beb9bb63-ad17-4043-88f6-b86f6a7edaaa 2025-01-13 20:04:06,141 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-95654171', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88963466', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '254545961974251707', 'uuid-lslong': '10721923641002332950'}, 'enable': 'true', 'created': '2025-01-13T20:04:03', 'last-modified': '2025-01-13T20:04:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.041188'} 2025-01-13 20:04:06,149 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 20:04:06,149 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95654171 passed 2025-01-13 20:04:06,149 - DEBUG - ====Verifying policy data for ctest-vn-95654171 in API_Server ====== 2025-01-13 20:04:06,149 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-13 20:04:06,157 - DEBUG - Requesting: http://10.0.0.31:8082/domain/c259daad-cc48-472c-b677-040c67d7450e 2025-01-13 20:04:06,173 - DEBUG - Requesting: http://10.0.0.31:8082/project/a2d3c166-b4cf-4abd-9738-a2f74f22a9b9 2025-01-13 20:04:06,262 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/03885434-2a7c-40bb-94cb-ecbe8ace9316 2025-01-13 20:04:06,277 - DEBUG - ==>Verifying data for policy with id: c98ee5e0-77e2-4656-8295-2b8fac6863c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-88963466', 'ctest-policy-allow-all-89793320'] 2025-01-13 20:04:06,277 - INFO - VN ctest-vn-95654171 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 20:04:06,277 - DEBUG - Verifying the vn in opserver 2025-01-13 20:04:06,277 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-95654171 virtual network link through opserver 10.0.0.31 2025-01-13 20:04:06,277 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-13 20:04:06,576 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-13 20:04:06,637 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-95654171', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-95654171?flat'} 2025-01-13 20:04:06,638 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-95654171 is found in opserver 2025-01-13 20:04:06,651 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 20:04:06,656 - DEBUG - VRF ids for VN ctest-vn-95654171: {} 2025-01-13 20:04:06,656 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-13 20:04:06,665 - DEBUG - Requesting: http://10.0.0.31:8082/domain/c259daad-cc48-472c-b677-040c67d7450e 2025-01-13 20:04:06,679 - DEBUG - Requesting: http://10.0.0.31:8082/project/a2d3c166-b4cf-4abd-9738-a2f74f22a9b9 2025-01-13 20:04:06,751 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/9a456e68-fe26-4024-a23a-88b49fd4ddbe 2025-01-13 20:04:06,764 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/9a456e68-fe26-4024-a23a-88b49fd4ddbe 2025-01-13 20:04:06,776 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/3828547c-583c-4794-ba84-a2ad9986b7dc 2025-01-13 20:04:06,787 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/3828547c-583c-4794-ba84-a2ad9986b7dc 2025-01-13 20:04:06,795 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/c41c0657-80b5-415f-ac86-7c1c1b2aa199 2025-01-13 20:04:06,803 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 20:04:06,803 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/9a456e68-fe26-4024-a23a-88b49fd4ddbe 2025-01-13 20:04:06,814 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/3828547c-583c-4794-ba84-a2ad9986b7dc 2025-01-13 20:04:06,831 - INFO - Verified VN network id 9 for VN 9a456e68-fe26-4024-a23a-88b49fd4ddbe 2025-01-13 20:04:06,832 - INFO - Verifications in API Server for VN ctest-vn-49225962 passed 2025-01-13 20:04:06,832 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/9a456e68-fe26-4024-a23a-88b49fd4ddbe 2025-01-13 20:04:06,843 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/3828547c-583c-4794-ba84-a2ad9986b7dc 2025-01-13 20:04:06,852 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/3828547c-583c-4794-ba84-a2ad9986b7dc 2025-01-13 20:04:06,860 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/c41c0657-80b5-415f-ac86-7c1c1b2aa199 2025-01-13 20:04:06,874 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-49225962', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88963466', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11116412652453511204', 'uuid-lslong': '11689806092150562238'}, 'enable': 'true', 'created': '2025-01-13T20:04:04', 'last-modified': '2025-01-13T20:04:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.518318'} 2025-01-13 20:04:06,881 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 20:04:06,882 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49225962 passed 2025-01-13 20:04:06,882 - DEBUG - ====Verifying policy data for ctest-vn-49225962 in API_Server ====== 2025-01-13 20:04:06,882 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-13 20:04:06,888 - DEBUG - Requesting: http://10.0.0.31:8082/domain/c259daad-cc48-472c-b677-040c67d7450e 2025-01-13 20:04:06,902 - DEBUG - Requesting: http://10.0.0.31:8082/project/a2d3c166-b4cf-4abd-9738-a2f74f22a9b9 2025-01-13 20:04:06,982 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/9a456e68-fe26-4024-a23a-88b49fd4ddbe 2025-01-13 20:04:06,995 - DEBUG - ==>Verifying data for policy with id: c98ee5e0-77e2-4656-8295-2b8fac6863c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-88963466', 'ctest-policy-allow-all-89793320'] 2025-01-13 20:04:06,995 - INFO - VN ctest-vn-49225962 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 20:04:06,995 - DEBUG - Verifying the vn in opserver 2025-01-13 20:04:06,995 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-49225962 virtual network link through opserver 10.0.0.31 2025-01-13 20:04:06,995 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-13 20:04:07,013 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-49225962', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-49225962?flat'} 2025-01-13 20:04:07,014 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-49225962 is found in opserver 2025-01-13 20:04:07,029 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 20:04:07,037 - DEBUG - VRF ids for VN ctest-vn-49225962: {} 2025-01-13 20:04:07,099 - DEBUG - Services list from nova: [, , ] 2025-01-13 20:04:08,182 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2617-1) 2025-01-13 20:04:09,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2617-1) 2025-01-13 20:04:09,452 - INFO - Waiting for VM ctest-TestBasicPolicy-88963466-81200214 to be up.. 2025-01-13 20:04:09,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 20:04:14,641 - DEBUG - VM is in ACTIVE state now 2025-01-13 20:04:14,642 - INFO - VM name : ctest-TestBasicPolicy-88963466-81200214 2025-01-13 20:04:14,726 - DEBUG - VM ctest-TestBasicPolicy-88963466-81200214 ID is a32d49dc-0954-481f-bb89-611414897f07 2025-01-13 20:04:14,745 - DEBUG - VM ctest-TestBasicPolicy-88963466-81200214 launched on Node cn-jenkins-deploy-platform-ansible-os-2617-1 2025-01-13 20:04:14,819 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/a32d49dc-0954-481f-bb89-611414897f07 2025-01-13 20:04:14,829 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/03c1b7c3-d629-4ffd-810a-8194d6194d74 2025-01-13 20:04:18,082 - 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 1011ms') 2025-01-13 20:04:18,082 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88963466-81200214 failed! 2025-01-13 20:04:18,140 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88963466:ctest-vn-95654171 is 129.255.253.65 and allocation pool is NOT set 2025-01-13 20:04:20,201 - 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=8.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/4.356/8.300/3.943 ms') 2025-01-13 20:04:20,201 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88963466-81200214 passed 2025-01-13 20:04:20,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 20:04:20,356 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88963466-81200214, IP 129.255.253.67, Port 22 2025-01-13 20:04:20,526 - DEBUG - VM ctest-TestBasicPolicy-88963466-81200214 is ready for SSH connections 2025-01-13 20:04:20,526 - INFO - Waiting for VM ctest-TestBasicPolicy-88963466-74221042 to be up.. 2025-01-13 20:04:20,607 - DEBUG - VM is in ACTIVE state now 2025-01-13 20:04:20,608 - INFO - VM name : ctest-TestBasicPolicy-88963466-74221042 2025-01-13 20:04:20,689 - DEBUG - VM ctest-TestBasicPolicy-88963466-74221042 ID is 7e785b64-1d42-458b-b841-0566f7d55b79 2025-01-13 20:04:20,689 - DEBUG - VM ctest-TestBasicPolicy-88963466-74221042 launched on Node cn-jenkins-deploy-platform-ansible-os-2617-1 2025-01-13 20:04:20,767 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/7e785b64-1d42-458b-b841-0566f7d55b79 2025-01-13 20:04:20,780 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/376ce2b5-05c9-4ab8-b3c7-5d2d0972b21c 2025-01-13 20:04:22,031 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.509 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.509/1.817/3.126/1.308 ms') 2025-01-13 20:04:22,031 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88963466-74221042 passed 2025-01-13 20:04:22,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 20:04:22,180 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88963466-74221042, IP 11.35.102.67, Port 22 2025-01-13 20:04:22,335 - DEBUG - VM ctest-TestBasicPolicy-88963466-74221042 is ready for SSH connections 2025-01-13 20:04:22,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 20:04:22,335 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.35.102.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-13 20:04:22,336 - DEBUG - ping -s 56 -c 3 -W 1 11.35.102.67 2025-01-13 20:04:26,338 - DEBUG - PING 11.35.102.67 (11.35.102.67): 56 data bytes 64 bytes from 11.35.102.67: seq=0 ttl=63 time=3.898 ms 64 bytes from 11.35.102.67: seq=1 ttl=63 time=0.897 ms 64 bytes from 11.35.102.67: seq=2 ttl=63 time=0.965 ms --- 11.35.102.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.897/1.920/3.898 ms 2025-01-13 20:04:26,338 - INFO - Ping to IP 11.35.102.67 from VM ctest-TestBasicPolicy-88963466-81200214 passed 2025-01-13 20:04:26,520 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c98ee5e0-77e2-4656-8295-2b8fac6863c4", "href": "http://10.0.0.31:8082/network-policy/c98ee5e0-77e2-4656-8295-2b8fac6863c4"}} 2025-01-13 20:04:26,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 20:04:26,520 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.35.102.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-13 20:04:26,521 - DEBUG - ping -s 56 -c 3 -W 1 11.35.102.67 2025-01-13 20:04:29,733 - DEBUG - PING 11.35.102.67 (11.35.102.67): 56 data bytes 64 bytes from 11.35.102.67: seq=0 ttl=63 time=1.730 ms --- 11.35.102.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.730/1.730/1.730 ms 2025-01-13 20:04:29,733 - WARNING - Ping to IP 11.35.102.67 from VM ctest-TestBasicPolicy-88963466-81200214 failed 2025-01-13 20:04:29,733 - INFO - Deleting VM ctest-TestBasicPolicy-88963466-74221042 2025-01-13 20:04:29,805 - INFO - Deleting VM ctest-TestBasicPolicy-88963466-81200214 2025-01-13 20:04:30,234 - INFO - Deleted policy ctest-policy-allow-all-89793320 2025-01-13 20:04:30,234 - INFO - Deleting VN ctest-vn-49225962 2025-01-13 20:04:30,273 - DEBUG - VN 9a456e68-fe26-4024-a23a-88b49fd4ddbe still in use: Unable to complete operation on network 9a456e68-fe26-4024-a23a-88b49fd4ddbe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1c1cd2c-df9d-4f0b-ac5c-eb43d8728588'] 2025-01-13 20:04:30,273 - WARNING - Deleting VN ctest-vn-49225962 failed..Will retry 2025-01-13 20:04:32,399 - DEBUG - Response for deleting network () 2025-01-13 20:04:32,399 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/3828547c-583c-4794-ba84-a2ad9986b7dc 2025-01-13 20:04:32,405 - DEBUG - Response Code: 404 2025-01-13 20:04:32,405 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-13 20:04:32,411 - DEBUG - Requesting: http://10.0.0.31:8082/domain/c259daad-cc48-472c-b677-040c67d7450e 2025-01-13 20:04:32,466 - DEBUG - Requesting: http://10.0.0.31:8082/project/a2d3c166-b4cf-4abd-9738-a2f74f22a9b9 2025-01-13 20:04:32,537 - INFO - Validated that VN ctest-vn-49225962 is not found in API Server 2025-01-13 20:04:32,550 - DEBUG - VN ctest-vn-49225962 is not present in Agent 10.0.0.31 2025-01-13 20:04:32,550 - INFO - Validated that VN ctest-vn-49225962 is not in any agent 2025-01-13 20:04:32,568 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49225962 info 2025-01-13 20:04:32,568 - INFO - Deleting VN ctest-vn-95654171 2025-01-13 20:04:32,676 - DEBUG - Response for deleting network () 2025-01-13 20:04:32,676 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/43ebe3b9-e645-46f5-b1b9-35bb07875037 2025-01-13 20:04:32,683 - DEBUG - Response Code: 404 2025-01-13 20:04:32,683 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-13 20:04:32,690 - DEBUG - Requesting: http://10.0.0.31:8082/domain/c259daad-cc48-472c-b677-040c67d7450e 2025-01-13 20:04:32,746 - DEBUG - Requesting: http://10.0.0.31:8082/project/a2d3c166-b4cf-4abd-9738-a2f74f22a9b9 2025-01-13 20:04:32,821 - INFO - Validated that VN ctest-vn-95654171 is not found in API Server 2025-01-13 20:04:32,833 - DEBUG - VN ctest-vn-95654171 is not present in Agent 10.0.0.31 2025-01-13 20:04:32,833 - INFO - Validated that VN ctest-vn-95654171 is not in any agent 2025-01-13 20:04:32,849 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95654171 info 2025-01-13 20:04:33,104 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 20:04:33,104 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-01-13 20:04:33,104 - INFO - -------------------------------------------------------------------------------- 2025-01-13 20:04:33,780 - INFO - Deleted project: ctest-TestBasicPolicy-88963466, ID : a2d3c166-b4cf-4abd-9738-a2f74f22a9b9