2025-11-17 20:45:58,777 - INFO - Domain Default found not creating 2025-11-17 20:45:58,944 - INFO - Project ctest-TestBasicPolicy-21009898 not found, creating it 2025-11-17 20:45:59,410 - INFO - Created Project:ctest-TestBasicPolicy-21009898, ID : c28b4c1d-3304-49c5-8492-22dfe63d8497 2025-11-17 20:46:00,971 - INFO - ================================================================================ 2025-11-17 20:46:00,971 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 20:46:00,971 - 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-11-17 20:46:01,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-17 20:46:01,231 - INFO - Initial checks done. Running the testcase now 2025-11-17 20:46:01,231 - INFO - 2025-11-17 20:46:01,852 - DEBUG - Response for create_network : {'network': {'id': '2e66b97d-e183-4849-ae10-8f784e777f88', 'name': 'ctest-vn-34492353', 'tenant_id': 'c28b4c1d330449c5849222dfe63d8497', 'project_id': 'c28b4c1d330449c5849222dfe63d8497', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21009898', 'ctest-vn-34492353'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:46:02,028 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfee3211-e7f9-4db1-8d4a-578e41070883', 'name': '', 'tenant_id': 'c28b4c1d330449c5849222dfe63d8497', 'network_id': '2e66b97d-e183-4849-ae10-8f784e777f88', 'ip_version': 4, 'cidr': '129.40.196.0/26', 'allocation_pools': [{'start': '129.40.196.2', 'end': '129.40.196.62'}], 'gateway_ip': '129.40.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.40.196.2', 'tags': [], 'project_id': 'c28b4c1d330449c5849222dfe63d8497'}} 2025-11-17 20:46:02,052 - INFO - Created VN ctest-vn-34492353 2025-11-17 20:46:02,104 - DEBUG - VN ctest-vn-34492353 UUID is 2e66b97d-e183-4849-ae10-8f784e777f88 2025-11-17 20:46:02,447 - DEBUG - Response for create_network : {'network': {'id': 'e088051d-e74b-4934-b27d-6493a4fd678a', 'name': 'ctest-vn-31557610', 'tenant_id': 'c28b4c1d330449c5849222dfe63d8497', 'project_id': 'c28b4c1d330449c5849222dfe63d8497', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21009898', 'ctest-vn-31557610'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:46:02,636 - DEBUG - Response for create_subnet : {'subnet': {'id': '22b7a6f6-a386-4da0-ba3f-18daf37c4087', 'name': '', 'tenant_id': 'c28b4c1d330449c5849222dfe63d8497', 'network_id': 'e088051d-e74b-4934-b27d-6493a4fd678a', 'ip_version': 4, 'cidr': '6.251.37.128/26', 'allocation_pools': [{'start': '6.251.37.130', 'end': '6.251.37.190'}], 'gateway_ip': '6.251.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.251.37.130', 'tags': [], 'project_id': 'c28b4c1d330449c5849222dfe63d8497'}} 2025-11-17 20:46:02,658 - INFO - Created VN ctest-vn-31557610 2025-11-17 20:46:02,712 - DEBUG - VN ctest-vn-31557610 UUID is e088051d-e74b-4934-b27d-6493a4fd678a 2025-11-17 20:46:02,836 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-34492353, 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-21009898:ctest-vn-31557610, 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-11-17 20:46:03,133 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e66b97d-e183-4849-ae10-8f784e777f88', 'name': 'ctest-vn-34492353', 'tenant_id': 'c28b4c1d330449c5849222dfe63d8497', 'project_id': 'c28b4c1d330449c5849222dfe63d8497', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bfee3211-e7f9-4db1-8d4a-578e41070883'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21009898', 'ctest-vn-34492353'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21009898', 'ctest-policy-allow-all-75533831']], 'subnet_ipam': [{'subnet_cidr': '129.40.196.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:46:03,429 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e088051d-e74b-4934-b27d-6493a4fd678a', 'name': 'ctest-vn-31557610', 'tenant_id': 'c28b4c1d330449c5849222dfe63d8497', 'project_id': 'c28b4c1d330449c5849222dfe63d8497', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22b7a6f6-a386-4da0-ba3f-18daf37c4087'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21009898', 'ctest-vn-31557610'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21009898', 'ctest-policy-allow-all-75533831']], 'subnet_ipam': [{'subnet_cidr': '6.251.37.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:46:03,588 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 20:46:03,884 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 20:46:03,920 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5fa1d011-9ea8-4632-ba8d-0e667b6ce2c5 2025-11-17 20:46:03,934 - DEBUG - Requesting: http://10.0.0.33:8082/project/c28b4c1d-3304-49c5-8492-22dfe63d8497 2025-11-17 20:46:04,022 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2e66b97d-e183-4849-ae10-8f784e777f88 2025-11-17 20:46:04,036 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2e66b97d-e183-4849-ae10-8f784e777f88 2025-11-17 20:46:04,047 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f235ef56-560a-4482-a14f-55ba862d6ffe 2025-11-17 20:46:04,056 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f235ef56-560a-4482-a14f-55ba862d6ffe 2025-11-17 20:46:04,065 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2593516a-6bc0-471c-9fdf-d01e3a10a818 2025-11-17 20:46:04,075 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 20:46:04,075 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2e66b97d-e183-4849-ae10-8f784e777f88 2025-11-17 20:46:04,087 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f235ef56-560a-4482-a14f-55ba862d6ffe 2025-11-17 20:46:04,103 - INFO - Verified VN network id 12 for VN 2e66b97d-e183-4849-ae10-8f784e777f88 2025-11-17 20:46:04,104 - INFO - Verifications in API Server for VN ctest-vn-34492353 passed 2025-11-17 20:46:04,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2e66b97d-e183-4849-ae10-8f784e777f88 2025-11-17 20:46:04,116 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f235ef56-560a-4482-a14f-55ba862d6ffe 2025-11-17 20:46:04,125 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f235ef56-560a-4482-a14f-55ba862d6ffe 2025-11-17 20:46:04,132 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2593516a-6bc0-471c-9fdf-d01e3a10a818 2025-11-17 20:46:04,144 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-34492353', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21009898', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3343563723674699849', 'uuid-lslong': '12542682709102133128'}, 'enable': 'true', 'created': '2025-11-17T20:46:01', 'last-modified': '2025-11-17T20:46:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.033061'} 2025-11-17 20:46:04,152 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 20:46:04,152 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34492353 passed 2025-11-17 20:46:04,152 - DEBUG - ====Verifying policy data for ctest-vn-34492353 in API_Server ====== 2025-11-17 20:46:04,152 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 20:46:04,158 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5fa1d011-9ea8-4632-ba8d-0e667b6ce2c5 2025-11-17 20:46:04,173 - DEBUG - Requesting: http://10.0.0.33:8082/project/c28b4c1d-3304-49c5-8492-22dfe63d8497 2025-11-17 20:46:04,250 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2e66b97d-e183-4849-ae10-8f784e777f88 2025-11-17 20:46:04,261 - DEBUG - ==>Verifying data for policy with id: bdf7020c-60bf-4505-a604-225742ebda0f, fqn: ['default-domain', 'ctest-TestBasicPolicy-21009898', 'ctest-policy-allow-all-75533831'] 2025-11-17 20:46:04,261 - INFO - VN ctest-vn-34492353 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 20:46:04,261 - DEBUG - Verifying the vn in opserver 2025-11-17 20:46:04,261 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-34492353 virtual network link through opserver 10.0.0.33 2025-11-17 20:46:04,261 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 20:46:04,567 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 20:46:04,633 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-34492353', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-34492353?flat'} 2025-11-17 20:46:04,633 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-34492353 is found in opserver 2025-11-17 20:46:04,645 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 20:46:04,650 - DEBUG - VRF ids for VN ctest-vn-34492353: {} 2025-11-17 20:46:04,651 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 20:46:04,657 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5fa1d011-9ea8-4632-ba8d-0e667b6ce2c5 2025-11-17 20:46:04,672 - DEBUG - Requesting: http://10.0.0.33:8082/project/c28b4c1d-3304-49c5-8492-22dfe63d8497 2025-11-17 20:46:04,743 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e088051d-e74b-4934-b27d-6493a4fd678a 2025-11-17 20:46:04,755 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e088051d-e74b-4934-b27d-6493a4fd678a 2025-11-17 20:46:04,766 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e883620-777a-4cc6-9bf3-95fc9ae77b78 2025-11-17 20:46:04,774 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e883620-777a-4cc6-9bf3-95fc9ae77b78 2025-11-17 20:46:04,781 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5257926e-3216-4006-a98d-d195e7bc076a 2025-11-17 20:46:04,788 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 20:46:04,788 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e088051d-e74b-4934-b27d-6493a4fd678a 2025-11-17 20:46:04,797 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e883620-777a-4cc6-9bf3-95fc9ae77b78 2025-11-17 20:46:04,812 - INFO - Verified VN network id 13 for VN e088051d-e74b-4934-b27d-6493a4fd678a 2025-11-17 20:46:04,813 - INFO - Verifications in API Server for VN ctest-vn-31557610 passed 2025-11-17 20:46:04,813 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e088051d-e74b-4934-b27d-6493a4fd678a 2025-11-17 20:46:04,824 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e883620-777a-4cc6-9bf3-95fc9ae77b78 2025-11-17 20:46:04,832 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e883620-777a-4cc6-9bf3-95fc9ae77b78 2025-11-17 20:46:04,841 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5257926e-3216-4006-a98d-d195e7bc076a 2025-11-17 20:46:04,855 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-31557610', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21009898', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16179187287321168180', 'uuid-lslong': '12861546696131045258'}, 'enable': 'true', 'created': '2025-11-17T20:46:02', 'last-modified': '2025-11-17T20:46:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.511975'} 2025-11-17 20:46:04,861 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 20:46:04,861 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31557610 passed 2025-11-17 20:46:04,861 - DEBUG - ====Verifying policy data for ctest-vn-31557610 in API_Server ====== 2025-11-17 20:46:04,862 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 20:46:04,868 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5fa1d011-9ea8-4632-ba8d-0e667b6ce2c5 2025-11-17 20:46:04,881 - DEBUG - Requesting: http://10.0.0.33:8082/project/c28b4c1d-3304-49c5-8492-22dfe63d8497 2025-11-17 20:46:04,958 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e088051d-e74b-4934-b27d-6493a4fd678a 2025-11-17 20:46:04,967 - DEBUG - ==>Verifying data for policy with id: bdf7020c-60bf-4505-a604-225742ebda0f, fqn: ['default-domain', 'ctest-TestBasicPolicy-21009898', 'ctest-policy-allow-all-75533831'] 2025-11-17 20:46:04,967 - INFO - VN ctest-vn-31557610 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 20:46:04,967 - DEBUG - Verifying the vn in opserver 2025-11-17 20:46:04,967 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-31557610 virtual network link through opserver 10.0.0.33 2025-11-17 20:46:04,967 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 20:46:04,979 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-31557610', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-31557610?flat'} 2025-11-17 20:46:04,979 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-31557610 is found in opserver 2025-11-17 20:46:04,990 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 20:46:04,996 - DEBUG - VRF ids for VN ctest-vn-31557610: {} 2025-11-17 20:46:05,063 - DEBUG - Services list from nova: [, , ] 2025-11-17 20:46:06,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4747-1) 2025-11-17 20:46:07,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4747-1) 2025-11-17 20:46:07,413 - INFO - Waiting for VM ctest-TestBasicPolicy-21009898-43965693 to be up.. 2025-11-17 20:46:07,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 20:46:12,599 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:46:12,599 - INFO - VM name : ctest-TestBasicPolicy-21009898-43965693 2025-11-17 20:46:12,672 - DEBUG - VM ctest-TestBasicPolicy-21009898-43965693 ID is 94ca6c8e-edfc-407f-acf2-ff9f092dfec2 2025-11-17 20:46:12,700 - DEBUG - VM ctest-TestBasicPolicy-21009898-43965693 launched on Node cn-jenkins-deploy-platform-ansible-os-4747-1 2025-11-17 20:46:12,792 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/94ca6c8e-edfc-407f-acf2-ff9f092dfec2 2025-11-17 20:46:12,800 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f8d70711-d6bc-4090-97d5-caf1e5d171f5 2025-11-17 20:46:16,061 - 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 1020ms') 2025-11-17 20:46:16,062 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21009898-43965693 failed! 2025-11-17 20:46:16,116 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21009898:ctest-vn-34492353 is 129.40.196.1 and allocation pool is NOT set 2025-11-17 20:46:18,182 - 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=11.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.962 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.962/6.367/11.773/5.405 ms') 2025-11-17 20:46:18,183 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21009898-43965693 passed 2025-11-17 20:46:18,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:46:18,332 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21009898-43965693, IP 129.40.196.3, Port 22 2025-11-17 20:46:18,402 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-17 20:46:18,483 - DEBUG - VM ctest-TestBasicPolicy-21009898-43965693 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 20:46:23,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:46:23,484 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21009898-43965693, IP 129.40.196.3, Port 22 2025-11-17 20:46:23,650 - DEBUG - VM ctest-TestBasicPolicy-21009898-43965693 is ready for SSH connections 2025-11-17 20:46:23,650 - INFO - Waiting for VM ctest-TestBasicPolicy-21009898-36783701 to be up.. 2025-11-17 20:46:23,729 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:46:23,729 - INFO - VM name : ctest-TestBasicPolicy-21009898-36783701 2025-11-17 20:46:23,798 - DEBUG - VM ctest-TestBasicPolicy-21009898-36783701 ID is 5e94a514-bc6b-4cd5-a0b6-618030ebd27f 2025-11-17 20:46:23,798 - DEBUG - VM ctest-TestBasicPolicy-21009898-36783701 launched on Node cn-jenkins-deploy-platform-ansible-os-4747-1 2025-11-17 20:46:23,872 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5e94a514-bc6b-4cd5-a0b6-618030ebd27f 2025-11-17 20:46:23,881 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/16fa02e9-b559-4061-b3e3-609d4ecd14f0 2025-11-17 20:46:25,123 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/2.195/3.895/1.699 ms') 2025-11-17 20:46:25,123 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21009898-36783701 passed 2025-11-17 20:46:25,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:46:25,272 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21009898-36783701, IP 6.251.37.131, Port 22 2025-11-17 20:46:25,446 - DEBUG - VM ctest-TestBasicPolicy-21009898-36783701 is ready for SSH connections 2025-11-17 20:46:25,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:46:25,446 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.251.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 20:46:25,446 - DEBUG - ping -s 56 -c 3 -W 1 6.251.37.131 2025-11-17 20:46:29,476 - DEBUG - PING 6.251.37.131 (6.251.37.131): 56 data bytes 64 bytes from 6.251.37.131: seq=0 ttl=63 time=3.461 ms 64 bytes from 6.251.37.131: seq=1 ttl=63 time=1.036 ms 64 bytes from 6.251.37.131: seq=2 ttl=63 time=0.988 ms --- 6.251.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.988/1.828/3.461 ms 2025-11-17 20:46:29,476 - INFO - Ping to IP 6.251.37.131 from VM ctest-TestBasicPolicy-21009898-43965693 passed 2025-11-17 20:46:29,663 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bdf7020c-60bf-4505-a604-225742ebda0f", "href": "http://10.0.0.33:8082/network-policy/bdf7020c-60bf-4505-a604-225742ebda0f"}} 2025-11-17 20:46:29,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:46:29,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.251.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 20:46:29,664 - DEBUG - ping -s 56 -c 3 -W 1 6.251.37.131 2025-11-17 20:46:32,885 - DEBUG - PING 6.251.37.131 (6.251.37.131): 56 data bytes --- 6.251.37.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 20:46:32,886 - WARNING - Ping to IP 6.251.37.131 from VM ctest-TestBasicPolicy-21009898-43965693 failed 2025-11-17 20:46:32,886 - INFO - Deleting VM ctest-TestBasicPolicy-21009898-36783701 2025-11-17 20:46:32,960 - INFO - Deleting VM ctest-TestBasicPolicy-21009898-43965693 2025-11-17 20:46:33,388 - INFO - Deleted policy ctest-policy-allow-all-75533831 2025-11-17 20:46:33,388 - INFO - Deleting VN ctest-vn-31557610 2025-11-17 20:46:33,431 - DEBUG - VN e088051d-e74b-4934-b27d-6493a4fd678a still in use: Unable to complete operation on network e088051d-e74b-4934-b27d-6493a4fd678a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f034716a-f2c1-498e-9a5d-5c303990ef79'] 2025-11-17 20:46:33,431 - WARNING - Deleting VN ctest-vn-31557610 failed..Will retry 2025-11-17 20:46:35,581 - DEBUG - Response for deleting network () 2025-11-17 20:46:35,581 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e883620-777a-4cc6-9bf3-95fc9ae77b78 2025-11-17 20:46:35,592 - DEBUG - Response Code: 404 2025-11-17 20:46:35,593 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 20:46:35,603 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5fa1d011-9ea8-4632-ba8d-0e667b6ce2c5 2025-11-17 20:46:35,658 - DEBUG - Requesting: http://10.0.0.33:8082/project/c28b4c1d-3304-49c5-8492-22dfe63d8497 2025-11-17 20:46:35,738 - INFO - Validated that VN ctest-vn-31557610 is not found in API Server 2025-11-17 20:46:35,750 - DEBUG - VN ctest-vn-31557610 is not present in Agent 10.0.0.33 2025-11-17 20:46:35,750 - INFO - Validated that VN ctest-vn-31557610 is not in any agent 2025-11-17 20:46:35,768 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31557610 info 2025-11-17 20:46:35,768 - INFO - Deleting VN ctest-vn-34492353 2025-11-17 20:46:35,881 - DEBUG - Response for deleting network () 2025-11-17 20:46:35,882 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f235ef56-560a-4482-a14f-55ba862d6ffe 2025-11-17 20:46:35,888 - DEBUG - Response Code: 404 2025-11-17 20:46:35,888 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 20:46:35,895 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5fa1d011-9ea8-4632-ba8d-0e667b6ce2c5 2025-11-17 20:46:35,953 - DEBUG - Requesting: http://10.0.0.33:8082/project/c28b4c1d-3304-49c5-8492-22dfe63d8497 2025-11-17 20:46:36,040 - INFO - Validated that VN ctest-vn-34492353 is not found in API Server 2025-11-17 20:46:36,051 - DEBUG - VN ctest-vn-34492353 is not present in Agent 10.0.0.33 2025-11-17 20:46:36,052 - INFO - Validated that VN ctest-vn-34492353 is not in any agent 2025-11-17 20:46:36,066 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34492353 info 2025-11-17 20:46:36,341 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:46:36,341 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-11-17 20:46:36,341 - INFO - -------------------------------------------------------------------------------- 2025-11-17 20:46:37,058 - INFO - Deleted project: ctest-TestBasicPolicy-21009898, ID : c28b4c1d-3304-49c5-8492-22dfe63d8497