2025-04-22 15:46:20,231 - INFO - Domain Default found not creating 2025-04-22 15:46:20,359 - INFO - Project ctest-TestBasicPolicy-84269248 not found, creating it 2025-04-22 15:46:20,790 - INFO - Created Project:ctest-TestBasicPolicy-84269248, ID : 264941a3-7136-42cd-990a-fc624c9a093e 2025-04-22 15:46:22,171 - INFO - ================================================================================ 2025-04-22 15:46:22,171 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 15:46:22,171 - 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-04-22 15:46:22,433 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-22 15:46:22,433 - INFO - Initial checks done. Running the testcase now 2025-04-22 15:46:22,433 - INFO - 2025-04-22 15:46:22,959 - DEBUG - Response for create_network : {'network': {'id': '0f2861db-1081-446a-a972-4674a4d2859d', 'name': 'ctest-vn-83523229', 'tenant_id': '264941a3713642cd990afc624c9a093e', 'project_id': '264941a3713642cd990afc624c9a093e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84269248', 'ctest-vn-83523229'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 15:46:23,154 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3629af5-6cc9-420e-a4bb-67a5798bf8db', 'name': '', 'tenant_id': '264941a3713642cd990afc624c9a093e', 'network_id': '0f2861db-1081-446a-a972-4674a4d2859d', 'ip_version': 4, 'cidr': '178.30.232.64/26', 'allocation_pools': [{'start': '178.30.232.66', 'end': '178.30.232.126'}], 'gateway_ip': '178.30.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.30.232.66', 'tags': [], 'project_id': '264941a3713642cd990afc624c9a093e'}} 2025-04-22 15:46:23,170 - INFO - Created VN ctest-vn-83523229 2025-04-22 15:46:23,220 - DEBUG - VN ctest-vn-83523229 UUID is 0f2861db-1081-446a-a972-4674a4d2859d 2025-04-22 15:46:23,538 - DEBUG - Response for create_network : {'network': {'id': 'b32847f4-5311-45f1-856a-ca4415923c6d', 'name': 'ctest-vn-02426616', 'tenant_id': '264941a3713642cd990afc624c9a093e', 'project_id': '264941a3713642cd990afc624c9a093e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84269248', 'ctest-vn-02426616'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 15:46:23,690 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b41ff65-a6d3-4014-99f6-245e9248b0b6', 'name': '', 'tenant_id': '264941a3713642cd990afc624c9a093e', 'network_id': 'b32847f4-5311-45f1-856a-ca4415923c6d', 'ip_version': 4, 'cidr': '95.133.154.0/26', 'allocation_pools': [{'start': '95.133.154.2', 'end': '95.133.154.62'}], 'gateway_ip': '95.133.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.133.154.2', 'tags': [], 'project_id': '264941a3713642cd990afc624c9a093e'}} 2025-04-22 15:46:23,707 - INFO - Created VN ctest-vn-02426616 2025-04-22 15:46:23,760 - DEBUG - VN ctest-vn-02426616 UUID is b32847f4-5311-45f1-856a-ca4415923c6d 2025-04-22 15:46:23,928 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-83523229, 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-84269248:ctest-vn-02426616, 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-04-22 15:46:24,224 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f2861db-1081-446a-a972-4674a4d2859d', 'name': 'ctest-vn-83523229', 'tenant_id': '264941a3713642cd990afc624c9a093e', 'project_id': '264941a3713642cd990afc624c9a093e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3629af5-6cc9-420e-a4bb-67a5798bf8db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84269248', 'ctest-vn-83523229'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84269248', 'ctest-policy-allow-all-74392146']], 'subnet_ipam': [{'subnet_cidr': '178.30.232.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 15:46:24,449 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b32847f4-5311-45f1-856a-ca4415923c6d', 'name': 'ctest-vn-02426616', 'tenant_id': '264941a3713642cd990afc624c9a093e', 'project_id': '264941a3713642cd990afc624c9a093e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b41ff65-a6d3-4014-99f6-245e9248b0b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84269248', 'ctest-vn-02426616'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84269248', 'ctest-policy-allow-all-74392146']], 'subnet_ipam': [{'subnet_cidr': '95.133.154.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 15:46:24,612 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 15:46:24,915 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 15:46:24,942 - DEBUG - Requesting: http://10.0.0.38:8082/domain/968729ae-3dae-474c-be26-05638ad7155f 2025-04-22 15:46:24,956 - DEBUG - Requesting: http://10.0.0.38:8082/project/264941a3-7136-42cd-990a-fc624c9a093e 2025-04-22 15:46:25,029 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2861db-1081-446a-a972-4674a4d2859d 2025-04-22 15:46:25,039 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2861db-1081-446a-a972-4674a4d2859d 2025-04-22 15:46:25,048 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b284439-5512-42e1-ae4b-52705bb07f65 2025-04-22 15:46:25,054 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b284439-5512-42e1-ae4b-52705bb07f65 2025-04-22 15:46:25,061 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e3fd2114-97a1-488d-ad09-08c3d5d635c8 2025-04-22 15:46:25,067 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 15:46:25,067 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2861db-1081-446a-a972-4674a4d2859d 2025-04-22 15:46:25,075 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b284439-5512-42e1-ae4b-52705bb07f65 2025-04-22 15:46:25,087 - INFO - Verified VN network id 8 for VN 0f2861db-1081-446a-a972-4674a4d2859d 2025-04-22 15:46:25,087 - INFO - Verifications in API Server for VN ctest-vn-83523229 passed 2025-04-22 15:46:25,087 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2861db-1081-446a-a972-4674a4d2859d 2025-04-22 15:46:25,096 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b284439-5512-42e1-ae4b-52705bb07f65 2025-04-22 15:46:25,102 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b284439-5512-42e1-ae4b-52705bb07f65 2025-04-22 15:46:25,108 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e3fd2114-97a1-488d-ad09-08c3d5d635c8 2025-04-22 15:46:25,118 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-83523229', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84269248', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1092230503139984490', 'uuid-lslong': '12209899006550246813'}, 'enable': 'true', 'created': '2025-04-22T15:46:22', 'last-modified': '2025-04-22T15:46:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.917803'} 2025-04-22 15:46:25,125 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 15:46:25,125 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83523229 passed 2025-04-22 15:46:25,125 - DEBUG - ====Verifying policy data for ctest-vn-83523229 in API_Server ====== 2025-04-22 15:46:25,125 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 15:46:25,130 - DEBUG - Requesting: http://10.0.0.38:8082/domain/968729ae-3dae-474c-be26-05638ad7155f 2025-04-22 15:46:25,141 - DEBUG - Requesting: http://10.0.0.38:8082/project/264941a3-7136-42cd-990a-fc624c9a093e 2025-04-22 15:46:25,209 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0f2861db-1081-446a-a972-4674a4d2859d 2025-04-22 15:46:25,218 - DEBUG - ==>Verifying data for policy with id: 31647bcf-1eb9-4d0a-aac8-68e2256ec7b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-84269248', 'ctest-policy-allow-all-74392146'] 2025-04-22 15:46:25,218 - INFO - VN ctest-vn-83523229 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 15:46:25,218 - DEBUG - Verifying the vn in opserver 2025-04-22 15:46:25,219 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-83523229 virtual network link through opserver 10.0.0.38 2025-04-22 15:46:25,219 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-22 15:46:25,508 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-22 15:46:25,559 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-83523229', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-83523229?flat'} 2025-04-22 15:46:25,559 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-83523229 is found in opserver 2025-04-22 15:46:25,569 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 15:46:25,575 - DEBUG - VRF ids for VN ctest-vn-83523229: {} 2025-04-22 15:46:25,575 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 15:46:25,581 - DEBUG - Requesting: http://10.0.0.38:8082/domain/968729ae-3dae-474c-be26-05638ad7155f 2025-04-22 15:46:25,594 - DEBUG - Requesting: http://10.0.0.38:8082/project/264941a3-7136-42cd-990a-fc624c9a093e 2025-04-22 15:46:25,666 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b32847f4-5311-45f1-856a-ca4415923c6d 2025-04-22 15:46:25,678 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b32847f4-5311-45f1-856a-ca4415923c6d 2025-04-22 15:46:25,688 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3b82a6f-7e11-4a47-b118-bb2a0031aaab 2025-04-22 15:46:25,696 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3b82a6f-7e11-4a47-b118-bb2a0031aaab 2025-04-22 15:46:25,703 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/822e52e2-415e-4d4c-8ac0-33027867920d 2025-04-22 15:46:25,710 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 15:46:25,710 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b32847f4-5311-45f1-856a-ca4415923c6d 2025-04-22 15:46:25,719 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3b82a6f-7e11-4a47-b118-bb2a0031aaab 2025-04-22 15:46:25,732 - INFO - Verified VN network id 9 for VN b32847f4-5311-45f1-856a-ca4415923c6d 2025-04-22 15:46:25,732 - INFO - Verifications in API Server for VN ctest-vn-02426616 passed 2025-04-22 15:46:25,732 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b32847f4-5311-45f1-856a-ca4415923c6d 2025-04-22 15:46:25,741 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3b82a6f-7e11-4a47-b118-bb2a0031aaab 2025-04-22 15:46:25,748 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3b82a6f-7e11-4a47-b118-bb2a0031aaab 2025-04-22 15:46:25,755 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/822e52e2-415e-4d4c-8ac0-33027867920d 2025-04-22 15:46:25,768 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-02426616', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84269248', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12909647446548760049', 'uuid-lslong': '9613718748344237165'}, 'enable': 'true', 'created': '2025-04-22T15:46:23', 'last-modified': '2025-04-22T15:46:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.342665'} 2025-04-22 15:46:25,774 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 15:46:25,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02426616 passed 2025-04-22 15:46:25,774 - DEBUG - ====Verifying policy data for ctest-vn-02426616 in API_Server ====== 2025-04-22 15:46:25,774 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 15:46:25,780 - DEBUG - Requesting: http://10.0.0.38:8082/domain/968729ae-3dae-474c-be26-05638ad7155f 2025-04-22 15:46:25,791 - DEBUG - Requesting: http://10.0.0.38:8082/project/264941a3-7136-42cd-990a-fc624c9a093e 2025-04-22 15:46:25,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b32847f4-5311-45f1-856a-ca4415923c6d 2025-04-22 15:46:25,874 - DEBUG - ==>Verifying data for policy with id: 31647bcf-1eb9-4d0a-aac8-68e2256ec7b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-84269248', 'ctest-policy-allow-all-74392146'] 2025-04-22 15:46:25,874 - INFO - VN ctest-vn-02426616 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 15:46:25,874 - DEBUG - Verifying the vn in opserver 2025-04-22 15:46:25,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-02426616 virtual network link through opserver 10.0.0.38 2025-04-22 15:46:25,874 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-22 15:46:25,884 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-02426616', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-02426616?flat'} 2025-04-22 15:46:25,884 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-02426616 is found in opserver 2025-04-22 15:46:25,895 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 15:46:25,900 - DEBUG - VRF ids for VN ctest-vn-02426616: {} 2025-04-22 15:46:25,953 - DEBUG - Services list from nova: [, , ] 2025-04-22 15:46:26,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3166-1) 2025-04-22 15:46:28,123 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3166-1) 2025-04-22 15:46:28,123 - INFO - Waiting for VM ctest-TestBasicPolicy-84269248-18563899 to be up.. 2025-04-22 15:46:28,200 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 15:46:33,283 - DEBUG - VM is in ACTIVE state now 2025-04-22 15:46:33,283 - INFO - VM name : ctest-TestBasicPolicy-84269248-18563899 2025-04-22 15:46:33,359 - DEBUG - VM ctest-TestBasicPolicy-84269248-18563899 ID is 4c3fd26e-a9eb-425c-8852-3b3d381a282d 2025-04-22 15:46:33,377 - DEBUG - VM ctest-TestBasicPolicy-84269248-18563899 launched on Node cn-jenkins-deploy-platform-ansible-os-3166-1 2025-04-22 15:46:33,450 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4c3fd26e-a9eb-425c-8852-3b3d381a282d 2025-04-22 15:46:33,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/12dd5808-d6c9-48a8-b213-607a518c9a00 2025-04-22 15:46:36,691 - 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 1003ms') 2025-04-22 15:46:36,692 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84269248-18563899 failed! 2025-04-22 15:46:36,756 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84269248:ctest-vn-83523229 is 178.30.232.65 and allocation pool is NOT set 2025-04-22 15:46:38,814 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.431/1.753/3.076/1.322 ms') 2025-04-22 15:46:38,814 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84269248-18563899 passed 2025-04-22 15:46:38,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 15:46:38,968 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84269248-18563899, IP 178.30.232.67, Port 22 2025-04-22 15:46:39,123 - DEBUG - VM ctest-TestBasicPolicy-84269248-18563899 is ready for SSH connections 2025-04-22 15:46:39,123 - INFO - Waiting for VM ctest-TestBasicPolicy-84269248-53490314 to be up.. 2025-04-22 15:46:39,197 - DEBUG - VM is in ACTIVE state now 2025-04-22 15:46:39,197 - INFO - VM name : ctest-TestBasicPolicy-84269248-53490314 2025-04-22 15:46:39,275 - DEBUG - VM ctest-TestBasicPolicy-84269248-53490314 ID is ca63bdcb-d53e-4e97-a793-da67910a551d 2025-04-22 15:46:39,275 - DEBUG - VM ctest-TestBasicPolicy-84269248-53490314 launched on Node cn-jenkins-deploy-platform-ansible-os-3166-1 2025-04-22 15:46:39,345 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ca63bdcb-d53e-4e97-a793-da67910a551d 2025-04-22 15:46:39,353 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5f04bd02-dfb3-45a3-b208-000a62f336de 2025-04-22 15:46:40,600 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.755 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.755/2.061/3.368/1.306 ms') 2025-04-22 15:46:40,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84269248-53490314 passed 2025-04-22 15:46:40,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 15:46:40,752 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84269248-53490314, IP 95.133.154.3, Port 22 2025-04-22 15:46:40,908 - DEBUG - VM ctest-TestBasicPolicy-84269248-53490314 is ready for SSH connections 2025-04-22 15:46:40,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 15:46:40,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.133.154.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-22 15:46:40,908 - DEBUG - ping -s 56 -c 3 -W 1 95.133.154.3 2025-04-22 15:46:44,572 - DEBUG - PING 95.133.154.3 (95.133.154.3): 56 data bytes 64 bytes from 95.133.154.3: seq=0 ttl=63 time=3.334 ms 64 bytes from 95.133.154.3: seq=1 ttl=63 time=0.821 ms 64 bytes from 95.133.154.3: seq=2 ttl=63 time=0.769 ms --- 95.133.154.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.641/3.334 ms 2025-04-22 15:46:44,572 - INFO - Ping to IP 95.133.154.3 from VM ctest-TestBasicPolicy-84269248-18563899 passed 2025-04-22 15:46:44,760 - DEBUG - Policy Update Response {"network-policy": {"uuid": "31647bcf-1eb9-4d0a-aac8-68e2256ec7b5", "href": "http://10.0.0.38:8082/network-policy/31647bcf-1eb9-4d0a-aac8-68e2256ec7b5"}} 2025-04-22 15:46:44,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 15:46:44,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.133.154.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-22 15:46:44,760 - DEBUG - ping -s 56 -c 3 -W 1 95.133.154.3 2025-04-22 15:46:47,995 - DEBUG - PING 95.133.154.3 (95.133.154.3): 56 data bytes --- 95.133.154.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-22 15:46:47,995 - WARNING - Ping to IP 95.133.154.3 from VM ctest-TestBasicPolicy-84269248-18563899 failed 2025-04-22 15:46:47,995 - INFO - Deleting VM ctest-TestBasicPolicy-84269248-53490314 2025-04-22 15:46:48,065 - INFO - Deleting VM ctest-TestBasicPolicy-84269248-18563899 2025-04-22 15:46:48,430 - INFO - Deleted policy ctest-policy-allow-all-74392146 2025-04-22 15:46:48,430 - INFO - Deleting VN ctest-vn-02426616 2025-04-22 15:46:48,465 - DEBUG - VN b32847f4-5311-45f1-856a-ca4415923c6d still in use: Unable to complete operation on network b32847f4-5311-45f1-856a-ca4415923c6d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a2c2fd6e-9d98-45ad-a563-71cf1ea92141'] 2025-04-22 15:46:48,465 - WARNING - Deleting VN ctest-vn-02426616 failed..Will retry 2025-04-22 15:46:50,565 - DEBUG - Response for deleting network () 2025-04-22 15:46:50,565 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f3b82a6f-7e11-4a47-b118-bb2a0031aaab 2025-04-22 15:46:50,571 - DEBUG - Response Code: 404 2025-04-22 15:46:50,571 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 15:46:50,577 - DEBUG - Requesting: http://10.0.0.38:8082/domain/968729ae-3dae-474c-be26-05638ad7155f 2025-04-22 15:46:50,629 - DEBUG - Requesting: http://10.0.0.38:8082/project/264941a3-7136-42cd-990a-fc624c9a093e 2025-04-22 15:46:50,701 - INFO - Validated that VN ctest-vn-02426616 is not found in API Server 2025-04-22 15:46:50,712 - DEBUG - VN ctest-vn-02426616 is not present in Agent 10.0.0.38 2025-04-22 15:46:50,712 - INFO - Validated that VN ctest-vn-02426616 is not in any agent 2025-04-22 15:46:50,726 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02426616 info 2025-04-22 15:46:50,726 - INFO - Deleting VN ctest-vn-83523229 2025-04-22 15:46:50,824 - DEBUG - Response for deleting network () 2025-04-22 15:46:50,824 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b284439-5512-42e1-ae4b-52705bb07f65 2025-04-22 15:46:50,830 - DEBUG - Response Code: 404 2025-04-22 15:46:50,830 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-22 15:46:50,840 - DEBUG - Requesting: http://10.0.0.38:8082/domain/968729ae-3dae-474c-be26-05638ad7155f 2025-04-22 15:46:50,897 - DEBUG - Requesting: http://10.0.0.38:8082/project/264941a3-7136-42cd-990a-fc624c9a093e 2025-04-22 15:46:50,971 - INFO - Validated that VN ctest-vn-83523229 is not found in API Server 2025-04-22 15:46:50,982 - DEBUG - VN ctest-vn-83523229 is not present in Agent 10.0.0.38 2025-04-22 15:46:50,982 - INFO - Validated that VN ctest-vn-83523229 is not in any agent 2025-04-22 15:46:50,997 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83523229 info 2025-04-22 15:46:51,249 - DEBUG - No XMPP flaps were noticed during the test 2025-04-22 15:46:51,249 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-22 15:46:51,249 - INFO - -------------------------------------------------------------------------------- 2025-04-22 15:46:51,908 - INFO - Deleted project: ctest-TestBasicPolicy-84269248, ID : 264941a3-7136-42cd-990a-fc624c9a093e