2025-11-24 14:35:01,463 - INFO - Domain Default found not creating 2025-11-24 14:35:01,686 - INFO - Project ctest-TestBasicPolicy-02106032 not found, creating it 2025-11-24 14:35:02,199 - INFO - Created Project:ctest-TestBasicPolicy-02106032, ID : 1ac686cc-a23e-4f4a-befe-359ec4d804ff 2025-11-24 14:35:03,977 - INFO - ================================================================================ 2025-11-24 14:35:03,977 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-24 14:35:03,977 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-24 14:35:04,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-24 14:35:04,253 - INFO - Initial checks done. Running the testcase now 2025-11-24 14:35:04,253 - INFO - 2025-11-24 14:35:05,565 - DEBUG - Response for create_network : {'network': {'id': '6ca7faea-d595-44c2-a1f6-1b7541f9fb85', 'name': 'ctest-vn-10703421', 'tenant_id': '1ac686cca23e4f4abefe359ec4d804ff', 'project_id': '1ac686cca23e4f4abefe359ec4d804ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02106032', 'ctest-vn-10703421'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:35:05,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d529409-7c3c-4625-8382-d0aa13d9afac', 'name': '', 'tenant_id': '1ac686cca23e4f4abefe359ec4d804ff', 'network_id': '6ca7faea-d595-44c2-a1f6-1b7541f9fb85', 'ip_version': 4, 'cidr': '119.83.243.64/26', 'allocation_pools': [{'start': '119.83.243.66', 'end': '119.83.243.126'}], 'gateway_ip': '119.83.243.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.83.243.66', 'tags': [], 'project_id': '1ac686cca23e4f4abefe359ec4d804ff'}} 2025-11-24 14:35:05,807 - INFO - Created VN ctest-vn-10703421 2025-11-24 14:35:05,862 - DEBUG - VN ctest-vn-10703421 UUID is 6ca7faea-d595-44c2-a1f6-1b7541f9fb85 2025-11-24 14:35:06,185 - DEBUG - Response for create_network : {'network': {'id': 'f82394e7-7ab1-4cab-b2a9-33feabf49248', 'name': 'ctest-vn-98552780', 'tenant_id': '1ac686cca23e4f4abefe359ec4d804ff', 'project_id': '1ac686cca23e4f4abefe359ec4d804ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02106032', 'ctest-vn-98552780'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:35:06,395 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b796f6d1-513f-43e8-85a2-debccadc7a29', 'name': '', 'tenant_id': '1ac686cca23e4f4abefe359ec4d804ff', 'network_id': 'f82394e7-7ab1-4cab-b2a9-33feabf49248', 'ip_version': 4, 'cidr': '13.34.178.0/26', 'allocation_pools': [{'start': '13.34.178.2', 'end': '13.34.178.62'}], 'gateway_ip': '13.34.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.34.178.2', 'tags': [], 'project_id': '1ac686cca23e4f4abefe359ec4d804ff'}} 2025-11-24 14:35:06,417 - INFO - Created VN ctest-vn-98552780 2025-11-24 14:35:06,470 - DEBUG - VN ctest-vn-98552780 UUID is f82394e7-7ab1-4cab-b2a9-33feabf49248 2025-11-24 14:35:06,599 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-10703421, 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-02106032:ctest-vn-98552780, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-24 14:35:06,912 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6ca7faea-d595-44c2-a1f6-1b7541f9fb85', 'name': 'ctest-vn-10703421', 'tenant_id': '1ac686cca23e4f4abefe359ec4d804ff', 'project_id': '1ac686cca23e4f4abefe359ec4d804ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d529409-7c3c-4625-8382-d0aa13d9afac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02106032', 'ctest-vn-10703421'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02106032', 'ctest-policy-allow-all-28839628']], 'subnet_ipam': [{'subnet_cidr': '119.83.243.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:35:07,176 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f82394e7-7ab1-4cab-b2a9-33feabf49248', 'name': 'ctest-vn-98552780', 'tenant_id': '1ac686cca23e4f4abefe359ec4d804ff', 'project_id': '1ac686cca23e4f4abefe359ec4d804ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b796f6d1-513f-43e8-85a2-debccadc7a29'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02106032', 'ctest-vn-98552780'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02106032', 'ctest-policy-allow-all-28839628']], 'subnet_ipam': [{'subnet_cidr': '13.34.178.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:35:07,338 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 14:35:07,687 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 14:35:07,724 - DEBUG - Requesting: http://10.0.0.38:8082/domain/249d3145-6f8d-4194-953d-eeaf68fdf1bd 2025-11-24 14:35:07,739 - DEBUG - Requesting: http://10.0.0.38:8082/project/1ac686cc-a23e-4f4a-befe-359ec4d804ff 2025-11-24 14:35:07,824 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ca7faea-d595-44c2-a1f6-1b7541f9fb85 2025-11-24 14:35:07,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ca7faea-d595-44c2-a1f6-1b7541f9fb85 2025-11-24 14:35:07,847 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/084a1f75-93b5-4865-a7fe-6824576db168 2025-11-24 14:35:07,855 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/084a1f75-93b5-4865-a7fe-6824576db168 2025-11-24 14:35:07,864 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9671a243-6281-4a04-bb0e-a55d1198d030 2025-11-24 14:35:07,872 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 14:35:07,872 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ca7faea-d595-44c2-a1f6-1b7541f9fb85 2025-11-24 14:35:07,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/084a1f75-93b5-4865-a7fe-6824576db168 2025-11-24 14:35:07,905 - INFO - Verified VN network id 10 for VN 6ca7faea-d595-44c2-a1f6-1b7541f9fb85 2025-11-24 14:35:07,905 - INFO - Verifications in API Server for VN ctest-vn-10703421 passed 2025-11-24 14:35:07,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ca7faea-d595-44c2-a1f6-1b7541f9fb85 2025-11-24 14:35:07,917 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/084a1f75-93b5-4865-a7fe-6824576db168 2025-11-24 14:35:07,925 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/084a1f75-93b5-4865-a7fe-6824576db168 2025-11-24 14:35:07,933 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9671a243-6281-4a04-bb0e-a55d1198d030 2025-11-24 14:35:07,946 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-10703421', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02106032', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7829502363719517378', 'uuid-lslong': '11670545674809244549'}, 'enable': 'true', 'created': '2025-11-24T14:35:05', 'last-modified': '2025-11-24T14:35:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.056632'} 2025-11-24 14:35:07,954 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 14:35:07,954 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10703421 passed 2025-11-24 14:35:07,955 - DEBUG - ====Verifying policy data for ctest-vn-10703421 in API_Server ====== 2025-11-24 14:35:07,955 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 14:35:07,962 - DEBUG - Requesting: http://10.0.0.38:8082/domain/249d3145-6f8d-4194-953d-eeaf68fdf1bd 2025-11-24 14:35:07,976 - DEBUG - Requesting: http://10.0.0.38:8082/project/1ac686cc-a23e-4f4a-befe-359ec4d804ff 2025-11-24 14:35:08,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6ca7faea-d595-44c2-a1f6-1b7541f9fb85 2025-11-24 14:35:08,064 - DEBUG - ==>Verifying data for policy with id: a0c0e92c-5fe5-4394-9454-03cb8a09086f, fqn: ['default-domain', 'ctest-TestBasicPolicy-02106032', 'ctest-policy-allow-all-28839628'] 2025-11-24 14:35:08,064 - INFO - VN ctest-vn-10703421 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 14:35:08,064 - DEBUG - Verifying the vn in opserver 2025-11-24 14:35:08,064 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-10703421 virtual network link through opserver 10.0.0.38 2025-11-24 14:35:08,065 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-24 14:35:08,418 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-24 14:35:08,492 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-10703421', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-10703421?flat'} 2025-11-24 14:35:08,492 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-10703421 is found in opserver 2025-11-24 14:35:08,504 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 14:35:08,510 - DEBUG - VRF ids for VN ctest-vn-10703421: {} 2025-11-24 14:35:08,510 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 14:35:08,516 - DEBUG - Requesting: http://10.0.0.38:8082/domain/249d3145-6f8d-4194-953d-eeaf68fdf1bd 2025-11-24 14:35:08,529 - DEBUG - Requesting: http://10.0.0.38:8082/project/1ac686cc-a23e-4f4a-befe-359ec4d804ff 2025-11-24 14:35:08,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f82394e7-7ab1-4cab-b2a9-33feabf49248 2025-11-24 14:35:08,616 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f82394e7-7ab1-4cab-b2a9-33feabf49248 2025-11-24 14:35:08,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3fe02f62-eace-4ab3-bce4-2ef8778dca82 2025-11-24 14:35:08,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3fe02f62-eace-4ab3-bce4-2ef8778dca82 2025-11-24 14:35:08,646 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6422ac72-0403-438e-87cb-4e84016f0c49 2025-11-24 14:35:08,655 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 14:35:08,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f82394e7-7ab1-4cab-b2a9-33feabf49248 2025-11-24 14:35:08,666 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3fe02f62-eace-4ab3-bce4-2ef8778dca82 2025-11-24 14:35:08,682 - INFO - Verified VN network id 11 for VN f82394e7-7ab1-4cab-b2a9-33feabf49248 2025-11-24 14:35:08,683 - INFO - Verifications in API Server for VN ctest-vn-98552780 passed 2025-11-24 14:35:08,683 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f82394e7-7ab1-4cab-b2a9-33feabf49248 2025-11-24 14:35:08,693 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3fe02f62-eace-4ab3-bce4-2ef8778dca82 2025-11-24 14:35:08,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3fe02f62-eace-4ab3-bce4-2ef8778dca82 2025-11-24 14:35:08,712 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6422ac72-0403-438e-87cb-4e84016f0c49 2025-11-24 14:35:08,727 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-98552780', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02106032', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17880298667507797163', 'uuid-lslong': '12873878178714915400'}, 'enable': 'true', 'created': '2025-11-24T14:35:06', 'last-modified': '2025-11-24T14:35:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.584994'} 2025-11-24 14:35:08,735 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 14:35:08,735 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98552780 passed 2025-11-24 14:35:08,735 - DEBUG - ====Verifying policy data for ctest-vn-98552780 in API_Server ====== 2025-11-24 14:35:08,735 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 14:35:08,743 - DEBUG - Requesting: http://10.0.0.38:8082/domain/249d3145-6f8d-4194-953d-eeaf68fdf1bd 2025-11-24 14:35:08,756 - DEBUG - Requesting: http://10.0.0.38:8082/project/1ac686cc-a23e-4f4a-befe-359ec4d804ff 2025-11-24 14:35:08,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f82394e7-7ab1-4cab-b2a9-33feabf49248 2025-11-24 14:35:08,848 - DEBUG - ==>Verifying data for policy with id: a0c0e92c-5fe5-4394-9454-03cb8a09086f, fqn: ['default-domain', 'ctest-TestBasicPolicy-02106032', 'ctest-policy-allow-all-28839628'] 2025-11-24 14:35:08,849 - INFO - VN ctest-vn-98552780 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 14:35:08,849 - DEBUG - Verifying the vn in opserver 2025-11-24 14:35:08,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-98552780 virtual network link through opserver 10.0.0.38 2025-11-24 14:35:08,849 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-24 14:35:08,861 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-98552780', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-98552780?flat'} 2025-11-24 14:35:08,861 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-98552780 is found in opserver 2025-11-24 14:35:08,873 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 14:35:08,878 - DEBUG - VRF ids for VN ctest-vn-98552780: {} 2025-11-24 14:35:08,960 - DEBUG - Services list from nova: [, , ] 2025-11-24 14:35:10,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:35:11,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:35:11,523 - INFO - Waiting for VM ctest-TestBasicPolicy-02106032-22303470 to be up.. 2025-11-24 14:35:11,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 14:35:16,712 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:35:16,712 - INFO - VM name : ctest-TestBasicPolicy-02106032-22303470 2025-11-24 14:35:16,811 - DEBUG - VM ctest-TestBasicPolicy-02106032-22303470 ID is af802197-d9a8-4479-b47c-5c2b85a4ec58 2025-11-24 14:35:16,834 - DEBUG - VM ctest-TestBasicPolicy-02106032-22303470 launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:35:16,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/af802197-d9a8-4479-b47c-5c2b85a4ec58 2025-11-24 14:35:16,936 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/10ed82c7-961f-417a-8bd2-2883175aeaf1 2025-11-24 14:35:20,198 - 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 1021ms') 2025-11-24 14:35:20,199 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02106032-22303470 failed! 2025-11-24 14:35:20,258 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02106032:ctest-vn-10703421 is 119.83.243.65 and allocation pool is NOT set 2025-11-24 14:35:24,326 - 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=2 ttl=63 time=2.91 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 2.907/2.907/2.907/0.000 ms') 2025-11-24 14:35:24,327 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02106032-22303470 passed 2025-11-24 14:35:24,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:35:24,487 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02106032-22303470, IP 119.83.243.67, Port 22 2025-11-24 14:35:24,553 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-24 14:35:24,664 - DEBUG - VM ctest-TestBasicPolicy-02106032-22303470 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 14:35:29,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:35:29,665 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02106032-22303470, IP 119.83.243.67, Port 22 2025-11-24 14:35:29,826 - DEBUG - VM ctest-TestBasicPolicy-02106032-22303470 is ready for SSH connections 2025-11-24 14:35:29,826 - INFO - Waiting for VM ctest-TestBasicPolicy-02106032-89154679 to be up.. 2025-11-24 14:35:29,913 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:35:29,914 - INFO - VM name : ctest-TestBasicPolicy-02106032-89154679 2025-11-24 14:35:29,997 - DEBUG - VM ctest-TestBasicPolicy-02106032-89154679 ID is 0f2c4cb7-1e19-40b2-b6df-7e71d29324c2 2025-11-24 14:35:29,997 - DEBUG - VM ctest-TestBasicPolicy-02106032-89154679 launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:35:30,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0f2c4cb7-1e19-40b2-b6df-7e71d29324c2 2025-11-24 14:35:30,098 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/002ace62-50a6-4312-a4a9-315ffd9f0b8b 2025-11-24 14:35:31,341 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/2.472/4.490/2.018 ms') 2025-11-24 14:35:31,341 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02106032-89154679 passed 2025-11-24 14:35:31,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:35:31,494 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02106032-89154679, IP 13.34.178.3, Port 22 2025-11-24 14:35:31,658 - DEBUG - VM ctest-TestBasicPolicy-02106032-89154679 is ready for SSH connections 2025-11-24 14:35:31,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:35:31,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.34.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 14:35:31,658 - DEBUG - ping -s 56 -c 3 -W 1 13.34.178.3 2025-11-24 14:35:35,882 - DEBUG - PING 13.34.178.3 (13.34.178.3): 56 data bytes 64 bytes from 13.34.178.3: seq=0 ttl=63 time=4.449 ms 64 bytes from 13.34.178.3: seq=1 ttl=63 time=1.206 ms 64 bytes from 13.34.178.3: seq=2 ttl=63 time=1.036 ms --- 13.34.178.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.036/2.230/4.449 ms 2025-11-24 14:35:35,882 - INFO - Ping to IP 13.34.178.3 from VM ctest-TestBasicPolicy-02106032-22303470 passed 2025-11-24 14:35:36,070 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0c0e92c-5fe5-4394-9454-03cb8a09086f", "href": "http://10.0.0.38:8082/network-policy/a0c0e92c-5fe5-4394-9454-03cb8a09086f"}} 2025-11-24 14:35:36,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:35:36,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.34.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 14:35:36,071 - DEBUG - ping -s 56 -c 3 -W 1 13.34.178.3 2025-11-24 14:35:39,311 - DEBUG - PING 13.34.178.3 (13.34.178.3): 56 data bytes --- 13.34.178.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 14:35:39,311 - WARNING - Ping to IP 13.34.178.3 from VM ctest-TestBasicPolicy-02106032-22303470 failed 2025-11-24 14:35:39,312 - INFO - Deleting VM ctest-TestBasicPolicy-02106032-89154679 2025-11-24 14:35:39,389 - INFO - Deleting VM ctest-TestBasicPolicy-02106032-22303470 2025-11-24 14:35:39,854 - INFO - Deleted policy ctest-policy-allow-all-28839628 2025-11-24 14:35:39,854 - INFO - Deleting VN ctest-vn-98552780 2025-11-24 14:35:39,905 - DEBUG - VN f82394e7-7ab1-4cab-b2a9-33feabf49248 still in use: Unable to complete operation on network f82394e7-7ab1-4cab-b2a9-33feabf49248. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b930758f-715f-4920-938c-da7faec82640'] 2025-11-24 14:35:39,905 - WARNING - Deleting VN ctest-vn-98552780 failed..Will retry 2025-11-24 14:35:42,016 - DEBUG - Response for deleting network () 2025-11-24 14:35:42,016 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3fe02f62-eace-4ab3-bce4-2ef8778dca82 2025-11-24 14:35:42,022 - DEBUG - Response Code: 404 2025-11-24 14:35:42,022 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 14:35:42,033 - DEBUG - Requesting: http://10.0.0.38:8082/domain/249d3145-6f8d-4194-953d-eeaf68fdf1bd 2025-11-24 14:35:42,088 - DEBUG - Requesting: http://10.0.0.38:8082/project/1ac686cc-a23e-4f4a-befe-359ec4d804ff 2025-11-24 14:35:42,161 - INFO - Validated that VN ctest-vn-98552780 is not found in API Server 2025-11-24 14:35:42,173 - DEBUG - VN ctest-vn-98552780 is not present in Agent 10.0.0.38 2025-11-24 14:35:42,173 - INFO - Validated that VN ctest-vn-98552780 is not in any agent 2025-11-24 14:35:42,187 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98552780 info 2025-11-24 14:35:42,188 - INFO - Deleting VN ctest-vn-10703421 2025-11-24 14:35:42,289 - DEBUG - Response for deleting network () 2025-11-24 14:35:42,290 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/084a1f75-93b5-4865-a7fe-6824576db168 2025-11-24 14:35:42,295 - DEBUG - Response Code: 404 2025-11-24 14:35:42,296 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 14:35:42,303 - DEBUG - Requesting: http://10.0.0.38:8082/domain/249d3145-6f8d-4194-953d-eeaf68fdf1bd 2025-11-24 14:35:42,356 - DEBUG - Requesting: http://10.0.0.38:8082/project/1ac686cc-a23e-4f4a-befe-359ec4d804ff 2025-11-24 14:35:42,435 - INFO - Validated that VN ctest-vn-10703421 is not found in API Server 2025-11-24 14:35:42,446 - DEBUG - VN ctest-vn-10703421 is not present in Agent 10.0.0.38 2025-11-24 14:35:42,446 - INFO - Validated that VN ctest-vn-10703421 is not in any agent 2025-11-24 14:35:42,460 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10703421 info 2025-11-24 14:35:42,735 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 14:35:42,735 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-11-24 14:35:42,735 - INFO - -------------------------------------------------------------------------------- 2025-11-24 14:35:43,508 - INFO - Deleted project: ctest-TestBasicPolicy-02106032, ID : 1ac686cc-a23e-4f4a-befe-359ec4d804ff