2025-10-02 10:34:42,965 - INFO - Domain Default found not creating 2025-10-02 10:34:43,118 - INFO - Project ctest-TestPorts-27951441 not found, creating it 2025-10-02 10:34:43,580 - INFO - Created Project:ctest-TestPorts-27951441, ID : 7518fe23-69c0-47e0-9a19-bdacc294b9aa 2025-10-02 10:34:45,099 - INFO - ================================================================================ 2025-10-02 10:34:45,099 - INFO - STARTING TEST : test_ports_bindings 2025-10-02 10:34:45,099 - INFO - TEST DESCRIPTION : Verify that we are able to create a port with custom port bindings Steps: 1) Create Port with Port bindings profile set to {'foo': 'bar'} 2) Retrieve and verify the same is set 2025-10-02 10:34:45,357 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-02 10:34:45,357 - INFO - Initial checks done. Running the testcase now 2025-10-02 10:34:45,358 - INFO - 2025-10-02 10:34:45,962 - DEBUG - Response for create_network : {'network': {'id': '234eb7fa-6f33-431a-be1e-9ee07d7b3e7c', 'name': 'ctest-vn-15093859', 'tenant_id': '7518fe2369c047e09a19bdacc294b9aa', 'project_id': '7518fe2369c047e09a19bdacc294b9aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27951441', 'ctest-vn-15093859'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 10:34:46,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '31f82364-4514-4529-bd3d-e28820860b04', 'name': '', 'tenant_id': '7518fe2369c047e09a19bdacc294b9aa', 'network_id': '234eb7fa-6f33-431a-be1e-9ee07d7b3e7c', 'ip_version': 4, 'cidr': '3.251.9.128/26', 'allocation_pools': [{'start': '3.251.9.130', 'end': '3.251.9.190'}], 'gateway_ip': '3.251.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.251.9.130', 'tags': [], 'project_id': '7518fe2369c047e09a19bdacc294b9aa'}} 2025-10-02 10:34:46,202 - INFO - Created VN ctest-vn-15093859 2025-10-02 10:34:46,256 - DEBUG - VN ctest-vn-15093859 UUID is 234eb7fa-6f33-431a-be1e-9ee07d7b3e7c 2025-10-02 10:34:46,372 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27951441', 'ctest-vmi-07851117']} 2025-10-02 10:34:46,624 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07851117', 'id': 'e40f34bf-11ab-47b2-94aa-2b3fd30dfaf2', 'tenant_id': '7518fe2369c047e09a19bdacc294b9aa', 'network_id': '234eb7fa-6f33-431a-be1e-9ee07d7b3e7c', 'mac_address': '02:e4:0f:34:bf:11', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '3.251.9.131', 'subnet_id': '31f82364-4514-4529-bd3d-e28820860b04'}], 'security_groups': ['336bc12f-6161-42d8-a24c-5f8aeab95b75'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7518fe2369c047e09a19bdacc294b9aa'}} 2025-10-02 10:34:46,624 - DEBUG - Created port e40f34bf-11ab-47b2-94aa-2b3fd30dfaf2 2025-10-02 10:34:46,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e40f34bf-11ab-47b2-94aa-2b3fd30dfaf2 2025-10-02 10:34:47,027 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e40f34bf-11ab-47b2-94aa-2b3fd30dfaf2 2025-10-02 10:34:47,063 - INFO - VMI e40f34bf-11ab-47b2-94aa-2b3fd30dfaf2 verification in API Server passed 2025-10-02 10:34:47,169 - DEBUG - Response for delete_port : () 2025-10-02 10:34:47,169 - INFO - Deleted port e40f34bf-11ab-47b2-94aa-2b3fd30dfaf2 2025-10-02 10:34:47,170 - INFO - Deleting VN ctest-vn-15093859 2025-10-02 10:34:47,285 - DEBUG - Response for deleting network () 2025-10-02 10:34:47,546 - DEBUG - No XMPP flaps were noticed during the test 2025-10-02 10:34:47,546 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-02 10:34:47,546 - INFO - -------------------------------------------------------------------------------- 2025-10-02 10:34:47,550 - INFO - ================================================================================ 2025-10-02 10:34:47,550 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-02 10:34:47,550 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP Create two ports in a VN with 2 subnets and specific IPs Attach to two VMs Ping between them should pass 2025-10-02 10:34:47,846 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-02 10:34:47,846 - INFO - Initial checks done. Running the testcase now 2025-10-02 10:34:47,846 - INFO - 2025-10-02 10:34:48,020 - DEBUG - Response for create_network : {'network': {'id': 'ea39db22-4494-42c6-8a34-8ef441fb135e', 'name': 'ctest-vn1-41683296', 'tenant_id': '7518fe2369c047e09a19bdacc294b9aa', 'project_id': '7518fe2369c047e09a19bdacc294b9aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27951441', 'ctest-vn1-41683296'], 'port_security_enabled': True, 'description': ''}} 2025-10-02 10:34:48,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '086c74e0-489c-4557-b53c-4034b0d85637', 'name': '', 'tenant_id': '7518fe2369c047e09a19bdacc294b9aa', 'network_id': 'ea39db22-4494-42c6-8a34-8ef441fb135e', 'ip_version': 4, 'cidr': '87.168.102.64/26', 'allocation_pools': [{'start': '87.168.102.66', 'end': '87.168.102.126'}], 'gateway_ip': '87.168.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.168.102.66', 'tags': [], 'project_id': '7518fe2369c047e09a19bdacc294b9aa'}} 2025-10-02 10:34:48,718 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8ccd23a-e532-47fa-8dc6-9d3394a9a695', 'name': '', 'tenant_id': '7518fe2369c047e09a19bdacc294b9aa', 'network_id': 'ea39db22-4494-42c6-8a34-8ef441fb135e', 'ip_version': 4, 'cidr': '28.217.98.64/26', 'allocation_pools': [{'start': '28.217.98.66', 'end': '28.217.98.126'}], 'gateway_ip': '28.217.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.217.98.66', 'tags': [], 'project_id': '7518fe2369c047e09a19bdacc294b9aa'}} 2025-10-02 10:34:48,750 - INFO - Created VN ctest-vn1-41683296 2025-10-02 10:34:48,808 - DEBUG - VN ctest-vn1-41683296 UUID is ea39db22-4494-42c6-8a34-8ef441fb135e 2025-10-02 10:34:49,138 - DEBUG - Response for create_port : {'port': {'name': '7b3ed94d-2ae9-4072-b99b-854ba9cd661c', 'id': '7b3ed94d-2ae9-4072-b99b-854ba9cd661c', 'tenant_id': '7518fe2369c047e09a19bdacc294b9aa', 'network_id': 'ea39db22-4494-42c6-8a34-8ef441fb135e', 'mac_address': '02:7b:3e:d9:4d:2a', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '87.168.102.69', 'subnet_id': '086c74e0-489c-4557-b53c-4034b0d85637'}], 'security_groups': ['336bc12f-6161-42d8-a24c-5f8aeab95b75'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7518fe2369c047e09a19bdacc294b9aa'}} 2025-10-02 10:34:49,338 - DEBUG - Response for create_port : {'port': {'name': 'd06ceafc-7635-48d3-a873-8fd791b11757', 'id': 'd06ceafc-7635-48d3-a873-8fd791b11757', 'tenant_id': '7518fe2369c047e09a19bdacc294b9aa', 'network_id': 'ea39db22-4494-42c6-8a34-8ef441fb135e', 'mac_address': '02:d0:6c:ea:fc:76', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '28.217.98.69', 'subnet_id': 'f8ccd23a-e532-47fa-8dc6-9d3394a9a695'}], 'security_groups': ['336bc12f-6161-42d8-a24c-5f8aeab95b75'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7518fe2369c047e09a19bdacc294b9aa'}} 2025-10-02 10:34:49,421 - DEBUG - Services list from nova: [, , ] 2025-10-02 10:34:49,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4212-1) 2025-10-02 10:34:50,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4212-1) 2025-10-02 10:34:50,243 - INFO - Waiting for VM ctest-vn1-vm1-04042130 to be up.. 2025-10-02 10:34:50,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-02 10:34:55,377 - DEBUG - VM is in ACTIVE state now 2025-10-02 10:34:55,377 - INFO - VM name : ctest-vn1-vm1-04042130 2025-10-02 10:34:55,458 - DEBUG - VM ctest-vn1-vm1-04042130 ID is 358568cf-a8b7-4867-9eb3-8cd0c5f85355 2025-10-02 10:34:55,483 - DEBUG - VM ctest-vn1-vm1-04042130 launched on Node cn-jenkins-deploy-platform-ansible-os-4212-1 2025-10-02 10:34:55,570 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/358568cf-a8b7-4867-9eb3-8cd0c5f85355 2025-10-02 10:34:55,581 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7b3ed94d-2ae9-4072-b99b-854ba9cd661c 2025-10-02 10:34:58,853 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-10-02 10:34:58,854 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-04042130 failed! 2025-10-02 10:34:58,912 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27951441:ctest-vn1-41683296 is 87.168.102.65 and allocation pool is NOT set 2025-10-02 10:34:58,912 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27951441:ctest-vn1-41683296 is 28.217.98.65 and allocation pool is NOT set 2025-10-02 10:35:02,978 - 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=2 ttl=63 time=6.35 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 6.352/6.352/6.352/0.000 ms') 2025-10-02 10:35:02,979 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-04042130 passed 2025-10-02 10:35:03,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:03,128 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04042130, IP 87.168.102.69, Port 22 2025-10-02 10:35:03,288 - DEBUG - VM ctest-vn1-vm1-04042130 is ready for SSH connections 2025-10-02 10:35:03,288 - INFO - Waiting for VM ctest-vn1-vm2-47556447 to be up.. 2025-10-02 10:35:03,377 - DEBUG - VM is in ACTIVE state now 2025-10-02 10:35:03,377 - INFO - VM name : ctest-vn1-vm2-47556447 2025-10-02 10:35:03,469 - DEBUG - VM ctest-vn1-vm2-47556447 ID is cf86ba54-4365-4df4-830f-0b613e617b79 2025-10-02 10:35:03,470 - DEBUG - VM ctest-vn1-vm2-47556447 launched on Node cn-jenkins-deploy-platform-ansible-os-4212-1 2025-10-02 10:35:03,551 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cf86ba54-4365-4df4-830f-0b613e617b79 2025-10-02 10:35:03,559 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d06ceafc-7635-48d3-a873-8fd791b11757 2025-10-02 10:35:04,799 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.510 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.510/1.821/3.132/1.311 ms') 2025-10-02 10:35:04,799 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-47556447 passed 2025-10-02 10:35:04,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:04,952 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-47556447, IP 28.217.98.69, Port 22 2025-10-02 10:35:05,108 - DEBUG - VM ctest-vn1-vm2-47556447 is ready for SSH connections 2025-10-02 10:35:05,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:05,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:05,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-02 10:35:05,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.168.102.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-02 10:35:05,108 - DEBUG - ping -s 56 -c 3 -W 1 87.168.102.69 2025-10-02 10:35:08,818 - DEBUG - PING 87.168.102.69 (87.168.102.69): 56 data bytes 64 bytes from 87.168.102.69: seq=0 ttl=63 time=3.961 ms 64 bytes from 87.168.102.69: seq=1 ttl=63 time=1.333 ms 64 bytes from 87.168.102.69: seq=2 ttl=63 time=0.953 ms --- 87.168.102.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/2.082/3.961 ms 2025-10-02 10:35:08,818 - INFO - Ping to IP 87.168.102.69 from VM ctest-vn1-vm2-47556447 passed 2025-10-02 10:35:08,818 - INFO - Detaching port d06ceafc-7635-48d3-a873-8fd791b11757 from VM ctest-vn1-vm2-47556447 2025-10-02 10:35:08,876 - INFO - Deleting VM ctest-vn1-vm2-47556447 2025-10-02 10:35:08,948 - INFO - Detaching port 7b3ed94d-2ae9-4072-b99b-854ba9cd661c from VM ctest-vn1-vm1-04042130 2025-10-02 10:35:08,983 - INFO - Deleting VM ctest-vn1-vm1-04042130 2025-10-02 10:35:09,216 - DEBUG - Response for delete_port : () 2025-10-02 10:35:09,380 - DEBUG - Response for delete_port : () 2025-10-02 10:35:09,380 - INFO - Deleting VN ctest-vn1-41683296 2025-10-02 10:35:09,546 - DEBUG - Response for deleting network () 2025-10-02 10:35:09,820 - DEBUG - No XMPP flaps were noticed during the test 2025-10-02 10:35:09,820 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-10-02 10:35:09,820 - INFO - -------------------------------------------------------------------------------- 2025-10-02 10:35:10,549 - INFO - Deleted project: ctest-TestPorts-27951441, ID : 7518fe23-69c0-47e0-9a19-bdacc294b9aa