2025-08-07 14:21:34,978 - INFO - Domain Default found not creating 2025-08-07 14:21:35,152 - INFO - Project ctest-TestPorts-75380675 not found, creating it 2025-08-07 14:21:35,651 - INFO - Created Project:ctest-TestPorts-75380675, ID : a8eda7c2-53a7-45c8-adab-d7f01e9870ca 2025-08-07 14:21:37,331 - INFO - ================================================================================ 2025-08-07 14:21:37,331 - INFO - STARTING TEST : test_ports_bindings 2025-08-07 14:21:37,332 - 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-07 14:21:37,610 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-07 14:21:37,611 - INFO - Initial checks done. Running the testcase now 2025-08-07 14:21:37,611 - INFO - 2025-08-07 14:21:38,289 - DEBUG - Response for create_network : {'network': {'id': 'e0d51fdb-d915-45f7-b4a6-fb28147ea4c4', 'name': 'ctest-vn-03191330', 'tenant_id': 'a8eda7c253a745c8adabd7f01e9870ca', 'project_id': 'a8eda7c253a745c8adabd7f01e9870ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75380675', 'ctest-vn-03191330'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:21:38,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '469b40d2-cfd3-487a-9ed2-15d604346866', 'name': '', 'tenant_id': 'a8eda7c253a745c8adabd7f01e9870ca', 'network_id': 'e0d51fdb-d915-45f7-b4a6-fb28147ea4c4', 'ip_version': 4, 'cidr': '31.93.251.64/26', 'allocation_pools': [{'start': '31.93.251.66', 'end': '31.93.251.126'}], 'gateway_ip': '31.93.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.93.251.66', 'tags': [], 'project_id': 'a8eda7c253a745c8adabd7f01e9870ca'}} 2025-08-07 14:21:38,503 - INFO - Created VN ctest-vn-03191330 2025-08-07 14:21:38,557 - DEBUG - VN ctest-vn-03191330 UUID is e0d51fdb-d915-45f7-b4a6-fb28147ea4c4 2025-08-07 14:21:38,674 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-75380675', 'ctest-vmi-14883077']} 2025-08-07 14:21:38,942 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14883077', 'id': '9159a50a-563e-4bf3-9413-621b366f0b0a', 'tenant_id': 'a8eda7c253a745c8adabd7f01e9870ca', 'network_id': 'e0d51fdb-d915-45f7-b4a6-fb28147ea4c4', 'mac_address': '02:91:59:a5:0a:56', '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': '31.93.251.67', 'subnet_id': '469b40d2-cfd3-487a-9ed2-15d604346866'}], 'security_groups': ['4701f5ca-6acc-43dc-98d7-653d0ccfaa83'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a8eda7c253a745c8adabd7f01e9870ca'}} 2025-08-07 14:21:38,942 - DEBUG - Created port 9159a50a-563e-4bf3-9413-621b366f0b0a 2025-08-07 14:21:39,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9159a50a-563e-4bf3-9413-621b366f0b0a 2025-08-07 14:21:39,392 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9159a50a-563e-4bf3-9413-621b366f0b0a 2025-08-07 14:21:39,432 - INFO - VMI 9159a50a-563e-4bf3-9413-621b366f0b0a verification in API Server passed 2025-08-07 14:21:39,533 - DEBUG - Response for delete_port : () 2025-08-07 14:21:39,533 - INFO - Deleted port 9159a50a-563e-4bf3-9413-621b366f0b0a 2025-08-07 14:21:39,533 - INFO - Deleting VN ctest-vn-03191330 2025-08-07 14:21:39,652 - DEBUG - Response for deleting network () 2025-08-07 14:21:39,923 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 14:21:39,923 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-07 14:21:39,923 - INFO - -------------------------------------------------------------------------------- 2025-08-07 14:21:39,927 - INFO - ================================================================================ 2025-08-07 14:21:39,927 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-07 14:21:39,927 - 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-07 14:21:40,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-07 14:21:40,221 - INFO - Initial checks done. Running the testcase now 2025-08-07 14:21:40,221 - INFO - 2025-08-07 14:21:40,452 - DEBUG - Response for create_network : {'network': {'id': '3b28c4ca-7c9a-46ea-9238-e3e53db67c45', 'name': 'ctest-vn1-50916894', 'tenant_id': 'a8eda7c253a745c8adabd7f01e9870ca', 'project_id': 'a8eda7c253a745c8adabd7f01e9870ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75380675', 'ctest-vn1-50916894'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:21:40,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '55fc4cb2-c2f2-4722-ae42-f452b99acaa1', 'name': '', 'tenant_id': 'a8eda7c253a745c8adabd7f01e9870ca', 'network_id': '3b28c4ca-7c9a-46ea-9238-e3e53db67c45', 'ip_version': 4, 'cidr': '141.212.68.0/26', 'allocation_pools': [{'start': '141.212.68.2', 'end': '141.212.68.62'}], 'gateway_ip': '141.212.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.212.68.2', 'tags': [], 'project_id': 'a8eda7c253a745c8adabd7f01e9870ca'}} 2025-08-07 14:21:40,911 - DEBUG - Response for create_subnet : {'subnet': {'id': '03884e86-1946-4687-9d68-618e65b18b45', 'name': '', 'tenant_id': 'a8eda7c253a745c8adabd7f01e9870ca', 'network_id': '3b28c4ca-7c9a-46ea-9238-e3e53db67c45', 'ip_version': 4, 'cidr': '51.65.43.64/26', 'allocation_pools': [{'start': '51.65.43.66', 'end': '51.65.43.126'}], 'gateway_ip': '51.65.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.65.43.66', 'tags': [], 'project_id': 'a8eda7c253a745c8adabd7f01e9870ca'}} 2025-08-07 14:21:40,935 - INFO - Created VN ctest-vn1-50916894 2025-08-07 14:21:40,998 - DEBUG - VN ctest-vn1-50916894 UUID is 3b28c4ca-7c9a-46ea-9238-e3e53db67c45 2025-08-07 14:21:41,347 - DEBUG - Response for create_port : {'port': {'name': '9e5422cd-3e6b-4945-a0a3-a02ee50f7f7f', 'id': '9e5422cd-3e6b-4945-a0a3-a02ee50f7f7f', 'tenant_id': 'a8eda7c253a745c8adabd7f01e9870ca', 'network_id': '3b28c4ca-7c9a-46ea-9238-e3e53db67c45', 'mac_address': '02:9e:54:22:cd:3e', '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': '141.212.68.5', 'subnet_id': '55fc4cb2-c2f2-4722-ae42-f452b99acaa1'}], 'security_groups': ['4701f5ca-6acc-43dc-98d7-653d0ccfaa83'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a8eda7c253a745c8adabd7f01e9870ca'}} 2025-08-07 14:21:41,553 - DEBUG - Response for create_port : {'port': {'name': '2e8bcd89-8fc3-4b31-ad21-72ea83573ef5', 'id': '2e8bcd89-8fc3-4b31-ad21-72ea83573ef5', 'tenant_id': 'a8eda7c253a745c8adabd7f01e9870ca', 'network_id': '3b28c4ca-7c9a-46ea-9238-e3e53db67c45', 'mac_address': '02:2e:8b:cd:89:8f', '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': '51.65.43.69', 'subnet_id': '03884e86-1946-4687-9d68-618e65b18b45'}], 'security_groups': ['4701f5ca-6acc-43dc-98d7-653d0ccfaa83'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a8eda7c253a745c8adabd7f01e9870ca'}} 2025-08-07 14:21:41,619 - DEBUG - Services list from nova: [, , ] 2025-08-07 14:21:42,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3770-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3770-1) 2025-08-07 14:21:42,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3770-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3770-1) 2025-08-07 14:21:42,499 - INFO - Waiting for VM ctest-vn1-vm1-95388257 to be up.. 2025-08-07 14:21:42,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 14:21:47,635 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:21:47,635 - INFO - VM name : ctest-vn1-vm1-95388257 2025-08-07 14:21:47,720 - DEBUG - VM ctest-vn1-vm1-95388257 ID is 1effd8c4-639d-4fa5-a61c-f43a387b0959 2025-08-07 14:21:47,741 - DEBUG - VM ctest-vn1-vm1-95388257 launched on Node cn-jenkins-deploy-platform-ansible-os-3770-1 2025-08-07 14:21:47,824 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1effd8c4-639d-4fa5-a61c-f43a387b0959 2025-08-07 14:21:47,835 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9e5422cd-3e6b-4945-a0a3-a02ee50f7f7f 2025-08-07 14:21:51,122 - 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 1032ms') 2025-08-07 14:21:51,123 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95388257 failed! 2025-08-07 14:21:51,181 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75380675:ctest-vn1-50916894 is 141.212.68.1 and allocation pool is NOT set 2025-08-07 14:21:51,181 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75380675:ctest-vn1-50916894 is 51.65.43.65 and allocation pool is NOT set 2025-08-07 14:21:55,260 - 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 1009ms') 2025-08-07 14:21:55,260 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95388257 failed! 2025-08-07 14:21:55,317 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75380675:ctest-vn1-50916894 is 141.212.68.1 and allocation pool is NOT set 2025-08-07 14:21:55,317 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75380675:ctest-vn1-50916894 is 51.65.43.65 and allocation pool is NOT set 2025-08-07 14:21:57,385 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.935 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.935/2.689/4.443/1.754 ms') 2025-08-07 14:21:57,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95388257 passed 2025-08-07 14:21:57,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:21:57,542 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95388257, IP 141.212.68.5, Port 22 2025-08-07 14:21:57,715 - DEBUG - VM ctest-vn1-vm1-95388257 is ready for SSH connections 2025-08-07 14:21:57,715 - INFO - Waiting for VM ctest-vn1-vm2-86432483 to be up.. 2025-08-07 14:21:57,808 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:21:57,808 - INFO - VM name : ctest-vn1-vm2-86432483 2025-08-07 14:21:57,910 - DEBUG - VM ctest-vn1-vm2-86432483 ID is 1f57f81a-4a20-449b-b8b8-8506b1d015f5 2025-08-07 14:21:57,910 - DEBUG - VM ctest-vn1-vm2-86432483 launched on Node cn-jenkins-deploy-platform-ansible-os-3770-1 2025-08-07 14:21:58,006 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1f57f81a-4a20-449b-b8b8-8506b1d015f5 2025-08-07 14:21:58,017 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2e8bcd89-8fc3-4b31-ad21-72ea83573ef5 2025-08-07 14:21:59,284 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.453 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.453/1.930/3.407/1.477 ms') 2025-08-07 14:21:59,284 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86432483 passed 2025-08-07 14:21:59,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:21:59,441 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86432483, IP 51.65.43.69, Port 22 2025-08-07 14:21:59,632 - DEBUG - VM ctest-vn1-vm2-86432483 is ready for SSH connections 2025-08-07 14:21:59,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:21:59,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:21:59,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:21:59,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.212.68.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 14:21:59,633 - DEBUG - ping -s 56 -c 3 -W 1 141.212.68.5 2025-08-07 14:22:02,374 - DEBUG - PING 141.212.68.5 (141.212.68.5): 56 data bytes 64 bytes from 141.212.68.5: seq=0 ttl=63 time=5.346 ms 64 bytes from 141.212.68.5: seq=1 ttl=63 time=1.486 ms 64 bytes from 141.212.68.5: seq=2 ttl=63 time=1.079 ms --- 141.212.68.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.079/2.637/5.346 ms 2025-08-07 14:22:02,374 - INFO - Ping to IP 141.212.68.5 from VM ctest-vn1-vm2-86432483 passed 2025-08-07 14:22:02,374 - INFO - Detaching port 2e8bcd89-8fc3-4b31-ad21-72ea83573ef5 from VM ctest-vn1-vm2-86432483 2025-08-07 14:22:02,430 - INFO - Deleting VM ctest-vn1-vm2-86432483 2025-08-07 14:22:02,515 - INFO - Detaching port 9e5422cd-3e6b-4945-a0a3-a02ee50f7f7f from VM ctest-vn1-vm1-95388257 2025-08-07 14:22:02,558 - INFO - Deleting VM ctest-vn1-vm1-95388257 2025-08-07 14:22:02,865 - DEBUG - Response for delete_port : () 2025-08-07 14:22:03,095 - DEBUG - Response for delete_port : () 2025-08-07 14:22:03,095 - INFO - Deleting VN ctest-vn1-50916894 2025-08-07 14:22:03,270 - DEBUG - Response for deleting network () 2025-08-07 14:22:03,556 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 14:22:03,556 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-07 14:22:03,556 - INFO - -------------------------------------------------------------------------------- 2025-08-07 14:22:04,439 - INFO - Deleted project: ctest-TestPorts-75380675, ID : a8eda7c2-53a7-45c8-adab-d7f01e9870ca