2025-12-15 19:33:19,158 - INFO - Domain Default found not creating 2025-12-15 19:33:19,322 - INFO - Project ctest-TestBasicPolicy-80230143 not found, creating it 2025-12-15 19:33:19,770 - INFO - Created Project:ctest-TestBasicPolicy-80230143, ID : 9aa62771-8af9-4a69-b8ec-9ce69d5f3001 2025-12-15 19:33:21,241 - INFO - ================================================================================ 2025-12-15 19:33:21,241 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-15 19:33:21,241 - 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-12-15 19:33:21,498 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-12-15 19:33:21,498 - INFO - Initial checks done. Running the testcase now 2025-12-15 19:33:21,498 - INFO - 2025-12-15 19:33:22,054 - DEBUG - Response for create_network : {'network': {'id': '5192ec9f-b71d-4140-b771-c86bfd322a0e', 'name': 'ctest-vn-20858311', 'tenant_id': '9aa627718af94a69b8ec9ce69d5f3001', 'project_id': '9aa627718af94a69b8ec9ce69d5f3001', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80230143', 'ctest-vn-20858311'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 19:33:22,201 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec576bf8-7284-4663-86f1-fbfc96a91506', 'name': '', 'tenant_id': '9aa627718af94a69b8ec9ce69d5f3001', 'network_id': '5192ec9f-b71d-4140-b771-c86bfd322a0e', 'ip_version': 4, 'cidr': '2.18.171.0/26', 'allocation_pools': [{'start': '2.18.171.2', 'end': '2.18.171.62'}], 'gateway_ip': '2.18.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.18.171.2', 'tags': [], 'project_id': '9aa627718af94a69b8ec9ce69d5f3001'}} 2025-12-15 19:33:22,219 - INFO - Created VN ctest-vn-20858311 2025-12-15 19:33:22,272 - DEBUG - VN ctest-vn-20858311 UUID is 5192ec9f-b71d-4140-b771-c86bfd322a0e 2025-12-15 19:33:22,598 - DEBUG - Response for create_network : {'network': {'id': '261b54d9-fa35-47ae-9c2d-8b31f06cda84', 'name': 'ctest-vn-89081437', 'tenant_id': '9aa627718af94a69b8ec9ce69d5f3001', 'project_id': '9aa627718af94a69b8ec9ce69d5f3001', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80230143', 'ctest-vn-89081437'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 19:33:22,800 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aacc24c7-45e1-4ce1-be05-a75d3d024d71', 'name': '', 'tenant_id': '9aa627718af94a69b8ec9ce69d5f3001', 'network_id': '261b54d9-fa35-47ae-9c2d-8b31f06cda84', 'ip_version': 4, 'cidr': '3.4.132.128/26', 'allocation_pools': [{'start': '3.4.132.130', 'end': '3.4.132.190'}], 'gateway_ip': '3.4.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.4.132.130', 'tags': [], 'project_id': '9aa627718af94a69b8ec9ce69d5f3001'}} 2025-12-15 19:33:22,816 - INFO - Created VN ctest-vn-89081437 2025-12-15 19:33:22,868 - DEBUG - VN ctest-vn-89081437 UUID is 261b54d9-fa35-47ae-9c2d-8b31f06cda84 2025-12-15 19:33:22,985 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-20858311, 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-80230143:ctest-vn-89081437, 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-12-15 19:33:23,275 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5192ec9f-b71d-4140-b771-c86bfd322a0e', 'name': 'ctest-vn-20858311', 'tenant_id': '9aa627718af94a69b8ec9ce69d5f3001', 'project_id': '9aa627718af94a69b8ec9ce69d5f3001', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ec576bf8-7284-4663-86f1-fbfc96a91506'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80230143', 'ctest-vn-20858311'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80230143', 'ctest-policy-allow-all-18799361']], 'subnet_ipam': [{'subnet_cidr': '2.18.171.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-15 19:33:23,539 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '261b54d9-fa35-47ae-9c2d-8b31f06cda84', 'name': 'ctest-vn-89081437', 'tenant_id': '9aa627718af94a69b8ec9ce69d5f3001', 'project_id': '9aa627718af94a69b8ec9ce69d5f3001', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aacc24c7-45e1-4ce1-be05-a75d3d024d71'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80230143', 'ctest-vn-89081437'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80230143', 'ctest-policy-allow-all-18799361']], 'subnet_ipam': [{'subnet_cidr': '3.4.132.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-15 19:33:23,684 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-15 19:33:23,986 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-15 19:33:24,023 - DEBUG - Requesting: http://10.0.0.50:8082/domain/471d9740-a187-401a-bf59-2a10d0c16302 2025-12-15 19:33:24,034 - DEBUG - Requesting: http://10.0.0.50:8082/project/9aa62771-8af9-4a69-b8ec-9ce69d5f3001 2025-12-15 19:33:24,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5192ec9f-b71d-4140-b771-c86bfd322a0e 2025-12-15 19:33:24,115 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5192ec9f-b71d-4140-b771-c86bfd322a0e 2025-12-15 19:33:24,123 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d685275-4ed5-4cde-ae2c-913599e6497f 2025-12-15 19:33:24,129 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d685275-4ed5-4cde-ae2c-913599e6497f 2025-12-15 19:33:24,135 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e3451f36-b8de-4fb7-80be-cee8704d4d64 2025-12-15 19:33:24,141 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-15 19:33:24,141 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5192ec9f-b71d-4140-b771-c86bfd322a0e 2025-12-15 19:33:24,149 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d685275-4ed5-4cde-ae2c-913599e6497f 2025-12-15 19:33:24,163 - INFO - Verified VN network id 12 for VN 5192ec9f-b71d-4140-b771-c86bfd322a0e 2025-12-15 19:33:24,163 - INFO - Verifications in API Server for VN ctest-vn-20858311 passed 2025-12-15 19:33:24,163 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5192ec9f-b71d-4140-b771-c86bfd322a0e 2025-12-15 19:33:24,171 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d685275-4ed5-4cde-ae2c-913599e6497f 2025-12-15 19:33:24,178 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d685275-4ed5-4cde-ae2c-913599e6497f 2025-12-15 19:33:24,184 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e3451f36-b8de-4fb7-80be-cee8704d4d64 2025-12-15 19:33:24,196 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-20858311', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80230143', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5878020634388021568', 'uuid-lslong': '13218566747444095502'}, 'enable': 'true', 'created': '2025-12-15T19:33:22', 'last-modified': '2025-12-15T19:33:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943632'} 2025-12-15 19:33:24,201 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-15 19:33:24,201 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20858311 passed 2025-12-15 19:33:24,202 - DEBUG - ====Verifying policy data for ctest-vn-20858311 in API_Server ====== 2025-12-15 19:33:24,202 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-15 19:33:24,207 - DEBUG - Requesting: http://10.0.0.50:8082/domain/471d9740-a187-401a-bf59-2a10d0c16302 2025-12-15 19:33:24,217 - DEBUG - Requesting: http://10.0.0.50:8082/project/9aa62771-8af9-4a69-b8ec-9ce69d5f3001 2025-12-15 19:33:24,286 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5192ec9f-b71d-4140-b771-c86bfd322a0e 2025-12-15 19:33:24,295 - DEBUG - ==>Verifying data for policy with id: 7b04cef2-b33d-4252-a671-32a403db0fdd, fqn: ['default-domain', 'ctest-TestBasicPolicy-80230143', 'ctest-policy-allow-all-18799361'] 2025-12-15 19:33:24,295 - INFO - VN ctest-vn-20858311 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-15 19:33:24,295 - DEBUG - Verifying the vn in opserver 2025-12-15 19:33:24,295 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-20858311 virtual network link through opserver 10.0.0.50 2025-12-15 19:33:24,295 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-15 19:33:24,586 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-15 19:33:24,645 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-20858311', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-20858311?flat'} 2025-12-15 19:33:24,645 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-20858311 is found in opserver 2025-12-15 19:33:24,654 - DEBUG - Do not have enough data to verify VN in agent 2025-12-15 19:33:24,658 - DEBUG - VRF ids for VN ctest-vn-20858311: {} 2025-12-15 19:33:24,658 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-15 19:33:24,663 - DEBUG - Requesting: http://10.0.0.50:8082/domain/471d9740-a187-401a-bf59-2a10d0c16302 2025-12-15 19:33:24,674 - DEBUG - Requesting: http://10.0.0.50:8082/project/9aa62771-8af9-4a69-b8ec-9ce69d5f3001 2025-12-15 19:33:24,741 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/261b54d9-fa35-47ae-9c2d-8b31f06cda84 2025-12-15 19:33:24,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/261b54d9-fa35-47ae-9c2d-8b31f06cda84 2025-12-15 19:33:24,761 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d455f10-f08b-4141-8e42-61076080e381 2025-12-15 19:33:24,767 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d455f10-f08b-4141-8e42-61076080e381 2025-12-15 19:33:24,773 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f3254062-7e67-4f51-a37a-e9a60e1084d9 2025-12-15 19:33:24,779 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-15 19:33:24,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/261b54d9-fa35-47ae-9c2d-8b31f06cda84 2025-12-15 19:33:24,787 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d455f10-f08b-4141-8e42-61076080e381 2025-12-15 19:33:24,801 - INFO - Verified VN network id 13 for VN 261b54d9-fa35-47ae-9c2d-8b31f06cda84 2025-12-15 19:33:24,801 - INFO - Verifications in API Server for VN ctest-vn-89081437 passed 2025-12-15 19:33:24,801 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/261b54d9-fa35-47ae-9c2d-8b31f06cda84 2025-12-15 19:33:24,810 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d455f10-f08b-4141-8e42-61076080e381 2025-12-15 19:33:24,816 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d455f10-f08b-4141-8e42-61076080e381 2025-12-15 19:33:24,822 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f3254062-7e67-4f51-a37a-e9a60e1084d9 2025-12-15 19:33:24,833 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-89081437', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80230143', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2745881692994881454', 'uuid-lslong': '11253804090472061572'}, 'enable': 'true', 'created': '2025-12-15T19:33:22', 'last-modified': '2025-12-15T19:33:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.359594'} 2025-12-15 19:33:24,838 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-15 19:33:24,838 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89081437 passed 2025-12-15 19:33:24,838 - DEBUG - ====Verifying policy data for ctest-vn-89081437 in API_Server ====== 2025-12-15 19:33:24,838 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-15 19:33:24,843 - DEBUG - Requesting: http://10.0.0.50:8082/domain/471d9740-a187-401a-bf59-2a10d0c16302 2025-12-15 19:33:24,853 - DEBUG - Requesting: http://10.0.0.50:8082/project/9aa62771-8af9-4a69-b8ec-9ce69d5f3001 2025-12-15 19:33:24,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/261b54d9-fa35-47ae-9c2d-8b31f06cda84 2025-12-15 19:33:24,929 - DEBUG - ==>Verifying data for policy with id: 7b04cef2-b33d-4252-a671-32a403db0fdd, fqn: ['default-domain', 'ctest-TestBasicPolicy-80230143', 'ctest-policy-allow-all-18799361'] 2025-12-15 19:33:24,930 - INFO - VN ctest-vn-89081437 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-15 19:33:24,930 - DEBUG - Verifying the vn in opserver 2025-12-15 19:33:24,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-89081437 virtual network link through opserver 10.0.0.50 2025-12-15 19:33:24,930 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-15 19:33:24,940 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-89081437', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-89081437?flat'} 2025-12-15 19:33:24,940 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-89081437 is found in opserver 2025-12-15 19:33:24,951 - DEBUG - Do not have enough data to verify VN in agent 2025-12-15 19:33:24,956 - DEBUG - VRF ids for VN ctest-vn-89081437: {} 2025-12-15 19:33:25,015 - DEBUG - Services list from nova: [, , ] 2025-12-15 19:33:26,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4896-1) 2025-12-15 19:33:27,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4896-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4896-1) 2025-12-15 19:33:27,354 - INFO - Waiting for VM ctest-TestBasicPolicy-80230143-63652589 to be up.. 2025-12-15 19:33:27,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-15 19:33:32,509 - DEBUG - VM is in ACTIVE state now 2025-12-15 19:33:32,509 - INFO - VM name : ctest-TestBasicPolicy-80230143-63652589 2025-12-15 19:33:32,584 - DEBUG - VM ctest-TestBasicPolicy-80230143-63652589 ID is 4ee0f4c5-b98b-4300-809a-a4133fb0169f 2025-12-15 19:33:32,603 - DEBUG - VM ctest-TestBasicPolicy-80230143-63652589 launched on Node cn-jenkins-deploy-platform-ansible-os-4896-1 2025-12-15 19:33:32,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4ee0f4c5-b98b-4300-809a-a4133fb0169f 2025-12-15 19:33:32,696 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cb0ffab9-51f2-444a-954d-9d744e5b665c 2025-12-15 19:33:35,930 - 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 1003ms') 2025-12-15 19:33:35,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80230143-63652589 failed! 2025-12-15 19:33:35,984 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80230143:ctest-vn-20858311 is 2.18.171.1 and allocation pool is NOT set 2025-12-15 19:33:38,050 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.169/5.711/9.254/3.542 ms') 2025-12-15 19:33:38,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80230143-63652589 passed 2025-12-15 19:33:38,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 19:33:38,200 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80230143-63652589, IP 2.18.171.3, Port 22 2025-12-15 19:33:38,256 - 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-12-15 19:33:38,333 - DEBUG - VM ctest-TestBasicPolicy-80230143-63652589 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 19:33:43,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 19:33:43,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80230143-63652589, IP 2.18.171.3, Port 22 2025-12-15 19:33:43,488 - DEBUG - VM ctest-TestBasicPolicy-80230143-63652589 is ready for SSH connections 2025-12-15 19:33:43,488 - INFO - Waiting for VM ctest-TestBasicPolicy-80230143-90068112 to be up.. 2025-12-15 19:33:43,559 - DEBUG - VM is in ACTIVE state now 2025-12-15 19:33:43,560 - INFO - VM name : ctest-TestBasicPolicy-80230143-90068112 2025-12-15 19:33:43,629 - DEBUG - VM ctest-TestBasicPolicy-80230143-90068112 ID is e167ae15-d761-400b-be23-67d4ef57da6c 2025-12-15 19:33:43,629 - DEBUG - VM ctest-TestBasicPolicy-80230143-90068112 launched on Node cn-jenkins-deploy-platform-ansible-os-4896-1 2025-12-15 19:33:43,697 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e167ae15-d761-400b-be23-67d4ef57da6c 2025-12-15 19:33:43,704 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a7e25c51-1246-4df1-b6b7-cba8a1702db9 2025-12-15 19:33:44,937 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.704/3.034/1.329 ms') 2025-12-15 19:33:44,937 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80230143-90068112 passed 2025-12-15 19:33:45,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 19:33:45,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80230143-90068112, IP 3.4.132.131, Port 22 2025-12-15 19:33:45,247 - DEBUG - VM ctest-TestBasicPolicy-80230143-90068112 is ready for SSH connections 2025-12-15 19:33:45,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 19:33:45,247 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.4.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-15 19:33:45,248 - DEBUG - ping -s 56 -c 3 -W 1 3.4.132.131 2025-12-15 19:33:49,269 - DEBUG - PING 3.4.132.131 (3.4.132.131): 56 data bytes 64 bytes from 3.4.132.131: seq=0 ttl=63 time=3.538 ms 64 bytes from 3.4.132.131: seq=1 ttl=63 time=0.981 ms 64 bytes from 3.4.132.131: seq=2 ttl=63 time=0.874 ms --- 3.4.132.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/1.797/3.538 ms 2025-12-15 19:33:49,269 - INFO - Ping to IP 3.4.132.131 from VM ctest-TestBasicPolicy-80230143-63652589 passed 2025-12-15 19:33:49,440 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7b04cef2-b33d-4252-a671-32a403db0fdd", "href": "http://10.0.0.50:8082/network-policy/7b04cef2-b33d-4252-a671-32a403db0fdd"}} 2025-12-15 19:33:49,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 19:33:49,440 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.4.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-15 19:33:49,440 - DEBUG - ping -s 56 -c 3 -W 1 3.4.132.131 2025-12-15 19:33:52,682 - DEBUG - PING 3.4.132.131 (3.4.132.131): 56 data bytes --- 3.4.132.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-15 19:33:52,682 - WARNING - Ping to IP 3.4.132.131 from VM ctest-TestBasicPolicy-80230143-63652589 failed 2025-12-15 19:33:52,683 - INFO - Deleting VM ctest-TestBasicPolicy-80230143-90068112 2025-12-15 19:33:52,753 - INFO - Deleting VM ctest-TestBasicPolicy-80230143-63652589 2025-12-15 19:33:53,120 - INFO - Deleted policy ctest-policy-allow-all-18799361 2025-12-15 19:33:53,121 - INFO - Deleting VN ctest-vn-89081437 2025-12-15 19:33:53,166 - DEBUG - VN 261b54d9-fa35-47ae-9c2d-8b31f06cda84 still in use: Unable to complete operation on network 261b54d9-fa35-47ae-9c2d-8b31f06cda84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-56ed0195-424a-4ed4-a1fd-cea0c294b60b'] 2025-12-15 19:33:53,166 - WARNING - Deleting VN ctest-vn-89081437 failed..Will retry 2025-12-15 19:33:55,267 - DEBUG - Response for deleting network () 2025-12-15 19:33:55,267 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0d455f10-f08b-4141-8e42-61076080e381 2025-12-15 19:33:55,272 - DEBUG - Response Code: 404 2025-12-15 19:33:55,272 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-15 19:33:55,277 - DEBUG - Requesting: http://10.0.0.50:8082/domain/471d9740-a187-401a-bf59-2a10d0c16302 2025-12-15 19:33:55,330 - DEBUG - Requesting: http://10.0.0.50:8082/project/9aa62771-8af9-4a69-b8ec-9ce69d5f3001 2025-12-15 19:33:55,406 - INFO - Validated that VN ctest-vn-89081437 is not found in API Server 2025-12-15 19:33:55,415 - DEBUG - VN ctest-vn-89081437 is not present in Agent 10.0.0.50 2025-12-15 19:33:55,415 - INFO - Validated that VN ctest-vn-89081437 is not in any agent 2025-12-15 19:33:55,428 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89081437 info 2025-12-15 19:33:55,428 - INFO - Deleting VN ctest-vn-20858311 2025-12-15 19:33:55,538 - DEBUG - Response for deleting network () 2025-12-15 19:33:55,538 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d685275-4ed5-4cde-ae2c-913599e6497f 2025-12-15 19:33:55,544 - DEBUG - Response Code: 404 2025-12-15 19:33:55,544 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-15 19:33:55,550 - DEBUG - Requesting: http://10.0.0.50:8082/domain/471d9740-a187-401a-bf59-2a10d0c16302 2025-12-15 19:33:55,606 - DEBUG - Requesting: http://10.0.0.50:8082/project/9aa62771-8af9-4a69-b8ec-9ce69d5f3001 2025-12-15 19:33:55,682 - INFO - Validated that VN ctest-vn-20858311 is not found in API Server 2025-12-15 19:33:55,693 - DEBUG - VN ctest-vn-20858311 is not present in Agent 10.0.0.50 2025-12-15 19:33:55,693 - INFO - Validated that VN ctest-vn-20858311 is not in any agent 2025-12-15 19:33:55,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20858311 info 2025-12-15 19:33:55,965 - DEBUG - No XMPP flaps were noticed during the test 2025-12-15 19:33:55,965 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-12-15 19:33:55,965 - INFO - -------------------------------------------------------------------------------- 2025-12-15 19:33:56,635 - INFO - Deleted project: ctest-TestBasicPolicy-80230143, ID : 9aa62771-8af9-4a69-b8ec-9ce69d5f3001