2025-10-24 17:23:30,426 - INFO - Domain Default found not creating 2025-10-24 17:23:30,698 - INFO - Project ctest-TestBasicPolicy-95222612 not found, creating it 2025-10-24 17:23:31,310 - INFO - Created Project:ctest-TestBasicPolicy-95222612, ID : d26bf623-4bb1-4519-8e42-0a91dab98489 2025-10-24 17:23:33,113 - INFO - ================================================================================ 2025-10-24 17:23:33,113 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-24 17:23:33,113 - 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-24 17:23:33,395 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-24 17:23:33,395 - INFO - Initial checks done. Running the testcase now 2025-10-24 17:23:33,395 - INFO - 2025-10-24 17:23:33,964 - DEBUG - Response for create_network : {'network': {'id': '72b33cac-9f5b-45f2-b6f1-02fe6e23dad9', 'name': 'ctest-vn-29559351', 'tenant_id': 'd26bf6234bb145198e420a91dab98489', 'project_id': 'd26bf6234bb145198e420a91dab98489', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95222612', 'ctest-vn-29559351'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:23:34,186 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9e2bc46-83e2-418e-80c9-c1817e72b96d', 'name': '', 'tenant_id': 'd26bf6234bb145198e420a91dab98489', 'network_id': '72b33cac-9f5b-45f2-b6f1-02fe6e23dad9', 'ip_version': 4, 'cidr': '217.55.218.0/26', 'allocation_pools': [{'start': '217.55.218.2', 'end': '217.55.218.62'}], 'gateway_ip': '217.55.218.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.55.218.2', 'tags': [], 'project_id': 'd26bf6234bb145198e420a91dab98489'}} 2025-10-24 17:23:34,203 - INFO - Created VN ctest-vn-29559351 2025-10-24 17:23:34,259 - DEBUG - VN ctest-vn-29559351 UUID is 72b33cac-9f5b-45f2-b6f1-02fe6e23dad9 2025-10-24 17:23:34,589 - DEBUG - Response for create_network : {'network': {'id': 'f8a0008a-61b8-4aa5-bdf9-c3d362b9df62', 'name': 'ctest-vn-03405425', 'tenant_id': 'd26bf6234bb145198e420a91dab98489', 'project_id': 'd26bf6234bb145198e420a91dab98489', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95222612', 'ctest-vn-03405425'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:23:34,815 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aee5b6c8-494a-40cf-b492-8d4566a18621', 'name': '', 'tenant_id': 'd26bf6234bb145198e420a91dab98489', 'network_id': 'f8a0008a-61b8-4aa5-bdf9-c3d362b9df62', 'ip_version': 4, 'cidr': '151.9.79.128/26', 'allocation_pools': [{'start': '151.9.79.130', 'end': '151.9.79.190'}], 'gateway_ip': '151.9.79.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.9.79.130', 'tags': [], 'project_id': 'd26bf6234bb145198e420a91dab98489'}} 2025-10-24 17:23:34,834 - INFO - Created VN ctest-vn-03405425 2025-10-24 17:23:34,887 - DEBUG - VN ctest-vn-03405425 UUID is f8a0008a-61b8-4aa5-bdf9-c3d362b9df62 2025-10-24 17:23:35,021 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-29559351, 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-95222612:ctest-vn-03405425, 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-24 17:23:35,366 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '72b33cac-9f5b-45f2-b6f1-02fe6e23dad9', 'name': 'ctest-vn-29559351', 'tenant_id': 'd26bf6234bb145198e420a91dab98489', 'project_id': 'd26bf6234bb145198e420a91dab98489', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9e2bc46-83e2-418e-80c9-c1817e72b96d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95222612', 'ctest-vn-29559351'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95222612', 'ctest-policy-allow-all-75615244']], 'subnet_ipam': [{'subnet_cidr': '217.55.218.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:23:35,667 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8a0008a-61b8-4aa5-bdf9-c3d362b9df62', 'name': 'ctest-vn-03405425', 'tenant_id': 'd26bf6234bb145198e420a91dab98489', 'project_id': 'd26bf6234bb145198e420a91dab98489', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aee5b6c8-494a-40cf-b492-8d4566a18621'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95222612', 'ctest-vn-03405425'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95222612', 'ctest-policy-allow-all-75615244']], 'subnet_ipam': [{'subnet_cidr': '151.9.79.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 17:23:35,831 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 17:23:36,131 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 17:23:36,183 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e1955660-f330-4b0e-b6fd-9240fd6ddcb2 2025-10-24 17:23:36,204 - DEBUG - Requesting: http://10.0.0.22:8082/project/d26bf623-4bb1-4519-8e42-0a91dab98489 2025-10-24 17:23:36,300 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/72b33cac-9f5b-45f2-b6f1-02fe6e23dad9 2025-10-24 17:23:36,316 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/72b33cac-9f5b-45f2-b6f1-02fe6e23dad9 2025-10-24 17:23:36,327 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/828a0dab-844f-4d0c-8c49-3490a1a30032 2025-10-24 17:23:36,335 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/828a0dab-844f-4d0c-8c49-3490a1a30032 2025-10-24 17:23:36,345 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/47af81ae-e1c6-44c4-9d89-c2eda91b5f57 2025-10-24 17:23:36,356 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 17:23:36,356 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/72b33cac-9f5b-45f2-b6f1-02fe6e23dad9 2025-10-24 17:23:36,374 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/828a0dab-844f-4d0c-8c49-3490a1a30032 2025-10-24 17:23:36,396 - INFO - Verified VN network id 11 for VN 72b33cac-9f5b-45f2-b6f1-02fe6e23dad9 2025-10-24 17:23:36,397 - INFO - Verifications in API Server for VN ctest-vn-29559351 passed 2025-10-24 17:23:36,397 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/72b33cac-9f5b-45f2-b6f1-02fe6e23dad9 2025-10-24 17:23:36,415 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/828a0dab-844f-4d0c-8c49-3490a1a30032 2025-10-24 17:23:36,429 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/828a0dab-844f-4d0c-8c49-3490a1a30032 2025-10-24 17:23:36,443 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/47af81ae-e1c6-44c4-9d89-c2eda91b5f57 2025-10-24 17:23:36,468 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-29559351', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95222612', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8265016453260592626', 'uuid-lslong': '13182320876082944729'}, 'enable': 'true', 'created': '2025-10-24T17:23:33', 'last-modified': '2025-10-24T17:23:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.141316'} 2025-10-24 17:23:36,477 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 17:23:36,477 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29559351 passed 2025-10-24 17:23:36,477 - DEBUG - ====Verifying policy data for ctest-vn-29559351 in API_Server ====== 2025-10-24 17:23:36,477 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 17:23:36,485 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e1955660-f330-4b0e-b6fd-9240fd6ddcb2 2025-10-24 17:23:36,502 - DEBUG - Requesting: http://10.0.0.22:8082/project/d26bf623-4bb1-4519-8e42-0a91dab98489 2025-10-24 17:23:36,605 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/72b33cac-9f5b-45f2-b6f1-02fe6e23dad9 2025-10-24 17:23:36,620 - DEBUG - ==>Verifying data for policy with id: 08c28e2f-9592-4c76-9256-6246a76850e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-95222612', 'ctest-policy-allow-all-75615244'] 2025-10-24 17:23:36,620 - INFO - VN ctest-vn-29559351 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 17:23:36,620 - DEBUG - Verifying the vn in opserver 2025-10-24 17:23:36,620 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-29559351 virtual network link through opserver 10.0.0.22 2025-10-24 17:23:36,620 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-24 17:23:36,944 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-24 17:23:37,012 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-29559351', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-29559351?flat'} 2025-10-24 17:23:37,012 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-29559351 is found in opserver 2025-10-24 17:23:37,024 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 17:23:37,030 - DEBUG - VRF ids for VN ctest-vn-29559351: {} 2025-10-24 17:23:37,030 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 17:23:37,035 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e1955660-f330-4b0e-b6fd-9240fd6ddcb2 2025-10-24 17:23:37,049 - DEBUG - Requesting: http://10.0.0.22:8082/project/d26bf623-4bb1-4519-8e42-0a91dab98489 2025-10-24 17:23:37,129 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f8a0008a-61b8-4aa5-bdf9-c3d362b9df62 2025-10-24 17:23:37,148 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f8a0008a-61b8-4aa5-bdf9-c3d362b9df62 2025-10-24 17:23:37,161 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/00a67b0d-15ff-4cd5-a9df-ac8230af9fd8 2025-10-24 17:23:37,171 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/00a67b0d-15ff-4cd5-a9df-ac8230af9fd8 2025-10-24 17:23:37,179 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f984c31b-5cc9-44e1-ab65-a0a9eee4f911 2025-10-24 17:23:37,186 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 17:23:37,186 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f8a0008a-61b8-4aa5-bdf9-c3d362b9df62 2025-10-24 17:23:37,195 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/00a67b0d-15ff-4cd5-a9df-ac8230af9fd8 2025-10-24 17:23:37,209 - INFO - Verified VN network id 12 for VN f8a0008a-61b8-4aa5-bdf9-c3d362b9df62 2025-10-24 17:23:37,209 - INFO - Verifications in API Server for VN ctest-vn-03405425 passed 2025-10-24 17:23:37,209 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f8a0008a-61b8-4aa5-bdf9-c3d362b9df62 2025-10-24 17:23:37,219 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/00a67b0d-15ff-4cd5-a9df-ac8230af9fd8 2025-10-24 17:23:37,226 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/00a67b0d-15ff-4cd5-a9df-ac8230af9fd8 2025-10-24 17:23:37,234 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f984c31b-5cc9-44e1-ab65-a0a9eee4f911 2025-10-24 17:23:37,249 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-03405425', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95222612', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17915319912024787621', 'uuid-lslong': '13689187855031197538'}, 'enable': 'true', 'created': '2025-10-24T17:23:34', 'last-modified': '2025-10-24T17:23:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.610962'} 2025-10-24 17:23:37,257 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 17:23:37,258 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03405425 passed 2025-10-24 17:23:37,258 - DEBUG - ====Verifying policy data for ctest-vn-03405425 in API_Server ====== 2025-10-24 17:23:37,258 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 17:23:37,266 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e1955660-f330-4b0e-b6fd-9240fd6ddcb2 2025-10-24 17:23:37,283 - DEBUG - Requesting: http://10.0.0.22:8082/project/d26bf623-4bb1-4519-8e42-0a91dab98489 2025-10-24 17:23:37,358 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f8a0008a-61b8-4aa5-bdf9-c3d362b9df62 2025-10-24 17:23:37,368 - DEBUG - ==>Verifying data for policy with id: 08c28e2f-9592-4c76-9256-6246a76850e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-95222612', 'ctest-policy-allow-all-75615244'] 2025-10-24 17:23:37,368 - INFO - VN ctest-vn-03405425 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 17:23:37,368 - DEBUG - Verifying the vn in opserver 2025-10-24 17:23:37,368 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-03405425 virtual network link through opserver 10.0.0.22 2025-10-24 17:23:37,368 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-24 17:23:37,379 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-03405425', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-03405425?flat'} 2025-10-24 17:23:37,379 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-03405425 is found in opserver 2025-10-24 17:23:37,390 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 17:23:37,396 - DEBUG - VRF ids for VN ctest-vn-03405425: {} 2025-10-24 17:23:37,464 - DEBUG - Services list from nova: [, , ] 2025-10-24 17:23:38,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4478-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4478-1) 2025-10-24 17:23:40,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4478-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4478-1) 2025-10-24 17:23:40,148 - INFO - Waiting for VM ctest-TestBasicPolicy-95222612-03245260 to be up.. 2025-10-24 17:23:40,242 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 17:23:45,419 - DEBUG - VM is in ACTIVE state now 2025-10-24 17:23:45,419 - INFO - VM name : ctest-TestBasicPolicy-95222612-03245260 2025-10-24 17:23:45,554 - DEBUG - VM ctest-TestBasicPolicy-95222612-03245260 ID is 81639a79-83fb-4f59-92d8-2b07c1c81db1 2025-10-24 17:23:45,576 - DEBUG - VM ctest-TestBasicPolicy-95222612-03245260 launched on Node cn-jenkins-deploy-platform-ansible-os-4478-1 2025-10-24 17:23:45,686 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/81639a79-83fb-4f59-92d8-2b07c1c81db1 2025-10-24 17:23:45,699 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/71716429-a2db-4ce2-93ea-15f16e946d82 2025-10-24 17:23:48,970 - 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 1026ms') 2025-10-24 17:23:48,970 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95222612-03245260 failed! 2025-10-24 17:23:49,031 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95222612:ctest-vn-29559351 is 217.55.218.1 and allocation pool is NOT set 2025-10-24 17:23:51,124 - 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=8.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.68 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 = 3.676/6.075/8.475/2.399 ms') 2025-10-24 17:23:51,124 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95222612-03245260 passed 2025-10-24 17:23:51,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:23:51,287 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95222612-03245260, IP 217.55.218.3, Port 22 2025-10-24 17:23:51,354 - 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-24 17:23:51,455 - DEBUG - VM ctest-TestBasicPolicy-95222612-03245260 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-24 17:23:56,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:23:56,457 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95222612-03245260, IP 217.55.218.3, Port 22 2025-10-24 17:23:56,654 - DEBUG - VM ctest-TestBasicPolicy-95222612-03245260 is ready for SSH connections 2025-10-24 17:23:56,654 - INFO - Waiting for VM ctest-TestBasicPolicy-95222612-69221350 to be up.. 2025-10-24 17:23:56,845 - DEBUG - VM is in ACTIVE state now 2025-10-24 17:23:56,845 - INFO - VM name : ctest-TestBasicPolicy-95222612-69221350 2025-10-24 17:23:56,995 - DEBUG - VM ctest-TestBasicPolicy-95222612-69221350 ID is fb09aec0-3ddd-4a65-8b43-d7199602e598 2025-10-24 17:23:56,996 - DEBUG - VM ctest-TestBasicPolicy-95222612-69221350 launched on Node cn-jenkins-deploy-platform-ansible-os-4478-1 2025-10-24 17:23:57,107 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fb09aec0-3ddd-4a65-8b43-d7199602e598 2025-10-24 17:23:57,117 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/dda0c55b-2aa8-4866-90a3-83262e1aff97 2025-10-24 17:23:58,382 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.764 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.764/2.062/3.360/1.298 ms') 2025-10-24 17:23:58,383 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95222612-69221350 passed 2025-10-24 17:23:58,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:23:58,556 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95222612-69221350, IP 151.9.79.131, Port 22 2025-10-24 17:23:58,742 - DEBUG - VM ctest-TestBasicPolicy-95222612-69221350 is ready for SSH connections 2025-10-24 17:23:58,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:23:58,742 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.9.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-24 17:23:58,742 - DEBUG - ping -s 56 -c 3 -W 1 151.9.79.131 2025-10-24 17:24:03,164 - DEBUG - PING 151.9.79.131 (151.9.79.131): 56 data bytes 64 bytes from 151.9.79.131: seq=0 ttl=63 time=4.317 ms 64 bytes from 151.9.79.131: seq=1 ttl=63 time=1.138 ms 64 bytes from 151.9.79.131: seq=2 ttl=63 time=1.058 ms --- 151.9.79.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.058/2.171/4.317 ms 2025-10-24 17:24:03,165 - INFO - Ping to IP 151.9.79.131 from VM ctest-TestBasicPolicy-95222612-03245260 passed 2025-10-24 17:24:03,375 - DEBUG - Policy Update Response {"network-policy": {"uuid": "08c28e2f-9592-4c76-9256-6246a76850e3", "href": "http://10.0.0.22:8082/network-policy/08c28e2f-9592-4c76-9256-6246a76850e3"}} 2025-10-24 17:24:03,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 17:24:03,375 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.9.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-24 17:24:03,375 - DEBUG - ping -s 56 -c 3 -W 1 151.9.79.131 2025-10-24 17:24:06,661 - DEBUG - PING 151.9.79.131 (151.9.79.131): 56 data bytes --- 151.9.79.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 17:24:06,661 - WARNING - Ping to IP 151.9.79.131 from VM ctest-TestBasicPolicy-95222612-03245260 failed 2025-10-24 17:24:06,661 - INFO - Deleting VM ctest-TestBasicPolicy-95222612-69221350 2025-10-24 17:24:06,819 - INFO - Deleting VM ctest-TestBasicPolicy-95222612-03245260 2025-10-24 17:24:07,243 - INFO - Deleted policy ctest-policy-allow-all-75615244 2025-10-24 17:24:07,244 - INFO - Deleting VN ctest-vn-03405425 2025-10-24 17:24:07,285 - DEBUG - VN f8a0008a-61b8-4aa5-bdf9-c3d362b9df62 still in use: Unable to complete operation on network f8a0008a-61b8-4aa5-bdf9-c3d362b9df62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74e4afc5-fc69-44e0-8dad-af64db9e5819'] 2025-10-24 17:24:07,285 - WARNING - Deleting VN ctest-vn-03405425 failed..Will retry 2025-10-24 17:24:09,453 - DEBUG - Response for deleting network () 2025-10-24 17:24:09,453 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/00a67b0d-15ff-4cd5-a9df-ac8230af9fd8 2025-10-24 17:24:09,461 - DEBUG - Response Code: 404 2025-10-24 17:24:09,462 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 17:24:09,472 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e1955660-f330-4b0e-b6fd-9240fd6ddcb2 2025-10-24 17:24:09,528 - DEBUG - Requesting: http://10.0.0.22:8082/project/d26bf623-4bb1-4519-8e42-0a91dab98489 2025-10-24 17:24:09,630 - INFO - Validated that VN ctest-vn-03405425 is not found in API Server 2025-10-24 17:24:09,652 - DEBUG - VN ctest-vn-03405425 is not present in Agent 10.0.0.22 2025-10-24 17:24:09,652 - INFO - Validated that VN ctest-vn-03405425 is not in any agent 2025-10-24 17:24:09,673 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03405425 info 2025-10-24 17:24:09,673 - INFO - Deleting VN ctest-vn-29559351 2025-10-24 17:24:09,785 - DEBUG - Response for deleting network () 2025-10-24 17:24:09,785 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/828a0dab-844f-4d0c-8c49-3490a1a30032 2025-10-24 17:24:09,797 - DEBUG - Response Code: 404 2025-10-24 17:24:09,797 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 17:24:09,803 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e1955660-f330-4b0e-b6fd-9240fd6ddcb2 2025-10-24 17:24:09,855 - DEBUG - Requesting: http://10.0.0.22:8082/project/d26bf623-4bb1-4519-8e42-0a91dab98489 2025-10-24 17:24:09,949 - INFO - Validated that VN ctest-vn-29559351 is not found in API Server 2025-10-24 17:24:09,964 - DEBUG - VN ctest-vn-29559351 is not present in Agent 10.0.0.22 2025-10-24 17:24:09,965 - INFO - Validated that VN ctest-vn-29559351 is not in any agent 2025-10-24 17:24:09,984 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29559351 info 2025-10-24 17:24:10,293 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 17:24:10,294 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2025-10-24 17:24:10,294 - INFO - -------------------------------------------------------------------------------- 2025-10-24 17:24:11,149 - INFO - Deleted project: ctest-TestBasicPolicy-95222612, ID : d26bf623-4bb1-4519-8e42-0a91dab98489