2025-12-29 18:00:02,828 - INFO - Domain Default found not creating 2025-12-29 18:00:03,064 - INFO - Project ctest-TestBasicPolicy-44131828 not found, creating it 2025-12-29 18:00:03,571 - INFO - Created Project:ctest-TestBasicPolicy-44131828, ID : aadd13a6-e4b6-4a1a-b07e-1d46d2622833 2025-12-29 18:00:05,817 - INFO - ================================================================================ 2025-12-29 18:00:05,817 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-29 18:00:05,817 - 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-12-29 18:00:06,121 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-12-29 18:00:06,121 - INFO - Initial checks done. Running the testcase now 2025-12-29 18:00:06,121 - INFO - 2025-12-29 18:00:06,812 - DEBUG - Response for create_network : {'network': {'id': '67456e5d-fad1-4632-bdb1-998047199594', 'name': 'ctest-vn-91088181', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-vn-91088181'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 18:00:07,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cb37f77-6222-40ed-bb64-c78d95522dc4', 'name': '', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'network_id': '67456e5d-fad1-4632-bdb1-998047199594', 'ip_version': 4, 'cidr': '44.91.191.64/26', 'allocation_pools': [{'start': '44.91.191.66', 'end': '44.91.191.126'}], 'gateway_ip': '44.91.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.91.191.66', 'tags': [], 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833'}} 2025-12-29 18:00:07,059 - INFO - Created VN ctest-vn-91088181 2025-12-29 18:00:07,122 - DEBUG - VN ctest-vn-91088181 UUID is 67456e5d-fad1-4632-bdb1-998047199594 2025-12-29 18:00:07,524 - DEBUG - Response for create_network : {'network': {'id': '65b873bc-91d9-4e9b-8576-e6e672f65b9e', 'name': 'ctest-vn-57620132', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-vn-57620132'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 18:00:07,702 - DEBUG - Response for create_subnet : {'subnet': {'id': '97f407d7-881d-4b84-b346-65d68a7f6300', 'name': '', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'network_id': '65b873bc-91d9-4e9b-8576-e6e672f65b9e', 'ip_version': 4, 'cidr': '115.245.144.128/26', 'allocation_pools': [{'start': '115.245.144.130', 'end': '115.245.144.190'}], 'gateway_ip': '115.245.144.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.245.144.130', 'tags': [], 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833'}} 2025-12-29 18:00:07,724 - INFO - Created VN ctest-vn-57620132 2025-12-29 18:00:07,778 - DEBUG - VN ctest-vn-57620132 UUID is 65b873bc-91d9-4e9b-8576-e6e672f65b9e 2025-12-29 18:00:07,932 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181, 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-44131828:ctest-vn-57620132, 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-12-29 18:00:08,306 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '67456e5d-fad1-4632-bdb1-998047199594', 'name': 'ctest-vn-91088181', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9cb37f77-6222-40ed-bb64-c78d95522dc4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-vn-91088181'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-policy-allow-all-98634529']], 'subnet_ipam': [{'subnet_cidr': '44.91.191.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-29 18:00:08,640 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65b873bc-91d9-4e9b-8576-e6e672f65b9e', 'name': 'ctest-vn-57620132', 'tenant_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'project_id': 'aadd13a6e4b64a1ab07e1d46d2622833', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97f407d7-881d-4b84-b346-65d68a7f6300'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-vn-57620132'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-policy-allow-all-98634529']], 'subnet_ipam': [{'subnet_cidr': '115.245.144.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-29 18:00:08,835 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-29 18:00:09,146 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-29 18:00:09,187 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5fc4913f-adee-47da-8761-b87344d72d1f 2025-12-29 18:00:09,222 - DEBUG - Requesting: http://10.0.0.249:8082/project/aadd13a6-e4b6-4a1a-b07e-1d46d2622833 2025-12-29 18:00:09,323 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67456e5d-fad1-4632-bdb1-998047199594 2025-12-29 18:00:09,347 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67456e5d-fad1-4632-bdb1-998047199594 2025-12-29 18:00:09,364 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9 2025-12-29 18:00:09,375 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9 2025-12-29 18:00:09,385 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/963c3baf-8a59-4f35-a0da-028d8e51a21e 2025-12-29 18:00:09,393 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-29 18:00:09,393 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67456e5d-fad1-4632-bdb1-998047199594 2025-12-29 18:00:09,403 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9 2025-12-29 18:00:09,422 - INFO - Verified VN network id 12 for VN 67456e5d-fad1-4632-bdb1-998047199594 2025-12-29 18:00:09,423 - INFO - Verifications in API Server for VN ctest-vn-91088181 passed 2025-12-29 18:00:09,423 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67456e5d-fad1-4632-bdb1-998047199594 2025-12-29 18:00:09,437 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9 2025-12-29 18:00:09,446 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9 2025-12-29 18:00:09,455 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/963c3baf-8a59-4f35-a0da-028d8e51a21e 2025-12-29 18:00:09,472 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44131828', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7441475309218645554', 'uuid-lslong': '13668875120273888660'}, 'enable': 'true', 'created': '2025-12-29T18:00:06', 'last-modified': '2025-12-29T18:00:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.192468'} 2025-12-29 18:00:09,485 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-29 18:00:09,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91088181 passed 2025-12-29 18:00:09,485 - DEBUG - ====Verifying policy data for ctest-vn-91088181 in API_Server ====== 2025-12-29 18:00:09,485 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-29 18:00:09,493 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5fc4913f-adee-47da-8761-b87344d72d1f 2025-12-29 18:00:09,509 - DEBUG - Requesting: http://10.0.0.249:8082/project/aadd13a6-e4b6-4a1a-b07e-1d46d2622833 2025-12-29 18:00:09,599 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/67456e5d-fad1-4632-bdb1-998047199594 2025-12-29 18:00:09,616 - DEBUG - ==>Verifying data for policy with id: d7c0ec35-17d2-40ea-9509-09907cc2e0d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-policy-allow-all-98634529'] 2025-12-29 18:00:09,616 - INFO - VN ctest-vn-91088181 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-29 18:00:09,616 - DEBUG - Verifying the vn in opserver 2025-12-29 18:00:09,617 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181 virtual network link through opserver 10.0.0.249 2025-12-29 18:00:09,617 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-29 18:00:09,933 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-29 18:00:10,024 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181?flat'} 2025-12-29 18:00:10,025 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181 is found in opserver 2025-12-29 18:00:10,053 - DEBUG - Do not have enough data to verify VN in agent 2025-12-29 18:00:10,060 - DEBUG - VRF ids for VN ctest-vn-91088181: {} 2025-12-29 18:00:10,060 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-29 18:00:10,070 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5fc4913f-adee-47da-8761-b87344d72d1f 2025-12-29 18:00:10,091 - DEBUG - Requesting: http://10.0.0.249:8082/project/aadd13a6-e4b6-4a1a-b07e-1d46d2622833 2025-12-29 18:00:10,169 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/65b873bc-91d9-4e9b-8576-e6e672f65b9e 2025-12-29 18:00:10,183 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/65b873bc-91d9-4e9b-8576-e6e672f65b9e 2025-12-29 18:00:10,197 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e 2025-12-29 18:00:10,205 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e 2025-12-29 18:00:10,215 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/5fe96755-7be5-4018-8b21-4ea635709610 2025-12-29 18:00:10,224 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-29 18:00:10,224 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/65b873bc-91d9-4e9b-8576-e6e672f65b9e 2025-12-29 18:00:10,239 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e 2025-12-29 18:00:10,259 - INFO - Verified VN network id 13 for VN 65b873bc-91d9-4e9b-8576-e6e672f65b9e 2025-12-29 18:00:10,259 - INFO - Verifications in API Server for VN ctest-vn-57620132 passed 2025-12-29 18:00:10,259 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/65b873bc-91d9-4e9b-8576-e6e672f65b9e 2025-12-29 18:00:10,277 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e 2025-12-29 18:00:10,287 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e 2025-12-29 18:00:10,299 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/5fe96755-7be5-4018-8b21-4ea635709610 2025-12-29 18:00:10,316 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-57620132', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44131828', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7329735647283465883', 'uuid-lslong': '9617127931741887390'}, 'enable': 'true', 'created': '2025-12-29T18:00:07', 'last-modified': '2025-12-29T18:00:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.749198'} 2025-12-29 18:00:10,333 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-29 18:00:10,333 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57620132 passed 2025-12-29 18:00:10,333 - DEBUG - ====Verifying policy data for ctest-vn-57620132 in API_Server ====== 2025-12-29 18:00:10,333 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-29 18:00:10,341 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5fc4913f-adee-47da-8761-b87344d72d1f 2025-12-29 18:00:10,358 - DEBUG - Requesting: http://10.0.0.249:8082/project/aadd13a6-e4b6-4a1a-b07e-1d46d2622833 2025-12-29 18:00:10,445 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/65b873bc-91d9-4e9b-8576-e6e672f65b9e 2025-12-29 18:00:10,458 - DEBUG - ==>Verifying data for policy with id: d7c0ec35-17d2-40ea-9509-09907cc2e0d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-44131828', 'ctest-policy-allow-all-98634529'] 2025-12-29 18:00:10,458 - INFO - VN ctest-vn-57620132 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-29 18:00:10,458 - DEBUG - Verifying the vn in opserver 2025-12-29 18:00:10,458 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-57620132 virtual network link through opserver 10.0.0.249 2025-12-29 18:00:10,458 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-12-29 18:00:10,471 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-57620132', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-57620132?flat'} 2025-12-29 18:00:10,471 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-57620132 is found in opserver 2025-12-29 18:00:10,485 - DEBUG - Do not have enough data to verify VN in agent 2025-12-29 18:00:10,491 - DEBUG - VRF ids for VN ctest-vn-57620132: {} 2025-12-29 18:00:10,561 - DEBUG - Services list from nova: [, , ] 2025-12-29 18:00:11,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4938-1) 2025-12-29 18:00:13,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4938-1) 2025-12-29 18:00:13,259 - INFO - Waiting for VM ctest-TestBasicPolicy-44131828-72999339 to be up.. 2025-12-29 18:00:13,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 18:00:18,507 - DEBUG - VM is in ACTIVE state now 2025-12-29 18:00:18,507 - INFO - VM name : ctest-TestBasicPolicy-44131828-72999339 2025-12-29 18:00:18,626 - DEBUG - VM ctest-TestBasicPolicy-44131828-72999339 ID is dc4df5b3-7fba-4735-a83b-3776a27f261c 2025-12-29 18:00:18,651 - DEBUG - VM ctest-TestBasicPolicy-44131828-72999339 launched on Node cn-jenkins-deploy-platform-ansible-os-4938-1 2025-12-29 18:00:18,769 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/dc4df5b3-7fba-4735-a83b-3776a27f261c 2025-12-29 18:00:18,783 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d7c1ef56-6ae6-42ad-9293-785e61fac418 2025-12-29 18:00:22,087 - 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-12-29 18:00:22,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44131828-72999339 failed! 2025-12-29 18:00:22,146 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44131828:ctest-vn-91088181 is 44.91.191.65 and allocation pool is NOT set 2025-12-29 18:00:24,221 - 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=15.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.933 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.933/8.026/15.119/7.093 ms') 2025-12-29 18:00:24,221 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44131828-72999339 passed 2025-12-29 18:00:24,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 18:00:24,383 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44131828-72999339, IP 44.91.191.67, Port 22 2025-12-29 18:00:24,452 - 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-12-29 18:00:24,556 - DEBUG - VM ctest-TestBasicPolicy-44131828-72999339 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-29 18:00:29,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 18:00:29,557 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44131828-72999339, IP 44.91.191.67, Port 22 2025-12-29 18:00:29,753 - DEBUG - VM ctest-TestBasicPolicy-44131828-72999339 is ready for SSH connections 2025-12-29 18:00:29,753 - INFO - Waiting for VM ctest-TestBasicPolicy-44131828-38423831 to be up.. 2025-12-29 18:00:29,920 - DEBUG - VM is in ACTIVE state now 2025-12-29 18:00:29,920 - INFO - VM name : ctest-TestBasicPolicy-44131828-38423831 2025-12-29 18:00:30,039 - DEBUG - VM ctest-TestBasicPolicy-44131828-38423831 ID is 0815010f-51df-4215-b638-1192daef7306 2025-12-29 18:00:30,039 - DEBUG - VM ctest-TestBasicPolicy-44131828-38423831 launched on Node cn-jenkins-deploy-platform-ansible-os-4938-1 2025-12-29 18:00:30,156 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0815010f-51df-4215-b638-1192daef7306 2025-12-29 18:00:30,171 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1170bd32-72ac-4816-b607-c3eba318b78f 2025-12-29 18:00:31,432 - 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=10.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/5.566/10.664/5.098 ms') 2025-12-29 18:00:31,432 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44131828-38423831 passed 2025-12-29 18:00:31,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 18:00:31,603 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44131828-38423831, IP 115.245.144.131, Port 22 2025-12-29 18:00:31,789 - DEBUG - VM ctest-TestBasicPolicy-44131828-38423831 is ready for SSH connections 2025-12-29 18:00:31,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 18:00:31,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.245.144.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-29 18:00:31,789 - DEBUG - ping -s 56 -c 3 -W 1 115.245.144.131 2025-12-29 18:00:36,176 - DEBUG - PING 115.245.144.131 (115.245.144.131): 56 data bytes 64 bytes from 115.245.144.131: seq=0 ttl=63 time=3.622 ms 64 bytes from 115.245.144.131: seq=1 ttl=63 time=1.034 ms 64 bytes from 115.245.144.131: seq=2 ttl=63 time=1.645 ms --- 115.245.144.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.034/2.100/3.622 ms 2025-12-29 18:00:36,177 - INFO - Ping to IP 115.245.144.131 from VM ctest-TestBasicPolicy-44131828-72999339 passed 2025-12-29 18:00:36,418 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d7c0ec35-17d2-40ea-9509-09907cc2e0d4", "href": "http://10.0.0.249:8082/network-policy/d7c0ec35-17d2-40ea-9509-09907cc2e0d4"}} 2025-12-29 18:00:36,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 18:00:36,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.245.144.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-29 18:00:36,419 - DEBUG - ping -s 56 -c 3 -W 1 115.245.144.131 2025-12-29 18:00:39,663 - DEBUG - PING 115.245.144.131 (115.245.144.131): 56 data bytes --- 115.245.144.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-29 18:00:39,663 - WARNING - Ping to IP 115.245.144.131 from VM ctest-TestBasicPolicy-44131828-72999339 failed 2025-12-29 18:00:39,663 - INFO - Deleting VM ctest-TestBasicPolicy-44131828-38423831 2025-12-29 18:00:39,803 - INFO - Deleting VM ctest-TestBasicPolicy-44131828-72999339 2025-12-29 18:00:40,239 - INFO - Deleted policy ctest-policy-allow-all-98634529 2025-12-29 18:00:40,239 - INFO - Deleting VN ctest-vn-57620132 2025-12-29 18:00:40,279 - DEBUG - VN 65b873bc-91d9-4e9b-8576-e6e672f65b9e still in use: Unable to complete operation on network 65b873bc-91d9-4e9b-8576-e6e672f65b9e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eac28779-42b5-495f-86a8-de25332d819d'] 2025-12-29 18:00:40,279 - WARNING - Deleting VN ctest-vn-57620132 failed..Will retry 2025-12-29 18:00:42,464 - DEBUG - Response for deleting network () 2025-12-29 18:00:42,464 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dae9c3b5-9434-4688-8745-9126555b927e 2025-12-29 18:00:42,476 - DEBUG - Response Code: 404 2025-12-29 18:00:42,476 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-29 18:00:42,482 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5fc4913f-adee-47da-8761-b87344d72d1f 2025-12-29 18:00:42,536 - DEBUG - Requesting: http://10.0.0.249:8082/project/aadd13a6-e4b6-4a1a-b07e-1d46d2622833 2025-12-29 18:00:42,611 - INFO - Validated that VN ctest-vn-57620132 is not found in API Server 2025-12-29 18:00:42,622 - DEBUG - VN ctest-vn-57620132 is not present in Agent 10.0.0.249 2025-12-29 18:00:42,622 - INFO - Validated that VN ctest-vn-57620132 is not in any agent 2025-12-29 18:00:42,640 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57620132 info 2025-12-29 18:00:42,641 - INFO - Deleting VN ctest-vn-91088181 2025-12-29 18:00:42,767 - DEBUG - Response for deleting network () 2025-12-29 18:00:42,768 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ce7c9746-aff0-4af5-abc8-56661966c3c9 2025-12-29 18:00:42,779 - DEBUG - Response Code: 404 2025-12-29 18:00:42,779 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-12-29 18:00:42,785 - DEBUG - Requesting: http://10.0.0.249:8082/domain/5fc4913f-adee-47da-8761-b87344d72d1f 2025-12-29 18:00:42,843 - DEBUG - Requesting: http://10.0.0.249:8082/project/aadd13a6-e4b6-4a1a-b07e-1d46d2622833 2025-12-29 18:00:42,923 - INFO - Validated that VN ctest-vn-91088181 is not found in API Server 2025-12-29 18:00:42,936 - DEBUG - VN ctest-vn-91088181 is not present in Agent 10.0.0.249 2025-12-29 18:00:42,936 - INFO - Validated that VN ctest-vn-91088181 is not in any agent 2025-12-29 18:00:42,956 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91088181 info 2025-12-29 18:00:43,232 - DEBUG - No XMPP flaps were noticed during the test 2025-12-29 18:00:43,232 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2025-12-29 18:00:43,233 - INFO - -------------------------------------------------------------------------------- 2025-12-29 18:00:44,074 - INFO - Deleted project: ctest-TestBasicPolicy-44131828, ID : aadd13a6-e4b6-4a1a-b07e-1d46d2622833