2025-10-22 16:37:05,101 - INFO - Domain Default found not creating 2025-10-22 16:37:05,275 - INFO - Project ctest-TestBasicPolicy-51752018 not found, creating it 2025-10-22 16:37:05,766 - INFO - Created Project:ctest-TestBasicPolicy-51752018, ID : ff2f2de4-b2d6-48bc-b0ec-478107a72cf1 2025-10-22 16:37:07,335 - INFO - ================================================================================ 2025-10-22 16:37:07,336 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 16:37:07,336 - 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-22 16:37:07,595 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-22 16:37:07,595 - INFO - Initial checks done. Running the testcase now 2025-10-22 16:37:07,595 - INFO - 2025-10-22 16:37:08,208 - DEBUG - Response for create_network : {'network': {'id': '0f302520-2f03-4461-8693-b1862f5c2a76', 'name': 'ctest-vn-49526594', 'tenant_id': 'ff2f2de4b2d648bcb0ec478107a72cf1', 'project_id': 'ff2f2de4b2d648bcb0ec478107a72cf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51752018', 'ctest-vn-49526594'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 16:37:08,426 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efc908f7-d29a-41d5-8a0c-fdad564b01bc', 'name': '', 'tenant_id': 'ff2f2de4b2d648bcb0ec478107a72cf1', 'network_id': '0f302520-2f03-4461-8693-b1862f5c2a76', 'ip_version': 4, 'cidr': '166.139.137.64/26', 'allocation_pools': [{'start': '166.139.137.66', 'end': '166.139.137.126'}], 'gateway_ip': '166.139.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.139.137.66', 'tags': [], 'project_id': 'ff2f2de4b2d648bcb0ec478107a72cf1'}} 2025-10-22 16:37:08,447 - INFO - Created VN ctest-vn-49526594 2025-10-22 16:37:08,501 - DEBUG - VN ctest-vn-49526594 UUID is 0f302520-2f03-4461-8693-b1862f5c2a76 2025-10-22 16:37:08,801 - DEBUG - Response for create_network : {'network': {'id': '0d1eaa3d-afbd-4a0c-87dd-ae8426238d96', 'name': 'ctest-vn-38495624', 'tenant_id': 'ff2f2de4b2d648bcb0ec478107a72cf1', 'project_id': 'ff2f2de4b2d648bcb0ec478107a72cf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51752018', 'ctest-vn-38495624'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 16:37:08,996 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea61a94b-c14e-48ea-b818-1be939a6be9c', 'name': '', 'tenant_id': 'ff2f2de4b2d648bcb0ec478107a72cf1', 'network_id': '0d1eaa3d-afbd-4a0c-87dd-ae8426238d96', 'ip_version': 4, 'cidr': '80.142.238.0/26', 'allocation_pools': [{'start': '80.142.238.2', 'end': '80.142.238.62'}], 'gateway_ip': '80.142.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.142.238.2', 'tags': [], 'project_id': 'ff2f2de4b2d648bcb0ec478107a72cf1'}} 2025-10-22 16:37:09,018 - INFO - Created VN ctest-vn-38495624 2025-10-22 16:37:09,073 - DEBUG - VN ctest-vn-38495624 UUID is 0d1eaa3d-afbd-4a0c-87dd-ae8426238d96 2025-10-22 16:37:09,207 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-49526594, 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-51752018:ctest-vn-38495624, 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-22 16:37:09,501 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f302520-2f03-4461-8693-b1862f5c2a76', 'name': 'ctest-vn-49526594', 'tenant_id': 'ff2f2de4b2d648bcb0ec478107a72cf1', 'project_id': 'ff2f2de4b2d648bcb0ec478107a72cf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['efc908f7-d29a-41d5-8a0c-fdad564b01bc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51752018', 'ctest-vn-49526594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51752018', 'ctest-policy-allow-all-32911510']], 'subnet_ipam': [{'subnet_cidr': '166.139.137.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 16:37:09,756 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d1eaa3d-afbd-4a0c-87dd-ae8426238d96', 'name': 'ctest-vn-38495624', 'tenant_id': 'ff2f2de4b2d648bcb0ec478107a72cf1', 'project_id': 'ff2f2de4b2d648bcb0ec478107a72cf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ea61a94b-c14e-48ea-b818-1be939a6be9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51752018', 'ctest-vn-38495624'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51752018', 'ctest-policy-allow-all-32911510']], 'subnet_ipam': [{'subnet_cidr': '80.142.238.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 16:37:09,933 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 16:37:10,228 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 16:37:10,265 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1bb9370c-747f-4184-8ae3-70ba1971fcf7 2025-10-22 16:37:10,279 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff2f2de4-b2d6-48bc-b0ec-478107a72cf1 2025-10-22 16:37:10,352 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0f302520-2f03-4461-8693-b1862f5c2a76 2025-10-22 16:37:10,364 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0f302520-2f03-4461-8693-b1862f5c2a76 2025-10-22 16:37:10,374 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/73599df6-1b5a-41bb-9a0c-68a0eddf19b7 2025-10-22 16:37:10,383 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/73599df6-1b5a-41bb-9a0c-68a0eddf19b7 2025-10-22 16:37:10,392 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c75a908f-d398-41bb-918f-bb50592d7b82 2025-10-22 16:37:10,401 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 16:37:10,401 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0f302520-2f03-4461-8693-b1862f5c2a76 2025-10-22 16:37:10,413 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/73599df6-1b5a-41bb-9a0c-68a0eddf19b7 2025-10-22 16:37:10,434 - INFO - Verified VN network id 11 for VN 0f302520-2f03-4461-8693-b1862f5c2a76 2025-10-22 16:37:10,434 - INFO - Verifications in API Server for VN ctest-vn-49526594 passed 2025-10-22 16:37:10,434 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0f302520-2f03-4461-8693-b1862f5c2a76 2025-10-22 16:37:10,447 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/73599df6-1b5a-41bb-9a0c-68a0eddf19b7 2025-10-22 16:37:10,456 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/73599df6-1b5a-41bb-9a0c-68a0eddf19b7 2025-10-22 16:37:10,464 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c75a908f-d398-41bb-918f-bb50592d7b82 2025-10-22 16:37:10,478 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-49526594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51752018', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1094415529608954977', 'uuid-lslong': '9697289612537113206'}, 'enable': 'true', 'created': '2025-10-22T16:37:08', 'last-modified': '2025-10-22T16:37:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000074'} 2025-10-22 16:37:10,487 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 16:37:10,487 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49526594 passed 2025-10-22 16:37:10,487 - DEBUG - ====Verifying policy data for ctest-vn-49526594 in API_Server ====== 2025-10-22 16:37:10,487 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 16:37:10,494 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1bb9370c-747f-4184-8ae3-70ba1971fcf7 2025-10-22 16:37:10,506 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff2f2de4-b2d6-48bc-b0ec-478107a72cf1 2025-10-22 16:37:10,581 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0f302520-2f03-4461-8693-b1862f5c2a76 2025-10-22 16:37:10,591 - DEBUG - ==>Verifying data for policy with id: 93009453-9f90-433b-9e1f-41d3959b1015, fqn: ['default-domain', 'ctest-TestBasicPolicy-51752018', 'ctest-policy-allow-all-32911510'] 2025-10-22 16:37:10,591 - INFO - VN ctest-vn-49526594 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 16:37:10,591 - DEBUG - Verifying the vn in opserver 2025-10-22 16:37:10,591 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-49526594 virtual network link through opserver 10.0.0.254 2025-10-22 16:37:10,591 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 16:37:10,888 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 16:37:10,961 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-49526594', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-49526594?flat'} 2025-10-22 16:37:10,961 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-49526594 is found in opserver 2025-10-22 16:37:10,972 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 16:37:10,976 - DEBUG - VRF ids for VN ctest-vn-49526594: {} 2025-10-22 16:37:10,976 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 16:37:10,983 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1bb9370c-747f-4184-8ae3-70ba1971fcf7 2025-10-22 16:37:10,997 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff2f2de4-b2d6-48bc-b0ec-478107a72cf1 2025-10-22 16:37:11,070 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d1eaa3d-afbd-4a0c-87dd-ae8426238d96 2025-10-22 16:37:11,083 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d1eaa3d-afbd-4a0c-87dd-ae8426238d96 2025-10-22 16:37:11,094 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1aa565f2-d1fe-4b68-92c2-16f1e5e08526 2025-10-22 16:37:11,102 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1aa565f2-d1fe-4b68-92c2-16f1e5e08526 2025-10-22 16:37:11,111 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e6272b78-0e8f-47ad-a991-553d2fe88b3e 2025-10-22 16:37:11,121 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 16:37:11,121 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d1eaa3d-afbd-4a0c-87dd-ae8426238d96 2025-10-22 16:37:11,132 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1aa565f2-d1fe-4b68-92c2-16f1e5e08526 2025-10-22 16:37:11,148 - INFO - Verified VN network id 12 for VN 0d1eaa3d-afbd-4a0c-87dd-ae8426238d96 2025-10-22 16:37:11,148 - INFO - Verifications in API Server for VN ctest-vn-38495624 passed 2025-10-22 16:37:11,148 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d1eaa3d-afbd-4a0c-87dd-ae8426238d96 2025-10-22 16:37:11,157 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1aa565f2-d1fe-4b68-92c2-16f1e5e08526 2025-10-22 16:37:11,166 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1aa565f2-d1fe-4b68-92c2-16f1e5e08526 2025-10-22 16:37:11,173 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e6272b78-0e8f-47ad-a991-553d2fe88b3e 2025-10-22 16:37:11,187 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-38495624', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51752018', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '945380153712527884', 'uuid-lslong': '9790173047572106646'}, 'enable': 'true', 'created': '2025-10-22T16:37:08', 'last-modified': '2025-10-22T16:37:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.452903'} 2025-10-22 16:37:11,194 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 16:37:11,194 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38495624 passed 2025-10-22 16:37:11,194 - DEBUG - ====Verifying policy data for ctest-vn-38495624 in API_Server ====== 2025-10-22 16:37:11,194 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 16:37:11,200 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1bb9370c-747f-4184-8ae3-70ba1971fcf7 2025-10-22 16:37:11,212 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff2f2de4-b2d6-48bc-b0ec-478107a72cf1 2025-10-22 16:37:11,292 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d1eaa3d-afbd-4a0c-87dd-ae8426238d96 2025-10-22 16:37:11,301 - DEBUG - ==>Verifying data for policy with id: 93009453-9f90-433b-9e1f-41d3959b1015, fqn: ['default-domain', 'ctest-TestBasicPolicy-51752018', 'ctest-policy-allow-all-32911510'] 2025-10-22 16:37:11,301 - INFO - VN ctest-vn-38495624 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 16:37:11,301 - DEBUG - Verifying the vn in opserver 2025-10-22 16:37:11,301 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-38495624 virtual network link through opserver 10.0.0.254 2025-10-22 16:37:11,301 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-22 16:37:11,311 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-38495624', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-38495624?flat'} 2025-10-22 16:37:11,311 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-38495624 is found in opserver 2025-10-22 16:37:11,324 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 16:37:11,329 - DEBUG - VRF ids for VN ctest-vn-38495624: {} 2025-10-22 16:37:11,394 - DEBUG - Services list from nova: [, , ] 2025-10-22 16:37:12,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4435-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4435-1) 2025-10-22 16:37:13,686 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4435-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4435-1) 2025-10-22 16:37:13,687 - INFO - Waiting for VM ctest-TestBasicPolicy-51752018-82874396 to be up.. 2025-10-22 16:37:13,794 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 16:37:18,908 - DEBUG - VM is in ACTIVE state now 2025-10-22 16:37:18,908 - INFO - VM name : ctest-TestBasicPolicy-51752018-82874396 2025-10-22 16:37:19,007 - DEBUG - VM ctest-TestBasicPolicy-51752018-82874396 ID is b521be04-750c-4511-9ce9-9a5f31995f10 2025-10-22 16:37:19,033 - DEBUG - VM ctest-TestBasicPolicy-51752018-82874396 launched on Node cn-jenkins-deploy-platform-ansible-os-4435-1 2025-10-22 16:37:19,124 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b521be04-750c-4511-9ce9-9a5f31995f10 2025-10-22 16:37:19,133 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a05abad8-06e2-48cb-b478-f104b043eaf9 2025-10-22 16:37:22,427 - 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 1027ms') 2025-10-22 16:37:22,427 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51752018-82874396 failed! 2025-10-22 16:37:22,481 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51752018:ctest-vn-49526594 is 166.139.137.65 and allocation pool is NOT set 2025-10-22 16:37:24,551 - 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=11.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.590 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.590/6.136/11.683/5.546 ms') 2025-10-22 16:37:24,551 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51752018-82874396 passed 2025-10-22 16:37:24,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:37:24,705 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51752018-82874396, IP 166.139.137.67, Port 22 2025-10-22 16:37:24,771 - 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-22 16:37:24,864 - DEBUG - VM ctest-TestBasicPolicy-51752018-82874396 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 16:37:29,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:37:29,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51752018-82874396, IP 166.139.137.67, Port 22 2025-10-22 16:37:30,037 - DEBUG - VM ctest-TestBasicPolicy-51752018-82874396 is ready for SSH connections 2025-10-22 16:37:30,037 - INFO - Waiting for VM ctest-TestBasicPolicy-51752018-20481688 to be up.. 2025-10-22 16:37:30,126 - DEBUG - VM is in ACTIVE state now 2025-10-22 16:37:30,126 - INFO - VM name : ctest-TestBasicPolicy-51752018-20481688 2025-10-22 16:37:30,208 - DEBUG - VM ctest-TestBasicPolicy-51752018-20481688 ID is 4aa4814d-9d1d-48b5-a098-c4256d3ea999 2025-10-22 16:37:30,208 - DEBUG - VM ctest-TestBasicPolicy-51752018-20481688 launched on Node cn-jenkins-deploy-platform-ansible-os-4435-1 2025-10-22 16:37:30,415 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4aa4814d-9d1d-48b5-a098-c4256d3ea999 2025-10-22 16:37:30,425 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3d61978c-8a17-4e95-ab98-0e5156f4d16b 2025-10-22 16:37:31,665 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.639 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.639/1.978/3.318/1.339 ms') 2025-10-22 16:37:31,665 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51752018-20481688 passed 2025-10-22 16:37:31,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:37:31,813 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51752018-20481688, IP 80.142.238.3, Port 22 2025-10-22 16:37:31,991 - DEBUG - VM ctest-TestBasicPolicy-51752018-20481688 is ready for SSH connections 2025-10-22 16:37:31,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:37:31,991 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.142.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 16:37:31,991 - DEBUG - ping -s 56 -c 3 -W 1 80.142.238.3 2025-10-22 16:37:36,136 - DEBUG - PING 80.142.238.3 (80.142.238.3): 56 data bytes 64 bytes from 80.142.238.3: seq=0 ttl=63 time=3.997 ms 64 bytes from 80.142.238.3: seq=1 ttl=63 time=1.007 ms 64 bytes from 80.142.238.3: seq=2 ttl=63 time=0.976 ms --- 80.142.238.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/1.993/3.997 ms 2025-10-22 16:37:36,136 - INFO - Ping to IP 80.142.238.3 from VM ctest-TestBasicPolicy-51752018-82874396 passed 2025-10-22 16:37:36,317 - DEBUG - Policy Update Response {"network-policy": {"uuid": "93009453-9f90-433b-9e1f-41d3959b1015", "href": "http://10.0.0.254:8082/network-policy/93009453-9f90-433b-9e1f-41d3959b1015"}} 2025-10-22 16:37:36,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 16:37:36,317 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.142.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-22 16:37:36,317 - DEBUG - ping -s 56 -c 3 -W 1 80.142.238.3 2025-10-22 16:37:39,540 - DEBUG - PING 80.142.238.3 (80.142.238.3): 56 data bytes --- 80.142.238.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 16:37:39,540 - WARNING - Ping to IP 80.142.238.3 from VM ctest-TestBasicPolicy-51752018-82874396 failed 2025-10-22 16:37:39,540 - INFO - Deleting VM ctest-TestBasicPolicy-51752018-20481688 2025-10-22 16:37:39,633 - INFO - Deleting VM ctest-TestBasicPolicy-51752018-82874396 2025-10-22 16:37:40,065 - INFO - Deleted policy ctest-policy-allow-all-32911510 2025-10-22 16:37:40,065 - INFO - Deleting VN ctest-vn-38495624 2025-10-22 16:37:40,105 - DEBUG - VN 0d1eaa3d-afbd-4a0c-87dd-ae8426238d96 still in use: Unable to complete operation on network 0d1eaa3d-afbd-4a0c-87dd-ae8426238d96. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f9fc2b6-489d-4107-b59b-344775275a8a'] 2025-10-22 16:37:40,105 - WARNING - Deleting VN ctest-vn-38495624 failed..Will retry 2025-10-22 16:37:42,236 - DEBUG - Response for deleting network () 2025-10-22 16:37:42,237 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1aa565f2-d1fe-4b68-92c2-16f1e5e08526 2025-10-22 16:37:42,244 - DEBUG - Response Code: 404 2025-10-22 16:37:42,244 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 16:37:42,251 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1bb9370c-747f-4184-8ae3-70ba1971fcf7 2025-10-22 16:37:42,307 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff2f2de4-b2d6-48bc-b0ec-478107a72cf1 2025-10-22 16:37:42,387 - INFO - Validated that VN ctest-vn-38495624 is not found in API Server 2025-10-22 16:37:42,398 - DEBUG - VN ctest-vn-38495624 is not present in Agent 10.0.0.254 2025-10-22 16:37:42,398 - INFO - Validated that VN ctest-vn-38495624 is not in any agent 2025-10-22 16:37:42,414 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38495624 info 2025-10-22 16:37:42,414 - INFO - Deleting VN ctest-vn-49526594 2025-10-22 16:37:42,522 - DEBUG - Response for deleting network () 2025-10-22 16:37:42,522 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/73599df6-1b5a-41bb-9a0c-68a0eddf19b7 2025-10-22 16:37:42,527 - DEBUG - Response Code: 404 2025-10-22 16:37:42,527 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-22 16:37:42,535 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1bb9370c-747f-4184-8ae3-70ba1971fcf7 2025-10-22 16:37:42,590 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff2f2de4-b2d6-48bc-b0ec-478107a72cf1 2025-10-22 16:37:42,664 - INFO - Validated that VN ctest-vn-49526594 is not found in API Server 2025-10-22 16:37:42,674 - DEBUG - VN ctest-vn-49526594 is not present in Agent 10.0.0.254 2025-10-22 16:37:42,674 - INFO - Validated that VN ctest-vn-49526594 is not in any agent 2025-10-22 16:37:42,690 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49526594 info 2025-10-22 16:37:42,946 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 16:37:42,946 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-22 16:37:42,946 - INFO - -------------------------------------------------------------------------------- 2025-10-22 16:37:43,629 - INFO - Deleted project: ctest-TestBasicPolicy-51752018, ID : ff2f2de4-b2d6-48bc-b0ec-478107a72cf1