2025-02-11 22:10:36,658 - INFO - Domain Default found not creating 2025-02-11 22:10:36,836 - INFO - Project ctest-TestBasicPolicy-75635668 not found, creating it 2025-02-11 22:10:37,318 - INFO - Created Project:ctest-TestBasicPolicy-75635668, ID : 08336013-b998-4a7b-937e-aff551d310e0 2025-02-11 22:10:38,975 - INFO - ================================================================================ 2025-02-11 22:10:38,975 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-11 22:10:38,975 - 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-02-11 22:10:39,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.7': '0'}} with 2025-02-11 22:10:39,233 - INFO - Initial checks done. Running the testcase now 2025-02-11 22:10:39,233 - INFO - 2025-02-11 22:10:39,838 - DEBUG - Response for create_network : {'network': {'id': '89549dc6-fef0-4623-bd9b-9f797506af16', 'name': 'ctest-vn-58689379', 'tenant_id': '08336013b9984a7b937eaff551d310e0', 'project_id': '08336013b9984a7b937eaff551d310e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75635668', 'ctest-vn-58689379'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 22:10:40,046 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf68fe83-386c-4f88-ab46-28de0e5f8481', 'name': '', 'tenant_id': '08336013b9984a7b937eaff551d310e0', 'network_id': '89549dc6-fef0-4623-bd9b-9f797506af16', 'ip_version': 4, 'cidr': '51.88.33.192/26', 'allocation_pools': [{'start': '51.88.33.194', 'end': '51.88.33.254'}], 'gateway_ip': '51.88.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.88.33.194', 'tags': [], 'project_id': '08336013b9984a7b937eaff551d310e0'}} 2025-02-11 22:10:40,067 - INFO - Created VN ctest-vn-58689379 2025-02-11 22:10:40,122 - DEBUG - VN ctest-vn-58689379 UUID is 89549dc6-fef0-4623-bd9b-9f797506af16 2025-02-11 22:10:40,445 - DEBUG - Response for create_network : {'network': {'id': '2ec80886-45d1-41eb-9eba-e675b679c0d6', 'name': 'ctest-vn-46205302', 'tenant_id': '08336013b9984a7b937eaff551d310e0', 'project_id': '08336013b9984a7b937eaff551d310e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75635668', 'ctest-vn-46205302'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 22:10:40,625 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cde3b987-669d-4c2e-a18a-997d03d3b292', 'name': '', 'tenant_id': '08336013b9984a7b937eaff551d310e0', 'network_id': '2ec80886-45d1-41eb-9eba-e675b679c0d6', 'ip_version': 4, 'cidr': '200.187.229.128/26', 'allocation_pools': [{'start': '200.187.229.130', 'end': '200.187.229.190'}], 'gateway_ip': '200.187.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.187.229.130', 'tags': [], 'project_id': '08336013b9984a7b937eaff551d310e0'}} 2025-02-11 22:10:40,643 - INFO - Created VN ctest-vn-46205302 2025-02-11 22:10:40,698 - DEBUG - VN ctest-vn-46205302 UUID is 2ec80886-45d1-41eb-9eba-e675b679c0d6 2025-02-11 22:10:40,816 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-58689379, 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-75635668:ctest-vn-46205302, 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-02-11 22:10:41,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89549dc6-fef0-4623-bd9b-9f797506af16', 'name': 'ctest-vn-58689379', 'tenant_id': '08336013b9984a7b937eaff551d310e0', 'project_id': '08336013b9984a7b937eaff551d310e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf68fe83-386c-4f88-ab46-28de0e5f8481'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75635668', 'ctest-vn-58689379'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75635668', 'ctest-policy-allow-all-07623648']], 'subnet_ipam': [{'subnet_cidr': '51.88.33.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 22:10:41,377 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ec80886-45d1-41eb-9eba-e675b679c0d6', 'name': 'ctest-vn-46205302', 'tenant_id': '08336013b9984a7b937eaff551d310e0', 'project_id': '08336013b9984a7b937eaff551d310e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cde3b987-669d-4c2e-a18a-997d03d3b292'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75635668', 'ctest-vn-46205302'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75635668', 'ctest-policy-allow-all-07623648']], 'subnet_ipam': [{'subnet_cidr': '200.187.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 22:10:41,554 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-11 22:10:41,897 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-11 22:10:41,929 - DEBUG - Requesting: http://10.0.0.24:8082/domain/27fe7fef-a657-4d41-8bd5-ba7e3ec22033 2025-02-11 22:10:41,946 - DEBUG - Requesting: http://10.0.0.24:8082/project/08336013-b998-4a7b-937e-aff551d310e0 2025-02-11 22:10:42,026 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/89549dc6-fef0-4623-bd9b-9f797506af16 2025-02-11 22:10:42,040 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/89549dc6-fef0-4623-bd9b-9f797506af16 2025-02-11 22:10:42,052 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/f031b111-981a-4d6f-8104-c80448c11e25 2025-02-11 22:10:42,061 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/f031b111-981a-4d6f-8104-c80448c11e25 2025-02-11 22:10:42,069 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/3196c95b-aa96-4c7b-b764-eed76284eaeb 2025-02-11 22:10:42,077 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 22:10:42,077 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/89549dc6-fef0-4623-bd9b-9f797506af16 2025-02-11 22:10:42,088 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/f031b111-981a-4d6f-8104-c80448c11e25 2025-02-11 22:10:42,104 - INFO - Verified VN network id 8 for VN 89549dc6-fef0-4623-bd9b-9f797506af16 2025-02-11 22:10:42,105 - INFO - Verifications in API Server for VN ctest-vn-58689379 passed 2025-02-11 22:10:42,105 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/89549dc6-fef0-4623-bd9b-9f797506af16 2025-02-11 22:10:42,116 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/f031b111-981a-4d6f-8104-c80448c11e25 2025-02-11 22:10:42,126 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/f031b111-981a-4d6f-8104-c80448c11e25 2025-02-11 22:10:42,135 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/3196c95b-aa96-4c7b-b764-eed76284eaeb 2025-02-11 22:10:42,149 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-58689379', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75635668', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9895707759246067235', 'uuid-lslong': '13662689238561763094'}, 'enable': 'true', 'created': '2025-02-11T22:10:39', 'last-modified': '2025-02-11T22:10:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.059605'} 2025-02-11 22:10:42,156 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 22:10:42,156 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58689379 passed 2025-02-11 22:10:42,156 - DEBUG - ====Verifying policy data for ctest-vn-58689379 in API_Server ====== 2025-02-11 22:10:42,157 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-11 22:10:42,163 - DEBUG - Requesting: http://10.0.0.24:8082/domain/27fe7fef-a657-4d41-8bd5-ba7e3ec22033 2025-02-11 22:10:42,176 - DEBUG - Requesting: http://10.0.0.24:8082/project/08336013-b998-4a7b-937e-aff551d310e0 2025-02-11 22:10:42,256 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/89549dc6-fef0-4623-bd9b-9f797506af16 2025-02-11 22:10:42,267 - DEBUG - ==>Verifying data for policy with id: 9b61e896-18a3-4656-b312-ecb679ee5f17, fqn: ['default-domain', 'ctest-TestBasicPolicy-75635668', 'ctest-policy-allow-all-07623648'] 2025-02-11 22:10:42,267 - INFO - VN ctest-vn-58689379 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 22:10:42,267 - DEBUG - Verifying the vn in opserver 2025-02-11 22:10:42,267 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-58689379 virtual network link through opserver 10.0.0.24 2025-02-11 22:10:42,267 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-11 22:10:42,600 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-11 22:10:42,657 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-58689379', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-58689379?flat'} 2025-02-11 22:10:42,657 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-58689379 is found in opserver 2025-02-11 22:10:42,670 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 22:10:42,676 - DEBUG - VRF ids for VN ctest-vn-58689379: {} 2025-02-11 22:10:42,676 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-11 22:10:42,683 - DEBUG - Requesting: http://10.0.0.24:8082/domain/27fe7fef-a657-4d41-8bd5-ba7e3ec22033 2025-02-11 22:10:42,696 - DEBUG - Requesting: http://10.0.0.24:8082/project/08336013-b998-4a7b-937e-aff551d310e0 2025-02-11 22:10:42,777 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/2ec80886-45d1-41eb-9eba-e675b679c0d6 2025-02-11 22:10:42,791 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/2ec80886-45d1-41eb-9eba-e675b679c0d6 2025-02-11 22:10:42,802 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/073c9022-7ce1-4219-87f5-a9ba9fd1fc54 2025-02-11 22:10:42,810 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/073c9022-7ce1-4219-87f5-a9ba9fd1fc54 2025-02-11 22:10:42,817 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/0eb91e23-0acd-4fb5-aa7e-2400d7c619f1 2025-02-11 22:10:42,825 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 22:10:42,825 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/2ec80886-45d1-41eb-9eba-e675b679c0d6 2025-02-11 22:10:42,837 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/073c9022-7ce1-4219-87f5-a9ba9fd1fc54 2025-02-11 22:10:42,855 - INFO - Verified VN network id 9 for VN 2ec80886-45d1-41eb-9eba-e675b679c0d6 2025-02-11 22:10:42,855 - INFO - Verifications in API Server for VN ctest-vn-46205302 passed 2025-02-11 22:10:42,855 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/2ec80886-45d1-41eb-9eba-e675b679c0d6 2025-02-11 22:10:42,866 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/073c9022-7ce1-4219-87f5-a9ba9fd1fc54 2025-02-11 22:10:42,874 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/073c9022-7ce1-4219-87f5-a9ba9fd1fc54 2025-02-11 22:10:42,883 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/0eb91e23-0acd-4fb5-aa7e-2400d7c619f1 2025-02-11 22:10:42,899 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-46205302', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75635668', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3370953693876797931', 'uuid-lslong': '11437707596907790550'}, 'enable': 'true', 'created': '2025-02-11T22:10:40', 'last-modified': '2025-02-11T22:10:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.556155'} 2025-02-11 22:10:42,905 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 22:10:42,906 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46205302 passed 2025-02-11 22:10:42,906 - DEBUG - ====Verifying policy data for ctest-vn-46205302 in API_Server ====== 2025-02-11 22:10:42,906 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-11 22:10:42,912 - DEBUG - Requesting: http://10.0.0.24:8082/domain/27fe7fef-a657-4d41-8bd5-ba7e3ec22033 2025-02-11 22:10:42,924 - DEBUG - Requesting: http://10.0.0.24:8082/project/08336013-b998-4a7b-937e-aff551d310e0 2025-02-11 22:10:43,000 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/2ec80886-45d1-41eb-9eba-e675b679c0d6 2025-02-11 22:10:43,012 - DEBUG - ==>Verifying data for policy with id: 9b61e896-18a3-4656-b312-ecb679ee5f17, fqn: ['default-domain', 'ctest-TestBasicPolicy-75635668', 'ctest-policy-allow-all-07623648'] 2025-02-11 22:10:43,012 - INFO - VN ctest-vn-46205302 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 22:10:43,012 - DEBUG - Verifying the vn in opserver 2025-02-11 22:10:43,012 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-46205302 virtual network link through opserver 10.0.0.24 2025-02-11 22:10:43,012 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-11 22:10:43,024 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-46205302', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-46205302?flat'} 2025-02-11 22:10:43,024 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-46205302 is found in opserver 2025-02-11 22:10:43,038 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 22:10:43,043 - DEBUG - VRF ids for VN ctest-vn-46205302: {} 2025-02-11 22:10:43,102 - DEBUG - Services list from nova: [, , ] 2025-02-11 22:10:44,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2723-1) 2025-02-11 22:10:45,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2723-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2723-1) 2025-02-11 22:10:45,568 - INFO - Waiting for VM ctest-TestBasicPolicy-75635668-69784200 to be up.. 2025-02-11 22:10:45,652 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 22:10:50,742 - DEBUG - VM is in ACTIVE state now 2025-02-11 22:10:50,742 - INFO - VM name : ctest-TestBasicPolicy-75635668-69784200 2025-02-11 22:10:50,835 - DEBUG - VM ctest-TestBasicPolicy-75635668-69784200 ID is 8e5a9523-2526-4568-99a4-38bae9f7d675 2025-02-11 22:10:50,860 - DEBUG - VM ctest-TestBasicPolicy-75635668-69784200 launched on Node cn-jenkins-deploy-platform-ansible-os-2723-1 2025-02-11 22:10:50,951 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/8e5a9523-2526-4568-99a4-38bae9f7d675 2025-02-11 22:10:50,963 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/752c4e5a-178b-4e9d-8182-e4bc6bd86a9b 2025-02-11 22:10:54,250 - 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 1029ms') 2025-02-11 22:10:54,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75635668-69784200 failed! 2025-02-11 22:10:54,306 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75635668:ctest-vn-58689379 is 51.88.33.193 and allocation pool is NOT set 2025-02-11 22:10:56,379 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.558 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.558/5.861/11.164/5.303 ms') 2025-02-11 22:10:56,379 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75635668-69784200 passed 2025-02-11 22:10:56,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 22:10:56,530 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75635668-69784200, IP 51.88.33.195, Port 22 2025-02-11 22:10:56,586 - 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-02-11 22:10:56,675 - DEBUG - VM ctest-TestBasicPolicy-75635668-69784200 is NOT ready for SSH connections, VM status: ACTIVE 2025-02-11 22:11:01,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 22:11:01,675 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75635668-69784200, IP 51.88.33.195, Port 22 2025-02-11 22:11:01,834 - DEBUG - VM ctest-TestBasicPolicy-75635668-69784200 is ready for SSH connections 2025-02-11 22:11:01,834 - INFO - Waiting for VM ctest-TestBasicPolicy-75635668-95411064 to be up.. 2025-02-11 22:11:01,926 - DEBUG - VM is in ACTIVE state now 2025-02-11 22:11:01,926 - INFO - VM name : ctest-TestBasicPolicy-75635668-95411064 2025-02-11 22:11:02,018 - DEBUG - VM ctest-TestBasicPolicy-75635668-95411064 ID is b90f9fee-c87f-4afe-81d5-eef75766de95 2025-02-11 22:11:02,018 - DEBUG - VM ctest-TestBasicPolicy-75635668-95411064 launched on Node cn-jenkins-deploy-platform-ansible-os-2723-1 2025-02-11 22:11:02,102 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b90f9fee-c87f-4afe-81d5-eef75766de95 2025-02-11 22:11:02,113 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/70d2922f-9693-45b1-bd80-3f0a4261e9ab 2025-02-11 22:11:03,363 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.850/3.333/1.482 ms') 2025-02-11 22:11:03,363 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75635668-95411064 passed 2025-02-11 22:11:03,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 22:11:03,518 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75635668-95411064, IP 200.187.229.131, Port 22 2025-02-11 22:11:03,677 - DEBUG - VM ctest-TestBasicPolicy-75635668-95411064 is ready for SSH connections 2025-02-11 22:11:03,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 22:11:03,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.187.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-11 22:11:03,677 - DEBUG - ping -s 56 -c 3 -W 1 200.187.229.131 2025-02-11 22:11:07,791 - DEBUG - PING 200.187.229.131 (200.187.229.131): 56 data bytes 64 bytes from 200.187.229.131: seq=0 ttl=63 time=3.807 ms 64 bytes from 200.187.229.131: seq=1 ttl=63 time=0.888 ms 64 bytes from 200.187.229.131: seq=2 ttl=63 time=0.867 ms --- 200.187.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/1.854/3.807 ms 2025-02-11 22:11:07,791 - INFO - Ping to IP 200.187.229.131 from VM ctest-TestBasicPolicy-75635668-69784200 passed 2025-02-11 22:11:07,978 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9b61e896-18a3-4656-b312-ecb679ee5f17", "href": "http://10.0.0.24:8082/network-policy/9b61e896-18a3-4656-b312-ecb679ee5f17"}} 2025-02-11 22:11:07,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 22:11:07,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.187.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-11 22:11:07,978 - DEBUG - ping -s 56 -c 3 -W 1 200.187.229.131 2025-02-11 22:11:11,204 - DEBUG - PING 200.187.229.131 (200.187.229.131): 56 data bytes 64 bytes from 200.187.229.131: seq=0 ttl=63 time=1.517 ms --- 200.187.229.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.517/1.517/1.517 ms 2025-02-11 22:11:11,204 - WARNING - Ping to IP 200.187.229.131 from VM ctest-TestBasicPolicy-75635668-69784200 failed 2025-02-11 22:11:11,204 - INFO - Deleting VM ctest-TestBasicPolicy-75635668-95411064 2025-02-11 22:11:11,277 - INFO - Deleting VM ctest-TestBasicPolicy-75635668-69784200 2025-02-11 22:11:11,725 - INFO - Deleted policy ctest-policy-allow-all-07623648 2025-02-11 22:11:11,725 - INFO - Deleting VN ctest-vn-46205302 2025-02-11 22:11:11,768 - DEBUG - VN 2ec80886-45d1-41eb-9eba-e675b679c0d6 still in use: Unable to complete operation on network 2ec80886-45d1-41eb-9eba-e675b679c0d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-abb5bcd7-d2a5-4465-a92d-973dfc0fab14'] 2025-02-11 22:11:11,768 - WARNING - Deleting VN ctest-vn-46205302 failed..Will retry 2025-02-11 22:11:13,876 - DEBUG - Response for deleting network () 2025-02-11 22:11:13,876 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/073c9022-7ce1-4219-87f5-a9ba9fd1fc54 2025-02-11 22:11:13,882 - DEBUG - Response Code: 404 2025-02-11 22:11:13,882 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-11 22:11:13,891 - DEBUG - Requesting: http://10.0.0.24:8082/domain/27fe7fef-a657-4d41-8bd5-ba7e3ec22033 2025-02-11 22:11:13,949 - DEBUG - Requesting: http://10.0.0.24:8082/project/08336013-b998-4a7b-937e-aff551d310e0 2025-02-11 22:11:14,025 - INFO - Validated that VN ctest-vn-46205302 is not found in API Server 2025-02-11 22:11:14,040 - DEBUG - VN ctest-vn-46205302 is not present in Agent 10.0.0.24 2025-02-11 22:11:14,040 - INFO - Validated that VN ctest-vn-46205302 is not in any agent 2025-02-11 22:11:14,056 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46205302 info 2025-02-11 22:11:14,057 - INFO - Deleting VN ctest-vn-58689379 2025-02-11 22:11:14,160 - DEBUG - Response for deleting network () 2025-02-11 22:11:14,160 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/f031b111-981a-4d6f-8104-c80448c11e25 2025-02-11 22:11:14,166 - DEBUG - Response Code: 404 2025-02-11 22:11:14,166 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-11 22:11:14,177 - DEBUG - Requesting: http://10.0.0.24:8082/domain/27fe7fef-a657-4d41-8bd5-ba7e3ec22033 2025-02-11 22:11:14,233 - DEBUG - Requesting: http://10.0.0.24:8082/project/08336013-b998-4a7b-937e-aff551d310e0 2025-02-11 22:11:14,318 - INFO - Validated that VN ctest-vn-58689379 is not found in API Server 2025-02-11 22:11:14,335 - DEBUG - VN ctest-vn-58689379 is not present in Agent 10.0.0.24 2025-02-11 22:11:14,335 - INFO - Validated that VN ctest-vn-58689379 is not in any agent 2025-02-11 22:11:14,353 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58689379 info 2025-02-11 22:11:14,608 - DEBUG - No XMPP flaps were noticed during the test 2025-02-11 22:11:14,608 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-02-11 22:11:14,608 - INFO - -------------------------------------------------------------------------------- 2025-02-11 22:11:15,370 - INFO - Deleted project: ctest-TestBasicPolicy-75635668, ID : 08336013-b998-4a7b-937e-aff551d310e0