2025-06-02 08:43:48,703 - INFO - Domain Default found not creating 2025-06-02 08:43:48,870 - INFO - Project ctest-TestBasicPolicy-15093908 not found, creating it 2025-06-02 08:43:49,336 - INFO - Created Project:ctest-TestBasicPolicy-15093908, ID : 6275cb7d-4efa-4f9f-8218-0240f5a2da17 2025-06-02 08:43:50,973 - INFO - ================================================================================ 2025-06-02 08:43:50,973 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-02 08:43:50,973 - 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-02 08:43:51,234 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-06-02 08:43:51,234 - INFO - Initial checks done. Running the testcase now 2025-06-02 08:43:51,235 - INFO - 2025-06-02 08:43:51,828 - DEBUG - Response for create_network : {'network': {'id': '648a9e80-f677-4e7a-8189-9a847e52908d', 'name': 'ctest-vn-69202815', 'tenant_id': '6275cb7d4efa4f9f82180240f5a2da17', 'project_id': '6275cb7d4efa4f9f82180240f5a2da17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15093908', 'ctest-vn-69202815'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 08:43:52,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6cabfaa-3163-4f60-8686-6609aac95d28', 'name': '', 'tenant_id': '6275cb7d4efa4f9f82180240f5a2da17', 'network_id': '648a9e80-f677-4e7a-8189-9a847e52908d', 'ip_version': 4, 'cidr': '25.72.179.64/26', 'allocation_pools': [{'start': '25.72.179.66', 'end': '25.72.179.126'}], 'gateway_ip': '25.72.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.72.179.66', 'tags': [], 'project_id': '6275cb7d4efa4f9f82180240f5a2da17'}} 2025-06-02 08:43:52,081 - INFO - Created VN ctest-vn-69202815 2025-06-02 08:43:52,136 - DEBUG - VN ctest-vn-69202815 UUID is 648a9e80-f677-4e7a-8189-9a847e52908d 2025-06-02 08:43:52,473 - DEBUG - Response for create_network : {'network': {'id': 'cf07778a-337e-46d2-a771-800885562b6c', 'name': 'ctest-vn-52914246', 'tenant_id': '6275cb7d4efa4f9f82180240f5a2da17', 'project_id': '6275cb7d4efa4f9f82180240f5a2da17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15093908', 'ctest-vn-52914246'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 08:43:52,682 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecaff607-8295-4315-9e19-72ef0803df3a', 'name': '', 'tenant_id': '6275cb7d4efa4f9f82180240f5a2da17', 'network_id': 'cf07778a-337e-46d2-a771-800885562b6c', 'ip_version': 4, 'cidr': '169.110.113.192/26', 'allocation_pools': [{'start': '169.110.113.194', 'end': '169.110.113.254'}], 'gateway_ip': '169.110.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.110.113.194', 'tags': [], 'project_id': '6275cb7d4efa4f9f82180240f5a2da17'}} 2025-06-02 08:43:52,704 - INFO - Created VN ctest-vn-52914246 2025-06-02 08:43:52,763 - DEBUG - VN ctest-vn-52914246 UUID is cf07778a-337e-46d2-a771-800885562b6c 2025-06-02 08:43:52,882 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-69202815, 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-15093908:ctest-vn-52914246, 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-02 08:43:53,215 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '648a9e80-f677-4e7a-8189-9a847e52908d', 'name': 'ctest-vn-69202815', 'tenant_id': '6275cb7d4efa4f9f82180240f5a2da17', 'project_id': '6275cb7d4efa4f9f82180240f5a2da17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e6cabfaa-3163-4f60-8686-6609aac95d28'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15093908', 'ctest-vn-69202815'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15093908', 'ctest-policy-allow-all-28659738']], 'subnet_ipam': [{'subnet_cidr': '25.72.179.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-02 08:43:53,475 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf07778a-337e-46d2-a771-800885562b6c', 'name': 'ctest-vn-52914246', 'tenant_id': '6275cb7d4efa4f9f82180240f5a2da17', 'project_id': '6275cb7d4efa4f9f82180240f5a2da17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ecaff607-8295-4315-9e19-72ef0803df3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15093908', 'ctest-vn-52914246'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15093908', 'ctest-policy-allow-all-28659738']], 'subnet_ipam': [{'subnet_cidr': '169.110.113.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-02 08:43:53,639 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-02 08:43:54,014 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-02 08:43:54,066 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2e521c81-119f-4738-8fbf-62e5716c5a53 2025-06-02 08:43:54,146 - DEBUG - Requesting: http://10.0.0.49:8082/project/6275cb7d-4efa-4f9f-8218-0240f5a2da17 2025-06-02 08:43:54,276 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/648a9e80-f677-4e7a-8189-9a847e52908d 2025-06-02 08:43:54,295 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/648a9e80-f677-4e7a-8189-9a847e52908d 2025-06-02 08:43:54,312 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8872b58e-f484-482d-a840-a686cf58a93e 2025-06-02 08:43:54,329 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8872b58e-f484-482d-a840-a686cf58a93e 2025-06-02 08:43:54,347 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/fc315eb5-f191-4bbe-a74f-d5421babeee1 2025-06-02 08:43:54,361 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-02 08:43:54,361 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/648a9e80-f677-4e7a-8189-9a847e52908d 2025-06-02 08:43:54,376 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8872b58e-f484-482d-a840-a686cf58a93e 2025-06-02 08:43:54,415 - INFO - Verified VN network id 9 for VN 648a9e80-f677-4e7a-8189-9a847e52908d 2025-06-02 08:43:54,415 - INFO - Verifications in API Server for VN ctest-vn-69202815 passed 2025-06-02 08:43:54,415 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/648a9e80-f677-4e7a-8189-9a847e52908d 2025-06-02 08:43:54,436 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8872b58e-f484-482d-a840-a686cf58a93e 2025-06-02 08:43:54,445 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8872b58e-f484-482d-a840-a686cf58a93e 2025-06-02 08:43:54,461 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/fc315eb5-f191-4bbe-a74f-d5421babeee1 2025-06-02 08:43:54,480 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-69202815', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15093908', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7244777227306880634', 'uuid-lslong': '9334161596547764365'}, 'enable': 'true', 'created': '2025-06-02T08:43:51', 'last-modified': '2025-06-02T08:43:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.291904'} 2025-06-02 08:43:54,488 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-02 08:43:54,488 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69202815 passed 2025-06-02 08:43:54,489 - DEBUG - ====Verifying policy data for ctest-vn-69202815 in API_Server ====== 2025-06-02 08:43:54,489 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-02 08:43:54,498 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2e521c81-119f-4738-8fbf-62e5716c5a53 2025-06-02 08:43:54,524 - DEBUG - Requesting: http://10.0.0.49:8082/project/6275cb7d-4efa-4f9f-8218-0240f5a2da17 2025-06-02 08:43:54,600 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/648a9e80-f677-4e7a-8189-9a847e52908d 2025-06-02 08:43:54,613 - DEBUG - ==>Verifying data for policy with id: 730f9722-e893-45a5-ab9b-a9772fbd3220, fqn: ['default-domain', 'ctest-TestBasicPolicy-15093908', 'ctest-policy-allow-all-28659738'] 2025-06-02 08:43:54,613 - INFO - VN ctest-vn-69202815 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-02 08:43:54,613 - DEBUG - Verifying the vn in opserver 2025-06-02 08:43:54,613 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-69202815 virtual network link through opserver 10.0.0.49 2025-06-02 08:43:54,613 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-02 08:43:54,952 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-02 08:43:55,014 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-69202815', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-69202815?flat'} 2025-06-02 08:43:55,014 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-69202815 is found in opserver 2025-06-02 08:43:55,026 - DEBUG - Do not have enough data to verify VN in agent 2025-06-02 08:43:55,032 - DEBUG - VRF ids for VN ctest-vn-69202815: {} 2025-06-02 08:43:55,032 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-02 08:43:55,039 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2e521c81-119f-4738-8fbf-62e5716c5a53 2025-06-02 08:43:55,052 - DEBUG - Requesting: http://10.0.0.49:8082/project/6275cb7d-4efa-4f9f-8218-0240f5a2da17 2025-06-02 08:43:55,132 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/cf07778a-337e-46d2-a771-800885562b6c 2025-06-02 08:43:55,146 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/cf07778a-337e-46d2-a771-800885562b6c 2025-06-02 08:43:55,157 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eafcb2f2-9ea4-4ea0-8bd4-259b925c76f6 2025-06-02 08:43:55,166 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eafcb2f2-9ea4-4ea0-8bd4-259b925c76f6 2025-06-02 08:43:55,174 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e262a1a5-6650-4121-ad0b-cf4bdf5784c6 2025-06-02 08:43:55,182 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-02 08:43:55,182 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/cf07778a-337e-46d2-a771-800885562b6c 2025-06-02 08:43:55,193 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eafcb2f2-9ea4-4ea0-8bd4-259b925c76f6 2025-06-02 08:43:55,209 - INFO - Verified VN network id 10 for VN cf07778a-337e-46d2-a771-800885562b6c 2025-06-02 08:43:55,209 - INFO - Verifications in API Server for VN ctest-vn-52914246 passed 2025-06-02 08:43:55,209 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/cf07778a-337e-46d2-a771-800885562b6c 2025-06-02 08:43:55,219 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eafcb2f2-9ea4-4ea0-8bd4-259b925c76f6 2025-06-02 08:43:55,227 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eafcb2f2-9ea4-4ea0-8bd4-259b925c76f6 2025-06-02 08:43:55,234 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e262a1a5-6650-4121-ad0b-cf4bdf5784c6 2025-06-02 08:43:55,247 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-52914246', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15093908', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14918023726141163218', 'uuid-lslong': '12065565650787380076'}, 'enable': 'true', 'created': '2025-06-02T08:43:52', 'last-modified': '2025-06-02T08:43:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.797940'} 2025-06-02 08:43:55,254 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-02 08:43:55,254 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52914246 passed 2025-06-02 08:43:55,254 - DEBUG - ====Verifying policy data for ctest-vn-52914246 in API_Server ====== 2025-06-02 08:43:55,254 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-02 08:43:55,260 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2e521c81-119f-4738-8fbf-62e5716c5a53 2025-06-02 08:43:55,272 - DEBUG - Requesting: http://10.0.0.49:8082/project/6275cb7d-4efa-4f9f-8218-0240f5a2da17 2025-06-02 08:43:55,351 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/cf07778a-337e-46d2-a771-800885562b6c 2025-06-02 08:43:55,362 - DEBUG - ==>Verifying data for policy with id: 730f9722-e893-45a5-ab9b-a9772fbd3220, fqn: ['default-domain', 'ctest-TestBasicPolicy-15093908', 'ctest-policy-allow-all-28659738'] 2025-06-02 08:43:55,362 - INFO - VN ctest-vn-52914246 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-02 08:43:55,362 - DEBUG - Verifying the vn in opserver 2025-06-02 08:43:55,362 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-52914246 virtual network link through opserver 10.0.0.49 2025-06-02 08:43:55,363 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-06-02 08:43:55,375 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-52914246', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-52914246?flat'} 2025-06-02 08:43:55,375 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-52914246 is found in opserver 2025-06-02 08:43:55,388 - DEBUG - Do not have enough data to verify VN in agent 2025-06-02 08:43:55,395 - DEBUG - VRF ids for VN ctest-vn-52914246: {} 2025-06-02 08:43:55,463 - DEBUG - Services list from nova: [, , ] 2025-06-02 08:43:56,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3387-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3387-1) 2025-06-02 08:43:58,015 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3387-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3387-1) 2025-06-02 08:43:58,015 - INFO - Waiting for VM ctest-TestBasicPolicy-15093908-27670230 to be up.. 2025-06-02 08:43:58,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-02 08:44:03,196 - DEBUG - VM is in ACTIVE state now 2025-06-02 08:44:03,196 - INFO - VM name : ctest-TestBasicPolicy-15093908-27670230 2025-06-02 08:44:03,276 - DEBUG - VM ctest-TestBasicPolicy-15093908-27670230 ID is 1668267c-d766-4b32-ae68-35e64f060040 2025-06-02 08:44:03,296 - DEBUG - VM ctest-TestBasicPolicy-15093908-27670230 launched on Node cn-jenkins-deploy-platform-ansible-os-3387-1 2025-06-02 08:44:03,377 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/1668267c-d766-4b32-ae68-35e64f060040 2025-06-02 08:44:03,388 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/00f3c3b1-0166-4cde-8129-f8f2fc1df27c 2025-06-02 08:44:06,649 - 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 1011ms') 2025-06-02 08:44:06,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15093908-27670230 failed! 2025-06-02 08:44:06,708 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15093908:ctest-vn-69202815 is 25.72.179.65 and allocation pool is NOT set 2025-06-02 08:44:08,781 - 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.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.690/6.398/10.106/3.708 ms') 2025-06-02 08:44:08,781 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15093908-27670230 passed 2025-06-02 08:44:08,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 08:44:08,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15093908-27670230, IP 25.72.179.67, Port 22 2025-06-02 08:44:09,002 - 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-02 08:44:09,102 - DEBUG - VM ctest-TestBasicPolicy-15093908-27670230 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-02 08:44:14,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 08:44:14,103 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15093908-27670230, IP 25.72.179.67, Port 22 2025-06-02 08:44:14,261 - DEBUG - VM ctest-TestBasicPolicy-15093908-27670230 is ready for SSH connections 2025-06-02 08:44:14,261 - INFO - Waiting for VM ctest-TestBasicPolicy-15093908-09829880 to be up.. 2025-06-02 08:44:14,374 - DEBUG - VM is in ACTIVE state now 2025-06-02 08:44:14,374 - INFO - VM name : ctest-TestBasicPolicy-15093908-09829880 2025-06-02 08:44:14,476 - DEBUG - VM ctest-TestBasicPolicy-15093908-09829880 ID is ee53ec51-08eb-4cb1-bdd8-18db1c85183a 2025-06-02 08:44:14,476 - DEBUG - VM ctest-TestBasicPolicy-15093908-09829880 launched on Node cn-jenkins-deploy-platform-ansible-os-3387-1 2025-06-02 08:44:14,572 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ee53ec51-08eb-4cb1-bdd8-18db1c85183a 2025-06-02 08:44:14,582 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/231502cb-39d4-4df0-856f-acc60b9f1d28 2025-06-02 08:44:15,834 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/1.980/3.481/1.501 ms') 2025-06-02 08:44:15,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15093908-09829880 passed 2025-06-02 08:44:16,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 08:44:16,000 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15093908-09829880, IP 169.110.113.195, Port 22 2025-06-02 08:44:16,164 - DEBUG - VM ctest-TestBasicPolicy-15093908-09829880 is ready for SSH connections 2025-06-02 08:44:16,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 08:44:16,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.110.113.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-02 08:44:16,164 - DEBUG - ping -s 56 -c 3 -W 1 169.110.113.195 2025-06-02 08:44:20,303 - DEBUG - PING 169.110.113.195 (169.110.113.195): 56 data bytes 64 bytes from 169.110.113.195: seq=0 ttl=63 time=3.719 ms 64 bytes from 169.110.113.195: seq=1 ttl=63 time=0.931 ms 64 bytes from 169.110.113.195: seq=2 ttl=63 time=0.847 ms --- 169.110.113.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/1.832/3.719 ms 2025-06-02 08:44:20,304 - INFO - Ping to IP 169.110.113.195 from VM ctest-TestBasicPolicy-15093908-27670230 passed 2025-06-02 08:44:20,491 - DEBUG - Policy Update Response {"network-policy": {"uuid": "730f9722-e893-45a5-ab9b-a9772fbd3220", "href": "http://10.0.0.49:8082/network-policy/730f9722-e893-45a5-ab9b-a9772fbd3220"}} 2025-06-02 08:44:20,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 08:44:20,491 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.110.113.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-02 08:44:20,492 - DEBUG - ping -s 56 -c 3 -W 1 169.110.113.195 2025-06-02 08:44:23,716 - DEBUG - PING 169.110.113.195 (169.110.113.195): 56 data bytes 64 bytes from 169.110.113.195: seq=0 ttl=63 time=1.710 ms --- 169.110.113.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.710/1.710/1.710 ms 2025-06-02 08:44:23,716 - WARNING - Ping to IP 169.110.113.195 from VM ctest-TestBasicPolicy-15093908-27670230 failed 2025-06-02 08:44:23,717 - INFO - Deleting VM ctest-TestBasicPolicy-15093908-09829880 2025-06-02 08:44:23,793 - INFO - Deleting VM ctest-TestBasicPolicy-15093908-27670230 2025-06-02 08:44:24,219 - INFO - Deleted policy ctest-policy-allow-all-28659738 2025-06-02 08:44:24,219 - INFO - Deleting VN ctest-vn-52914246 2025-06-02 08:44:24,260 - DEBUG - VN cf07778a-337e-46d2-a771-800885562b6c still in use: Unable to complete operation on network cf07778a-337e-46d2-a771-800885562b6c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e2787d8-f38f-4054-ad70-0112e2f02f20'] 2025-06-02 08:44:24,260 - WARNING - Deleting VN ctest-vn-52914246 failed..Will retry 2025-06-02 08:44:26,374 - DEBUG - Response for deleting network () 2025-06-02 08:44:26,374 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eafcb2f2-9ea4-4ea0-8bd4-259b925c76f6 2025-06-02 08:44:26,382 - DEBUG - Response Code: 404 2025-06-02 08:44:26,382 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-02 08:44:26,388 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2e521c81-119f-4738-8fbf-62e5716c5a53 2025-06-02 08:44:26,445 - DEBUG - Requesting: http://10.0.0.49:8082/project/6275cb7d-4efa-4f9f-8218-0240f5a2da17 2025-06-02 08:44:26,521 - INFO - Validated that VN ctest-vn-52914246 is not found in API Server 2025-06-02 08:44:26,533 - DEBUG - VN ctest-vn-52914246 is not present in Agent 10.0.0.49 2025-06-02 08:44:26,533 - INFO - Validated that VN ctest-vn-52914246 is not in any agent 2025-06-02 08:44:26,554 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52914246 info 2025-06-02 08:44:26,554 - INFO - Deleting VN ctest-vn-69202815 2025-06-02 08:44:26,682 - DEBUG - Response for deleting network () 2025-06-02 08:44:26,682 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8872b58e-f484-482d-a840-a686cf58a93e 2025-06-02 08:44:26,693 - DEBUG - Response Code: 404 2025-06-02 08:44:26,693 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-06-02 08:44:26,701 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2e521c81-119f-4738-8fbf-62e5716c5a53 2025-06-02 08:44:26,758 - DEBUG - Requesting: http://10.0.0.49:8082/project/6275cb7d-4efa-4f9f-8218-0240f5a2da17 2025-06-02 08:44:26,841 - INFO - Validated that VN ctest-vn-69202815 is not found in API Server 2025-06-02 08:44:26,854 - DEBUG - VN ctest-vn-69202815 is not present in Agent 10.0.0.49 2025-06-02 08:44:26,854 - INFO - Validated that VN ctest-vn-69202815 is not in any agent 2025-06-02 08:44:26,873 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69202815 info 2025-06-02 08:44:27,140 - DEBUG - No XMPP flaps were noticed during the test 2025-06-02 08:44:27,140 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-06-02 08:44:27,140 - INFO - -------------------------------------------------------------------------------- 2025-06-02 08:44:27,903 - INFO - Deleted project: ctest-TestBasicPolicy-15093908, ID : 6275cb7d-4efa-4f9f-8218-0240f5a2da17