2026-04-24 19:32:10,452 - INFO - Domain Default found not creating 2026-04-24 19:32:10,660 - INFO - Project ctest-TestBasicPolicy-85286766 not found, creating it 2026-04-24 19:32:11,148 - INFO - Created Project:ctest-TestBasicPolicy-85286766, ID : 21532afe-3653-41d3-964d-38421590d56b 2026-04-24 19:32:12,714 - INFO - ================================================================================ 2026-04-24 19:32:12,714 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-24 19:32:12,714 - 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-04-24 19:32:12,970 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-24 19:32:12,970 - INFO - Initial checks done. Running the testcase now 2026-04-24 19:32:12,970 - INFO - 2026-04-24 19:32:13,558 - DEBUG - Response for create_network : {'network': {'id': '08c7c4d9-2b57-4ec8-8c92-89ca9bf615ad', 'name': 'ctest-vn-74125407', 'tenant_id': '21532afe365341d3964d38421590d56b', 'project_id': '21532afe365341d3964d38421590d56b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85286766', 'ctest-vn-74125407'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 19:32:13,785 - DEBUG - Response for create_subnet : {'subnet': {'id': '69a3244a-c2e8-4fe1-951d-5494708aaede', 'name': '', 'tenant_id': '21532afe365341d3964d38421590d56b', 'network_id': '08c7c4d9-2b57-4ec8-8c92-89ca9bf615ad', 'ip_version': 4, 'cidr': '107.213.241.64/26', 'allocation_pools': [{'start': '107.213.241.66', 'end': '107.213.241.126'}], 'gateway_ip': '107.213.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.213.241.66', 'tags': [], 'project_id': '21532afe365341d3964d38421590d56b'}} 2026-04-24 19:32:13,807 - INFO - Created VN ctest-vn-74125407 2026-04-24 19:32:13,860 - DEBUG - VN ctest-vn-74125407 UUID is 08c7c4d9-2b57-4ec8-8c92-89ca9bf615ad 2026-04-24 19:32:14,173 - DEBUG - Response for create_network : {'network': {'id': '3b177245-5ef8-4a5e-bc54-631bc8a9cd06', 'name': 'ctest-vn-41186474', 'tenant_id': '21532afe365341d3964d38421590d56b', 'project_id': '21532afe365341d3964d38421590d56b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85286766', 'ctest-vn-41186474'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 19:32:14,344 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a191eb2-023d-46c1-a05d-1f35c61997ac', 'name': '', 'tenant_id': '21532afe365341d3964d38421590d56b', 'network_id': '3b177245-5ef8-4a5e-bc54-631bc8a9cd06', 'ip_version': 4, 'cidr': '133.149.142.128/26', 'allocation_pools': [{'start': '133.149.142.130', 'end': '133.149.142.190'}], 'gateway_ip': '133.149.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.149.142.130', 'tags': [], 'project_id': '21532afe365341d3964d38421590d56b'}} 2026-04-24 19:32:14,368 - INFO - Created VN ctest-vn-41186474 2026-04-24 19:32:14,424 - DEBUG - VN ctest-vn-41186474 UUID is 3b177245-5ef8-4a5e-bc54-631bc8a9cd06 2026-04-24 19:32:14,544 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-74125407, 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-85286766:ctest-vn-41186474, 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-04-24 19:32:14,872 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '08c7c4d9-2b57-4ec8-8c92-89ca9bf615ad', 'name': 'ctest-vn-74125407', 'tenant_id': '21532afe365341d3964d38421590d56b', 'project_id': '21532afe365341d3964d38421590d56b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['69a3244a-c2e8-4fe1-951d-5494708aaede'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85286766', 'ctest-vn-74125407'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85286766', 'ctest-policy-allow-all-49413043']], 'subnet_ipam': [{'subnet_cidr': '107.213.241.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-24 19:32:15,111 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b177245-5ef8-4a5e-bc54-631bc8a9cd06', 'name': 'ctest-vn-41186474', 'tenant_id': '21532afe365341d3964d38421590d56b', 'project_id': '21532afe365341d3964d38421590d56b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a191eb2-023d-46c1-a05d-1f35c61997ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85286766', 'ctest-vn-41186474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85286766', 'ctest-policy-allow-all-49413043']], 'subnet_ipam': [{'subnet_cidr': '133.149.142.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-24 19:32:15,292 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-24 19:32:15,614 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-24 19:32:15,652 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d726e48-9f9d-4743-a8bb-13f2812efb68 2026-04-24 19:32:15,667 - DEBUG - Requesting: http://10.0.0.50:8082/project/21532afe-3653-41d3-964d-38421590d56b 2026-04-24 19:32:15,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08c7c4d9-2b57-4ec8-8c92-89ca9bf615ad 2026-04-24 19:32:15,750 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08c7c4d9-2b57-4ec8-8c92-89ca9bf615ad 2026-04-24 19:32:15,758 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a9ee52e7-6b21-4133-828d-d2c6bdd23647 2026-04-24 19:32:15,766 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a9ee52e7-6b21-4133-828d-d2c6bdd23647 2026-04-24 19:32:15,773 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f8a043dc-b159-4291-a775-9103fda119f8 2026-04-24 19:32:15,779 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-24 19:32:15,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08c7c4d9-2b57-4ec8-8c92-89ca9bf615ad 2026-04-24 19:32:15,788 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a9ee52e7-6b21-4133-828d-d2c6bdd23647 2026-04-24 19:32:15,801 - INFO - Verified VN network id 11 for VN 08c7c4d9-2b57-4ec8-8c92-89ca9bf615ad 2026-04-24 19:32:15,801 - INFO - Verifications in API Server for VN ctest-vn-74125407 passed 2026-04-24 19:32:15,801 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08c7c4d9-2b57-4ec8-8c92-89ca9bf615ad 2026-04-24 19:32:15,813 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a9ee52e7-6b21-4133-828d-d2c6bdd23647 2026-04-24 19:32:15,820 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a9ee52e7-6b21-4133-828d-d2c6bdd23647 2026-04-24 19:32:15,828 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f8a043dc-b159-4291-a775-9103fda119f8 2026-04-24 19:32:15,839 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-74125407', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85286766', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '632690709682933448', 'uuid-lslong': '10129310015202661805'}, 'enable': 'true', 'created': '2026-04-24T19:32:13', 'last-modified': '2026-04-24T19:32:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009285'} 2026-04-24 19:32:15,845 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-24 19:32:15,845 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74125407 passed 2026-04-24 19:32:15,845 - DEBUG - ====Verifying policy data for ctest-vn-74125407 in API_Server ====== 2026-04-24 19:32:15,845 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-24 19:32:15,850 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d726e48-9f9d-4743-a8bb-13f2812efb68 2026-04-24 19:32:15,861 - DEBUG - Requesting: http://10.0.0.50:8082/project/21532afe-3653-41d3-964d-38421590d56b 2026-04-24 19:32:15,931 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08c7c4d9-2b57-4ec8-8c92-89ca9bf615ad 2026-04-24 19:32:15,940 - DEBUG - ==>Verifying data for policy with id: 1230c071-33d5-4849-bcec-0e9270c7ab47, fqn: ['default-domain', 'ctest-TestBasicPolicy-85286766', 'ctest-policy-allow-all-49413043'] 2026-04-24 19:32:15,940 - INFO - VN ctest-vn-74125407 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-24 19:32:15,940 - DEBUG - Verifying the vn in opserver 2026-04-24 19:32:15,940 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-74125407 virtual network link through opserver 10.0.0.50 2026-04-24 19:32:15,940 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-24 19:32:16,239 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-24 19:32:16,304 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-74125407', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-74125407?flat'} 2026-04-24 19:32:16,304 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-74125407 is found in opserver 2026-04-24 19:32:16,313 - DEBUG - Do not have enough data to verify VN in agent 2026-04-24 19:32:16,317 - DEBUG - VRF ids for VN ctest-vn-74125407: {} 2026-04-24 19:32:16,318 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-24 19:32:16,323 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d726e48-9f9d-4743-a8bb-13f2812efb68 2026-04-24 19:32:16,334 - DEBUG - Requesting: http://10.0.0.50:8082/project/21532afe-3653-41d3-964d-38421590d56b 2026-04-24 19:32:16,403 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3b177245-5ef8-4a5e-bc54-631bc8a9cd06 2026-04-24 19:32:16,413 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3b177245-5ef8-4a5e-bc54-631bc8a9cd06 2026-04-24 19:32:16,422 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b84161b5-6d94-4832-9f2e-5dca7a070d70 2026-04-24 19:32:16,428 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b84161b5-6d94-4832-9f2e-5dca7a070d70 2026-04-24 19:32:16,434 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c21bdc7-03d4-4b71-b5ae-f9c46d719e0d 2026-04-24 19:32:16,440 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-24 19:32:16,440 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3b177245-5ef8-4a5e-bc54-631bc8a9cd06 2026-04-24 19:32:16,451 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b84161b5-6d94-4832-9f2e-5dca7a070d70 2026-04-24 19:32:16,469 - INFO - Verified VN network id 12 for VN 3b177245-5ef8-4a5e-bc54-631bc8a9cd06 2026-04-24 19:32:16,469 - INFO - Verifications in API Server for VN ctest-vn-41186474 passed 2026-04-24 19:32:16,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3b177245-5ef8-4a5e-bc54-631bc8a9cd06 2026-04-24 19:32:16,479 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b84161b5-6d94-4832-9f2e-5dca7a070d70 2026-04-24 19:32:16,487 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b84161b5-6d94-4832-9f2e-5dca7a070d70 2026-04-24 19:32:16,496 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c21bdc7-03d4-4b71-b5ae-f9c46d719e0d 2026-04-24 19:32:16,514 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-41186474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85286766', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4257997614973733470', 'uuid-lslong': '13570580548155985158'}, 'enable': 'true', 'created': '2026-04-24T19:32:14', 'last-modified': '2026-04-24T19:32:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.425178'} 2026-04-24 19:32:16,519 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-24 19:32:16,519 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41186474 passed 2026-04-24 19:32:16,520 - DEBUG - ====Verifying policy data for ctest-vn-41186474 in API_Server ====== 2026-04-24 19:32:16,520 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-24 19:32:16,526 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d726e48-9f9d-4743-a8bb-13f2812efb68 2026-04-24 19:32:16,538 - DEBUG - Requesting: http://10.0.0.50:8082/project/21532afe-3653-41d3-964d-38421590d56b 2026-04-24 19:32:16,610 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3b177245-5ef8-4a5e-bc54-631bc8a9cd06 2026-04-24 19:32:16,620 - DEBUG - ==>Verifying data for policy with id: 1230c071-33d5-4849-bcec-0e9270c7ab47, fqn: ['default-domain', 'ctest-TestBasicPolicy-85286766', 'ctest-policy-allow-all-49413043'] 2026-04-24 19:32:16,620 - INFO - VN ctest-vn-41186474 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-24 19:32:16,621 - DEBUG - Verifying the vn in opserver 2026-04-24 19:32:16,621 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-41186474 virtual network link through opserver 10.0.0.50 2026-04-24 19:32:16,621 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-24 19:32:16,631 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-41186474', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-41186474?flat'} 2026-04-24 19:32:16,632 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-41186474 is found in opserver 2026-04-24 19:32:16,641 - DEBUG - Do not have enough data to verify VN in agent 2026-04-24 19:32:16,645 - DEBUG - VRF ids for VN ctest-vn-41186474: {} 2026-04-24 19:32:16,711 - DEBUG - Services list from nova: [, , ] 2026-04-24 19:32:17,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5684-1) 2026-04-24 19:32:18,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5684-1) 2026-04-24 19:32:18,986 - INFO - Waiting for VM ctest-TestBasicPolicy-85286766-60059066 to be up.. 2026-04-24 19:32:19,080 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-24 19:32:24,165 - DEBUG - VM is in ACTIVE state now 2026-04-24 19:32:24,166 - INFO - VM name : ctest-TestBasicPolicy-85286766-60059066 2026-04-24 19:32:24,249 - DEBUG - VM ctest-TestBasicPolicy-85286766-60059066 ID is a76377bb-8011-444c-b111-db58dd32503d 2026-04-24 19:32:24,272 - DEBUG - VM ctest-TestBasicPolicy-85286766-60059066 launched on Node cn-jenkins-deploy-platform-ansible-os-5684-1 2026-04-24 19:32:24,353 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a76377bb-8011-444c-b111-db58dd32503d 2026-04-24 19:32:24,362 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/54eb1645-7f37-4b94-9e5e-1e788924bf6f 2026-04-24 19:32:27,634 - 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 1018ms') 2026-04-24 19:32:27,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85286766-60059066 failed! 2026-04-24 19:32:27,688 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85286766:ctest-vn-74125407 is 107.213.241.65 and allocation pool is NOT set 2026-04-24 19:32:29,750 - 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=9.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.25 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.250/5.889/9.529/3.639 ms') 2026-04-24 19:32:29,750 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85286766-60059066 passed 2026-04-24 19:32:29,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 19:32:29,904 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85286766-60059066, IP 107.213.241.67, Port 22 2026-04-24 19:32:29,974 - 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-04-24 19:32:30,069 - DEBUG - VM ctest-TestBasicPolicy-85286766-60059066 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-24 19:32:35,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 19:32:35,070 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85286766-60059066, IP 107.213.241.67, Port 22 2026-04-24 19:32:35,228 - DEBUG - VM ctest-TestBasicPolicy-85286766-60059066 is ready for SSH connections 2026-04-24 19:32:35,228 - INFO - Waiting for VM ctest-TestBasicPolicy-85286766-74198628 to be up.. 2026-04-24 19:32:35,320 - DEBUG - VM is in ACTIVE state now 2026-04-24 19:32:35,320 - INFO - VM name : ctest-TestBasicPolicy-85286766-74198628 2026-04-24 19:32:35,422 - DEBUG - VM ctest-TestBasicPolicy-85286766-74198628 ID is c0e60349-ce4c-48c9-af3f-e9bcbde7777b 2026-04-24 19:32:35,422 - DEBUG - VM ctest-TestBasicPolicy-85286766-74198628 launched on Node cn-jenkins-deploy-platform-ansible-os-5684-1 2026-04-24 19:32:35,506 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c0e60349-ce4c-48c9-af3f-e9bcbde7777b 2026-04-24 19:32:35,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c0d44bf0-1275-4612-bba1-b58431cba0d4 2026-04-24 19:32:36,767 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/2.157/3.873/1.716 ms') 2026-04-24 19:32:36,767 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85286766-74198628 passed 2026-04-24 19:32:36,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 19:32:36,924 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85286766-74198628, IP 133.149.142.131, Port 22 2026-04-24 19:32:37,102 - DEBUG - VM ctest-TestBasicPolicy-85286766-74198628 is ready for SSH connections 2026-04-24 19:32:37,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 19:32:37,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.149.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-24 19:32:37,103 - DEBUG - ping -s 56 -c 3 -W 1 133.149.142.131 2026-04-24 19:32:41,219 - DEBUG - PING 133.149.142.131 (133.149.142.131): 56 data bytes 64 bytes from 133.149.142.131: seq=0 ttl=63 time=3.840 ms 64 bytes from 133.149.142.131: seq=1 ttl=63 time=1.036 ms 64 bytes from 133.149.142.131: seq=2 ttl=63 time=1.063 ms --- 133.149.142.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.036/1.979/3.840 ms 2026-04-24 19:32:41,219 - INFO - Ping to IP 133.149.142.131 from VM ctest-TestBasicPolicy-85286766-60059066 passed 2026-04-24 19:32:41,396 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1230c071-33d5-4849-bcec-0e9270c7ab47", "href": "http://10.0.0.50:8082/network-policy/1230c071-33d5-4849-bcec-0e9270c7ab47"}} 2026-04-24 19:32:41,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 19:32:41,396 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.149.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-24 19:32:41,396 - DEBUG - ping -s 56 -c 3 -W 1 133.149.142.131 2026-04-24 19:32:44,655 - DEBUG - PING 133.149.142.131 (133.149.142.131): 56 data bytes --- 133.149.142.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-24 19:32:44,655 - WARNING - Ping to IP 133.149.142.131 from VM ctest-TestBasicPolicy-85286766-60059066 failed 2026-04-24 19:32:44,656 - INFO - Deleting VM ctest-TestBasicPolicy-85286766-74198628 2026-04-24 19:32:44,735 - INFO - Deleting VM ctest-TestBasicPolicy-85286766-60059066 2026-04-24 19:32:45,146 - INFO - Deleted policy ctest-policy-allow-all-49413043 2026-04-24 19:32:45,146 - INFO - Deleting VN ctest-vn-41186474 2026-04-24 19:32:45,186 - DEBUG - VN 3b177245-5ef8-4a5e-bc54-631bc8a9cd06 still in use: Unable to complete operation on network 3b177245-5ef8-4a5e-bc54-631bc8a9cd06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb3f2b0f-b442-41ec-a89b-85b76fce3f30'] 2026-04-24 19:32:45,187 - WARNING - Deleting VN ctest-vn-41186474 failed..Will retry 2026-04-24 19:32:47,303 - DEBUG - Response for deleting network () 2026-04-24 19:32:47,303 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b84161b5-6d94-4832-9f2e-5dca7a070d70 2026-04-24 19:32:47,311 - DEBUG - Response Code: 404 2026-04-24 19:32:47,311 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-24 19:32:47,319 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d726e48-9f9d-4743-a8bb-13f2812efb68 2026-04-24 19:32:47,373 - DEBUG - Requesting: http://10.0.0.50:8082/project/21532afe-3653-41d3-964d-38421590d56b 2026-04-24 19:32:47,448 - INFO - Validated that VN ctest-vn-41186474 is not found in API Server 2026-04-24 19:32:47,457 - DEBUG - VN ctest-vn-41186474 is not present in Agent 10.0.0.50 2026-04-24 19:32:47,457 - INFO - Validated that VN ctest-vn-41186474 is not in any agent 2026-04-24 19:32:47,470 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41186474 info 2026-04-24 19:32:47,470 - INFO - Deleting VN ctest-vn-74125407 2026-04-24 19:32:47,570 - DEBUG - Response for deleting network () 2026-04-24 19:32:47,571 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a9ee52e7-6b21-4133-828d-d2c6bdd23647 2026-04-24 19:32:47,579 - DEBUG - Response Code: 404 2026-04-24 19:32:47,579 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-24 19:32:47,584 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2d726e48-9f9d-4743-a8bb-13f2812efb68 2026-04-24 19:32:47,641 - DEBUG - Requesting: http://10.0.0.50:8082/project/21532afe-3653-41d3-964d-38421590d56b 2026-04-24 19:32:47,714 - INFO - Validated that VN ctest-vn-74125407 is not found in API Server 2026-04-24 19:32:47,723 - DEBUG - VN ctest-vn-74125407 is not present in Agent 10.0.0.50 2026-04-24 19:32:47,723 - INFO - Validated that VN ctest-vn-74125407 is not in any agent 2026-04-24 19:32:47,739 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74125407 info 2026-04-24 19:32:47,993 - DEBUG - No XMPP flaps were noticed during the test 2026-04-24 19:32:47,993 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-04-24 19:32:47,993 - INFO - -------------------------------------------------------------------------------- 2026-04-24 19:32:48,684 - INFO - Deleted project: ctest-TestBasicPolicy-85286766, ID : 21532afe-3653-41d3-964d-38421590d56b