2025-01-02 02:16:27,230 - INFO - Domain Default found not creating 2025-01-02 02:16:27,377 - INFO - Project ctest-TestBasicPolicy-02975804 not found, creating it 2025-01-02 02:16:27,836 - INFO - Created Project:ctest-TestBasicPolicy-02975804, ID : cb40639d-7d1d-41bc-9d45-e72c0a24c3d8 2025-01-02 02:16:29,868 - INFO - ================================================================================ 2025-01-02 02:16:29,868 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-02 02:16:29,868 - 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-02 02:16:30,123 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.5': '0'}} with 2025-01-02 02:16:30,123 - INFO - Initial checks done. Running the testcase now 2025-01-02 02:16:30,124 - INFO - 2025-01-02 02:16:30,638 - DEBUG - Response for create_network : {'network': {'id': '14ff1888-9abd-4b28-9960-b23b70474b39', 'name': 'ctest-vn-92535964', 'tenant_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8', 'project_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02975804', 'ctest-vn-92535964'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 02:16:30,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5631c01-7f53-40eb-9467-90876de6733e', 'name': '', 'tenant_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8', 'network_id': '14ff1888-9abd-4b28-9960-b23b70474b39', 'ip_version': 4, 'cidr': '115.181.255.128/26', 'allocation_pools': [{'start': '115.181.255.130', 'end': '115.181.255.190'}], 'gateway_ip': '115.181.255.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.181.255.130', 'tags': [], 'project_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8'}} 2025-01-02 02:16:30,850 - INFO - Created VN ctest-vn-92535964 2025-01-02 02:16:30,901 - DEBUG - VN ctest-vn-92535964 UUID is 14ff1888-9abd-4b28-9960-b23b70474b39 2025-01-02 02:16:31,186 - DEBUG - Response for create_network : {'network': {'id': '4decb39b-b262-4c57-b395-acdaee8db9ce', 'name': 'ctest-vn-78261722', 'tenant_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8', 'project_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02975804', 'ctest-vn-78261722'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 02:16:31,364 - DEBUG - Response for create_subnet : {'subnet': {'id': '85c1591e-b701-46c3-a493-d5fb43130373', 'name': '', 'tenant_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8', 'network_id': '4decb39b-b262-4c57-b395-acdaee8db9ce', 'ip_version': 4, 'cidr': '165.73.92.0/26', 'allocation_pools': [{'start': '165.73.92.2', 'end': '165.73.92.62'}], 'gateway_ip': '165.73.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.73.92.2', 'tags': [], 'project_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8'}} 2025-01-02 02:16:31,383 - INFO - Created VN ctest-vn-78261722 2025-01-02 02:16:31,433 - DEBUG - VN ctest-vn-78261722 UUID is 4decb39b-b262-4c57-b395-acdaee8db9ce 2025-01-02 02:16:31,550 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-92535964, 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-02975804:ctest-vn-78261722, 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-02 02:16:31,842 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14ff1888-9abd-4b28-9960-b23b70474b39', 'name': 'ctest-vn-92535964', 'tenant_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8', 'project_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d5631c01-7f53-40eb-9467-90876de6733e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02975804', 'ctest-vn-92535964'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02975804', 'ctest-policy-allow-all-52504965']], 'subnet_ipam': [{'subnet_cidr': '115.181.255.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 02:16:32,075 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4decb39b-b262-4c57-b395-acdaee8db9ce', 'name': 'ctest-vn-78261722', 'tenant_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8', 'project_id': 'cb40639d7d1d41bc9d45e72c0a24c3d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['85c1591e-b701-46c3-a493-d5fb43130373'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02975804', 'ctest-vn-78261722'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02975804', 'ctest-policy-allow-all-52504965']], 'subnet_ipam': [{'subnet_cidr': '165.73.92.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 02:16:32,225 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-02 02:16:32,526 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-02 02:16:32,557 - DEBUG - Requesting: http://10.0.0.46:8082/domain/9d4d982e-e6c4-414d-a620-c150b0ef0aa3 2025-01-02 02:16:32,571 - DEBUG - Requesting: http://10.0.0.46:8082/project/cb40639d-7d1d-41bc-9d45-e72c0a24c3d8 2025-01-02 02:16:32,640 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/14ff1888-9abd-4b28-9960-b23b70474b39 2025-01-02 02:16:32,653 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/14ff1888-9abd-4b28-9960-b23b70474b39 2025-01-02 02:16:32,665 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c67c5806-2acb-4406-a4bb-36819aaa35cb 2025-01-02 02:16:32,672 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c67c5806-2acb-4406-a4bb-36819aaa35cb 2025-01-02 02:16:32,679 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/d809cd60-d4e4-46b7-8f1e-9074977d235f 2025-01-02 02:16:32,686 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 02:16:32,686 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/14ff1888-9abd-4b28-9960-b23b70474b39 2025-01-02 02:16:32,694 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c67c5806-2acb-4406-a4bb-36819aaa35cb 2025-01-02 02:16:32,709 - INFO - Verified VN network id 8 for VN 14ff1888-9abd-4b28-9960-b23b70474b39 2025-01-02 02:16:32,710 - INFO - Verifications in API Server for VN ctest-vn-92535964 passed 2025-01-02 02:16:32,710 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/14ff1888-9abd-4b28-9960-b23b70474b39 2025-01-02 02:16:32,719 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c67c5806-2acb-4406-a4bb-36819aaa35cb 2025-01-02 02:16:32,726 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c67c5806-2acb-4406-a4bb-36819aaa35cb 2025-01-02 02:16:32,733 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/d809cd60-d4e4-46b7-8f1e-9074977d235f 2025-01-02 02:16:32,747 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-92535964', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02975804', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1512954974810491688', 'uuid-lslong': '11052029453923732281'}, 'enable': 'true', 'created': '2025-01-02T02:16:30', 'last-modified': '2025-01-02T02:16:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929738'} 2025-01-02 02:16:32,753 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 02:16:32,753 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92535964 passed 2025-01-02 02:16:32,754 - DEBUG - ====Verifying policy data for ctest-vn-92535964 in API_Server ====== 2025-01-02 02:16:32,754 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-02 02:16:32,760 - DEBUG - Requesting: http://10.0.0.46:8082/domain/9d4d982e-e6c4-414d-a620-c150b0ef0aa3 2025-01-02 02:16:32,771 - DEBUG - Requesting: http://10.0.0.46:8082/project/cb40639d-7d1d-41bc-9d45-e72c0a24c3d8 2025-01-02 02:16:32,842 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/14ff1888-9abd-4b28-9960-b23b70474b39 2025-01-02 02:16:32,850 - DEBUG - ==>Verifying data for policy with id: c24f1577-5490-4e22-b4bb-b7c2ca6d8171, fqn: ['default-domain', 'ctest-TestBasicPolicy-02975804', 'ctest-policy-allow-all-52504965'] 2025-01-02 02:16:32,850 - INFO - VN ctest-vn-92535964 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 02:16:32,850 - DEBUG - Verifying the vn in opserver 2025-01-02 02:16:32,850 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-92535964 virtual network link through opserver 10.0.0.46 2025-01-02 02:16:32,851 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-01-02 02:16:33,141 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-01-02 02:16:33,201 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-92535964', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-92535964?flat'} 2025-01-02 02:16:33,201 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-92535964 is found in opserver 2025-01-02 02:16:33,213 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 02:16:33,220 - DEBUG - VRF ids for VN ctest-vn-92535964: {} 2025-01-02 02:16:33,221 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-02 02:16:33,227 - DEBUG - Requesting: http://10.0.0.46:8082/domain/9d4d982e-e6c4-414d-a620-c150b0ef0aa3 2025-01-02 02:16:33,239 - DEBUG - Requesting: http://10.0.0.46:8082/project/cb40639d-7d1d-41bc-9d45-e72c0a24c3d8 2025-01-02 02:16:33,310 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/4decb39b-b262-4c57-b395-acdaee8db9ce 2025-01-02 02:16:33,321 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/4decb39b-b262-4c57-b395-acdaee8db9ce 2025-01-02 02:16:33,330 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/23aa1ef6-2e78-4ddc-a648-85f04596f688 2025-01-02 02:16:33,337 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/23aa1ef6-2e78-4ddc-a648-85f04596f688 2025-01-02 02:16:33,344 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/c34e0d2a-8ea2-4138-a5fa-494d9ee56000 2025-01-02 02:16:33,350 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 02:16:33,350 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/4decb39b-b262-4c57-b395-acdaee8db9ce 2025-01-02 02:16:33,358 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/23aa1ef6-2e78-4ddc-a648-85f04596f688 2025-01-02 02:16:33,371 - INFO - Verified VN network id 9 for VN 4decb39b-b262-4c57-b395-acdaee8db9ce 2025-01-02 02:16:33,371 - INFO - Verifications in API Server for VN ctest-vn-78261722 passed 2025-01-02 02:16:33,371 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/4decb39b-b262-4c57-b395-acdaee8db9ce 2025-01-02 02:16:33,380 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/23aa1ef6-2e78-4ddc-a648-85f04596f688 2025-01-02 02:16:33,387 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/23aa1ef6-2e78-4ddc-a648-85f04596f688 2025-01-02 02:16:33,394 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/c34e0d2a-8ea2-4138-a5fa-494d9ee56000 2025-01-02 02:16:33,407 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-78261722', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02975804', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5615060316718255191', 'uuid-lslong': '12940439160624101838'}, 'enable': 'true', 'created': '2025-01-02T02:16:31', 'last-modified': '2025-01-02T02:16:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.353068'} 2025-01-02 02:16:33,414 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 02:16:33,414 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78261722 passed 2025-01-02 02:16:33,414 - DEBUG - ====Verifying policy data for ctest-vn-78261722 in API_Server ====== 2025-01-02 02:16:33,414 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-02 02:16:33,420 - DEBUG - Requesting: http://10.0.0.46:8082/domain/9d4d982e-e6c4-414d-a620-c150b0ef0aa3 2025-01-02 02:16:33,432 - DEBUG - Requesting: http://10.0.0.46:8082/project/cb40639d-7d1d-41bc-9d45-e72c0a24c3d8 2025-01-02 02:16:33,501 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/4decb39b-b262-4c57-b395-acdaee8db9ce 2025-01-02 02:16:33,510 - DEBUG - ==>Verifying data for policy with id: c24f1577-5490-4e22-b4bb-b7c2ca6d8171, fqn: ['default-domain', 'ctest-TestBasicPolicy-02975804', 'ctest-policy-allow-all-52504965'] 2025-01-02 02:16:33,510 - INFO - VN ctest-vn-78261722 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 02:16:33,510 - DEBUG - Verifying the vn in opserver 2025-01-02 02:16:33,510 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-78261722 virtual network link through opserver 10.0.0.46 2025-01-02 02:16:33,510 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-01-02 02:16:33,522 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-78261722', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-78261722?flat'} 2025-01-02 02:16:33,522 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-78261722 is found in opserver 2025-01-02 02:16:33,534 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 02:16:33,541 - DEBUG - VRF ids for VN ctest-vn-78261722: {} 2025-01-02 02:16:33,598 - DEBUG - Services list from nova: [, , ] 2025-01-02 02:16:34,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2506-1) 2025-01-02 02:16:35,792 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2506-1) 2025-01-02 02:16:35,792 - INFO - Waiting for VM ctest-TestBasicPolicy-02975804-98128123 to be up.. 2025-01-02 02:16:35,869 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 02:16:40,955 - DEBUG - VM is in ACTIVE state now 2025-01-02 02:16:40,956 - INFO - VM name : ctest-TestBasicPolicy-02975804-98128123 2025-01-02 02:16:41,047 - DEBUG - VM ctest-TestBasicPolicy-02975804-98128123 ID is 19c238b3-56d1-4b41-b509-f90a5d444186 2025-01-02 02:16:41,069 - DEBUG - VM ctest-TestBasicPolicy-02975804-98128123 launched on Node cn-jenkins-deploy-platform-ansible-os-2506-1 2025-01-02 02:16:41,145 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/19c238b3-56d1-4b41-b509-f90a5d444186 2025-01-02 02:16:41,153 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/b8cac8fd-9c07-4dd4-a1a4-5f68c7e9e10f 2025-01-02 02:16:44,409 - 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 1023ms') 2025-01-02 02:16:44,409 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02975804-98128123 failed! 2025-01-02 02:16:44,461 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02975804:ctest-vn-92535964 is 115.181.255.129 and allocation pool is NOT set 2025-01-02 02:16:46,523 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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.468/2.092/3.717/1.624 ms') 2025-01-02 02:16:46,523 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02975804-98128123 passed 2025-01-02 02:16:46,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 02:16:46,677 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02975804-98128123, IP 115.181.255.131, Port 22 2025-01-02 02:16:46,838 - DEBUG - VM ctest-TestBasicPolicy-02975804-98128123 is ready for SSH connections 2025-01-02 02:16:46,838 - INFO - Waiting for VM ctest-TestBasicPolicy-02975804-57013864 to be up.. 2025-01-02 02:16:46,923 - DEBUG - VM is in ACTIVE state now 2025-01-02 02:16:46,923 - INFO - VM name : ctest-TestBasicPolicy-02975804-57013864 2025-01-02 02:16:46,997 - DEBUG - VM ctest-TestBasicPolicy-02975804-57013864 ID is 284aa350-3083-4c4a-94f0-139b93a6d1f2 2025-01-02 02:16:46,998 - DEBUG - VM ctest-TestBasicPolicy-02975804-57013864 launched on Node cn-jenkins-deploy-platform-ansible-os-2506-1 2025-01-02 02:16:47,076 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/284aa350-3083-4c4a-94f0-139b93a6d1f2 2025-01-02 02:16:47,085 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/bf01daff-d1f8-4df3-a74b-eb54b885bb97 2025-01-02 02:16:48,325 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.568/2.725/1.156 ms') 2025-01-02 02:16:48,325 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02975804-57013864 passed 2025-01-02 02:16:48,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 02:16:48,473 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02975804-57013864, IP 165.73.92.3, Port 22 2025-01-02 02:16:48,628 - DEBUG - VM ctest-TestBasicPolicy-02975804-57013864 is ready for SSH connections 2025-01-02 02:16:48,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 02:16:48,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.73.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-01-02 02:16:48,628 - DEBUG - ping -s 56 -c 3 -W 1 165.73.92.3 2025-01-02 02:16:52,635 - DEBUG - PING 165.73.92.3 (165.73.92.3): 56 data bytes 64 bytes from 165.73.92.3: seq=0 ttl=63 time=3.230 ms 64 bytes from 165.73.92.3: seq=1 ttl=63 time=0.901 ms 64 bytes from 165.73.92.3: seq=2 ttl=63 time=0.711 ms --- 165.73.92.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.711/1.614/3.230 ms 2025-01-02 02:16:52,635 - INFO - Ping to IP 165.73.92.3 from VM ctest-TestBasicPolicy-02975804-98128123 passed 2025-01-02 02:16:52,812 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c24f1577-5490-4e22-b4bb-b7c2ca6d8171", "href": "http://10.0.0.46:8082/network-policy/c24f1577-5490-4e22-b4bb-b7c2ca6d8171"}} 2025-01-02 02:16:52,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 02:16:52,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.73.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-01-02 02:16:52,813 - DEBUG - ping -s 56 -c 3 -W 1 165.73.92.3 2025-01-02 02:16:56,022 - DEBUG - PING 165.73.92.3 (165.73.92.3): 56 data bytes --- 165.73.92.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-02 02:16:56,022 - WARNING - Ping to IP 165.73.92.3 from VM ctest-TestBasicPolicy-02975804-98128123 failed 2025-01-02 02:16:56,022 - INFO - Deleting VM ctest-TestBasicPolicy-02975804-57013864 2025-01-02 02:16:56,088 - INFO - Deleting VM ctest-TestBasicPolicy-02975804-98128123 2025-01-02 02:16:56,422 - INFO - Deleted policy ctest-policy-allow-all-52504965 2025-01-02 02:16:56,422 - INFO - Deleting VN ctest-vn-78261722 2025-01-02 02:16:56,458 - DEBUG - VN 4decb39b-b262-4c57-b395-acdaee8db9ce still in use: Unable to complete operation on network 4decb39b-b262-4c57-b395-acdaee8db9ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a99588f-f25e-4a39-bfe2-7075aac0fe93'] 2025-01-02 02:16:56,458 - WARNING - Deleting VN ctest-vn-78261722 failed..Will retry 2025-01-02 02:16:58,559 - DEBUG - Response for deleting network () 2025-01-02 02:16:58,559 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/23aa1ef6-2e78-4ddc-a648-85f04596f688 2025-01-02 02:16:58,565 - DEBUG - Response Code: 404 2025-01-02 02:16:58,565 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-02 02:16:58,571 - DEBUG - Requesting: http://10.0.0.46:8082/domain/9d4d982e-e6c4-414d-a620-c150b0ef0aa3 2025-01-02 02:16:58,626 - DEBUG - Requesting: http://10.0.0.46:8082/project/cb40639d-7d1d-41bc-9d45-e72c0a24c3d8 2025-01-02 02:16:58,694 - INFO - Validated that VN ctest-vn-78261722 is not found in API Server 2025-01-02 02:16:58,705 - DEBUG - VN ctest-vn-78261722 is not present in Agent 10.0.0.46 2025-01-02 02:16:58,705 - INFO - Validated that VN ctest-vn-78261722 is not in any agent 2025-01-02 02:16:58,720 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78261722 info 2025-01-02 02:16:58,720 - INFO - Deleting VN ctest-vn-92535964 2025-01-02 02:16:58,816 - DEBUG - Response for deleting network () 2025-01-02 02:16:58,816 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/c67c5806-2acb-4406-a4bb-36819aaa35cb 2025-01-02 02:16:58,823 - DEBUG - Response Code: 404 2025-01-02 02:16:58,823 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-01-02 02:16:58,828 - DEBUG - Requesting: http://10.0.0.46:8082/domain/9d4d982e-e6c4-414d-a620-c150b0ef0aa3 2025-01-02 02:16:58,886 - DEBUG - Requesting: http://10.0.0.46:8082/project/cb40639d-7d1d-41bc-9d45-e72c0a24c3d8 2025-01-02 02:16:58,961 - INFO - Validated that VN ctest-vn-92535964 is not found in API Server 2025-01-02 02:16:58,973 - DEBUG - VN ctest-vn-92535964 is not present in Agent 10.0.0.46 2025-01-02 02:16:58,973 - INFO - Validated that VN ctest-vn-92535964 is not in any agent 2025-01-02 02:16:58,987 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92535964 info 2025-01-02 02:16:59,242 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 02:16:59,242 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-02 02:16:59,242 - INFO - -------------------------------------------------------------------------------- 2025-01-02 02:16:59,910 - INFO - Deleted project: ctest-TestBasicPolicy-02975804, ID : cb40639d-7d1d-41bc-9d45-e72c0a24c3d8