2026-05-27 13:34:35,945 - INFO - Domain Default found not creating 2026-05-27 13:34:36,171 - INFO - Project ctest-TestBasicPolicy-86566923 not found, creating it 2026-05-27 13:34:36,697 - INFO - Created Project:ctest-TestBasicPolicy-86566923, ID : bde51e49-ed6d-401d-90c7-3f83d29d9d42 2026-05-27 13:34:38,875 - INFO - ================================================================================ 2026-05-27 13:34:38,875 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-27 13:34:38,875 - 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 2026-05-27 13:34:39,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-05-27 13:34:39,154 - INFO - Initial checks done. Running the testcase now 2026-05-27 13:34:39,154 - INFO - 2026-05-27 13:34:39,871 - DEBUG - Response for create_network : {'network': {'id': '7f858ff1-9cb5-4de3-8588-ba2d8f8a3532', 'name': 'ctest-vn-97133845', 'tenant_id': 'bde51e49ed6d401d90c73f83d29d9d42', 'project_id': 'bde51e49ed6d401d90c73f83d29d9d42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86566923', 'ctest-vn-97133845'], 'port_security_enabled': True, 'description': ''}} 2026-05-27 13:34:40,062 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b267a0b6-f598-4144-b5db-836eff0cb3d2', 'name': '', 'tenant_id': 'bde51e49ed6d401d90c73f83d29d9d42', 'network_id': '7f858ff1-9cb5-4de3-8588-ba2d8f8a3532', 'ip_version': 4, 'cidr': '223.65.139.0/26', 'allocation_pools': [{'start': '223.65.139.2', 'end': '223.65.139.62'}], 'gateway_ip': '223.65.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.65.139.2', 'tags': [], 'project_id': 'bde51e49ed6d401d90c73f83d29d9d42'}} 2026-05-27 13:34:40,087 - INFO - Created VN ctest-vn-97133845 2026-05-27 13:34:40,141 - DEBUG - VN ctest-vn-97133845 UUID is 7f858ff1-9cb5-4de3-8588-ba2d8f8a3532 2026-05-27 13:34:40,489 - DEBUG - Response for create_network : {'network': {'id': '110d6747-44ea-4d72-ad1a-7dc650df2375', 'name': 'ctest-vn-31779306', 'tenant_id': 'bde51e49ed6d401d90c73f83d29d9d42', 'project_id': 'bde51e49ed6d401d90c73f83d29d9d42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86566923', 'ctest-vn-31779306'], 'port_security_enabled': True, 'description': ''}} 2026-05-27 13:34:40,730 - DEBUG - Response for create_subnet : {'subnet': {'id': '9226d2f3-dc26-40a2-afc0-468485f04d80', 'name': '', 'tenant_id': 'bde51e49ed6d401d90c73f83d29d9d42', 'network_id': '110d6747-44ea-4d72-ad1a-7dc650df2375', 'ip_version': 4, 'cidr': '177.70.138.64/26', 'allocation_pools': [{'start': '177.70.138.66', 'end': '177.70.138.126'}], 'gateway_ip': '177.70.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.70.138.66', 'tags': [], 'project_id': 'bde51e49ed6d401d90c73f83d29d9d42'}} 2026-05-27 13:34:40,753 - INFO - Created VN ctest-vn-31779306 2026-05-27 13:34:40,805 - DEBUG - VN ctest-vn-31779306 UUID is 110d6747-44ea-4d72-ad1a-7dc650df2375 2026-05-27 13:34:40,934 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-97133845, 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-86566923:ctest-vn-31779306, 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] 2026-05-27 13:34:41,255 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f858ff1-9cb5-4de3-8588-ba2d8f8a3532', 'name': 'ctest-vn-97133845', 'tenant_id': 'bde51e49ed6d401d90c73f83d29d9d42', 'project_id': 'bde51e49ed6d401d90c73f83d29d9d42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b267a0b6-f598-4144-b5db-836eff0cb3d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86566923', 'ctest-vn-97133845'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86566923', 'ctest-policy-allow-all-03125780']], 'subnet_ipam': [{'subnet_cidr': '223.65.139.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-27 13:34:41,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '110d6747-44ea-4d72-ad1a-7dc650df2375', 'name': 'ctest-vn-31779306', 'tenant_id': 'bde51e49ed6d401d90c73f83d29d9d42', 'project_id': 'bde51e49ed6d401d90c73f83d29d9d42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9226d2f3-dc26-40a2-afc0-468485f04d80'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86566923', 'ctest-vn-31779306'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86566923', 'ctest-policy-allow-all-03125780']], 'subnet_ipam': [{'subnet_cidr': '177.70.138.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-27 13:34:41,681 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-27 13:34:42,028 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-27 13:34:42,064 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fb3a4903-63b4-49fa-8a08-6e7d69533a1e 2026-05-27 13:34:42,078 - DEBUG - Requesting: http://10.0.0.242:8082/project/bde51e49-ed6d-401d-90c7-3f83d29d9d42 2026-05-27 13:34:42,155 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7f858ff1-9cb5-4de3-8588-ba2d8f8a3532 2026-05-27 13:34:42,167 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7f858ff1-9cb5-4de3-8588-ba2d8f8a3532 2026-05-27 13:34:42,178 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0bb83a4-5adf-41b3-b10e-2f84e409fdd2 2026-05-27 13:34:42,186 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0bb83a4-5adf-41b3-b10e-2f84e409fdd2 2026-05-27 13:34:42,192 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/92bcd3f6-1fd2-4239-bf76-7e2796379e67 2026-05-27 13:34:42,198 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-27 13:34:42,198 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7f858ff1-9cb5-4de3-8588-ba2d8f8a3532 2026-05-27 13:34:42,209 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0bb83a4-5adf-41b3-b10e-2f84e409fdd2 2026-05-27 13:34:42,226 - INFO - Verified VN network id 12 for VN 7f858ff1-9cb5-4de3-8588-ba2d8f8a3532 2026-05-27 13:34:42,226 - INFO - Verifications in API Server for VN ctest-vn-97133845 passed 2026-05-27 13:34:42,226 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7f858ff1-9cb5-4de3-8588-ba2d8f8a3532 2026-05-27 13:34:42,237 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0bb83a4-5adf-41b3-b10e-2f84e409fdd2 2026-05-27 13:34:42,245 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0bb83a4-5adf-41b3-b10e-2f84e409fdd2 2026-05-27 13:34:42,253 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/92bcd3f6-1fd2-4239-bf76-7e2796379e67 2026-05-27 13:34:42,266 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-97133845', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86566923', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9188908882598383075', 'uuid-lslong': '9622145308721558834'}, 'enable': 'true', 'created': '2026-05-27T13:34:39', 'last-modified': '2026-05-27T13:34:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.042812'} 2026-05-27 13:34:42,272 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-27 13:34:42,272 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97133845 passed 2026-05-27 13:34:42,273 - DEBUG - ====Verifying policy data for ctest-vn-97133845 in API_Server ====== 2026-05-27 13:34:42,273 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-27 13:34:42,279 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fb3a4903-63b4-49fa-8a08-6e7d69533a1e 2026-05-27 13:34:42,290 - DEBUG - Requesting: http://10.0.0.242:8082/project/bde51e49-ed6d-401d-90c7-3f83d29d9d42 2026-05-27 13:34:42,374 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7f858ff1-9cb5-4de3-8588-ba2d8f8a3532 2026-05-27 13:34:42,385 - DEBUG - ==>Verifying data for policy with id: c59883ff-029e-47ad-90e5-30d3ab2108d5, fqn: ['default-domain', 'ctest-TestBasicPolicy-86566923', 'ctest-policy-allow-all-03125780'] 2026-05-27 13:34:42,385 - INFO - VN ctest-vn-97133845 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-27 13:34:42,385 - DEBUG - Verifying the vn in opserver 2026-05-27 13:34:42,385 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-97133845 virtual network link through opserver 10.0.0.242 2026-05-27 13:34:42,385 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-27 13:34:42,732 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-27 13:34:42,814 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-97133845', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-97133845?flat'} 2026-05-27 13:34:42,814 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-97133845 is found in opserver 2026-05-27 13:34:42,829 - DEBUG - Do not have enough data to verify VN in agent 2026-05-27 13:34:42,836 - DEBUG - VRF ids for VN ctest-vn-97133845: {} 2026-05-27 13:34:42,836 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-27 13:34:42,843 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fb3a4903-63b4-49fa-8a08-6e7d69533a1e 2026-05-27 13:34:42,858 - DEBUG - Requesting: http://10.0.0.242:8082/project/bde51e49-ed6d-401d-90c7-3f83d29d9d42 2026-05-27 13:34:42,934 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/110d6747-44ea-4d72-ad1a-7dc650df2375 2026-05-27 13:34:42,948 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/110d6747-44ea-4d72-ad1a-7dc650df2375 2026-05-27 13:34:42,960 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/cc957c90-086e-4410-83b1-39023792942b 2026-05-27 13:34:42,969 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/cc957c90-086e-4410-83b1-39023792942b 2026-05-27 13:34:42,978 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/c108c561-c199-4dbe-835e-021c6a48075b 2026-05-27 13:34:42,987 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-27 13:34:42,987 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/110d6747-44ea-4d72-ad1a-7dc650df2375 2026-05-27 13:34:42,997 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/cc957c90-086e-4410-83b1-39023792942b 2026-05-27 13:34:43,014 - INFO - Verified VN network id 13 for VN 110d6747-44ea-4d72-ad1a-7dc650df2375 2026-05-27 13:34:43,014 - INFO - Verifications in API Server for VN ctest-vn-31779306 passed 2026-05-27 13:34:43,014 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/110d6747-44ea-4d72-ad1a-7dc650df2375 2026-05-27 13:34:43,025 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/cc957c90-086e-4410-83b1-39023792942b 2026-05-27 13:34:43,033 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/cc957c90-086e-4410-83b1-39023792942b 2026-05-27 13:34:43,041 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/c108c561-c199-4dbe-835e-021c6a48075b 2026-05-27 13:34:43,053 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-31779306', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86566923', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1228751829138558322', 'uuid-lslong': '12473420408669807477'}, 'enable': 'true', 'created': '2026-05-27T13:34:40', 'last-modified': '2026-05-27T13:34:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.583066'} 2026-05-27 13:34:43,059 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-27 13:34:43,059 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31779306 passed 2026-05-27 13:34:43,059 - DEBUG - ====Verifying policy data for ctest-vn-31779306 in API_Server ====== 2026-05-27 13:34:43,060 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-27 13:34:43,065 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fb3a4903-63b4-49fa-8a08-6e7d69533a1e 2026-05-27 13:34:43,080 - DEBUG - Requesting: http://10.0.0.242:8082/project/bde51e49-ed6d-401d-90c7-3f83d29d9d42 2026-05-27 13:34:43,154 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/110d6747-44ea-4d72-ad1a-7dc650df2375 2026-05-27 13:34:43,164 - DEBUG - ==>Verifying data for policy with id: c59883ff-029e-47ad-90e5-30d3ab2108d5, fqn: ['default-domain', 'ctest-TestBasicPolicy-86566923', 'ctest-policy-allow-all-03125780'] 2026-05-27 13:34:43,164 - INFO - VN ctest-vn-31779306 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-27 13:34:43,164 - DEBUG - Verifying the vn in opserver 2026-05-27 13:34:43,164 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-31779306 virtual network link through opserver 10.0.0.242 2026-05-27 13:34:43,165 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-27 13:34:43,176 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-31779306', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-31779306?flat'} 2026-05-27 13:34:43,176 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-31779306 is found in opserver 2026-05-27 13:34:43,186 - DEBUG - Do not have enough data to verify VN in agent 2026-05-27 13:34:43,191 - DEBUG - VRF ids for VN ctest-vn-31779306: {} 2026-05-27 13:34:43,257 - DEBUG - Services list from nova: [, , ] 2026-05-27 13:34:44,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5830-1) 2026-05-27 13:34:45,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5830-1) 2026-05-27 13:34:45,890 - INFO - Waiting for VM ctest-TestBasicPolicy-86566923-40540010 to be up.. 2026-05-27 13:34:45,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-27 13:34:51,073 - DEBUG - VM is in ACTIVE state now 2026-05-27 13:34:51,074 - INFO - VM name : ctest-TestBasicPolicy-86566923-40540010 2026-05-27 13:34:51,167 - DEBUG - VM ctest-TestBasicPolicy-86566923-40540010 ID is dc811774-efc9-4edb-8467-111d3ef5c082 2026-05-27 13:34:51,189 - DEBUG - VM ctest-TestBasicPolicy-86566923-40540010 launched on Node cn-jenkins-deploy-platform-ansible-os-5830-1 2026-05-27 13:34:51,282 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/dc811774-efc9-4edb-8467-111d3ef5c082 2026-05-27 13:34:51,292 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/78d94642-6173-4515-b9d2-8b5116e6b4e6 2026-05-27 13:34:54,583 - 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 1013ms') 2026-05-27 13:34:54,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86566923-40540010 failed! 2026-05-27 13:34:54,641 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86566923:ctest-vn-97133845 is 223.65.139.1 and allocation pool is NOT set 2026-05-27 13:34:56,703 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=18.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.942 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.942/9.664/18.387/8.722 ms') 2026-05-27 13:34:56,703 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86566923-40540010 passed 2026-05-27 13:34:56,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 13:34:56,857 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86566923-40540010, IP 223.65.139.3, Port 22 2026-05-27 13:34:56,925 - 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': ''} 2026-05-27 13:34:57,042 - DEBUG - VM ctest-TestBasicPolicy-86566923-40540010 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-27 13:35:02,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 13:35:02,043 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86566923-40540010, IP 223.65.139.3, Port 22 2026-05-27 13:35:02,219 - DEBUG - VM ctest-TestBasicPolicy-86566923-40540010 is ready for SSH connections 2026-05-27 13:35:02,219 - INFO - Waiting for VM ctest-TestBasicPolicy-86566923-28764833 to be up.. 2026-05-27 13:35:02,314 - DEBUG - VM is in ACTIVE state now 2026-05-27 13:35:02,314 - INFO - VM name : ctest-TestBasicPolicy-86566923-28764833 2026-05-27 13:35:02,416 - DEBUG - VM ctest-TestBasicPolicy-86566923-28764833 ID is 112f4cef-2514-4db8-8e7e-e3090e628c10 2026-05-27 13:35:02,416 - DEBUG - VM ctest-TestBasicPolicy-86566923-28764833 launched on Node cn-jenkins-deploy-platform-ansible-os-5830-1 2026-05-27 13:35:02,516 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/112f4cef-2514-4db8-8e7e-e3090e628c10 2026-05-27 13:35:02,526 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7ddd183f-eed3-41ba-9660-1b2210a7fb89 2026-05-27 13:35:03,790 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.611 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.611/2.029/3.448/1.418 ms') 2026-05-27 13:35:03,790 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86566923-28764833 passed 2026-05-27 13:35:03,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 13:35:03,945 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86566923-28764833, IP 177.70.138.67, Port 22 2026-05-27 13:35:04,130 - DEBUG - VM ctest-TestBasicPolicy-86566923-28764833 is ready for SSH connections 2026-05-27 13:35:04,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 13:35:04,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.70.138.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-27 13:35:04,131 - DEBUG - ping -s 56 -c 3 -W 1 177.70.138.67 2026-05-27 13:35:08,374 - DEBUG - PING 177.70.138.67 (177.70.138.67): 56 data bytes 64 bytes from 177.70.138.67: seq=0 ttl=63 time=4.363 ms 64 bytes from 177.70.138.67: seq=1 ttl=63 time=1.060 ms 64 bytes from 177.70.138.67: seq=2 ttl=63 time=1.284 ms --- 177.70.138.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/2.235/4.363 ms 2026-05-27 13:35:08,374 - INFO - Ping to IP 177.70.138.67 from VM ctest-TestBasicPolicy-86566923-40540010 passed 2026-05-27 13:35:08,552 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c59883ff-029e-47ad-90e5-30d3ab2108d5", "href": "http://10.0.0.242:8082/network-policy/c59883ff-029e-47ad-90e5-30d3ab2108d5"}} 2026-05-27 13:35:08,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 13:35:08,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.70.138.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-27 13:35:08,553 - DEBUG - ping -s 56 -c 3 -W 1 177.70.138.67 2026-05-27 13:35:11,791 - DEBUG - PING 177.70.138.67 (177.70.138.67): 56 data bytes --- 177.70.138.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-27 13:35:11,791 - WARNING - Ping to IP 177.70.138.67 from VM ctest-TestBasicPolicy-86566923-40540010 failed 2026-05-27 13:35:11,792 - INFO - Deleting VM ctest-TestBasicPolicy-86566923-28764833 2026-05-27 13:35:11,869 - INFO - Deleting VM ctest-TestBasicPolicy-86566923-40540010 2026-05-27 13:35:12,323 - INFO - Deleted policy ctest-policy-allow-all-03125780 2026-05-27 13:35:12,324 - INFO - Deleting VN ctest-vn-31779306 2026-05-27 13:35:12,364 - DEBUG - VN 110d6747-44ea-4d72-ad1a-7dc650df2375 still in use: Unable to complete operation on network 110d6747-44ea-4d72-ad1a-7dc650df2375. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d867f1b-5caa-4433-a87c-b15ff4fe8e97'] 2026-05-27 13:35:12,364 - WARNING - Deleting VN ctest-vn-31779306 failed..Will retry 2026-05-27 13:35:14,483 - DEBUG - Response for deleting network () 2026-05-27 13:35:14,483 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/cc957c90-086e-4410-83b1-39023792942b 2026-05-27 13:35:14,488 - DEBUG - Response Code: 404 2026-05-27 13:35:14,488 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-27 13:35:14,497 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fb3a4903-63b4-49fa-8a08-6e7d69533a1e 2026-05-27 13:35:14,551 - DEBUG - Requesting: http://10.0.0.242:8082/project/bde51e49-ed6d-401d-90c7-3f83d29d9d42 2026-05-27 13:35:14,627 - INFO - Validated that VN ctest-vn-31779306 is not found in API Server 2026-05-27 13:35:14,637 - DEBUG - VN ctest-vn-31779306 is not present in Agent 10.0.0.242 2026-05-27 13:35:14,638 - INFO - Validated that VN ctest-vn-31779306 is not in any agent 2026-05-27 13:35:14,653 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31779306 info 2026-05-27 13:35:14,653 - INFO - Deleting VN ctest-vn-97133845 2026-05-27 13:35:14,782 - DEBUG - Response for deleting network () 2026-05-27 13:35:14,782 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0bb83a4-5adf-41b3-b10e-2f84e409fdd2 2026-05-27 13:35:14,791 - DEBUG - Response Code: 404 2026-05-27 13:35:14,791 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-27 13:35:14,798 - DEBUG - Requesting: http://10.0.0.242:8082/domain/fb3a4903-63b4-49fa-8a08-6e7d69533a1e 2026-05-27 13:35:14,851 - DEBUG - Requesting: http://10.0.0.242:8082/project/bde51e49-ed6d-401d-90c7-3f83d29d9d42 2026-05-27 13:35:14,929 - INFO - Validated that VN ctest-vn-97133845 is not found in API Server 2026-05-27 13:35:14,939 - DEBUG - VN ctest-vn-97133845 is not present in Agent 10.0.0.242 2026-05-27 13:35:14,939 - INFO - Validated that VN ctest-vn-97133845 is not in any agent 2026-05-27 13:35:14,953 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97133845 info 2026-05-27 13:35:15,222 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 13:35:15,222 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2026-05-27 13:35:15,222 - INFO - -------------------------------------------------------------------------------- 2026-05-27 13:35:15,999 - INFO - Deleted project: ctest-TestBasicPolicy-86566923, ID : bde51e49-ed6d-401d-90c7-3f83d29d9d42