2025-12-03 16:13:49,738 - INFO - Domain Default found not creating 2025-12-03 16:13:49,924 - INFO - Project ctest-TestBasicPolicy-28932398 not found, creating it 2025-12-03 16:13:50,405 - INFO - Created Project:ctest-TestBasicPolicy-28932398, ID : 4cfc3155-9ec4-4d12-a825-f38877d4382d 2025-12-03 16:13:52,045 - INFO - ================================================================================ 2025-12-03 16:13:52,045 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-03 16:13:52,045 - 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-12-03 16:13:52,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-03 16:13:52,299 - INFO - Initial checks done. Running the testcase now 2025-12-03 16:13:52,300 - INFO - 2025-12-03 16:13:52,907 - DEBUG - Response for create_network : {'network': {'id': 'b920da4a-f2e8-4003-82dd-6a408dc51daa', 'name': 'ctest-vn-87907190', 'tenant_id': '4cfc31559ec44d12a825f38877d4382d', 'project_id': '4cfc31559ec44d12a825f38877d4382d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28932398', 'ctest-vn-87907190'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 16:13:53,118 - DEBUG - Response for create_subnet : {'subnet': {'id': '13ac25cf-076e-476e-8464-de363eff8c0d', 'name': '', 'tenant_id': '4cfc31559ec44d12a825f38877d4382d', 'network_id': 'b920da4a-f2e8-4003-82dd-6a408dc51daa', 'ip_version': 4, 'cidr': '220.133.127.64/26', 'allocation_pools': [{'start': '220.133.127.66', 'end': '220.133.127.126'}], 'gateway_ip': '220.133.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.133.127.66', 'tags': [], 'project_id': '4cfc31559ec44d12a825f38877d4382d'}} 2025-12-03 16:13:53,135 - INFO - Created VN ctest-vn-87907190 2025-12-03 16:13:53,186 - DEBUG - VN ctest-vn-87907190 UUID is b920da4a-f2e8-4003-82dd-6a408dc51daa 2025-12-03 16:13:53,510 - DEBUG - Response for create_network : {'network': {'id': '7270dcfd-9654-4279-a8e1-1559ebdef75e', 'name': 'ctest-vn-62413852', 'tenant_id': '4cfc31559ec44d12a825f38877d4382d', 'project_id': '4cfc31559ec44d12a825f38877d4382d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28932398', 'ctest-vn-62413852'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 16:13:53,720 - DEBUG - Response for create_subnet : {'subnet': {'id': '95d1a0c9-f264-4a62-84ca-1eb2d26e6575', 'name': '', 'tenant_id': '4cfc31559ec44d12a825f38877d4382d', 'network_id': '7270dcfd-9654-4279-a8e1-1559ebdef75e', 'ip_version': 4, 'cidr': '219.149.76.0/26', 'allocation_pools': [{'start': '219.149.76.2', 'end': '219.149.76.62'}], 'gateway_ip': '219.149.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.149.76.2', 'tags': [], 'project_id': '4cfc31559ec44d12a825f38877d4382d'}} 2025-12-03 16:13:53,738 - INFO - Created VN ctest-vn-62413852 2025-12-03 16:13:53,798 - DEBUG - VN ctest-vn-62413852 UUID is 7270dcfd-9654-4279-a8e1-1559ebdef75e 2025-12-03 16:13:53,917 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-87907190, 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-28932398:ctest-vn-62413852, 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-12-03 16:13:54,205 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b920da4a-f2e8-4003-82dd-6a408dc51daa', 'name': 'ctest-vn-87907190', 'tenant_id': '4cfc31559ec44d12a825f38877d4382d', 'project_id': '4cfc31559ec44d12a825f38877d4382d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13ac25cf-076e-476e-8464-de363eff8c0d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28932398', 'ctest-vn-87907190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28932398', 'ctest-policy-allow-all-59759476']], 'subnet_ipam': [{'subnet_cidr': '220.133.127.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-03 16:13:54,451 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7270dcfd-9654-4279-a8e1-1559ebdef75e', 'name': 'ctest-vn-62413852', 'tenant_id': '4cfc31559ec44d12a825f38877d4382d', 'project_id': '4cfc31559ec44d12a825f38877d4382d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95d1a0c9-f264-4a62-84ca-1eb2d26e6575'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28932398', 'ctest-vn-62413852'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28932398', 'ctest-policy-allow-all-59759476']], 'subnet_ipam': [{'subnet_cidr': '219.149.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-03 16:13:54,614 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 16:13:54,956 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 16:13:54,989 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f77dd78b-3865-45a3-9696-0b2dabce60bd 2025-12-03 16:13:55,004 - DEBUG - Requesting: http://10.0.0.38:8082/project/4cfc3155-9ec4-4d12-a825-f38877d4382d 2025-12-03 16:13:55,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b920da4a-f2e8-4003-82dd-6a408dc51daa 2025-12-03 16:13:55,096 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b920da4a-f2e8-4003-82dd-6a408dc51daa 2025-12-03 16:13:55,105 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50609958-715c-4b91-9359-6bc9f39f6f1c 2025-12-03 16:13:55,112 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50609958-715c-4b91-9359-6bc9f39f6f1c 2025-12-03 16:13:55,119 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e74d785e-5e65-4ce6-adc7-02b6f2cf0992 2025-12-03 16:13:55,125 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-03 16:13:55,125 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b920da4a-f2e8-4003-82dd-6a408dc51daa 2025-12-03 16:13:55,134 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50609958-715c-4b91-9359-6bc9f39f6f1c 2025-12-03 16:13:55,149 - INFO - Verified VN network id 11 for VN b920da4a-f2e8-4003-82dd-6a408dc51daa 2025-12-03 16:13:55,149 - INFO - Verifications in API Server for VN ctest-vn-87907190 passed 2025-12-03 16:13:55,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b920da4a-f2e8-4003-82dd-6a408dc51daa 2025-12-03 16:13:55,159 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50609958-715c-4b91-9359-6bc9f39f6f1c 2025-12-03 16:13:55,166 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50609958-715c-4b91-9359-6bc9f39f6f1c 2025-12-03 16:13:55,173 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e74d785e-5e65-4ce6-adc7-02b6f2cf0992 2025-12-03 16:13:55,185 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-87907190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28932398', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13339902111709151235', 'uuid-lslong': '9429810020272643498'}, 'enable': 'true', 'created': '2025-12-03T16:13:52', 'last-modified': '2025-12-03T16:13:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.996861'} 2025-12-03 16:13:55,190 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-03 16:13:55,190 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87907190 passed 2025-12-03 16:13:55,191 - DEBUG - ====Verifying policy data for ctest-vn-87907190 in API_Server ====== 2025-12-03 16:13:55,191 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 16:13:55,196 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f77dd78b-3865-45a3-9696-0b2dabce60bd 2025-12-03 16:13:55,206 - DEBUG - Requesting: http://10.0.0.38:8082/project/4cfc3155-9ec4-4d12-a825-f38877d4382d 2025-12-03 16:13:55,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b920da4a-f2e8-4003-82dd-6a408dc51daa 2025-12-03 16:13:55,287 - DEBUG - ==>Verifying data for policy with id: d31ea95c-f2cd-4274-b87d-ba163a5b16aa, fqn: ['default-domain', 'ctest-TestBasicPolicy-28932398', 'ctest-policy-allow-all-59759476'] 2025-12-03 16:13:55,287 - INFO - VN ctest-vn-87907190 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-03 16:13:55,287 - DEBUG - Verifying the vn in opserver 2025-12-03 16:13:55,287 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-87907190 virtual network link through opserver 10.0.0.38 2025-12-03 16:13:55,287 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-03 16:13:55,623 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-03 16:13:55,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-87907190', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-87907190?flat'} 2025-12-03 16:13:55,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-87907190 is found in opserver 2025-12-03 16:13:55,697 - DEBUG - Do not have enough data to verify VN in agent 2025-12-03 16:13:55,701 - DEBUG - VRF ids for VN ctest-vn-87907190: {} 2025-12-03 16:13:55,701 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 16:13:55,707 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f77dd78b-3865-45a3-9696-0b2dabce60bd 2025-12-03 16:13:55,717 - DEBUG - Requesting: http://10.0.0.38:8082/project/4cfc3155-9ec4-4d12-a825-f38877d4382d 2025-12-03 16:13:55,787 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7270dcfd-9654-4279-a8e1-1559ebdef75e 2025-12-03 16:13:55,797 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7270dcfd-9654-4279-a8e1-1559ebdef75e 2025-12-03 16:13:55,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e574977-b129-4ca9-bfb3-f7b4aaad6c43 2025-12-03 16:13:55,812 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e574977-b129-4ca9-bfb3-f7b4aaad6c43 2025-12-03 16:13:55,818 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c3b5750b-b719-41b8-90bf-3537d2d92ca7 2025-12-03 16:13:55,825 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-03 16:13:55,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7270dcfd-9654-4279-a8e1-1559ebdef75e 2025-12-03 16:13:55,833 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e574977-b129-4ca9-bfb3-f7b4aaad6c43 2025-12-03 16:13:55,847 - INFO - Verified VN network id 12 for VN 7270dcfd-9654-4279-a8e1-1559ebdef75e 2025-12-03 16:13:55,847 - INFO - Verifications in API Server for VN ctest-vn-62413852 passed 2025-12-03 16:13:55,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7270dcfd-9654-4279-a8e1-1559ebdef75e 2025-12-03 16:13:55,855 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e574977-b129-4ca9-bfb3-f7b4aaad6c43 2025-12-03 16:13:55,862 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e574977-b129-4ca9-bfb3-f7b4aaad6c43 2025-12-03 16:13:55,868 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c3b5750b-b719-41b8-90bf-3537d2d92ca7 2025-12-03 16:13:55,878 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-62413852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28932398', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8246333899422319225', 'uuid-lslong': '12169031144085321566'}, 'enable': 'true', 'created': '2025-12-03T16:13:53', 'last-modified': '2025-12-03T16:13:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.454749'} 2025-12-03 16:13:55,883 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-03 16:13:55,884 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62413852 passed 2025-12-03 16:13:55,884 - DEBUG - ====Verifying policy data for ctest-vn-62413852 in API_Server ====== 2025-12-03 16:13:55,884 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 16:13:55,891 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f77dd78b-3865-45a3-9696-0b2dabce60bd 2025-12-03 16:13:55,901 - DEBUG - Requesting: http://10.0.0.38:8082/project/4cfc3155-9ec4-4d12-a825-f38877d4382d 2025-12-03 16:13:55,972 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7270dcfd-9654-4279-a8e1-1559ebdef75e 2025-12-03 16:13:55,982 - DEBUG - ==>Verifying data for policy with id: d31ea95c-f2cd-4274-b87d-ba163a5b16aa, fqn: ['default-domain', 'ctest-TestBasicPolicy-28932398', 'ctest-policy-allow-all-59759476'] 2025-12-03 16:13:55,982 - INFO - VN ctest-vn-62413852 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-03 16:13:55,982 - DEBUG - Verifying the vn in opserver 2025-12-03 16:13:55,983 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-62413852 virtual network link through opserver 10.0.0.38 2025-12-03 16:13:55,983 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-03 16:13:55,993 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-62413852', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-62413852?flat'} 2025-12-03 16:13:55,993 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-62413852 is found in opserver 2025-12-03 16:13:56,004 - DEBUG - Do not have enough data to verify VN in agent 2025-12-03 16:13:56,009 - DEBUG - VRF ids for VN ctest-vn-62413852: {} 2025-12-03 16:13:56,069 - DEBUG - Services list from nova: [, , ] 2025-12-03 16:13:57,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4834-1) 2025-12-03 16:13:58,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4834-1) 2025-12-03 16:13:58,427 - INFO - Waiting for VM ctest-TestBasicPolicy-28932398-84056447 to be up.. 2025-12-03 16:13:58,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-03 16:14:03,596 - DEBUG - VM is in ACTIVE state now 2025-12-03 16:14:03,596 - INFO - VM name : ctest-TestBasicPolicy-28932398-84056447 2025-12-03 16:14:03,678 - DEBUG - VM ctest-TestBasicPolicy-28932398-84056447 ID is afeda3c5-04cb-4b5c-9e47-f00b31a0bb68 2025-12-03 16:14:03,698 - DEBUG - VM ctest-TestBasicPolicy-28932398-84056447 launched on Node cn-jenkins-deploy-platform-ansible-os-4834-1 2025-12-03 16:14:03,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/afeda3c5-04cb-4b5c-9e47-f00b31a0bb68 2025-12-03 16:14:03,799 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d26ccecd-4bb0-4f29-9136-c7da5223594a 2025-12-03 16:14:07,047 - 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-12-03 16:14:07,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28932398-84056447 failed! 2025-12-03 16:14:07,102 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28932398:ctest-vn-87907190 is 220.133.127.65 and allocation pool is NOT set 2025-12-03 16:14:09,164 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.56 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 = 3.555/4.516/5.477/0.961 ms') 2025-12-03 16:14:09,165 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28932398-84056447 passed 2025-12-03 16:14:09,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:14:09,322 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28932398-84056447, IP 220.133.127.67, Port 22 2025-12-03 16:14:09,477 - DEBUG - VM ctest-TestBasicPolicy-28932398-84056447 is ready for SSH connections 2025-12-03 16:14:09,478 - INFO - Waiting for VM ctest-TestBasicPolicy-28932398-80148632 to be up.. 2025-12-03 16:14:09,570 - DEBUG - VM is in ACTIVE state now 2025-12-03 16:14:09,570 - INFO - VM name : ctest-TestBasicPolicy-28932398-80148632 2025-12-03 16:14:09,652 - DEBUG - VM ctest-TestBasicPolicy-28932398-80148632 ID is c73e9799-6fba-4fdc-a24a-f54614c6b463 2025-12-03 16:14:09,652 - DEBUG - VM ctest-TestBasicPolicy-28932398-80148632 launched on Node cn-jenkins-deploy-platform-ansible-os-4834-1 2025-12-03 16:14:09,732 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c73e9799-6fba-4fdc-a24a-f54614c6b463 2025-12-03 16:14:09,742 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e394e42c-0cf4-4d9d-bf95-2055f9a70de6 2025-12-03 16:14:10,976 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.901 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.901/2.250/3.599/1.349 ms') 2025-12-03 16:14:10,977 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28932398-80148632 passed 2025-12-03 16:14:11,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:14:11,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28932398-80148632, IP 219.149.76.3, Port 22 2025-12-03 16:14:11,292 - DEBUG - VM ctest-TestBasicPolicy-28932398-80148632 is ready for SSH connections 2025-12-03 16:14:11,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:14:11,292 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.149.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 16:14:11,292 - DEBUG - ping -s 56 -c 3 -W 1 219.149.76.3 2025-12-03 16:14:15,387 - DEBUG - PING 219.149.76.3 (219.149.76.3): 56 data bytes 64 bytes from 219.149.76.3: seq=0 ttl=63 time=3.971 ms 64 bytes from 219.149.76.3: seq=1 ttl=63 time=0.972 ms 64 bytes from 219.149.76.3: seq=2 ttl=63 time=0.936 ms --- 219.149.76.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/1.959/3.971 ms 2025-12-03 16:14:15,387 - INFO - Ping to IP 219.149.76.3 from VM ctest-TestBasicPolicy-28932398-84056447 passed 2025-12-03 16:14:15,565 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d31ea95c-f2cd-4274-b87d-ba163a5b16aa", "href": "http://10.0.0.38:8082/network-policy/d31ea95c-f2cd-4274-b87d-ba163a5b16aa"}} 2025-12-03 16:14:15,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:14:15,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.149.76.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 16:14:15,566 - DEBUG - ping -s 56 -c 3 -W 1 219.149.76.3 2025-12-03 16:14:18,812 - DEBUG - PING 219.149.76.3 (219.149.76.3): 56 data bytes --- 219.149.76.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-03 16:14:18,812 - WARNING - Ping to IP 219.149.76.3 from VM ctest-TestBasicPolicy-28932398-84056447 failed 2025-12-03 16:14:18,812 - INFO - Deleting VM ctest-TestBasicPolicy-28932398-80148632 2025-12-03 16:14:18,893 - INFO - Deleting VM ctest-TestBasicPolicy-28932398-84056447 2025-12-03 16:14:19,277 - INFO - Deleted policy ctest-policy-allow-all-59759476 2025-12-03 16:14:19,277 - INFO - Deleting VN ctest-vn-62413852 2025-12-03 16:14:19,316 - DEBUG - VN 7270dcfd-9654-4279-a8e1-1559ebdef75e still in use: Unable to complete operation on network 7270dcfd-9654-4279-a8e1-1559ebdef75e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-99756eef-7724-41e6-80da-fffea4dee55e'] 2025-12-03 16:14:19,316 - WARNING - Deleting VN ctest-vn-62413852 failed..Will retry 2025-12-03 16:14:21,422 - DEBUG - Response for deleting network () 2025-12-03 16:14:21,423 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e574977-b129-4ca9-bfb3-f7b4aaad6c43 2025-12-03 16:14:21,430 - DEBUG - Response Code: 404 2025-12-03 16:14:21,430 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 16:14:21,436 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f77dd78b-3865-45a3-9696-0b2dabce60bd 2025-12-03 16:14:21,488 - DEBUG - Requesting: http://10.0.0.38:8082/project/4cfc3155-9ec4-4d12-a825-f38877d4382d 2025-12-03 16:14:21,565 - INFO - Validated that VN ctest-vn-62413852 is not found in API Server 2025-12-03 16:14:21,575 - DEBUG - VN ctest-vn-62413852 is not present in Agent 10.0.0.38 2025-12-03 16:14:21,575 - INFO - Validated that VN ctest-vn-62413852 is not in any agent 2025-12-03 16:14:21,589 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62413852 info 2025-12-03 16:14:21,589 - INFO - Deleting VN ctest-vn-87907190 2025-12-03 16:14:21,699 - DEBUG - Response for deleting network () 2025-12-03 16:14:21,700 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/50609958-715c-4b91-9359-6bc9f39f6f1c 2025-12-03 16:14:21,706 - DEBUG - Response Code: 404 2025-12-03 16:14:21,706 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 16:14:21,714 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f77dd78b-3865-45a3-9696-0b2dabce60bd 2025-12-03 16:14:21,766 - DEBUG - Requesting: http://10.0.0.38:8082/project/4cfc3155-9ec4-4d12-a825-f38877d4382d 2025-12-03 16:14:21,837 - INFO - Validated that VN ctest-vn-87907190 is not found in API Server 2025-12-03 16:14:21,849 - DEBUG - VN ctest-vn-87907190 is not present in Agent 10.0.0.38 2025-12-03 16:14:21,849 - INFO - Validated that VN ctest-vn-87907190 is not in any agent 2025-12-03 16:14:21,866 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87907190 info 2025-12-03 16:14:22,120 - DEBUG - No XMPP flaps were noticed during the test
2025-12-03 16:14:22,120 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-03 16:14:22,120 - INFO - -------------------------------------------------------------------------------- 2025-12-03 16:14:22,847 - INFO - Deleted project: ctest-TestBasicPolicy-28932398, ID : 4cfc3155-9ec4-4d12-a825-f38877d4382d