2025-10-27 11:59:15,464 - INFO - Domain Default found not creating 2025-10-27 11:59:15,644 - INFO - Project ctest-TestBasicPolicy-29300346 not found, creating it 2025-10-27 11:59:16,098 - INFO - Created Project:ctest-TestBasicPolicy-29300346, ID : 574a5858-ca86-4c8b-a14f-9058d7b55471 2025-10-27 11:59:17,547 - INFO - ================================================================================ 2025-10-27 11:59:17,548 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 11:59:17,548 - 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 11:59:17,825 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-10-27 11:59:17,825 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:59:17,826 - INFO - 2025-10-27 11:59:18,461 - DEBUG - Response for create_network : {'network': {'id': '893d7f98-2e63-4360-9f6c-50e14c2b4712', 'name': 'ctest-vn-17606718', 'tenant_id': '574a5858ca864c8ba14f9058d7b55471', 'project_id': '574a5858ca864c8ba14f9058d7b55471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29300346', 'ctest-vn-17606718'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:59:18,694 - DEBUG - Response for create_subnet : {'subnet': {'id': '58c1b24b-2365-42db-b81a-dbb4d14aa7f3', 'name': '', 'tenant_id': '574a5858ca864c8ba14f9058d7b55471', 'network_id': '893d7f98-2e63-4360-9f6c-50e14c2b4712', 'ip_version': 4, 'cidr': '141.217.255.0/26', 'allocation_pools': [{'start': '141.217.255.2', 'end': '141.217.255.62'}], 'gateway_ip': '141.217.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.217.255.2', 'tags': [], 'project_id': '574a5858ca864c8ba14f9058d7b55471'}} 2025-10-27 11:59:18,717 - INFO - Created VN ctest-vn-17606718 2025-10-27 11:59:18,770 - DEBUG - VN ctest-vn-17606718 UUID is 893d7f98-2e63-4360-9f6c-50e14c2b4712 2025-10-27 11:59:19,124 - DEBUG - Response for create_network : {'network': {'id': 'd2feda55-18c4-49f9-b150-15c085bcb32b', 'name': 'ctest-vn-69359345', 'tenant_id': '574a5858ca864c8ba14f9058d7b55471', 'project_id': '574a5858ca864c8ba14f9058d7b55471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29300346', 'ctest-vn-69359345'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:59:19,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '413f9da1-6516-4944-aee2-19e0f34d1dce', 'name': '', 'tenant_id': '574a5858ca864c8ba14f9058d7b55471', 'network_id': 'd2feda55-18c4-49f9-b150-15c085bcb32b', 'ip_version': 4, 'cidr': '148.147.128.128/26', 'allocation_pools': [{'start': '148.147.128.130', 'end': '148.147.128.190'}], 'gateway_ip': '148.147.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.147.128.130', 'tags': [], 'project_id': '574a5858ca864c8ba14f9058d7b55471'}} 2025-10-27 11:59:19,406 - INFO - Created VN ctest-vn-69359345 2025-10-27 11:59:19,458 - DEBUG - VN ctest-vn-69359345 UUID is d2feda55-18c4-49f9-b150-15c085bcb32b 2025-10-27 11:59:19,579 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-17606718, 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-29300346:ctest-vn-69359345, 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 11:59:19,919 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '893d7f98-2e63-4360-9f6c-50e14c2b4712', 'name': 'ctest-vn-17606718', 'tenant_id': '574a5858ca864c8ba14f9058d7b55471', 'project_id': '574a5858ca864c8ba14f9058d7b55471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58c1b24b-2365-42db-b81a-dbb4d14aa7f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29300346', 'ctest-vn-17606718'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29300346', 'ctest-policy-allow-all-58122602']], 'subnet_ipam': [{'subnet_cidr': '141.217.255.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:59:20,220 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd2feda55-18c4-49f9-b150-15c085bcb32b', 'name': 'ctest-vn-69359345', 'tenant_id': '574a5858ca864c8ba14f9058d7b55471', 'project_id': '574a5858ca864c8ba14f9058d7b55471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['413f9da1-6516-4944-aee2-19e0f34d1dce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29300346', 'ctest-vn-69359345'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29300346', 'ctest-policy-allow-all-58122602']], 'subnet_ipam': [{'subnet_cidr': '148.147.128.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:59:20,387 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-27 11:59:20,724 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-27 11:59:20,760 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e22588a5-5897-4ef2-bd63-97f077905c30 2025-10-27 11:59:20,776 - DEBUG - Requesting: http://10.0.0.33:8082/project/574a5858-ca86-4c8b-a14f-9058d7b55471 2025-10-27 11:59:20,860 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/893d7f98-2e63-4360-9f6c-50e14c2b4712 2025-10-27 11:59:20,874 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/893d7f98-2e63-4360-9f6c-50e14c2b4712 2025-10-27 11:59:20,887 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b7efc38b-e646-42e7-a202-7d889ec74be1 2025-10-27 11:59:20,895 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b7efc38b-e646-42e7-a202-7d889ec74be1 2025-10-27 11:59:20,906 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4b5c4056-8bce-4518-b2e5-f325ede04e9e 2025-10-27 11:59:20,914 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 11:59:20,914 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/893d7f98-2e63-4360-9f6c-50e14c2b4712 2025-10-27 11:59:20,927 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b7efc38b-e646-42e7-a202-7d889ec74be1 2025-10-27 11:59:20,945 - INFO - Verified VN network id 11 for VN 893d7f98-2e63-4360-9f6c-50e14c2b4712 2025-10-27 11:59:20,945 - INFO - Verifications in API Server for VN ctest-vn-17606718 passed 2025-10-27 11:59:20,945 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/893d7f98-2e63-4360-9f6c-50e14c2b4712 2025-10-27 11:59:20,957 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b7efc38b-e646-42e7-a202-7d889ec74be1 2025-10-27 11:59:20,968 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b7efc38b-e646-42e7-a202-7d889ec74be1 2025-10-27 11:59:20,978 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4b5c4056-8bce-4518-b2e5-f325ede04e9e 2025-10-27 11:59:20,994 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-17606718', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29300346', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9889200648365491040', 'uuid-lslong': '11487645678091061010'}, 'enable': 'true', 'created': '2025-10-27T11:59:18', 'last-modified': '2025-10-27T11:59:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.119075'} 2025-10-27 11:59:21,002 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 11:59:21,002 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17606718 passed 2025-10-27 11:59:21,003 - DEBUG - ====Verifying policy data for ctest-vn-17606718 in API_Server ====== 2025-10-27 11:59:21,003 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-27 11:59:21,009 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e22588a5-5897-4ef2-bd63-97f077905c30 2025-10-27 11:59:21,023 - DEBUG - Requesting: http://10.0.0.33:8082/project/574a5858-ca86-4c8b-a14f-9058d7b55471 2025-10-27 11:59:21,100 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/893d7f98-2e63-4360-9f6c-50e14c2b4712 2025-10-27 11:59:21,110 - DEBUG - ==>Verifying data for policy with id: b53d8014-3211-4e16-849c-f44636bf3c4f, fqn: ['default-domain', 'ctest-TestBasicPolicy-29300346', 'ctest-policy-allow-all-58122602'] 2025-10-27 11:59:21,110 - INFO - VN ctest-vn-17606718 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 11:59:21,110 - DEBUG - Verifying the vn in opserver 2025-10-27 11:59:21,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-17606718 virtual network link through opserver 10.0.0.33 2025-10-27 11:59:21,110 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-27 11:59:21,424 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-27 11:59:21,497 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-17606718', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-17606718?flat'} 2025-10-27 11:59:21,497 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-17606718 is found in opserver 2025-10-27 11:59:21,510 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 11:59:21,516 - DEBUG - VRF ids for VN ctest-vn-17606718: {} 2025-10-27 11:59:21,516 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-27 11:59:21,526 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e22588a5-5897-4ef2-bd63-97f077905c30 2025-10-27 11:59:21,541 - DEBUG - Requesting: http://10.0.0.33:8082/project/574a5858-ca86-4c8b-a14f-9058d7b55471 2025-10-27 11:59:21,613 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d2feda55-18c4-49f9-b150-15c085bcb32b 2025-10-27 11:59:21,627 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d2feda55-18c4-49f9-b150-15c085bcb32b 2025-10-27 11:59:21,639 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/24cc696a-b78d-4ca6-bef2-802a92de2afe 2025-10-27 11:59:21,648 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/24cc696a-b78d-4ca6-bef2-802a92de2afe 2025-10-27 11:59:21,657 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4ef15efa-7b61-4c31-ad27-6f71d042f3ca 2025-10-27 11:59:21,666 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 11:59:21,666 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d2feda55-18c4-49f9-b150-15c085bcb32b 2025-10-27 11:59:21,681 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/24cc696a-b78d-4ca6-bef2-802a92de2afe 2025-10-27 11:59:21,699 - INFO - Verified VN network id 12 for VN d2feda55-18c4-49f9-b150-15c085bcb32b 2025-10-27 11:59:21,699 - INFO - Verifications in API Server for VN ctest-vn-69359345 passed 2025-10-27 11:59:21,699 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d2feda55-18c4-49f9-b150-15c085bcb32b 2025-10-27 11:59:21,709 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/24cc696a-b78d-4ca6-bef2-802a92de2afe 2025-10-27 11:59:21,716 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/24cc696a-b78d-4ca6-bef2-802a92de2afe 2025-10-27 11:59:21,723 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4ef15efa-7b61-4c31-ad27-6f71d042f3ca 2025-10-27 11:59:21,737 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-69359345', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29300346', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15203829451071965689', 'uuid-lslong': '12776736059471737643'}, 'enable': 'true', 'created': '2025-10-27T11:59:19', 'last-modified': '2025-10-27T11:59:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.591085'} 2025-10-27 11:59:21,744 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 11:59:21,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69359345 passed 2025-10-27 11:59:21,744 - DEBUG - ====Verifying policy data for ctest-vn-69359345 in API_Server ====== 2025-10-27 11:59:21,744 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-27 11:59:21,750 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e22588a5-5897-4ef2-bd63-97f077905c30 2025-10-27 11:59:21,763 - DEBUG - Requesting: http://10.0.0.33:8082/project/574a5858-ca86-4c8b-a14f-9058d7b55471 2025-10-27 11:59:21,837 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d2feda55-18c4-49f9-b150-15c085bcb32b 2025-10-27 11:59:21,847 - DEBUG - ==>Verifying data for policy with id: b53d8014-3211-4e16-849c-f44636bf3c4f, fqn: ['default-domain', 'ctest-TestBasicPolicy-29300346', 'ctest-policy-allow-all-58122602'] 2025-10-27 11:59:21,847 - INFO - VN ctest-vn-69359345 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 11:59:21,847 - DEBUG - Verifying the vn in opserver 2025-10-27 11:59:21,847 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-69359345 virtual network link through opserver 10.0.0.33 2025-10-27 11:59:21,847 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-27 11:59:21,858 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-69359345', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-69359345?flat'} 2025-10-27 11:59:21,858 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-69359345 is found in opserver 2025-10-27 11:59:21,868 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 11:59:21,874 - DEBUG - VRF ids for VN ctest-vn-69359345: {} 2025-10-27 11:59:21,942 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:59:23,017 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4501-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4501-1) 2025-10-27 11:59:24,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4501-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4501-1) 2025-10-27 11:59:24,195 - INFO - Waiting for VM ctest-TestBasicPolicy-29300346-93531042 to be up.. 2025-10-27 11:59:24,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:59:29,356 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:59:29,356 - INFO - VM name : ctest-TestBasicPolicy-29300346-93531042 2025-10-27 11:59:29,432 - DEBUG - VM ctest-TestBasicPolicy-29300346-93531042 ID is 110c1dfe-44fe-4775-9044-63698d862d6f 2025-10-27 11:59:29,453 - DEBUG - VM ctest-TestBasicPolicy-29300346-93531042 launched on Node cn-jenkins-deploy-platform-ansible-os-4501-1 2025-10-27 11:59:29,529 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/110c1dfe-44fe-4775-9044-63698d862d6f 2025-10-27 11:59:29,539 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/612408bc-7758-4c8f-88e8-8d5ec3b4706a 2025-10-27 11:59:32,777 - 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 1002ms') 2025-10-27 11:59:32,778 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29300346-93531042 failed! 2025-10-27 11:59:32,830 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29300346:ctest-vn-17606718 is 141.217.255.1 and allocation pool is NOT set 2025-10-27 11:59:34,902 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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.035/5.953/9.871/3.918 ms') 2025-10-27 11:59:34,904 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29300346-93531042 passed 2025-10-27 11:59:35,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:59:35,063 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29300346-93531042, IP 141.217.255.3, Port 22 2025-10-27 11:59:35,130 - 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 11:59:35,250 - DEBUG - VM ctest-TestBasicPolicy-29300346-93531042 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 11:59:40,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:59:40,251 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29300346-93531042, IP 141.217.255.3, Port 22 2025-10-27 11:59:40,406 - DEBUG - VM ctest-TestBasicPolicy-29300346-93531042 is ready for SSH connections 2025-10-27 11:59:40,407 - INFO - Waiting for VM ctest-TestBasicPolicy-29300346-87592259 to be up.. 2025-10-27 11:59:40,484 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:59:40,484 - INFO - VM name : ctest-TestBasicPolicy-29300346-87592259 2025-10-27 11:59:40,559 - DEBUG - VM ctest-TestBasicPolicy-29300346-87592259 ID is 7c207504-859d-496e-b812-1462759df6b7 2025-10-27 11:59:40,559 - DEBUG - VM ctest-TestBasicPolicy-29300346-87592259 launched on Node cn-jenkins-deploy-platform-ansible-os-4501-1 2025-10-27 11:59:40,635 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7c207504-859d-496e-b812-1462759df6b7 2025-10-27 11:59:40,644 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4cdb0652-e640-40b3-95a5-104467920bb3 2025-10-27 11:59:41,884 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/1.785/3.107/1.321 ms') 2025-10-27 11:59:41,884 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29300346-87592259 passed 2025-10-27 11:59:42,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:59:42,035 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29300346-87592259, IP 148.147.128.131, Port 22 2025-10-27 11:59:42,190 - DEBUG - VM ctest-TestBasicPolicy-29300346-87592259 is ready for SSH connections 2025-10-27 11:59:42,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:59:42,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.147.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-27 11:59:42,190 - DEBUG - ping -s 56 -c 3 -W 1 148.147.128.131 2025-10-27 11:59:46,296 - DEBUG - PING 148.147.128.131 (148.147.128.131): 56 data bytes 64 bytes from 148.147.128.131: seq=0 ttl=63 time=3.560 ms 64 bytes from 148.147.128.131: seq=1 ttl=63 time=0.921 ms 64 bytes from 148.147.128.131: seq=2 ttl=63 time=0.814 ms --- 148.147.128.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.765/3.560 ms 2025-10-27 11:59:46,296 - INFO - Ping to IP 148.147.128.131 from VM ctest-TestBasicPolicy-29300346-93531042 passed 2025-10-27 11:59:46,478 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b53d8014-3211-4e16-849c-f44636bf3c4f", "href": "http://10.0.0.33:8082/network-policy/b53d8014-3211-4e16-849c-f44636bf3c4f"}} 2025-10-27 11:59:46,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:59:46,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.147.128.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-27 11:59:46,479 - DEBUG - ping -s 56 -c 3 -W 1 148.147.128.131 2025-10-27 11:59:49,696 - DEBUG - PING 148.147.128.131 (148.147.128.131): 56 data bytes --- 148.147.128.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:59:49,697 - WARNING - Ping to IP 148.147.128.131 from VM ctest-TestBasicPolicy-29300346-93531042 failed 2025-10-27 11:59:49,697 - INFO - Deleting VM ctest-TestBasicPolicy-29300346-87592259 2025-10-27 11:59:49,778 - INFO - Deleting VM ctest-TestBasicPolicy-29300346-93531042 2025-10-27 11:59:50,151 - INFO - Deleted policy ctest-policy-allow-all-58122602 2025-10-27 11:59:50,151 - INFO - Deleting VN ctest-vn-69359345 2025-10-27 11:59:50,188 - DEBUG - VN d2feda55-18c4-49f9-b150-15c085bcb32b still in use: Unable to complete operation on network d2feda55-18c4-49f9-b150-15c085bcb32b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-24a16ab3-57f7-4267-89bb-03bc134c10d9'] 2025-10-27 11:59:50,188 - WARNING - Deleting VN ctest-vn-69359345 failed..Will retry 2025-10-27 11:59:52,295 - DEBUG - Response for deleting network () 2025-10-27 11:59:52,295 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/24cc696a-b78d-4ca6-bef2-802a92de2afe 2025-10-27 11:59:52,304 - DEBUG - Response Code: 404 2025-10-27 11:59:52,305 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-27 11:59:52,312 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e22588a5-5897-4ef2-bd63-97f077905c30 2025-10-27 11:59:52,369 - DEBUG - Requesting: http://10.0.0.33:8082/project/574a5858-ca86-4c8b-a14f-9058d7b55471 2025-10-27 11:59:52,445 - INFO - Validated that VN ctest-vn-69359345 is not found in API Server 2025-10-27 11:59:52,457 - DEBUG - VN ctest-vn-69359345 is not present in Agent 10.0.0.33 2025-10-27 11:59:52,457 - INFO - Validated that VN ctest-vn-69359345 is not in any agent 2025-10-27 11:59:52,474 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69359345 info 2025-10-27 11:59:52,474 - INFO - Deleting VN ctest-vn-17606718 2025-10-27 11:59:52,582 - DEBUG - Response for deleting network () 2025-10-27 11:59:52,582 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b7efc38b-e646-42e7-a202-7d889ec74be1 2025-10-27 11:59:52,588 - DEBUG - Response Code: 404 2025-10-27 11:59:52,588 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-27 11:59:52,596 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e22588a5-5897-4ef2-bd63-97f077905c30 2025-10-27 11:59:52,651 - DEBUG - Requesting: http://10.0.0.33:8082/project/574a5858-ca86-4c8b-a14f-9058d7b55471 2025-10-27 11:59:52,720 - INFO - Validated that VN ctest-vn-17606718 is not found in API Server 2025-10-27 11:59:52,730 - DEBUG - VN ctest-vn-17606718 is not present in Agent 10.0.0.33 2025-10-27 11:59:52,730 - INFO - Validated that VN ctest-vn-17606718 is not in any agent 2025-10-27 11:59:52,745 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17606718 info 2025-10-27 11:59:53,004 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:59:53,004 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-10-27 11:59:53,004 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:59:53,703 - INFO - Deleted project: ctest-TestBasicPolicy-29300346, ID : 574a5858-ca86-4c8b-a14f-9058d7b55471