2025-11-22 06:35:12,570 - INFO - Domain Default found not creating 2025-11-22 06:35:12,756 - INFO - Project ctest-TestPorts-65443649 not found, creating it 2025-11-22 06:35:13,257 - INFO - Created Project:ctest-TestPorts-65443649, ID : e8863dd4-1208-49ef-9359-f607e509b0be 2025-11-22 06:35:14,937 - INFO - ================================================================================ 2025-11-22 06:35:14,938 - INFO - STARTING TEST : test_ports_bindings 2025-11-22 06:35:14,938 - 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-11-22 06:35:15,195 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-22 06:35:15,195 - INFO - Initial checks done. Running the testcase now 2025-11-22 06:35:15,195 - INFO - 2025-11-22 06:35:15,774 - DEBUG - Response for create_network : {'network': {'id': '06d90e72-5dcd-4c4b-b9aa-f408c030e6f6', 'name': 'ctest-vn-00341549', 'tenant_id': 'e8863dd4120849ef9359f607e509b0be', 'project_id': 'e8863dd4120849ef9359f607e509b0be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65443649', 'ctest-vn-00341549'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 06:35:15,943 - DEBUG - Response for create_subnet : {'subnet': {'id': '815db8ec-d8d0-4663-988b-a5ee8626e515', 'name': '', 'tenant_id': 'e8863dd4120849ef9359f607e509b0be', 'network_id': '06d90e72-5dcd-4c4b-b9aa-f408c030e6f6', 'ip_version': 4, 'cidr': '207.211.73.128/26', 'allocation_pools': [{'start': '207.211.73.130', 'end': '207.211.73.190'}], 'gateway_ip': '207.211.73.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.211.73.130', 'tags': [], 'project_id': 'e8863dd4120849ef9359f607e509b0be'}} 2025-11-22 06:35:15,961 - INFO - Created VN ctest-vn-00341549 2025-11-22 06:35:16,012 - DEBUG - VN ctest-vn-00341549 UUID is 06d90e72-5dcd-4c4b-b9aa-f408c030e6f6 2025-11-22 06:35:16,119 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65443649', 'ctest-vmi-06960626']} 2025-11-22 06:35:16,367 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-06960626', 'id': 'dd1e8297-5e42-424e-b6eb-f45218562c09', 'tenant_id': 'e8863dd4120849ef9359f607e509b0be', 'network_id': '06d90e72-5dcd-4c4b-b9aa-f408c030e6f6', 'mac_address': '02:dd:1e:82:97:5e', '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': '207.211.73.131', 'subnet_id': '815db8ec-d8d0-4663-988b-a5ee8626e515'}], 'security_groups': ['5704c6d1-a77e-4947-a5f4-5c9a923a919b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e8863dd4120849ef9359f607e509b0be'}} 2025-11-22 06:35:16,367 - DEBUG - Created port dd1e8297-5e42-424e-b6eb-f45218562c09 2025-11-22 06:35:16,476 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dd1e8297-5e42-424e-b6eb-f45218562c09 2025-11-22 06:35:16,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dd1e8297-5e42-424e-b6eb-f45218562c09 2025-11-22 06:35:16,822 - INFO - VMI dd1e8297-5e42-424e-b6eb-f45218562c09 verification in API Server passed 2025-11-22 06:35:16,912 - DEBUG - Response for delete_port : () 2025-11-22 06:35:16,912 - INFO - Deleted port dd1e8297-5e42-424e-b6eb-f45218562c09 2025-11-22 06:35:16,912 - INFO - Deleting VN ctest-vn-00341549 2025-11-22 06:35:17,010 - DEBUG - Response for deleting network () 2025-11-22 06:35:17,267 - DEBUG - No XMPP flaps were noticed during the test
2025-11-22 06:35:17,267 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-22 06:35:17,267 - INFO - -------------------------------------------------------------------------------- 2025-11-22 06:35:17,269 - INFO - ================================================================================ 2025-11-22 06:35:17,270 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-22 06:35:17,270 - 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-11-22 06:35:17,572 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-22 06:35:17,572 - INFO - Initial checks done. Running the testcase now 2025-11-22 06:35:17,573 - INFO - 2025-11-22 06:35:17,764 - DEBUG - Response for create_network : {'network': {'id': '6ba131c9-5e36-4b0b-a6b0-f85941ba1dda', 'name': 'ctest-vn1-51922126', 'tenant_id': 'e8863dd4120849ef9359f607e509b0be', 'project_id': 'e8863dd4120849ef9359f607e509b0be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65443649', 'ctest-vn1-51922126'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 06:35:17,915 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cce8ce76-8446-43fc-acc6-386eca177e76', 'name': '', 'tenant_id': 'e8863dd4120849ef9359f607e509b0be', 'network_id': '6ba131c9-5e36-4b0b-a6b0-f85941ba1dda', 'ip_version': 4, 'cidr': '32.109.89.64/26', 'allocation_pools': [{'start': '32.109.89.66', 'end': '32.109.89.126'}], 'gateway_ip': '32.109.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.109.89.66', 'tags': [], 'project_id': 'e8863dd4120849ef9359f607e509b0be'}} 2025-11-22 06:35:18,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fb79a48-9515-45c9-b997-736c44974c99', 'name': '', 'tenant_id': 'e8863dd4120849ef9359f607e509b0be', 'network_id': '6ba131c9-5e36-4b0b-a6b0-f85941ba1dda', 'ip_version': 4, 'cidr': '79.108.10.64/26', 'allocation_pools': [{'start': '79.108.10.66', 'end': '79.108.10.126'}], 'gateway_ip': '79.108.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.108.10.66', 'tags': [], 'project_id': 'e8863dd4120849ef9359f607e509b0be'}} 2025-11-22 06:35:18,123 - INFO - Created VN ctest-vn1-51922126 2025-11-22 06:35:18,180 - DEBUG - VN ctest-vn1-51922126 UUID is 6ba131c9-5e36-4b0b-a6b0-f85941ba1dda 2025-11-22 06:35:18,479 - DEBUG - Response for create_port : {'port': {'name': '3f6facca-80c2-40a7-8134-06e79581edb6', 'id': '3f6facca-80c2-40a7-8134-06e79581edb6', 'tenant_id': 'e8863dd4120849ef9359f607e509b0be', 'network_id': '6ba131c9-5e36-4b0b-a6b0-f85941ba1dda', 'mac_address': '02:3f:6f:ac:ca:80', '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': '32.109.89.69', 'subnet_id': 'cce8ce76-8446-43fc-acc6-386eca177e76'}], 'security_groups': ['5704c6d1-a77e-4947-a5f4-5c9a923a919b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e8863dd4120849ef9359f607e509b0be'}} 2025-11-22 06:35:18,670 - DEBUG - Response for create_port : {'port': {'name': 'b04169fe-690f-4eec-bf4a-870df1b8ae73', 'id': 'b04169fe-690f-4eec-bf4a-870df1b8ae73', 'tenant_id': 'e8863dd4120849ef9359f607e509b0be', 'network_id': '6ba131c9-5e36-4b0b-a6b0-f85941ba1dda', 'mac_address': '02:b0:41:69:fe:69', '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': '79.108.10.69', 'subnet_id': '4fb79a48-9515-45c9-b997-736c44974c99'}], 'security_groups': ['5704c6d1-a77e-4947-a5f4-5c9a923a919b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e8863dd4120849ef9359f607e509b0be'}} 2025-11-22 06:35:18,732 - DEBUG - Services list from nova: [, , ] 2025-11-22 06:35:19,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4797-1) 2025-11-22 06:35:19,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4797-1) 2025-11-22 06:35:19,518 - INFO - Waiting for VM ctest-vn1-vm1-73174573 to be up.. 2025-11-22 06:35:19,566 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-22 06:35:24,643 - DEBUG - VM is in ACTIVE state now 2025-11-22 06:35:24,643 - INFO - VM name : ctest-vn1-vm1-73174573 2025-11-22 06:35:24,719 - DEBUG - VM ctest-vn1-vm1-73174573 ID is 8639af26-4914-4604-bac9-969d15c1e0df 2025-11-22 06:35:24,738 - DEBUG - VM ctest-vn1-vm1-73174573 launched on Node cn-jenkins-deploy-platform-ansible-os-4797-1 2025-11-22 06:35:24,816 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8639af26-4914-4604-bac9-969d15c1e0df 2025-11-22 06:35:24,825 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3f6facca-80c2-40a7-8134-06e79581edb6 2025-11-22 06:35:28,081 - 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 1018ms') 2025-11-22 06:35:28,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73174573 failed! 2025-11-22 06:35:28,136 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65443649:ctest-vn1-51922126 is 32.109.89.65 and allocation pool is NOT set 2025-11-22 06:35:28,136 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65443649:ctest-vn1-51922126 is 79.108.10.65 and allocation pool is NOT set 2025-11-22 06:35:32,209 - 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=2 ttl=63 time=7.09 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 7.091/7.091/7.091/0.000 ms') 2025-11-22 06:35:32,209 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73174573 passed 2025-11-22 06:35:32,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:35:32,360 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73174573, IP 32.109.89.69, Port 22 2025-11-22 06:35:32,534 - DEBUG - VM ctest-vn1-vm1-73174573 is ready for SSH connections 2025-11-22 06:35:32,534 - INFO - Waiting for VM ctest-vn1-vm2-57464823 to be up.. 2025-11-22 06:35:32,613 - DEBUG - VM is in ACTIVE state now 2025-11-22 06:35:32,613 - INFO - VM name : ctest-vn1-vm2-57464823 2025-11-22 06:35:32,684 - DEBUG - VM ctest-vn1-vm2-57464823 ID is f05a422c-2d05-4796-b859-231614acca1a 2025-11-22 06:35:32,685 - DEBUG - VM ctest-vn1-vm2-57464823 launched on Node cn-jenkins-deploy-platform-ansible-os-4797-1 2025-11-22 06:35:32,761 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f05a422c-2d05-4796-b859-231614acca1a 2025-11-22 06:35:32,770 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b04169fe-690f-4eec-bf4a-870df1b8ae73 2025-11-22 06:35:34,010 - 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=2.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.525 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 = 0.525/1.621/2.717/1.096 ms') 2025-11-22 06:35:34,011 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57464823 passed 2025-11-22 06:35:34,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:35:34,168 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57464823, IP 79.108.10.69, Port 22 2025-11-22 06:35:34,327 - DEBUG - VM ctest-vn1-vm2-57464823 is ready for SSH connections 2025-11-22 06:35:34,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:35:34,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:35:34,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:35:34,328 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.109.89.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-22 06:35:34,328 - DEBUG - ping -s 56 -c 3 -W 1 32.109.89.69 2025-11-22 06:35:36,984 - DEBUG - PING 32.109.89.69 (32.109.89.69): 56 data bytes 64 bytes from 32.109.89.69: seq=0 ttl=63 time=4.177 ms 64 bytes from 32.109.89.69: seq=1 ttl=63 time=1.025 ms 64 bytes from 32.109.89.69: seq=2 ttl=63 time=0.961 ms --- 32.109.89.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.961/2.054/4.177 ms 2025-11-22 06:35:36,984 - INFO - Ping to IP 32.109.89.69 from VM ctest-vn1-vm2-57464823 passed 2025-11-22 06:35:36,984 - INFO - Detaching port b04169fe-690f-4eec-bf4a-870df1b8ae73 from VM ctest-vn1-vm2-57464823 2025-11-22 06:35:37,048 - INFO - Deleting VM ctest-vn1-vm2-57464823 2025-11-22 06:35:37,130 - INFO - Detaching port 3f6facca-80c2-40a7-8134-06e79581edb6 from VM ctest-vn1-vm1-73174573 2025-11-22 06:35:37,168 - INFO - Deleting VM ctest-vn1-vm1-73174573 2025-11-22 06:35:37,453 - DEBUG - Response for delete_port : () 2025-11-22 06:35:37,663 - DEBUG - Response for delete_port : () 2025-11-22 06:35:37,663 - INFO - Deleting VN ctest-vn1-51922126 2025-11-22 06:35:37,817 - DEBUG - Response for deleting network () 2025-11-22 06:35:38,077 - DEBUG - No XMPP flaps were noticed during the test
2025-11-22 06:35:38,077 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-22 06:35:38,078 - INFO - -------------------------------------------------------------------------------- 2025-11-22 06:35:38,803 - INFO - Deleted project: ctest-TestPorts-65443649, ID : e8863dd4-1208-49ef-9359-f607e509b0be