2025-10-23 16:07:49,679 - INFO - Domain Default found not creating 2025-10-23 16:07:49,842 - INFO - Project ctest-TestBasicPolicy-14096862 not found, creating it 2025-10-23 16:07:50,309 - INFO - Created Project:ctest-TestBasicPolicy-14096862, ID : 3b9ed088-5478-415d-a055-ea96565d2e1f 2025-10-23 16:07:51,903 - INFO - ================================================================================ 2025-10-23 16:07:51,903 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 16:07:51,904 - 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-10-23 16:07:52,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-23 16:07:52,160 - INFO - Initial checks done. Running the testcase now 2025-10-23 16:07:52,160 - INFO - 2025-10-23 16:07:52,756 - DEBUG - Response for create_network : {'network': {'id': 'e47d48d0-6ddd-42d2-982b-a60c1ee3e8d2', 'name': 'ctest-vn-90744771', 'tenant_id': '3b9ed0885478415da055ea96565d2e1f', 'project_id': '3b9ed0885478415da055ea96565d2e1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14096862', 'ctest-vn-90744771'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:07:52,942 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d47c434-de6f-41e3-98cc-4d7aa0ca095e', 'name': '', 'tenant_id': '3b9ed0885478415da055ea96565d2e1f', 'network_id': 'e47d48d0-6ddd-42d2-982b-a60c1ee3e8d2', 'ip_version': 4, 'cidr': '198.6.2.192/26', 'allocation_pools': [{'start': '198.6.2.194', 'end': '198.6.2.254'}], 'gateway_ip': '198.6.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.6.2.194', 'tags': [], 'project_id': '3b9ed0885478415da055ea96565d2e1f'}} 2025-10-23 16:07:52,962 - INFO - Created VN ctest-vn-90744771 2025-10-23 16:07:53,015 - DEBUG - VN ctest-vn-90744771 UUID is e47d48d0-6ddd-42d2-982b-a60c1ee3e8d2 2025-10-23 16:07:53,305 - DEBUG - Response for create_network : {'network': {'id': '399a9d40-cd6a-429d-93ef-dde9f4a90f15', 'name': 'ctest-vn-50073014', 'tenant_id': '3b9ed0885478415da055ea96565d2e1f', 'project_id': '3b9ed0885478415da055ea96565d2e1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14096862', 'ctest-vn-50073014'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:07:53,540 - DEBUG - Response for create_subnet : {'subnet': {'id': '493989af-3504-437b-a37a-6d1eeaf1e453', 'name': '', 'tenant_id': '3b9ed0885478415da055ea96565d2e1f', 'network_id': '399a9d40-cd6a-429d-93ef-dde9f4a90f15', 'ip_version': 4, 'cidr': '121.144.121.64/26', 'allocation_pools': [{'start': '121.144.121.66', 'end': '121.144.121.126'}], 'gateway_ip': '121.144.121.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.144.121.66', 'tags': [], 'project_id': '3b9ed0885478415da055ea96565d2e1f'}} 2025-10-23 16:07:53,561 - INFO - Created VN ctest-vn-50073014 2025-10-23 16:07:53,611 - DEBUG - VN ctest-vn-50073014 UUID is 399a9d40-cd6a-429d-93ef-dde9f4a90f15 2025-10-23 16:07:53,738 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-90744771, 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-14096862:ctest-vn-50073014, 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-10-23 16:07:54,057 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e47d48d0-6ddd-42d2-982b-a60c1ee3e8d2', 'name': 'ctest-vn-90744771', 'tenant_id': '3b9ed0885478415da055ea96565d2e1f', 'project_id': '3b9ed0885478415da055ea96565d2e1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8d47c434-de6f-41e3-98cc-4d7aa0ca095e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14096862', 'ctest-vn-90744771'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14096862', 'ctest-policy-allow-all-11325347']], 'subnet_ipam': [{'subnet_cidr': '198.6.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:07:54,331 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '399a9d40-cd6a-429d-93ef-dde9f4a90f15', 'name': 'ctest-vn-50073014', 'tenant_id': '3b9ed0885478415da055ea96565d2e1f', 'project_id': '3b9ed0885478415da055ea96565d2e1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['493989af-3504-437b-a37a-6d1eeaf1e453'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14096862', 'ctest-vn-50073014'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14096862', 'ctest-policy-allow-all-11325347']], 'subnet_ipam': [{'subnet_cidr': '121.144.121.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:07:54,479 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-23 16:07:54,821 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-23 16:07:54,851 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b2e5f223-f049-4df1-907a-f3d76c19ea60 2025-10-23 16:07:54,864 - DEBUG - Requesting: http://10.0.0.33:8082/project/3b9ed088-5478-415d-a055-ea96565d2e1f 2025-10-23 16:07:54,933 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e47d48d0-6ddd-42d2-982b-a60c1ee3e8d2 2025-10-23 16:07:54,949 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e47d48d0-6ddd-42d2-982b-a60c1ee3e8d2 2025-10-23 16:07:54,960 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb20859-2f7b-488b-a1d5-7a07c39db448 2025-10-23 16:07:54,968 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb20859-2f7b-488b-a1d5-7a07c39db448 2025-10-23 16:07:54,977 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7e557058-1583-44b0-aa47-e63965a9f850 2025-10-23 16:07:54,983 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 16:07:54,983 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e47d48d0-6ddd-42d2-982b-a60c1ee3e8d2 2025-10-23 16:07:54,993 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb20859-2f7b-488b-a1d5-7a07c39db448 2025-10-23 16:07:55,009 - INFO - Verified VN network id 11 for VN e47d48d0-6ddd-42d2-982b-a60c1ee3e8d2 2025-10-23 16:07:55,009 - INFO - Verifications in API Server for VN ctest-vn-90744771 passed 2025-10-23 16:07:55,009 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e47d48d0-6ddd-42d2-982b-a60c1ee3e8d2 2025-10-23 16:07:55,020 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb20859-2f7b-488b-a1d5-7a07c39db448 2025-10-23 16:07:55,030 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb20859-2f7b-488b-a1d5-7a07c39db448 2025-10-23 16:07:55,037 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7e557058-1583-44b0-aa47-e63965a9f850 2025-10-23 16:07:55,053 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-90744771', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14096862', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16464395872770015954', 'uuid-lslong': '10965040288751675602'}, 'enable': 'true', 'created': '2025-10-23T16:07:52', 'last-modified': '2025-10-23T16:07:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.023528'} 2025-10-23 16:07:55,060 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 16:07:55,060 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90744771 passed 2025-10-23 16:07:55,060 - DEBUG - ====Verifying policy data for ctest-vn-90744771 in API_Server ====== 2025-10-23 16:07:55,060 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-23 16:07:55,066 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b2e5f223-f049-4df1-907a-f3d76c19ea60 2025-10-23 16:07:55,077 - DEBUG - Requesting: http://10.0.0.33:8082/project/3b9ed088-5478-415d-a055-ea96565d2e1f 2025-10-23 16:07:55,147 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e47d48d0-6ddd-42d2-982b-a60c1ee3e8d2 2025-10-23 16:07:55,157 - DEBUG - ==>Verifying data for policy with id: fdb8d4d6-3f63-4b08-bfb6-b222d7faca02, fqn: ['default-domain', 'ctest-TestBasicPolicy-14096862', 'ctest-policy-allow-all-11325347'] 2025-10-23 16:07:55,157 - INFO - VN ctest-vn-90744771 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 16:07:55,157 - DEBUG - Verifying the vn in opserver 2025-10-23 16:07:55,157 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-90744771 virtual network link through opserver 10.0.0.33 2025-10-23 16:07:55,158 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-23 16:07:55,502 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-23 16:07:55,561 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-90744771', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-90744771?flat'} 2025-10-23 16:07:55,561 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-90744771 is found in opserver 2025-10-23 16:07:55,572 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 16:07:55,577 - DEBUG - VRF ids for VN ctest-vn-90744771: {} 2025-10-23 16:07:55,577 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-23 16:07:55,584 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b2e5f223-f049-4df1-907a-f3d76c19ea60 2025-10-23 16:07:55,597 - DEBUG - Requesting: http://10.0.0.33:8082/project/3b9ed088-5478-415d-a055-ea96565d2e1f 2025-10-23 16:07:55,668 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/399a9d40-cd6a-429d-93ef-dde9f4a90f15 2025-10-23 16:07:55,681 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/399a9d40-cd6a-429d-93ef-dde9f4a90f15 2025-10-23 16:07:55,690 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f58bb5a4-27d1-428c-9aa8-c915ac6217ec 2025-10-23 16:07:55,698 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f58bb5a4-27d1-428c-9aa8-c915ac6217ec 2025-10-23 16:07:55,704 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/072af489-33ea-4f5e-b9d8-bcccd55eb203 2025-10-23 16:07:55,710 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 16:07:55,710 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/399a9d40-cd6a-429d-93ef-dde9f4a90f15 2025-10-23 16:07:55,721 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f58bb5a4-27d1-428c-9aa8-c915ac6217ec 2025-10-23 16:07:55,735 - INFO - Verified VN network id 12 for VN 399a9d40-cd6a-429d-93ef-dde9f4a90f15 2025-10-23 16:07:55,735 - INFO - Verifications in API Server for VN ctest-vn-50073014 passed 2025-10-23 16:07:55,736 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/399a9d40-cd6a-429d-93ef-dde9f4a90f15 2025-10-23 16:07:55,744 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f58bb5a4-27d1-428c-9aa8-c915ac6217ec 2025-10-23 16:07:55,753 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f58bb5a4-27d1-428c-9aa8-c915ac6217ec 2025-10-23 16:07:55,759 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/072af489-33ea-4f5e-b9d8-bcccd55eb203 2025-10-23 16:07:55,774 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-50073014', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14096862', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4150802908225094301', 'uuid-lslong': '10659982839911091989'}, 'enable': 'true', 'created': '2025-10-23T16:07:53', 'last-modified': '2025-10-23T16:07:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.509624'} 2025-10-23 16:07:55,782 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 16:07:55,782 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50073014 passed 2025-10-23 16:07:55,782 - DEBUG - ====Verifying policy data for ctest-vn-50073014 in API_Server ====== 2025-10-23 16:07:55,782 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-23 16:07:55,788 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b2e5f223-f049-4df1-907a-f3d76c19ea60 2025-10-23 16:07:55,799 - DEBUG - Requesting: http://10.0.0.33:8082/project/3b9ed088-5478-415d-a055-ea96565d2e1f 2025-10-23 16:07:55,876 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/399a9d40-cd6a-429d-93ef-dde9f4a90f15 2025-10-23 16:07:55,889 - DEBUG - ==>Verifying data for policy with id: fdb8d4d6-3f63-4b08-bfb6-b222d7faca02, fqn: ['default-domain', 'ctest-TestBasicPolicy-14096862', 'ctest-policy-allow-all-11325347'] 2025-10-23 16:07:55,889 - INFO - VN ctest-vn-50073014 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 16:07:55,889 - DEBUG - Verifying the vn in opserver 2025-10-23 16:07:55,889 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-50073014 virtual network link through opserver 10.0.0.33 2025-10-23 16:07:55,889 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-23 16:07:55,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-50073014', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-50073014?flat'} 2025-10-23 16:07:55,899 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-50073014 is found in opserver 2025-10-23 16:07:55,910 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 16:07:55,915 - DEBUG - VRF ids for VN ctest-vn-50073014: {} 2025-10-23 16:07:55,985 - DEBUG - Services list from nova: [, , ] 2025-10-23 16:07:57,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4462-1) 2025-10-23 16:07:58,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4462-1) 2025-10-23 16:07:58,373 - INFO - Waiting for VM ctest-TestBasicPolicy-14096862-42074618 to be up.. 2025-10-23 16:07:58,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 16:08:03,626 - DEBUG - VM is in ACTIVE state now 2025-10-23 16:08:03,626 - INFO - VM name : ctest-TestBasicPolicy-14096862-42074618 2025-10-23 16:08:03,761 - DEBUG - VM ctest-TestBasicPolicy-14096862-42074618 ID is 023d84c2-b44e-485b-9b8c-5b63b92fabc5 2025-10-23 16:08:03,798 - DEBUG - VM ctest-TestBasicPolicy-14096862-42074618 launched on Node cn-jenkins-deploy-platform-ansible-os-4462-1 2025-10-23 16:08:03,936 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/023d84c2-b44e-485b-9b8c-5b63b92fabc5 2025-10-23 16:08:03,949 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1d3885e1-fa50-4c85-9355-73e28686e736 2025-10-23 16:08:07,254 - 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 1022ms') 2025-10-23 16:08:07,254 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14096862-42074618 failed! 2025-10-23 16:08:07,307 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14096862:ctest-vn-90744771 is 198.6.2.193 and allocation pool is NOT set 2025-10-23 16:08:09,374 - 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=4.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.39 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 = 1.393/3.112/4.832/1.719 ms') 2025-10-23 16:08:09,374 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14096862-42074618 passed 2025-10-23 16:08:09,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:08:09,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14096862-42074618, IP 198.6.2.195, Port 22 2025-10-23 16:08:09,597 - 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-10-23 16:08:09,676 - DEBUG - VM ctest-TestBasicPolicy-14096862-42074618 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 16:08:14,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:08:14,677 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14096862-42074618, IP 198.6.2.195, Port 22 2025-10-23 16:08:14,842 - DEBUG - VM ctest-TestBasicPolicy-14096862-42074618 is ready for SSH connections 2025-10-23 16:08:14,843 - INFO - Waiting for VM ctest-TestBasicPolicy-14096862-59163288 to be up.. 2025-10-23 16:08:14,925 - DEBUG - VM is in ACTIVE state now 2025-10-23 16:08:14,925 - INFO - VM name : ctest-TestBasicPolicy-14096862-59163288 2025-10-23 16:08:15,004 - DEBUG - VM ctest-TestBasicPolicy-14096862-59163288 ID is f94f8b95-4586-44b8-8665-f1c304175036 2025-10-23 16:08:15,004 - DEBUG - VM ctest-TestBasicPolicy-14096862-59163288 launched on Node cn-jenkins-deploy-platform-ansible-os-4462-1 2025-10-23 16:08:15,085 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f94f8b95-4586-44b8-8665-f1c304175036 2025-10-23 16:08:15,093 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/83499b59-ae6b-430b-9341-2c0534182ae3 2025-10-23 16:08:16,334 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.769/3.122/1.353 ms') 2025-10-23 16:08:16,334 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14096862-59163288 passed 2025-10-23 16:08:16,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:08:16,483 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14096862-59163288, IP 121.144.121.67, Port 22 2025-10-23 16:08:16,656 - DEBUG - VM ctest-TestBasicPolicy-14096862-59163288 is ready for SSH connections 2025-10-23 16:08:16,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:08:16,656 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.144.121.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-23 16:08:16,656 - DEBUG - ping -s 56 -c 3 -W 1 121.144.121.67 2025-10-23 16:08:20,765 - DEBUG - PING 121.144.121.67 (121.144.121.67): 56 data bytes 64 bytes from 121.144.121.67: seq=0 ttl=63 time=3.982 ms 64 bytes from 121.144.121.67: seq=1 ttl=63 time=1.059 ms 64 bytes from 121.144.121.67: seq=2 ttl=63 time=1.315 ms --- 121.144.121.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.059/2.118/3.982 ms 2025-10-23 16:08:20,765 - INFO - Ping to IP 121.144.121.67 from VM ctest-TestBasicPolicy-14096862-42074618 passed 2025-10-23 16:08:20,959 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fdb8d4d6-3f63-4b08-bfb6-b222d7faca02", "href": "http://10.0.0.33:8082/network-policy/fdb8d4d6-3f63-4b08-bfb6-b222d7faca02"}} 2025-10-23 16:08:20,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:08:20,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.144.121.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-23 16:08:20,959 - DEBUG - ping -s 56 -c 3 -W 1 121.144.121.67 2025-10-23 16:08:24,189 - DEBUG - PING 121.144.121.67 (121.144.121.67): 56 data bytes --- 121.144.121.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 16:08:24,189 - WARNING - Ping to IP 121.144.121.67 from VM ctest-TestBasicPolicy-14096862-42074618 failed 2025-10-23 16:08:24,190 - INFO - Deleting VM ctest-TestBasicPolicy-14096862-59163288 2025-10-23 16:08:24,271 - INFO - Deleting VM ctest-TestBasicPolicy-14096862-42074618 2025-10-23 16:08:24,735 - INFO - Deleted policy ctest-policy-allow-all-11325347 2025-10-23 16:08:24,735 - INFO - Deleting VN ctest-vn-50073014 2025-10-23 16:08:24,783 - DEBUG - VN 399a9d40-cd6a-429d-93ef-dde9f4a90f15 still in use: Unable to complete operation on network 399a9d40-cd6a-429d-93ef-dde9f4a90f15. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5106b4ea-cd61-49cb-b604-e5a5d9251363'] 2025-10-23 16:08:24,783 - WARNING - Deleting VN ctest-vn-50073014 failed..Will retry 2025-10-23 16:08:26,888 - DEBUG - Response for deleting network () 2025-10-23 16:08:26,888 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f58bb5a4-27d1-428c-9aa8-c915ac6217ec 2025-10-23 16:08:26,895 - DEBUG - Response Code: 404 2025-10-23 16:08:26,895 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-23 16:08:26,901 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b2e5f223-f049-4df1-907a-f3d76c19ea60 2025-10-23 16:08:26,958 - DEBUG - Requesting: http://10.0.0.33:8082/project/3b9ed088-5478-415d-a055-ea96565d2e1f 2025-10-23 16:08:27,031 - INFO - Validated that VN ctest-vn-50073014 is not found in API Server 2025-10-23 16:08:27,040 - DEBUG - VN ctest-vn-50073014 is not present in Agent 10.0.0.33 2025-10-23 16:08:27,040 - INFO - Validated that VN ctest-vn-50073014 is not in any agent 2025-10-23 16:08:27,054 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50073014 info 2025-10-23 16:08:27,054 - INFO - Deleting VN ctest-vn-90744771 2025-10-23 16:08:27,160 - DEBUG - Response for deleting network () 2025-10-23 16:08:27,160 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cb20859-2f7b-488b-a1d5-7a07c39db448 2025-10-23 16:08:27,166 - DEBUG - Response Code: 404 2025-10-23 16:08:27,166 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-23 16:08:27,172 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b2e5f223-f049-4df1-907a-f3d76c19ea60 2025-10-23 16:08:27,224 - DEBUG - Requesting: http://10.0.0.33:8082/project/3b9ed088-5478-415d-a055-ea96565d2e1f 2025-10-23 16:08:27,293 - INFO - Validated that VN ctest-vn-90744771 is not found in API Server 2025-10-23 16:08:27,303 - DEBUG - VN ctest-vn-90744771 is not present in Agent 10.0.0.33 2025-10-23 16:08:27,303 - INFO - Validated that VN ctest-vn-90744771 is not in any agent 2025-10-23 16:08:27,317 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90744771 info 2025-10-23 16:08:27,584 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 16:08:27,584 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-10-23 16:08:27,584 - INFO - -------------------------------------------------------------------------------- 2025-10-23 16:08:28,329 - INFO - Deleted project: ctest-TestBasicPolicy-14096862, ID : 3b9ed088-5478-415d-a055-ea96565d2e1f