2025-01-07 11:35:03,820 - INFO - Domain Default found not creating 2025-01-07 11:35:04,149 - INFO - Project ctest-TestBasicPolicy-67825363 not found, creating it 2025-01-07 11:35:04,684 - INFO - Created Project:ctest-TestBasicPolicy-67825363, ID : ffff28c2-8857-49f5-b51d-2084e3aea087 2025-01-07 11:35:06,186 - INFO - ================================================================================ 2025-01-07 11:35:06,187 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-07 11:35:06,187 - 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-07 11:35:06,445 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.13': '0'}} with 2025-01-07 11:35:06,445 - INFO - Initial checks done. Running the testcase now 2025-01-07 11:35:06,445 - INFO - 2025-01-07 11:35:07,549 - DEBUG - Response for create_network : {'network': {'id': 'f033512b-adf2-4a86-8eb0-233254eaf733', 'name': 'ctest-vn-49628631', 'tenant_id': 'ffff28c2885749f5b51d2084e3aea087', 'project_id': 'ffff28c2885749f5b51d2084e3aea087', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67825363', 'ctest-vn-49628631'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:35:07,714 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbdda4fb-7426-46e2-8843-4782fd650fac', 'name': '', 'tenant_id': 'ffff28c2885749f5b51d2084e3aea087', 'network_id': 'f033512b-adf2-4a86-8eb0-233254eaf733', 'ip_version': 4, 'cidr': '49.142.192.0/26', 'allocation_pools': [{'start': '49.142.192.2', 'end': '49.142.192.62'}], 'gateway_ip': '49.142.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.142.192.2', 'tags': [], 'project_id': 'ffff28c2885749f5b51d2084e3aea087'}} 2025-01-07 11:35:07,734 - INFO - Created VN ctest-vn-49628631 2025-01-07 11:35:07,787 - DEBUG - VN ctest-vn-49628631 UUID is f033512b-adf2-4a86-8eb0-233254eaf733 2025-01-07 11:35:08,097 - DEBUG - Response for create_network : {'network': {'id': '5d330e7a-6f83-4eb4-87d2-12c97cd0fd82', 'name': 'ctest-vn-16525257', 'tenant_id': 'ffff28c2885749f5b51d2084e3aea087', 'project_id': 'ffff28c2885749f5b51d2084e3aea087', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67825363', 'ctest-vn-16525257'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:35:08,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '0239bc29-3bf3-4559-9d29-8354f3045a91', 'name': '', 'tenant_id': 'ffff28c2885749f5b51d2084e3aea087', 'network_id': '5d330e7a-6f83-4eb4-87d2-12c97cd0fd82', 'ip_version': 4, 'cidr': '19.187.136.128/26', 'allocation_pools': [{'start': '19.187.136.130', 'end': '19.187.136.190'}], 'gateway_ip': '19.187.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.187.136.130', 'tags': [], 'project_id': 'ffff28c2885749f5b51d2084e3aea087'}} 2025-01-07 11:35:08,285 - INFO - Created VN ctest-vn-16525257 2025-01-07 11:35:08,339 - DEBUG - VN ctest-vn-16525257 UUID is 5d330e7a-6f83-4eb4-87d2-12c97cd0fd82 2025-01-07 11:35:08,459 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-49628631, 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-67825363:ctest-vn-16525257, 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-07 11:35:08,778 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f033512b-adf2-4a86-8eb0-233254eaf733', 'name': 'ctest-vn-49628631', 'tenant_id': 'ffff28c2885749f5b51d2084e3aea087', 'project_id': 'ffff28c2885749f5b51d2084e3aea087', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fbdda4fb-7426-46e2-8843-4782fd650fac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67825363', 'ctest-vn-49628631'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67825363', 'ctest-policy-allow-all-52210659']], 'subnet_ipam': [{'subnet_cidr': '49.142.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:35:09,034 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d330e7a-6f83-4eb4-87d2-12c97cd0fd82', 'name': 'ctest-vn-16525257', 'tenant_id': 'ffff28c2885749f5b51d2084e3aea087', 'project_id': 'ffff28c2885749f5b51d2084e3aea087', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0239bc29-3bf3-4559-9d29-8354f3045a91'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67825363', 'ctest-vn-16525257'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67825363', 'ctest-policy-allow-all-52210659']], 'subnet_ipam': [{'subnet_cidr': '19.187.136.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:35:09,187 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-07 11:35:09,490 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-07 11:35:09,520 - DEBUG - Requesting: http://10.0.0.30:8082/domain/4671ebec-1d52-4f45-b216-f4d1a080e8b9 2025-01-07 11:35:09,537 - DEBUG - Requesting: http://10.0.0.30:8082/project/ffff28c2-8857-49f5-b51d-2084e3aea087 2025-01-07 11:35:09,615 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/f033512b-adf2-4a86-8eb0-233254eaf733 2025-01-07 11:35:09,627 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/f033512b-adf2-4a86-8eb0-233254eaf733 2025-01-07 11:35:09,638 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/86809d4a-0f92-4441-adb2-14d2a8af7c36 2025-01-07 11:35:09,647 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/86809d4a-0f92-4441-adb2-14d2a8af7c36 2025-01-07 11:35:09,655 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/9a12c237-1f64-4489-9882-994ad59864a7 2025-01-07 11:35:09,664 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 11:35:09,664 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/f033512b-adf2-4a86-8eb0-233254eaf733 2025-01-07 11:35:09,674 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/86809d4a-0f92-4441-adb2-14d2a8af7c36 2025-01-07 11:35:09,693 - INFO - Verified VN network id 8 for VN f033512b-adf2-4a86-8eb0-233254eaf733 2025-01-07 11:35:09,693 - INFO - Verifications in API Server for VN ctest-vn-49628631 passed 2025-01-07 11:35:09,693 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/f033512b-adf2-4a86-8eb0-233254eaf733 2025-01-07 11:35:09,707 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/86809d4a-0f92-4441-adb2-14d2a8af7c36 2025-01-07 11:35:09,724 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/86809d4a-0f92-4441-adb2-14d2a8af7c36 2025-01-07 11:35:09,733 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/9a12c237-1f64-4489-9882-994ad59864a7 2025-01-07 11:35:09,747 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-49628631', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67825363', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17308267040958728838', 'uuid-lslong': '10281756648366864179'}, 'enable': 'true', 'created': '2025-01-07T11:35:07', 'last-modified': '2025-01-07T11:35:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996415'} 2025-01-07 11:35:09,755 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 11:35:09,755 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49628631 passed 2025-01-07 11:35:09,756 - DEBUG - ====Verifying policy data for ctest-vn-49628631 in API_Server ====== 2025-01-07 11:35:09,756 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-07 11:35:09,763 - DEBUG - Requesting: http://10.0.0.30:8082/domain/4671ebec-1d52-4f45-b216-f4d1a080e8b9 2025-01-07 11:35:09,777 - DEBUG - Requesting: http://10.0.0.30:8082/project/ffff28c2-8857-49f5-b51d-2084e3aea087 2025-01-07 11:35:09,852 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/f033512b-adf2-4a86-8eb0-233254eaf733 2025-01-07 11:35:09,864 - DEBUG - ==>Verifying data for policy with id: 7e9da970-2d16-4b33-94c6-3d36c78ec315, fqn: ['default-domain', 'ctest-TestBasicPolicy-67825363', 'ctest-policy-allow-all-52210659'] 2025-01-07 11:35:09,864 - INFO - VN ctest-vn-49628631 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 11:35:09,864 - DEBUG - Verifying the vn in opserver 2025-01-07 11:35:09,864 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-49628631 virtual network link through opserver 10.0.0.30 2025-01-07 11:35:09,865 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-01-07 11:35:10,164 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-01-07 11:35:10,226 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-49628631', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-49628631?flat'} 2025-01-07 11:35:10,226 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-49628631 is found in opserver 2025-01-07 11:35:10,239 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 11:35:10,247 - DEBUG - VRF ids for VN ctest-vn-49628631: {} 2025-01-07 11:35:10,247 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-07 11:35:10,255 - DEBUG - Requesting: http://10.0.0.30:8082/domain/4671ebec-1d52-4f45-b216-f4d1a080e8b9 2025-01-07 11:35:10,269 - DEBUG - Requesting: http://10.0.0.30:8082/project/ffff28c2-8857-49f5-b51d-2084e3aea087 2025-01-07 11:35:10,349 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/5d330e7a-6f83-4eb4-87d2-12c97cd0fd82 2025-01-07 11:35:10,362 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/5d330e7a-6f83-4eb4-87d2-12c97cd0fd82 2025-01-07 11:35:10,374 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a1368a7a-fd5d-48d6-a12e-81a5a0f9b43e 2025-01-07 11:35:10,382 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a1368a7a-fd5d-48d6-a12e-81a5a0f9b43e 2025-01-07 11:35:10,391 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/4f143303-909f-4f1c-87d0-253d07733635 2025-01-07 11:35:10,399 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 11:35:10,399 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/5d330e7a-6f83-4eb4-87d2-12c97cd0fd82 2025-01-07 11:35:10,415 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a1368a7a-fd5d-48d6-a12e-81a5a0f9b43e 2025-01-07 11:35:10,434 - INFO - Verified VN network id 9 for VN 5d330e7a-6f83-4eb4-87d2-12c97cd0fd82 2025-01-07 11:35:10,434 - INFO - Verifications in API Server for VN ctest-vn-16525257 passed 2025-01-07 11:35:10,435 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/5d330e7a-6f83-4eb4-87d2-12c97cd0fd82 2025-01-07 11:35:10,446 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a1368a7a-fd5d-48d6-a12e-81a5a0f9b43e 2025-01-07 11:35:10,456 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a1368a7a-fd5d-48d6-a12e-81a5a0f9b43e 2025-01-07 11:35:10,465 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/4f143303-909f-4f1c-87d0-253d07733635 2025-01-07 11:35:10,479 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-16525257', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67825363', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6715727388359216820', 'uuid-lslong': '9786905596821306754'}, 'enable': 'true', 'created': '2025-01-07T11:35:08', 'last-modified': '2025-01-07T11:35:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.470569'} 2025-01-07 11:35:10,486 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 11:35:10,486 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16525257 passed 2025-01-07 11:35:10,487 - DEBUG - ====Verifying policy data for ctest-vn-16525257 in API_Server ====== 2025-01-07 11:35:10,487 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-07 11:35:10,493 - DEBUG - Requesting: http://10.0.0.30:8082/domain/4671ebec-1d52-4f45-b216-f4d1a080e8b9 2025-01-07 11:35:10,506 - DEBUG - Requesting: http://10.0.0.30:8082/project/ffff28c2-8857-49f5-b51d-2084e3aea087 2025-01-07 11:35:10,587 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/5d330e7a-6f83-4eb4-87d2-12c97cd0fd82 2025-01-07 11:35:10,598 - DEBUG - ==>Verifying data for policy with id: 7e9da970-2d16-4b33-94c6-3d36c78ec315, fqn: ['default-domain', 'ctest-TestBasicPolicy-67825363', 'ctest-policy-allow-all-52210659'] 2025-01-07 11:35:10,598 - INFO - VN ctest-vn-16525257 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 11:35:10,598 - DEBUG - Verifying the vn in opserver 2025-01-07 11:35:10,598 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-16525257 virtual network link through opserver 10.0.0.30 2025-01-07 11:35:10,598 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-01-07 11:35:10,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-16525257', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-16525257?flat'} 2025-01-07 11:35:10,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-16525257 is found in opserver 2025-01-07 11:35:10,622 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 11:35:10,629 - DEBUG - VRF ids for VN ctest-vn-16525257: {} 2025-01-07 11:35:10,691 - DEBUG - Services list from nova: [, , ] 2025-01-07 11:35:11,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2547-1) 2025-01-07 11:35:13,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2547-1) 2025-01-07 11:35:13,119 - INFO - Waiting for VM ctest-TestBasicPolicy-67825363-13458157 to be up.. 2025-01-07 11:35:13,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 11:35:18,323 - DEBUG - VM is in ACTIVE state now 2025-01-07 11:35:18,323 - INFO - VM name : ctest-TestBasicPolicy-67825363-13458157 2025-01-07 11:35:18,430 - DEBUG - VM ctest-TestBasicPolicy-67825363-13458157 ID is fa495e0c-d427-4968-9a91-5bac2d3037db 2025-01-07 11:35:18,459 - DEBUG - VM ctest-TestBasicPolicy-67825363-13458157 launched on Node cn-jenkins-deploy-platform-ansible-os-2547-1 2025-01-07 11:35:18,564 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/fa495e0c-d427-4968-9a91-5bac2d3037db 2025-01-07 11:35:18,580 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/522232b9-6bd4-4630-bc5c-6759e6c81038 2025-01-07 11:35:21,849 - 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 1007ms') 2025-01-07 11:35:21,849 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67825363-13458157 failed! 2025-01-07 11:35:21,911 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67825363:ctest-vn-49628631 is 49.142.192.1 and allocation pool is NOT set 2025-01-07 11:35:23,971 - 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=12.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/6.492/12.522/6.030 ms') 2025-01-07 11:35:23,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67825363-13458157 passed 2025-01-07 11:35:24,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:35:24,127 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67825363-13458157, IP 49.142.192.3, Port 22 2025-01-07 11:35:24,292 - DEBUG - VM ctest-TestBasicPolicy-67825363-13458157 is ready for SSH connections 2025-01-07 11:35:24,292 - INFO - Waiting for VM ctest-TestBasicPolicy-67825363-50412174 to be up.. 2025-01-07 11:35:24,377 - DEBUG - VM is in ACTIVE state now 2025-01-07 11:35:24,377 - INFO - VM name : ctest-TestBasicPolicy-67825363-50412174 2025-01-07 11:35:24,461 - DEBUG - VM ctest-TestBasicPolicy-67825363-50412174 ID is 0398b0fb-ce59-4aed-9ad0-89f3ee1bcc84 2025-01-07 11:35:24,461 - DEBUG - VM ctest-TestBasicPolicy-67825363-50412174 launched on Node cn-jenkins-deploy-platform-ansible-os-2547-1 2025-01-07 11:35:24,547 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/0398b0fb-ce59-4aed-9ad0-89f3ee1bcc84 2025-01-07 11:35:24,559 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/9b5f615f-c4d9-4f7d-be43-a6be359b68f6 2025-01-07 11:35:25,807 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.558 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.558/1.950/3.343/1.392 ms') 2025-01-07 11:35:25,807 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67825363-50412174 passed 2025-01-07 11:35:25,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:35:25,967 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67825363-50412174, IP 19.187.136.131, Port 22 2025-01-07 11:35:26,132 - DEBUG - VM ctest-TestBasicPolicy-67825363-50412174 is ready for SSH connections 2025-01-07 11:35:26,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:35:26,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.187.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-01-07 11:35:26,133 - DEBUG - ping -s 56 -c 3 -W 1 19.187.136.131 2025-01-07 11:35:30,210 - DEBUG - PING 19.187.136.131 (19.187.136.131): 56 data bytes 64 bytes from 19.187.136.131: seq=0 ttl=63 time=3.278 ms 64 bytes from 19.187.136.131: seq=1 ttl=63 time=0.877 ms 64 bytes from 19.187.136.131: seq=2 ttl=63 time=0.926 ms --- 19.187.136.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.693/3.278 ms 2025-01-07 11:35:30,210 - INFO - Ping to IP 19.187.136.131 from VM ctest-TestBasicPolicy-67825363-13458157 passed 2025-01-07 11:35:30,406 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7e9da970-2d16-4b33-94c6-3d36c78ec315", "href": "http://10.0.0.30:8082/network-policy/7e9da970-2d16-4b33-94c6-3d36c78ec315"}} 2025-01-07 11:35:30,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:35:30,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.187.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-01-07 11:35:30,407 - DEBUG - ping -s 56 -c 3 -W 1 19.187.136.131 2025-01-07 11:35:33,620 - DEBUG - PING 19.187.136.131 (19.187.136.131): 56 data bytes 64 bytes from 19.187.136.131: seq=0 ttl=63 time=1.724 ms --- 19.187.136.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.724/1.724/1.724 ms 2025-01-07 11:35:33,620 - WARNING - Ping to IP 19.187.136.131 from VM ctest-TestBasicPolicy-67825363-13458157 failed 2025-01-07 11:35:33,620 - INFO - Deleting VM ctest-TestBasicPolicy-67825363-50412174 2025-01-07 11:35:33,703 - INFO - Deleting VM ctest-TestBasicPolicy-67825363-13458157 2025-01-07 11:35:34,133 - INFO - Deleted policy ctest-policy-allow-all-52210659 2025-01-07 11:35:34,133 - INFO - Deleting VN ctest-vn-16525257 2025-01-07 11:35:34,179 - DEBUG - VN 5d330e7a-6f83-4eb4-87d2-12c97cd0fd82 still in use: Unable to complete operation on network 5d330e7a-6f83-4eb4-87d2-12c97cd0fd82. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7d68df05-9ec7-4d5c-a908-d434987b40b5'] 2025-01-07 11:35:34,179 - WARNING - Deleting VN ctest-vn-16525257 failed..Will retry 2025-01-07 11:35:36,285 - DEBUG - Response for deleting network () 2025-01-07 11:35:36,285 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a1368a7a-fd5d-48d6-a12e-81a5a0f9b43e 2025-01-07 11:35:36,295 - DEBUG - Response Code: 404 2025-01-07 11:35:36,295 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-07 11:35:36,302 - DEBUG - Requesting: http://10.0.0.30:8082/domain/4671ebec-1d52-4f45-b216-f4d1a080e8b9 2025-01-07 11:35:36,357 - DEBUG - Requesting: http://10.0.0.30:8082/project/ffff28c2-8857-49f5-b51d-2084e3aea087 2025-01-07 11:35:36,438 - INFO - Validated that VN ctest-vn-16525257 is not found in API Server 2025-01-07 11:35:36,453 - DEBUG - VN ctest-vn-16525257 is not present in Agent 10.0.0.30 2025-01-07 11:35:36,453 - INFO - Validated that VN ctest-vn-16525257 is not in any agent 2025-01-07 11:35:36,474 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16525257 info 2025-01-07 11:35:36,475 - INFO - Deleting VN ctest-vn-49628631 2025-01-07 11:35:36,589 - DEBUG - Response for deleting network () 2025-01-07 11:35:36,589 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/86809d4a-0f92-4441-adb2-14d2a8af7c36 2025-01-07 11:35:36,596 - DEBUG - Response Code: 404 2025-01-07 11:35:36,596 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-01-07 11:35:36,605 - DEBUG - Requesting: http://10.0.0.30:8082/domain/4671ebec-1d52-4f45-b216-f4d1a080e8b9 2025-01-07 11:35:36,660 - DEBUG - Requesting: http://10.0.0.30:8082/project/ffff28c2-8857-49f5-b51d-2084e3aea087 2025-01-07 11:35:36,733 - INFO - Validated that VN ctest-vn-49628631 is not found in API Server 2025-01-07 11:35:36,744 - DEBUG - VN ctest-vn-49628631 is not present in Agent 10.0.0.30 2025-01-07 11:35:36,744 - INFO - Validated that VN ctest-vn-49628631 is not in any agent 2025-01-07 11:35:36,759 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49628631 info 2025-01-07 11:35:37,012 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 11:35:37,012 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-01-07 11:35:37,012 - INFO - -------------------------------------------------------------------------------- 2025-01-07 11:35:37,773 - INFO - Deleted project: ctest-TestBasicPolicy-67825363, ID : ffff28c2-8857-49f5-b51d-2084e3aea087