2026-09-19 12:06:11,075 - INFO - Domain Default found not creating 2026-09-19 12:06:11,253 - INFO - Project ctest-TestBasicPolicy-77865304 not found, creating it 2026-09-19 12:06:11,740 - INFO - Created Project:ctest-TestBasicPolicy-77865304, ID : d31a3a1e-3065-45b4-a89f-6a5e85e86e7c 2026-09-19 12:06:13,257 - INFO - ================================================================================ 2026-09-19 12:06:13,257 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-19 12:06:13,257 - 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-09-19 12:06:13,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-09-19 12:06:13,514 - INFO - Initial checks done. Running the testcase now 2026-09-19 12:06:13,515 - INFO - 2026-09-19 12:06:14,108 - DEBUG - Response for create_network : {'network': {'id': 'f13edbc1-1824-4bc2-bcb5-419756f497c5', 'name': 'ctest-vn-08451910', 'tenant_id': 'd31a3a1e306545b4a89f6a5e85e86e7c', 'project_id': 'd31a3a1e306545b4a89f6a5e85e86e7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77865304', 'ctest-vn-08451910'], 'port_security_enabled': True, 'description': ''}} 2026-09-19 12:06:14,402 - DEBUG - Response for create_subnet : {'subnet': {'id': '814b0a0f-6109-4e84-9507-fda161dcd782', 'name': '', 'tenant_id': 'd31a3a1e306545b4a89f6a5e85e86e7c', 'network_id': 'f13edbc1-1824-4bc2-bcb5-419756f497c5', 'ip_version': 4, 'cidr': '111.139.95.128/26', 'allocation_pools': [{'start': '111.139.95.130', 'end': '111.139.95.190'}], 'gateway_ip': '111.139.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.139.95.130', 'tags': [], 'project_id': 'd31a3a1e306545b4a89f6a5e85e86e7c'}} 2026-09-19 12:06:14,419 - INFO - Created VN ctest-vn-08451910 2026-09-19 12:06:14,472 - DEBUG - VN ctest-vn-08451910 UUID is f13edbc1-1824-4bc2-bcb5-419756f497c5 2026-09-19 12:06:14,810 - DEBUG - Response for create_network : {'network': {'id': 'b68d5033-1391-4247-bca5-d9b4de9ff650', 'name': 'ctest-vn-48804865', 'tenant_id': 'd31a3a1e306545b4a89f6a5e85e86e7c', 'project_id': 'd31a3a1e306545b4a89f6a5e85e86e7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77865304', 'ctest-vn-48804865'], 'port_security_enabled': True, 'description': ''}} 2026-09-19 12:06:14,981 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd00ef4ba-0638-4065-aaa3-2ecc3eed85d2', 'name': '', 'tenant_id': 'd31a3a1e306545b4a89f6a5e85e86e7c', 'network_id': 'b68d5033-1391-4247-bca5-d9b4de9ff650', 'ip_version': 4, 'cidr': '108.46.50.0/26', 'allocation_pools': [{'start': '108.46.50.2', 'end': '108.46.50.62'}], 'gateway_ip': '108.46.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.46.50.2', 'tags': [], 'project_id': 'd31a3a1e306545b4a89f6a5e85e86e7c'}} 2026-09-19 12:06:14,998 - INFO - Created VN ctest-vn-48804865 2026-09-19 12:06:15,052 - DEBUG - VN ctest-vn-48804865 UUID is b68d5033-1391-4247-bca5-d9b4de9ff650 2026-09-19 12:06:15,164 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-08451910, 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-77865304:ctest-vn-48804865, 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-09-19 12:06:15,473 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f13edbc1-1824-4bc2-bcb5-419756f497c5', 'name': 'ctest-vn-08451910', 'tenant_id': 'd31a3a1e306545b4a89f6a5e85e86e7c', 'project_id': 'd31a3a1e306545b4a89f6a5e85e86e7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['814b0a0f-6109-4e84-9507-fda161dcd782'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77865304', 'ctest-vn-08451910'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77865304', 'ctest-policy-allow-all-50419857']], 'subnet_ipam': [{'subnet_cidr': '111.139.95.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-19 12:06:15,713 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b68d5033-1391-4247-bca5-d9b4de9ff650', 'name': 'ctest-vn-48804865', 'tenant_id': 'd31a3a1e306545b4a89f6a5e85e86e7c', 'project_id': 'd31a3a1e306545b4a89f6a5e85e86e7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d00ef4ba-0638-4065-aaa3-2ecc3eed85d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77865304', 'ctest-vn-48804865'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77865304', 'ctest-policy-allow-all-50419857']], 'subnet_ipam': [{'subnet_cidr': '108.46.50.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-19 12:06:15,836 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-19 12:06:16,164 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-19 12:06:16,193 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e24c7ff-e8d2-47df-8dcd-281cacd0591b 2026-09-19 12:06:16,205 - DEBUG - Requesting: http://10.0.0.33:8082/project/d31a3a1e-3065-45b4-a89f-6a5e85e86e7c 2026-09-19 12:06:16,281 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f13edbc1-1824-4bc2-bcb5-419756f497c5 2026-09-19 12:06:16,295 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f13edbc1-1824-4bc2-bcb5-419756f497c5 2026-09-19 12:06:16,306 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b529c0b-684a-4ff9-a595-ac11861281b5 2026-09-19 12:06:16,313 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b529c0b-684a-4ff9-a595-ac11861281b5 2026-09-19 12:06:16,320 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d2f9c70d-ffe0-438f-8edb-88615c310ce5 2026-09-19 12:06:16,333 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-19 12:06:16,334 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f13edbc1-1824-4bc2-bcb5-419756f497c5 2026-09-19 12:06:16,346 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b529c0b-684a-4ff9-a595-ac11861281b5 2026-09-19 12:06:16,362 - INFO - Verified VN network id 12 for VN f13edbc1-1824-4bc2-bcb5-419756f497c5 2026-09-19 12:06:16,362 - INFO - Verifications in API Server for VN ctest-vn-08451910 passed 2026-09-19 12:06:16,362 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f13edbc1-1824-4bc2-bcb5-419756f497c5 2026-09-19 12:06:16,372 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b529c0b-684a-4ff9-a595-ac11861281b5 2026-09-19 12:06:16,383 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b529c0b-684a-4ff9-a595-ac11861281b5 2026-09-19 12:06:16,391 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d2f9c70d-ffe0-438f-8edb-88615c310ce5 2026-09-19 12:06:16,406 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-08451910', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77865304', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17383573234076896194', 'uuid-lslong': '13597846768169818053'}, 'enable': 'true', 'created': '2026-09-19T12:06:14', 'last-modified': '2026-09-19T12:06:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956153'} 2026-09-19 12:06:16,414 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-19 12:06:16,414 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08451910 passed 2026-09-19 12:06:16,414 - DEBUG - ====Verifying policy data for ctest-vn-08451910 in API_Server ====== 2026-09-19 12:06:16,415 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-19 12:06:16,421 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e24c7ff-e8d2-47df-8dcd-281cacd0591b 2026-09-19 12:06:16,432 - DEBUG - Requesting: http://10.0.0.33:8082/project/d31a3a1e-3065-45b4-a89f-6a5e85e86e7c 2026-09-19 12:06:16,502 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f13edbc1-1824-4bc2-bcb5-419756f497c5 2026-09-19 12:06:16,513 - DEBUG - ==>Verifying data for policy with id: cad64db3-4214-4594-99d0-5e90be335bba, fqn: ['default-domain', 'ctest-TestBasicPolicy-77865304', 'ctest-policy-allow-all-50419857'] 2026-09-19 12:06:16,513 - INFO - VN ctest-vn-08451910 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-19 12:06:16,513 - DEBUG - Verifying the vn in opserver 2026-09-19 12:06:16,513 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-08451910 virtual network link through opserver 10.0.0.33 2026-09-19 12:06:16,513 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-09-19 12:06:16,834 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-09-19 12:06:16,887 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-08451910', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-08451910?flat'} 2026-09-19 12:06:16,887 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-08451910 is found in opserver 2026-09-19 12:06:16,900 - DEBUG - Do not have enough data to verify VN in agent 2026-09-19 12:06:16,905 - DEBUG - VRF ids for VN ctest-vn-08451910: {} 2026-09-19 12:06:16,905 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-19 12:06:16,911 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e24c7ff-e8d2-47df-8dcd-281cacd0591b 2026-09-19 12:06:16,921 - DEBUG - Requesting: http://10.0.0.33:8082/project/d31a3a1e-3065-45b4-a89f-6a5e85e86e7c 2026-09-19 12:06:16,996 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b68d5033-1391-4247-bca5-d9b4de9ff650 2026-09-19 12:06:17,008 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b68d5033-1391-4247-bca5-d9b4de9ff650 2026-09-19 12:06:17,018 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0da4dae6-fc69-414b-9956-bf1cf4abea54 2026-09-19 12:06:17,025 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0da4dae6-fc69-414b-9956-bf1cf4abea54 2026-09-19 12:06:17,032 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/876d3754-62db-4398-9f50-f031e9f8cbe7 2026-09-19 12:06:17,039 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-19 12:06:17,039 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b68d5033-1391-4247-bca5-d9b4de9ff650 2026-09-19 12:06:17,048 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0da4dae6-fc69-414b-9956-bf1cf4abea54 2026-09-19 12:06:17,063 - INFO - Verified VN network id 13 for VN b68d5033-1391-4247-bca5-d9b4de9ff650 2026-09-19 12:06:17,063 - INFO - Verifications in API Server for VN ctest-vn-48804865 passed 2026-09-19 12:06:17,063 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b68d5033-1391-4247-bca5-d9b4de9ff650 2026-09-19 12:06:17,073 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0da4dae6-fc69-414b-9956-bf1cf4abea54 2026-09-19 12:06:17,081 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0da4dae6-fc69-414b-9956-bf1cf4abea54 2026-09-19 12:06:17,088 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/876d3754-62db-4398-9f50-f031e9f8cbe7 2026-09-19 12:06:17,102 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-48804865', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77865304', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13154258266920927815', 'uuid-lslong': '13593510421140076112'}, 'enable': 'true', 'created': '2026-09-19T12:06:14', 'last-modified': '2026-09-19T12:06:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.411991'} 2026-09-19 12:06:17,110 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-19 12:06:17,110 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48804865 passed 2026-09-19 12:06:17,110 - DEBUG - ====Verifying policy data for ctest-vn-48804865 in API_Server ====== 2026-09-19 12:06:17,110 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-19 12:06:17,116 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e24c7ff-e8d2-47df-8dcd-281cacd0591b 2026-09-19 12:06:17,127 - DEBUG - Requesting: http://10.0.0.33:8082/project/d31a3a1e-3065-45b4-a89f-6a5e85e86e7c 2026-09-19 12:06:17,210 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b68d5033-1391-4247-bca5-d9b4de9ff650 2026-09-19 12:06:17,220 - DEBUG - ==>Verifying data for policy with id: cad64db3-4214-4594-99d0-5e90be335bba, fqn: ['default-domain', 'ctest-TestBasicPolicy-77865304', 'ctest-policy-allow-all-50419857'] 2026-09-19 12:06:17,220 - INFO - VN ctest-vn-48804865 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-19 12:06:17,220 - DEBUG - Verifying the vn in opserver 2026-09-19 12:06:17,220 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-48804865 virtual network link through opserver 10.0.0.33 2026-09-19 12:06:17,220 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-09-19 12:06:17,230 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-48804865', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-48804865?flat'} 2026-09-19 12:06:17,230 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-48804865 is found in opserver 2026-09-19 12:06:17,241 - DEBUG - Do not have enough data to verify VN in agent 2026-09-19 12:06:17,246 - DEBUG - VRF ids for VN ctest-vn-48804865: {} 2026-09-19 12:06:17,307 - DEBUG - Services list from nova: [, , ] 2026-09-19 12:06:17,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6311-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6311-1) 2026-09-19 12:06:18,129 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6311-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6311-1) 2026-09-19 12:06:18,129 - INFO - Waiting for VM ctest-TestBasicPolicy-77865304-72525798 to be up.. 2026-09-19 12:06:18,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:06:23,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:06:28,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:06:33,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:06:38,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:06:43,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:06:48,653 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 12:06:53,732 - DEBUG - VM is in ACTIVE state now 2026-09-19 12:06:53,732 - INFO - VM name : ctest-TestBasicPolicy-77865304-72525798 2026-09-19 12:06:53,825 - DEBUG - VM ctest-TestBasicPolicy-77865304-72525798 ID is 0944b289-8dff-4a02-b82b-b91a2d277778 2026-09-19 12:06:53,847 - DEBUG - VM ctest-TestBasicPolicy-77865304-72525798 launched on Node cn-jenkins-deploy-platform-ansible-os-6311-1 2026-09-19 12:06:53,921 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0944b289-8dff-4a02-b82b-b91a2d277778 2026-09-19 12:06:53,932 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4b20a554-41a3-492e-8c8d-9561c1e4983c 2026-09-19 12:06:57,187 - 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 1006ms') 2026-09-19 12:06:57,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77865304-72525798 failed! 2026-09-19 12:06:57,244 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77865304:ctest-vn-08451910 is 111.139.95.129 and allocation pool is NOT set 2026-09-19 12:07:01,313 - 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=2 ttl=63 time=4.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 4.943/4.943/4.943/0.000 ms') 2026-09-19 12:07:01,313 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77865304-72525798 passed 2026-09-19 12:07:01,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 12:07:01,464 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77865304-72525798, IP 111.139.95.131, Port 22 2026-09-19 12:07:01,619 - DEBUG - VM ctest-TestBasicPolicy-77865304-72525798 is ready for SSH connections 2026-09-19 12:07:01,619 - INFO - Waiting for VM ctest-TestBasicPolicy-77865304-45890718 to be up.. 2026-09-19 12:07:01,705 - DEBUG - VM is in ACTIVE state now 2026-09-19 12:07:01,705 - INFO - VM name : ctest-TestBasicPolicy-77865304-45890718 2026-09-19 12:07:01,800 - DEBUG - VM ctest-TestBasicPolicy-77865304-45890718 ID is 38f5c047-d9ff-445a-8c88-93d910454b49 2026-09-19 12:07:01,800 - DEBUG - VM ctest-TestBasicPolicy-77865304-45890718 launched on Node cn-jenkins-deploy-platform-ansible-os-6311-1 2026-09-19 12:07:01,882 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/38f5c047-d9ff-445a-8c88-93d910454b49 2026-09-19 12:07:01,891 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/750586bd-b6e7-44a1-b404-f2ae075b2efb 2026-09-19 12:07:05,149 - 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=2 ttl=63 time=15.4 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 15.361/15.361/15.361/0.000 ms') 2026-09-19 12:07:05,150 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77865304-45890718 passed 2026-09-19 12:07:05,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 12:07:05,308 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77865304-45890718, IP 108.46.50.3, Port 22 2026-09-19 12:07:05,478 - DEBUG - VM ctest-TestBasicPolicy-77865304-45890718 is ready for SSH connections 2026-09-19 12:07:05,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 12:07:05,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.46.50.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-09-19 12:07:05,478 - DEBUG - ping -s 56 -c 3 -W 1 108.46.50.3 2026-09-19 12:07:09,412 - DEBUG - PING 108.46.50.3 (108.46.50.3): 56 data bytes 64 bytes from 108.46.50.3: seq=0 ttl=63 time=4.162 ms 64 bytes from 108.46.50.3: seq=1 ttl=63 time=1.106 ms 64 bytes from 108.46.50.3: seq=2 ttl=63 time=1.161 ms --- 108.46.50.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.106/2.143/4.162 ms 2026-09-19 12:07:09,412 - INFO - Ping to IP 108.46.50.3 from VM ctest-TestBasicPolicy-77865304-72525798 passed 2026-09-19 12:07:09,599 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cad64db3-4214-4594-99d0-5e90be335bba", "href": "http://10.0.0.33:8082/network-policy/cad64db3-4214-4594-99d0-5e90be335bba"}} 2026-09-19 12:07:09,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 12:07:09,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.46.50.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-09-19 12:07:09,600 - DEBUG - ping -s 56 -c 3 -W 1 108.46.50.3 2026-09-19 12:07:12,720 - DEBUG - PING 108.46.50.3 (108.46.50.3): 56 data bytes 64 bytes from 108.46.50.3: seq=0 ttl=63 time=1.481 ms --- 108.46.50.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.481/1.481/1.481 ms 2026-09-19 12:07:12,720 - WARNING - Ping to IP 108.46.50.3 from VM ctest-TestBasicPolicy-77865304-72525798 failed 2026-09-19 12:07:12,721 - INFO - Deleting VM ctest-TestBasicPolicy-77865304-45890718 2026-09-19 12:07:12,800 - INFO - Deleting VM ctest-TestBasicPolicy-77865304-72525798 2026-09-19 12:07:13,236 - INFO - Deleted policy ctest-policy-allow-all-50419857 2026-09-19 12:07:13,236 - INFO - Deleting VN ctest-vn-48804865 2026-09-19 12:07:13,274 - DEBUG - VN b68d5033-1391-4247-bca5-d9b4de9ff650 still in use: Unable to complete operation on network b68d5033-1391-4247-bca5-d9b4de9ff650. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ee5e64d-06e0-4ef9-954c-60e086cb56e1'] 2026-09-19 12:07:13,274 - WARNING - Deleting VN ctest-vn-48804865 failed..Will retry 2026-09-19 12:07:15,403 - DEBUG - Response for deleting network () 2026-09-19 12:07:15,403 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0da4dae6-fc69-414b-9956-bf1cf4abea54 2026-09-19 12:07:15,411 - DEBUG - Response Code: 404 2026-09-19 12:07:15,411 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-19 12:07:15,417 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e24c7ff-e8d2-47df-8dcd-281cacd0591b 2026-09-19 12:07:15,475 - DEBUG - Requesting: http://10.0.0.33:8082/project/d31a3a1e-3065-45b4-a89f-6a5e85e86e7c 2026-09-19 12:07:15,551 - INFO - Validated that VN ctest-vn-48804865 is not found in API Server 2026-09-19 12:07:15,564 - DEBUG - VN ctest-vn-48804865 is not present in Agent 10.0.0.33 2026-09-19 12:07:15,564 - INFO - Validated that VN ctest-vn-48804865 is not in any agent 2026-09-19 12:07:15,578 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48804865 info 2026-09-19 12:07:15,578 - INFO - Deleting VN ctest-vn-08451910 2026-09-19 12:07:15,699 - DEBUG - Response for deleting network () 2026-09-19 12:07:15,700 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b529c0b-684a-4ff9-a595-ac11861281b5 2026-09-19 12:07:15,712 - DEBUG - Response Code: 404 2026-09-19 12:07:15,712 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-09-19 12:07:15,718 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e24c7ff-e8d2-47df-8dcd-281cacd0591b 2026-09-19 12:07:15,773 - DEBUG - Requesting: http://10.0.0.33:8082/project/d31a3a1e-3065-45b4-a89f-6a5e85e86e7c 2026-09-19 12:07:15,845 - INFO - Validated that VN ctest-vn-08451910 is not found in API Server 2026-09-19 12:07:15,857 - DEBUG - VN ctest-vn-08451910 is not present in Agent 10.0.0.33 2026-09-19 12:07:15,857 - INFO - Validated that VN ctest-vn-08451910 is not in any agent 2026-09-19 12:07:15,876 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08451910 info 2026-09-19 12:07:16,145 - DEBUG - No XMPP flaps were noticed during the test
2026-09-19 12:07:16,145 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03]
2026-09-19 12:07:16,145 - INFO - -------------------------------------------------------------------------------- 2026-09-19 12:07:16,904 - INFO - Deleted project: ctest-TestBasicPolicy-77865304, ID : d31a3a1e-3065-45b4-a89f-6a5e85e86e7c