2026-01-29 01:02:10,330 - INFO - Domain Default found not creating 2026-01-29 01:02:10,497 - INFO - Project ctest-TestBasicPolicy-46368408 not found, creating it 2026-01-29 01:02:10,984 - INFO - Created Project:ctest-TestBasicPolicy-46368408, ID : 322aab69-4e5d-4664-8830-6781f4abef8a 2026-01-29 01:02:12,570 - INFO - ================================================================================ 2026-01-29 01:02:12,570 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 01:02:12,570 - 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-01-29 01:02:12,825 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-29 01:02:12,825 - INFO - Initial checks done. Running the testcase now 2026-01-29 01:02:12,825 - INFO - 2026-01-29 01:02:13,424 - DEBUG - Response for create_network : {'network': {'id': '7d280152-9103-403a-9884-b718d0698e8e', 'name': 'ctest-vn-03527262', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'project_id': '322aab694e5d466488306781f4abef8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-vn-03527262'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 01:02:13,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c6759af-6340-4fdc-8811-ff7d656fbf18', 'name': '', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'network_id': '7d280152-9103-403a-9884-b718d0698e8e', 'ip_version': 4, 'cidr': '107.16.111.192/26', 'allocation_pools': [{'start': '107.16.111.194', 'end': '107.16.111.254'}], 'gateway_ip': '107.16.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.16.111.194', 'tags': [], 'project_id': '322aab694e5d466488306781f4abef8a'}} 2026-01-29 01:02:13,616 - INFO - Created VN ctest-vn-03527262 2026-01-29 01:02:13,671 - DEBUG - VN ctest-vn-03527262 UUID is 7d280152-9103-403a-9884-b718d0698e8e 2026-01-29 01:02:13,977 - DEBUG - Response for create_network : {'network': {'id': '53e6264d-3134-483b-8da0-0440ee25b2e8', 'name': 'ctest-vn-70152436', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'project_id': '322aab694e5d466488306781f4abef8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-vn-70152436'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 01:02:14,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a62140f-a9b4-4a72-9ac8-d6376a7eb613', 'name': '', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'network_id': '53e6264d-3134-483b-8da0-0440ee25b2e8', 'ip_version': 4, 'cidr': '4.231.249.64/26', 'allocation_pools': [{'start': '4.231.249.66', 'end': '4.231.249.126'}], 'gateway_ip': '4.231.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.231.249.66', 'tags': [], 'project_id': '322aab694e5d466488306781f4abef8a'}} 2026-01-29 01:02:14,213 - INFO - Created VN ctest-vn-70152436 2026-01-29 01:02:14,267 - DEBUG - VN ctest-vn-70152436 UUID is 53e6264d-3134-483b-8da0-0440ee25b2e8 2026-01-29 01:02:14,388 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262, 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-46368408:ctest-vn-70152436, 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-01-29 01:02:14,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d280152-9103-403a-9884-b718d0698e8e', 'name': 'ctest-vn-03527262', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'project_id': '322aab694e5d466488306781f4abef8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c6759af-6340-4fdc-8811-ff7d656fbf18'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-vn-03527262'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-policy-allow-all-68196776']], 'subnet_ipam': [{'subnet_cidr': '107.16.111.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 01:02:14,902 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53e6264d-3134-483b-8da0-0440ee25b2e8', 'name': 'ctest-vn-70152436', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'project_id': '322aab694e5d466488306781f4abef8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a62140f-a9b4-4a72-9ac8-d6376a7eb613'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-vn-70152436'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-policy-allow-all-68196776']], 'subnet_ipam': [{'subnet_cidr': '4.231.249.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 01:02:15,050 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 01:02:15,403 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 01:02:15,437 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bee51af8-9885-4bc1-ae81-663ad207ab57 2026-01-29 01:02:15,452 - DEBUG - Requesting: http://10.0.0.50:8082/project/322aab69-4e5d-4664-8830-6781f4abef8a 2026-01-29 01:02:15,527 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7d280152-9103-403a-9884-b718d0698e8e 2026-01-29 01:02:15,539 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7d280152-9103-403a-9884-b718d0698e8e 2026-01-29 01:02:15,550 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652 2026-01-29 01:02:15,557 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652 2026-01-29 01:02:15,564 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/63c703d5-4810-4f93-b9bc-6a41fae7db30 2026-01-29 01:02:15,571 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 01:02:15,571 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7d280152-9103-403a-9884-b718d0698e8e 2026-01-29 01:02:15,580 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652 2026-01-29 01:02:15,595 - INFO - Verified VN network id 11 for VN 7d280152-9103-403a-9884-b718d0698e8e 2026-01-29 01:02:15,595 - INFO - Verifications in API Server for VN ctest-vn-03527262 passed 2026-01-29 01:02:15,595 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7d280152-9103-403a-9884-b718d0698e8e 2026-01-29 01:02:15,605 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652 2026-01-29 01:02:15,612 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652 2026-01-29 01:02:15,619 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/63c703d5-4810-4f93-b9bc-6a41fae7db30 2026-01-29 01:02:15,633 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46368408', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9018459707941273658', 'uuid-lslong': '10990110307894529678'}, 'enable': 'true', 'created': '2026-01-29T01:02:13', 'last-modified': '2026-01-29T01:02:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976812'} 2026-01-29 01:02:15,639 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 01:02:15,639 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03527262 passed 2026-01-29 01:02:15,639 - DEBUG - ====Verifying policy data for ctest-vn-03527262 in API_Server ====== 2026-01-29 01:02:15,639 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 01:02:15,645 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bee51af8-9885-4bc1-ae81-663ad207ab57 2026-01-29 01:02:15,658 - DEBUG - Requesting: http://10.0.0.50:8082/project/322aab69-4e5d-4664-8830-6781f4abef8a 2026-01-29 01:02:15,736 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7d280152-9103-403a-9884-b718d0698e8e 2026-01-29 01:02:15,745 - DEBUG - ==>Verifying data for policy with id: ffe91f47-7798-4f20-9941-8ca2c947310e, fqn: ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-policy-allow-all-68196776'] 2026-01-29 01:02:15,745 - INFO - VN ctest-vn-03527262 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 01:02:15,745 - DEBUG - Verifying the vn in opserver 2026-01-29 01:02:15,745 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262 virtual network link through opserver 10.0.0.50 2026-01-29 01:02:15,745 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-29 01:02:16,087 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-29 01:02:16,154 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262?flat'} 2026-01-29 01:02:16,154 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262 is found in opserver 2026-01-29 01:02:16,165 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 01:02:16,169 - DEBUG - VRF ids for VN ctest-vn-03527262: {} 2026-01-29 01:02:16,169 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 01:02:16,176 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bee51af8-9885-4bc1-ae81-663ad207ab57 2026-01-29 01:02:16,187 - DEBUG - Requesting: http://10.0.0.50:8082/project/322aab69-4e5d-4664-8830-6781f4abef8a 2026-01-29 01:02:16,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53e6264d-3134-483b-8da0-0440ee25b2e8 2026-01-29 01:02:16,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53e6264d-3134-483b-8da0-0440ee25b2e8 2026-01-29 01:02:16,279 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1 2026-01-29 01:02:16,286 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1 2026-01-29 01:02:16,293 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a718b3c9-7529-4ddf-a647-cb5b79d48d40 2026-01-29 01:02:16,301 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 01:02:16,301 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53e6264d-3134-483b-8da0-0440ee25b2e8 2026-01-29 01:02:16,316 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1 2026-01-29 01:02:16,333 - INFO - Verified VN network id 12 for VN 53e6264d-3134-483b-8da0-0440ee25b2e8 2026-01-29 01:02:16,334 - INFO - Verifications in API Server for VN ctest-vn-70152436 passed 2026-01-29 01:02:16,334 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53e6264d-3134-483b-8da0-0440ee25b2e8 2026-01-29 01:02:16,347 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1 2026-01-29 01:02:16,356 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1 2026-01-29 01:02:16,366 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a718b3c9-7529-4ddf-a647-cb5b79d48d40 2026-01-29 01:02:16,382 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-70152436', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46368408', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6045561662771316795', 'uuid-lslong': '10205161432541410024'}, 'enable': 'true', 'created': '2026-01-29T01:02:13', 'last-modified': '2026-01-29T01:02:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.501860'} 2026-01-29 01:02:16,389 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 01:02:16,389 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70152436 passed 2026-01-29 01:02:16,389 - DEBUG - ====Verifying policy data for ctest-vn-70152436 in API_Server ====== 2026-01-29 01:02:16,389 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 01:02:16,396 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bee51af8-9885-4bc1-ae81-663ad207ab57 2026-01-29 01:02:16,409 - DEBUG - Requesting: http://10.0.0.50:8082/project/322aab69-4e5d-4664-8830-6781f4abef8a 2026-01-29 01:02:16,485 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53e6264d-3134-483b-8da0-0440ee25b2e8 2026-01-29 01:02:16,494 - DEBUG - ==>Verifying data for policy with id: ffe91f47-7798-4f20-9941-8ca2c947310e, fqn: ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-policy-allow-all-68196776'] 2026-01-29 01:02:16,495 - INFO - VN ctest-vn-70152436 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 01:02:16,495 - DEBUG - Verifying the vn in opserver 2026-01-29 01:02:16,495 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-70152436 virtual network link through opserver 10.0.0.50 2026-01-29 01:02:16,495 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-29 01:02:16,504 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-70152436', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-70152436?flat'} 2026-01-29 01:02:16,504 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-70152436 is found in opserver 2026-01-29 01:02:16,514 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 01:02:16,520 - DEBUG - VRF ids for VN ctest-vn-70152436: {} 2026-01-29 01:02:16,584 - DEBUG - Services list from nova: [, , ] 2026-01-29 01:02:17,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5110-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5110-1) 2026-01-29 01:02:18,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5110-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5110-1) 2026-01-29 01:02:18,999 - INFO - Waiting for VM ctest-TestBasicPolicy-46368408-53417212 to be up.. 2026-01-29 01:02:19,127 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 01:02:24,205 - DEBUG - VM is in ACTIVE state now 2026-01-29 01:02:24,205 - INFO - VM name : ctest-TestBasicPolicy-46368408-53417212 2026-01-29 01:02:24,298 - DEBUG - VM ctest-TestBasicPolicy-46368408-53417212 ID is 0f8c9a88-fcf9-429e-9cff-965005dfbf5d 2026-01-29 01:02:24,320 - DEBUG - VM ctest-TestBasicPolicy-46368408-53417212 launched on Node cn-jenkins-deploy-platform-ansible-os-5110-1 2026-01-29 01:02:24,407 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0f8c9a88-fcf9-429e-9cff-965005dfbf5d 2026-01-29 01:02:24,417 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/240d9ef1-d21b-4a73-9207-8daef95134b7 2026-01-29 01:02:27,687 - 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 1017ms') 2026-01-29 01:02:27,687 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46368408-53417212 failed! 2026-01-29 01:02:27,743 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262 is 107.16.111.193 and allocation pool is NOT set 2026-01-29 01:02:29,810 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.357/6.325/10.293/3.968 ms') 2026-01-29 01:02:29,810 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46368408-53417212 passed 2026-01-29 01:02:29,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 01:02:29,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46368408-53417212, IP 107.16.111.195, Port 22 2026-01-29 01:02:30,018 - 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-01-29 01:02:30,122 - DEBUG - VM ctest-TestBasicPolicy-46368408-53417212 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 01:02:35,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 01:02:35,123 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46368408-53417212, IP 107.16.111.195, Port 22 2026-01-29 01:02:35,278 - DEBUG - VM ctest-TestBasicPolicy-46368408-53417212 is ready for SSH connections 2026-01-29 01:02:35,278 - INFO - Waiting for VM ctest-TestBasicPolicy-46368408-10004084 to be up.. 2026-01-29 01:02:35,359 - DEBUG - VM is in ACTIVE state now 2026-01-29 01:02:35,359 - INFO - VM name : ctest-TestBasicPolicy-46368408-10004084 2026-01-29 01:02:35,438 - DEBUG - VM ctest-TestBasicPolicy-46368408-10004084 ID is 5f999a97-25a0-4d8f-b0be-08bc9302968a 2026-01-29 01:02:35,438 - DEBUG - VM ctest-TestBasicPolicy-46368408-10004084 launched on Node cn-jenkins-deploy-platform-ansible-os-5110-1 2026-01-29 01:02:35,520 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5f999a97-25a0-4d8f-b0be-08bc9302968a 2026-01-29 01:02:35,529 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/92c00613-6fc9-479b-84db-62fe60b39d84 2026-01-29 01:02:36,762 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/1.745/3.074/1.328 ms') 2026-01-29 01:02:36,762 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46368408-10004084 passed 2026-01-29 01:02:36,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 01:02:36,915 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46368408-10004084, IP 4.231.249.67, Port 22 2026-01-29 01:02:37,078 - DEBUG - VM ctest-TestBasicPolicy-46368408-10004084 is ready for SSH connections 2026-01-29 01:02:37,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 01:02:37,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.231.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-29 01:02:37,078 - DEBUG - ping -s 56 -c 3 -W 1 4.231.249.67 2026-01-29 01:02:41,197 - DEBUG - PING 4.231.249.67 (4.231.249.67): 56 data bytes 64 bytes from 4.231.249.67: seq=0 ttl=63 time=3.670 ms 64 bytes from 4.231.249.67: seq=1 ttl=63 time=1.182 ms 64 bytes from 4.231.249.67: seq=2 ttl=63 time=0.913 ms --- 4.231.249.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/1.921/3.670 ms 2026-01-29 01:02:41,197 - INFO - Ping to IP 4.231.249.67 from VM ctest-TestBasicPolicy-46368408-53417212 passed 2026-01-29 01:02:41,386 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ffe91f47-7798-4f20-9941-8ca2c947310e", "href": "http://10.0.0.50:8082/network-policy/ffe91f47-7798-4f20-9941-8ca2c947310e"}} 2026-01-29 01:02:41,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 01:02:41,387 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.231.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-29 01:02:41,387 - DEBUG - ping -s 56 -c 3 -W 1 4.231.249.67 2026-01-29 01:02:44,626 - DEBUG - PING 4.231.249.67 (4.231.249.67): 56 data bytes --- 4.231.249.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 01:02:44,626 - WARNING - Ping to IP 4.231.249.67 from VM ctest-TestBasicPolicy-46368408-53417212 failed 2026-01-29 01:02:44,626 - INFO - Deleting VM ctest-TestBasicPolicy-46368408-10004084 2026-01-29 01:02:44,710 - INFO - Deleting VM ctest-TestBasicPolicy-46368408-53417212 2026-01-29 01:02:45,110 - INFO - Deleted policy ctest-policy-allow-all-68196776 2026-01-29 01:02:45,110 - INFO - Deleting VN ctest-vn-70152436 2026-01-29 01:02:45,150 - DEBUG - VN 53e6264d-3134-483b-8da0-0440ee25b2e8 still in use: Unable to complete operation on network 53e6264d-3134-483b-8da0-0440ee25b2e8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-88870e08-a5e8-499d-aa0c-810d0b1081ee'] 2026-01-29 01:02:45,151 - WARNING - Deleting VN ctest-vn-70152436 failed..Will retry 2026-01-29 01:02:47,265 - DEBUG - Response for deleting network () 2026-01-29 01:02:47,265 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1 2026-01-29 01:02:47,271 - DEBUG - Response Code: 404 2026-01-29 01:02:47,271 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 01:02:47,276 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bee51af8-9885-4bc1-ae81-663ad207ab57 2026-01-29 01:02:47,335 - DEBUG - Requesting: http://10.0.0.50:8082/project/322aab69-4e5d-4664-8830-6781f4abef8a 2026-01-29 01:02:47,408 - INFO - Validated that VN ctest-vn-70152436 is not found in API Server 2026-01-29 01:02:47,419 - DEBUG - VN ctest-vn-70152436 is not present in Agent 10.0.0.50 2026-01-29 01:02:47,419 - INFO - Validated that VN ctest-vn-70152436 is not in any agent 2026-01-29 01:02:47,436 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70152436 info 2026-01-29 01:02:47,436 - INFO - Deleting VN ctest-vn-03527262 2026-01-29 01:02:47,538 - DEBUG - Response for deleting network () 2026-01-29 01:02:47,539 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652 2026-01-29 01:02:47,543 - DEBUG - Response Code: 404 2026-01-29 01:02:47,543 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 01:02:47,552 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bee51af8-9885-4bc1-ae81-663ad207ab57 2026-01-29 01:02:47,605 - DEBUG - Requesting: http://10.0.0.50:8082/project/322aab69-4e5d-4664-8830-6781f4abef8a 2026-01-29 01:02:47,678 - INFO - Validated that VN ctest-vn-03527262 is not found in API Server 2026-01-29 01:02:47,688 - DEBUG - VN ctest-vn-03527262 is not present in Agent 10.0.0.50 2026-01-29 01:02:47,688 - INFO - Validated that VN ctest-vn-03527262 is not in any agent 2026-01-29 01:02:47,703 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03527262 info 2026-01-29 01:02:47,966 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 01:02:47,966 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-29 01:02:47,966 - INFO - -------------------------------------------------------------------------------- 2026-01-29 01:02:48,691 - INFO - Deleted project: ctest-TestBasicPolicy-46368408, ID : 322aab69-4e5d-4664-8830-6781f4abef8a