2026-11-05 15:54:42,601 - INFO - Domain Default found not creating
2026-11-05 15:54:42,961 - INFO - Project ctest-TestPorts-15784993 not found, creating it
2026-11-05 15:54:43,456 - INFO - Created Project:ctest-TestPorts-15784993, ID : f216aa6e-5526-4979-a122-3c97e53849ce
2026-11-05 15:54:45,929 - INFO - ================================================================================
2026-11-05 15:54:45,929 - INFO - STARTING TEST : test_ports_bindings
2026-11-05 15:54:45,929 - 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
2026-11-05 15:54:46,187 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with
2026-11-05 15:54:46,188 - INFO - Initial checks done. Running the testcase now
2026-11-05 15:54:46,188 - INFO -
2026-11-05 15:54:46,785 - DEBUG - Response for create_network : {'network': {'id': '9e918211-73cf-46f3-ba15-d4f1293445aa', 'name': 'ctest-vn-51865367', 'tenant_id': 'f216aa6e55264979a1223c97e53849ce', 'project_id': 'f216aa6e55264979a1223c97e53849ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15784993', 'ctest-vn-51865367'], 'port_security_enabled': True, 'description': ''}}
2026-11-05 15:54:46,959 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ed805a1-5850-46d8-a9b6-5d26fa854324', 'name': '', 'tenant_id': 'f216aa6e55264979a1223c97e53849ce', 'network_id': '9e918211-73cf-46f3-ba15-d4f1293445aa', 'ip_version': 4, 'cidr': '174.132.179.64/26', 'allocation_pools': [{'start': '174.132.179.66', 'end': '174.132.179.126'}], 'gateway_ip': '174.132.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.132.179.66', 'tags': [], 'project_id': 'f216aa6e55264979a1223c97e53849ce'}}
2026-11-05 15:54:46,974 - INFO - Created VN ctest-vn-51865367
2026-11-05 15:54:47,025 - DEBUG - VN ctest-vn-51865367 UUID is 9e918211-73cf-46f3-ba15-d4f1293445aa
2026-11-05 15:54:47,122 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15784993', 'ctest-vmi-09831136']}
2026-11-05 15:54:47,414 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-09831136', 'id': '540c761e-fca7-402c-84f4-102334932786', 'tenant_id': 'f216aa6e55264979a1223c97e53849ce', 'network_id': '9e918211-73cf-46f3-ba15-d4f1293445aa', 'mac_address': '02:54:0c:76:1e:fc', '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': '174.132.179.67', 'subnet_id': '2ed805a1-5850-46d8-a9b6-5d26fa854324'}], 'security_groups': ['5df20221-1e33-4b95-a78b-f5feced3aaeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'f216aa6e55264979a1223c97e53849ce'}}
2026-11-05 15:54:47,414 - DEBUG - Created port 540c761e-fca7-402c-84f4-102334932786
2026-11-05 15:54:47,517 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/540c761e-fca7-402c-84f4-102334932786
2026-11-05 15:54:47,879 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/540c761e-fca7-402c-84f4-102334932786
2026-11-05 15:54:47,908 - INFO - VMI 540c761e-fca7-402c-84f4-102334932786 verification in API Server passed
2026-11-05 15:54:47,997 - DEBUG - Response for delete_port : ()
2026-11-05 15:54:47,997 - INFO - Deleted port 540c761e-fca7-402c-84f4-102334932786
2026-11-05 15:54:47,997 - INFO - Deleting VN ctest-vn-51865367
2026-11-05 15:54:48,099 - DEBUG - Response for deleting network ()
2026-11-05 15:54:48,354 - DEBUG - No XMPP flaps were noticed during the test
2026-11-05 15:54:48,354 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-11-05 15:54:48,354 - INFO - --------------------------------------------------------------------------------
2026-11-05 15:54:48,357 - INFO - ================================================================================
2026-11-05 15:54:48,357 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-11-05 15:54:48,357 - 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
2026-11-05 15:54:48,648 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with
2026-11-05 15:54:48,648 - INFO - Initial checks done. Running the testcase now
2026-11-05 15:54:48,648 - INFO -
2026-11-05 15:54:48,834 - DEBUG - Response for create_network : {'network': {'id': '479a782b-5f33-4954-aacc-893e441d9133', 'name': 'ctest-vn1-65580070', 'tenant_id': 'f216aa6e55264979a1223c97e53849ce', 'project_id': 'f216aa6e55264979a1223c97e53849ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15784993', 'ctest-vn1-65580070'], 'port_security_enabled': True, 'description': ''}}
2026-11-05 15:54:49,029 - DEBUG - Response for create_subnet : {'subnet': {'id': '86901264-c016-4703-a82e-02bf3024abd5', 'name': '', 'tenant_id': 'f216aa6e55264979a1223c97e53849ce', 'network_id': '479a782b-5f33-4954-aacc-893e441d9133', 'ip_version': 4, 'cidr': '197.57.69.64/26', 'allocation_pools': [{'start': '197.57.69.66', 'end': '197.57.69.126'}], 'gateway_ip': '197.57.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.57.69.66', 'tags': [], 'project_id': 'f216aa6e55264979a1223c97e53849ce'}}
2026-11-05 15:54:49,250 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b44c7552-fb65-4d11-8792-a2fad9c31f88', 'name': '', 'tenant_id': 'f216aa6e55264979a1223c97e53849ce', 'network_id': '479a782b-5f33-4954-aacc-893e441d9133', 'ip_version': 4, 'cidr': '159.172.38.0/26', 'allocation_pools': [{'start': '159.172.38.2', 'end': '159.172.38.62'}], 'gateway_ip': '159.172.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.172.38.2', 'tags': [], 'project_id': 'f216aa6e55264979a1223c97e53849ce'}}
2026-11-05 15:54:49,268 - INFO - Created VN ctest-vn1-65580070
2026-11-05 15:54:49,321 - DEBUG - VN ctest-vn1-65580070 UUID is 479a782b-5f33-4954-aacc-893e441d9133
2026-11-05 15:54:49,615 - DEBUG - Response for create_port : {'port': {'name': '632079b2-740c-4c53-abdc-8ac6dc4d0625', 'id': '632079b2-740c-4c53-abdc-8ac6dc4d0625', 'tenant_id': 'f216aa6e55264979a1223c97e53849ce', 'network_id': '479a782b-5f33-4954-aacc-893e441d9133', 'mac_address': '02:63:20:79:b2:74', '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': '197.57.69.69', 'subnet_id': '86901264-c016-4703-a82e-02bf3024abd5'}], 'security_groups': ['5df20221-1e33-4b95-a78b-f5feced3aaeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'f216aa6e55264979a1223c97e53849ce'}}
2026-11-05 15:54:49,813 - DEBUG - Response for create_port : {'port': {'name': '7f283679-9fb7-425a-8522-36176e386371', 'id': '7f283679-9fb7-425a-8522-36176e386371', 'tenant_id': 'f216aa6e55264979a1223c97e53849ce', 'network_id': '479a782b-5f33-4954-aacc-893e441d9133', 'mac_address': '02:7f:28:36:79:9f', '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': '159.172.38.5', 'subnet_id': 'b44c7552-fb65-4d11-8792-a2fad9c31f88'}], 'security_groups': ['5df20221-1e33-4b95-a78b-f5feced3aaeb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'f216aa6e55264979a1223c97e53849ce'}}
2026-11-05 15:54:49,869 - DEBUG - Services list from nova: [, , ]
2026-11-05 15:54:50,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6483-1)
2026-11-05 15:54:50,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6483-1)
2026-11-05 15:54:50,614 - INFO - Waiting for VM ctest-vn1-vm1-41896082 to be up..
2026-11-05 15:54:50,660 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 15:54:55,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 15:55:00,781 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 15:55:05,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 15:55:10,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 15:55:16,010 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 15:55:21,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 15:55:26,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-05 15:55:31,242 - DEBUG - VM is in ACTIVE state now
2026-11-05 15:55:31,243 - INFO - VM name : ctest-vn1-vm1-41896082
2026-11-05 15:55:31,327 - DEBUG - VM ctest-vn1-vm1-41896082 ID is a6080d95-8b18-4996-a87d-b20db7ffa408
2026-11-05 15:55:31,353 - DEBUG - VM ctest-vn1-vm1-41896082 launched on Node cn-jenkins-deploy-platform-ansible-os-6483-1
2026-11-05 15:55:31,437 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/a6080d95-8b18-4996-a87d-b20db7ffa408
2026-11-05 15:55:31,445 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/632079b2-740c-4c53-abdc-8ac6dc4d0625
2026-11-05 15:55:34,690 - 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 1006ms')
2026-11-05 15:55:34,690 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-41896082 failed!
2026-11-05 15:55:34,758 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15784993:ctest-vn1-65580070 is 197.57.69.65 and allocation pool is NOT set
2026-11-05 15:55:34,758 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15784993:ctest-vn1-65580070 is 159.172.38.1 and allocation pool is NOT set
2026-11-05 15:55:38,845 - 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=11.1 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 11.066/11.066/11.066/0.000 ms')
2026-11-05 15:55:38,845 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-41896082 passed
2026-11-05 15:55:39,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-05 15:55:39,006 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41896082, IP 197.57.69.69, Port 22
2026-11-05 15:55:39,175 - DEBUG - VM ctest-vn1-vm1-41896082 is ready for SSH connections
2026-11-05 15:55:39,175 - INFO - Waiting for VM ctest-vn1-vm2-93384006 to be up..
2026-11-05 15:55:39,250 - DEBUG - VM is in ACTIVE state now
2026-11-05 15:55:39,250 - INFO - VM name : ctest-vn1-vm2-93384006
2026-11-05 15:55:39,327 - DEBUG - VM ctest-vn1-vm2-93384006 ID is 4ee61084-6fd0-406a-b9f9-52223b7c8379
2026-11-05 15:55:39,327 - DEBUG - VM ctest-vn1-vm2-93384006 launched on Node cn-jenkins-deploy-platform-ansible-os-6483-1
2026-11-05 15:55:39,423 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/4ee61084-6fd0-406a-b9f9-52223b7c8379
2026-11-05 15:55:39,433 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/7f283679-9fb7-425a-8522-36176e386371
2026-11-05 15:55:40,686 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.345 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.345/2.135/3.925/1.790 ms')
2026-11-05 15:55:40,686 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-93384006 passed
2026-11-05 15:55:40,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-05 15:55:40,838 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93384006, IP 159.172.38.5, Port 22
2026-11-05 15:55:40,997 - DEBUG - VM ctest-vn1-vm2-93384006 is ready for SSH connections
2026-11-05 15:55:40,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-05 15:55:40,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-05 15:55:40,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-05 15:55:40,997 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.57.69.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123
2026-11-05 15:55:40,997 - DEBUG - ping -s 56 -c 3 -W 1 197.57.69.69
2026-11-05 15:55:45,010 - DEBUG - PING 197.57.69.69 (197.57.69.69): 56 data bytes
64 bytes from 197.57.69.69: seq=0 ttl=63 time=4.113 ms
64 bytes from 197.57.69.69: seq=1 ttl=63 time=1.006 ms
64 bytes from 197.57.69.69: seq=2 ttl=63 time=0.870 ms
--- 197.57.69.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.870/1.996/4.113 ms
2026-11-05 15:55:45,010 - INFO - Ping to IP 197.57.69.69 from VM ctest-vn1-vm2-93384006 passed
2026-11-05 15:55:45,010 - INFO - Detaching port 7f283679-9fb7-425a-8522-36176e386371 from VM ctest-vn1-vm2-93384006
2026-11-05 15:55:45,072 - INFO - Deleting VM ctest-vn1-vm2-93384006
2026-11-05 15:55:45,142 - INFO - Detaching port 632079b2-740c-4c53-abdc-8ac6dc4d0625 from VM ctest-vn1-vm1-41896082
2026-11-05 15:55:45,180 - INFO - Deleting VM ctest-vn1-vm1-41896082
2026-11-05 15:55:45,403 - DEBUG - Response for delete_port : ()
2026-11-05 15:55:45,566 - DEBUG - Response for delete_port : ()
2026-11-05 15:55:45,566 - INFO - Deleting VN ctest-vn1-65580070
2026-11-05 15:55:45,705 - DEBUG - Response for deleting network ()
2026-11-05 15:55:45,966 - DEBUG - No XMPP flaps were noticed during the test
2026-11-05 15:55:45,966 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:57]
2026-11-05 15:55:45,966 - INFO - --------------------------------------------------------------------------------
2026-11-05 15:55:46,790 - INFO - Deleted project: ctest-TestPorts-15784993, ID : f216aa6e-5526-4979-a122-3c97e53849ce