2025-11-17 18:16:04,831 - INFO - Domain Default found not creating 2025-11-17 18:16:05,047 - INFO - Project ctest-TestBasicPolicy-21744318 not found, creating it 2025-11-17 18:16:05,549 - INFO - Created Project:ctest-TestBasicPolicy-21744318, ID : 9780b061-a0f1-4c86-9bb9-fc6cdc3a85b4 2025-11-17 18:16:07,272 - INFO - ================================================================================ 2025-11-17 18:16:07,272 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 18:16:07,272 - 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-17 18:16:07,547 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 18:16:07,547 - INFO - Initial checks done. Running the testcase now 2025-11-17 18:16:07,548 - INFO - 2025-11-17 18:16:08,206 - DEBUG - Response for create_network : {'network': {'id': 'b3850ca5-d64f-4478-80d9-87770782ef3b', 'name': 'ctest-vn-09018626', 'tenant_id': '9780b061a0f14c869bb9fc6cdc3a85b4', 'project_id': '9780b061a0f14c869bb9fc6cdc3a85b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21744318', 'ctest-vn-09018626'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:16:08,398 - DEBUG - Response for create_subnet : {'subnet': {'id': '9524d9ce-1619-4874-b979-c71814b051b0', 'name': '', 'tenant_id': '9780b061a0f14c869bb9fc6cdc3a85b4', 'network_id': 'b3850ca5-d64f-4478-80d9-87770782ef3b', 'ip_version': 4, 'cidr': '195.139.249.192/26', 'allocation_pools': [{'start': '195.139.249.194', 'end': '195.139.249.254'}], 'gateway_ip': '195.139.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.139.249.194', 'tags': [], 'project_id': '9780b061a0f14c869bb9fc6cdc3a85b4'}} 2025-11-17 18:16:08,422 - INFO - Created VN ctest-vn-09018626 2025-11-17 18:16:08,475 - DEBUG - VN ctest-vn-09018626 UUID is b3850ca5-d64f-4478-80d9-87770782ef3b 2025-11-17 18:16:08,792 - DEBUG - Response for create_network : {'network': {'id': '076bd479-3e2d-495b-8ddf-bdb7696af3fa', 'name': 'ctest-vn-42695594', 'tenant_id': '9780b061a0f14c869bb9fc6cdc3a85b4', 'project_id': '9780b061a0f14c869bb9fc6cdc3a85b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21744318', 'ctest-vn-42695594'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:16:09,020 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c254a0ce-6753-478c-ba32-c18592920302', 'name': '', 'tenant_id': '9780b061a0f14c869bb9fc6cdc3a85b4', 'network_id': '076bd479-3e2d-495b-8ddf-bdb7696af3fa', 'ip_version': 4, 'cidr': '139.138.53.192/26', 'allocation_pools': [{'start': '139.138.53.194', 'end': '139.138.53.254'}], 'gateway_ip': '139.138.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.138.53.194', 'tags': [], 'project_id': '9780b061a0f14c869bb9fc6cdc3a85b4'}} 2025-11-17 18:16:09,041 - INFO - Created VN ctest-vn-42695594 2025-11-17 18:16:09,095 - DEBUG - VN ctest-vn-42695594 UUID is 076bd479-3e2d-495b-8ddf-bdb7696af3fa 2025-11-17 18:16:09,224 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-09018626, 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-21744318:ctest-vn-42695594, 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-17 18:16:09,529 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3850ca5-d64f-4478-80d9-87770782ef3b', 'name': 'ctest-vn-09018626', 'tenant_id': '9780b061a0f14c869bb9fc6cdc3a85b4', 'project_id': '9780b061a0f14c869bb9fc6cdc3a85b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9524d9ce-1619-4874-b979-c71814b051b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21744318', 'ctest-vn-09018626'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21744318', 'ctest-policy-allow-all-00294357']], 'subnet_ipam': [{'subnet_cidr': '195.139.249.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:16:09,789 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '076bd479-3e2d-495b-8ddf-bdb7696af3fa', 'name': 'ctest-vn-42695594', 'tenant_id': '9780b061a0f14c869bb9fc6cdc3a85b4', 'project_id': '9780b061a0f14c869bb9fc6cdc3a85b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c254a0ce-6753-478c-ba32-c18592920302'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21744318', 'ctest-vn-42695594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21744318', 'ctest-policy-allow-all-00294357']], 'subnet_ipam': [{'subnet_cidr': '139.138.53.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:16:09,959 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 18:16:10,260 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 18:16:10,299 - DEBUG - Requesting: http://10.0.0.33:8082/domain/77f8efd9-1e4c-4101-be0b-57a61b8e1403 2025-11-17 18:16:10,313 - DEBUG - Requesting: http://10.0.0.33:8082/project/9780b061-a0f1-4c86-9bb9-fc6cdc3a85b4 2025-11-17 18:16:10,391 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b3850ca5-d64f-4478-80d9-87770782ef3b 2025-11-17 18:16:10,403 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b3850ca5-d64f-4478-80d9-87770782ef3b 2025-11-17 18:16:10,413 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/994e8f5e-80fd-471b-aa33-1c52f26fc9ee 2025-11-17 18:16:10,424 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/994e8f5e-80fd-471b-aa33-1c52f26fc9ee 2025-11-17 18:16:10,434 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b4d06dae-e7bc-4c21-b8ff-93d97f564fb4 2025-11-17 18:16:10,442 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 18:16:10,442 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b3850ca5-d64f-4478-80d9-87770782ef3b 2025-11-17 18:16:10,453 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/994e8f5e-80fd-471b-aa33-1c52f26fc9ee 2025-11-17 18:16:10,470 - INFO - Verified VN network id 11 for VN b3850ca5-d64f-4478-80d9-87770782ef3b 2025-11-17 18:16:10,471 - INFO - Verifications in API Server for VN ctest-vn-09018626 passed 2025-11-17 18:16:10,471 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b3850ca5-d64f-4478-80d9-87770782ef3b 2025-11-17 18:16:10,483 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/994e8f5e-80fd-471b-aa33-1c52f26fc9ee 2025-11-17 18:16:10,491 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/994e8f5e-80fd-471b-aa33-1c52f26fc9ee 2025-11-17 18:16:10,500 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b4d06dae-e7bc-4c21-b8ff-93d97f564fb4 2025-11-17 18:16:10,515 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-09018626', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21744318', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12935759411096274040', 'uuid-lslong': '9284601052097867579'}, 'enable': 'true', 'created': '2025-11-17T18:16:08', 'last-modified': '2025-11-17T18:16:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014220'} 2025-11-17 18:16:10,523 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 18:16:10,523 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09018626 passed 2025-11-17 18:16:10,523 - DEBUG - ====Verifying policy data for ctest-vn-09018626 in API_Server ====== 2025-11-17 18:16:10,523 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 18:16:10,530 - DEBUG - Requesting: http://10.0.0.33:8082/domain/77f8efd9-1e4c-4101-be0b-57a61b8e1403 2025-11-17 18:16:10,543 - DEBUG - Requesting: http://10.0.0.33:8082/project/9780b061-a0f1-4c86-9bb9-fc6cdc3a85b4 2025-11-17 18:16:10,621 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b3850ca5-d64f-4478-80d9-87770782ef3b 2025-11-17 18:16:10,632 - DEBUG - ==>Verifying data for policy with id: eea1dbac-4057-4482-a551-17d5c423383e, fqn: ['default-domain', 'ctest-TestBasicPolicy-21744318', 'ctest-policy-allow-all-00294357'] 2025-11-17 18:16:10,632 - INFO - VN ctest-vn-09018626 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 18:16:10,632 - DEBUG - Verifying the vn in opserver 2025-11-17 18:16:10,632 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-09018626 virtual network link through opserver 10.0.0.33 2025-11-17 18:16:10,632 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 18:16:10,936 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 18:16:11,022 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-09018626', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-09018626?flat'} 2025-11-17 18:16:11,022 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-09018626 is found in opserver 2025-11-17 18:16:11,035 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 18:16:11,041 - DEBUG - VRF ids for VN ctest-vn-09018626: {} 2025-11-17 18:16:11,041 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 18:16:11,047 - DEBUG - Requesting: http://10.0.0.33:8082/domain/77f8efd9-1e4c-4101-be0b-57a61b8e1403 2025-11-17 18:16:11,063 - DEBUG - Requesting: http://10.0.0.33:8082/project/9780b061-a0f1-4c86-9bb9-fc6cdc3a85b4 2025-11-17 18:16:11,140 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/076bd479-3e2d-495b-8ddf-bdb7696af3fa 2025-11-17 18:16:11,153 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/076bd479-3e2d-495b-8ddf-bdb7696af3fa 2025-11-17 18:16:11,165 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cefca10f-f47d-45a4-a0db-65e85969da6d 2025-11-17 18:16:11,176 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cefca10f-f47d-45a4-a0db-65e85969da6d 2025-11-17 18:16:11,186 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7feb835d-baca-42ce-9466-7ccf3d93621a 2025-11-17 18:16:11,196 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 18:16:11,196 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/076bd479-3e2d-495b-8ddf-bdb7696af3fa 2025-11-17 18:16:11,207 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cefca10f-f47d-45a4-a0db-65e85969da6d 2025-11-17 18:16:11,225 - INFO - Verified VN network id 12 for VN 076bd479-3e2d-495b-8ddf-bdb7696af3fa 2025-11-17 18:16:11,226 - INFO - Verifications in API Server for VN ctest-vn-42695594 passed 2025-11-17 18:16:11,226 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/076bd479-3e2d-495b-8ddf-bdb7696af3fa 2025-11-17 18:16:11,239 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cefca10f-f47d-45a4-a0db-65e85969da6d 2025-11-17 18:16:11,249 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cefca10f-f47d-45a4-a0db-65e85969da6d 2025-11-17 18:16:11,257 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7feb835d-baca-42ce-9466-7ccf3d93621a 2025-11-17 18:16:11,274 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-42695594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21744318', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '534754597972822363', 'uuid-lslong': '10223098274599597050'}, 'enable': 'true', 'created': '2025-11-17T18:16:08', 'last-modified': '2025-11-17T18:16:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.516386'} 2025-11-17 18:16:11,282 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 18:16:11,282 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42695594 passed 2025-11-17 18:16:11,283 - DEBUG - ====Verifying policy data for ctest-vn-42695594 in API_Server ====== 2025-11-17 18:16:11,283 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 18:16:11,290 - DEBUG - Requesting: http://10.0.0.33:8082/domain/77f8efd9-1e4c-4101-be0b-57a61b8e1403 2025-11-17 18:16:11,304 - DEBUG - Requesting: http://10.0.0.33:8082/project/9780b061-a0f1-4c86-9bb9-fc6cdc3a85b4 2025-11-17 18:16:11,379 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/076bd479-3e2d-495b-8ddf-bdb7696af3fa 2025-11-17 18:16:11,391 - DEBUG - ==>Verifying data for policy with id: eea1dbac-4057-4482-a551-17d5c423383e, fqn: ['default-domain', 'ctest-TestBasicPolicy-21744318', 'ctest-policy-allow-all-00294357'] 2025-11-17 18:16:11,391 - INFO - VN ctest-vn-42695594 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 18:16:11,391 - DEBUG - Verifying the vn in opserver 2025-11-17 18:16:11,391 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-42695594 virtual network link through opserver 10.0.0.33 2025-11-17 18:16:11,391 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 18:16:11,403 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-42695594', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-42695594?flat'} 2025-11-17 18:16:11,403 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-42695594 is found in opserver 2025-11-17 18:16:11,418 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 18:16:11,424 - DEBUG - VRF ids for VN ctest-vn-42695594: {} 2025-11-17 18:16:11,502 - DEBUG - Services list from nova: [, , ] 2025-11-17 18:16:12,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4744-1) 2025-11-17 18:16:13,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4744-1) 2025-11-17 18:16:13,919 - INFO - Waiting for VM ctest-TestBasicPolicy-21744318-74987225 to be up.. 2025-11-17 18:16:14,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 18:16:19,101 - DEBUG - VM is in ACTIVE state now 2025-11-17 18:16:19,101 - INFO - VM name : ctest-TestBasicPolicy-21744318-74987225 2025-11-17 18:16:19,202 - DEBUG - VM ctest-TestBasicPolicy-21744318-74987225 ID is b02f3277-013b-409c-800e-0a4dddf3c3ce 2025-11-17 18:16:19,230 - DEBUG - VM ctest-TestBasicPolicy-21744318-74987225 launched on Node cn-jenkins-deploy-platform-ansible-os-4744-1 2025-11-17 18:16:19,327 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b02f3277-013b-409c-800e-0a4dddf3c3ce 2025-11-17 18:16:19,337 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b0a522aa-e5e2-4d83-b248-5b71ebd83f2f 2025-11-17 18:16:22,628 - 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 1033ms') 2025-11-17 18:16:22,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21744318-74987225 failed! 2025-11-17 18:16:22,687 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21744318:ctest-vn-09018626 is 195.139.249.193 and allocation pool is NOT set 2025-11-17 18:16:24,755 - 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=5.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=8.23 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 = 5.328/6.781/8.234/1.453 ms') 2025-11-17 18:16:24,756 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21744318-74987225 passed 2025-11-17 18:16:24,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:16:24,919 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21744318-74987225, IP 195.139.249.195, Port 22 2025-11-17 18:16:24,985 - 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-17 18:16:25,087 - DEBUG - VM ctest-TestBasicPolicy-21744318-74987225 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 18:16:30,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:16:30,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21744318-74987225, IP 195.139.249.195, Port 22 2025-11-17 18:16:30,257 - DEBUG - VM ctest-TestBasicPolicy-21744318-74987225 is ready for SSH connections 2025-11-17 18:16:30,257 - INFO - Waiting for VM ctest-TestBasicPolicy-21744318-02143658 to be up.. 2025-11-17 18:16:30,350 - DEBUG - VM is in ACTIVE state now 2025-11-17 18:16:30,350 - INFO - VM name : ctest-TestBasicPolicy-21744318-02143658 2025-11-17 18:16:30,451 - DEBUG - VM ctest-TestBasicPolicy-21744318-02143658 ID is b94fcfbf-7ffb-4ce5-974d-8ab2933d1fdb 2025-11-17 18:16:30,451 - DEBUG - VM ctest-TestBasicPolicy-21744318-02143658 launched on Node cn-jenkins-deploy-platform-ansible-os-4744-1 2025-11-17 18:16:30,549 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b94fcfbf-7ffb-4ce5-974d-8ab2933d1fdb 2025-11-17 18:16:30,558 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a4861e90-3870-4831-b4e4-0fe5405a7834 2025-11-17 18:16:31,806 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.570 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.570/1.898/3.227/1.328 ms') 2025-11-17 18:16:31,807 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21744318-02143658 passed 2025-11-17 18:16:31,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:16:31,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21744318-02143658, IP 139.138.53.195, Port 22 2025-11-17 18:16:32,129 - DEBUG - VM ctest-TestBasicPolicy-21744318-02143658 is ready for SSH connections 2025-11-17 18:16:32,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:16:32,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.138.53.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 18:16:32,130 - DEBUG - ping -s 56 -c 3 -W 1 139.138.53.195 2025-11-17 18:16:36,304 - DEBUG - PING 139.138.53.195 (139.138.53.195): 56 data bytes 64 bytes from 139.138.53.195: seq=0 ttl=63 time=4.054 ms 64 bytes from 139.138.53.195: seq=1 ttl=63 time=1.437 ms 64 bytes from 139.138.53.195: seq=2 ttl=63 time=1.081 ms --- 139.138.53.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.081/2.190/4.054 ms 2025-11-17 18:16:36,304 - INFO - Ping to IP 139.138.53.195 from VM ctest-TestBasicPolicy-21744318-74987225 passed 2025-11-17 18:16:36,494 - DEBUG - Policy Update Response {"network-policy": {"uuid": "eea1dbac-4057-4482-a551-17d5c423383e", "href": "http://10.0.0.33:8082/network-policy/eea1dbac-4057-4482-a551-17d5c423383e"}} 2025-11-17 18:16:36,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:16:36,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.138.53.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 18:16:36,495 - DEBUG - ping -s 56 -c 3 -W 1 139.138.53.195 2025-11-17 18:16:39,710 - DEBUG - PING 139.138.53.195 (139.138.53.195): 56 data bytes --- 139.138.53.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 18:16:39,711 - WARNING - Ping to IP 139.138.53.195 from VM ctest-TestBasicPolicy-21744318-74987225 failed 2025-11-17 18:16:39,711 - INFO - Deleting VM ctest-TestBasicPolicy-21744318-02143658 2025-11-17 18:16:39,802 - INFO - Deleting VM ctest-TestBasicPolicy-21744318-74987225 2025-11-17 18:16:40,251 - INFO - Deleted policy ctest-policy-allow-all-00294357 2025-11-17 18:16:40,252 - INFO - Deleting VN ctest-vn-42695594 2025-11-17 18:16:40,298 - DEBUG - VN 076bd479-3e2d-495b-8ddf-bdb7696af3fa still in use: Unable to complete operation on network 076bd479-3e2d-495b-8ddf-bdb7696af3fa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05cc1873-1a0b-4e8d-a143-2d6c108287e7'] 2025-11-17 18:16:40,298 - WARNING - Deleting VN ctest-vn-42695594 failed..Will retry 2025-11-17 18:16:42,427 - DEBUG - Response for deleting network () 2025-11-17 18:16:42,427 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cefca10f-f47d-45a4-a0db-65e85969da6d 2025-11-17 18:16:42,436 - DEBUG - Response Code: 404 2025-11-17 18:16:42,437 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 18:16:42,442 - DEBUG - Requesting: http://10.0.0.33:8082/domain/77f8efd9-1e4c-4101-be0b-57a61b8e1403 2025-11-17 18:16:42,499 - DEBUG - Requesting: http://10.0.0.33:8082/project/9780b061-a0f1-4c86-9bb9-fc6cdc3a85b4 2025-11-17 18:16:42,572 - INFO - Validated that VN ctest-vn-42695594 is not found in API Server 2025-11-17 18:16:42,585 - DEBUG - VN ctest-vn-42695594 is not present in Agent 10.0.0.33 2025-11-17 18:16:42,585 - INFO - Validated that VN ctest-vn-42695594 is not in any agent 2025-11-17 18:16:42,601 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42695594 info 2025-11-17 18:16:42,601 - INFO - Deleting VN ctest-vn-09018626 2025-11-17 18:16:42,735 - DEBUG - Response for deleting network () 2025-11-17 18:16:42,735 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/994e8f5e-80fd-471b-aa33-1c52f26fc9ee 2025-11-17 18:16:42,744 - DEBUG - Response Code: 404 2025-11-17 18:16:42,744 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 18:16:42,752 - DEBUG - Requesting: http://10.0.0.33:8082/domain/77f8efd9-1e4c-4101-be0b-57a61b8e1403 2025-11-17 18:16:42,804 - DEBUG - Requesting: http://10.0.0.33:8082/project/9780b061-a0f1-4c86-9bb9-fc6cdc3a85b4 2025-11-17 18:16:42,887 - INFO - Validated that VN ctest-vn-09018626 is not found in API Server 2025-11-17 18:16:42,899 - DEBUG - VN ctest-vn-09018626 is not present in Agent 10.0.0.33 2025-11-17 18:16:42,900 - INFO - Validated that VN ctest-vn-09018626 is not in any agent 2025-11-17 18:16:42,924 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09018626 info 2025-11-17 18:16:43,207 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 18:16:43,207 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-11-17 18:16:43,208 - INFO - -------------------------------------------------------------------------------- 2025-11-17 18:16:43,962 - INFO - Deleted project: ctest-TestBasicPolicy-21744318, ID : 9780b061-a0f1-4c86-9bb9-fc6cdc3a85b4