2025-10-27 01:14:53,618 - INFO - Domain Default found not creating 2025-10-27 01:14:53,770 - INFO - Project ctest-TestBasicPolicy-64932823 not found, creating it 2025-10-27 01:14:54,222 - INFO - Created Project:ctest-TestBasicPolicy-64932823, ID : 1e737e4f-83cb-4033-830b-58ee6a8e2eef 2025-10-27 01:14:55,797 - INFO - ================================================================================ 2025-10-27 01:14:55,797 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 01:14:55,797 - 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-10-27 01:14:56,054 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 01:14:56,054 - INFO - Initial checks done. Running the testcase now 2025-10-27 01:14:56,054 - INFO - 2025-10-27 01:14:56,634 - DEBUG - Response for create_network : {'network': {'id': 'e9ae070f-4aa7-49ac-a95d-5edbeeeffcad', 'name': 'ctest-vn-06068817', 'tenant_id': '1e737e4f83cb4033830b58ee6a8e2eef', 'project_id': '1e737e4f83cb4033830b58ee6a8e2eef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64932823', 'ctest-vn-06068817'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 01:14:56,861 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f98ca0c5-f5f2-4795-b7ca-d4daa4ed01e0', 'name': '', 'tenant_id': '1e737e4f83cb4033830b58ee6a8e2eef', 'network_id': 'e9ae070f-4aa7-49ac-a95d-5edbeeeffcad', 'ip_version': 4, 'cidr': '115.122.124.192/26', 'allocation_pools': [{'start': '115.122.124.194', 'end': '115.122.124.254'}], 'gateway_ip': '115.122.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.122.124.194', 'tags': [], 'project_id': '1e737e4f83cb4033830b58ee6a8e2eef'}} 2025-10-27 01:14:56,882 - INFO - Created VN ctest-vn-06068817 2025-10-27 01:14:56,939 - DEBUG - VN ctest-vn-06068817 UUID is e9ae070f-4aa7-49ac-a95d-5edbeeeffcad 2025-10-27 01:14:57,231 - DEBUG - Response for create_network : {'network': {'id': '9ea75ff4-1781-4b0e-aaaf-f80080a84ab1', 'name': 'ctest-vn-16500917', 'tenant_id': '1e737e4f83cb4033830b58ee6a8e2eef', 'project_id': '1e737e4f83cb4033830b58ee6a8e2eef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64932823', 'ctest-vn-16500917'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 01:14:57,396 - DEBUG - Response for create_subnet : {'subnet': {'id': '291fc0a0-d93f-462e-ae20-b5a4c416e617', 'name': '', 'tenant_id': '1e737e4f83cb4033830b58ee6a8e2eef', 'network_id': '9ea75ff4-1781-4b0e-aaaf-f80080a84ab1', 'ip_version': 4, 'cidr': '8.33.14.192/26', 'allocation_pools': [{'start': '8.33.14.194', 'end': '8.33.14.254'}], 'gateway_ip': '8.33.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.33.14.194', 'tags': [], 'project_id': '1e737e4f83cb4033830b58ee6a8e2eef'}} 2025-10-27 01:14:57,416 - INFO - Created VN ctest-vn-16500917 2025-10-27 01:14:57,471 - DEBUG - VN ctest-vn-16500917 UUID is 9ea75ff4-1781-4b0e-aaaf-f80080a84ab1 2025-10-27 01:14:57,627 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-06068817, 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-64932823:ctest-vn-16500917, 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-10-27 01:14:57,923 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e9ae070f-4aa7-49ac-a95d-5edbeeeffcad', 'name': 'ctest-vn-06068817', 'tenant_id': '1e737e4f83cb4033830b58ee6a8e2eef', 'project_id': '1e737e4f83cb4033830b58ee6a8e2eef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f98ca0c5-f5f2-4795-b7ca-d4daa4ed01e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64932823', 'ctest-vn-06068817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64932823', 'ctest-policy-allow-all-02698213']], 'subnet_ipam': [{'subnet_cidr': '115.122.124.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 01:14:58,194 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ea75ff4-1781-4b0e-aaaf-f80080a84ab1', 'name': 'ctest-vn-16500917', 'tenant_id': '1e737e4f83cb4033830b58ee6a8e2eef', 'project_id': '1e737e4f83cb4033830b58ee6a8e2eef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['291fc0a0-d93f-462e-ae20-b5a4c416e617'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64932823', 'ctest-vn-16500917'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64932823', 'ctest-policy-allow-all-02698213']], 'subnet_ipam': [{'subnet_cidr': '8.33.14.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 01:14:58,343 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 01:14:58,678 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 01:14:58,708 - DEBUG - Requesting: http://10.0.0.242:8082/domain/df28296d-ae0e-4579-ab56-1052ac029f48 2025-10-27 01:14:58,722 - DEBUG - Requesting: http://10.0.0.242:8082/project/1e737e4f-83cb-4033-830b-58ee6a8e2eef 2025-10-27 01:14:58,796 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e9ae070f-4aa7-49ac-a95d-5edbeeeffcad 2025-10-27 01:14:58,807 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e9ae070f-4aa7-49ac-a95d-5edbeeeffcad 2025-10-27 01:14:58,815 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/27cbb220-33de-43ca-ad9e-a869a91a7354 2025-10-27 01:14:58,822 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/27cbb220-33de-43ca-ad9e-a869a91a7354 2025-10-27 01:14:58,828 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/9cb18d2c-6dda-4697-ac60-84c4392b58ba 2025-10-27 01:14:58,833 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 01:14:58,833 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e9ae070f-4aa7-49ac-a95d-5edbeeeffcad 2025-10-27 01:14:58,841 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/27cbb220-33de-43ca-ad9e-a869a91a7354 2025-10-27 01:14:58,854 - INFO - Verified VN network id 11 for VN e9ae070f-4aa7-49ac-a95d-5edbeeeffcad 2025-10-27 01:14:58,854 - INFO - Verifications in API Server for VN ctest-vn-06068817 passed 2025-10-27 01:14:58,854 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e9ae070f-4aa7-49ac-a95d-5edbeeeffcad 2025-10-27 01:14:58,863 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/27cbb220-33de-43ca-ad9e-a869a91a7354 2025-10-27 01:14:58,869 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/27cbb220-33de-43ca-ad9e-a869a91a7354 2025-10-27 01:14:58,876 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/9cb18d2c-6dda-4697-ac60-84c4392b58ba 2025-10-27 01:14:58,887 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-06068817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64932823', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16838403819043244460', 'uuid-lslong': '12204014863943466157'}, 'enable': 'true', 'created': '2025-10-27T01:14:56', 'last-modified': '2025-10-27T01:14:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989999'} 2025-10-27 01:14:58,893 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 01:14:58,893 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06068817 passed 2025-10-27 01:14:58,893 - DEBUG - ====Verifying policy data for ctest-vn-06068817 in API_Server ====== 2025-10-27 01:14:58,893 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 01:14:58,899 - DEBUG - Requesting: http://10.0.0.242:8082/domain/df28296d-ae0e-4579-ab56-1052ac029f48 2025-10-27 01:14:58,910 - DEBUG - Requesting: http://10.0.0.242:8082/project/1e737e4f-83cb-4033-830b-58ee6a8e2eef 2025-10-27 01:14:58,984 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e9ae070f-4aa7-49ac-a95d-5edbeeeffcad 2025-10-27 01:14:58,993 - DEBUG - ==>Verifying data for policy with id: f9d08f0c-acce-423b-b43f-9d32c54d54b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-64932823', 'ctest-policy-allow-all-02698213'] 2025-10-27 01:14:58,993 - INFO - VN ctest-vn-06068817 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 01:14:58,994 - DEBUG - Verifying the vn in opserver 2025-10-27 01:14:58,994 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-06068817 virtual network link through opserver 10.0.0.242 2025-10-27 01:14:58,994 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 01:14:59,332 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 01:14:59,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-06068817', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-06068817?flat'} 2025-10-27 01:14:59,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-06068817 is found in opserver 2025-10-27 01:14:59,398 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 01:14:59,402 - DEBUG - VRF ids for VN ctest-vn-06068817: {} 2025-10-27 01:14:59,402 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 01:14:59,408 - DEBUG - Requesting: http://10.0.0.242:8082/domain/df28296d-ae0e-4579-ab56-1052ac029f48 2025-10-27 01:14:59,418 - DEBUG - Requesting: http://10.0.0.242:8082/project/1e737e4f-83cb-4033-830b-58ee6a8e2eef 2025-10-27 01:14:59,490 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9ea75ff4-1781-4b0e-aaaf-f80080a84ab1 2025-10-27 01:14:59,505 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9ea75ff4-1781-4b0e-aaaf-f80080a84ab1 2025-10-27 01:14:59,516 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0374298-d296-4526-9495-8b568eefd3db 2025-10-27 01:14:59,523 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0374298-d296-4526-9495-8b568eefd3db 2025-10-27 01:14:59,528 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b3bcfaaf-d209-4f58-a1e8-105bc96f5a36 2025-10-27 01:14:59,534 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 01:14:59,534 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9ea75ff4-1781-4b0e-aaaf-f80080a84ab1 2025-10-27 01:14:59,543 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0374298-d296-4526-9495-8b568eefd3db 2025-10-27 01:14:59,555 - INFO - Verified VN network id 12 for VN 9ea75ff4-1781-4b0e-aaaf-f80080a84ab1 2025-10-27 01:14:59,555 - INFO - Verifications in API Server for VN ctest-vn-16500917 passed 2025-10-27 01:14:59,555 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9ea75ff4-1781-4b0e-aaaf-f80080a84ab1 2025-10-27 01:14:59,565 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0374298-d296-4526-9495-8b568eefd3db 2025-10-27 01:14:59,580 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0374298-d296-4526-9495-8b568eefd3db 2025-10-27 01:14:59,586 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b3bcfaaf-d209-4f58-a1e8-105bc96f5a36 2025-10-27 01:14:59,597 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-16500917', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64932823', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11432211681074301710', 'uuid-lslong': '12299321788414315185'}, 'enable': 'true', 'created': '2025-10-27T01:14:57', 'last-modified': '2025-10-27T01:14:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.470291'} 2025-10-27 01:14:59,602 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 01:14:59,602 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16500917 passed 2025-10-27 01:14:59,602 - DEBUG - ====Verifying policy data for ctest-vn-16500917 in API_Server ====== 2025-10-27 01:14:59,602 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 01:14:59,609 - DEBUG - Requesting: http://10.0.0.242:8082/domain/df28296d-ae0e-4579-ab56-1052ac029f48 2025-10-27 01:14:59,619 - DEBUG - Requesting: http://10.0.0.242:8082/project/1e737e4f-83cb-4033-830b-58ee6a8e2eef 2025-10-27 01:14:59,693 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9ea75ff4-1781-4b0e-aaaf-f80080a84ab1 2025-10-27 01:14:59,702 - DEBUG - ==>Verifying data for policy with id: f9d08f0c-acce-423b-b43f-9d32c54d54b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-64932823', 'ctest-policy-allow-all-02698213'] 2025-10-27 01:14:59,702 - INFO - VN ctest-vn-16500917 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 01:14:59,702 - DEBUG - Verifying the vn in opserver 2025-10-27 01:14:59,702 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-16500917 virtual network link through opserver 10.0.0.242 2025-10-27 01:14:59,702 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 01:14:59,712 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-16500917', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-16500917?flat'} 2025-10-27 01:14:59,712 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-16500917 is found in opserver 2025-10-27 01:14:59,721 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 01:14:59,725 - DEBUG - VRF ids for VN ctest-vn-16500917: {} 2025-10-27 01:14:59,783 - DEBUG - Services list from nova: [, , ] 2025-10-27 01:15:00,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4485-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4485-1) 2025-10-27 01:15:02,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4485-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4485-1) 2025-10-27 01:15:02,207 - INFO - Waiting for VM ctest-TestBasicPolicy-64932823-37261717 to be up.. 2025-10-27 01:15:02,299 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 01:15:07,391 - DEBUG - VM is in ACTIVE state now 2025-10-27 01:15:07,391 - INFO - VM name : ctest-TestBasicPolicy-64932823-37261717 2025-10-27 01:15:07,489 - DEBUG - VM ctest-TestBasicPolicy-64932823-37261717 ID is 47d56d01-a430-4d92-a095-17d71e434952 2025-10-27 01:15:07,510 - DEBUG - VM ctest-TestBasicPolicy-64932823-37261717 launched on Node cn-jenkins-deploy-platform-ansible-os-4485-1 2025-10-27 01:15:07,598 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/47d56d01-a430-4d92-a095-17d71e434952 2025-10-27 01:15:07,609 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d6ed49d7-2e32-4c01-b17a-afd5d0477bb7 2025-10-27 01:15:10,886 - 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-10-27 01:15:10,886 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64932823-37261717 failed! 2025-10-27 01:15:10,951 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64932823:ctest-vn-06068817 is 115.122.124.193 and allocation pool is NOT set 2025-10-27 01:15:13,017 - 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=8.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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 = 2.217/5.408/8.599/3.191 ms') 2025-10-27 01:15:13,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64932823-37261717 passed 2025-10-27 01:15:13,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:15:13,171 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64932823-37261717, IP 115.122.124.195, Port 22 2025-10-27 01:15:13,237 - 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-10-27 01:15:13,334 - DEBUG - VM ctest-TestBasicPolicy-64932823-37261717 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 01:15:18,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:15:18,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64932823-37261717, IP 115.122.124.195, Port 22 2025-10-27 01:15:18,495 - DEBUG - VM ctest-TestBasicPolicy-64932823-37261717 is ready for SSH connections 2025-10-27 01:15:18,495 - INFO - Waiting for VM ctest-TestBasicPolicy-64932823-14854404 to be up.. 2025-10-27 01:15:18,569 - DEBUG - VM is in ACTIVE state now 2025-10-27 01:15:18,569 - INFO - VM name : ctest-TestBasicPolicy-64932823-14854404 2025-10-27 01:15:18,639 - DEBUG - VM ctest-TestBasicPolicy-64932823-14854404 ID is 9a4fb9a9-d3f8-4879-b098-588dc49bb86a 2025-10-27 01:15:18,639 - DEBUG - VM ctest-TestBasicPolicy-64932823-14854404 launched on Node cn-jenkins-deploy-platform-ansible-os-4485-1 2025-10-27 01:15:18,712 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9a4fb9a9-d3f8-4879-b098-588dc49bb86a 2025-10-27 01:15:18,720 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/077ca4ae-c54b-4518-ae66-f370a67c8405 2025-10-27 01:15:19,955 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.460 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.460/1.820/3.181/1.360 ms') 2025-10-27 01:15:19,955 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64932823-14854404 passed 2025-10-27 01:15:20,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:15:20,103 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64932823-14854404, IP 8.33.14.195, Port 22 2025-10-27 01:15:20,259 - DEBUG - VM ctest-TestBasicPolicy-64932823-14854404 is ready for SSH connections 2025-10-27 01:15:20,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:15:20,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.33.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 01:15:20,259 - DEBUG - ping -s 56 -c 3 -W 1 8.33.14.195 2025-10-27 01:15:23,987 - DEBUG - PING 8.33.14.195 (8.33.14.195): 56 data bytes 64 bytes from 8.33.14.195: seq=0 ttl=63 time=3.941 ms 64 bytes from 8.33.14.195: seq=1 ttl=63 time=0.982 ms 64 bytes from 8.33.14.195: seq=2 ttl=63 time=0.864 ms --- 8.33.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.929/3.941 ms 2025-10-27 01:15:23,987 - INFO - Ping to IP 8.33.14.195 from VM ctest-TestBasicPolicy-64932823-37261717 passed 2025-10-27 01:15:24,171 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f9d08f0c-acce-423b-b43f-9d32c54d54b5", "href": "http://10.0.0.242:8082/network-policy/f9d08f0c-acce-423b-b43f-9d32c54d54b5"}} 2025-10-27 01:15:24,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:15:24,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.33.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 01:15:24,171 - DEBUG - ping -s 56 -c 3 -W 1 8.33.14.195 2025-10-27 01:15:27,405 - DEBUG - PING 8.33.14.195 (8.33.14.195): 56 data bytes --- 8.33.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 01:15:27,405 - WARNING - Ping to IP 8.33.14.195 from VM ctest-TestBasicPolicy-64932823-37261717 failed 2025-10-27 01:15:27,405 - INFO - Deleting VM ctest-TestBasicPolicy-64932823-14854404 2025-10-27 01:15:27,481 - INFO - Deleting VM ctest-TestBasicPolicy-64932823-37261717 2025-10-27 01:15:27,887 - INFO - Deleted policy ctest-policy-allow-all-02698213 2025-10-27 01:15:27,888 - INFO - Deleting VN ctest-vn-16500917 2025-10-27 01:15:27,927 - DEBUG - VN 9ea75ff4-1781-4b0e-aaaf-f80080a84ab1 still in use: Unable to complete operation on network 9ea75ff4-1781-4b0e-aaaf-f80080a84ab1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10fbb570-5919-4073-8530-0a9b66502b50'] 2025-10-27 01:15:27,928 - WARNING - Deleting VN ctest-vn-16500917 failed..Will retry 2025-10-27 01:15:30,050 - DEBUG - Response for deleting network () 2025-10-27 01:15:30,051 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0374298-d296-4526-9495-8b568eefd3db 2025-10-27 01:15:30,061 - DEBUG - Response Code: 404 2025-10-27 01:15:30,061 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 01:15:30,067 - DEBUG - Requesting: http://10.0.0.242:8082/domain/df28296d-ae0e-4579-ab56-1052ac029f48 2025-10-27 01:15:30,125 - DEBUG - Requesting: http://10.0.0.242:8082/project/1e737e4f-83cb-4033-830b-58ee6a8e2eef 2025-10-27 01:15:30,195 - INFO - Validated that VN ctest-vn-16500917 is not found in API Server 2025-10-27 01:15:30,205 - DEBUG - VN ctest-vn-16500917 is not present in Agent 10.0.0.242 2025-10-27 01:15:30,205 - INFO - Validated that VN ctest-vn-16500917 is not in any agent 2025-10-27 01:15:30,221 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16500917 info 2025-10-27 01:15:30,222 - INFO - Deleting VN ctest-vn-06068817 2025-10-27 01:15:30,346 - DEBUG - Response for deleting network () 2025-10-27 01:15:30,346 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/27cbb220-33de-43ca-ad9e-a869a91a7354 2025-10-27 01:15:30,372 - DEBUG - Response Code: 404 2025-10-27 01:15:30,372 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 01:15:30,381 - DEBUG - Requesting: http://10.0.0.242:8082/domain/df28296d-ae0e-4579-ab56-1052ac029f48 2025-10-27 01:15:30,395 - DEBUG - Requesting: http://10.0.0.242:8082/project/1e737e4f-83cb-4033-830b-58ee6a8e2eef 2025-10-27 01:15:30,466 - INFO - Validated that VN ctest-vn-06068817 is not found in API Server 2025-10-27 01:15:30,476 - DEBUG - VN ctest-vn-06068817 is not present in Agent 10.0.0.242 2025-10-27 01:15:30,476 - INFO - Validated that VN ctest-vn-06068817 is not in any agent 2025-10-27 01:15:30,490 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06068817 info 2025-10-27 01:15:30,744 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 01:15:30,744 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-27 01:15:30,744 - INFO - -------------------------------------------------------------------------------- 2025-10-27 01:15:31,476 - INFO - Deleted project: ctest-TestBasicPolicy-64932823, ID : 1e737e4f-83cb-4033-830b-58ee6a8e2eef