2025-08-12 16:34:37,187 - INFO - Domain Default found not creating 2025-08-12 16:34:37,303 - INFO - Project ctest-TestBasicPolicy-24580981 not found, creating it 2025-08-12 16:34:37,738 - INFO - Created Project:ctest-TestBasicPolicy-24580981, ID : bf60d4b3-b475-42f2-9361-1b58e927640a 2025-08-12 16:34:39,116 - INFO - ================================================================================ 2025-08-12 16:34:39,116 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-12 16:34:39,116 - 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-08-12 16:34:39,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-12 16:34:39,371 - INFO - Initial checks done. Running the testcase now 2025-08-12 16:34:39,371 - INFO - 2025-08-12 16:34:39,881 - DEBUG - Response for create_network : {'network': {'id': 'c6877f6a-38bb-43d2-a42b-fd2588e30ace', 'name': 'ctest-vn-04129467', 'tenant_id': 'bf60d4b3b47542f293611b58e927640a', 'project_id': 'bf60d4b3b47542f293611b58e927640a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24580981', 'ctest-vn-04129467'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:34:40,042 - DEBUG - Response for create_subnet : {'subnet': {'id': '8976ab2b-0544-4a79-b594-97562a808318', 'name': '', 'tenant_id': 'bf60d4b3b47542f293611b58e927640a', 'network_id': 'c6877f6a-38bb-43d2-a42b-fd2588e30ace', 'ip_version': 4, 'cidr': '17.207.120.0/26', 'allocation_pools': [{'start': '17.207.120.2', 'end': '17.207.120.62'}], 'gateway_ip': '17.207.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.207.120.2', 'tags': [], 'project_id': 'bf60d4b3b47542f293611b58e927640a'}} 2025-08-12 16:34:40,057 - INFO - Created VN ctest-vn-04129467 2025-08-12 16:34:40,110 - DEBUG - VN ctest-vn-04129467 UUID is c6877f6a-38bb-43d2-a42b-fd2588e30ace 2025-08-12 16:34:40,413 - DEBUG - Response for create_network : {'network': {'id': '465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea', 'name': 'ctest-vn-53037584', 'tenant_id': 'bf60d4b3b47542f293611b58e927640a', 'project_id': 'bf60d4b3b47542f293611b58e927640a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24580981', 'ctest-vn-53037584'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:34:40,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e9576c6-640d-479c-8c76-b662797dc05d', 'name': '', 'tenant_id': 'bf60d4b3b47542f293611b58e927640a', 'network_id': '465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea', 'ip_version': 4, 'cidr': '99.251.172.64/26', 'allocation_pools': [{'start': '99.251.172.66', 'end': '99.251.172.126'}], 'gateway_ip': '99.251.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.251.172.66', 'tags': [], 'project_id': 'bf60d4b3b47542f293611b58e927640a'}} 2025-08-12 16:34:40,611 - INFO - Created VN ctest-vn-53037584 2025-08-12 16:34:40,662 - DEBUG - VN ctest-vn-53037584 UUID is 465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea 2025-08-12 16:34:40,805 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-04129467, 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-24580981:ctest-vn-53037584, 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-08-12 16:34:41,088 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6877f6a-38bb-43d2-a42b-fd2588e30ace', 'name': 'ctest-vn-04129467', 'tenant_id': 'bf60d4b3b47542f293611b58e927640a', 'project_id': 'bf60d4b3b47542f293611b58e927640a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8976ab2b-0544-4a79-b594-97562a808318'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24580981', 'ctest-vn-04129467'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24580981', 'ctest-policy-allow-all-71958433']], 'subnet_ipam': [{'subnet_cidr': '17.207.120.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:34:41,318 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea', 'name': 'ctest-vn-53037584', 'tenant_id': 'bf60d4b3b47542f293611b58e927640a', 'project_id': 'bf60d4b3b47542f293611b58e927640a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0e9576c6-640d-479c-8c76-b662797dc05d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24580981', 'ctest-vn-53037584'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24580981', 'ctest-policy-allow-all-71958433']], 'subnet_ipam': [{'subnet_cidr': '99.251.172.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:34:41,470 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 16:34:41,760 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 16:34:41,786 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3eb6089a-0f0d-4d39-a57e-fc885ba675d3 2025-08-12 16:34:41,803 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf60d4b3-b475-42f2-9361-1b58e927640a 2025-08-12 16:34:41,875 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c6877f6a-38bb-43d2-a42b-fd2588e30ace 2025-08-12 16:34:41,885 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c6877f6a-38bb-43d2-a42b-fd2588e30ace 2025-08-12 16:34:41,894 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/578b344c-5444-4d86-800c-731edd5f478c 2025-08-12 16:34:41,900 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/578b344c-5444-4d86-800c-731edd5f478c 2025-08-12 16:34:41,906 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7cdcc199-bd4d-4508-9986-4a7931805957 2025-08-12 16:34:41,912 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 16:34:41,912 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c6877f6a-38bb-43d2-a42b-fd2588e30ace 2025-08-12 16:34:41,920 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/578b344c-5444-4d86-800c-731edd5f478c 2025-08-12 16:34:41,932 - INFO - Verified VN network id 11 for VN c6877f6a-38bb-43d2-a42b-fd2588e30ace 2025-08-12 16:34:41,932 - INFO - Verifications in API Server for VN ctest-vn-04129467 passed 2025-08-12 16:34:41,932 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c6877f6a-38bb-43d2-a42b-fd2588e30ace 2025-08-12 16:34:41,941 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/578b344c-5444-4d86-800c-731edd5f478c 2025-08-12 16:34:41,947 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/578b344c-5444-4d86-800c-731edd5f478c 2025-08-12 16:34:41,953 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7cdcc199-bd4d-4508-9986-4a7931805957 2025-08-12 16:34:41,964 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-04129467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24580981', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14305542835560727506', 'uuid-lslong': '11829827183870937806'}, 'enable': 'true', 'created': '2025-08-12T16:34:39', 'last-modified': '2025-08-12T16:34:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897617'} 2025-08-12 16:34:41,970 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 16:34:41,970 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04129467 passed 2025-08-12 16:34:41,970 - DEBUG - ====Verifying policy data for ctest-vn-04129467 in API_Server ====== 2025-08-12 16:34:41,970 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 16:34:41,975 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3eb6089a-0f0d-4d39-a57e-fc885ba675d3 2025-08-12 16:34:41,984 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf60d4b3-b475-42f2-9361-1b58e927640a 2025-08-12 16:34:42,060 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c6877f6a-38bb-43d2-a42b-fd2588e30ace 2025-08-12 16:34:42,069 - DEBUG - ==>Verifying data for policy with id: 2ffa284e-32ac-4d82-bc12-dad5685523fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-24580981', 'ctest-policy-allow-all-71958433'] 2025-08-12 16:34:42,069 - INFO - VN ctest-vn-04129467 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 16:34:42,069 - DEBUG - Verifying the vn in opserver 2025-08-12 16:34:42,069 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-04129467 virtual network link through opserver 10.0.0.254 2025-08-12 16:34:42,069 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-12 16:34:42,358 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-12 16:34:42,408 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-04129467', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-04129467?flat'} 2025-08-12 16:34:42,408 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-04129467 is found in opserver 2025-08-12 16:34:42,419 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 16:34:42,424 - DEBUG - VRF ids for VN ctest-vn-04129467: {} 2025-08-12 16:34:42,424 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 16:34:42,429 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3eb6089a-0f0d-4d39-a57e-fc885ba675d3 2025-08-12 16:34:42,439 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf60d4b3-b475-42f2-9361-1b58e927640a 2025-08-12 16:34:42,505 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea 2025-08-12 16:34:42,515 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea 2025-08-12 16:34:42,523 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5cc6a348-9ae1-4b8c-873a-ca4a6819009f 2025-08-12 16:34:42,529 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5cc6a348-9ae1-4b8c-873a-ca4a6819009f 2025-08-12 16:34:42,535 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9693505c-9fc1-47da-aa3a-fdc86fd7fe82 2025-08-12 16:34:42,540 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 16:34:42,540 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea 2025-08-12 16:34:42,548 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5cc6a348-9ae1-4b8c-873a-ca4a6819009f 2025-08-12 16:34:42,566 - INFO - Verified VN network id 12 for VN 465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea 2025-08-12 16:34:42,566 - INFO - Verifications in API Server for VN ctest-vn-53037584 passed 2025-08-12 16:34:42,566 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea 2025-08-12 16:34:42,576 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5cc6a348-9ae1-4b8c-873a-ca4a6819009f 2025-08-12 16:34:42,582 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5cc6a348-9ae1-4b8c-873a-ca4a6819009f 2025-08-12 16:34:42,588 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9693505c-9fc1-47da-aa3a-fdc86fd7fe82 2025-08-12 16:34:42,599 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-53037584', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24580981', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5070504863934336867', 'uuid-lslong': '13082331736748188138'}, 'enable': 'true', 'created': '2025-08-12T16:34:40', 'last-modified': '2025-08-12T16:34:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.304661'} 2025-08-12 16:34:42,606 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 16:34:42,606 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53037584 passed 2025-08-12 16:34:42,606 - DEBUG - ====Verifying policy data for ctest-vn-53037584 in API_Server ====== 2025-08-12 16:34:42,606 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 16:34:42,610 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3eb6089a-0f0d-4d39-a57e-fc885ba675d3 2025-08-12 16:34:42,620 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf60d4b3-b475-42f2-9361-1b58e927640a 2025-08-12 16:34:42,710 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea 2025-08-12 16:34:42,722 - DEBUG - ==>Verifying data for policy with id: 2ffa284e-32ac-4d82-bc12-dad5685523fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-24580981', 'ctest-policy-allow-all-71958433'] 2025-08-12 16:34:42,722 - INFO - VN ctest-vn-53037584 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 16:34:42,722 - DEBUG - Verifying the vn in opserver 2025-08-12 16:34:42,722 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-53037584 virtual network link through opserver 10.0.0.254 2025-08-12 16:34:42,722 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-12 16:34:42,732 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-53037584', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-53037584?flat'} 2025-08-12 16:34:42,732 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-53037584 is found in opserver 2025-08-12 16:34:42,744 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 16:34:42,748 - DEBUG - VRF ids for VN ctest-vn-53037584: {} 2025-08-12 16:34:42,796 - DEBUG - Services list from nova: [, , ] 2025-08-12 16:34:43,753 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3834-1) 2025-08-12 16:34:44,796 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3834-1) 2025-08-12 16:34:44,797 - INFO - Waiting for VM ctest-TestBasicPolicy-24580981-81180706 to be up.. 2025-08-12 16:34:44,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 16:34:49,938 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:34:49,938 - INFO - VM name : ctest-TestBasicPolicy-24580981-81180706 2025-08-12 16:34:50,000 - DEBUG - VM ctest-TestBasicPolicy-24580981-81180706 ID is cbaccfa5-7a0c-4c1c-9ce8-ab523a7014f8 2025-08-12 16:34:50,016 - DEBUG - VM ctest-TestBasicPolicy-24580981-81180706 launched on Node cn-jenkins-deploy-platform-ansible-os-3834-1 2025-08-12 16:34:50,073 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cbaccfa5-7a0c-4c1c-9ce8-ab523a7014f8 2025-08-12 16:34:50,081 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/58723073-71bd-4165-a116-8a4671aa69e5 2025-08-12 16:34:53,334 - 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 1019ms') 2025-08-12 16:34:53,334 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24580981-81180706 failed! 2025-08-12 16:34:53,386 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24580981:ctest-vn-04129467 is 17.207.120.1 and allocation pool is NOT set 2025-08-12 16:34:55,441 - 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=2.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.329 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 = 0.329/1.557/2.786/1.228 ms') 2025-08-12 16:34:55,441 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24580981-81180706 passed 2025-08-12 16:34:55,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:34:55,602 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24580981-81180706, IP 17.207.120.3, Port 22 2025-08-12 16:34:55,757 - DEBUG - VM ctest-TestBasicPolicy-24580981-81180706 is ready for SSH connections 2025-08-12 16:34:55,757 - INFO - Waiting for VM ctest-TestBasicPolicy-24580981-26088313 to be up.. 2025-08-12 16:34:55,824 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:34:55,824 - INFO - VM name : ctest-TestBasicPolicy-24580981-26088313 2025-08-12 16:34:55,888 - DEBUG - VM ctest-TestBasicPolicy-24580981-26088313 ID is 36f18e82-cd51-4242-bba9-e053b4fe5e1e 2025-08-12 16:34:55,889 - DEBUG - VM ctest-TestBasicPolicy-24580981-26088313 launched on Node cn-jenkins-deploy-platform-ansible-os-3834-1 2025-08-12 16:34:55,948 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/36f18e82-cd51-4242-bba9-e053b4fe5e1e 2025-08-12 16:34:55,957 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c14a454e-7f7c-4368-9ee9-68263fa24e48 2025-08-12 16:34:57,190 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.310 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.310/1.458/2.606/1.148 ms') 2025-08-12 16:34:57,190 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24580981-26088313 passed 2025-08-12 16:34:57,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:34:57,346 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24580981-26088313, IP 99.251.172.67, Port 22 2025-08-12 16:34:57,497 - DEBUG - VM ctest-TestBasicPolicy-24580981-26088313 is ready for SSH connections 2025-08-12 16:34:57,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:34:57,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.251.172.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 16:34:57,497 - DEBUG - ping -s 56 -c 3 -W 1 99.251.172.67 2025-08-12 16:35:01,425 - DEBUG - PING 99.251.172.67 (99.251.172.67): 56 data bytes 64 bytes from 99.251.172.67: seq=0 ttl=63 time=3.207 ms 64 bytes from 99.251.172.67: seq=1 ttl=63 time=0.734 ms 64 bytes from 99.251.172.67: seq=2 ttl=63 time=0.746 ms --- 99.251.172.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/1.562/3.207 ms 2025-08-12 16:35:01,425 - INFO - Ping to IP 99.251.172.67 from VM ctest-TestBasicPolicy-24580981-81180706 passed 2025-08-12 16:35:01,597 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2ffa284e-32ac-4d82-bc12-dad5685523fb", "href": "http://10.0.0.254:8082/network-policy/2ffa284e-32ac-4d82-bc12-dad5685523fb"}} 2025-08-12 16:35:01,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:35:01,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.251.172.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 16:35:01,598 - DEBUG - ping -s 56 -c 3 -W 1 99.251.172.67 2025-08-12 16:35:04,783 - DEBUG - PING 99.251.172.67 (99.251.172.67): 56 data bytes 64 bytes from 99.251.172.67: seq=0 ttl=63 time=1.575 ms --- 99.251.172.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.575/1.575/1.575 ms 2025-08-12 16:35:04,783 - WARNING - Ping to IP 99.251.172.67 from VM ctest-TestBasicPolicy-24580981-81180706 failed 2025-08-12 16:35:04,783 - INFO - Deleting VM ctest-TestBasicPolicy-24580981-26088313 2025-08-12 16:35:04,840 - INFO - Deleting VM ctest-TestBasicPolicy-24580981-81180706 2025-08-12 16:35:05,183 - INFO - Deleted policy ctest-policy-allow-all-71958433 2025-08-12 16:35:05,183 - INFO - Deleting VN ctest-vn-53037584 2025-08-12 16:35:05,214 - DEBUG - VN 465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea still in use: Unable to complete operation on network 465e0d4f-1eb2-4f63-b58d-c766c2b1e1ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c29c2e4-c730-49b3-ad07-e1fa8db241f4'] 2025-08-12 16:35:05,214 - WARNING - Deleting VN ctest-vn-53037584 failed..Will retry 2025-08-12 16:35:07,309 - DEBUG - Response for deleting network () 2025-08-12 16:35:07,309 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5cc6a348-9ae1-4b8c-873a-ca4a6819009f 2025-08-12 16:35:07,315 - DEBUG - Response Code: 404 2025-08-12 16:35:07,315 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 16:35:07,319 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3eb6089a-0f0d-4d39-a57e-fc885ba675d3 2025-08-12 16:35:07,370 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf60d4b3-b475-42f2-9361-1b58e927640a 2025-08-12 16:35:07,439 - INFO - Validated that VN ctest-vn-53037584 is not found in API Server 2025-08-12 16:35:07,449 - DEBUG - VN ctest-vn-53037584 is not present in Agent 10.0.0.254 2025-08-12 16:35:07,449 - INFO - Validated that VN ctest-vn-53037584 is not in any agent 2025-08-12 16:35:07,463 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53037584 info 2025-08-12 16:35:07,463 - INFO - Deleting VN ctest-vn-04129467 2025-08-12 16:35:07,558 - DEBUG - Response for deleting network () 2025-08-12 16:35:07,558 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/578b344c-5444-4d86-800c-731edd5f478c 2025-08-12 16:35:07,563 - DEBUG - Response Code: 404 2025-08-12 16:35:07,563 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-12 16:35:07,568 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3eb6089a-0f0d-4d39-a57e-fc885ba675d3 2025-08-12 16:35:07,622 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf60d4b3-b475-42f2-9361-1b58e927640a 2025-08-12 16:35:07,689 - INFO - Validated that VN ctest-vn-04129467 is not found in API Server 2025-08-12 16:35:07,699 - DEBUG - VN ctest-vn-04129467 is not present in Agent 10.0.0.254 2025-08-12 16:35:07,699 - INFO - Validated that VN ctest-vn-04129467 is not in any agent 2025-08-12 16:35:07,713 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04129467 info 2025-08-12 16:35:07,962 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 16:35:07,962 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-08-12 16:35:07,962 - INFO - -------------------------------------------------------------------------------- 2025-08-12 16:35:08,599 - INFO - Deleted project: ctest-TestBasicPolicy-24580981, ID : bf60d4b3-b475-42f2-9361-1b58e927640a