2025-10-29 16:54:35,186 - INFO - Domain Default found not creating 2025-10-29 16:54:35,352 - INFO - Project ctest-TestBasicPolicy-36084931 not found, creating it 2025-10-29 16:54:35,828 - INFO - Created Project:ctest-TestBasicPolicy-36084931, ID : b70e817e-280e-4d67-9f85-606005032e02 2025-10-29 16:54:37,385 - INFO - ================================================================================ 2025-10-29 16:54:37,385 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-29 16:54:37,385 - 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-29 16:54:37,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-29 16:54:37,639 - INFO - Initial checks done. Running the testcase now 2025-10-29 16:54:37,640 - INFO - 2025-10-29 16:54:38,217 - DEBUG - Response for create_network : {'network': {'id': '3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b', 'name': 'ctest-vn-93007187', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'project_id': 'b70e817e280e4d679f85606005032e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-vn-93007187'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 16:54:38,438 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0237546-4539-4309-bbea-5e827ece6223', 'name': '', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'network_id': '3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b', 'ip_version': 4, 'cidr': '120.183.61.192/26', 'allocation_pools': [{'start': '120.183.61.194', 'end': '120.183.61.254'}], 'gateway_ip': '120.183.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.183.61.194', 'tags': [], 'project_id': 'b70e817e280e4d679f85606005032e02'}} 2025-10-29 16:54:38,456 - INFO - Created VN ctest-vn-93007187 2025-10-29 16:54:38,507 - DEBUG - VN ctest-vn-93007187 UUID is 3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b 2025-10-29 16:54:38,811 - DEBUG - Response for create_network : {'network': {'id': '7cf58719-38a7-4a93-bac8-b0c36d793d27', 'name': 'ctest-vn-34915223', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'project_id': 'b70e817e280e4d679f85606005032e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-vn-34915223'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 16:54:38,974 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdf60788-ffc1-4295-a802-4efbb366a08e', 'name': '', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'network_id': '7cf58719-38a7-4a93-bac8-b0c36d793d27', 'ip_version': 4, 'cidr': '129.248.66.192/26', 'allocation_pools': [{'start': '129.248.66.194', 'end': '129.248.66.254'}], 'gateway_ip': '129.248.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.248.66.194', 'tags': [], 'project_id': 'b70e817e280e4d679f85606005032e02'}} 2025-10-29 16:54:38,991 - INFO - Created VN ctest-vn-34915223 2025-10-29 16:54:39,043 - DEBUG - VN ctest-vn-34915223 UUID is 7cf58719-38a7-4a93-bac8-b0c36d793d27 2025-10-29 16:54:39,169 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187, 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-36084931:ctest-vn-34915223, 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-29 16:54:39,474 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b', 'name': 'ctest-vn-93007187', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'project_id': 'b70e817e280e4d679f85606005032e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0237546-4539-4309-bbea-5e827ece6223'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-vn-93007187'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-policy-allow-all-03918727']], 'subnet_ipam': [{'subnet_cidr': '120.183.61.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-29 16:54:39,762 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cf58719-38a7-4a93-bac8-b0c36d793d27', 'name': 'ctest-vn-34915223', 'tenant_id': 'b70e817e280e4d679f85606005032e02', 'project_id': 'b70e817e280e4d679f85606005032e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cdf60788-ffc1-4295-a802-4efbb366a08e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-vn-34915223'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-policy-allow-all-03918727']], 'subnet_ipam': [{'subnet_cidr': '129.248.66.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-29 16:54:39,911 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 16:54:40,246 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 16:54:40,275 - DEBUG - Requesting: http://10.0.0.242:8082/domain/175a3c0c-54eb-43c4-bb80-af3361eb0517 2025-10-29 16:54:40,287 - DEBUG - Requesting: http://10.0.0.242:8082/project/b70e817e-280e-4d67-9f85-606005032e02 2025-10-29 16:54:40,360 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b 2025-10-29 16:54:40,371 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b 2025-10-29 16:54:40,380 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f 2025-10-29 16:54:40,386 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f 2025-10-29 16:54:40,393 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/18a50c21-ce11-4e0e-bbfa-bed127cfa282 2025-10-29 16:54:40,398 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 16:54:40,398 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b 2025-10-29 16:54:40,407 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f 2025-10-29 16:54:40,420 - INFO - Verified VN network id 11 for VN 3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b 2025-10-29 16:54:40,420 - INFO - Verifications in API Server for VN ctest-vn-93007187 passed 2025-10-29 16:54:40,420 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b 2025-10-29 16:54:40,430 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f 2025-10-29 16:54:40,438 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f 2025-10-29 16:54:40,445 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/18a50c21-ce11-4e0e-bbfa-bed127cfa282 2025-10-29 16:54:40,458 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36084931', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4261997722055887333', 'uuid-lslong': '12583496599363784219'}, 'enable': 'true', 'created': '2025-10-29T16:54:38', 'last-modified': '2025-10-29T16:54:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009579'} 2025-10-29 16:54:40,465 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-29 16:54:40,466 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93007187 passed 2025-10-29 16:54:40,466 - DEBUG - ====Verifying policy data for ctest-vn-93007187 in API_Server ====== 2025-10-29 16:54:40,466 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 16:54:40,471 - DEBUG - Requesting: http://10.0.0.242:8082/domain/175a3c0c-54eb-43c4-bb80-af3361eb0517 2025-10-29 16:54:40,483 - DEBUG - Requesting: http://10.0.0.242:8082/project/b70e817e-280e-4d67-9f85-606005032e02 2025-10-29 16:54:40,553 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3b25a858-e0aa-49e5-aea1-8f7ca56a0e1b 2025-10-29 16:54:40,562 - DEBUG - ==>Verifying data for policy with id: 1ba2bbbe-3c49-4ba2-b2c8-cff6d3d77570, fqn: ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-policy-allow-all-03918727'] 2025-10-29 16:54:40,562 - INFO - VN ctest-vn-93007187 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-29 16:54:40,562 - DEBUG - Verifying the vn in opserver 2025-10-29 16:54:40,562 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187 virtual network link through opserver 10.0.0.242 2025-10-29 16:54:40,562 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-29 16:54:40,903 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-29 16:54:40,962 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187?flat'} 2025-10-29 16:54:40,962 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187 is found in opserver 2025-10-29 16:54:40,974 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 16:54:40,978 - DEBUG - VRF ids for VN ctest-vn-93007187: {} 2025-10-29 16:54:40,978 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 16:54:40,984 - DEBUG - Requesting: http://10.0.0.242:8082/domain/175a3c0c-54eb-43c4-bb80-af3361eb0517 2025-10-29 16:54:40,995 - DEBUG - Requesting: http://10.0.0.242:8082/project/b70e817e-280e-4d67-9f85-606005032e02 2025-10-29 16:54:41,069 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7cf58719-38a7-4a93-bac8-b0c36d793d27 2025-10-29 16:54:41,080 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7cf58719-38a7-4a93-bac8-b0c36d793d27 2025-10-29 16:54:41,089 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c 2025-10-29 16:54:41,096 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c 2025-10-29 16:54:41,102 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/24c67186-1eb7-47cb-b044-a5dff900fce6 2025-10-29 16:54:41,108 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-29 16:54:41,108 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7cf58719-38a7-4a93-bac8-b0c36d793d27 2025-10-29 16:54:41,116 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c 2025-10-29 16:54:41,129 - INFO - Verified VN network id 12 for VN 7cf58719-38a7-4a93-bac8-b0c36d793d27 2025-10-29 16:54:41,129 - INFO - Verifications in API Server for VN ctest-vn-34915223 passed 2025-10-29 16:54:41,129 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7cf58719-38a7-4a93-bac8-b0c36d793d27 2025-10-29 16:54:41,137 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c 2025-10-29 16:54:41,144 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c 2025-10-29 16:54:41,149 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/24c67186-1eb7-47cb-b044-a5dff900fce6 2025-10-29 16:54:41,160 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-34915223', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36084931', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9004251572391594643', 'uuid-lslong': '13459201839798500647'}, 'enable': 'true', 'created': '2025-10-29T16:54:38', 'last-modified': '2025-10-29T16:54:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.460186'} 2025-10-29 16:54:41,166 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-29 16:54:41,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34915223 passed 2025-10-29 16:54:41,166 - DEBUG - ====Verifying policy data for ctest-vn-34915223 in API_Server ====== 2025-10-29 16:54:41,166 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 16:54:41,173 - DEBUG - Requesting: http://10.0.0.242:8082/domain/175a3c0c-54eb-43c4-bb80-af3361eb0517 2025-10-29 16:54:41,183 - DEBUG - Requesting: http://10.0.0.242:8082/project/b70e817e-280e-4d67-9f85-606005032e02 2025-10-29 16:54:41,252 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7cf58719-38a7-4a93-bac8-b0c36d793d27 2025-10-29 16:54:41,262 - DEBUG - ==>Verifying data for policy with id: 1ba2bbbe-3c49-4ba2-b2c8-cff6d3d77570, fqn: ['default-domain', 'ctest-TestBasicPolicy-36084931', 'ctest-policy-allow-all-03918727'] 2025-10-29 16:54:41,262 - INFO - VN ctest-vn-34915223 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-29 16:54:41,262 - DEBUG - Verifying the vn in opserver 2025-10-29 16:54:41,262 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-34915223 virtual network link through opserver 10.0.0.242 2025-10-29 16:54:41,262 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-29 16:54:41,273 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-34915223', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-34915223?flat'} 2025-10-29 16:54:41,273 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-34915223 is found in opserver 2025-10-29 16:54:41,283 - DEBUG - Do not have enough data to verify VN in agent 2025-10-29 16:54:41,289 - DEBUG - VRF ids for VN ctest-vn-34915223: {} 2025-10-29 16:54:41,346 - DEBUG - Services list from nova: [, , ] 2025-10-29 16:54:42,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4524-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4524-1) 2025-10-29 16:54:43,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4524-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4524-1) 2025-10-29 16:54:43,636 - INFO - Waiting for VM ctest-TestBasicPolicy-36084931-29514460 to be up.. 2025-10-29 16:54:43,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 16:54:48,788 - DEBUG - VM is in ACTIVE state now 2025-10-29 16:54:48,788 - INFO - VM name : ctest-TestBasicPolicy-36084931-29514460 2025-10-29 16:54:48,864 - DEBUG - VM ctest-TestBasicPolicy-36084931-29514460 ID is c28a767a-a295-4b68-85de-8f681cba3047 2025-10-29 16:54:48,884 - DEBUG - VM ctest-TestBasicPolicy-36084931-29514460 launched on Node cn-jenkins-deploy-platform-ansible-os-4524-1 2025-10-29 16:54:48,962 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c28a767a-a295-4b68-85de-8f681cba3047 2025-10-29 16:54:48,970 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/54af5909-845b-43d6-aa22-7c190eac21bc 2025-10-29 16:54:52,216 - 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 1011ms') 2025-10-29 16:54:52,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36084931-29514460 failed! 2025-10-29 16:54:52,271 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36084931:ctest-vn-93007187 is 120.183.61.193 and allocation pool is NOT set 2025-10-29 16:54:54,337 - 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=7.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.565/5.123/7.681/2.558 ms') 2025-10-29 16:54:54,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36084931-29514460 passed 2025-10-29 16:54:54,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:54:54,491 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36084931-29514460, IP 120.183.61.195, Port 22 2025-10-29 16:54:54,557 - 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-29 16:54:54,629 - DEBUG - VM ctest-TestBasicPolicy-36084931-29514460 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 16:54:59,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:54:59,630 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36084931-29514460, IP 120.183.61.195, Port 22 2025-10-29 16:54:59,790 - DEBUG - VM ctest-TestBasicPolicy-36084931-29514460 is ready for SSH connections 2025-10-29 16:54:59,790 - INFO - Waiting for VM ctest-TestBasicPolicy-36084931-10306958 to be up.. 2025-10-29 16:54:59,873 - DEBUG - VM is in ACTIVE state now 2025-10-29 16:54:59,873 - INFO - VM name : ctest-TestBasicPolicy-36084931-10306958 2025-10-29 16:54:59,948 - DEBUG - VM ctest-TestBasicPolicy-36084931-10306958 ID is 58045d71-e84f-4f9e-adf4-0d0c8e1c5489 2025-10-29 16:54:59,948 - DEBUG - VM ctest-TestBasicPolicy-36084931-10306958 launched on Node cn-jenkins-deploy-platform-ansible-os-4524-1 2025-10-29 16:55:00,018 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/58045d71-e84f-4f9e-adf4-0d0c8e1c5489 2025-10-29 16:55:00,026 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a97f7669-b518-4ec5-a106-e782d6978966 2025-10-29 16:55:01,260 - 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=4.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/2.232/4.083/1.851 ms') 2025-10-29 16:55:01,260 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36084931-10306958 passed 2025-10-29 16:55:01,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:55:01,415 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36084931-10306958, IP 129.248.66.195, Port 22 2025-10-29 16:55:01,570 - DEBUG - VM ctest-TestBasicPolicy-36084931-10306958 is ready for SSH connections 2025-10-29 16:55:01,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:55:01,570 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.248.66.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-29 16:55:01,570 - DEBUG - ping -s 56 -c 3 -W 1 129.248.66.195 2025-10-29 16:55:05,920 - DEBUG - PING 129.248.66.195 (129.248.66.195): 56 data bytes 64 bytes from 129.248.66.195: seq=0 ttl=63 time=3.708 ms 64 bytes from 129.248.66.195: seq=1 ttl=63 time=0.770 ms 64 bytes from 129.248.66.195: seq=2 ttl=63 time=0.745 ms --- 129.248.66.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/1.741/3.708 ms 2025-10-29 16:55:05,920 - INFO - Ping to IP 129.248.66.195 from VM ctest-TestBasicPolicy-36084931-29514460 passed 2025-10-29 16:55:06,102 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1ba2bbbe-3c49-4ba2-b2c8-cff6d3d77570", "href": "http://10.0.0.242:8082/network-policy/1ba2bbbe-3c49-4ba2-b2c8-cff6d3d77570"}} 2025-10-29 16:55:06,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:55:06,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.248.66.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-29 16:55:06,103 - DEBUG - ping -s 56 -c 3 -W 1 129.248.66.195 2025-10-29 16:55:09,327 - DEBUG - PING 129.248.66.195 (129.248.66.195): 56 data bytes --- 129.248.66.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 16:55:09,328 - WARNING - Ping to IP 129.248.66.195 from VM ctest-TestBasicPolicy-36084931-29514460 failed 2025-10-29 16:55:09,328 - INFO - Deleting VM ctest-TestBasicPolicy-36084931-10306958 2025-10-29 16:55:09,399 - INFO - Deleting VM ctest-TestBasicPolicy-36084931-29514460 2025-10-29 16:55:09,824 - INFO - Deleted policy ctest-policy-allow-all-03918727 2025-10-29 16:55:09,825 - INFO - Deleting VN ctest-vn-34915223 2025-10-29 16:55:09,858 - DEBUG - VN 7cf58719-38a7-4a93-bac8-b0c36d793d27 still in use: Unable to complete operation on network 7cf58719-38a7-4a93-bac8-b0c36d793d27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb3c1b76-e25e-4472-a066-4b5491df8544'] 2025-10-29 16:55:09,858 - WARNING - Deleting VN ctest-vn-34915223 failed..Will retry 2025-10-29 16:55:11,957 - DEBUG - Response for deleting network () 2025-10-29 16:55:11,958 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/aa7b3528-e0d2-459e-a318-f0d6d979244c 2025-10-29 16:55:11,966 - DEBUG - Response Code: 404 2025-10-29 16:55:11,966 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 16:55:11,971 - DEBUG - Requesting: http://10.0.0.242:8082/domain/175a3c0c-54eb-43c4-bb80-af3361eb0517 2025-10-29 16:55:12,025 - DEBUG - Requesting: http://10.0.0.242:8082/project/b70e817e-280e-4d67-9f85-606005032e02 2025-10-29 16:55:12,101 - INFO - Validated that VN ctest-vn-34915223 is not found in API Server 2025-10-29 16:55:12,114 - DEBUG - VN ctest-vn-34915223 is not present in Agent 10.0.0.242 2025-10-29 16:55:12,115 - INFO - Validated that VN ctest-vn-34915223 is not in any agent 2025-10-29 16:55:12,134 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34915223 info 2025-10-29 16:55:12,134 - INFO - Deleting VN ctest-vn-93007187 2025-10-29 16:55:12,266 - DEBUG - Response for deleting network () 2025-10-29 16:55:12,266 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/695d81ea-59f4-4dfe-b0d3-a423d0beb88f 2025-10-29 16:55:12,282 - DEBUG - Response Code: 404 2025-10-29 16:55:12,282 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-29 16:55:12,291 - DEBUG - Requesting: http://10.0.0.242:8082/domain/175a3c0c-54eb-43c4-bb80-af3361eb0517 2025-10-29 16:55:12,309 - DEBUG - Requesting: http://10.0.0.242:8082/project/b70e817e-280e-4d67-9f85-606005032e02 2025-10-29 16:55:12,390 - INFO - Validated that VN ctest-vn-93007187 is not found in API Server 2025-10-29 16:55:12,401 - DEBUG - VN ctest-vn-93007187 is not present in Agent 10.0.0.242 2025-10-29 16:55:12,401 - INFO - Validated that VN ctest-vn-93007187 is not in any agent 2025-10-29 16:55:12,418 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93007187 info 2025-10-29 16:55:12,688 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 16:55:12,688 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-29 16:55:12,688 - INFO - -------------------------------------------------------------------------------- 2025-10-29 16:55:13,474 - INFO - Deleted project: ctest-TestBasicPolicy-36084931, ID : b70e817e-280e-4d67-9f85-606005032e02