2025-06-30 11:42:14,137 - INFO - Domain Default found not creating 2025-06-30 11:42:14,334 - INFO - Project ctest-TestBasicPolicy-27989657 not found, creating it 2025-06-30 11:42:14,835 - INFO - Created Project:ctest-TestBasicPolicy-27989657, ID : 2cf44861-972c-4ca0-bbd3-f2eeb1987d10 2025-06-30 11:42:16,445 - INFO - ================================================================================ 2025-06-30 11:42:16,445 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 11:42:16,445 - 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-06-30 11:42:16,707 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-06-30 11:42:16,707 - INFO - Initial checks done. Running the testcase now 2025-06-30 11:42:16,707 - INFO - 2025-06-30 11:42:17,289 - DEBUG - Response for create_network : {'network': {'id': '759078ee-0375-4982-9805-c75ac18a3ba6', 'name': 'ctest-vn-22242162', 'tenant_id': '2cf44861972c4ca0bbd3f2eeb1987d10', 'project_id': '2cf44861972c4ca0bbd3f2eeb1987d10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27989657', 'ctest-vn-22242162'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:42:17,474 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f254f9c8-3208-41d2-b692-6a86d29dd004', 'name': '', 'tenant_id': '2cf44861972c4ca0bbd3f2eeb1987d10', 'network_id': '759078ee-0375-4982-9805-c75ac18a3ba6', 'ip_version': 4, 'cidr': '129.170.7.192/26', 'allocation_pools': [{'start': '129.170.7.194', 'end': '129.170.7.254'}], 'gateway_ip': '129.170.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.170.7.194', 'tags': [], 'project_id': '2cf44861972c4ca0bbd3f2eeb1987d10'}} 2025-06-30 11:42:17,499 - INFO - Created VN ctest-vn-22242162 2025-06-30 11:42:17,556 - DEBUG - VN ctest-vn-22242162 UUID is 759078ee-0375-4982-9805-c75ac18a3ba6 2025-06-30 11:42:17,867 - DEBUG - Response for create_network : {'network': {'id': 'fbc8f998-deab-43e8-8ef1-c6cf23cf3639', 'name': 'ctest-vn-71679825', 'tenant_id': '2cf44861972c4ca0bbd3f2eeb1987d10', 'project_id': '2cf44861972c4ca0bbd3f2eeb1987d10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27989657', 'ctest-vn-71679825'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:42:18,068 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2b7d911-d5b6-4b87-b5e0-f5c37db6dc08', 'name': '', 'tenant_id': '2cf44861972c4ca0bbd3f2eeb1987d10', 'network_id': 'fbc8f998-deab-43e8-8ef1-c6cf23cf3639', 'ip_version': 4, 'cidr': '174.39.80.128/26', 'allocation_pools': [{'start': '174.39.80.130', 'end': '174.39.80.190'}], 'gateway_ip': '174.39.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.39.80.130', 'tags': [], 'project_id': '2cf44861972c4ca0bbd3f2eeb1987d10'}} 2025-06-30 11:42:18,087 - INFO - Created VN ctest-vn-71679825 2025-06-30 11:42:18,144 - DEBUG - VN ctest-vn-71679825 UUID is fbc8f998-deab-43e8-8ef1-c6cf23cf3639 2025-06-30 11:42:18,266 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-22242162, 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-27989657:ctest-vn-71679825, 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-06-30 11:42:18,592 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '759078ee-0375-4982-9805-c75ac18a3ba6', 'name': 'ctest-vn-22242162', 'tenant_id': '2cf44861972c4ca0bbd3f2eeb1987d10', 'project_id': '2cf44861972c4ca0bbd3f2eeb1987d10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f254f9c8-3208-41d2-b692-6a86d29dd004'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27989657', 'ctest-vn-22242162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27989657', 'ctest-policy-allow-all-95306716']], 'subnet_ipam': [{'subnet_cidr': '129.170.7.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:42:18,887 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbc8f998-deab-43e8-8ef1-c6cf23cf3639', 'name': 'ctest-vn-71679825', 'tenant_id': '2cf44861972c4ca0bbd3f2eeb1987d10', 'project_id': '2cf44861972c4ca0bbd3f2eeb1987d10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c2b7d911-d5b6-4b87-b5e0-f5c37db6dc08'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27989657', 'ctest-vn-71679825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27989657', 'ctest-policy-allow-all-95306716']], 'subnet_ipam': [{'subnet_cidr': '174.39.80.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:42:19,036 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-30 11:42:19,340 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-30 11:42:19,373 - DEBUG - Requesting: http://10.0.0.22:8082/domain/05c89103-bbb7-4fd8-948e-f7fc29e07feb 2025-06-30 11:42:19,390 - DEBUG - Requesting: http://10.0.0.22:8082/project/2cf44861-972c-4ca0-bbd3-f2eeb1987d10 2025-06-30 11:42:19,471 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/759078ee-0375-4982-9805-c75ac18a3ba6 2025-06-30 11:42:19,484 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/759078ee-0375-4982-9805-c75ac18a3ba6 2025-06-30 11:42:19,495 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0a5b318-6725-4e5e-aac1-54d734d46311 2025-06-30 11:42:19,504 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0a5b318-6725-4e5e-aac1-54d734d46311 2025-06-30 11:42:19,512 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1f6557ea-942b-45f9-ab57-ebab137fb923 2025-06-30 11:42:19,520 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 11:42:19,521 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/759078ee-0375-4982-9805-c75ac18a3ba6 2025-06-30 11:42:19,531 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0a5b318-6725-4e5e-aac1-54d734d46311 2025-06-30 11:42:19,546 - INFO - Verified VN network id 8 for VN 759078ee-0375-4982-9805-c75ac18a3ba6 2025-06-30 11:42:19,546 - INFO - Verifications in API Server for VN ctest-vn-22242162 passed 2025-06-30 11:42:19,547 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/759078ee-0375-4982-9805-c75ac18a3ba6 2025-06-30 11:42:19,557 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0a5b318-6725-4e5e-aac1-54d734d46311 2025-06-30 11:42:19,565 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0a5b318-6725-4e5e-aac1-54d734d46311 2025-06-30 11:42:19,575 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1f6557ea-942b-45f9-ab57-ebab137fb923 2025-06-30 11:42:19,591 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-22242162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27989657', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8471403862739470722', 'uuid-lslong': '10954380861256645542'}, 'enable': 'true', 'created': '2025-06-30T11:42:17', 'last-modified': '2025-06-30T11:42:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.033093'} 2025-06-30 11:42:19,604 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 11:42:19,604 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22242162 passed 2025-06-30 11:42:19,605 - DEBUG - ====Verifying policy data for ctest-vn-22242162 in API_Server ====== 2025-06-30 11:42:19,605 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-30 11:42:19,614 - DEBUG - Requesting: http://10.0.0.22:8082/domain/05c89103-bbb7-4fd8-948e-f7fc29e07feb 2025-06-30 11:42:19,627 - DEBUG - Requesting: http://10.0.0.22:8082/project/2cf44861-972c-4ca0-bbd3-f2eeb1987d10 2025-06-30 11:42:19,704 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/759078ee-0375-4982-9805-c75ac18a3ba6 2025-06-30 11:42:19,715 - DEBUG - ==>Verifying data for policy with id: ec8529e5-ceda-47fb-9b4d-28dbde24baa1, fqn: ['default-domain', 'ctest-TestBasicPolicy-27989657', 'ctest-policy-allow-all-95306716'] 2025-06-30 11:42:19,715 - INFO - VN ctest-vn-22242162 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 11:42:19,716 - DEBUG - Verifying the vn in opserver 2025-06-30 11:42:19,716 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-22242162 virtual network link through opserver 10.0.0.22 2025-06-30 11:42:19,716 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-06-30 11:42:20,009 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-06-30 11:42:20,069 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-22242162', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-22242162?flat'} 2025-06-30 11:42:20,069 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-22242162 is found in opserver 2025-06-30 11:42:20,081 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 11:42:20,087 - DEBUG - VRF ids for VN ctest-vn-22242162: {} 2025-06-30 11:42:20,087 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-30 11:42:20,094 - DEBUG - Requesting: http://10.0.0.22:8082/domain/05c89103-bbb7-4fd8-948e-f7fc29e07feb 2025-06-30 11:42:20,105 - DEBUG - Requesting: http://10.0.0.22:8082/project/2cf44861-972c-4ca0-bbd3-f2eeb1987d10 2025-06-30 11:42:20,185 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fbc8f998-deab-43e8-8ef1-c6cf23cf3639 2025-06-30 11:42:20,207 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fbc8f998-deab-43e8-8ef1-c6cf23cf3639 2025-06-30 11:42:20,218 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/08b09aa1-e285-4231-9ddb-a9f0797864af 2025-06-30 11:42:20,227 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/08b09aa1-e285-4231-9ddb-a9f0797864af 2025-06-30 11:42:20,235 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/42da7cb2-7888-4032-b7c6-d6490ef153ab 2025-06-30 11:42:20,242 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 11:42:20,242 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fbc8f998-deab-43e8-8ef1-c6cf23cf3639 2025-06-30 11:42:20,253 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/08b09aa1-e285-4231-9ddb-a9f0797864af 2025-06-30 11:42:20,270 - INFO - Verified VN network id 9 for VN fbc8f998-deab-43e8-8ef1-c6cf23cf3639 2025-06-30 11:42:20,270 - INFO - Verifications in API Server for VN ctest-vn-71679825 passed 2025-06-30 11:42:20,270 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fbc8f998-deab-43e8-8ef1-c6cf23cf3639 2025-06-30 11:42:20,281 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/08b09aa1-e285-4231-9ddb-a9f0797864af 2025-06-30 11:42:20,289 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/08b09aa1-e285-4231-9ddb-a9f0797864af 2025-06-30 11:42:20,297 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/42da7cb2-7888-4032-b7c6-d6490ef153ab 2025-06-30 11:42:20,311 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-71679825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27989657', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18143025533828154344', 'uuid-lslong': '10300232415734347321'}, 'enable': 'true', 'created': '2025-06-30T11:42:17', 'last-modified': '2025-06-30T11:42:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.504059'} 2025-06-30 11:42:20,319 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 11:42:20,319 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71679825 passed 2025-06-30 11:42:20,320 - DEBUG - ====Verifying policy data for ctest-vn-71679825 in API_Server ====== 2025-06-30 11:42:20,320 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-30 11:42:20,327 - DEBUG - Requesting: http://10.0.0.22:8082/domain/05c89103-bbb7-4fd8-948e-f7fc29e07feb 2025-06-30 11:42:20,340 - DEBUG - Requesting: http://10.0.0.22:8082/project/2cf44861-972c-4ca0-bbd3-f2eeb1987d10 2025-06-30 11:42:20,431 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fbc8f998-deab-43e8-8ef1-c6cf23cf3639 2025-06-30 11:42:20,443 - DEBUG - ==>Verifying data for policy with id: ec8529e5-ceda-47fb-9b4d-28dbde24baa1, fqn: ['default-domain', 'ctest-TestBasicPolicy-27989657', 'ctest-policy-allow-all-95306716'] 2025-06-30 11:42:20,443 - INFO - VN ctest-vn-71679825 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 11:42:20,443 - DEBUG - Verifying the vn in opserver 2025-06-30 11:42:20,444 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-71679825 virtual network link through opserver 10.0.0.22 2025-06-30 11:42:20,444 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-06-30 11:42:20,457 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-71679825', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-71679825?flat'} 2025-06-30 11:42:20,457 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-71679825 is found in opserver 2025-06-30 11:42:20,470 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 11:42:20,476 - DEBUG - VRF ids for VN ctest-vn-71679825: {} 2025-06-30 11:42:20,545 - DEBUG - Services list from nova: [, , ] 2025-06-30 11:42:21,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3572-1) 2025-06-30 11:42:22,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3572-1) 2025-06-30 11:42:22,941 - INFO - Waiting for VM ctest-TestBasicPolicy-27989657-40980587 to be up.. 2025-06-30 11:42:23,031 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 11:42:28,117 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:42:28,117 - INFO - VM name : ctest-TestBasicPolicy-27989657-40980587 2025-06-30 11:42:28,202 - DEBUG - VM ctest-TestBasicPolicy-27989657-40980587 ID is 3d2fa879-6ea4-4635-83a4-e194b631c464 2025-06-30 11:42:28,225 - DEBUG - VM ctest-TestBasicPolicy-27989657-40980587 launched on Node cn-jenkins-deploy-platform-ansible-os-3572-1 2025-06-30 11:42:28,310 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3d2fa879-6ea4-4635-83a4-e194b631c464 2025-06-30 11:42:28,321 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ef767de0-c47d-4432-bcd2-20d05c24dd85 2025-06-30 11:42:31,580 - 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-06-30 11:42:31,580 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27989657-40980587 failed! 2025-06-30 11:42:31,644 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27989657:ctest-vn-22242162 is 129.170.7.193 and allocation pool is NOT set 2025-06-30 11:42:33,704 - 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=11.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.942 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.942/6.025/11.109/5.083 ms') 2025-06-30 11:42:33,704 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27989657-40980587 passed 2025-06-30 11:42:33,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:42:33,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27989657-40980587, IP 129.170.7.195, Port 22 2025-06-30 11:42:34,024 - DEBUG - VM ctest-TestBasicPolicy-27989657-40980587 is ready for SSH connections 2025-06-30 11:42:34,024 - INFO - Waiting for VM ctest-TestBasicPolicy-27989657-89753463 to be up.. 2025-06-30 11:42:34,155 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:42:34,155 - INFO - VM name : ctest-TestBasicPolicy-27989657-89753463 2025-06-30 11:42:34,253 - DEBUG - VM ctest-TestBasicPolicy-27989657-89753463 ID is df6e2eeb-37af-4193-a7ab-270e7d32f726 2025-06-30 11:42:34,253 - DEBUG - VM ctest-TestBasicPolicy-27989657-89753463 launched on Node cn-jenkins-deploy-platform-ansible-os-3572-1 2025-06-30 11:42:34,342 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/df6e2eeb-37af-4193-a7ab-270e7d32f726 2025-06-30 11:42:34,353 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ab710a3b-05d3-4054-9dfc-db422380cac0 2025-06-30 11:42:35,600 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.604 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.604/1.849/3.094/1.245 ms') 2025-06-30 11:42:35,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27989657-89753463 passed 2025-06-30 11:42:35,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:42:35,756 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27989657-89753463, IP 174.39.80.131, Port 22 2025-06-30 11:42:35,923 - DEBUG - VM ctest-TestBasicPolicy-27989657-89753463 is ready for SSH connections 2025-06-30 11:42:35,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:42:35,923 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.39.80.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-06-30 11:42:35,924 - DEBUG - ping -s 56 -c 3 -W 1 174.39.80.131 2025-06-30 11:42:39,635 - DEBUG - PING 174.39.80.131 (174.39.80.131): 56 data bytes 64 bytes from 174.39.80.131: seq=0 ttl=63 time=4.602 ms 64 bytes from 174.39.80.131: seq=1 ttl=63 time=0.842 ms 64 bytes from 174.39.80.131: seq=2 ttl=63 time=0.955 ms --- 174.39.80.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/2.133/4.602 ms 2025-06-30 11:42:39,635 - INFO - Ping to IP 174.39.80.131 from VM ctest-TestBasicPolicy-27989657-40980587 passed 2025-06-30 11:42:39,828 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ec8529e5-ceda-47fb-9b4d-28dbde24baa1", "href": "http://10.0.0.22:8082/network-policy/ec8529e5-ceda-47fb-9b4d-28dbde24baa1"}} 2025-06-30 11:42:39,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:42:39,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.39.80.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-06-30 11:42:39,829 - DEBUG - ping -s 56 -c 3 -W 1 174.39.80.131 2025-06-30 11:42:43,053 - DEBUG - PING 174.39.80.131 (174.39.80.131): 56 data bytes 64 bytes from 174.39.80.131: seq=0 ttl=63 time=2.194 ms --- 174.39.80.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.194/2.194/2.194 ms 2025-06-30 11:42:43,053 - WARNING - Ping to IP 174.39.80.131 from VM ctest-TestBasicPolicy-27989657-40980587 failed 2025-06-30 11:42:43,054 - INFO - Deleting VM ctest-TestBasicPolicy-27989657-89753463 2025-06-30 11:42:43,127 - INFO - Deleting VM ctest-TestBasicPolicy-27989657-40980587 2025-06-30 11:42:43,570 - INFO - Deleted policy ctest-policy-allow-all-95306716 2025-06-30 11:42:43,570 - INFO - Deleting VN ctest-vn-71679825 2025-06-30 11:42:43,619 - DEBUG - VN fbc8f998-deab-43e8-8ef1-c6cf23cf3639 still in use: Unable to complete operation on network fbc8f998-deab-43e8-8ef1-c6cf23cf3639. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e46d946e-aa01-4a81-9ad6-43dfb83eb5c8'] 2025-06-30 11:42:43,619 - WARNING - Deleting VN ctest-vn-71679825 failed..Will retry 2025-06-30 11:42:45,774 - DEBUG - Response for deleting network () 2025-06-30 11:42:45,774 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/08b09aa1-e285-4231-9ddb-a9f0797864af 2025-06-30 11:42:45,788 - DEBUG - Response Code: 404 2025-06-30 11:42:45,788 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-30 11:42:45,794 - DEBUG - Requesting: http://10.0.0.22:8082/domain/05c89103-bbb7-4fd8-948e-f7fc29e07feb 2025-06-30 11:42:45,852 - DEBUG - Requesting: http://10.0.0.22:8082/project/2cf44861-972c-4ca0-bbd3-f2eeb1987d10 2025-06-30 11:42:45,932 - INFO - Validated that VN ctest-vn-71679825 is not found in API Server 2025-06-30 11:42:45,943 - DEBUG - VN ctest-vn-71679825 is not present in Agent 10.0.0.22 2025-06-30 11:42:45,943 - INFO - Validated that VN ctest-vn-71679825 is not in any agent 2025-06-30 11:42:45,960 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71679825 info 2025-06-30 11:42:45,960 - INFO - Deleting VN ctest-vn-22242162 2025-06-30 11:42:46,074 - DEBUG - Response for deleting network () 2025-06-30 11:42:46,075 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0a5b318-6725-4e5e-aac1-54d734d46311 2025-06-30 11:42:46,083 - DEBUG - Response Code: 404 2025-06-30 11:42:46,083 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-30 11:42:46,091 - DEBUG - Requesting: http://10.0.0.22:8082/domain/05c89103-bbb7-4fd8-948e-f7fc29e07feb 2025-06-30 11:42:46,147 - DEBUG - Requesting: http://10.0.0.22:8082/project/2cf44861-972c-4ca0-bbd3-f2eeb1987d10 2025-06-30 11:42:46,221 - INFO - Validated that VN ctest-vn-22242162 is not found in API Server 2025-06-30 11:42:46,232 - DEBUG - VN ctest-vn-22242162 is not present in Agent 10.0.0.22 2025-06-30 11:42:46,232 - INFO - Validated that VN ctest-vn-22242162 is not in any agent 2025-06-30 11:42:46,250 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22242162 info 2025-06-30 11:42:46,506 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 11:42:46,506 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-30 11:42:46,506 - INFO - -------------------------------------------------------------------------------- 2025-06-30 11:42:47,245 - INFO - Deleted project: ctest-TestBasicPolicy-27989657, ID : 2cf44861-972c-4ca0-bbd3-f2eeb1987d10