2025-09-22 19:41:44,641 - INFO - Domain Default found not creating 2025-09-22 19:41:44,773 - INFO - Project ctest-TestBasicPolicy-94492461 not found, creating it 2025-09-22 19:41:45,234 - INFO - Created Project:ctest-TestBasicPolicy-94492461, ID : 26b4c2dc-a2a3-4f0f-8d6c-de7e819fd957 2025-09-22 19:41:46,593 - INFO - ================================================================================ 2025-09-22 19:41:46,594 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-22 19:41:46,594 - 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 2025-09-22 19:41:46,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-09-22 19:41:46,848 - INFO - Initial checks done. Running the testcase now 2025-09-22 19:41:46,848 - INFO - 2025-09-22 19:41:47,909 - DEBUG - Response for create_network : {'network': {'id': '5badf689-8523-4857-abbf-6daf37e24895', 'name': 'ctest-vn-99081819', 'tenant_id': '26b4c2dca2a34f0f8d6cde7e819fd957', 'project_id': '26b4c2dca2a34f0f8d6cde7e819fd957', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94492461', 'ctest-vn-99081819'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 19:41:48,063 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a36b4b8f-565d-49b2-bfef-c47984dd1c0c', 'name': '', 'tenant_id': '26b4c2dca2a34f0f8d6cde7e819fd957', 'network_id': '5badf689-8523-4857-abbf-6daf37e24895', 'ip_version': 4, 'cidr': '118.99.162.64/26', 'allocation_pools': [{'start': '118.99.162.66', 'end': '118.99.162.126'}], 'gateway_ip': '118.99.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.99.162.66', 'tags': [], 'project_id': '26b4c2dca2a34f0f8d6cde7e819fd957'}} 2025-09-22 19:41:48,080 - INFO - Created VN ctest-vn-99081819 2025-09-22 19:41:48,131 - DEBUG - VN ctest-vn-99081819 UUID is 5badf689-8523-4857-abbf-6daf37e24895 2025-09-22 19:41:48,410 - DEBUG - Response for create_network : {'network': {'id': '34d5562a-f46a-419e-89ff-10f3987650cd', 'name': 'ctest-vn-30967171', 'tenant_id': '26b4c2dca2a34f0f8d6cde7e819fd957', 'project_id': '26b4c2dca2a34f0f8d6cde7e819fd957', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94492461', 'ctest-vn-30967171'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 19:41:48,619 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b73ba589-6150-46d8-9841-022dc1548738', 'name': '', 'tenant_id': '26b4c2dca2a34f0f8d6cde7e819fd957', 'network_id': '34d5562a-f46a-419e-89ff-10f3987650cd', 'ip_version': 4, 'cidr': '80.23.250.128/26', 'allocation_pools': [{'start': '80.23.250.130', 'end': '80.23.250.190'}], 'gateway_ip': '80.23.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.23.250.130', 'tags': [], 'project_id': '26b4c2dca2a34f0f8d6cde7e819fd957'}} 2025-09-22 19:41:48,635 - INFO - Created VN ctest-vn-30967171 2025-09-22 19:41:48,687 - DEBUG - VN ctest-vn-30967171 UUID is 34d5562a-f46a-419e-89ff-10f3987650cd 2025-09-22 19:41:48,835 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-99081819, 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-94492461:ctest-vn-30967171, 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] 2025-09-22 19:41:49,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5badf689-8523-4857-abbf-6daf37e24895', 'name': 'ctest-vn-99081819', 'tenant_id': '26b4c2dca2a34f0f8d6cde7e819fd957', 'project_id': '26b4c2dca2a34f0f8d6cde7e819fd957', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a36b4b8f-565d-49b2-bfef-c47984dd1c0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94492461', 'ctest-vn-99081819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94492461', 'ctest-policy-allow-all-45881295']], 'subnet_ipam': [{'subnet_cidr': '118.99.162.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 19:41:49,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34d5562a-f46a-419e-89ff-10f3987650cd', 'name': 'ctest-vn-30967171', 'tenant_id': '26b4c2dca2a34f0f8d6cde7e819fd957', 'project_id': '26b4c2dca2a34f0f8d6cde7e819fd957', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b73ba589-6150-46d8-9841-022dc1548738'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94492461', 'ctest-vn-30967171'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94492461', 'ctest-policy-allow-all-45881295']], 'subnet_ipam': [{'subnet_cidr': '80.23.250.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 19:41:49,523 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-22 19:41:49,820 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-22 19:41:49,849 - DEBUG - Requesting: http://10.0.0.49:8082/domain/68cecb4b-104e-442b-b003-e38ae151ab22 2025-09-22 19:41:49,859 - DEBUG - Requesting: http://10.0.0.49:8082/project/26b4c2dc-a2a3-4f0f-8d6c-de7e819fd957 2025-09-22 19:41:49,932 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5badf689-8523-4857-abbf-6daf37e24895 2025-09-22 19:41:49,945 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5badf689-8523-4857-abbf-6daf37e24895 2025-09-22 19:41:49,954 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/64cb0fbf-dd49-46ee-bd28-d2ca3d745c2f 2025-09-22 19:41:49,960 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/64cb0fbf-dd49-46ee-bd28-d2ca3d745c2f 2025-09-22 19:41:49,966 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/491c1ecb-6e42-4cf9-8705-d9ddd98e707f 2025-09-22 19:41:49,972 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 19:41:49,972 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5badf689-8523-4857-abbf-6daf37e24895 2025-09-22 19:41:49,981 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/64cb0fbf-dd49-46ee-bd28-d2ca3d745c2f 2025-09-22 19:41:49,995 - INFO - Verified VN network id 10 for VN 5badf689-8523-4857-abbf-6daf37e24895 2025-09-22 19:41:49,995 - INFO - Verifications in API Server for VN ctest-vn-99081819 passed 2025-09-22 19:41:49,995 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5badf689-8523-4857-abbf-6daf37e24895 2025-09-22 19:41:50,004 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/64cb0fbf-dd49-46ee-bd28-d2ca3d745c2f 2025-09-22 19:41:50,011 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/64cb0fbf-dd49-46ee-bd28-d2ca3d745c2f 2025-09-22 19:41:50,018 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/491c1ecb-6e42-4cf9-8705-d9ddd98e707f 2025-09-22 19:41:50,028 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-99081819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94492461', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6606207298927020119', 'uuid-lslong': '12375730900361693333'}, 'enable': 'true', 'created': '2025-09-22T19:41:47', 'last-modified': '2025-09-22T19:41:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.926117'} 2025-09-22 19:41:50,035 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 19:41:50,035 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99081819 passed 2025-09-22 19:41:50,035 - DEBUG - ====Verifying policy data for ctest-vn-99081819 in API_Server ====== 2025-09-22 19:41:50,035 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-22 19:41:50,041 - DEBUG - Requesting: http://10.0.0.49:8082/domain/68cecb4b-104e-442b-b003-e38ae151ab22 2025-09-22 19:41:50,051 - DEBUG - Requesting: http://10.0.0.49:8082/project/26b4c2dc-a2a3-4f0f-8d6c-de7e819fd957 2025-09-22 19:41:50,127 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/5badf689-8523-4857-abbf-6daf37e24895 2025-09-22 19:41:50,135 - DEBUG - ==>Verifying data for policy with id: 3644e5b5-4f47-4a18-9c0e-d3cd07a24d49, fqn: ['default-domain', 'ctest-TestBasicPolicy-94492461', 'ctest-policy-allow-all-45881295'] 2025-09-22 19:41:50,135 - INFO - VN ctest-vn-99081819 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 19:41:50,136 - DEBUG - Verifying the vn in opserver 2025-09-22 19:41:50,136 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-99081819 virtual network link through opserver 10.0.0.49 2025-09-22 19:41:50,136 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-22 19:41:50,430 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-22 19:41:50,483 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-99081819', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-99081819?flat'} 2025-09-22 19:41:50,483 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-99081819 is found in opserver 2025-09-22 19:41:50,492 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 19:41:50,495 - DEBUG - VRF ids for VN ctest-vn-99081819: {} 2025-09-22 19:41:50,496 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-22 19:41:50,500 - DEBUG - Requesting: http://10.0.0.49:8082/domain/68cecb4b-104e-442b-b003-e38ae151ab22 2025-09-22 19:41:50,510 - DEBUG - Requesting: http://10.0.0.49:8082/project/26b4c2dc-a2a3-4f0f-8d6c-de7e819fd957 2025-09-22 19:41:50,577 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/34d5562a-f46a-419e-89ff-10f3987650cd 2025-09-22 19:41:50,589 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/34d5562a-f46a-419e-89ff-10f3987650cd 2025-09-22 19:41:50,597 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/31f159a8-9615-4d86-bc7f-1333d39ffb9f 2025-09-22 19:41:50,604 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/31f159a8-9615-4d86-bc7f-1333d39ffb9f 2025-09-22 19:41:50,610 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/2156aade-ba84-44a0-aa22-0a86362ec4db 2025-09-22 19:41:50,617 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 19:41:50,617 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/34d5562a-f46a-419e-89ff-10f3987650cd 2025-09-22 19:41:50,626 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/31f159a8-9615-4d86-bc7f-1333d39ffb9f 2025-09-22 19:41:50,639 - INFO - Verified VN network id 11 for VN 34d5562a-f46a-419e-89ff-10f3987650cd 2025-09-22 19:41:50,639 - INFO - Verifications in API Server for VN ctest-vn-30967171 passed 2025-09-22 19:41:50,639 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/34d5562a-f46a-419e-89ff-10f3987650cd 2025-09-22 19:41:50,650 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/31f159a8-9615-4d86-bc7f-1333d39ffb9f 2025-09-22 19:41:50,657 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/31f159a8-9615-4d86-bc7f-1333d39ffb9f 2025-09-22 19:41:50,664 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/2156aade-ba84-44a0-aa22-0a86362ec4db 2025-09-22 19:41:50,674 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-30967171', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94492461', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3807043802500841886', 'uuid-lslong': '9943685140678332621'}, 'enable': 'true', 'created': '2025-09-22T19:41:48', 'last-modified': '2025-09-22T19:41:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.341467'} 2025-09-22 19:41:50,680 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 19:41:50,680 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30967171 passed 2025-09-22 19:41:50,681 - DEBUG - ====Verifying policy data for ctest-vn-30967171 in API_Server ====== 2025-09-22 19:41:50,681 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-22 19:41:50,686 - DEBUG - Requesting: http://10.0.0.49:8082/domain/68cecb4b-104e-442b-b003-e38ae151ab22 2025-09-22 19:41:50,697 - DEBUG - Requesting: http://10.0.0.49:8082/project/26b4c2dc-a2a3-4f0f-8d6c-de7e819fd957 2025-09-22 19:41:50,768 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/34d5562a-f46a-419e-89ff-10f3987650cd 2025-09-22 19:41:50,779 - DEBUG - ==>Verifying data for policy with id: 3644e5b5-4f47-4a18-9c0e-d3cd07a24d49, fqn: ['default-domain', 'ctest-TestBasicPolicy-94492461', 'ctest-policy-allow-all-45881295'] 2025-09-22 19:41:50,779 - INFO - VN ctest-vn-30967171 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 19:41:50,779 - DEBUG - Verifying the vn in opserver 2025-09-22 19:41:50,779 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-30967171 virtual network link through opserver 10.0.0.49 2025-09-22 19:41:50,779 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-22 19:41:50,790 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-30967171', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-30967171?flat'} 2025-09-22 19:41:50,790 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-30967171 is found in opserver 2025-09-22 19:41:50,800 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 19:41:50,805 - DEBUG - VRF ids for VN ctest-vn-30967171: {} 2025-09-22 19:41:50,874 - DEBUG - Services list from nova: [, , ] 2025-09-22 19:41:51,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4171-1) 2025-09-22 19:41:53,014 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4171-1) 2025-09-22 19:41:53,015 - INFO - Waiting for VM ctest-TestBasicPolicy-94492461-69317276 to be up.. 2025-09-22 19:41:53,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 19:41:58,164 - DEBUG - VM is in ACTIVE state now 2025-09-22 19:41:58,164 - INFO - VM name : ctest-TestBasicPolicy-94492461-69317276 2025-09-22 19:41:58,237 - DEBUG - VM ctest-TestBasicPolicy-94492461-69317276 ID is 3d625962-8a36-44c5-882a-60d6fe12f3fc 2025-09-22 19:41:58,259 - DEBUG - VM ctest-TestBasicPolicy-94492461-69317276 launched on Node cn-jenkins-deploy-platform-ansible-os-4171-1 2025-09-22 19:41:58,339 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/3d625962-8a36-44c5-882a-60d6fe12f3fc 2025-09-22 19:41:58,348 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/9dbca6de-7424-4c68-95dd-c92a1a1e9398 2025-09-22 19:42:01,600 - 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 1023ms') 2025-09-22 19:42:01,600 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94492461-69317276 failed! 2025-09-22 19:42:01,655 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94492461:ctest-vn-99081819 is 118.99.162.65 and allocation pool is NOT set 2025-09-22 19:42:03,718 - 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=3.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.879 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 = 0.879/2.078/3.278/1.199 ms') 2025-09-22 19:42:03,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94492461-69317276 passed 2025-09-22 19:42:03,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:42:03,863 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94492461-69317276, IP 118.99.162.67, Port 22 2025-09-22 19:42:03,928 - 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': ''} 2025-09-22 19:42:04,000 - DEBUG - VM ctest-TestBasicPolicy-94492461-69317276 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 19:42:09,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:42:09,002 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94492461-69317276, IP 118.99.162.67, Port 22 2025-09-22 19:42:09,170 - DEBUG - VM ctest-TestBasicPolicy-94492461-69317276 is ready for SSH connections 2025-09-22 19:42:09,170 - INFO - Waiting for VM ctest-TestBasicPolicy-94492461-30058176 to be up.. 2025-09-22 19:42:09,239 - DEBUG - VM is in ACTIVE state now 2025-09-22 19:42:09,239 - INFO - VM name : ctest-TestBasicPolicy-94492461-30058176 2025-09-22 19:42:09,305 - DEBUG - VM ctest-TestBasicPolicy-94492461-30058176 ID is 46bad0fa-5994-4142-8efc-55f47bb54928 2025-09-22 19:42:09,305 - DEBUG - VM ctest-TestBasicPolicy-94492461-30058176 launched on Node cn-jenkins-deploy-platform-ansible-os-4171-1 2025-09-22 19:42:09,368 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/46bad0fa-5994-4142-8efc-55f47bb54928 2025-09-22 19:42:09,375 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/759bea5f-9c18-44d8-813d-46a2fa4f650b 2025-09-22 19:42:10,611 - 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=2.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.507/2.638/1.131 ms') 2025-09-22 19:42:10,612 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94492461-30058176 passed 2025-09-22 19:42:10,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:42:10,759 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94492461-30058176, IP 80.23.250.131, Port 22 2025-09-22 19:42:10,914 - DEBUG - VM ctest-TestBasicPolicy-94492461-30058176 is ready for SSH connections 2025-09-22 19:42:10,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:42:10,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.23.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-22 19:42:10,915 - DEBUG - ping -s 56 -c 3 -W 1 80.23.250.131 2025-09-22 19:42:14,889 - DEBUG - PING 80.23.250.131 (80.23.250.131): 56 data bytes 64 bytes from 80.23.250.131: seq=0 ttl=63 time=3.518 ms 64 bytes from 80.23.250.131: seq=1 ttl=63 time=0.771 ms 64 bytes from 80.23.250.131: seq=2 ttl=63 time=1.163 ms --- 80.23.250.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.771/1.817/3.518 ms 2025-09-22 19:42:14,889 - INFO - Ping to IP 80.23.250.131 from VM ctest-TestBasicPolicy-94492461-69317276 passed 2025-09-22 19:42:15,059 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3644e5b5-4f47-4a18-9c0e-d3cd07a24d49", "href": "http://10.0.0.49:8082/network-policy/3644e5b5-4f47-4a18-9c0e-d3cd07a24d49"}} 2025-09-22 19:42:15,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:42:15,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.23.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-22 19:42:15,059 - DEBUG - ping -s 56 -c 3 -W 1 80.23.250.131 2025-09-22 19:42:18,268 - DEBUG - PING 80.23.250.131 (80.23.250.131): 56 data bytes --- 80.23.250.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 19:42:18,268 - WARNING - Ping to IP 80.23.250.131 from VM ctest-TestBasicPolicy-94492461-69317276 failed 2025-09-22 19:42:18,268 - INFO - Deleting VM ctest-TestBasicPolicy-94492461-30058176 2025-09-22 19:42:18,341 - INFO - Deleting VM ctest-TestBasicPolicy-94492461-69317276 2025-09-22 19:42:18,708 - INFO - Deleted policy ctest-policy-allow-all-45881295 2025-09-22 19:42:18,708 - INFO - Deleting VN ctest-vn-30967171 2025-09-22 19:42:18,741 - DEBUG - VN 34d5562a-f46a-419e-89ff-10f3987650cd still in use: Unable to complete operation on network 34d5562a-f46a-419e-89ff-10f3987650cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44f60591-3d37-410f-8ee8-bf1d8e391d12'] 2025-09-22 19:42:18,741 - WARNING - Deleting VN ctest-vn-30967171 failed..Will retry 2025-09-22 19:42:20,848 - DEBUG - Response for deleting network () 2025-09-22 19:42:20,848 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/31f159a8-9615-4d86-bc7f-1333d39ffb9f 2025-09-22 19:42:20,854 - DEBUG - Response Code: 404 2025-09-22 19:42:20,854 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-22 19:42:20,858 - DEBUG - Requesting: http://10.0.0.49:8082/domain/68cecb4b-104e-442b-b003-e38ae151ab22 2025-09-22 19:42:20,917 - DEBUG - Requesting: http://10.0.0.49:8082/project/26b4c2dc-a2a3-4f0f-8d6c-de7e819fd957 2025-09-22 19:42:20,988 - INFO - Validated that VN ctest-vn-30967171 is not found in API Server 2025-09-22 19:42:20,998 - DEBUG - VN ctest-vn-30967171 is not present in Agent 10.0.0.49 2025-09-22 19:42:20,998 - INFO - Validated that VN ctest-vn-30967171 is not in any agent 2025-09-22 19:42:21,010 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30967171 info 2025-09-22 19:42:21,010 - INFO - Deleting VN ctest-vn-99081819 2025-09-22 19:42:21,119 - DEBUG - Response for deleting network () 2025-09-22 19:42:21,120 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/64cb0fbf-dd49-46ee-bd28-d2ca3d745c2f 2025-09-22 19:42:21,125 - DEBUG - Response Code: 404 2025-09-22 19:42:21,125 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-22 19:42:21,130 - DEBUG - Requesting: http://10.0.0.49:8082/domain/68cecb4b-104e-442b-b003-e38ae151ab22 2025-09-22 19:42:21,185 - DEBUG - Requesting: http://10.0.0.49:8082/project/26b4c2dc-a2a3-4f0f-8d6c-de7e819fd957 2025-09-22 19:42:21,258 - INFO - Validated that VN ctest-vn-99081819 is not found in API Server 2025-09-22 19:42:21,269 - DEBUG - VN ctest-vn-99081819 is not present in Agent 10.0.0.49 2025-09-22 19:42:21,269 - INFO - Validated that VN ctest-vn-99081819 is not in any agent 2025-09-22 19:42:21,284 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99081819 info 2025-09-22 19:42:21,540 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 19:42:21,540 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-22 19:42:21,540 - INFO - -------------------------------------------------------------------------------- 2025-09-22 19:42:22,200 - INFO - Deleted project: ctest-TestBasicPolicy-94492461, ID : 26b4c2dc-a2a3-4f0f-8d6c-de7e819fd957