2025-02-11 06:56:14,587 - INFO - Domain Default found not creating 2025-02-11 06:56:14,725 - INFO - Project ctest-TestBasicPolicy-70172313 not found, creating it 2025-02-11 06:56:15,419 - INFO - Created Project:ctest-TestBasicPolicy-70172313, ID : dc3f63ae-1948-4f02-a126-ed6849fcfa9f 2025-02-11 06:56:16,968 - INFO - ================================================================================ 2025-02-11 06:56:16,968 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-11 06:56:16,968 - 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-02-11 06:56:17,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.13': '0'}} with 2025-02-11 06:56:17,232 - INFO - Initial checks done. Running the testcase now 2025-02-11 06:56:17,232 - INFO - 2025-02-11 06:56:17,783 - DEBUG - Response for create_network : {'network': {'id': '54fc6cb0-8fbb-45e7-921e-bd3dfefe7119', 'name': 'ctest-vn-64132486', 'tenant_id': 'dc3f63ae19484f02a126ed6849fcfa9f', 'project_id': 'dc3f63ae19484f02a126ed6849fcfa9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70172313', 'ctest-vn-64132486'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 06:56:18,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '068a47b1-3417-48c4-98a6-9bc25cc45fba', 'name': '', 'tenant_id': 'dc3f63ae19484f02a126ed6849fcfa9f', 'network_id': '54fc6cb0-8fbb-45e7-921e-bd3dfefe7119', 'ip_version': 4, 'cidr': '209.238.63.0/26', 'allocation_pools': [{'start': '209.238.63.2', 'end': '209.238.63.62'}], 'gateway_ip': '209.238.63.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.238.63.2', 'tags': [], 'project_id': 'dc3f63ae19484f02a126ed6849fcfa9f'}} 2025-02-11 06:56:18,019 - INFO - Created VN ctest-vn-64132486 2025-02-11 06:56:18,070 - DEBUG - VN ctest-vn-64132486 UUID is 54fc6cb0-8fbb-45e7-921e-bd3dfefe7119 2025-02-11 06:56:18,365 - DEBUG - Response for create_network : {'network': {'id': '8258ac04-0f8a-4580-ba72-29e836fb8b2d', 'name': 'ctest-vn-86843742', 'tenant_id': 'dc3f63ae19484f02a126ed6849fcfa9f', 'project_id': 'dc3f63ae19484f02a126ed6849fcfa9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70172313', 'ctest-vn-86843742'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 06:56:18,529 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4b05f6d-7787-4e9a-bca3-54b33c70f3dd', 'name': '', 'tenant_id': 'dc3f63ae19484f02a126ed6849fcfa9f', 'network_id': '8258ac04-0f8a-4580-ba72-29e836fb8b2d', 'ip_version': 4, 'cidr': '30.191.38.64/26', 'allocation_pools': [{'start': '30.191.38.66', 'end': '30.191.38.126'}], 'gateway_ip': '30.191.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.191.38.66', 'tags': [], 'project_id': 'dc3f63ae19484f02a126ed6849fcfa9f'}} 2025-02-11 06:56:18,547 - INFO - Created VN ctest-vn-86843742 2025-02-11 06:56:18,602 - DEBUG - VN ctest-vn-86843742 UUID is 8258ac04-0f8a-4580-ba72-29e836fb8b2d 2025-02-11 06:56:18,754 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-64132486, 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-70172313:ctest-vn-86843742, 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-02-11 06:56:19,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54fc6cb0-8fbb-45e7-921e-bd3dfefe7119', 'name': 'ctest-vn-64132486', 'tenant_id': 'dc3f63ae19484f02a126ed6849fcfa9f', 'project_id': 'dc3f63ae19484f02a126ed6849fcfa9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['068a47b1-3417-48c4-98a6-9bc25cc45fba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70172313', 'ctest-vn-64132486'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70172313', 'ctest-policy-allow-all-09444128']], 'subnet_ipam': [{'subnet_cidr': '209.238.63.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 06:56:19,292 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8258ac04-0f8a-4580-ba72-29e836fb8b2d', 'name': 'ctest-vn-86843742', 'tenant_id': 'dc3f63ae19484f02a126ed6849fcfa9f', 'project_id': 'dc3f63ae19484f02a126ed6849fcfa9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e4b05f6d-7787-4e9a-bca3-54b33c70f3dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70172313', 'ctest-vn-86843742'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70172313', 'ctest-policy-allow-all-09444128']], 'subnet_ipam': [{'subnet_cidr': '30.191.38.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 06:56:19,466 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 06:56:19,755 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 06:56:19,782 - DEBUG - Requesting: http://10.0.0.31:8082/domain/638466fb-1176-48e4-81ea-54324fd44d13 2025-02-11 06:56:19,794 - DEBUG - Requesting: http://10.0.0.31:8082/project/dc3f63ae-1948-4f02-a126-ed6849fcfa9f 2025-02-11 06:56:19,868 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/54fc6cb0-8fbb-45e7-921e-bd3dfefe7119 2025-02-11 06:56:19,879 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/54fc6cb0-8fbb-45e7-921e-bd3dfefe7119 2025-02-11 06:56:19,889 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/64841133-ef2f-46f3-a276-260f2fd6d229 2025-02-11 06:56:19,896 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/64841133-ef2f-46f3-a276-260f2fd6d229 2025-02-11 06:56:19,903 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/b5ae6387-4b20-459b-8b86-59d2b7c3ab5b 2025-02-11 06:56:19,908 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 06:56:19,908 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/54fc6cb0-8fbb-45e7-921e-bd3dfefe7119 2025-02-11 06:56:19,918 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/64841133-ef2f-46f3-a276-260f2fd6d229 2025-02-11 06:56:19,932 - INFO - Verified VN network id 9 for VN 54fc6cb0-8fbb-45e7-921e-bd3dfefe7119 2025-02-11 06:56:19,932 - INFO - Verifications in API Server for VN ctest-vn-64132486 passed 2025-02-11 06:56:19,932 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/54fc6cb0-8fbb-45e7-921e-bd3dfefe7119 2025-02-11 06:56:19,943 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/64841133-ef2f-46f3-a276-260f2fd6d229 2025-02-11 06:56:19,949 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/64841133-ef2f-46f3-a276-260f2fd6d229 2025-02-11 06:56:19,956 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/b5ae6387-4b20-459b-8b86-59d2b7c3ab5b 2025-02-11 06:56:19,967 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-64132486', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70172313', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6123889098898490855', 'uuid-lslong': '10529061052807541017'}, 'enable': 'true', 'created': '2025-02-11T06:56:17', 'last-modified': '2025-02-11T06:56:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930845'} 2025-02-11 06:56:19,973 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 06:56:19,973 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64132486 passed 2025-02-11 06:56:19,973 - DEBUG - ====Verifying policy data for ctest-vn-64132486 in API_Server ====== 2025-02-11 06:56:19,973 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 06:56:19,979 - DEBUG - Requesting: http://10.0.0.31:8082/domain/638466fb-1176-48e4-81ea-54324fd44d13 2025-02-11 06:56:19,990 - DEBUG - Requesting: http://10.0.0.31:8082/project/dc3f63ae-1948-4f02-a126-ed6849fcfa9f 2025-02-11 06:56:20,060 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/54fc6cb0-8fbb-45e7-921e-bd3dfefe7119 2025-02-11 06:56:20,070 - DEBUG - ==>Verifying data for policy with id: 8c970ba1-5694-47f1-853a-0a103d97ba2c, fqn: ['default-domain', 'ctest-TestBasicPolicy-70172313', 'ctest-policy-allow-all-09444128'] 2025-02-11 06:56:20,070 - INFO - VN ctest-vn-64132486 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 06:56:20,070 - DEBUG - Verifying the vn in opserver 2025-02-11 06:56:20,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-64132486 virtual network link through opserver 10.0.0.31 2025-02-11 06:56:20,070 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-02-11 06:56:20,359 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-02-11 06:56:20,690 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-64132486', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-64132486?flat'} 2025-02-11 06:56:20,691 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-64132486 is found in opserver 2025-02-11 06:56:20,702 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 06:56:20,707 - DEBUG - VRF ids for VN ctest-vn-64132486: {} 2025-02-11 06:56:20,707 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 06:56:20,713 - DEBUG - Requesting: http://10.0.0.31:8082/domain/638466fb-1176-48e4-81ea-54324fd44d13 2025-02-11 06:56:20,726 - DEBUG - Requesting: http://10.0.0.31:8082/project/dc3f63ae-1948-4f02-a126-ed6849fcfa9f 2025-02-11 06:56:20,804 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/8258ac04-0f8a-4580-ba72-29e836fb8b2d 2025-02-11 06:56:20,816 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/8258ac04-0f8a-4580-ba72-29e836fb8b2d 2025-02-11 06:56:20,826 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a2340a6f-4622-4462-9d67-806262a5e2d4 2025-02-11 06:56:20,833 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a2340a6f-4622-4462-9d67-806262a5e2d4 2025-02-11 06:56:20,839 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/b699c3ee-a8ed-42b6-89b5-6f746734a132 2025-02-11 06:56:20,845 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 06:56:20,845 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/8258ac04-0f8a-4580-ba72-29e836fb8b2d 2025-02-11 06:56:20,854 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a2340a6f-4622-4462-9d67-806262a5e2d4 2025-02-11 06:56:20,867 - INFO - Verified VN network id 10 for VN 8258ac04-0f8a-4580-ba72-29e836fb8b2d 2025-02-11 06:56:20,867 - INFO - Verifications in API Server for VN ctest-vn-86843742 passed 2025-02-11 06:56:20,867 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/8258ac04-0f8a-4580-ba72-29e836fb8b2d 2025-02-11 06:56:20,876 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a2340a6f-4622-4462-9d67-806262a5e2d4 2025-02-11 06:56:20,883 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a2340a6f-4622-4462-9d67-806262a5e2d4 2025-02-11 06:56:20,889 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/b699c3ee-a8ed-42b6-89b5-6f746734a132 2025-02-11 06:56:20,900 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-86843742', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70172313', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9392446156321736064', 'uuid-lslong': '13434846715731217197'}, 'enable': 'true', 'created': '2025-02-11T06:56:18', 'last-modified': '2025-02-11T06:56:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.629767'} 2025-02-11 06:56:20,906 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 06:56:20,906 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86843742 passed 2025-02-11 06:56:20,906 - DEBUG - ====Verifying policy data for ctest-vn-86843742 in API_Server ====== 2025-02-11 06:56:20,907 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 06:56:20,912 - DEBUG - Requesting: http://10.0.0.31:8082/domain/638466fb-1176-48e4-81ea-54324fd44d13 2025-02-11 06:56:20,923 - DEBUG - Requesting: http://10.0.0.31:8082/project/dc3f63ae-1948-4f02-a126-ed6849fcfa9f 2025-02-11 06:56:20,997 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/8258ac04-0f8a-4580-ba72-29e836fb8b2d 2025-02-11 06:56:21,010 - DEBUG - ==>Verifying data for policy with id: 8c970ba1-5694-47f1-853a-0a103d97ba2c, fqn: ['default-domain', 'ctest-TestBasicPolicy-70172313', 'ctest-policy-allow-all-09444128'] 2025-02-11 06:56:21,010 - INFO - VN ctest-vn-86843742 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 06:56:21,010 - DEBUG - Verifying the vn in opserver 2025-02-11 06:56:21,010 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-86843742 virtual network link through opserver 10.0.0.31 2025-02-11 06:56:21,010 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-02-11 06:56:21,022 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-86843742', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-86843742?flat'} 2025-02-11 06:56:21,022 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-86843742 is found in opserver 2025-02-11 06:56:21,033 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 06:56:21,038 - DEBUG - VRF ids for VN ctest-vn-86843742: {} 2025-02-11 06:56:21,093 - DEBUG - Services list from nova: [, , ] 2025-02-11 06:56:22,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2717-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2717-1) 2025-02-11 06:56:23,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2717-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2717-1) 2025-02-11 06:56:23,303 - INFO - Waiting for VM ctest-TestBasicPolicy-70172313-93307356 to be up.. 2025-02-11 06:56:23,379 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 06:56:28,461 - DEBUG - VM is in ACTIVE state now 2025-02-11 06:56:28,461 - INFO - VM name : ctest-TestBasicPolicy-70172313-93307356 2025-02-11 06:56:28,536 - DEBUG - VM ctest-TestBasicPolicy-70172313-93307356 ID is cd50642b-cd3a-4a90-bb96-89243bcdc43b 2025-02-11 06:56:28,555 - DEBUG - VM ctest-TestBasicPolicy-70172313-93307356 launched on Node cn-jenkins-deploy-platform-ansible-os-2717-1 2025-02-11 06:56:28,631 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/cd50642b-cd3a-4a90-bb96-89243bcdc43b 2025-02-11 06:56:28,640 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/47b4359e-bb03-47f8-bda6-ba136a4843b2 2025-02-11 06:56:31,892 - 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-02-11 06:56:31,892 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70172313-93307356 failed! 2025-02-11 06:56:31,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70172313:ctest-vn-64132486 is 209.238.63.1 and allocation pool is NOT set 2025-02-11 06:56:34,011 - 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=4.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.882 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.882/2.621/4.360/1.739 ms') 2025-02-11 06:56:34,011 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70172313-93307356 passed 2025-02-11 06:56:34,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 06:56:34,198 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70172313-93307356, IP 209.238.63.3, Port 22 2025-02-11 06:56:34,354 - DEBUG - VM ctest-TestBasicPolicy-70172313-93307356 is ready for SSH connections 2025-02-11 06:56:34,354 - INFO - Waiting for VM ctest-TestBasicPolicy-70172313-84795993 to be up.. 2025-02-11 06:56:34,445 - DEBUG - VM is in ACTIVE state now 2025-02-11 06:56:34,445 - INFO - VM name : ctest-TestBasicPolicy-70172313-84795993 2025-02-11 06:56:34,527 - DEBUG - VM ctest-TestBasicPolicy-70172313-84795993 ID is 2dac60f6-4d63-4717-8dd1-9e36299dab46 2025-02-11 06:56:34,527 - DEBUG - VM ctest-TestBasicPolicy-70172313-84795993 launched on Node cn-jenkins-deploy-platform-ansible-os-2717-1 2025-02-11 06:56:34,623 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/2dac60f6-4d63-4717-8dd1-9e36299dab46 2025-02-11 06:56:34,636 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/52ae617f-6c0c-4fba-af0d-3ed123e1680f 2025-02-11 06:56:35,877 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/1.614/2.740/1.125 ms') 2025-02-11 06:56:35,877 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70172313-84795993 passed 2025-02-11 06:56:36,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 06:56:36,030 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70172313-84795993, IP 30.191.38.67, Port 22 2025-02-11 06:56:36,182 - DEBUG - VM ctest-TestBasicPolicy-70172313-84795993 is ready for SSH connections 2025-02-11 06:56:36,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 06:56:36,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.191.38.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-02-11 06:56:36,182 - DEBUG - ping -s 56 -c 3 -W 1 30.191.38.67 2025-02-11 06:56:39,861 - DEBUG - PING 30.191.38.67 (30.191.38.67): 56 data bytes 64 bytes from 30.191.38.67: seq=0 ttl=63 time=3.115 ms 64 bytes from 30.191.38.67: seq=1 ttl=63 time=0.805 ms 64 bytes from 30.191.38.67: seq=2 ttl=63 time=0.761 ms --- 30.191.38.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.761/1.560/3.115 ms 2025-02-11 06:56:39,861 - INFO - Ping to IP 30.191.38.67 from VM ctest-TestBasicPolicy-70172313-93307356 passed 2025-02-11 06:56:40,042 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8c970ba1-5694-47f1-853a-0a103d97ba2c", "href": "http://10.0.0.31:8082/network-policy/8c970ba1-5694-47f1-853a-0a103d97ba2c"}} 2025-02-11 06:56:40,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 06:56:40,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.191.38.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-02-11 06:56:40,042 - DEBUG - ping -s 56 -c 3 -W 1 30.191.38.67 2025-02-11 06:56:43,243 - DEBUG - PING 30.191.38.67 (30.191.38.67): 56 data bytes --- 30.191.38.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-11 06:56:43,244 - WARNING - Ping to IP 30.191.38.67 from VM ctest-TestBasicPolicy-70172313-93307356 failed 2025-02-11 06:56:43,244 - INFO - Deleting VM ctest-TestBasicPolicy-70172313-84795993 2025-02-11 06:56:43,302 - INFO - Deleting VM ctest-TestBasicPolicy-70172313-93307356 2025-02-11 06:56:43,678 - INFO - Deleted policy ctest-policy-allow-all-09444128 2025-02-11 06:56:43,678 - INFO - Deleting VN ctest-vn-86843742 2025-02-11 06:56:43,716 - DEBUG - VN 8258ac04-0f8a-4580-ba72-29e836fb8b2d still in use: Unable to complete operation on network 8258ac04-0f8a-4580-ba72-29e836fb8b2d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bfe4b792-54c4-47ba-b53e-cafc53381c4d'] 2025-02-11 06:56:43,716 - WARNING - Deleting VN ctest-vn-86843742 failed..Will retry 2025-02-11 06:56:45,825 - DEBUG - Response for deleting network () 2025-02-11 06:56:45,826 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a2340a6f-4622-4462-9d67-806262a5e2d4 2025-02-11 06:56:45,834 - DEBUG - Response Code: 404 2025-02-11 06:56:45,834 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 06:56:45,840 - DEBUG - Requesting: http://10.0.0.31:8082/domain/638466fb-1176-48e4-81ea-54324fd44d13 2025-02-11 06:56:45,897 - DEBUG - Requesting: http://10.0.0.31:8082/project/dc3f63ae-1948-4f02-a126-ed6849fcfa9f 2025-02-11 06:56:45,971 - INFO - Validated that VN ctest-vn-86843742 is not found in API Server 2025-02-11 06:56:45,983 - DEBUG - VN ctest-vn-86843742 is not present in Agent 10.0.0.31 2025-02-11 06:56:45,984 - INFO - Validated that VN ctest-vn-86843742 is not in any agent 2025-02-11 06:56:45,998 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86843742 info 2025-02-11 06:56:45,999 - INFO - Deleting VN ctest-vn-64132486 2025-02-11 06:56:46,097 - DEBUG - Response for deleting network () 2025-02-11 06:56:46,097 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/64841133-ef2f-46f3-a276-260f2fd6d229 2025-02-11 06:56:46,105 - DEBUG - Response Code: 404 2025-02-11 06:56:46,105 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-11 06:56:46,110 - DEBUG - Requesting: http://10.0.0.31:8082/domain/638466fb-1176-48e4-81ea-54324fd44d13 2025-02-11 06:56:46,164 - DEBUG - Requesting: http://10.0.0.31:8082/project/dc3f63ae-1948-4f02-a126-ed6849fcfa9f 2025-02-11 06:56:46,234 - INFO - Validated that VN ctest-vn-64132486 is not found in API Server 2025-02-11 06:56:46,245 - DEBUG - VN ctest-vn-64132486 is not present in Agent 10.0.0.31 2025-02-11 06:56:46,245 - INFO - Validated that VN ctest-vn-64132486 is not in any agent 2025-02-11 06:56:46,260 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64132486 info 2025-02-11 06:56:46,516 - DEBUG - No XMPP flaps were noticed during the test 2025-02-11 06:56:46,516 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-11 06:56:46,516 - INFO - -------------------------------------------------------------------------------- 2025-02-11 06:56:47,185 - INFO - Deleted project: ctest-TestBasicPolicy-70172313, ID : dc3f63ae-1948-4f02-a126-ed6849fcfa9f