2025-08-31 02:32:39,768 - INFO - Domain Default found not creating 2025-08-31 02:32:39,918 - INFO - Project ctest-TestPorts-94282207 not found, creating it 2025-08-31 02:32:40,356 - INFO - Created Project:ctest-TestPorts-94282207, ID : bd07916d-aa5c-44c3-b256-8f667f6babd0 2025-08-31 02:32:42,470 - INFO - ================================================================================ 2025-08-31 02:32:42,470 - INFO - STARTING TEST : test_ports_bindings 2025-08-31 02:32:42,470 - 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-08-31 02:32:42,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-31 02:32:42,735 - INFO - Initial checks done. Running the testcase now 2025-08-31 02:32:42,735 - INFO - 2025-08-31 02:32:43,229 - DEBUG - Response for create_network : {'network': {'id': 'fd6d10e5-80d1-4a13-9f60-d2b7f7c90108', 'name': 'ctest-vn-55635273', 'tenant_id': 'bd07916daa5c44c3b2568f667f6babd0', 'project_id': 'bd07916daa5c44c3b2568f667f6babd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94282207', 'ctest-vn-55635273'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 02:32:43,439 - DEBUG - Response for create_subnet : {'subnet': {'id': '68a482a8-f7d3-4b6a-92fa-a3d8a8171cea', 'name': '', 'tenant_id': 'bd07916daa5c44c3b2568f667f6babd0', 'network_id': 'fd6d10e5-80d1-4a13-9f60-d2b7f7c90108', 'ip_version': 4, 'cidr': '21.58.151.0/26', 'allocation_pools': [{'start': '21.58.151.2', 'end': '21.58.151.62'}], 'gateway_ip': '21.58.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.58.151.2', 'tags': [], 'project_id': 'bd07916daa5c44c3b2568f667f6babd0'}} 2025-08-31 02:32:43,457 - INFO - Created VN ctest-vn-55635273 2025-08-31 02:32:43,506 - DEBUG - VN ctest-vn-55635273 UUID is fd6d10e5-80d1-4a13-9f60-d2b7f7c90108 2025-08-31 02:32:43,607 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94282207', 'ctest-vmi-85486542']} 2025-08-31 02:32:43,875 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85486542', 'id': 'a92c300f-199b-4d67-8f1d-f4786d61b74d', 'tenant_id': 'bd07916daa5c44c3b2568f667f6babd0', 'network_id': 'fd6d10e5-80d1-4a13-9f60-d2b7f7c90108', 'mac_address': '02:a9:2c:30:0f:19', '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': '21.58.151.3', 'subnet_id': '68a482a8-f7d3-4b6a-92fa-a3d8a8171cea'}], 'security_groups': ['9f7dce53-918e-411a-b770-a47430044075'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bd07916daa5c44c3b2568f667f6babd0'}} 2025-08-31 02:32:43,875 - DEBUG - Created port a92c300f-199b-4d67-8f1d-f4786d61b74d 2025-08-31 02:32:43,978 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a92c300f-199b-4d67-8f1d-f4786d61b74d 2025-08-31 02:32:44,269 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a92c300f-199b-4d67-8f1d-f4786d61b74d 2025-08-31 02:32:44,299 - INFO - VMI a92c300f-199b-4d67-8f1d-f4786d61b74d verification in API Server passed 2025-08-31 02:32:44,377 - DEBUG - Response for delete_port : () 2025-08-31 02:32:44,377 - INFO - Deleted port a92c300f-199b-4d67-8f1d-f4786d61b74d 2025-08-31 02:32:44,378 - INFO - Deleting VN ctest-vn-55635273 2025-08-31 02:32:44,470 - DEBUG - Response for deleting network () 2025-08-31 02:32:44,736 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 02:32:44,736 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-31 02:32:44,736 - INFO - -------------------------------------------------------------------------------- 2025-08-31 02:32:44,738 - INFO - ================================================================================ 2025-08-31 02:32:44,738 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-31 02:32:44,738 - 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-08-31 02:32:45,023 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-31 02:32:45,023 - INFO - Initial checks done. Running the testcase now 2025-08-31 02:32:45,024 - INFO - 2025-08-31 02:32:45,191 - DEBUG - Response for create_network : {'network': {'id': '852cbafa-0ec1-4f61-8576-d7375455b31f', 'name': 'ctest-vn1-85815452', 'tenant_id': 'bd07916daa5c44c3b2568f667f6babd0', 'project_id': 'bd07916daa5c44c3b2568f667f6babd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94282207', 'ctest-vn1-85815452'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 02:32:45,361 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8be8961-17e9-4387-be92-785e40fb6c77', 'name': '', 'tenant_id': 'bd07916daa5c44c3b2568f667f6babd0', 'network_id': '852cbafa-0ec1-4f61-8576-d7375455b31f', 'ip_version': 4, 'cidr': '62.116.136.64/26', 'allocation_pools': [{'start': '62.116.136.66', 'end': '62.116.136.126'}], 'gateway_ip': '62.116.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.116.136.66', 'tags': [], 'project_id': 'bd07916daa5c44c3b2568f667f6babd0'}} 2025-08-31 02:32:45,495 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abe1f919-c08f-4b56-b9ec-45a8012e8b96', 'name': '', 'tenant_id': 'bd07916daa5c44c3b2568f667f6babd0', 'network_id': '852cbafa-0ec1-4f61-8576-d7375455b31f', 'ip_version': 4, 'cidr': '90.101.95.64/26', 'allocation_pools': [{'start': '90.101.95.66', 'end': '90.101.95.126'}], 'gateway_ip': '90.101.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.101.95.66', 'tags': [], 'project_id': 'bd07916daa5c44c3b2568f667f6babd0'}} 2025-08-31 02:32:45,510 - INFO - Created VN ctest-vn1-85815452 2025-08-31 02:32:45,562 - DEBUG - VN ctest-vn1-85815452 UUID is 852cbafa-0ec1-4f61-8576-d7375455b31f 2025-08-31 02:32:45,840 - DEBUG - Response for create_port : {'port': {'name': '4be03291-0029-4d04-896c-0aecd797784a', 'id': '4be03291-0029-4d04-896c-0aecd797784a', 'tenant_id': 'bd07916daa5c44c3b2568f667f6babd0', 'network_id': '852cbafa-0ec1-4f61-8576-d7375455b31f', 'mac_address': '02:4b:e0:32:91:00', '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': '62.116.136.69', 'subnet_id': 'a8be8961-17e9-4387-be92-785e40fb6c77'}], 'security_groups': ['9f7dce53-918e-411a-b770-a47430044075'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bd07916daa5c44c3b2568f667f6babd0'}} 2025-08-31 02:32:45,987 - DEBUG - Response for create_port : {'port': {'name': 'eefeafe1-5331-4ce2-a9aa-14177ec6f410', 'id': 'eefeafe1-5331-4ce2-a9aa-14177ec6f410', 'tenant_id': 'bd07916daa5c44c3b2568f667f6babd0', 'network_id': '852cbafa-0ec1-4f61-8576-d7375455b31f', 'mac_address': '02:ee:fe:af:e1:53', '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': '90.101.95.69', 'subnet_id': 'abe1f919-c08f-4b56-b9ec-45a8012e8b96'}], 'security_groups': ['9f7dce53-918e-411a-b770-a47430044075'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bd07916daa5c44c3b2568f667f6babd0'}} 2025-08-31 02:32:46,036 - DEBUG - Services list from nova: [, , ] 2025-08-31 02:32:46,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3986-1) 2025-08-31 02:32:46,670 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3986-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3986-1) 2025-08-31 02:32:46,670 - INFO - Waiting for VM ctest-vn1-vm1-60657044 to be up.. 2025-08-31 02:32:46,708 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 02:32:51,784 - DEBUG - VM is in ACTIVE state now 2025-08-31 02:32:51,784 - INFO - VM name : ctest-vn1-vm1-60657044 2025-08-31 02:32:51,854 - DEBUG - VM ctest-vn1-vm1-60657044 ID is 156d01a3-6912-4a57-9e73-796211db83cd 2025-08-31 02:32:51,873 - DEBUG - VM ctest-vn1-vm1-60657044 launched on Node cn-jenkins-deploy-platform-ansible-os-3986-1 2025-08-31 02:32:51,965 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/156d01a3-6912-4a57-9e73-796211db83cd 2025-08-31 02:32:51,974 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4be03291-0029-4d04-896c-0aecd797784a 2025-08-31 02:32:55,211 - 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-08-31 02:32:55,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60657044 failed! 2025-08-31 02:32:55,266 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94282207:ctest-vn1-85815452 is 62.116.136.65 and allocation pool is NOT set 2025-08-31 02:32:55,266 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94282207:ctest-vn1-85815452 is 90.101.95.65 and allocation pool is NOT set 2025-08-31 02:32:57,323 - 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=4.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.537 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.537/2.627/4.718/2.090 ms') 2025-08-31 02:32:57,324 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60657044 passed 2025-08-31 02:32:57,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:32:57,470 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60657044, IP 62.116.136.69, Port 22 2025-08-31 02:32:57,621 - DEBUG - VM ctest-vn1-vm1-60657044 is ready for SSH connections 2025-08-31 02:32:57,621 - INFO - Waiting for VM ctest-vn1-vm2-93578810 to be up.. 2025-08-31 02:32:57,700 - DEBUG - VM is in ACTIVE state now 2025-08-31 02:32:57,700 - INFO - VM name : ctest-vn1-vm2-93578810 2025-08-31 02:32:57,781 - DEBUG - VM ctest-vn1-vm2-93578810 ID is 3b736902-60b7-4d50-b7f4-701c98eca2f6 2025-08-31 02:32:57,781 - DEBUG - VM ctest-vn1-vm2-93578810 launched on Node cn-jenkins-deploy-platform-ansible-os-3986-1 2025-08-31 02:32:57,859 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3b736902-60b7-4d50-b7f4-701c98eca2f6 2025-08-31 02:32:57,867 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/eefeafe1-5331-4ce2-a9aa-14177ec6f410 2025-08-31 02:32:59,108 - 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=4.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.67 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 = 1.667/3.125/4.584/1.458 ms') 2025-08-31 02:32:59,109 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93578810 passed 2025-08-31 02:32:59,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:32:59,258 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93578810, IP 90.101.95.69, Port 22 2025-08-31 02:32:59,417 - DEBUG - VM ctest-vn1-vm2-93578810 is ready for SSH connections 2025-08-31 02:32:59,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:32:59,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:32:59,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 02:32:59,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.116.136.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 02:32:59,418 - DEBUG - ping -s 56 -c 3 -W 1 62.116.136.69 2025-08-31 02:33:02,357 - DEBUG - PING 62.116.136.69 (62.116.136.69): 56 data bytes 64 bytes from 62.116.136.69: seq=0 ttl=63 time=3.225 ms 64 bytes from 62.116.136.69: seq=1 ttl=63 time=0.982 ms 64 bytes from 62.116.136.69: seq=2 ttl=63 time=1.134 ms --- 62.116.136.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.982/1.780/3.225 ms 2025-08-31 02:33:02,358 - INFO - Ping to IP 62.116.136.69 from VM ctest-vn1-vm2-93578810 passed 2025-08-31 02:33:02,358 - INFO - Detaching port eefeafe1-5331-4ce2-a9aa-14177ec6f410 from VM ctest-vn1-vm2-93578810 2025-08-31 02:33:02,405 - INFO - Deleting VM ctest-vn1-vm2-93578810 2025-08-31 02:33:02,467 - INFO - Detaching port 4be03291-0029-4d04-896c-0aecd797784a from VM ctest-vn1-vm1-60657044 2025-08-31 02:33:02,494 - INFO - Deleting VM ctest-vn1-vm1-60657044 2025-08-31 02:33:02,677 - DEBUG - Response for delete_port : () 2025-08-31 02:33:02,840 - DEBUG - Response for delete_port : () 2025-08-31 02:33:02,840 - INFO - Deleting VN ctest-vn1-85815452 2025-08-31 02:33:02,949 - DEBUG - Response for deleting network () 2025-08-31 02:33:03,209 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 02:33:03,209 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-31 02:33:03,209 - INFO - -------------------------------------------------------------------------------- 2025-08-31 02:33:03,893 - INFO - Deleted project: ctest-TestPorts-94282207, ID : bd07916d-aa5c-44c3-b256-8f667f6babd0