2026-07-18 19:14:06,077 - INFO - Domain Default found not creating 2026-07-18 19:14:06,250 - INFO - Project ctest-TestBasicPolicy-43096181 not found, creating it 2026-07-18 19:14:06,740 - INFO - Created Project:ctest-TestBasicPolicy-43096181, ID : b0bbbaf7-bc99-4ceb-a798-fa90c6d21b19 2026-07-18 19:14:08,464 - INFO - ================================================================================ 2026-07-18 19:14:08,464 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-18 19:14:08,464 - 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-07-18 19:14:08,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-18 19:14:08,735 - INFO - Initial checks done. Running the testcase now 2026-07-18 19:14:08,735 - INFO - 2026-07-18 19:14:09,386 - DEBUG - Response for create_network : {'network': {'id': 'ae5e9f38-7fc2-4992-9429-bb35cd06ee60', 'name': 'ctest-vn-30219342', 'tenant_id': 'b0bbbaf7bc994ceba798fa90c6d21b19', 'project_id': 'b0bbbaf7bc994ceba798fa90c6d21b19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43096181', 'ctest-vn-30219342'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 19:14:09,595 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae3b4532-cfdc-4f05-aa22-8cf44ca25563', 'name': '', 'tenant_id': 'b0bbbaf7bc994ceba798fa90c6d21b19', 'network_id': 'ae5e9f38-7fc2-4992-9429-bb35cd06ee60', 'ip_version': 4, 'cidr': '194.135.213.128/26', 'allocation_pools': [{'start': '194.135.213.130', 'end': '194.135.213.190'}], 'gateway_ip': '194.135.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.135.213.130', 'tags': [], 'project_id': 'b0bbbaf7bc994ceba798fa90c6d21b19'}} 2026-07-18 19:14:09,613 - INFO - Created VN ctest-vn-30219342 2026-07-18 19:14:09,669 - DEBUG - VN ctest-vn-30219342 UUID is ae5e9f38-7fc2-4992-9429-bb35cd06ee60 2026-07-18 19:14:10,000 - DEBUG - Response for create_network : {'network': {'id': 'a048c529-0ba5-4cd4-a72b-6c3db417937f', 'name': 'ctest-vn-64324828', 'tenant_id': 'b0bbbaf7bc994ceba798fa90c6d21b19', 'project_id': 'b0bbbaf7bc994ceba798fa90c6d21b19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43096181', 'ctest-vn-64324828'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 19:14:10,232 - DEBUG - Response for create_subnet : {'subnet': {'id': '1371a1c6-650e-4595-99ba-fe9bd1fc0328', 'name': '', 'tenant_id': 'b0bbbaf7bc994ceba798fa90c6d21b19', 'network_id': 'a048c529-0ba5-4cd4-a72b-6c3db417937f', 'ip_version': 4, 'cidr': '151.169.237.64/26', 'allocation_pools': [{'start': '151.169.237.66', 'end': '151.169.237.126'}], 'gateway_ip': '151.169.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.169.237.66', 'tags': [], 'project_id': 'b0bbbaf7bc994ceba798fa90c6d21b19'}} 2026-07-18 19:14:10,248 - INFO - Created VN ctest-vn-64324828 2026-07-18 19:14:10,305 - DEBUG - VN ctest-vn-64324828 UUID is a048c529-0ba5-4cd4-a72b-6c3db417937f 2026-07-18 19:14:10,424 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-30219342, 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-43096181:ctest-vn-64324828, 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-07-18 19:14:10,738 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae5e9f38-7fc2-4992-9429-bb35cd06ee60', 'name': 'ctest-vn-30219342', 'tenant_id': 'b0bbbaf7bc994ceba798fa90c6d21b19', 'project_id': 'b0bbbaf7bc994ceba798fa90c6d21b19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae3b4532-cfdc-4f05-aa22-8cf44ca25563'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43096181', 'ctest-vn-30219342'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43096181', 'ctest-policy-allow-all-09011972']], 'subnet_ipam': [{'subnet_cidr': '194.135.213.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 19:14:10,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a048c529-0ba5-4cd4-a72b-6c3db417937f', 'name': 'ctest-vn-64324828', 'tenant_id': 'b0bbbaf7bc994ceba798fa90c6d21b19', 'project_id': 'b0bbbaf7bc994ceba798fa90c6d21b19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1371a1c6-650e-4595-99ba-fe9bd1fc0328'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43096181', 'ctest-vn-64324828'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43096181', 'ctest-policy-allow-all-09011972']], 'subnet_ipam': [{'subnet_cidr': '151.169.237.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 19:14:11,173 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 19:14:11,548 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 19:14:11,579 - DEBUG - Requesting: http://10.0.0.50:8082/domain/921b8c37-d14d-4640-976e-f6b7fb57f21f 2026-07-18 19:14:11,594 - DEBUG - Requesting: http://10.0.0.50:8082/project/b0bbbaf7-bc99-4ceb-a798-fa90c6d21b19 2026-07-18 19:14:11,674 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae5e9f38-7fc2-4992-9429-bb35cd06ee60 2026-07-18 19:14:11,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae5e9f38-7fc2-4992-9429-bb35cd06ee60 2026-07-18 19:14:11,696 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3faf2f73-c638-42df-b96a-f553df1c30d0 2026-07-18 19:14:11,704 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3faf2f73-c638-42df-b96a-f553df1c30d0 2026-07-18 19:14:11,712 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/91d4c7b1-50ef-49f0-90c8-073a8b470526 2026-07-18 19:14:11,720 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 19:14:11,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae5e9f38-7fc2-4992-9429-bb35cd06ee60 2026-07-18 19:14:11,730 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3faf2f73-c638-42df-b96a-f553df1c30d0 2026-07-18 19:14:11,744 - INFO - Verified VN network id 11 for VN ae5e9f38-7fc2-4992-9429-bb35cd06ee60 2026-07-18 19:14:11,744 - INFO - Verifications in API Server for VN ctest-vn-30219342 passed 2026-07-18 19:14:11,745 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae5e9f38-7fc2-4992-9429-bb35cd06ee60 2026-07-18 19:14:11,754 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3faf2f73-c638-42df-b96a-f553df1c30d0 2026-07-18 19:14:11,761 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3faf2f73-c638-42df-b96a-f553df1c30d0 2026-07-18 19:14:11,768 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/91d4c7b1-50ef-49f0-90c8-073a8b470526 2026-07-18 19:14:11,782 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-30219342', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43096181', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12564655075420686738', 'uuid-lslong': '10676270231405915744'}, 'enable': 'true', 'created': '2026-07-18T19:14:09', 'last-modified': '2026-07-18T19:14:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.073092'} 2026-07-18 19:14:11,789 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 19:14:11,789 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30219342 passed 2026-07-18 19:14:11,790 - DEBUG - ====Verifying policy data for ctest-vn-30219342 in API_Server ====== 2026-07-18 19:14:11,790 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 19:14:11,796 - DEBUG - Requesting: http://10.0.0.50:8082/domain/921b8c37-d14d-4640-976e-f6b7fb57f21f 2026-07-18 19:14:11,808 - DEBUG - Requesting: http://10.0.0.50:8082/project/b0bbbaf7-bc99-4ceb-a798-fa90c6d21b19 2026-07-18 19:14:11,881 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ae5e9f38-7fc2-4992-9429-bb35cd06ee60 2026-07-18 19:14:11,892 - DEBUG - ==>Verifying data for policy with id: 574fa41a-257a-4f4d-bbe6-05f91f0d8a76, fqn: ['default-domain', 'ctest-TestBasicPolicy-43096181', 'ctest-policy-allow-all-09011972'] 2026-07-18 19:14:11,892 - INFO - VN ctest-vn-30219342 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 19:14:11,892 - DEBUG - Verifying the vn in opserver 2026-07-18 19:14:11,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-30219342 virtual network link through opserver 10.0.0.50 2026-07-18 19:14:11,892 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-18 19:14:12,266 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-18 19:14:12,335 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-30219342', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-30219342?flat'} 2026-07-18 19:14:12,335 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-30219342 is found in opserver 2026-07-18 19:14:12,347 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 19:14:12,352 - DEBUG - VRF ids for VN ctest-vn-30219342: {} 2026-07-18 19:14:12,353 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 19:14:12,360 - DEBUG - Requesting: http://10.0.0.50:8082/domain/921b8c37-d14d-4640-976e-f6b7fb57f21f 2026-07-18 19:14:12,372 - DEBUG - Requesting: http://10.0.0.50:8082/project/b0bbbaf7-bc99-4ceb-a798-fa90c6d21b19 2026-07-18 19:14:12,448 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a048c529-0ba5-4cd4-a72b-6c3db417937f 2026-07-18 19:14:12,464 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a048c529-0ba5-4cd4-a72b-6c3db417937f 2026-07-18 19:14:12,475 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f0edb328-0d93-4c9b-9957-37336cd24ea2 2026-07-18 19:14:12,483 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f0edb328-0d93-4c9b-9957-37336cd24ea2 2026-07-18 19:14:12,490 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/aa3ea131-5042-438a-89e6-e85b6c131405 2026-07-18 19:14:12,497 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 19:14:12,497 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a048c529-0ba5-4cd4-a72b-6c3db417937f 2026-07-18 19:14:12,507 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f0edb328-0d93-4c9b-9957-37336cd24ea2 2026-07-18 19:14:12,524 - INFO - Verified VN network id 12 for VN a048c529-0ba5-4cd4-a72b-6c3db417937f 2026-07-18 19:14:12,524 - INFO - Verifications in API Server for VN ctest-vn-64324828 passed 2026-07-18 19:14:12,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a048c529-0ba5-4cd4-a72b-6c3db417937f 2026-07-18 19:14:12,534 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f0edb328-0d93-4c9b-9957-37336cd24ea2 2026-07-18 19:14:12,542 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f0edb328-0d93-4c9b-9957-37336cd24ea2 2026-07-18 19:14:12,551 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/aa3ea131-5042-438a-89e6-e85b6c131405 2026-07-18 19:14:12,565 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-64324828', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43096181', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11549698024471350484', 'uuid-lslong': '12045840640602772351'}, 'enable': 'true', 'created': '2026-07-18T19:14:09', 'last-modified': '2026-07-18T19:14:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.610211'} 2026-07-18 19:14:12,573 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 19:14:12,573 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64324828 passed 2026-07-18 19:14:12,573 - DEBUG - ====Verifying policy data for ctest-vn-64324828 in API_Server ====== 2026-07-18 19:14:12,573 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 19:14:12,580 - DEBUG - Requesting: http://10.0.0.50:8082/domain/921b8c37-d14d-4640-976e-f6b7fb57f21f 2026-07-18 19:14:12,593 - DEBUG - Requesting: http://10.0.0.50:8082/project/b0bbbaf7-bc99-4ceb-a798-fa90c6d21b19 2026-07-18 19:14:12,671 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a048c529-0ba5-4cd4-a72b-6c3db417937f 2026-07-18 19:14:12,681 - DEBUG - ==>Verifying data for policy with id: 574fa41a-257a-4f4d-bbe6-05f91f0d8a76, fqn: ['default-domain', 'ctest-TestBasicPolicy-43096181', 'ctest-policy-allow-all-09011972'] 2026-07-18 19:14:12,681 - INFO - VN ctest-vn-64324828 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 19:14:12,681 - DEBUG - Verifying the vn in opserver 2026-07-18 19:14:12,681 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-64324828 virtual network link through opserver 10.0.0.50 2026-07-18 19:14:12,681 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-18 19:14:12,693 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-64324828', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-64324828?flat'} 2026-07-18 19:14:12,693 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-64324828 is found in opserver 2026-07-18 19:14:12,705 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 19:14:12,711 - DEBUG - VRF ids for VN ctest-vn-64324828: {} 2026-07-18 19:14:12,774 - DEBUG - Services list from nova: [, , ] 2026-07-18 19:14:13,300 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6108-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6108-1) 2026-07-18 19:14:13,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6108-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6108-1) 2026-07-18 19:14:13,720 - INFO - Waiting for VM ctest-TestBasicPolicy-43096181-06924644 to be up.. 2026-07-18 19:14:13,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 19:14:18,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 19:14:23,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 19:14:29,017 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 19:14:34,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 19:14:39,196 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 19:14:44,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 19:14:49,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 19:14:54,513 - DEBUG - VM is in ACTIVE state now 2026-07-18 19:14:54,513 - INFO - VM name : ctest-TestBasicPolicy-43096181-06924644 2026-07-18 19:14:54,610 - DEBUG - VM ctest-TestBasicPolicy-43096181-06924644 ID is c88e418e-c7bd-4f4a-8358-c354386dbfe8 2026-07-18 19:14:54,636 - DEBUG - VM ctest-TestBasicPolicy-43096181-06924644 launched on Node cn-jenkins-deploy-platform-ansible-os-6108-1 2026-07-18 19:14:54,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c88e418e-c7bd-4f4a-8358-c354386dbfe8 2026-07-18 19:14:54,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/91420288-e58c-478e-8929-46820334abdf 2026-07-18 19:14:57,997 - 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-07-18 19:14:57,997 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43096181-06924644 failed! 2026-07-18 19:14:58,053 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43096181:ctest-vn-30219342 is 194.135.213.129 and allocation pool is NOT set 2026-07-18 19:15:02,118 - 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=8.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 8.553/8.553/8.553/0.000 ms') 2026-07-18 19:15:02,118 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43096181-06924644 passed 2026-07-18 19:15:02,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 19:15:02,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43096181-06924644, IP 194.135.213.131, Port 22 2026-07-18 19:15:02,448 - DEBUG - VM ctest-TestBasicPolicy-43096181-06924644 is ready for SSH connections 2026-07-18 19:15:02,448 - INFO - Waiting for VM ctest-TestBasicPolicy-43096181-54357332 to be up.. 2026-07-18 19:15:02,549 - DEBUG - VM is in ACTIVE state now 2026-07-18 19:15:02,550 - INFO - VM name : ctest-TestBasicPolicy-43096181-54357332 2026-07-18 19:15:02,654 - DEBUG - VM ctest-TestBasicPolicy-43096181-54357332 ID is 9954a3e3-4d9e-4adc-8204-62be307edef9 2026-07-18 19:15:02,654 - DEBUG - VM ctest-TestBasicPolicy-43096181-54357332 launched on Node cn-jenkins-deploy-platform-ansible-os-6108-1 2026-07-18 19:15:02,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9954a3e3-4d9e-4adc-8204-62be307edef9 2026-07-18 19:15:02,763 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8afbe44f-ddef-486d-9591-694abb41fd5d 2026-07-18 19:15:04,011 - 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=5.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/2.807/5.132/2.325 ms') 2026-07-18 19:15:04,011 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43096181-54357332 passed 2026-07-18 19:15:04,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 19:15:04,169 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43096181-54357332, IP 151.169.237.67, Port 22 2026-07-18 19:15:04,343 - DEBUG - VM ctest-TestBasicPolicy-43096181-54357332 is ready for SSH connections 2026-07-18 19:15:04,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 19:15:04,344 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.169.237.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-18 19:15:04,344 - DEBUG - ping -s 56 -c 3 -W 1 151.169.237.67 2026-07-18 19:15:08,382 - DEBUG - PING 151.169.237.67 (151.169.237.67): 56 data bytes 64 bytes from 151.169.237.67: seq=0 ttl=63 time=4.641 ms 64 bytes from 151.169.237.67: seq=1 ttl=63 time=1.331 ms 64 bytes from 151.169.237.67: seq=2 ttl=63 time=1.132 ms --- 151.169.237.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.132/2.368/4.641 ms 2026-07-18 19:15:08,382 - INFO - Ping to IP 151.169.237.67 from VM ctest-TestBasicPolicy-43096181-06924644 passed 2026-07-18 19:15:08,572 - DEBUG - Policy Update Response {"network-policy": {"uuid": "574fa41a-257a-4f4d-bbe6-05f91f0d8a76", "href": "http://10.0.0.50:8082/network-policy/574fa41a-257a-4f4d-bbe6-05f91f0d8a76"}} 2026-07-18 19:15:08,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 19:15:08,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.169.237.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-18 19:15:08,573 - DEBUG - ping -s 56 -c 3 -W 1 151.169.237.67 2026-07-18 19:15:11,721 - DEBUG - PING 151.169.237.67 (151.169.237.67): 56 data bytes 64 bytes from 151.169.237.67: seq=0 ttl=63 time=1.856 ms --- 151.169.237.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.856/1.856/1.856 ms 2026-07-18 19:15:11,721 - WARNING - Ping to IP 151.169.237.67 from VM ctest-TestBasicPolicy-43096181-06924644 failed 2026-07-18 19:15:11,721 - INFO - Deleting VM ctest-TestBasicPolicy-43096181-54357332 2026-07-18 19:15:11,811 - INFO - Deleting VM ctest-TestBasicPolicy-43096181-06924644 2026-07-18 19:15:12,230 - INFO - Deleted policy ctest-policy-allow-all-09011972 2026-07-18 19:15:12,230 - INFO - Deleting VN ctest-vn-64324828 2026-07-18 19:15:12,267 - DEBUG - VN a048c529-0ba5-4cd4-a72b-6c3db417937f still in use: Unable to complete operation on network a048c529-0ba5-4cd4-a72b-6c3db417937f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d00c2194-7a20-4820-a635-9723356b330c'] 2026-07-18 19:15:12,268 - WARNING - Deleting VN ctest-vn-64324828 failed..Will retry 2026-07-18 19:15:14,405 - DEBUG - Response for deleting network () 2026-07-18 19:15:14,406 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f0edb328-0d93-4c9b-9957-37336cd24ea2 2026-07-18 19:15:14,412 - DEBUG - Response Code: 404 2026-07-18 19:15:14,412 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 19:15:14,418 - DEBUG - Requesting: http://10.0.0.50:8082/domain/921b8c37-d14d-4640-976e-f6b7fb57f21f 2026-07-18 19:15:14,475 - DEBUG - Requesting: http://10.0.0.50:8082/project/b0bbbaf7-bc99-4ceb-a798-fa90c6d21b19 2026-07-18 19:15:14,555 - INFO - Validated that VN ctest-vn-64324828 is not found in API Server 2026-07-18 19:15:14,566 - DEBUG - VN ctest-vn-64324828 is not present in Agent 10.0.0.50 2026-07-18 19:15:14,566 - INFO - Validated that VN ctest-vn-64324828 is not in any agent 2026-07-18 19:15:14,585 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64324828 info 2026-07-18 19:15:14,586 - INFO - Deleting VN ctest-vn-30219342 2026-07-18 19:15:14,701 - DEBUG - Response for deleting network () 2026-07-18 19:15:14,701 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3faf2f73-c638-42df-b96a-f553df1c30d0 2026-07-18 19:15:14,707 - DEBUG - Response Code: 404 2026-07-18 19:15:14,707 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 19:15:14,719 - DEBUG - Requesting: http://10.0.0.50:8082/domain/921b8c37-d14d-4640-976e-f6b7fb57f21f 2026-07-18 19:15:14,774 - DEBUG - Requesting: http://10.0.0.50:8082/project/b0bbbaf7-bc99-4ceb-a798-fa90c6d21b19 2026-07-18 19:15:14,856 - INFO - Validated that VN ctest-vn-30219342 is not found in API Server 2026-07-18 19:15:14,868 - DEBUG - VN ctest-vn-30219342 is not present in Agent 10.0.0.50 2026-07-18 19:15:14,868 - INFO - Validated that VN ctest-vn-30219342 is not in any agent 2026-07-18 19:15:14,888 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30219342 info 2026-07-18 19:15:15,159 - DEBUG - No XMPP flaps were noticed during the test 2026-07-18 19:15:15,159 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07] 2026-07-18 19:15:15,159 - INFO - -------------------------------------------------------------------------------- 2026-07-18 19:15:15,946 - INFO - Deleted project: ctest-TestBasicPolicy-43096181, ID : b0bbbaf7-bc99-4ceb-a798-fa90c6d21b19