2025-04-28 02:05:29,223 - INFO - Domain Default found not creating 2025-04-28 02:05:29,360 - INFO - Project ctest-TestBasicPolicy-66806815 not found, creating it 2025-04-28 02:05:29,820 - INFO - Created Project:ctest-TestBasicPolicy-66806815, ID : a9561b89-55ba-4f35-b61d-8bb46cc84eb7 2025-04-28 02:05:31,200 - INFO - ================================================================================ 2025-04-28 02:05:31,200 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-28 02:05:31,200 - 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-04-28 02:05:31,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-04-28 02:05:31,459 - INFO - Initial checks done. Running the testcase now 2025-04-28 02:05:31,459 - INFO - 2025-04-28 02:05:31,994 - DEBUG - Response for create_network : {'network': {'id': 'ba8efb15-609f-4fec-8825-96e23a41c9bf', 'name': 'ctest-vn-15232227', 'tenant_id': 'a9561b8955ba4f35b61d8bb46cc84eb7', 'project_id': 'a9561b8955ba4f35b61d8bb46cc84eb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66806815', 'ctest-vn-15232227'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:05:32,200 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ad25d66-1648-4b6e-ac8c-c116e8241760', 'name': '', 'tenant_id': 'a9561b8955ba4f35b61d8bb46cc84eb7', 'network_id': 'ba8efb15-609f-4fec-8825-96e23a41c9bf', 'ip_version': 4, 'cidr': '9.154.2.128/26', 'allocation_pools': [{'start': '9.154.2.130', 'end': '9.154.2.190'}], 'gateway_ip': '9.154.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.154.2.130', 'tags': [], 'project_id': 'a9561b8955ba4f35b61d8bb46cc84eb7'}} 2025-04-28 02:05:32,217 - INFO - Created VN ctest-vn-15232227 2025-04-28 02:05:32,271 - DEBUG - VN ctest-vn-15232227 UUID is ba8efb15-609f-4fec-8825-96e23a41c9bf 2025-04-28 02:05:32,590 - DEBUG - Response for create_network : {'network': {'id': 'b7a8410b-fa74-4902-9757-cee1d862a5eb', 'name': 'ctest-vn-45658924', 'tenant_id': 'a9561b8955ba4f35b61d8bb46cc84eb7', 'project_id': 'a9561b8955ba4f35b61d8bb46cc84eb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66806815', 'ctest-vn-45658924'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:05:32,757 - DEBUG - Response for create_subnet : {'subnet': {'id': '791b651d-1da6-4048-be97-9804eeab6a40', 'name': '', 'tenant_id': 'a9561b8955ba4f35b61d8bb46cc84eb7', 'network_id': 'b7a8410b-fa74-4902-9757-cee1d862a5eb', 'ip_version': 4, 'cidr': '81.138.161.192/26', 'allocation_pools': [{'start': '81.138.161.194', 'end': '81.138.161.254'}], 'gateway_ip': '81.138.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.138.161.194', 'tags': [], 'project_id': 'a9561b8955ba4f35b61d8bb46cc84eb7'}} 2025-04-28 02:05:32,775 - INFO - Created VN ctest-vn-45658924 2025-04-28 02:05:32,827 - DEBUG - VN ctest-vn-45658924 UUID is b7a8410b-fa74-4902-9757-cee1d862a5eb 2025-04-28 02:05:32,979 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-15232227, 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-66806815:ctest-vn-45658924, 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-04-28 02:05:33,268 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba8efb15-609f-4fec-8825-96e23a41c9bf', 'name': 'ctest-vn-15232227', 'tenant_id': 'a9561b8955ba4f35b61d8bb46cc84eb7', 'project_id': 'a9561b8955ba4f35b61d8bb46cc84eb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7ad25d66-1648-4b6e-ac8c-c116e8241760'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66806815', 'ctest-vn-15232227'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66806815', 'ctest-policy-allow-all-42759500']], 'subnet_ipam': [{'subnet_cidr': '9.154.2.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:05:33,543 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b7a8410b-fa74-4902-9757-cee1d862a5eb', 'name': 'ctest-vn-45658924', 'tenant_id': 'a9561b8955ba4f35b61d8bb46cc84eb7', 'project_id': 'a9561b8955ba4f35b61d8bb46cc84eb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['791b651d-1da6-4048-be97-9804eeab6a40'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66806815', 'ctest-vn-45658924'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66806815', 'ctest-policy-allow-all-42759500']], 'subnet_ipam': [{'subnet_cidr': '81.138.161.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:05:33,695 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-28 02:05:33,995 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-28 02:05:34,024 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e9d2aa4c-e783-4f8b-8179-cbfa7b2c2003 2025-04-28 02:05:34,044 - DEBUG - Requesting: http://10.0.0.19:8082/project/a9561b89-55ba-4f35-b61d-8bb46cc84eb7 2025-04-28 02:05:34,129 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ba8efb15-609f-4fec-8825-96e23a41c9bf 2025-04-28 02:05:34,142 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ba8efb15-609f-4fec-8825-96e23a41c9bf 2025-04-28 02:05:34,152 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/229a38f7-9eba-4b59-a644-9297b3f91170 2025-04-28 02:05:34,160 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/229a38f7-9eba-4b59-a644-9297b3f91170 2025-04-28 02:05:34,167 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/5a85d721-ca76-43f4-baaf-056702bbfc0d 2025-04-28 02:05:34,174 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 02:05:34,174 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ba8efb15-609f-4fec-8825-96e23a41c9bf 2025-04-28 02:05:34,183 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/229a38f7-9eba-4b59-a644-9297b3f91170 2025-04-28 02:05:34,198 - INFO - Verified VN network id 8 for VN ba8efb15-609f-4fec-8825-96e23a41c9bf 2025-04-28 02:05:34,198 - INFO - Verifications in API Server for VN ctest-vn-15232227 passed 2025-04-28 02:05:34,198 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ba8efb15-609f-4fec-8825-96e23a41c9bf 2025-04-28 02:05:34,208 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/229a38f7-9eba-4b59-a644-9297b3f91170 2025-04-28 02:05:34,215 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/229a38f7-9eba-4b59-a644-9297b3f91170 2025-04-28 02:05:34,221 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/5a85d721-ca76-43f4-baaf-056702bbfc0d 2025-04-28 02:05:34,233 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-15232227', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66806815', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13442958006981447660', 'uuid-lslong': '9810413261680658879'}, 'enable': 'true', 'created': '2025-04-28T02:05:31', 'last-modified': '2025-04-28T02:05:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985735'} 2025-04-28 02:05:34,239 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 02:05:34,239 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15232227 passed 2025-04-28 02:05:34,239 - DEBUG - ====Verifying policy data for ctest-vn-15232227 in API_Server ====== 2025-04-28 02:05:34,239 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-28 02:05:34,245 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e9d2aa4c-e783-4f8b-8179-cbfa7b2c2003 2025-04-28 02:05:34,256 - DEBUG - Requesting: http://10.0.0.19:8082/project/a9561b89-55ba-4f35-b61d-8bb46cc84eb7 2025-04-28 02:05:34,325 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ba8efb15-609f-4fec-8825-96e23a41c9bf 2025-04-28 02:05:34,335 - DEBUG - ==>Verifying data for policy with id: b1c1d553-7cc2-4831-9cfd-64914919b397, fqn: ['default-domain', 'ctest-TestBasicPolicy-66806815', 'ctest-policy-allow-all-42759500'] 2025-04-28 02:05:34,335 - INFO - VN ctest-vn-15232227 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 02:05:34,335 - DEBUG - Verifying the vn in opserver 2025-04-28 02:05:34,335 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-15232227 virtual network link through opserver 10.0.0.19 2025-04-28 02:05:34,335 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-28 02:05:34,627 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-28 02:05:34,679 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-15232227', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-15232227?flat'} 2025-04-28 02:05:34,679 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-15232227 is found in opserver 2025-04-28 02:05:34,690 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 02:05:34,694 - DEBUG - VRF ids for VN ctest-vn-15232227: {} 2025-04-28 02:05:34,694 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-28 02:05:34,700 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e9d2aa4c-e783-4f8b-8179-cbfa7b2c2003 2025-04-28 02:05:34,711 - DEBUG - Requesting: http://10.0.0.19:8082/project/a9561b89-55ba-4f35-b61d-8bb46cc84eb7 2025-04-28 02:05:34,781 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b7a8410b-fa74-4902-9757-cee1d862a5eb 2025-04-28 02:05:34,793 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b7a8410b-fa74-4902-9757-cee1d862a5eb 2025-04-28 02:05:34,802 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b6fa7c63-6a6c-4295-9acd-621779d6d665 2025-04-28 02:05:34,809 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b6fa7c63-6a6c-4295-9acd-621779d6d665 2025-04-28 02:05:34,815 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/61a3d16b-8e17-4f78-892d-f3ec91efc1b6 2025-04-28 02:05:34,821 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 02:05:34,821 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b7a8410b-fa74-4902-9757-cee1d862a5eb 2025-04-28 02:05:34,830 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b6fa7c63-6a6c-4295-9acd-621779d6d665 2025-04-28 02:05:34,843 - INFO - Verified VN network id 9 for VN b7a8410b-fa74-4902-9757-cee1d862a5eb 2025-04-28 02:05:34,843 - INFO - Verifications in API Server for VN ctest-vn-45658924 passed 2025-04-28 02:05:34,843 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b7a8410b-fa74-4902-9757-cee1d862a5eb 2025-04-28 02:05:34,852 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b6fa7c63-6a6c-4295-9acd-621779d6d665 2025-04-28 02:05:34,859 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b6fa7c63-6a6c-4295-9acd-621779d6d665 2025-04-28 02:05:34,865 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/61a3d16b-8e17-4f78-892d-f3ec91efc1b6 2025-04-28 02:05:34,876 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-45658924', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66806815', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13233899024730573058', 'uuid-lslong': '10905412492094252523'}, 'enable': 'true', 'created': '2025-04-28T02:05:32', 'last-modified': '2025-04-28T02:05:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396554'} 2025-04-28 02:05:34,882 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 02:05:34,882 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45658924 passed 2025-04-28 02:05:34,882 - DEBUG - ====Verifying policy data for ctest-vn-45658924 in API_Server ====== 2025-04-28 02:05:34,882 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-28 02:05:34,887 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e9d2aa4c-e783-4f8b-8179-cbfa7b2c2003 2025-04-28 02:05:34,898 - DEBUG - Requesting: http://10.0.0.19:8082/project/a9561b89-55ba-4f35-b61d-8bb46cc84eb7 2025-04-28 02:05:34,969 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b7a8410b-fa74-4902-9757-cee1d862a5eb 2025-04-28 02:05:34,978 - DEBUG - ==>Verifying data for policy with id: b1c1d553-7cc2-4831-9cfd-64914919b397, fqn: ['default-domain', 'ctest-TestBasicPolicy-66806815', 'ctest-policy-allow-all-42759500'] 2025-04-28 02:05:34,978 - INFO - VN ctest-vn-45658924 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 02:05:34,978 - DEBUG - Verifying the vn in opserver 2025-04-28 02:05:34,978 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-45658924 virtual network link through opserver 10.0.0.19 2025-04-28 02:05:34,979 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-28 02:05:34,988 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-45658924', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-45658924?flat'} 2025-04-28 02:05:34,988 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-45658924 is found in opserver 2025-04-28 02:05:34,998 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 02:05:35,003 - DEBUG - VRF ids for VN ctest-vn-45658924: {} 2025-04-28 02:05:35,055 - DEBUG - Services list from nova: [, , ] 2025-04-28 02:05:36,022 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3233-1) 2025-04-28 02:05:37,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3233-1) 2025-04-28 02:05:37,227 - INFO - Waiting for VM ctest-TestBasicPolicy-66806815-50481347 to be up.. 2025-04-28 02:05:37,316 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 02:05:42,395 - DEBUG - VM is in ACTIVE state now 2025-04-28 02:05:42,395 - INFO - VM name : ctest-TestBasicPolicy-66806815-50481347 2025-04-28 02:05:42,467 - DEBUG - VM ctest-TestBasicPolicy-66806815-50481347 ID is 253e39bc-73e6-4d66-bbb7-a1cc02aff168 2025-04-28 02:05:42,484 - DEBUG - VM ctest-TestBasicPolicy-66806815-50481347 launched on Node cn-jenkins-deploy-platform-ansible-os-3233-1 2025-04-28 02:05:42,557 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/253e39bc-73e6-4d66-bbb7-a1cc02aff168 2025-04-28 02:05:42,566 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/db6c150d-5de7-44fe-9192-f4e27be38b5f 2025-04-28 02:05:45,816 - 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 1012ms') 2025-04-28 02:05:45,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66806815-50481347 failed! 2025-04-28 02:05:45,875 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66806815:ctest-vn-15232227 is 9.154.2.129 and allocation pool is NOT set 2025-04-28 02:05:47,938 - 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=2.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/1.569/2.718/1.149 ms') 2025-04-28 02:05:47,938 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66806815-50481347 passed 2025-04-28 02:05:48,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:05:48,092 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66806815-50481347, IP 9.154.2.131, Port 22 2025-04-28 02:05:48,247 - DEBUG - VM ctest-TestBasicPolicy-66806815-50481347 is ready for SSH connections 2025-04-28 02:05:48,247 - INFO - Waiting for VM ctest-TestBasicPolicy-66806815-83169666 to be up.. 2025-04-28 02:05:48,319 - DEBUG - VM is in ACTIVE state now 2025-04-28 02:05:48,320 - INFO - VM name : ctest-TestBasicPolicy-66806815-83169666 2025-04-28 02:05:48,392 - DEBUG - VM ctest-TestBasicPolicy-66806815-83169666 ID is 03f006f3-4bab-453c-9858-83692f09c75d 2025-04-28 02:05:48,392 - DEBUG - VM ctest-TestBasicPolicy-66806815-83169666 launched on Node cn-jenkins-deploy-platform-ansible-os-3233-1 2025-04-28 02:05:48,470 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/03f006f3-4bab-453c-9858-83692f09c75d 2025-04-28 02:05:48,480 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/4cb97853-80ca-4337-868b-333426fb04f6 2025-04-28 02:05:49,723 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.473 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.473/1.570/2.667/1.097 ms') 2025-04-28 02:05:49,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66806815-83169666 passed 2025-04-28 02:05:49,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:05:49,884 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66806815-83169666, IP 81.138.161.195, Port 22 2025-04-28 02:05:50,054 - DEBUG - VM ctest-TestBasicPolicy-66806815-83169666 is ready for SSH connections 2025-04-28 02:05:50,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:05:50,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.138.161.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-28 02:05:50,054 - DEBUG - ping -s 56 -c 3 -W 1 81.138.161.195 2025-04-28 02:05:53,758 - DEBUG - PING 81.138.161.195 (81.138.161.195): 56 data bytes 64 bytes from 81.138.161.195: seq=0 ttl=63 time=3.164 ms 64 bytes from 81.138.161.195: seq=1 ttl=63 time=0.730 ms 64 bytes from 81.138.161.195: seq=2 ttl=63 time=0.742 ms --- 81.138.161.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/1.545/3.164 ms 2025-04-28 02:05:53,758 - INFO - Ping to IP 81.138.161.195 from VM ctest-TestBasicPolicy-66806815-50481347 passed 2025-04-28 02:05:53,959 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b1c1d553-7cc2-4831-9cfd-64914919b397", "href": "http://10.0.0.19:8082/network-policy/b1c1d553-7cc2-4831-9cfd-64914919b397"}} 2025-04-28 02:05:53,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:05:53,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.138.161.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-28 02:05:53,960 - DEBUG - ping -s 56 -c 3 -W 1 81.138.161.195 2025-04-28 02:05:57,156 - DEBUG - PING 81.138.161.195 (81.138.161.195): 56 data bytes --- 81.138.161.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-28 02:05:57,156 - WARNING - Ping to IP 81.138.161.195 from VM ctest-TestBasicPolicy-66806815-50481347 failed 2025-04-28 02:05:57,156 - INFO - Deleting VM ctest-TestBasicPolicy-66806815-83169666 2025-04-28 02:05:57,236 - INFO - Deleting VM ctest-TestBasicPolicy-66806815-50481347 2025-04-28 02:05:57,593 - INFO - Deleted policy ctest-policy-allow-all-42759500 2025-04-28 02:05:57,593 - INFO - Deleting VN ctest-vn-45658924 2025-04-28 02:05:57,637 - DEBUG - VN b7a8410b-fa74-4902-9757-cee1d862a5eb still in use: Unable to complete operation on network b7a8410b-fa74-4902-9757-cee1d862a5eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1ccd316-ec41-49fc-88f4-cbf12b3fea21'] 2025-04-28 02:05:57,637 - WARNING - Deleting VN ctest-vn-45658924 failed..Will retry 2025-04-28 02:05:59,736 - DEBUG - Response for deleting network () 2025-04-28 02:05:59,736 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b6fa7c63-6a6c-4295-9acd-621779d6d665 2025-04-28 02:05:59,741 - DEBUG - Response Code: 404 2025-04-28 02:05:59,741 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-28 02:05:59,749 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e9d2aa4c-e783-4f8b-8179-cbfa7b2c2003 2025-04-28 02:05:59,806 - DEBUG - Requesting: http://10.0.0.19:8082/project/a9561b89-55ba-4f35-b61d-8bb46cc84eb7 2025-04-28 02:05:59,875 - INFO - Validated that VN ctest-vn-45658924 is not found in API Server 2025-04-28 02:05:59,887 - DEBUG - VN ctest-vn-45658924 is not present in Agent 10.0.0.19 2025-04-28 02:05:59,887 - INFO - Validated that VN ctest-vn-45658924 is not in any agent 2025-04-28 02:05:59,902 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45658924 info 2025-04-28 02:05:59,903 - INFO - Deleting VN ctest-vn-15232227 2025-04-28 02:05:59,996 - DEBUG - Response for deleting network () 2025-04-28 02:05:59,996 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/229a38f7-9eba-4b59-a644-9297b3f91170 2025-04-28 02:06:00,002 - DEBUG - Response Code: 404 2025-04-28 02:06:00,002 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-28 02:06:00,008 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e9d2aa4c-e783-4f8b-8179-cbfa7b2c2003 2025-04-28 02:06:00,060 - DEBUG - Requesting: http://10.0.0.19:8082/project/a9561b89-55ba-4f35-b61d-8bb46cc84eb7 2025-04-28 02:06:00,133 - INFO - Validated that VN ctest-vn-15232227 is not found in API Server 2025-04-28 02:06:00,143 - DEBUG - VN ctest-vn-15232227 is not present in Agent 10.0.0.19 2025-04-28 02:06:00,143 - INFO - Validated that VN ctest-vn-15232227 is not in any agent 2025-04-28 02:06:00,157 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15232227 info 2025-04-28 02:06:00,413 - DEBUG - No XMPP flaps were noticed during the test 2025-04-28 02:06:00,413 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-28 02:06:00,413 - INFO - -------------------------------------------------------------------------------- 2025-04-28 02:06:01,562 - INFO - Deleted project: ctest-TestBasicPolicy-66806815, ID : a9561b89-55ba-4f35-b61d-8bb46cc84eb7