2025-03-27 19:26:18,624 - INFO - Domain Default found not creating 2025-03-27 19:26:18,865 - INFO - Project ctest-TestBasicPolicy-54340561 not found, creating it 2025-03-27 19:26:19,336 - INFO - Created Project:ctest-TestBasicPolicy-54340561, ID : 33b7b0f3-594a-4a01-8b0a-51a785502981 2025-03-27 19:26:20,773 - INFO - ================================================================================ 2025-03-27 19:26:20,774 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-27 19:26:20,774 - 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-03-27 19:26:21,036 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.7': '0'}} with 2025-03-27 19:26:21,036 - INFO - Initial checks done. Running the testcase now 2025-03-27 19:26:21,036 - INFO - 2025-03-27 19:26:21,635 - DEBUG - Response for create_network : {'network': {'id': 'f8718c3d-ca4d-49d7-b50e-4407cd26490a', 'name': 'ctest-vn-37558748', 'tenant_id': '33b7b0f3594a4a018b0a51a785502981', 'project_id': '33b7b0f3594a4a018b0a51a785502981', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54340561', 'ctest-vn-37558748'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 19:26:21,860 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a42bf984-a657-4989-a2b4-75a3362b84d1', 'name': '', 'tenant_id': '33b7b0f3594a4a018b0a51a785502981', 'network_id': 'f8718c3d-ca4d-49d7-b50e-4407cd26490a', 'ip_version': 4, 'cidr': '136.205.3.64/26', 'allocation_pools': [{'start': '136.205.3.66', 'end': '136.205.3.126'}], 'gateway_ip': '136.205.3.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.205.3.66', 'tags': [], 'project_id': '33b7b0f3594a4a018b0a51a785502981'}} 2025-03-27 19:26:21,878 - INFO - Created VN ctest-vn-37558748 2025-03-27 19:26:21,933 - DEBUG - VN ctest-vn-37558748 UUID is f8718c3d-ca4d-49d7-b50e-4407cd26490a 2025-03-27 19:26:22,272 - DEBUG - Response for create_network : {'network': {'id': '35ad5959-6363-4530-85d7-ad9f42beb5af', 'name': 'ctest-vn-79409058', 'tenant_id': '33b7b0f3594a4a018b0a51a785502981', 'project_id': '33b7b0f3594a4a018b0a51a785502981', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54340561', 'ctest-vn-79409058'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 19:26:22,493 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d68f51d-c0d7-4758-a110-bcf026729f5d', 'name': '', 'tenant_id': '33b7b0f3594a4a018b0a51a785502981', 'network_id': '35ad5959-6363-4530-85d7-ad9f42beb5af', 'ip_version': 4, 'cidr': '30.153.49.64/26', 'allocation_pools': [{'start': '30.153.49.66', 'end': '30.153.49.126'}], 'gateway_ip': '30.153.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.153.49.66', 'tags': [], 'project_id': '33b7b0f3594a4a018b0a51a785502981'}} 2025-03-27 19:26:22,512 - INFO - Created VN ctest-vn-79409058 2025-03-27 19:26:22,565 - DEBUG - VN ctest-vn-79409058 UUID is 35ad5959-6363-4530-85d7-ad9f42beb5af 2025-03-27 19:26:22,688 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-37558748, 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-54340561:ctest-vn-79409058, 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-03-27 19:26:22,999 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8718c3d-ca4d-49d7-b50e-4407cd26490a', 'name': 'ctest-vn-37558748', 'tenant_id': '33b7b0f3594a4a018b0a51a785502981', 'project_id': '33b7b0f3594a4a018b0a51a785502981', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a42bf984-a657-4989-a2b4-75a3362b84d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54340561', 'ctest-vn-37558748'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54340561', 'ctest-policy-allow-all-01955530']], 'subnet_ipam': [{'subnet_cidr': '136.205.3.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 19:26:23,239 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35ad5959-6363-4530-85d7-ad9f42beb5af', 'name': 'ctest-vn-79409058', 'tenant_id': '33b7b0f3594a4a018b0a51a785502981', 'project_id': '33b7b0f3594a4a018b0a51a785502981', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d68f51d-c0d7-4758-a110-bcf026729f5d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54340561', 'ctest-vn-79409058'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54340561', 'ctest-policy-allow-all-01955530']], 'subnet_ipam': [{'subnet_cidr': '30.153.49.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 19:26:23,401 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2025-03-27 19:26:23,700 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2025-03-27 19:26:23,728 - DEBUG - Requesting: http://10.0.0.52:8082/domain/5109df83-b8ce-463f-8e76-95bf2fe13b1f 2025-03-27 19:26:23,742 - DEBUG - Requesting: http://10.0.0.52:8082/project/33b7b0f3-594a-4a01-8b0a-51a785502981 2025-03-27 19:26:23,824 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/f8718c3d-ca4d-49d7-b50e-4407cd26490a 2025-03-27 19:26:23,835 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/f8718c3d-ca4d-49d7-b50e-4407cd26490a 2025-03-27 19:26:23,844 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/67eb90bd-b301-490b-a517-8461eb4ec72f 2025-03-27 19:26:23,852 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/67eb90bd-b301-490b-a517-8461eb4ec72f 2025-03-27 19:26:23,860 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/d992b9bc-cc42-440f-9067-b1539c89afe8 2025-03-27 19:26:23,868 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 19:26:23,868 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/f8718c3d-ca4d-49d7-b50e-4407cd26490a 2025-03-27 19:26:23,878 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/67eb90bd-b301-490b-a517-8461eb4ec72f 2025-03-27 19:26:23,894 - INFO - Verified VN network id 9 for VN f8718c3d-ca4d-49d7-b50e-4407cd26490a 2025-03-27 19:26:23,894 - INFO - Verifications in API Server for VN ctest-vn-37558748 passed 2025-03-27 19:26:23,894 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/f8718c3d-ca4d-49d7-b50e-4407cd26490a 2025-03-27 19:26:23,904 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/67eb90bd-b301-490b-a517-8461eb4ec72f 2025-03-27 19:26:23,916 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/67eb90bd-b301-490b-a517-8461eb4ec72f 2025-03-27 19:26:23,924 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/d992b9bc-cc42-440f-9067-b1539c89afe8 2025-03-27 19:26:23,937 - DEBUG - Control-node 10.0.0.52 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-37558748', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54340561', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17902244190789388759', 'uuid-lslong': '13046439970836203786'}, 'enable': 'true', 'created': '2025-03-27T19:26:21', 'last-modified': '2025-03-27T19:26:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968881'} 2025-03-27 19:26:23,944 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 19:26:23,944 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37558748 passed 2025-03-27 19:26:23,944 - DEBUG - ====Verifying policy data for ctest-vn-37558748 in API_Server ====== 2025-03-27 19:26:23,944 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2025-03-27 19:26:23,950 - DEBUG - Requesting: http://10.0.0.52:8082/domain/5109df83-b8ce-463f-8e76-95bf2fe13b1f 2025-03-27 19:26:23,965 - DEBUG - Requesting: http://10.0.0.52:8082/project/33b7b0f3-594a-4a01-8b0a-51a785502981 2025-03-27 19:26:24,041 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/f8718c3d-ca4d-49d7-b50e-4407cd26490a 2025-03-27 19:26:24,051 - DEBUG - ==>Verifying data for policy with id: 7ebbcb9d-71c9-4c1f-8e60-be3ea3aae4e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-54340561', 'ctest-policy-allow-all-01955530'] 2025-03-27 19:26:24,051 - INFO - VN ctest-vn-37558748 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 19:26:24,051 - DEBUG - Verifying the vn in opserver 2025-03-27 19:26:24,051 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-37558748 virtual network link through opserver 10.0.0.52 2025-03-27 19:26:24,051 - DEBUG - Requesting: http://10.0.0.52:8081/analytics/uves/virtual-networks 2025-03-27 19:26:24,344 - DEBUG - Requesting: http://10.0.0.52:8081/analytics/uves/virtual-networks 2025-03-27 19:26:24,401 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-37558748', 'href': 'http://10.0.0.52:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-37558748?flat'} 2025-03-27 19:26:24,401 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-37558748 is found in opserver 2025-03-27 19:26:24,415 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 19:26:24,421 - DEBUG - VRF ids for VN ctest-vn-37558748: {} 2025-03-27 19:26:24,421 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2025-03-27 19:26:24,427 - DEBUG - Requesting: http://10.0.0.52:8082/domain/5109df83-b8ce-463f-8e76-95bf2fe13b1f 2025-03-27 19:26:24,438 - DEBUG - Requesting: http://10.0.0.52:8082/project/33b7b0f3-594a-4a01-8b0a-51a785502981 2025-03-27 19:26:24,517 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/35ad5959-6363-4530-85d7-ad9f42beb5af 2025-03-27 19:26:24,532 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/35ad5959-6363-4530-85d7-ad9f42beb5af 2025-03-27 19:26:24,542 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/8e0d83e0-521d-4d06-b4dd-7153f844b8fb 2025-03-27 19:26:24,549 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/8e0d83e0-521d-4d06-b4dd-7153f844b8fb 2025-03-27 19:26:24,557 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/7a3d11cf-b6c2-4181-b364-d7fc1e148919 2025-03-27 19:26:24,564 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 19:26:24,564 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/35ad5959-6363-4530-85d7-ad9f42beb5af 2025-03-27 19:26:24,576 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/8e0d83e0-521d-4d06-b4dd-7153f844b8fb 2025-03-27 19:26:24,590 - INFO - Verified VN network id 10 for VN 35ad5959-6363-4530-85d7-ad9f42beb5af 2025-03-27 19:26:24,591 - INFO - Verifications in API Server for VN ctest-vn-79409058 passed 2025-03-27 19:26:24,591 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/35ad5959-6363-4530-85d7-ad9f42beb5af 2025-03-27 19:26:24,601 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/8e0d83e0-521d-4d06-b4dd-7153f844b8fb 2025-03-27 19:26:24,608 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/8e0d83e0-521d-4d06-b4dd-7153f844b8fb 2025-03-27 19:26:24,616 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/7a3d11cf-b6c2-4181-b364-d7fc1e148919 2025-03-27 19:26:24,629 - DEBUG - Control-node 10.0.0.52 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-79409058', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54340561', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3867845895435535664', 'uuid-lslong': '9644368026568406447'}, 'enable': 'true', 'created': '2025-03-27T19:26:22', 'last-modified': '2025-03-27T19:26:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.423034'} 2025-03-27 19:26:24,636 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 19:26:24,636 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79409058 passed 2025-03-27 19:26:24,636 - DEBUG - ====Verifying policy data for ctest-vn-79409058 in API_Server ====== 2025-03-27 19:26:24,636 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2025-03-27 19:26:24,642 - DEBUG - Requesting: http://10.0.0.52:8082/domain/5109df83-b8ce-463f-8e76-95bf2fe13b1f 2025-03-27 19:26:24,654 - DEBUG - Requesting: http://10.0.0.52:8082/project/33b7b0f3-594a-4a01-8b0a-51a785502981 2025-03-27 19:26:24,733 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/35ad5959-6363-4530-85d7-ad9f42beb5af 2025-03-27 19:26:24,743 - DEBUG - ==>Verifying data for policy with id: 7ebbcb9d-71c9-4c1f-8e60-be3ea3aae4e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-54340561', 'ctest-policy-allow-all-01955530'] 2025-03-27 19:26:24,743 - INFO - VN ctest-vn-79409058 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 19:26:24,743 - DEBUG - Verifying the vn in opserver 2025-03-27 19:26:24,743 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-79409058 virtual network link through opserver 10.0.0.52 2025-03-27 19:26:24,743 - DEBUG - Requesting: http://10.0.0.52:8081/analytics/uves/virtual-networks 2025-03-27 19:26:24,754 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-79409058', 'href': 'http://10.0.0.52:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-79409058?flat'} 2025-03-27 19:26:24,754 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-79409058 is found in opserver 2025-03-27 19:26:24,764 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 19:26:24,770 - DEBUG - VRF ids for VN ctest-vn-79409058: {} 2025-03-27 19:26:24,827 - DEBUG - Services list from nova: [, , ] 2025-03-27 19:26:25,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2983-1) 2025-03-27 19:26:27,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2983-1) 2025-03-27 19:26:27,001 - INFO - Waiting for VM ctest-TestBasicPolicy-54340561-07061017 to be up.. 2025-03-27 19:26:27,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 19:26:32,162 - DEBUG - VM is in ACTIVE state now 2025-03-27 19:26:32,162 - INFO - VM name : ctest-TestBasicPolicy-54340561-07061017 2025-03-27 19:26:32,239 - DEBUG - VM ctest-TestBasicPolicy-54340561-07061017 ID is 29b22ea8-7e4c-4aef-81cc-cb9d1810c05a 2025-03-27 19:26:32,258 - DEBUG - VM ctest-TestBasicPolicy-54340561-07061017 launched on Node cn-jenkins-deploy-platform-ansible-os-2983-1 2025-03-27 19:26:32,336 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/29b22ea8-7e4c-4aef-81cc-cb9d1810c05a 2025-03-27 19:26:32,346 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/cd649737-862d-4efb-b16d-c9056576a8ca 2025-03-27 19:26:35,582 - 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 1003ms') 2025-03-27 19:26:35,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54340561-07061017 failed! 2025-03-27 19:26:35,638 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54340561:ctest-vn-37558748 is 136.205.3.65 and allocation pool is NOT set 2025-03-27 19:26:37,703 - 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=5.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.822 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.822/2.927/5.032/2.105 ms') 2025-03-27 19:26:37,703 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54340561-07061017 passed 2025-03-27 19:26:37,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 19:26:37,862 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54340561-07061017, IP 136.205.3.67, Port 22 2025-03-27 19:26:38,021 - DEBUG - VM ctest-TestBasicPolicy-54340561-07061017 is ready for SSH connections 2025-03-27 19:26:38,021 - INFO - Waiting for VM ctest-TestBasicPolicy-54340561-98292513 to be up.. 2025-03-27 19:26:38,112 - DEBUG - VM is in ACTIVE state now 2025-03-27 19:26:38,112 - INFO - VM name : ctest-TestBasicPolicy-54340561-98292513 2025-03-27 19:26:38,187 - DEBUG - VM ctest-TestBasicPolicy-54340561-98292513 ID is 51ac6328-a4c9-400e-ba86-5198d63de105 2025-03-27 19:26:38,187 - DEBUG - VM ctest-TestBasicPolicy-54340561-98292513 launched on Node cn-jenkins-deploy-platform-ansible-os-2983-1 2025-03-27 19:26:38,261 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/51ac6328-a4c9-400e-ba86-5198d63de105 2025-03-27 19:26:38,269 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/c432c96b-2ad5-4b35-aa51-a80ddd6967be 2025-03-27 19:26:39,510 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.612/2.785/1.173 ms') 2025-03-27 19:26:39,510 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54340561-98292513 passed 2025-03-27 19:26:39,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 19:26:39,666 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54340561-98292513, IP 30.153.49.67, Port 22 2025-03-27 19:26:39,824 - DEBUG - VM ctest-TestBasicPolicy-54340561-98292513 is ready for SSH connections 2025-03-27 19:26:39,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 19:26:39,825 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.153.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2025-03-27 19:26:39,825 - DEBUG - ping -s 56 -c 3 -W 1 30.153.49.67 2025-03-27 19:26:43,808 - DEBUG - PING 30.153.49.67 (30.153.49.67): 56 data bytes 64 bytes from 30.153.49.67: seq=0 ttl=63 time=4.309 ms 64 bytes from 30.153.49.67: seq=1 ttl=63 time=0.878 ms 64 bytes from 30.153.49.67: seq=2 ttl=63 time=0.872 ms --- 30.153.49.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/2.019/4.309 ms 2025-03-27 19:26:43,808 - INFO - Ping to IP 30.153.49.67 from VM ctest-TestBasicPolicy-54340561-07061017 passed 2025-03-27 19:26:43,989 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7ebbcb9d-71c9-4c1f-8e60-be3ea3aae4e7", "href": "http://10.0.0.52:8082/network-policy/7ebbcb9d-71c9-4c1f-8e60-be3ea3aae4e7"}} 2025-03-27 19:26:43,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 19:26:43,990 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.153.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2025-03-27 19:26:43,990 - DEBUG - ping -s 56 -c 3 -W 1 30.153.49.67 2025-03-27 19:26:47,192 - DEBUG - PING 30.153.49.67 (30.153.49.67): 56 data bytes --- 30.153.49.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-27 19:26:47,193 - WARNING - Ping to IP 30.153.49.67 from VM ctest-TestBasicPolicy-54340561-07061017 failed 2025-03-27 19:26:47,193 - INFO - Deleting VM ctest-TestBasicPolicy-54340561-98292513 2025-03-27 19:26:47,262 - INFO - Deleting VM ctest-TestBasicPolicy-54340561-07061017 2025-03-27 19:26:47,637 - INFO - Deleted policy ctest-policy-allow-all-01955530 2025-03-27 19:26:47,637 - INFO - Deleting VN ctest-vn-79409058 2025-03-27 19:26:47,671 - DEBUG - VN 35ad5959-6363-4530-85d7-ad9f42beb5af still in use: Unable to complete operation on network 35ad5959-6363-4530-85d7-ad9f42beb5af. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83ab893c-c3f5-4cdc-9da4-62d11be18a7d'] 2025-03-27 19:26:47,671 - WARNING - Deleting VN ctest-vn-79409058 failed..Will retry 2025-03-27 19:26:49,805 - DEBUG - Response for deleting network () 2025-03-27 19:26:49,805 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/8e0d83e0-521d-4d06-b4dd-7153f844b8fb 2025-03-27 19:26:49,815 - DEBUG - Response Code: 404 2025-03-27 19:26:49,815 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2025-03-27 19:26:49,821 - DEBUG - Requesting: http://10.0.0.52:8082/domain/5109df83-b8ce-463f-8e76-95bf2fe13b1f 2025-03-27 19:26:49,876 - DEBUG - Requesting: http://10.0.0.52:8082/project/33b7b0f3-594a-4a01-8b0a-51a785502981 2025-03-27 19:26:49,951 - INFO - Validated that VN ctest-vn-79409058 is not found in API Server 2025-03-27 19:26:49,964 - DEBUG - VN ctest-vn-79409058 is not present in Agent 10.0.0.52 2025-03-27 19:26:49,964 - INFO - Validated that VN ctest-vn-79409058 is not in any agent 2025-03-27 19:26:49,982 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79409058 info 2025-03-27 19:26:49,982 - INFO - Deleting VN ctest-vn-37558748 2025-03-27 19:26:50,096 - DEBUG - Response for deleting network () 2025-03-27 19:26:50,096 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/67eb90bd-b301-490b-a517-8461eb4ec72f 2025-03-27 19:26:50,102 - DEBUG - Response Code: 404 2025-03-27 19:26:50,102 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2025-03-27 19:26:50,113 - DEBUG - Requesting: http://10.0.0.52:8082/domain/5109df83-b8ce-463f-8e76-95bf2fe13b1f 2025-03-27 19:26:50,167 - DEBUG - Requesting: http://10.0.0.52:8082/project/33b7b0f3-594a-4a01-8b0a-51a785502981 2025-03-27 19:26:50,245 - INFO - Validated that VN ctest-vn-37558748 is not found in API Server 2025-03-27 19:26:50,258 - DEBUG - VN ctest-vn-37558748 is not present in Agent 10.0.0.52 2025-03-27 19:26:50,259 - INFO - Validated that VN ctest-vn-37558748 is not in any agent 2025-03-27 19:26:50,274 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37558748 info 2025-03-27 19:26:50,531 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 19:26:50,531 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-03-27 19:26:50,531 - INFO - -------------------------------------------------------------------------------- 2025-03-27 19:26:51,220 - INFO - Deleted project: ctest-TestBasicPolicy-54340561, ID : 33b7b0f3-594a-4a01-8b0a-51a785502981