2024-09-04 14:01:18,944 - INFO - Domain Default found not creating 2024-09-04 14:01:19,101 - INFO - Project ctest-TestBasicPolicy-17743714 not found, creating it 2024-09-04 14:01:19,546 - INFO - Created Project:ctest-TestBasicPolicy-17743714, ID : 799c8647-46ce-4caf-85d6-4e4449894e93 2024-09-04 14:01:20,997 - INFO - ================================================================================ 2024-09-04 14:01:20,997 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-04 14:01:20,998 - 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 2024-09-04 14:01:21,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.25': '0'}} with 2024-09-04 14:01:21,252 - INFO - Initial checks done. Running the testcase now 2024-09-04 14:01:21,252 - INFO - 2024-09-04 14:01:21,797 - DEBUG - Response for create_network : {'network': {'id': 'bca83990-5258-4de2-84c6-c5174f0f8957', 'name': 'ctest-vn-10898272', 'tenant_id': '799c864746ce4caf85d64e4449894e93', 'project_id': '799c864746ce4caf85d64e4449894e93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17743714', 'ctest-vn-10898272'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:01:21,961 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a318499d-5aa4-4871-8439-5e79d09d03ef', 'name': '', 'tenant_id': '799c864746ce4caf85d64e4449894e93', 'network_id': 'bca83990-5258-4de2-84c6-c5174f0f8957', 'ip_version': 4, 'cidr': '175.81.113.128/26', 'allocation_pools': [{'start': '175.81.113.130', 'end': '175.81.113.190'}], 'gateway_ip': '175.81.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.81.113.130', 'tags': [], 'project_id': '799c864746ce4caf85d64e4449894e93'}} 2024-09-04 14:01:21,981 - INFO - Created VN ctest-vn-10898272 2024-09-04 14:01:22,034 - DEBUG - VN ctest-vn-10898272 UUID is bca83990-5258-4de2-84c6-c5174f0f8957 2024-09-04 14:01:22,362 - DEBUG - Response for create_network : {'network': {'id': 'b6d60d5f-ab96-4e82-8840-c19820fd79f9', 'name': 'ctest-vn-97186798', 'tenant_id': '799c864746ce4caf85d64e4449894e93', 'project_id': '799c864746ce4caf85d64e4449894e93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17743714', 'ctest-vn-97186798'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:01:22,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '3063b188-f25b-44ae-9b9d-395aa3579a7f', 'name': '', 'tenant_id': '799c864746ce4caf85d64e4449894e93', 'network_id': 'b6d60d5f-ab96-4e82-8840-c19820fd79f9', 'ip_version': 4, 'cidr': '184.99.88.192/26', 'allocation_pools': [{'start': '184.99.88.194', 'end': '184.99.88.254'}], 'gateway_ip': '184.99.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.99.88.194', 'tags': [], 'project_id': '799c864746ce4caf85d64e4449894e93'}} 2024-09-04 14:01:22,569 - INFO - Created VN ctest-vn-97186798 2024-09-04 14:01:22,622 - DEBUG - VN ctest-vn-97186798 UUID is b6d60d5f-ab96-4e82-8840-c19820fd79f9 2024-09-04 14:01:22,738 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-10898272, 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-17743714:ctest-vn-97186798, 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] 2024-09-04 14:01:23,038 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bca83990-5258-4de2-84c6-c5174f0f8957', 'name': 'ctest-vn-10898272', 'tenant_id': '799c864746ce4caf85d64e4449894e93', 'project_id': '799c864746ce4caf85d64e4449894e93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a318499d-5aa4-4871-8439-5e79d09d03ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17743714', 'ctest-vn-10898272'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17743714', 'ctest-policy-allow-all-66616280']], 'subnet_ipam': [{'subnet_cidr': '175.81.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:01:23,266 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b6d60d5f-ab96-4e82-8840-c19820fd79f9', 'name': 'ctest-vn-97186798', 'tenant_id': '799c864746ce4caf85d64e4449894e93', 'project_id': '799c864746ce4caf85d64e4449894e93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3063b188-f25b-44ae-9b9d-395aa3579a7f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17743714', 'ctest-vn-97186798'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17743714', 'ctest-policy-allow-all-66616280']], 'subnet_ipam': [{'subnet_cidr': '184.99.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:01:23,426 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-09-04 14:01:23,727 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-09-04 14:01:23,756 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3845daa3-a47f-486b-958a-17fcf4dc3982 2024-09-04 14:01:23,769 - DEBUG - Requesting: http://10.0.0.23:8082/project/799c8647-46ce-4caf-85d6-4e4449894e93 2024-09-04 14:01:23,840 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bca83990-5258-4de2-84c6-c5174f0f8957 2024-09-04 14:01:23,849 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bca83990-5258-4de2-84c6-c5174f0f8957 2024-09-04 14:01:23,857 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/31768a19-d33d-46d9-ab60-d0aa1c3de5aa 2024-09-04 14:01:23,864 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/31768a19-d33d-46d9-ab60-d0aa1c3de5aa 2024-09-04 14:01:23,870 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/2107cb2c-dadc-4d46-8163-b49a20a2090b 2024-09-04 14:01:23,876 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-04 14:01:23,876 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bca83990-5258-4de2-84c6-c5174f0f8957 2024-09-04 14:01:23,883 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/31768a19-d33d-46d9-ab60-d0aa1c3de5aa 2024-09-04 14:01:23,894 - INFO - Verified VN network id 8 for VN bca83990-5258-4de2-84c6-c5174f0f8957 2024-09-04 14:01:23,894 - INFO - Verifications in API Server for VN ctest-vn-10898272 passed 2024-09-04 14:01:23,894 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bca83990-5258-4de2-84c6-c5174f0f8957 2024-09-04 14:01:23,901 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/31768a19-d33d-46d9-ab60-d0aa1c3de5aa 2024-09-04 14:01:23,908 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/31768a19-d33d-46d9-ab60-d0aa1c3de5aa 2024-09-04 14:01:23,913 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/2107cb2c-dadc-4d46-8163-b49a20a2090b 2024-09-04 14:01:23,924 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-10898272', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17743714', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13594178767237434850', 'uuid-lslong': '9567551162296535383'}, 'enable': 'true', 'created': '2024-09-04T14:01:21', 'last-modified': '2024-09-04T14:01:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.910365'} 2024-09-04 14:01:23,930 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-04 14:01:23,931 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10898272 passed 2024-09-04 14:01:23,931 - DEBUG - ====Verifying policy data for ctest-vn-10898272 in API_Server ====== 2024-09-04 14:01:23,931 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-09-04 14:01:23,936 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3845daa3-a47f-486b-958a-17fcf4dc3982 2024-09-04 14:01:23,947 - DEBUG - Requesting: http://10.0.0.23:8082/project/799c8647-46ce-4caf-85d6-4e4449894e93 2024-09-04 14:01:24,020 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/bca83990-5258-4de2-84c6-c5174f0f8957 2024-09-04 14:01:24,028 - DEBUG - ==>Verifying data for policy with id: 9c1dc19c-6a60-40b1-b850-3e9da42516a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-17743714', 'ctest-policy-allow-all-66616280'] 2024-09-04 14:01:24,028 - INFO - VN ctest-vn-10898272 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-04 14:01:24,028 - DEBUG - Verifying the vn in opserver 2024-09-04 14:01:24,028 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-10898272 virtual network link through opserver 10.0.0.23 2024-09-04 14:01:24,028 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2024-09-04 14:01:24,321 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2024-09-04 14:01:24,383 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-10898272', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-10898272?flat'} 2024-09-04 14:01:24,383 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-10898272 is found in opserver 2024-09-04 14:01:24,393 - DEBUG - Do not have enough data to verify VN in agent 2024-09-04 14:01:24,398 - DEBUG - VRF ids for VN ctest-vn-10898272: {} 2024-09-04 14:01:24,398 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-09-04 14:01:24,404 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3845daa3-a47f-486b-958a-17fcf4dc3982 2024-09-04 14:01:24,415 - DEBUG - Requesting: http://10.0.0.23:8082/project/799c8647-46ce-4caf-85d6-4e4449894e93 2024-09-04 14:01:24,481 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/b6d60d5f-ab96-4e82-8840-c19820fd79f9 2024-09-04 14:01:24,493 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/b6d60d5f-ab96-4e82-8840-c19820fd79f9 2024-09-04 14:01:24,501 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cd148529-b7a1-43ae-85de-5cf1d6145f2e 2024-09-04 14:01:24,507 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cd148529-b7a1-43ae-85de-5cf1d6145f2e 2024-09-04 14:01:24,514 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/e61dc518-870f-45c1-8450-3aa644191d77 2024-09-04 14:01:24,519 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-04 14:01:24,519 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/b6d60d5f-ab96-4e82-8840-c19820fd79f9 2024-09-04 14:01:24,526 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cd148529-b7a1-43ae-85de-5cf1d6145f2e 2024-09-04 14:01:24,536 - INFO - Verified VN network id 9 for VN b6d60d5f-ab96-4e82-8840-c19820fd79f9 2024-09-04 14:01:24,536 - INFO - Verifications in API Server for VN ctest-vn-97186798 passed 2024-09-04 14:01:24,536 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/b6d60d5f-ab96-4e82-8840-c19820fd79f9 2024-09-04 14:01:24,544 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cd148529-b7a1-43ae-85de-5cf1d6145f2e 2024-09-04 14:01:24,550 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cd148529-b7a1-43ae-85de-5cf1d6145f2e 2024-09-04 14:01:24,556 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/e61dc518-870f-45c1-8450-3aa644191d77 2024-09-04 14:01:24,567 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-97186798', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17743714', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13174732464470773378', 'uuid-lslong': '9818060046800353785'}, 'enable': 'true', 'created': '2024-09-04T14:01:22', 'last-modified': '2024-09-04T14:01:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317904'} 2024-09-04 14:01:24,573 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-04 14:01:24,573 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97186798 passed 2024-09-04 14:01:24,573 - DEBUG - ====Verifying policy data for ctest-vn-97186798 in API_Server ====== 2024-09-04 14:01:24,573 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-09-04 14:01:24,578 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3845daa3-a47f-486b-958a-17fcf4dc3982 2024-09-04 14:01:24,589 - DEBUG - Requesting: http://10.0.0.23:8082/project/799c8647-46ce-4caf-85d6-4e4449894e93 2024-09-04 14:01:24,656 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/b6d60d5f-ab96-4e82-8840-c19820fd79f9 2024-09-04 14:01:24,664 - DEBUG - ==>Verifying data for policy with id: 9c1dc19c-6a60-40b1-b850-3e9da42516a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-17743714', 'ctest-policy-allow-all-66616280'] 2024-09-04 14:01:24,664 - INFO - VN ctest-vn-97186798 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-04 14:01:24,664 - DEBUG - Verifying the vn in opserver 2024-09-04 14:01:24,664 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-97186798 virtual network link through opserver 10.0.0.23 2024-09-04 14:01:24,664 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2024-09-04 14:01:24,674 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-97186798', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-97186798?flat'} 2024-09-04 14:01:24,674 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-97186798 is found in opserver 2024-09-04 14:01:24,684 - DEBUG - Do not have enough data to verify VN in agent 2024-09-04 14:01:24,689 - DEBUG - VRF ids for VN ctest-vn-97186798: {} 2024-09-04 14:01:24,742 - DEBUG - Services list from nova: [, , ] 2024-09-04 14:01:25,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1843-1) 2024-09-04 14:01:26,931 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1843-1) 2024-09-04 14:01:26,931 - INFO - Waiting for VM ctest-TestBasicPolicy-17743714-07846043 to be up.. 2024-09-04 14:01:27,006 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 14:01:32,080 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:01:32,080 - INFO - VM name : ctest-TestBasicPolicy-17743714-07846043 2024-09-04 14:01:32,151 - DEBUG - VM ctest-TestBasicPolicy-17743714-07846043 ID is 285fff82-cc9a-422d-ac58-a0c1e1d796f5 2024-09-04 14:01:32,168 - DEBUG - VM ctest-TestBasicPolicy-17743714-07846043 launched on Node cn-jenkins-deploy-platform-ansible-os-1843-1 2024-09-04 14:01:32,240 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/285fff82-cc9a-422d-ac58-a0c1e1d796f5 2024-09-04 14:01:32,248 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/816efd6e-bd07-4cef-a758-163c364bea65 2024-09-04 14:01:35,492 - 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 1012ms') 2024-09-04 14:01:35,492 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17743714-07846043 failed! 2024-09-04 14:01:35,546 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17743714:ctest-vn-10898272 is 175.81.113.129 and allocation pool is NOT set 2024-09-04 14:01:37,602 - 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=3.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.527 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.527/2.092/3.658/1.565 ms') 2024-09-04 14:01:37,602 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17743714-07846043 passed 2024-09-04 14:01:37,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:01:37,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17743714-07846043, IP 175.81.113.131, Port 22 2024-09-04 14:01:37,905 - DEBUG - VM ctest-TestBasicPolicy-17743714-07846043 is ready for SSH connections 2024-09-04 14:01:37,905 - INFO - Waiting for VM ctest-TestBasicPolicy-17743714-40965637 to be up.. 2024-09-04 14:01:37,976 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:01:37,976 - INFO - VM name : ctest-TestBasicPolicy-17743714-40965637 2024-09-04 14:01:38,048 - DEBUG - VM ctest-TestBasicPolicy-17743714-40965637 ID is 4df28014-38c7-4e3b-9ff6-28c067565395 2024-09-04 14:01:38,048 - DEBUG - VM ctest-TestBasicPolicy-17743714-40965637 launched on Node cn-jenkins-deploy-platform-ansible-os-1843-1 2024-09-04 14:01:38,122 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4df28014-38c7-4e3b-9ff6-28c067565395 2024-09-04 14:01:38,129 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d81d9a9c-38ae-4464-8507-3d63a301d6b0 2024-09-04 14:01:39,368 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.394/1.485/2.577/1.091 ms') 2024-09-04 14:01:39,368 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17743714-40965637 passed 2024-09-04 14:01:39,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:01:39,518 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17743714-40965637, IP 184.99.88.195, Port 22 2024-09-04 14:01:39,669 - DEBUG - VM ctest-TestBasicPolicy-17743714-40965637 is ready for SSH connections 2024-09-04 14:01:39,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:01:39,670 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.99.88.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-09-04 14:01:39,670 - DEBUG - ping -s 56 -c 3 -W 1 184.99.88.195 2024-09-04 14:01:43,627 - DEBUG - PING 184.99.88.195 (184.99.88.195): 56 data bytes 64 bytes from 184.99.88.195: seq=0 ttl=63 time=3.520 ms 64 bytes from 184.99.88.195: seq=1 ttl=63 time=0.825 ms 64 bytes from 184.99.88.195: seq=2 ttl=63 time=0.779 ms --- 184.99.88.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.779/1.708/3.520 ms 2024-09-04 14:01:43,627 - INFO - Ping to IP 184.99.88.195 from VM ctest-TestBasicPolicy-17743714-07846043 passed 2024-09-04 14:01:43,802 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c1dc19c-6a60-40b1-b850-3e9da42516a6", "href": "http://10.0.0.23:8082/network-policy/9c1dc19c-6a60-40b1-b850-3e9da42516a6"}} 2024-09-04 14:01:43,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:01:43,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.99.88.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-09-04 14:01:43,802 - DEBUG - ping -s 56 -c 3 -W 1 184.99.88.195 2024-09-04 14:01:47,000 - DEBUG - PING 184.99.88.195 (184.99.88.195): 56 data bytes --- 184.99.88.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-04 14:01:47,000 - WARNING - Ping to IP 184.99.88.195 from VM ctest-TestBasicPolicy-17743714-07846043 failed 2024-09-04 14:01:47,001 - INFO - Deleting VM ctest-TestBasicPolicy-17743714-40965637 2024-09-04 14:01:47,059 - INFO - Deleting VM ctest-TestBasicPolicy-17743714-07846043 2024-09-04 14:01:47,375 - INFO - Deleted policy ctest-policy-allow-all-66616280 2024-09-04 14:01:47,375 - INFO - Deleting VN ctest-vn-97186798 2024-09-04 14:01:47,412 - DEBUG - VN b6d60d5f-ab96-4e82-8840-c19820fd79f9 still in use: Unable to complete operation on network b6d60d5f-ab96-4e82-8840-c19820fd79f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13ae3642-b30f-4b36-8ee3-fa596eaf5480'] 2024-09-04 14:01:47,412 - WARNING - Deleting VN ctest-vn-97186798 failed..Will retry 2024-09-04 14:01:49,508 - DEBUG - Response for deleting network () 2024-09-04 14:01:49,508 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/cd148529-b7a1-43ae-85de-5cf1d6145f2e 2024-09-04 14:01:49,515 - DEBUG - Response Code: 404 2024-09-04 14:01:49,515 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-09-04 14:01:49,520 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3845daa3-a47f-486b-958a-17fcf4dc3982 2024-09-04 14:01:49,574 - DEBUG - Requesting: http://10.0.0.23:8082/project/799c8647-46ce-4caf-85d6-4e4449894e93 2024-09-04 14:01:49,645 - INFO - Validated that VN ctest-vn-97186798 is not found in API Server 2024-09-04 14:01:49,655 - DEBUG - VN ctest-vn-97186798 is not present in Agent 10.0.0.23 2024-09-04 14:01:49,655 - INFO - Validated that VN ctest-vn-97186798 is not in any agent 2024-09-04 14:01:49,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97186798 info 2024-09-04 14:01:49,670 - INFO - Deleting VN ctest-vn-10898272 2024-09-04 14:01:49,774 - DEBUG - Response for deleting network () 2024-09-04 14:01:49,774 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/31768a19-d33d-46d9-ab60-d0aa1c3de5aa 2024-09-04 14:01:49,779 - DEBUG - Response Code: 404 2024-09-04 14:01:49,779 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2024-09-04 14:01:49,784 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3845daa3-a47f-486b-958a-17fcf4dc3982 2024-09-04 14:01:49,839 - DEBUG - Requesting: http://10.0.0.23:8082/project/799c8647-46ce-4caf-85d6-4e4449894e93 2024-09-04 14:01:49,907 - INFO - Validated that VN ctest-vn-10898272 is not found in API Server 2024-09-04 14:01:49,918 - DEBUG - VN ctest-vn-10898272 is not present in Agent 10.0.0.23 2024-09-04 14:01:49,918 - INFO - Validated that VN ctest-vn-10898272 is not in any agent 2024-09-04 14:01:49,932 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10898272 info 2024-09-04 14:01:50,187 - DEBUG - No XMPP flaps were noticed during the test 2024-09-04 14:01:50,187 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-09-04 14:01:50,187 - INFO - -------------------------------------------------------------------------------- 2024-09-04 14:01:50,836 - INFO - Deleted project: ctest-TestBasicPolicy-17743714, ID : 799c8647-46ce-4caf-85d6-4e4449894e93