2025-01-15 19:27:22,319 - INFO - Domain Default found not creating 2025-01-15 19:27:22,494 - INFO - Project ctest-TestBasicPolicy-38458116 not found, creating it 2025-01-15 19:27:22,965 - INFO - Created Project:ctest-TestBasicPolicy-38458116, ID : a02188bf-95d9-4fee-8f41-15974b007dee 2025-01-15 19:27:24,534 - INFO - ================================================================================ 2025-01-15 19:27:24,534 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-15 19:27:24,534 - 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-15 19:27:24,790 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.13': '0'}} with 2025-01-15 19:27:24,790 - INFO - Initial checks done. Running the testcase now 2025-01-15 19:27:24,790 - INFO - 2025-01-15 19:27:25,361 - DEBUG - Response for create_network : {'network': {'id': '48d82248-8438-483d-9fc5-f61787096212', 'name': 'ctest-vn-13726920', 'tenant_id': 'a02188bf95d94fee8f4115974b007dee', 'project_id': 'a02188bf95d94fee8f4115974b007dee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38458116', 'ctest-vn-13726920'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:27:25,561 - DEBUG - Response for create_subnet : {'subnet': {'id': '4527bbbf-6763-45ff-8c81-58ba95ff5dd1', 'name': '', 'tenant_id': 'a02188bf95d94fee8f4115974b007dee', 'network_id': '48d82248-8438-483d-9fc5-f61787096212', 'ip_version': 4, 'cidr': '61.141.192.192/26', 'allocation_pools': [{'start': '61.141.192.194', 'end': '61.141.192.254'}], 'gateway_ip': '61.141.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.141.192.194', 'tags': [], 'project_id': 'a02188bf95d94fee8f4115974b007dee'}} 2025-01-15 19:27:25,580 - INFO - Created VN ctest-vn-13726920 2025-01-15 19:27:25,632 - DEBUG - VN ctest-vn-13726920 UUID is 48d82248-8438-483d-9fc5-f61787096212 2025-01-15 19:27:25,934 - DEBUG - Response for create_network : {'network': {'id': 'a45d004c-9a4d-44c2-bcae-498758b48b8d', 'name': 'ctest-vn-31451204', 'tenant_id': 'a02188bf95d94fee8f4115974b007dee', 'project_id': 'a02188bf95d94fee8f4115974b007dee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38458116', 'ctest-vn-31451204'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:27:26,154 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2dbb43a-54c6-4035-bec4-a9f65cf223b2', 'name': '', 'tenant_id': 'a02188bf95d94fee8f4115974b007dee', 'network_id': 'a45d004c-9a4d-44c2-bcae-498758b48b8d', 'ip_version': 4, 'cidr': '102.222.24.192/26', 'allocation_pools': [{'start': '102.222.24.194', 'end': '102.222.24.254'}], 'gateway_ip': '102.222.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.222.24.194', 'tags': [], 'project_id': 'a02188bf95d94fee8f4115974b007dee'}} 2025-01-15 19:27:26,175 - INFO - Created VN ctest-vn-31451204 2025-01-15 19:27:26,228 - DEBUG - VN ctest-vn-31451204 UUID is a45d004c-9a4d-44c2-bcae-498758b48b8d 2025-01-15 19:27:26,349 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-13726920, 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-38458116:ctest-vn-31451204, 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-15 19:27:26,647 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48d82248-8438-483d-9fc5-f61787096212', 'name': 'ctest-vn-13726920', 'tenant_id': 'a02188bf95d94fee8f4115974b007dee', 'project_id': 'a02188bf95d94fee8f4115974b007dee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4527bbbf-6763-45ff-8c81-58ba95ff5dd1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38458116', 'ctest-vn-13726920'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38458116', 'ctest-policy-allow-all-07389214']], 'subnet_ipam': [{'subnet_cidr': '61.141.192.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:27:26,892 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a45d004c-9a4d-44c2-bcae-498758b48b8d', 'name': 'ctest-vn-31451204', 'tenant_id': 'a02188bf95d94fee8f4115974b007dee', 'project_id': 'a02188bf95d94fee8f4115974b007dee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a2dbb43a-54c6-4035-bec4-a9f65cf223b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38458116', 'ctest-vn-31451204'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38458116', 'ctest-policy-allow-all-07389214']], 'subnet_ipam': [{'subnet_cidr': '102.222.24.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:27:27,060 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-15 19:27:27,383 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-15 19:27:27,416 - DEBUG - Requesting: http://10.0.0.24:8082/domain/12feb600-2829-4e08-86a5-17d44747a9b0 2025-01-15 19:27:27,431 - DEBUG - Requesting: http://10.0.0.24:8082/project/a02188bf-95d9-4fee-8f41-15974b007dee 2025-01-15 19:27:27,508 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/48d82248-8438-483d-9fc5-f61787096212 2025-01-15 19:27:27,520 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/48d82248-8438-483d-9fc5-f61787096212 2025-01-15 19:27:27,530 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d55fca8d-6e29-4549-9467-9c579cd1c783 2025-01-15 19:27:27,538 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d55fca8d-6e29-4549-9467-9c579cd1c783 2025-01-15 19:27:27,546 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/1d5662fc-31f5-4c65-8fcf-c9985aa02d0b 2025-01-15 19:27:27,553 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 19:27:27,553 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/48d82248-8438-483d-9fc5-f61787096212 2025-01-15 19:27:27,562 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d55fca8d-6e29-4549-9467-9c579cd1c783 2025-01-15 19:27:27,578 - INFO - Verified VN network id 8 for VN 48d82248-8438-483d-9fc5-f61787096212 2025-01-15 19:27:27,579 - INFO - Verifications in API Server for VN ctest-vn-13726920 passed 2025-01-15 19:27:27,579 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/48d82248-8438-483d-9fc5-f61787096212 2025-01-15 19:27:27,589 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d55fca8d-6e29-4549-9467-9c579cd1c783 2025-01-15 19:27:27,597 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d55fca8d-6e29-4549-9467-9c579cd1c783 2025-01-15 19:27:27,605 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/1d5662fc-31f5-4c65-8fcf-c9985aa02d0b 2025-01-15 19:27:27,619 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-13726920', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38458116', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5248983060551583805', 'uuid-lslong': '11512878603352760850'}, 'enable': 'true', 'created': '2025-01-15T19:27:25', 'last-modified': '2025-01-15T19:27:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996041'} 2025-01-15 19:27:27,626 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 19:27:27,626 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13726920 passed 2025-01-15 19:27:27,626 - DEBUG - ====Verifying policy data for ctest-vn-13726920 in API_Server ====== 2025-01-15 19:27:27,626 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-15 19:27:27,632 - DEBUG - Requesting: http://10.0.0.24:8082/domain/12feb600-2829-4e08-86a5-17d44747a9b0 2025-01-15 19:27:27,643 - DEBUG - Requesting: http://10.0.0.24:8082/project/a02188bf-95d9-4fee-8f41-15974b007dee 2025-01-15 19:27:27,721 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/48d82248-8438-483d-9fc5-f61787096212 2025-01-15 19:27:27,732 - DEBUG - ==>Verifying data for policy with id: 5ea2b02f-8854-4b52-b25a-0c899d8ea6ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-38458116', 'ctest-policy-allow-all-07389214'] 2025-01-15 19:27:27,732 - INFO - VN ctest-vn-13726920 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 19:27:27,732 - DEBUG - Verifying the vn in opserver 2025-01-15 19:27:27,732 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-13726920 virtual network link through opserver 10.0.0.24 2025-01-15 19:27:27,732 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-01-15 19:27:28,034 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-01-15 19:27:28,093 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-13726920', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-13726920?flat'} 2025-01-15 19:27:28,093 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-13726920 is found in opserver 2025-01-15 19:27:28,105 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 19:27:28,111 - DEBUG - VRF ids for VN ctest-vn-13726920: {} 2025-01-15 19:27:28,111 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-15 19:27:28,117 - DEBUG - Requesting: http://10.0.0.24:8082/domain/12feb600-2829-4e08-86a5-17d44747a9b0 2025-01-15 19:27:28,130 - DEBUG - Requesting: http://10.0.0.24:8082/project/a02188bf-95d9-4fee-8f41-15974b007dee 2025-01-15 19:27:28,201 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/a45d004c-9a4d-44c2-bcae-498758b48b8d 2025-01-15 19:27:28,214 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/a45d004c-9a4d-44c2-bcae-498758b48b8d 2025-01-15 19:27:28,225 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/8775de89-cbad-40d1-9c39-2a4cedd12bcb 2025-01-15 19:27:28,234 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/8775de89-cbad-40d1-9c39-2a4cedd12bcb 2025-01-15 19:27:28,242 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/c2705149-0586-47f1-ae84-ab67fa686355 2025-01-15 19:27:28,249 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 19:27:28,249 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/a45d004c-9a4d-44c2-bcae-498758b48b8d 2025-01-15 19:27:28,259 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/8775de89-cbad-40d1-9c39-2a4cedd12bcb 2025-01-15 19:27:28,274 - INFO - Verified VN network id 9 for VN a45d004c-9a4d-44c2-bcae-498758b48b8d 2025-01-15 19:27:28,274 - INFO - Verifications in API Server for VN ctest-vn-31451204 passed 2025-01-15 19:27:28,274 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/a45d004c-9a4d-44c2-bcae-498758b48b8d 2025-01-15 19:27:28,285 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/8775de89-cbad-40d1-9c39-2a4cedd12bcb 2025-01-15 19:27:28,293 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/8775de89-cbad-40d1-9c39-2a4cedd12bcb 2025-01-15 19:27:28,302 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/c2705149-0586-47f1-ae84-ab67fa686355 2025-01-15 19:27:28,316 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-31451204', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38458116', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11843622924060542146', 'uuid-lslong': '13595885170735745933'}, 'enable': 'true', 'created': '2025-01-15T19:27:25', 'last-modified': '2025-01-15T19:27:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.444404'} 2025-01-15 19:27:28,324 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 19:27:28,324 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31451204 passed 2025-01-15 19:27:28,324 - DEBUG - ====Verifying policy data for ctest-vn-31451204 in API_Server ====== 2025-01-15 19:27:28,324 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-15 19:27:28,330 - DEBUG - Requesting: http://10.0.0.24:8082/domain/12feb600-2829-4e08-86a5-17d44747a9b0 2025-01-15 19:27:28,342 - DEBUG - Requesting: http://10.0.0.24:8082/project/a02188bf-95d9-4fee-8f41-15974b007dee 2025-01-15 19:27:28,421 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/a45d004c-9a4d-44c2-bcae-498758b48b8d 2025-01-15 19:27:28,431 - DEBUG - ==>Verifying data for policy with id: 5ea2b02f-8854-4b52-b25a-0c899d8ea6ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-38458116', 'ctest-policy-allow-all-07389214'] 2025-01-15 19:27:28,431 - INFO - VN ctest-vn-31451204 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 19:27:28,431 - DEBUG - Verifying the vn in opserver 2025-01-15 19:27:28,431 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-31451204 virtual network link through opserver 10.0.0.24 2025-01-15 19:27:28,431 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-01-15 19:27:28,442 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-31451204', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-31451204?flat'} 2025-01-15 19:27:28,442 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-31451204 is found in opserver 2025-01-15 19:27:28,452 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 19:27:28,457 - DEBUG - VRF ids for VN ctest-vn-31451204: {} 2025-01-15 19:27:28,513 - DEBUG - Services list from nova: [, , ] 2025-01-15 19:27:29,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2645-1) 2025-01-15 19:27:30,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2645-1) 2025-01-15 19:27:30,761 - INFO - Waiting for VM ctest-TestBasicPolicy-38458116-66535646 to be up.. 2025-01-15 19:27:30,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 19:27:35,951 - DEBUG - VM is in ACTIVE state now 2025-01-15 19:27:35,951 - INFO - VM name : ctest-TestBasicPolicy-38458116-66535646 2025-01-15 19:27:36,036 - DEBUG - VM ctest-TestBasicPolicy-38458116-66535646 ID is 6f499008-fda7-498f-9318-7fc32664085c 2025-01-15 19:27:36,060 - DEBUG - VM ctest-TestBasicPolicy-38458116-66535646 launched on Node cn-jenkins-deploy-platform-ansible-os-2645-1 2025-01-15 19:27:36,143 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/6f499008-fda7-498f-9318-7fc32664085c 2025-01-15 19:27:36,156 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/f13c9883-fd58-4e2a-bafc-cbd7e2e6db93 2025-01-15 19:27:39,414 - 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 1015ms') 2025-01-15 19:27:39,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38458116-66535646 failed! 2025-01-15 19:27:39,468 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38458116:ctest-vn-13726920 is 61.141.192.193 and allocation pool is NOT set 2025-01-15 19:27:41,535 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 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.443/3.988/7.533/3.545 ms') 2025-01-15 19:27:41,535 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38458116-66535646 passed 2025-01-15 19:27:41,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:27:41,688 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38458116-66535646, IP 61.141.192.195, Port 22 2025-01-15 19:27:41,848 - DEBUG - VM ctest-TestBasicPolicy-38458116-66535646 is ready for SSH connections 2025-01-15 19:27:41,848 - INFO - Waiting for VM ctest-TestBasicPolicy-38458116-64621253 to be up.. 2025-01-15 19:27:41,929 - DEBUG - VM is in ACTIVE state now 2025-01-15 19:27:41,929 - INFO - VM name : ctest-TestBasicPolicy-38458116-64621253 2025-01-15 19:27:42,005 - DEBUG - VM ctest-TestBasicPolicy-38458116-64621253 ID is ac8f2cc9-83a0-48d1-91ad-15edcf270261 2025-01-15 19:27:42,005 - DEBUG - VM ctest-TestBasicPolicy-38458116-64621253 launched on Node cn-jenkins-deploy-platform-ansible-os-2645-1 2025-01-15 19:27:42,083 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/ac8f2cc9-83a0-48d1-91ad-15edcf270261 2025-01-15 19:27:42,092 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/a2256099-ca40-44dd-bfab-40c4ffaef9f6 2025-01-15 19:27:43,335 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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 = 1.067/3.000/4.933/1.933 ms') 2025-01-15 19:27:43,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38458116-64621253 passed 2025-01-15 19:27:43,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:27:43,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38458116-64621253, IP 102.222.24.195, Port 22 2025-01-15 19:27:43,643 - DEBUG - VM ctest-TestBasicPolicy-38458116-64621253 is ready for SSH connections 2025-01-15 19:27:43,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:27:43,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.222.24.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-01-15 19:27:43,643 - DEBUG - ping -s 56 -c 3 -W 1 102.222.24.195 2025-01-15 19:27:47,340 - DEBUG - PING 102.222.24.195 (102.222.24.195): 56 data bytes 64 bytes from 102.222.24.195: seq=0 ttl=63 time=3.689 ms 64 bytes from 102.222.24.195: seq=1 ttl=63 time=0.835 ms 64 bytes from 102.222.24.195: seq=2 ttl=63 time=0.872 ms --- 102.222.24.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.798/3.689 ms 2025-01-15 19:27:47,340 - INFO - Ping to IP 102.222.24.195 from VM ctest-TestBasicPolicy-38458116-66535646 passed 2025-01-15 19:27:47,524 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5ea2b02f-8854-4b52-b25a-0c899d8ea6ff", "href": "http://10.0.0.24:8082/network-policy/5ea2b02f-8854-4b52-b25a-0c899d8ea6ff"}} 2025-01-15 19:27:47,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:27:47,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.222.24.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-01-15 19:27:47,524 - DEBUG - ping -s 56 -c 3 -W 1 102.222.24.195 2025-01-15 19:27:50,756 - DEBUG - PING 102.222.24.195 (102.222.24.195): 56 data bytes 64 bytes from 102.222.24.195: seq=0 ttl=63 time=1.549 ms --- 102.222.24.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.549/1.549/1.549 ms 2025-01-15 19:27:50,756 - WARNING - Ping to IP 102.222.24.195 from VM ctest-TestBasicPolicy-38458116-66535646 failed 2025-01-15 19:27:50,756 - INFO - Deleting VM ctest-TestBasicPolicy-38458116-64621253 2025-01-15 19:27:50,838 - INFO - Deleting VM ctest-TestBasicPolicy-38458116-66535646 2025-01-15 19:27:51,263 - INFO - Deleted policy ctest-policy-allow-all-07389214 2025-01-15 19:27:51,263 - INFO - Deleting VN ctest-vn-31451204 2025-01-15 19:27:51,306 - DEBUG - VN a45d004c-9a4d-44c2-bcae-498758b48b8d still in use: Unable to complete operation on network a45d004c-9a4d-44c2-bcae-498758b48b8d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6bde8cec-4a0a-4f52-9947-1f661e3d4eef'] 2025-01-15 19:27:51,306 - WARNING - Deleting VN ctest-vn-31451204 failed..Will retry 2025-01-15 19:27:53,425 - DEBUG - Response for deleting network () 2025-01-15 19:27:53,426 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/8775de89-cbad-40d1-9c39-2a4cedd12bcb 2025-01-15 19:27:53,439 - DEBUG - Response Code: 404 2025-01-15 19:27:53,439 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-15 19:27:53,448 - DEBUG - Requesting: http://10.0.0.24:8082/domain/12feb600-2829-4e08-86a5-17d44747a9b0 2025-01-15 19:27:53,506 - DEBUG - Requesting: http://10.0.0.24:8082/project/a02188bf-95d9-4fee-8f41-15974b007dee 2025-01-15 19:27:53,583 - INFO - Validated that VN ctest-vn-31451204 is not found in API Server 2025-01-15 19:27:53,599 - DEBUG - VN ctest-vn-31451204 is not present in Agent 10.0.0.24 2025-01-15 19:27:53,599 - INFO - Validated that VN ctest-vn-31451204 is not in any agent 2025-01-15 19:27:53,618 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31451204 info 2025-01-15 19:27:53,619 - INFO - Deleting VN ctest-vn-13726920 2025-01-15 19:27:53,749 - DEBUG - Response for deleting network () 2025-01-15 19:27:53,749 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d55fca8d-6e29-4549-9467-9c579cd1c783 2025-01-15 19:27:53,754 - DEBUG - Response Code: 404 2025-01-15 19:27:53,754 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-15 19:27:53,761 - DEBUG - Requesting: http://10.0.0.24:8082/domain/12feb600-2829-4e08-86a5-17d44747a9b0 2025-01-15 19:27:53,818 - DEBUG - Requesting: http://10.0.0.24:8082/project/a02188bf-95d9-4fee-8f41-15974b007dee 2025-01-15 19:27:53,892 - INFO - Validated that VN ctest-vn-13726920 is not found in API Server 2025-01-15 19:27:53,903 - DEBUG - VN ctest-vn-13726920 is not present in Agent 10.0.0.24 2025-01-15 19:27:53,903 - INFO - Validated that VN ctest-vn-13726920 is not in any agent 2025-01-15 19:27:53,921 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13726920 info 2025-01-15 19:27:54,173 - DEBUG - No XMPP flaps were noticed during the test
2025-01-15 19:27:54,173 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-15 19:27:54,173 - INFO - -------------------------------------------------------------------------------- 2025-01-15 19:27:54,854 - INFO - Deleted project: ctest-TestBasicPolicy-38458116, ID : a02188bf-95d9-4fee-8f41-15974b007dee