2025-06-20 09:40:51,109 - INFO - Domain Default found not creating 2025-06-20 09:40:51,244 - INFO - Project ctest-TestBasicPolicy-04122906 not found, creating it 2025-06-20 09:40:51,685 - INFO - Created Project:ctest-TestBasicPolicy-04122906, ID : 1c624ee5-78d3-40e9-962d-269fff1687b6 2025-06-20 09:40:53,071 - INFO - ================================================================================ 2025-06-20 09:40:53,071 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-20 09:40:53,072 - 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-20 09:40:53,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-06-20 09:40:53,325 - INFO - Initial checks done. Running the testcase now 2025-06-20 09:40:53,325 - INFO - 2025-06-20 09:40:53,872 - DEBUG - Response for create_network : {'network': {'id': 'dd39c982-b42f-4851-a22c-9567f53b4710', 'name': 'ctest-vn-16382259', 'tenant_id': '1c624ee578d340e9962d269fff1687b6', 'project_id': '1c624ee578d340e9962d269fff1687b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04122906', 'ctest-vn-16382259'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 09:40:54,049 - DEBUG - Response for create_subnet : {'subnet': {'id': '97fb267c-bf85-4746-a2b0-26f1da2b9988', 'name': '', 'tenant_id': '1c624ee578d340e9962d269fff1687b6', 'network_id': 'dd39c982-b42f-4851-a22c-9567f53b4710', 'ip_version': 4, 'cidr': '77.237.155.192/26', 'allocation_pools': [{'start': '77.237.155.194', 'end': '77.237.155.254'}], 'gateway_ip': '77.237.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.237.155.194', 'tags': [], 'project_id': '1c624ee578d340e9962d269fff1687b6'}} 2025-06-20 09:40:54,067 - INFO - Created VN ctest-vn-16382259 2025-06-20 09:40:54,120 - DEBUG - VN ctest-vn-16382259 UUID is dd39c982-b42f-4851-a22c-9567f53b4710 2025-06-20 09:40:54,399 - DEBUG - Response for create_network : {'network': {'id': '19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8', 'name': 'ctest-vn-52074734', 'tenant_id': '1c624ee578d340e9962d269fff1687b6', 'project_id': '1c624ee578d340e9962d269fff1687b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04122906', 'ctest-vn-52074734'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 09:40:54,630 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a858daad-2a6e-49f7-93de-2831b6aba5d2', 'name': '', 'tenant_id': '1c624ee578d340e9962d269fff1687b6', 'network_id': '19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8', 'ip_version': 4, 'cidr': '180.251.51.64/26', 'allocation_pools': [{'start': '180.251.51.66', 'end': '180.251.51.126'}], 'gateway_ip': '180.251.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.251.51.66', 'tags': [], 'project_id': '1c624ee578d340e9962d269fff1687b6'}} 2025-06-20 09:40:54,646 - INFO - Created VN ctest-vn-52074734 2025-06-20 09:40:54,700 - DEBUG - VN ctest-vn-52074734 UUID is 19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8 2025-06-20 09:40:54,816 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-16382259, 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-04122906:ctest-vn-52074734, 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-20 09:40:55,110 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dd39c982-b42f-4851-a22c-9567f53b4710', 'name': 'ctest-vn-16382259', 'tenant_id': '1c624ee578d340e9962d269fff1687b6', 'project_id': '1c624ee578d340e9962d269fff1687b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97fb267c-bf85-4746-a2b0-26f1da2b9988'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04122906', 'ctest-vn-16382259'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04122906', 'ctest-policy-allow-all-10979584']], 'subnet_ipam': [{'subnet_cidr': '77.237.155.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 09:40:55,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8', 'name': 'ctest-vn-52074734', 'tenant_id': '1c624ee578d340e9962d269fff1687b6', 'project_id': '1c624ee578d340e9962d269fff1687b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a858daad-2a6e-49f7-93de-2831b6aba5d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04122906', 'ctest-vn-52074734'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04122906', 'ctest-policy-allow-all-10979584']], 'subnet_ipam': [{'subnet_cidr': '180.251.51.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 09:40:55,520 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 09:40:55,814 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 09:40:55,840 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7001c0bb-9f45-4d3b-bbd6-19b4867ea690 2025-06-20 09:40:55,851 - DEBUG - Requesting: http://10.0.0.38:8082/project/1c624ee5-78d3-40e9-962d-269fff1687b6 2025-06-20 09:40:55,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dd39c982-b42f-4851-a22c-9567f53b4710 2025-06-20 09:40:55,936 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dd39c982-b42f-4851-a22c-9567f53b4710 2025-06-20 09:40:55,944 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dac8c6b-7332-45b4-82e6-dc994826909b 2025-06-20 09:40:55,950 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dac8c6b-7332-45b4-82e6-dc994826909b 2025-06-20 09:40:55,957 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8dc556f3-8249-4e46-9285-2b2701f1c4b3 2025-06-20 09:40:55,963 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 09:40:55,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dd39c982-b42f-4851-a22c-9567f53b4710 2025-06-20 09:40:55,975 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dac8c6b-7332-45b4-82e6-dc994826909b 2025-06-20 09:40:55,990 - INFO - Verified VN network id 9 for VN dd39c982-b42f-4851-a22c-9567f53b4710 2025-06-20 09:40:55,990 - INFO - Verifications in API Server for VN ctest-vn-16382259 passed 2025-06-20 09:40:55,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dd39c982-b42f-4851-a22c-9567f53b4710 2025-06-20 09:40:55,999 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dac8c6b-7332-45b4-82e6-dc994826909b 2025-06-20 09:40:56,007 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dac8c6b-7332-45b4-82e6-dc994826909b 2025-06-20 09:40:56,015 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8dc556f3-8249-4e46-9285-2b2701f1c4b3 2025-06-20 09:40:56,028 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-16382259', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04122906', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15940993919260510289', 'uuid-lslong': '11685879406848067344'}, 'enable': 'true', 'created': '2025-06-20T09:40:53', 'last-modified': '2025-06-20T09:40:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.941597'} 2025-06-20 09:40:56,035 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 09:40:56,035 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16382259 passed 2025-06-20 09:40:56,035 - DEBUG - ====Verifying policy data for ctest-vn-16382259 in API_Server ====== 2025-06-20 09:40:56,035 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 09:40:56,040 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7001c0bb-9f45-4d3b-bbd6-19b4867ea690 2025-06-20 09:40:56,051 - DEBUG - Requesting: http://10.0.0.38:8082/project/1c624ee5-78d3-40e9-962d-269fff1687b6 2025-06-20 09:40:56,125 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dd39c982-b42f-4851-a22c-9567f53b4710 2025-06-20 09:40:56,135 - DEBUG - ==>Verifying data for policy with id: c0108c15-a183-470e-adca-45a8568f0975, fqn: ['default-domain', 'ctest-TestBasicPolicy-04122906', 'ctest-policy-allow-all-10979584'] 2025-06-20 09:40:56,135 - INFO - VN ctest-vn-16382259 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 09:40:56,135 - DEBUG - Verifying the vn in opserver 2025-06-20 09:40:56,135 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-16382259 virtual network link through opserver 10.0.0.38 2025-06-20 09:40:56,136 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-20 09:40:56,425 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-20 09:40:56,476 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-16382259', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-16382259?flat'} 2025-06-20 09:40:56,476 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-16382259 is found in opserver 2025-06-20 09:40:56,485 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 09:40:56,489 - DEBUG - VRF ids for VN ctest-vn-16382259: {} 2025-06-20 09:40:56,489 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 09:40:56,494 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7001c0bb-9f45-4d3b-bbd6-19b4867ea690 2025-06-20 09:40:56,505 - DEBUG - Requesting: http://10.0.0.38:8082/project/1c624ee5-78d3-40e9-962d-269fff1687b6 2025-06-20 09:40:56,627 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8 2025-06-20 09:40:56,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8 2025-06-20 09:40:56,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6882b0a-e7c3-4202-98e5-b2908b8d5d2f 2025-06-20 09:40:56,656 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6882b0a-e7c3-4202-98e5-b2908b8d5d2f 2025-06-20 09:40:56,663 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f7008d7f-fee5-4966-9799-e8c1d429b8a3 2025-06-20 09:40:56,670 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 09:40:56,670 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8 2025-06-20 09:40:56,679 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6882b0a-e7c3-4202-98e5-b2908b8d5d2f 2025-06-20 09:40:56,694 - INFO - Verified VN network id 10 for VN 19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8 2025-06-20 09:40:56,694 - INFO - Verifications in API Server for VN ctest-vn-52074734 passed 2025-06-20 09:40:56,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8 2025-06-20 09:40:56,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6882b0a-e7c3-4202-98e5-b2908b8d5d2f 2025-06-20 09:40:56,713 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6882b0a-e7c3-4202-98e5-b2908b8d5d2f 2025-06-20 09:40:56,721 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f7008d7f-fee5-4966-9799-e8c1d429b8a3 2025-06-20 09:40:56,734 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-52074734', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04122906', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1852637131385163329', 'uuid-lslong': '11305831479693222648'}, 'enable': 'true', 'created': '2025-06-20T09:40:54', 'last-modified': '2025-06-20T09:40:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.423229'} 2025-06-20 09:40:56,740 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 09:40:56,740 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52074734 passed 2025-06-20 09:40:56,740 - DEBUG - ====Verifying policy data for ctest-vn-52074734 in API_Server ====== 2025-06-20 09:40:56,740 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 09:40:56,747 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7001c0bb-9f45-4d3b-bbd6-19b4867ea690 2025-06-20 09:40:56,757 - DEBUG - Requesting: http://10.0.0.38:8082/project/1c624ee5-78d3-40e9-962d-269fff1687b6 2025-06-20 09:40:56,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8 2025-06-20 09:40:56,831 - DEBUG - ==>Verifying data for policy with id: c0108c15-a183-470e-adca-45a8568f0975, fqn: ['default-domain', 'ctest-TestBasicPolicy-04122906', 'ctest-policy-allow-all-10979584'] 2025-06-20 09:40:56,831 - INFO - VN ctest-vn-52074734 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 09:40:56,831 - DEBUG - Verifying the vn in opserver 2025-06-20 09:40:56,831 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-52074734 virtual network link through opserver 10.0.0.38 2025-06-20 09:40:56,831 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-20 09:40:56,841 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-52074734', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-52074734?flat'} 2025-06-20 09:40:56,841 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-52074734 is found in opserver 2025-06-20 09:40:56,852 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 09:40:56,856 - DEBUG - VRF ids for VN ctest-vn-52074734: {} 2025-06-20 09:40:56,914 - DEBUG - Services list from nova: [, , ] 2025-06-20 09:40:57,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3505-1) 2025-06-20 09:40:59,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3505-1) 2025-06-20 09:40:59,173 - INFO - Waiting for VM ctest-TestBasicPolicy-04122906-51317380 to be up.. 2025-06-20 09:40:59,259 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 09:41:04,350 - DEBUG - VM is in ACTIVE state now 2025-06-20 09:41:04,351 - INFO - VM name : ctest-TestBasicPolicy-04122906-51317380 2025-06-20 09:41:04,429 - DEBUG - VM ctest-TestBasicPolicy-04122906-51317380 ID is 0272141b-3ddf-48a6-99fd-716f7f9e4a8b 2025-06-20 09:41:04,456 - DEBUG - VM ctest-TestBasicPolicy-04122906-51317380 launched on Node cn-jenkins-deploy-platform-ansible-os-3505-1. 2025-06-20 09:41:04,536 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0272141b-3ddf-48a6-99fd-716f7f9e4a8b 2025-06-20 09:41:04,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e3b95543-ccf3-4df6-bcb3-6268648fcae8 2025-06-20 09:41:07,805 - 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 1021ms') 2025-06-20 09:41:07,805 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04122906-51317380 failed! 2025-06-20 09:41:07,860 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04122906:ctest-vn-16382259 is 77.237.155.193 and allocation pool is NOT set 2025-06-20 09:41:09,929 - 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=3.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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 = 2.543/3.087/3.631/0.544 ms') 2025-06-20 09:41:09,930 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04122906-51317380 passed 2025-06-20 09:41:10,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 09:41:10,076 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04122906-51317380, IP 77.237.155.195, Port 22 2025-06-20 09:41:10,131 - 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-20 09:41:10,228 - DEBUG - VM ctest-TestBasicPolicy-04122906-51317380 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-20 09:41:15,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 09:41:15,230 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04122906-51317380, IP 77.237.155.195, Port 22 2025-06-20 09:41:15,387 - DEBUG - VM ctest-TestBasicPolicy-04122906-51317380 is ready for SSH connections 2025-06-20 09:41:15,387 - INFO - Waiting for VM ctest-TestBasicPolicy-04122906-15525337 to be up.. 2025-06-20 09:41:15,461 - DEBUG - VM is in ACTIVE state now 2025-06-20 09:41:15,461 - INFO - VM name : ctest-TestBasicPolicy-04122906-15525337 2025-06-20 09:41:15,537 - DEBUG - VM ctest-TestBasicPolicy-04122906-15525337 ID is e94a8dd3-89b5-467b-a51c-88cd0e54f326 2025-06-20 09:41:15,537 - DEBUG - VM ctest-TestBasicPolicy-04122906-15525337 launched on Node cn-jenkins-deploy-platform-ansible-os-3505-1. 2025-06-20 09:41:15,610 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e94a8dd3-89b5-467b-a51c-88cd0e54f326 2025-06-20 09:41:15,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/018328ea-0f93-440e-86a0-078d7e7ec186 2025-06-20 09:41:16,866 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.563/2.695/1.131 ms') 2025-06-20 09:41:16,866 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04122906-15525337 passed 2025-06-20 09:41:17,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 09:41:17,020 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04122906-15525337, IP 180.251.51.67, Port 22 2025-06-20 09:41:17,184 - DEBUG - VM ctest-TestBasicPolicy-04122906-15525337 is ready for SSH connections 2025-06-20 09:41:17,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 09:41:17,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.251.51.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-20 09:41:17,184 - DEBUG - ping -s 56 -c 3 -W 1 180.251.51.67 2025-06-20 09:41:21,181 - DEBUG - PING 180.251.51.67 (180.251.51.67): 56 data bytes 64 bytes from 180.251.51.67: seq=0 ttl=63 time=3.349 ms 64 bytes from 180.251.51.67: seq=1 ttl=63 time=0.763 ms 64 bytes from 180.251.51.67: seq=2 ttl=63 time=0.933 ms --- 180.251.51.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/1.681/3.349 ms 2025-06-20 09:41:21,181 - INFO - Ping to IP 180.251.51.67 from VM ctest-TestBasicPolicy-04122906-51317380 passed 2025-06-20 09:41:21,356 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c0108c15-a183-470e-adca-45a8568f0975", "href": "http://10.0.0.38:8082/network-policy/c0108c15-a183-470e-adca-45a8568f0975"}} 2025-06-20 09:41:21,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 09:41:21,356 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.251.51.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-20 09:41:21,356 - DEBUG - ping -s 56 -c 3 -W 1 180.251.51.67 2025-06-20 09:41:24,560 - DEBUG - PING 180.251.51.67 (180.251.51.67): 56 data bytes --- 180.251.51.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-20 09:41:24,560 - WARNING - Ping to IP 180.251.51.67 from VM ctest-TestBasicPolicy-04122906-51317380 failed 2025-06-20 09:41:24,561 - INFO - Deleting VM ctest-TestBasicPolicy-04122906-15525337 2025-06-20 09:41:24,631 - INFO - Deleting VM ctest-TestBasicPolicy-04122906-51317380 2025-06-20 09:41:25,022 - INFO - Deleted policy ctest-policy-allow-all-10979584 2025-06-20 09:41:25,023 - INFO - Deleting VN ctest-vn-52074734 2025-06-20 09:41:25,062 - DEBUG - VN 19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8 still in use: Unable to complete operation on network 19b5e3a7-c1e9-4e41-9ce6-61d4758b22f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b82255c-aa2a-4d16-92fa-e3422402d7ba'] 2025-06-20 09:41:25,062 - WARNING - Deleting VN ctest-vn-52074734 failed..Will retry 2025-06-20 09:41:27,159 - DEBUG - Response for deleting network () 2025-06-20 09:41:27,159 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6882b0a-e7c3-4202-98e5-b2908b8d5d2f 2025-06-20 09:41:27,164 - DEBUG - Response Code: 404 2025-06-20 09:41:27,164 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 09:41:27,169 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7001c0bb-9f45-4d3b-bbd6-19b4867ea690 2025-06-20 09:41:27,221 - DEBUG - Requesting: http://10.0.0.38:8082/project/1c624ee5-78d3-40e9-962d-269fff1687b6 2025-06-20 09:41:27,289 - INFO - Validated that VN ctest-vn-52074734 is not found in API Server 2025-06-20 09:41:27,300 - DEBUG - VN ctest-vn-52074734 is not present in Agent 10.0.0.38 2025-06-20 09:41:27,300 - INFO - Validated that VN ctest-vn-52074734 is not in any agent 2025-06-20 09:41:27,316 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52074734 info 2025-06-20 09:41:27,316 - INFO - Deleting VN ctest-vn-16382259 2025-06-20 09:41:27,417 - DEBUG - Response for deleting network () 2025-06-20 09:41:27,417 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dac8c6b-7332-45b4-82e6-dc994826909b 2025-06-20 09:41:27,423 - DEBUG - Response Code: 404 2025-06-20 09:41:27,424 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-20 09:41:27,428 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7001c0bb-9f45-4d3b-bbd6-19b4867ea690 2025-06-20 09:41:27,480 - DEBUG - Requesting: http://10.0.0.38:8082/project/1c624ee5-78d3-40e9-962d-269fff1687b6 2025-06-20 09:41:27,547 - INFO - Validated that VN ctest-vn-16382259 is not found in API Server 2025-06-20 09:41:27,556 - DEBUG - VN ctest-vn-16382259 is not present in Agent 10.0.0.38 2025-06-20 09:41:27,556 - INFO - Validated that VN ctest-vn-16382259 is not in any agent 2025-06-20 09:41:27,567 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16382259 info 2025-06-20 09:41:27,820 - DEBUG - No XMPP flaps were noticed during the test
2025-06-20 09:41:27,820 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2025-06-20 09:41:27,821 - INFO - -------------------------------------------------------------------------------- 2025-06-20 09:41:28,479 - INFO - Deleted project: ctest-TestBasicPolicy-04122906, ID : 1c624ee5-78d3-40e9-962d-269fff1687b6