2025-06-19 08:07:43,944 - INFO - Domain Default found not creating 2025-06-19 08:07:44,131 - INFO - Project ctest-TestBasicPolicy-82510016 not found, creating it 2025-06-19 08:07:44,651 - INFO - Created Project:ctest-TestBasicPolicy-82510016, ID : e670df69-3177-41f6-97e9-29f26c1e9e2e 2025-06-19 08:07:46,239 - INFO - ================================================================================ 2025-06-19 08:07:46,239 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 08:07:46,239 - 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-06-19 08:07:46,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-19 08:07:46,495 - INFO - Initial checks done. Running the testcase now 2025-06-19 08:07:46,495 - INFO - 2025-06-19 08:07:47,057 - DEBUG - Response for create_network : {'network': {'id': '8a77f8a8-b2c4-4d83-acc7-a082aabeea08', 'name': 'ctest-vn-66518827', 'tenant_id': 'e670df69317741f697e929f26c1e9e2e', 'project_id': 'e670df69317741f697e929f26c1e9e2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82510016', 'ctest-vn-66518827'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:07:47,265 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3d7f70f-30e5-46de-8ea0-a6296ce5b8f9', 'name': '', 'tenant_id': 'e670df69317741f697e929f26c1e9e2e', 'network_id': '8a77f8a8-b2c4-4d83-acc7-a082aabeea08', 'ip_version': 4, 'cidr': '185.171.198.0/26', 'allocation_pools': [{'start': '185.171.198.2', 'end': '185.171.198.62'}], 'gateway_ip': '185.171.198.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.171.198.2', 'tags': [], 'project_id': 'e670df69317741f697e929f26c1e9e2e'}} 2025-06-19 08:07:47,286 - INFO - Created VN ctest-vn-66518827 2025-06-19 08:07:47,341 - DEBUG - VN ctest-vn-66518827 UUID is 8a77f8a8-b2c4-4d83-acc7-a082aabeea08 2025-06-19 08:07:47,654 - DEBUG - Response for create_network : {'network': {'id': 'cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1', 'name': 'ctest-vn-16876079', 'tenant_id': 'e670df69317741f697e929f26c1e9e2e', 'project_id': 'e670df69317741f697e929f26c1e9e2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82510016', 'ctest-vn-16876079'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:07:47,885 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b58dfaf5-97c9-4d82-bb1a-80b1feede975', 'name': '', 'tenant_id': 'e670df69317741f697e929f26c1e9e2e', 'network_id': 'cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1', 'ip_version': 4, 'cidr': '91.241.9.192/26', 'allocation_pools': [{'start': '91.241.9.194', 'end': '91.241.9.254'}], 'gateway_ip': '91.241.9.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.241.9.194', 'tags': [], 'project_id': 'e670df69317741f697e929f26c1e9e2e'}} 2025-06-19 08:07:47,904 - INFO - Created VN ctest-vn-16876079 2025-06-19 08:07:47,957 - DEBUG - VN ctest-vn-16876079 UUID is cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1 2025-06-19 08:07:48,171 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-66518827, 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-82510016:ctest-vn-16876079, 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-06-19 08:07:48,469 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8a77f8a8-b2c4-4d83-acc7-a082aabeea08', 'name': 'ctest-vn-66518827', 'tenant_id': 'e670df69317741f697e929f26c1e9e2e', 'project_id': 'e670df69317741f697e929f26c1e9e2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3d7f70f-30e5-46de-8ea0-a6296ce5b8f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82510016', 'ctest-vn-66518827'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82510016', 'ctest-policy-allow-all-37964382']], 'subnet_ipam': [{'subnet_cidr': '185.171.198.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:07:48,711 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1', 'name': 'ctest-vn-16876079', 'tenant_id': 'e670df69317741f697e929f26c1e9e2e', 'project_id': 'e670df69317741f697e929f26c1e9e2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b58dfaf5-97c9-4d82-bb1a-80b1feede975'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82510016', 'ctest-vn-16876079'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82510016', 'ctest-policy-allow-all-37964382']], 'subnet_ipam': [{'subnet_cidr': '91.241.9.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:07:48,873 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 08:07:49,170 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 08:07:49,201 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e1eeee35-3771-4958-ac78-d0d56dd04459 2025-06-19 08:07:49,218 - DEBUG - Requesting: http://10.0.0.65:8082/project/e670df69-3177-41f6-97e9-29f26c1e9e2e 2025-06-19 08:07:49,296 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8a77f8a8-b2c4-4d83-acc7-a082aabeea08 2025-06-19 08:07:49,309 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8a77f8a8-b2c4-4d83-acc7-a082aabeea08 2025-06-19 08:07:49,323 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bf38deb-1cfa-48e5-9459-e805200d7ca1 2025-06-19 08:07:49,331 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bf38deb-1cfa-48e5-9459-e805200d7ca1 2025-06-19 08:07:49,339 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/21566ea2-c153-414e-b726-71bda0835bc5 2025-06-19 08:07:49,347 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 08:07:49,347 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8a77f8a8-b2c4-4d83-acc7-a082aabeea08 2025-06-19 08:07:49,358 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bf38deb-1cfa-48e5-9459-e805200d7ca1 2025-06-19 08:07:49,377 - INFO - Verified VN network id 8 for VN 8a77f8a8-b2c4-4d83-acc7-a082aabeea08 2025-06-19 08:07:49,377 - INFO - Verifications in API Server for VN ctest-vn-66518827 passed 2025-06-19 08:07:49,377 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8a77f8a8-b2c4-4d83-acc7-a082aabeea08 2025-06-19 08:07:49,389 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bf38deb-1cfa-48e5-9459-e805200d7ca1 2025-06-19 08:07:49,397 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bf38deb-1cfa-48e5-9459-e805200d7ca1 2025-06-19 08:07:49,406 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/21566ea2-c153-414e-b726-71bda0835bc5 2025-06-19 08:07:49,422 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-66518827', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82510016', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9977716902900026755', 'uuid-lslong': '12450096177959856648'}, 'enable': 'true', 'created': '2025-06-19T08:07:47', 'last-modified': '2025-06-19T08:07:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985181'} 2025-06-19 08:07:49,430 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 08:07:49,430 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66518827 passed 2025-06-19 08:07:49,430 - DEBUG - ====Verifying policy data for ctest-vn-66518827 in API_Server ====== 2025-06-19 08:07:49,431 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 08:07:49,438 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e1eeee35-3771-4958-ac78-d0d56dd04459 2025-06-19 08:07:49,452 - DEBUG - Requesting: http://10.0.0.65:8082/project/e670df69-3177-41f6-97e9-29f26c1e9e2e 2025-06-19 08:07:49,543 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/8a77f8a8-b2c4-4d83-acc7-a082aabeea08 2025-06-19 08:07:49,555 - DEBUG - ==>Verifying data for policy with id: f141ac53-e26c-4505-aea8-515d8d94427f, fqn: ['default-domain', 'ctest-TestBasicPolicy-82510016', 'ctest-policy-allow-all-37964382'] 2025-06-19 08:07:49,555 - INFO - VN ctest-vn-66518827 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 08:07:49,555 - DEBUG - Verifying the vn in opserver 2025-06-19 08:07:49,555 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-66518827 virtual network link through opserver 10.0.0.65 2025-06-19 08:07:49,556 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-19 08:07:49,845 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-19 08:07:49,908 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-66518827', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-66518827?flat'} 2025-06-19 08:07:49,908 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-66518827 is found in opserver 2025-06-19 08:07:49,919 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 08:07:49,924 - DEBUG - VRF ids for VN ctest-vn-66518827: {} 2025-06-19 08:07:49,925 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 08:07:49,931 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e1eeee35-3771-4958-ac78-d0d56dd04459 2025-06-19 08:07:49,944 - DEBUG - Requesting: http://10.0.0.65:8082/project/e670df69-3177-41f6-97e9-29f26c1e9e2e 2025-06-19 08:07:50,024 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1 2025-06-19 08:07:50,038 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1 2025-06-19 08:07:50,053 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5992e105-aff6-4672-91e7-64581afd07d3 2025-06-19 08:07:50,062 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5992e105-aff6-4672-91e7-64581afd07d3 2025-06-19 08:07:50,070 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/88c67165-e22a-40a1-8d44-6a3e6f7af24b 2025-06-19 08:07:50,078 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 08:07:50,078 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1 2025-06-19 08:07:50,089 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5992e105-aff6-4672-91e7-64581afd07d3 2025-06-19 08:07:50,106 - INFO - Verified VN network id 9 for VN cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1 2025-06-19 08:07:50,106 - INFO - Verifications in API Server for VN ctest-vn-16876079 passed 2025-06-19 08:07:50,106 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1 2025-06-19 08:07:50,117 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5992e105-aff6-4672-91e7-64581afd07d3 2025-06-19 08:07:50,126 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5992e105-aff6-4672-91e7-64581afd07d3 2025-06-19 08:07:50,134 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/88c67165-e22a-40a1-8d44-6a3e6f7af24b 2025-06-19 08:07:50,149 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-16876079', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82510016', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14678859843027289508', 'uuid-lslong': '13173341993693958129'}, 'enable': 'true', 'created': '2025-06-19T08:07:47', 'last-modified': '2025-06-19T08:07:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.461301'} 2025-06-19 08:07:50,157 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 08:07:50,157 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16876079 passed 2025-06-19 08:07:50,157 - DEBUG - ====Verifying policy data for ctest-vn-16876079 in API_Server ====== 2025-06-19 08:07:50,157 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 08:07:50,163 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e1eeee35-3771-4958-ac78-d0d56dd04459 2025-06-19 08:07:50,176 - DEBUG - Requesting: http://10.0.0.65:8082/project/e670df69-3177-41f6-97e9-29f26c1e9e2e 2025-06-19 08:07:50,253 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1 2025-06-19 08:07:50,266 - DEBUG - ==>Verifying data for policy with id: f141ac53-e26c-4505-aea8-515d8d94427f, fqn: ['default-domain', 'ctest-TestBasicPolicy-82510016', 'ctest-policy-allow-all-37964382'] 2025-06-19 08:07:50,266 - INFO - VN ctest-vn-16876079 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 08:07:50,266 - DEBUG - Verifying the vn in opserver 2025-06-19 08:07:50,267 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-16876079 virtual network link through opserver 10.0.0.65 2025-06-19 08:07:50,267 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-19 08:07:50,278 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-16876079', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-16876079?flat'} 2025-06-19 08:07:50,278 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-16876079 is found in opserver 2025-06-19 08:07:50,290 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 08:07:50,296 - DEBUG - VRF ids for VN ctest-vn-16876079: {} 2025-06-19 08:07:50,359 - DEBUG - Services list from nova: [, , ] 2025-06-19 08:07:51,432 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3484-1) 2025-06-19 08:07:52,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3484-1) 2025-06-19 08:07:52,714 - INFO - Waiting for VM ctest-TestBasicPolicy-82510016-39391537 to be up.. 2025-06-19 08:07:52,812 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 08:07:57,910 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:07:57,910 - INFO - VM name : ctest-TestBasicPolicy-82510016-39391537 2025-06-19 08:07:58,009 - DEBUG - VM ctest-TestBasicPolicy-82510016-39391537 ID is bbf2fcdd-abbd-4613-81ed-6e41753b24df 2025-06-19 08:07:58,034 - DEBUG - VM ctest-TestBasicPolicy-82510016-39391537 launched on Node cn-jenkins-deploy-platform-ansible-os-3484-1 2025-06-19 08:07:58,121 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/bbf2fcdd-abbd-4613-81ed-6e41753b24df 2025-06-19 08:07:58,130 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/aaa2b483-6007-41d1-a9e5-c31fe2bdfa06 2025-06-19 08:08:01,416 - 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 1029ms') 2025-06-19 08:08:01,416 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82510016-39391537 failed! 2025-06-19 08:08:01,473 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82510016:ctest-vn-66518827 is 185.171.198.1 and allocation pool is NOT set 2025-06-19 08:08:03,537 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.85 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.850/6.176/10.503/4.326 ms') 2025-06-19 08:08:03,538 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82510016-39391537 passed 2025-06-19 08:08:03,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:08:03,697 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82510016-39391537, IP 185.171.198.3, Port 22 2025-06-19 08:08:03,763 - 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-06-19 08:08:03,857 - DEBUG - VM ctest-TestBasicPolicy-82510016-39391537 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-19 08:08:08,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:08:08,858 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82510016-39391537, IP 185.171.198.3, Port 22 2025-06-19 08:08:09,034 - DEBUG - VM ctest-TestBasicPolicy-82510016-39391537 is ready for SSH connections 2025-06-19 08:08:09,034 - INFO - Waiting for VM ctest-TestBasicPolicy-82510016-40081537 to be up.. 2025-06-19 08:08:09,152 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:08:09,152 - INFO - VM name : ctest-TestBasicPolicy-82510016-40081537 2025-06-19 08:08:09,232 - DEBUG - VM ctest-TestBasicPolicy-82510016-40081537 ID is c744aa4e-df5b-47e8-b4ea-4677fbf28817 2025-06-19 08:08:09,232 - DEBUG - VM ctest-TestBasicPolicy-82510016-40081537 launched on Node cn-jenkins-deploy-platform-ansible-os-3484-1 2025-06-19 08:08:09,315 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c744aa4e-df5b-47e8-b4ea-4677fbf28817 2025-06-19 08:08:09,326 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/18dd81e0-3125-4244-8a84-3437703d917c 2025-06-19 08:08:10,582 - 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=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.690/2.987/1.297 ms') 2025-06-19 08:08:10,583 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82510016-40081537 passed 2025-06-19 08:08:10,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:08:10,741 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82510016-40081537, IP 91.241.9.195, Port 22 2025-06-19 08:08:10,896 - DEBUG - VM ctest-TestBasicPolicy-82510016-40081537 is ready for SSH connections 2025-06-19 08:08:10,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:08:10,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.241.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-19 08:08:10,897 - DEBUG - ping -s 56 -c 3 -W 1 91.241.9.195 2025-06-19 08:08:15,010 - DEBUG - PING 91.241.9.195 (91.241.9.195): 56 data bytes 64 bytes from 91.241.9.195: seq=0 ttl=63 time=4.319 ms 64 bytes from 91.241.9.195: seq=1 ttl=63 time=1.059 ms 64 bytes from 91.241.9.195: seq=2 ttl=63 time=1.017 ms --- 91.241.9.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.017/2.131/4.319 ms 2025-06-19 08:08:15,010 - INFO - Ping to IP 91.241.9.195 from VM ctest-TestBasicPolicy-82510016-39391537 passed 2025-06-19 08:08:15,220 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f141ac53-e26c-4505-aea8-515d8d94427f", "href": "http://10.0.0.65:8082/network-policy/f141ac53-e26c-4505-aea8-515d8d94427f"}} 2025-06-19 08:08:15,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:08:15,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.241.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-19 08:08:15,221 - DEBUG - ping -s 56 -c 3 -W 1 91.241.9.195 2025-06-19 08:08:18,432 - DEBUG - PING 91.241.9.195 (91.241.9.195): 56 data bytes 64 bytes from 91.241.9.195: seq=0 ttl=63 time=1.480 ms --- 91.241.9.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.480/1.480/1.480 ms 2025-06-19 08:08:18,432 - WARNING - Ping to IP 91.241.9.195 from VM ctest-TestBasicPolicy-82510016-39391537 failed 2025-06-19 08:08:18,432 - INFO - Deleting VM ctest-TestBasicPolicy-82510016-40081537 2025-06-19 08:08:18,503 - INFO - Deleting VM ctest-TestBasicPolicy-82510016-39391537 2025-06-19 08:08:18,961 - INFO - Deleted policy ctest-policy-allow-all-37964382 2025-06-19 08:08:18,961 - INFO - Deleting VN ctest-vn-16876079 2025-06-19 08:08:19,005 - DEBUG - VN cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1 still in use: Unable to complete operation on network cbb5c941-5b63-45a4-b6d1-1cbf76dd4ff1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b1b22565-2552-448e-893c-9baa10914d16'] 2025-06-19 08:08:19,006 - WARNING - Deleting VN ctest-vn-16876079 failed..Will retry 2025-06-19 08:08:21,120 - DEBUG - Response for deleting network () 2025-06-19 08:08:21,121 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/5992e105-aff6-4672-91e7-64581afd07d3 2025-06-19 08:08:21,127 - DEBUG - Response Code: 404 2025-06-19 08:08:21,127 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 08:08:21,135 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e1eeee35-3771-4958-ac78-d0d56dd04459 2025-06-19 08:08:21,191 - DEBUG - Requesting: http://10.0.0.65:8082/project/e670df69-3177-41f6-97e9-29f26c1e9e2e 2025-06-19 08:08:21,266 - INFO - Validated that VN ctest-vn-16876079 is not found in API Server 2025-06-19 08:08:21,277 - DEBUG - VN ctest-vn-16876079 is not present in Agent 10.0.0.65 2025-06-19 08:08:21,277 - INFO - Validated that VN ctest-vn-16876079 is not in any agent 2025-06-19 08:08:21,293 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16876079 info 2025-06-19 08:08:21,293 - INFO - Deleting VN ctest-vn-66518827 2025-06-19 08:08:21,415 - DEBUG - Response for deleting network () 2025-06-19 08:08:21,415 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/8bf38deb-1cfa-48e5-9459-e805200d7ca1 2025-06-19 08:08:21,421 - DEBUG - Response Code: 404 2025-06-19 08:08:21,422 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 08:08:21,437 - DEBUG - Requesting: http://10.0.0.65:8082/domain/e1eeee35-3771-4958-ac78-d0d56dd04459 2025-06-19 08:08:21,496 - DEBUG - Requesting: http://10.0.0.65:8082/project/e670df69-3177-41f6-97e9-29f26c1e9e2e 2025-06-19 08:08:21,574 - INFO - Validated that VN ctest-vn-66518827 is not found in API Server 2025-06-19 08:08:21,586 - DEBUG - VN ctest-vn-66518827 is not present in Agent 10.0.0.65 2025-06-19 08:08:21,586 - INFO - Validated that VN ctest-vn-66518827 is not in any agent 2025-06-19 08:08:21,602 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66518827 info 2025-06-19 08:08:21,859 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 08:08:21,859 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-06-19 08:08:21,859 - INFO - -------------------------------------------------------------------------------- 2025-06-19 08:08:22,548 - INFO - Deleted project: ctest-TestBasicPolicy-82510016, ID : e670df69-3177-41f6-97e9-29f26c1e9e2e