2025-10-27 14:59:42,522 - INFO - Domain Default found not creating 2025-10-27 14:59:42,674 - INFO - Project ctest-TestBasicPolicy-61449217 not found, creating it 2025-10-27 14:59:43,135 - INFO - Created Project:ctest-TestBasicPolicy-61449217, ID : 9dd0e676-91ca-4374-a1b8-b207f4ab3f5a 2025-10-27 14:59:44,684 - INFO - ================================================================================ 2025-10-27 14:59:44,684 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 14:59:44,684 - 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-27 14:59:44,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-27 14:59:44,941 - INFO - Initial checks done. Running the testcase now 2025-10-27 14:59:44,941 - INFO - 2025-10-27 14:59:45,521 - DEBUG - Response for create_network : {'network': {'id': '7363e446-8a19-478c-990a-24667360a0d2', 'name': 'ctest-vn-55903443', 'tenant_id': '9dd0e67691ca4374a1b8b207f4ab3f5a', 'project_id': '9dd0e67691ca4374a1b8b207f4ab3f5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61449217', 'ctest-vn-55903443'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 14:59:45,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '64ff2f2e-2565-445c-8853-09e4012565f0', 'name': '', 'tenant_id': '9dd0e67691ca4374a1b8b207f4ab3f5a', 'network_id': '7363e446-8a19-478c-990a-24667360a0d2', 'ip_version': 4, 'cidr': '8.61.76.64/26', 'allocation_pools': [{'start': '8.61.76.66', 'end': '8.61.76.126'}], 'gateway_ip': '8.61.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.61.76.66', 'tags': [], 'project_id': '9dd0e67691ca4374a1b8b207f4ab3f5a'}} 2025-10-27 14:59:45,714 - INFO - Created VN ctest-vn-55903443 2025-10-27 14:59:45,766 - DEBUG - VN ctest-vn-55903443 UUID is 7363e446-8a19-478c-990a-24667360a0d2 2025-10-27 14:59:46,055 - DEBUG - Response for create_network : {'network': {'id': '437c42b8-8d84-4c08-9366-8b9fd91dba72', 'name': 'ctest-vn-45565975', 'tenant_id': '9dd0e67691ca4374a1b8b207f4ab3f5a', 'project_id': '9dd0e67691ca4374a1b8b207f4ab3f5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61449217', 'ctest-vn-45565975'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 14:59:46,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c3f745c-2f26-4e86-8483-0941e145ca87', 'name': '', 'tenant_id': '9dd0e67691ca4374a1b8b207f4ab3f5a', 'network_id': '437c42b8-8d84-4c08-9366-8b9fd91dba72', 'ip_version': 4, 'cidr': '80.173.75.192/26', 'allocation_pools': [{'start': '80.173.75.194', 'end': '80.173.75.254'}], 'gateway_ip': '80.173.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.173.75.194', 'tags': [], 'project_id': '9dd0e67691ca4374a1b8b207f4ab3f5a'}} 2025-10-27 14:59:46,248 - INFO - Created VN ctest-vn-45565975 2025-10-27 14:59:46,298 - DEBUG - VN ctest-vn-45565975 UUID is 437c42b8-8d84-4c08-9366-8b9fd91dba72 2025-10-27 14:59:46,410 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-55903443, 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-61449217:ctest-vn-45565975, 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-27 14:59:46,702 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7363e446-8a19-478c-990a-24667360a0d2', 'name': 'ctest-vn-55903443', 'tenant_id': '9dd0e67691ca4374a1b8b207f4ab3f5a', 'project_id': '9dd0e67691ca4374a1b8b207f4ab3f5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64ff2f2e-2565-445c-8853-09e4012565f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61449217', 'ctest-vn-55903443'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61449217', 'ctest-policy-allow-all-25485634']], 'subnet_ipam': [{'subnet_cidr': '8.61.76.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 14:59:46,970 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '437c42b8-8d84-4c08-9366-8b9fd91dba72', 'name': 'ctest-vn-45565975', 'tenant_id': '9dd0e67691ca4374a1b8b207f4ab3f5a', 'project_id': '9dd0e67691ca4374a1b8b207f4ab3f5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c3f745c-2f26-4e86-8483-0941e145ca87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61449217', 'ctest-vn-45565975'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61449217', 'ctest-policy-allow-all-25485634']], 'subnet_ipam': [{'subnet_cidr': '80.173.75.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 14:59:47,118 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 14:59:47,457 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 14:59:47,484 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b6beecf-458a-42d6-86e1-d418933685c8 2025-10-27 14:59:47,496 - DEBUG - Requesting: http://10.0.0.242:8082/project/9dd0e676-91ca-4374-a1b8-b207f4ab3f5a 2025-10-27 14:59:47,563 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7363e446-8a19-478c-990a-24667360a0d2 2025-10-27 14:59:47,574 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7363e446-8a19-478c-990a-24667360a0d2 2025-10-27 14:59:47,583 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4ac0bf43-6db5-4262-917a-4e77bd83a152 2025-10-27 14:59:47,589 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4ac0bf43-6db5-4262-917a-4e77bd83a152 2025-10-27 14:59:47,596 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/72ed0798-dfdc-4a37-853d-e650ba420c83 2025-10-27 14:59:47,603 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 14:59:47,603 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7363e446-8a19-478c-990a-24667360a0d2 2025-10-27 14:59:47,613 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4ac0bf43-6db5-4262-917a-4e77bd83a152 2025-10-27 14:59:47,628 - INFO - Verified VN network id 11 for VN 7363e446-8a19-478c-990a-24667360a0d2 2025-10-27 14:59:47,628 - INFO - Verifications in API Server for VN ctest-vn-55903443 passed 2025-10-27 14:59:47,628 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7363e446-8a19-478c-990a-24667360a0d2 2025-10-27 14:59:47,637 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4ac0bf43-6db5-4262-917a-4e77bd83a152 2025-10-27 14:59:47,645 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4ac0bf43-6db5-4262-917a-4e77bd83a152 2025-10-27 14:59:47,652 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/72ed0798-dfdc-4a37-853d-e650ba420c83 2025-10-27 14:59:47,665 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-55903443', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61449217', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8314740328671823756', 'uuid-lslong': '11027666660011057362'}, 'enable': 'true', 'created': '2025-10-27T14:59:45', 'last-modified': '2025-10-27T14:59:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987261'} 2025-10-27 14:59:47,672 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 14:59:47,672 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55903443 passed 2025-10-27 14:59:47,672 - DEBUG - ====Verifying policy data for ctest-vn-55903443 in API_Server ====== 2025-10-27 14:59:47,672 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 14:59:47,678 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b6beecf-458a-42d6-86e1-d418933685c8 2025-10-27 14:59:47,689 - DEBUG - Requesting: http://10.0.0.242:8082/project/9dd0e676-91ca-4374-a1b8-b207f4ab3f5a 2025-10-27 14:59:47,763 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7363e446-8a19-478c-990a-24667360a0d2 2025-10-27 14:59:47,773 - DEBUG - ==>Verifying data for policy with id: e6b45cd0-5391-470b-84c6-ff7bfdb4a749, fqn: ['default-domain', 'ctest-TestBasicPolicy-61449217', 'ctest-policy-allow-all-25485634'] 2025-10-27 14:59:47,773 - INFO - VN ctest-vn-55903443 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 14:59:47,773 - DEBUG - Verifying the vn in opserver 2025-10-27 14:59:47,774 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-55903443 virtual network link through opserver 10.0.0.242 2025-10-27 14:59:47,774 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 14:59:48,108 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 14:59:48,164 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-55903443', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-55903443?flat'} 2025-10-27 14:59:48,164 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-55903443 is found in opserver 2025-10-27 14:59:48,175 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 14:59:48,179 - DEBUG - VRF ids for VN ctest-vn-55903443: {} 2025-10-27 14:59:48,179 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 14:59:48,184 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b6beecf-458a-42d6-86e1-d418933685c8 2025-10-27 14:59:48,198 - DEBUG - Requesting: http://10.0.0.242:8082/project/9dd0e676-91ca-4374-a1b8-b207f4ab3f5a 2025-10-27 14:59:48,269 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/437c42b8-8d84-4c08-9366-8b9fd91dba72 2025-10-27 14:59:48,280 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/437c42b8-8d84-4c08-9366-8b9fd91dba72 2025-10-27 14:59:48,289 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b067139-d746-4cb3-a99f-4080cc4ac2f9 2025-10-27 14:59:48,296 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b067139-d746-4cb3-a99f-4080cc4ac2f9 2025-10-27 14:59:48,303 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8d94ffe4-14bd-40d0-8bb1-03d83773be5a 2025-10-27 14:59:48,310 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 14:59:48,310 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/437c42b8-8d84-4c08-9366-8b9fd91dba72 2025-10-27 14:59:48,319 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b067139-d746-4cb3-a99f-4080cc4ac2f9 2025-10-27 14:59:48,334 - INFO - Verified VN network id 12 for VN 437c42b8-8d84-4c08-9366-8b9fd91dba72 2025-10-27 14:59:48,334 - INFO - Verifications in API Server for VN ctest-vn-45565975 passed 2025-10-27 14:59:48,334 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/437c42b8-8d84-4c08-9366-8b9fd91dba72 2025-10-27 14:59:48,343 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b067139-d746-4cb3-a99f-4080cc4ac2f9 2025-10-27 14:59:48,351 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b067139-d746-4cb3-a99f-4080cc4ac2f9 2025-10-27 14:59:48,357 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8d94ffe4-14bd-40d0-8bb1-03d83773be5a 2025-10-27 14:59:48,371 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-45565975', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61449217', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4862835058068966408', 'uuid-lslong': '10621330289858558578'}, 'enable': 'true', 'created': '2025-10-27T14:59:46', 'last-modified': '2025-10-27T14:59:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.466119'} 2025-10-27 14:59:48,376 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 14:59:48,376 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45565975 passed 2025-10-27 14:59:48,377 - DEBUG - ====Verifying policy data for ctest-vn-45565975 in API_Server ====== 2025-10-27 14:59:48,377 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 14:59:48,382 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b6beecf-458a-42d6-86e1-d418933685c8 2025-10-27 14:59:48,393 - DEBUG - Requesting: http://10.0.0.242:8082/project/9dd0e676-91ca-4374-a1b8-b207f4ab3f5a 2025-10-27 14:59:48,462 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/437c42b8-8d84-4c08-9366-8b9fd91dba72 2025-10-27 14:59:48,474 - DEBUG - ==>Verifying data for policy with id: e6b45cd0-5391-470b-84c6-ff7bfdb4a749, fqn: ['default-domain', 'ctest-TestBasicPolicy-61449217', 'ctest-policy-allow-all-25485634'] 2025-10-27 14:59:48,474 - INFO - VN ctest-vn-45565975 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 14:59:48,474 - DEBUG - Verifying the vn in opserver 2025-10-27 14:59:48,474 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-45565975 virtual network link through opserver 10.0.0.242 2025-10-27 14:59:48,474 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 14:59:48,485 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-45565975', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-45565975?flat'} 2025-10-27 14:59:48,485 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-45565975 is found in opserver 2025-10-27 14:59:48,496 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 14:59:48,501 - DEBUG - VRF ids for VN ctest-vn-45565975: {} 2025-10-27 14:59:48,563 - DEBUG - Services list from nova: [, , ] 2025-10-27 14:59:49,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4505-1) 2025-10-27 14:59:50,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4505-1) 2025-10-27 14:59:50,925 - INFO - Waiting for VM ctest-TestBasicPolicy-61449217-66945274 to be up.. 2025-10-27 14:59:51,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 14:59:56,124 - DEBUG - VM is in ACTIVE state now 2025-10-27 14:59:56,124 - INFO - VM name : ctest-TestBasicPolicy-61449217-66945274 2025-10-27 14:59:56,212 - DEBUG - VM ctest-TestBasicPolicy-61449217-66945274 ID is b947404f-3c88-4396-9ec1-a7f4a56b54ce 2025-10-27 14:59:56,238 - DEBUG - VM ctest-TestBasicPolicy-61449217-66945274 launched on Node cn-jenkins-deploy-platform-ansible-os-4505-1 2025-10-27 14:59:56,329 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b947404f-3c88-4396-9ec1-a7f4a56b54ce 2025-10-27 14:59:56,337 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0f842543-be20-4dd0-bc1e-5062b5317ef0 2025-10-27 14:59:59,586 - 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 1006ms') 2025-10-27 14:59:59,586 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61449217-66945274 failed! 2025-10-27 14:59:59,642 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61449217:ctest-vn-55903443 is 8.61.76.65 and allocation pool is NOT set 2025-10-27 15:00:01,700 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.997 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.997/4.401/7.805/3.404 ms') 2025-10-27 15:00:01,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61449217-66945274 passed 2025-10-27 15:00:01,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:00:01,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61449217-66945274, IP 8.61.76.67, Port 22 2025-10-27 15:00:01,916 - 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-27 15:00:02,005 - DEBUG - VM ctest-TestBasicPolicy-61449217-66945274 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 15:00:07,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:00:07,005 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61449217-66945274, IP 8.61.76.67, Port 22 2025-10-27 15:00:07,176 - DEBUG - VM ctest-TestBasicPolicy-61449217-66945274 is ready for SSH connections 2025-10-27 15:00:07,176 - INFO - Waiting for VM ctest-TestBasicPolicy-61449217-07644645 to be up.. 2025-10-27 15:00:07,267 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:00:07,267 - INFO - VM name : ctest-TestBasicPolicy-61449217-07644645 2025-10-27 15:00:07,380 - DEBUG - VM ctest-TestBasicPolicy-61449217-07644645 ID is 2d2b4462-c1d7-45f2-bf38-65bb244edb38 2025-10-27 15:00:07,380 - DEBUG - VM ctest-TestBasicPolicy-61449217-07644645 launched on Node cn-jenkins-deploy-platform-ansible-os-4505-1 2025-10-27 15:00:07,491 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2d2b4462-c1d7-45f2-bf38-65bb244edb38 2025-10-27 15:00:07,503 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/244ceb94-61c7-4587-bbcc-27628f953b25 2025-10-27 15:00:08,779 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.954/3.506/1.552 ms') 2025-10-27 15:00:08,779 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61449217-07644645 passed 2025-10-27 15:00:08,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:00:08,935 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61449217-07644645, IP 80.173.75.195, Port 22 2025-10-27 15:00:09,094 - DEBUG - VM ctest-TestBasicPolicy-61449217-07644645 is ready for SSH connections 2025-10-27 15:00:09,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:00:09,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.173.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 15:00:09,094 - DEBUG - ping -s 56 -c 3 -W 1 80.173.75.195 2025-10-27 15:00:13,262 - DEBUG - PING 80.173.75.195 (80.173.75.195): 56 data bytes 64 bytes from 80.173.75.195: seq=0 ttl=63 time=3.919 ms 64 bytes from 80.173.75.195: seq=1 ttl=63 time=0.869 ms 64 bytes from 80.173.75.195: seq=2 ttl=63 time=0.844 ms --- 80.173.75.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.877/3.919 ms 2025-10-27 15:00:13,263 - INFO - Ping to IP 80.173.75.195 from VM ctest-TestBasicPolicy-61449217-66945274 passed 2025-10-27 15:00:13,450 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e6b45cd0-5391-470b-84c6-ff7bfdb4a749", "href": "http://10.0.0.242:8082/network-policy/e6b45cd0-5391-470b-84c6-ff7bfdb4a749"}} 2025-10-27 15:00:13,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:00:13,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.173.75.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 15:00:13,451 - DEBUG - ping -s 56 -c 3 -W 1 80.173.75.195 2025-10-27 15:00:16,691 - DEBUG - PING 80.173.75.195 (80.173.75.195): 56 data bytes --- 80.173.75.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 15:00:16,691 - WARNING - Ping to IP 80.173.75.195 from VM ctest-TestBasicPolicy-61449217-66945274 failed 2025-10-27 15:00:16,691 - INFO - Deleting VM ctest-TestBasicPolicy-61449217-07644645 2025-10-27 15:00:16,766 - INFO - Deleting VM ctest-TestBasicPolicy-61449217-66945274 2025-10-27 15:00:17,145 - INFO - Deleted policy ctest-policy-allow-all-25485634 2025-10-27 15:00:17,145 - INFO - Deleting VN ctest-vn-45565975 2025-10-27 15:00:17,181 - DEBUG - VN 437c42b8-8d84-4c08-9366-8b9fd91dba72 still in use: Unable to complete operation on network 437c42b8-8d84-4c08-9366-8b9fd91dba72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cfd37b7a-e5c3-4b59-97ca-e15a879ed0ee'] 2025-10-27 15:00:17,181 - WARNING - Deleting VN ctest-vn-45565975 failed..Will retry 2025-10-27 15:00:19,281 - DEBUG - Response for deleting network () 2025-10-27 15:00:19,281 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/6b067139-d746-4cb3-a99f-4080cc4ac2f9 2025-10-27 15:00:19,289 - DEBUG - Response Code: 404 2025-10-27 15:00:19,289 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 15:00:19,294 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b6beecf-458a-42d6-86e1-d418933685c8 2025-10-27 15:00:19,349 - DEBUG - Requesting: http://10.0.0.242:8082/project/9dd0e676-91ca-4374-a1b8-b207f4ab3f5a 2025-10-27 15:00:19,427 - INFO - Validated that VN ctest-vn-45565975 is not found in API Server 2025-10-27 15:00:19,438 - DEBUG - VN ctest-vn-45565975 is not present in Agent 10.0.0.242 2025-10-27 15:00:19,438 - INFO - Validated that VN ctest-vn-45565975 is not in any agent 2025-10-27 15:00:19,454 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45565975 info 2025-10-27 15:00:19,454 - INFO - Deleting VN ctest-vn-55903443 2025-10-27 15:00:19,558 - DEBUG - Response for deleting network () 2025-10-27 15:00:19,558 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4ac0bf43-6db5-4262-917a-4e77bd83a152 2025-10-27 15:00:19,564 - DEBUG - Response Code: 404 2025-10-27 15:00:19,564 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 15:00:19,569 - DEBUG - Requesting: http://10.0.0.242:8082/domain/0b6beecf-458a-42d6-86e1-d418933685c8 2025-10-27 15:00:19,624 - DEBUG - Requesting: http://10.0.0.242:8082/project/9dd0e676-91ca-4374-a1b8-b207f4ab3f5a 2025-10-27 15:00:19,690 - INFO - Validated that VN ctest-vn-55903443 is not found in API Server 2025-10-27 15:00:19,701 - DEBUG - VN ctest-vn-55903443 is not present in Agent 10.0.0.242 2025-10-27 15:00:19,701 - INFO - Validated that VN ctest-vn-55903443 is not in any agent 2025-10-27 15:00:19,715 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55903443 info 2025-10-27 15:00:19,972 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 15:00:19,972 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-27 15:00:19,973 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:00:20,681 - INFO - Deleted project: ctest-TestBasicPolicy-61449217, ID : 9dd0e676-91ca-4374-a1b8-b207f4ab3f5a