2025-11-25 12:41:39,962 - INFO - Domain Default found not creating 2025-11-25 12:41:40,209 - INFO - Project ctest-TestBasicPolicy-86210838 not found, creating it 2025-11-25 12:41:40,803 - INFO - Created Project:ctest-TestBasicPolicy-86210838, ID : cc5dae81-6a85-4e18-a137-ff90c60ec5e8 2025-11-25 12:41:42,592 - INFO - ================================================================================ 2025-11-25 12:41:42,592 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-25 12:41:42,592 - 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-11-25 12:41:42,891 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-25 12:41:42,891 - INFO - Initial checks done. Running the testcase now 2025-11-25 12:41:42,891 - INFO - 2025-11-25 12:41:43,563 - DEBUG - Response for create_network : {'network': {'id': '1d860d6a-009b-4bfa-8f31-00379c1dc35a', 'name': 'ctest-vn-51923642', 'tenant_id': 'cc5dae816a854e18a137ff90c60ec5e8', 'project_id': 'cc5dae816a854e18a137ff90c60ec5e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86210838', 'ctest-vn-51923642'], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:41:43,776 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e90f9531-bc58-4089-a062-c0aee797d8af', 'name': '', 'tenant_id': 'cc5dae816a854e18a137ff90c60ec5e8', 'network_id': '1d860d6a-009b-4bfa-8f31-00379c1dc35a', 'ip_version': 4, 'cidr': '31.220.65.0/26', 'allocation_pools': [{'start': '31.220.65.2', 'end': '31.220.65.62'}], 'gateway_ip': '31.220.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.220.65.2', 'tags': [], 'project_id': 'cc5dae816a854e18a137ff90c60ec5e8'}} 2025-11-25 12:41:43,802 - INFO - Created VN ctest-vn-51923642 2025-11-25 12:41:43,859 - DEBUG - VN ctest-vn-51923642 UUID is 1d860d6a-009b-4bfa-8f31-00379c1dc35a 2025-11-25 12:41:44,183 - DEBUG - Response for create_network : {'network': {'id': 'c02bbfad-19dd-494d-81b3-0b9f656bf03a', 'name': 'ctest-vn-46015106', 'tenant_id': 'cc5dae816a854e18a137ff90c60ec5e8', 'project_id': 'cc5dae816a854e18a137ff90c60ec5e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86210838', 'ctest-vn-46015106'], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:41:44,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7c61123-c47f-475f-a5b2-403e19e2e0a0', 'name': '', 'tenant_id': 'cc5dae816a854e18a137ff90c60ec5e8', 'network_id': 'c02bbfad-19dd-494d-81b3-0b9f656bf03a', 'ip_version': 4, 'cidr': '1.132.87.0/26', 'allocation_pools': [{'start': '1.132.87.2', 'end': '1.132.87.62'}], 'gateway_ip': '1.132.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.132.87.2', 'tags': [], 'project_id': 'cc5dae816a854e18a137ff90c60ec5e8'}} 2025-11-25 12:41:44,424 - INFO - Created VN ctest-vn-46015106 2025-11-25 12:41:44,479 - DEBUG - VN ctest-vn-46015106 UUID is c02bbfad-19dd-494d-81b3-0b9f656bf03a 2025-11-25 12:41:44,625 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-51923642, 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-86210838:ctest-vn-46015106, 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-11-25 12:41:44,985 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1d860d6a-009b-4bfa-8f31-00379c1dc35a', 'name': 'ctest-vn-51923642', 'tenant_id': 'cc5dae816a854e18a137ff90c60ec5e8', 'project_id': 'cc5dae816a854e18a137ff90c60ec5e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e90f9531-bc58-4089-a062-c0aee797d8af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86210838', 'ctest-vn-51923642'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86210838', 'ctest-policy-allow-all-67386276']], 'subnet_ipam': [{'subnet_cidr': '31.220.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:41:45,308 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c02bbfad-19dd-494d-81b3-0b9f656bf03a', 'name': 'ctest-vn-46015106', 'tenant_id': 'cc5dae816a854e18a137ff90c60ec5e8', 'project_id': 'cc5dae816a854e18a137ff90c60ec5e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d7c61123-c47f-475f-a5b2-403e19e2e0a0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86210838', 'ctest-vn-46015106'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86210838', 'ctest-policy-allow-all-67386276']], 'subnet_ipam': [{'subnet_cidr': '1.132.87.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:41:45,459 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-25 12:41:45,764 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-25 12:41:45,805 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4ac658d7-507b-4f87-bf05-211afa50c252 2025-11-25 12:41:45,825 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc5dae81-6a85-4e18-a137-ff90c60ec5e8 2025-11-25 12:41:45,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1d860d6a-009b-4bfa-8f31-00379c1dc35a 2025-11-25 12:41:45,926 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1d860d6a-009b-4bfa-8f31-00379c1dc35a 2025-11-25 12:41:45,937 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/127f153b-1e54-4afc-a98c-1a8e8f677da3 2025-11-25 12:41:45,946 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/127f153b-1e54-4afc-a98c-1a8e8f677da3 2025-11-25 12:41:45,957 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2621929b-7bb0-4730-a3ee-9c99c1988cdf 2025-11-25 12:41:45,966 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-25 12:41:45,966 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1d860d6a-009b-4bfa-8f31-00379c1dc35a 2025-11-25 12:41:45,983 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/127f153b-1e54-4afc-a98c-1a8e8f677da3 2025-11-25 12:41:46,005 - INFO - Verified VN network id 11 for VN 1d860d6a-009b-4bfa-8f31-00379c1dc35a 2025-11-25 12:41:46,005 - INFO - Verifications in API Server for VN ctest-vn-51923642 passed 2025-11-25 12:41:46,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1d860d6a-009b-4bfa-8f31-00379c1dc35a 2025-11-25 12:41:46,017 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/127f153b-1e54-4afc-a98c-1a8e8f677da3 2025-11-25 12:41:46,025 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/127f153b-1e54-4afc-a98c-1a8e8f677da3 2025-11-25 12:41:46,034 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2621929b-7bb0-4730-a3ee-9c99c1988cdf 2025-11-25 12:41:46,046 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-51923642', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86210838', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2127402622907010042', 'uuid-lslong': '10318028460124914522'}, 'enable': 'true', 'created': '2025-11-25T12:41:43', 'last-modified': '2025-11-25T12:41:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.086803'} 2025-11-25 12:41:46,052 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-25 12:41:46,052 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51923642 passed 2025-11-25 12:41:46,053 - DEBUG - ====Verifying policy data for ctest-vn-51923642 in API_Server ====== 2025-11-25 12:41:46,053 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-25 12:41:46,059 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4ac658d7-507b-4f87-bf05-211afa50c252 2025-11-25 12:41:46,073 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc5dae81-6a85-4e18-a137-ff90c60ec5e8 2025-11-25 12:41:46,152 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1d860d6a-009b-4bfa-8f31-00379c1dc35a 2025-11-25 12:41:46,163 - DEBUG - ==>Verifying data for policy with id: 761e49be-e8ce-4639-a304-af457dac0689, fqn: ['default-domain', 'ctest-TestBasicPolicy-86210838', 'ctest-policy-allow-all-67386276'] 2025-11-25 12:41:46,163 - INFO - VN ctest-vn-51923642 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-25 12:41:46,163 - DEBUG - Verifying the vn in opserver 2025-11-25 12:41:46,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-51923642 virtual network link through opserver 10.0.0.38 2025-11-25 12:41:46,164 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-25 12:41:46,465 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-25 12:41:46,577 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-51923642', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-51923642?flat'} 2025-11-25 12:41:46,578 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-51923642 is found in opserver 2025-11-25 12:41:46,599 - DEBUG - Do not have enough data to verify VN in agent 2025-11-25 12:41:46,608 - DEBUG - VRF ids for VN ctest-vn-51923642: {} 2025-11-25 12:41:46,608 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-25 12:41:46,617 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4ac658d7-507b-4f87-bf05-211afa50c252 2025-11-25 12:41:46,631 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc5dae81-6a85-4e18-a137-ff90c60ec5e8 2025-11-25 12:41:46,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c02bbfad-19dd-494d-81b3-0b9f656bf03a 2025-11-25 12:41:46,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c02bbfad-19dd-494d-81b3-0b9f656bf03a 2025-11-25 12:41:46,777 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0ee52f0-105e-4114-aee3-1875508173ad 2025-11-25 12:41:46,787 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0ee52f0-105e-4114-aee3-1875508173ad 2025-11-25 12:41:46,795 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d52e1248-2fed-48ea-ba86-42c2642f911c 2025-11-25 12:41:46,803 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-25 12:41:46,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c02bbfad-19dd-494d-81b3-0b9f656bf03a 2025-11-25 12:41:46,817 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0ee52f0-105e-4114-aee3-1875508173ad 2025-11-25 12:41:46,838 - INFO - Verified VN network id 12 for VN c02bbfad-19dd-494d-81b3-0b9f656bf03a 2025-11-25 12:41:46,838 - INFO - Verifications in API Server for VN ctest-vn-46015106 passed 2025-11-25 12:41:46,838 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c02bbfad-19dd-494d-81b3-0b9f656bf03a 2025-11-25 12:41:46,848 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0ee52f0-105e-4114-aee3-1875508173ad 2025-11-25 12:41:46,856 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0ee52f0-105e-4114-aee3-1875508173ad 2025-11-25 12:41:46,865 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d52e1248-2fed-48ea-ba86-42c2642f911c 2025-11-25 12:41:46,883 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-46015106', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86210838', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13847372229464901965', 'uuid-lslong': '9345826430953189434'}, 'enable': 'true', 'created': '2025-11-25T12:41:44', 'last-modified': '2025-11-25T12:41:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.655297'} 2025-11-25 12:41:46,891 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-25 12:41:46,891 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46015106 passed 2025-11-25 12:41:46,891 - DEBUG - ====Verifying policy data for ctest-vn-46015106 in API_Server ====== 2025-11-25 12:41:46,891 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-25 12:41:46,898 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4ac658d7-507b-4f87-bf05-211afa50c252 2025-11-25 12:41:46,909 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc5dae81-6a85-4e18-a137-ff90c60ec5e8 2025-11-25 12:41:46,996 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c02bbfad-19dd-494d-81b3-0b9f656bf03a 2025-11-25 12:41:47,011 - DEBUG - ==>Verifying data for policy with id: 761e49be-e8ce-4639-a304-af457dac0689, fqn: ['default-domain', 'ctest-TestBasicPolicy-86210838', 'ctest-policy-allow-all-67386276'] 2025-11-25 12:41:47,011 - INFO - VN ctest-vn-46015106 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-25 12:41:47,011 - DEBUG - Verifying the vn in opserver 2025-11-25 12:41:47,011 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-46015106 virtual network link through opserver 10.0.0.38 2025-11-25 12:41:47,012 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-25 12:41:47,027 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-46015106', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-46015106?flat'} 2025-11-25 12:41:47,027 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-46015106 is found in opserver 2025-11-25 12:41:47,041 - DEBUG - Do not have enough data to verify VN in agent 2025-11-25 12:41:47,049 - DEBUG - VRF ids for VN ctest-vn-46015106: {} 2025-11-25 12:41:47,124 - DEBUG - Services list from nova: [, , ] 2025-11-25 12:41:48,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1) 2025-11-25 12:41:49,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1) 2025-11-25 12:41:49,698 - INFO - Waiting for VM ctest-TestBasicPolicy-86210838-61638198 to be up.. 2025-11-25 12:41:49,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-25 12:41:54,917 - DEBUG - VM is in ACTIVE state now 2025-11-25 12:41:54,917 - INFO - VM name : ctest-TestBasicPolicy-86210838-61638198 2025-11-25 12:41:55,005 - DEBUG - VM ctest-TestBasicPolicy-86210838-61638198 ID is e9bb6877-1da2-4418-98a8-c31ac0f44954 2025-11-25 12:41:55,029 - DEBUG - VM ctest-TestBasicPolicy-86210838-61638198 launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1 2025-11-25 12:41:55,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e9bb6877-1da2-4418-98a8-c31ac0f44954 2025-11-25 12:41:55,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/79e88f18-e53d-4614-beee-a402893cdf5f 2025-11-25 12:41:58,413 - 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 1008ms') 2025-11-25 12:41:58,413 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86210838-61638198 failed! 2025-11-25 12:41:58,475 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86210838:ctest-vn-51923642 is 31.220.65.1 and allocation pool is NOT set 2025-11-25 12:42:00,547 - 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=8.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.508 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.508/4.307/8.107/3.799 ms') 2025-11-25 12:42:00,547 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86210838-61638198 passed 2025-11-25 12:42:00,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:00,707 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86210838-61638198, IP 31.220.65.3, Port 22 2025-11-25 12:42:00,772 - 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-11-25 12:42:00,881 - DEBUG - VM ctest-TestBasicPolicy-86210838-61638198 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-25 12:42:05,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:05,882 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86210838-61638198, IP 31.220.65.3, Port 22 2025-11-25 12:42:06,057 - DEBUG - VM ctest-TestBasicPolicy-86210838-61638198 is ready for SSH connections 2025-11-25 12:42:06,057 - INFO - Waiting for VM ctest-TestBasicPolicy-86210838-42625263 to be up.. 2025-11-25 12:42:06,175 - DEBUG - VM is in ACTIVE state now 2025-11-25 12:42:06,175 - INFO - VM name : ctest-TestBasicPolicy-86210838-42625263 2025-11-25 12:42:06,291 - DEBUG - VM ctest-TestBasicPolicy-86210838-42625263 ID is 588a7820-2957-428a-a173-a68f0cab5ee8 2025-11-25 12:42:06,291 - DEBUG - VM ctest-TestBasicPolicy-86210838-42625263 launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1 2025-11-25 12:42:06,406 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/588a7820-2957-428a-a173-a68f0cab5ee8 2025-11-25 12:42:06,417 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/35295836-5e76-450d-9ab9-20e10ebe932d 2025-11-25 12:42:07,701 - 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=6.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.546 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.546/3.670/6.794/3.124 ms') 2025-11-25 12:42:07,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86210838-42625263 passed 2025-11-25 12:42:07,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:07,875 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86210838-42625263, IP 1.132.87.3, Port 22 2025-11-25 12:42:08,050 - DEBUG - VM ctest-TestBasicPolicy-86210838-42625263 is ready for SSH connections 2025-11-25 12:42:08,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:08,051 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.132.87.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-25 12:42:08,051 - DEBUG - ping -s 56 -c 3 -W 1 1.132.87.3 2025-11-25 12:42:12,369 - DEBUG - PING 1.132.87.3 (1.132.87.3): 56 data bytes 64 bytes from 1.132.87.3: seq=0 ttl=63 time=4.853 ms 64 bytes from 1.132.87.3: seq=1 ttl=63 time=1.417 ms 64 bytes from 1.132.87.3: seq=2 ttl=63 time=1.471 ms --- 1.132.87.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.417/2.580/4.853 ms 2025-11-25 12:42:12,369 - INFO - Ping to IP 1.132.87.3 from VM ctest-TestBasicPolicy-86210838-61638198 passed 2025-11-25 12:42:12,587 - DEBUG - Policy Update Response {"network-policy": {"uuid": "761e49be-e8ce-4639-a304-af457dac0689", "href": "http://10.0.0.38:8082/network-policy/761e49be-e8ce-4639-a304-af457dac0689"}} 2025-11-25 12:42:12,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:12,587 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.132.87.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-25 12:42:12,587 - DEBUG - ping -s 56 -c 3 -W 1 1.132.87.3 2025-11-25 12:42:15,817 - DEBUG - PING 1.132.87.3 (1.132.87.3): 56 data bytes --- 1.132.87.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-25 12:42:15,817 - WARNING - Ping to IP 1.132.87.3 from VM ctest-TestBasicPolicy-86210838-61638198 failed 2025-11-25 12:42:15,817 - INFO - Deleting VM ctest-TestBasicPolicy-86210838-42625263 2025-11-25 12:42:15,903 - INFO - Deleting VM ctest-TestBasicPolicy-86210838-61638198 2025-11-25 12:42:16,355 - INFO - Deleted policy ctest-policy-allow-all-67386276 2025-11-25 12:42:16,356 - INFO - Deleting VN ctest-vn-46015106 2025-11-25 12:42:16,401 - DEBUG - VN c02bbfad-19dd-494d-81b3-0b9f656bf03a still in use: Unable to complete operation on network c02bbfad-19dd-494d-81b3-0b9f656bf03a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-686507f3-f686-49f8-b60a-f05b23592b08'] 2025-11-25 12:42:16,401 - WARNING - Deleting VN ctest-vn-46015106 failed..Will retry 2025-11-25 12:42:18,544 - DEBUG - Response for deleting network () 2025-11-25 12:42:18,544 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d0ee52f0-105e-4114-aee3-1875508173ad 2025-11-25 12:42:18,550 - DEBUG - Response Code: 404 2025-11-25 12:42:18,550 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-25 12:42:18,555 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4ac658d7-507b-4f87-bf05-211afa50c252 2025-11-25 12:42:18,614 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc5dae81-6a85-4e18-a137-ff90c60ec5e8 2025-11-25 12:42:18,703 - INFO - Validated that VN ctest-vn-46015106 is not found in API Server 2025-11-25 12:42:18,719 - DEBUG - VN ctest-vn-46015106 is not present in Agent 10.0.0.38 2025-11-25 12:42:18,719 - INFO - Validated that VN ctest-vn-46015106 is not in any agent 2025-11-25 12:42:18,748 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46015106 info 2025-11-25 12:42:18,748 - INFO - Deleting VN ctest-vn-51923642 2025-11-25 12:42:18,916 - DEBUG - Response for deleting network () 2025-11-25 12:42:18,917 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/127f153b-1e54-4afc-a98c-1a8e8f677da3 2025-11-25 12:42:18,925 - DEBUG - Response Code: 404 2025-11-25 12:42:18,926 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-25 12:42:18,932 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4ac658d7-507b-4f87-bf05-211afa50c252 2025-11-25 12:42:18,989 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc5dae81-6a85-4e18-a137-ff90c60ec5e8 2025-11-25 12:42:19,081 - INFO - Validated that VN ctest-vn-51923642 is not found in API Server 2025-11-25 12:42:19,095 - DEBUG - VN ctest-vn-51923642 is not present in Agent 10.0.0.38 2025-11-25 12:42:19,095 - INFO - Validated that VN ctest-vn-51923642 is not in any agent 2025-11-25 12:42:19,112 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51923642 info 2025-11-25 12:42:19,394 - DEBUG - No XMPP flaps were noticed during the test 2025-11-25 12:42:19,394 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-11-25 12:42:19,394 - INFO - -------------------------------------------------------------------------------- 2025-11-25 12:42:20,124 - INFO - Deleted project: ctest-TestBasicPolicy-86210838, ID : cc5dae81-6a85-4e18-a137-ff90c60ec5e8