2025-09-13 23:15:12,487 - INFO - Domain Default found not creating
2025-09-13 23:15:12,639 - INFO - Project ctest-TestPorts-90668516 not found, creating it
2025-09-13 23:15:13,109 - INFO - Created Project:ctest-TestPorts-90668516, ID : e0f336d6-5d7f-4d6d-a083-cd557723057f
2025-09-13 23:15:14,530 - INFO - ================================================================================
2025-09-13 23:15:14,530 - INFO - STARTING TEST : test_ports_bindings
2025-09-13 23:15:14,530 - 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-09-13 23:15:14,784 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-13 23:15:14,784 - INFO - Initial checks done. Running the testcase now
2025-09-13 23:15:14,785 - INFO -
2025-09-13 23:15:15,326 - DEBUG - Response for create_network : {'network': {'id': '8474afc2-7837-4655-9318-3ae6c1312ed8', 'name': 'ctest-vn-47259627', 'tenant_id': 'e0f336d65d7f4d6da083cd557723057f', 'project_id': 'e0f336d65d7f4d6da083cd557723057f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90668516', 'ctest-vn-47259627'], 'port_security_enabled': True, 'description': ''}}
2025-09-13 23:15:15,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '8892881a-d4eb-45bc-a845-a210a2f9b915', 'name': '', 'tenant_id': 'e0f336d65d7f4d6da083cd557723057f', 'network_id': '8474afc2-7837-4655-9318-3ae6c1312ed8', 'ip_version': 4, 'cidr': '93.103.241.0/26', 'allocation_pools': [{'start': '93.103.241.2', 'end': '93.103.241.62'}], 'gateway_ip': '93.103.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.103.241.2', 'tags': [], 'project_id': 'e0f336d65d7f4d6da083cd557723057f'}}
2025-09-13 23:15:15,496 - INFO - Created VN ctest-vn-47259627
2025-09-13 23:15:15,547 - DEBUG - VN ctest-vn-47259627 UUID is 8474afc2-7837-4655-9318-3ae6c1312ed8
2025-09-13 23:15:15,659 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-90668516', 'ctest-vmi-96062056']}
2025-09-13 23:15:15,912 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96062056', 'id': '5fb7b959-3d64-4a53-a494-bab33be97b36', 'tenant_id': 'e0f336d65d7f4d6da083cd557723057f', 'network_id': '8474afc2-7837-4655-9318-3ae6c1312ed8', 'mac_address': '02:5f:b7:b9:59:3d', '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': '93.103.241.3', 'subnet_id': '8892881a-d4eb-45bc-a845-a210a2f9b915'}], 'security_groups': ['366c76d9-1c33-4ac2-8f44-c3cb1a1bdc29'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0f336d65d7f4d6da083cd557723057f'}}
2025-09-13 23:15:15,912 - DEBUG - Created port 5fb7b959-3d64-4a53-a494-bab33be97b36
2025-09-13 23:15:16,015 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5fb7b959-3d64-4a53-a494-bab33be97b36
2025-09-13 23:15:16,319 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5fb7b959-3d64-4a53-a494-bab33be97b36
2025-09-13 23:15:16,354 - INFO - VMI 5fb7b959-3d64-4a53-a494-bab33be97b36 verification in API Server passed
2025-09-13 23:15:16,450 - DEBUG - Response for delete_port : ()
2025-09-13 23:15:16,450 - INFO - Deleted port 5fb7b959-3d64-4a53-a494-bab33be97b36
2025-09-13 23:15:16,450 - INFO - Deleting VN ctest-vn-47259627
2025-09-13 23:15:16,565 - DEBUG - Response for deleting network ()
2025-09-13 23:15:16,835 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 23:15:16,835 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-13 23:15:16,835 - INFO - --------------------------------------------------------------------------------
2025-09-13 23:15:16,838 - INFO - ================================================================================
2025-09-13 23:15:16,838 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-13 23:15:16,838 - 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-09-13 23:15:17,120 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-13 23:15:17,120 - INFO - Initial checks done. Running the testcase now
2025-09-13 23:15:17,120 - INFO -
2025-09-13 23:15:17,307 - DEBUG - Response for create_network : {'network': {'id': '3c38c0c5-213f-4ecb-9b25-2dafebb7d79a', 'name': 'ctest-vn1-39827331', 'tenant_id': 'e0f336d65d7f4d6da083cd557723057f', 'project_id': 'e0f336d65d7f4d6da083cd557723057f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90668516', 'ctest-vn1-39827331'], 'port_security_enabled': True, 'description': ''}}
2025-09-13 23:15:17,490 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d711a1f-36f5-4068-bfa3-397b61c20e99', 'name': '', 'tenant_id': 'e0f336d65d7f4d6da083cd557723057f', 'network_id': '3c38c0c5-213f-4ecb-9b25-2dafebb7d79a', 'ip_version': 4, 'cidr': '67.85.157.0/26', 'allocation_pools': [{'start': '67.85.157.2', 'end': '67.85.157.62'}], 'gateway_ip': '67.85.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.85.157.2', 'tags': [], 'project_id': 'e0f336d65d7f4d6da083cd557723057f'}}
2025-09-13 23:15:17,668 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae16c941-7ca6-4aff-ae8d-3f91d6e86aba', 'name': '', 'tenant_id': 'e0f336d65d7f4d6da083cd557723057f', 'network_id': '3c38c0c5-213f-4ecb-9b25-2dafebb7d79a', 'ip_version': 4, 'cidr': '68.170.141.64/26', 'allocation_pools': [{'start': '68.170.141.66', 'end': '68.170.141.126'}], 'gateway_ip': '68.170.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.170.141.66', 'tags': [], 'project_id': 'e0f336d65d7f4d6da083cd557723057f'}}
2025-09-13 23:15:17,687 - INFO - Created VN ctest-vn1-39827331
2025-09-13 23:15:17,739 - DEBUG - VN ctest-vn1-39827331 UUID is 3c38c0c5-213f-4ecb-9b25-2dafebb7d79a
2025-09-13 23:15:18,047 - DEBUG - Response for create_port : {'port': {'name': 'd160fd61-0995-4d2b-ae40-e1261c28ff47', 'id': 'd160fd61-0995-4d2b-ae40-e1261c28ff47', 'tenant_id': 'e0f336d65d7f4d6da083cd557723057f', 'network_id': '3c38c0c5-213f-4ecb-9b25-2dafebb7d79a', 'mac_address': '02:d1:60:fd:61:09', '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': '67.85.157.5', 'subnet_id': '2d711a1f-36f5-4068-bfa3-397b61c20e99'}], 'security_groups': ['366c76d9-1c33-4ac2-8f44-c3cb1a1bdc29'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0f336d65d7f4d6da083cd557723057f'}}
2025-09-13 23:15:18,216 - DEBUG - Response for create_port : {'port': {'name': '7aaa6b8b-6b55-405f-bd17-5370066f5343', 'id': '7aaa6b8b-6b55-405f-bd17-5370066f5343', 'tenant_id': 'e0f336d65d7f4d6da083cd557723057f', 'network_id': '3c38c0c5-213f-4ecb-9b25-2dafebb7d79a', 'mac_address': '02:7a:aa:6b:8b:6b', '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': '68.170.141.69', 'subnet_id': 'ae16c941-7ca6-4aff-ae8d-3f91d6e86aba'}], 'security_groups': ['366c76d9-1c33-4ac2-8f44-c3cb1a1bdc29'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0f336d65d7f4d6da083cd557723057f'}}
2025-09-13 23:15:18,271 - DEBUG - Services list from nova: [, , ]
2025-09-13 23:15:18,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4105-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4105-1)
2025-09-13 23:15:19,013 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4105-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4105-1)
2025-09-13 23:15:19,013 - INFO - Waiting for VM ctest-vn1-vm1-14868079 to be up..
2025-09-13 23:15:19,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-13 23:15:24,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-13 23:15:29,204 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-13 23:15:34,279 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-13 23:15:39,366 - DEBUG - VM is in ACTIVE state now
2025-09-13 23:15:39,366 - INFO - VM name : ctest-vn1-vm1-14868079
2025-09-13 23:15:39,453 - DEBUG - VM ctest-vn1-vm1-14868079 ID is 951a541a-8243-4230-8ba1-01dcb59c81bd
2025-09-13 23:15:39,476 - DEBUG - VM ctest-vn1-vm1-14868079 launched on Node cn-jenkins-deploy-platform-ansible-os-4105-1
2025-09-13 23:15:39,561 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/951a541a-8243-4230-8ba1-01dcb59c81bd
2025-09-13 23:15:39,571 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d160fd61-0995-4d2b-ae40-e1261c28ff47
2025-09-13 23:15:42,830 - 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 1007ms')
2025-09-13 23:15:42,830 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14868079 failed!
2025-09-13 23:15:42,891 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90668516:ctest-vn1-39827331 is 67.85.157.1 and allocation pool is NOT set
2025-09-13 23:15:42,891 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90668516:ctest-vn1-39827331 is 68.170.141.65 and allocation pool is NOT set
2025-09-13 23:15:46,952 - 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 1005ms')
2025-09-13 23:15:46,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14868079 failed!
2025-09-13 23:15:47,007 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90668516:ctest-vn1-39827331 is 67.85.157.1 and allocation pool is NOT set
2025-09-13 23:15:47,007 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90668516:ctest-vn1-39827331 is 68.170.141.65 and allocation pool is NOT set
2025-09-13 23:15:49,067 - 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=5.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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 = 1.045/3.428/5.811/2.383 ms')
2025-09-13 23:15:49,067 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14868079 passed
2025-09-13 23:15:49,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 23:15:49,227 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14868079, IP 67.85.157.5, Port 22
2025-09-13 23:15:49,394 - DEBUG - VM ctest-vn1-vm1-14868079 is ready for SSH connections
2025-09-13 23:15:49,395 - INFO - Waiting for VM ctest-vn1-vm2-51518283 to be up..
2025-09-13 23:15:49,471 - DEBUG - VM is in ACTIVE state now
2025-09-13 23:15:49,471 - INFO - VM name : ctest-vn1-vm2-51518283
2025-09-13 23:15:49,546 - DEBUG - VM ctest-vn1-vm2-51518283 ID is f054e100-c861-40ee-a1f3-cb310f592061
2025-09-13 23:15:49,546 - DEBUG - VM ctest-vn1-vm2-51518283 launched on Node cn-jenkins-deploy-platform-ansible-os-4105-1
2025-09-13 23:15:49,624 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f054e100-c861-40ee-a1f3-cb310f592061
2025-09-13 23:15:49,635 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7aaa6b8b-6b55-405f-bd17-5370066f5343
2025-09-13 23:15:50,873 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.729/3.002/1.273 ms')
2025-09-13 23:15:50,873 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-51518283 passed
2025-09-13 23:15:51,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 23:15:51,023 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51518283, IP 68.170.141.69, Port 22
2025-09-13 23:15:51,200 - DEBUG - VM ctest-vn1-vm2-51518283 is ready for SSH connections
2025-09-13 23:15:51,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 23:15:51,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 23:15:51,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-13 23:15:51,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.85.157.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-13 23:15:51,201 - DEBUG - ping -s 56 -c 3 -W 1 67.85.157.5
2025-09-13 23:15:53,883 - DEBUG - PING 67.85.157.5 (67.85.157.5): 56 data bytes
64 bytes from 67.85.157.5: seq=0 ttl=63 time=7.624 ms
64 bytes from 67.85.157.5: seq=1 ttl=63 time=0.928 ms
64 bytes from 67.85.157.5: seq=2 ttl=63 time=0.818 ms
--- 67.85.157.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.818/3.123/7.624 ms
2025-09-13 23:15:53,883 - INFO - Ping to IP 67.85.157.5 from VM ctest-vn1-vm2-51518283 passed
2025-09-13 23:15:53,883 - INFO - Detaching port 7aaa6b8b-6b55-405f-bd17-5370066f5343 from VM ctest-vn1-vm2-51518283
2025-09-13 23:15:53,940 - INFO - Deleting VM ctest-vn1-vm2-51518283
2025-09-13 23:15:54,014 - INFO - Detaching port d160fd61-0995-4d2b-ae40-e1261c28ff47 from VM ctest-vn1-vm1-14868079
2025-09-13 23:15:54,048 - INFO - Deleting VM ctest-vn1-vm1-14868079
2025-09-13 23:15:54,308 - DEBUG - Response for delete_port : ()
2025-09-13 23:15:54,493 - DEBUG - Response for delete_port : ()
2025-09-13 23:15:54,493 - INFO - Deleting VN ctest-vn1-39827331
2025-09-13 23:15:54,629 - DEBUG - Response for deleting network ()
2025-09-13 23:15:54,888 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 23:15:54,888 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:38]
2025-09-13 23:15:54,888 - INFO - --------------------------------------------------------------------------------
2025-09-13 23:15:55,582 - INFO - Deleted project: ctest-TestPorts-90668516, ID : e0f336d6-5d7f-4d6d-a083-cd557723057f