2025-10-21 15:23:32,015 - INFO - Domain Default found not creating 2025-10-21 15:23:32,152 - INFO - Project ctest-TestPorts-35791812 not found, creating it 2025-10-21 15:23:32,564 - INFO - Created Project:ctest-TestPorts-35791812, ID : bba054aa-90e5-41da-9a3c-8206f927ca63 2025-10-21 15:23:34,003 - INFO - ================================================================================ 2025-10-21 15:23:34,003 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 15:23:34,003 - 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-10-21 15:23:34,262 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-10-21 15:23:34,262 - INFO - Initial checks done. Running the testcase now 2025-10-21 15:23:34,262 - INFO - 2025-10-21 15:23:34,760 - DEBUG - Response for create_network : {'network': {'id': 'c368f524-a1bf-4c93-b95b-71a455621fe7', 'name': 'ctest-vn-01411712', 'tenant_id': 'bba054aa90e541da9a3c8206f927ca63', 'project_id': 'bba054aa90e541da9a3c8206f927ca63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35791812', 'ctest-vn-01411712'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 15:23:34,931 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba2abf41-e8e3-4814-9fe9-49ee1bb153a0', 'name': '', 'tenant_id': 'bba054aa90e541da9a3c8206f927ca63', 'network_id': 'c368f524-a1bf-4c93-b95b-71a455621fe7', 'ip_version': 4, 'cidr': '149.144.127.0/26', 'allocation_pools': [{'start': '149.144.127.2', 'end': '149.144.127.62'}], 'gateway_ip': '149.144.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.144.127.2', 'tags': [], 'project_id': 'bba054aa90e541da9a3c8206f927ca63'}} 2025-10-21 15:23:34,946 - INFO - Created VN ctest-vn-01411712 2025-10-21 15:23:34,998 - DEBUG - VN ctest-vn-01411712 UUID is c368f524-a1bf-4c93-b95b-71a455621fe7 2025-10-21 15:23:35,098 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35791812', 'ctest-vmi-41715874']} 2025-10-21 15:23:35,357 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41715874', 'id': 'a9e1ed85-3a60-4ada-8dd8-0253859be7bd', 'tenant_id': 'bba054aa90e541da9a3c8206f927ca63', 'network_id': 'c368f524-a1bf-4c93-b95b-71a455621fe7', 'mac_address': '02:a9:e1:ed:85:3a', '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': '149.144.127.3', 'subnet_id': 'ba2abf41-e8e3-4814-9fe9-49ee1bb153a0'}], 'security_groups': ['5857eebb-39e9-4b74-84b6-8a6b47a8e190'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bba054aa90e541da9a3c8206f927ca63'}} 2025-10-21 15:23:35,357 - DEBUG - Created port a9e1ed85-3a60-4ada-8dd8-0253859be7bd 2025-10-21 15:23:35,466 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a9e1ed85-3a60-4ada-8dd8-0253859be7bd 2025-10-21 15:23:35,752 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a9e1ed85-3a60-4ada-8dd8-0253859be7bd 2025-10-21 15:23:35,782 - INFO - VMI a9e1ed85-3a60-4ada-8dd8-0253859be7bd verification in API Server passed 2025-10-21 15:23:35,859 - DEBUG - Response for delete_port : () 2025-10-21 15:23:35,859 - INFO - Deleted port a9e1ed85-3a60-4ada-8dd8-0253859be7bd 2025-10-21 15:23:35,859 - INFO - Deleting VN ctest-vn-01411712 2025-10-21 15:23:35,939 - DEBUG - Response for deleting network () 2025-10-21 15:23:36,190 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 15:23:36,190 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-21 15:23:36,190 - INFO - -------------------------------------------------------------------------------- 2025-10-21 15:23:36,193 - INFO - ================================================================================ 2025-10-21 15:23:36,193 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 15:23:36,193 - 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-10-21 15:23:36,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-10-21 15:23:36,474 - INFO - Initial checks done. Running the testcase now 2025-10-21 15:23:36,474 - INFO - 2025-10-21 15:23:36,630 - DEBUG - Response for create_network : {'network': {'id': '6b04c9d4-9052-41b5-8940-434146259602', 'name': 'ctest-vn1-14194372', 'tenant_id': 'bba054aa90e541da9a3c8206f927ca63', 'project_id': 'bba054aa90e541da9a3c8206f927ca63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35791812', 'ctest-vn1-14194372'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 15:23:36,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '91c00225-c7ab-4ced-9af2-44dd54c48358', 'name': '', 'tenant_id': 'bba054aa90e541da9a3c8206f927ca63', 'network_id': '6b04c9d4-9052-41b5-8940-434146259602', 'ip_version': 4, 'cidr': '132.32.9.64/26', 'allocation_pools': [{'start': '132.32.9.66', 'end': '132.32.9.126'}], 'gateway_ip': '132.32.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.32.9.66', 'tags': [], 'project_id': 'bba054aa90e541da9a3c8206f927ca63'}} 2025-10-21 15:23:36,962 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd103c5b0-3e34-4f09-9502-bea6a9bdcb59', 'name': '', 'tenant_id': 'bba054aa90e541da9a3c8206f927ca63', 'network_id': '6b04c9d4-9052-41b5-8940-434146259602', 'ip_version': 4, 'cidr': '88.112.65.0/26', 'allocation_pools': [{'start': '88.112.65.2', 'end': '88.112.65.62'}], 'gateway_ip': '88.112.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.112.65.2', 'tags': [], 'project_id': 'bba054aa90e541da9a3c8206f927ca63'}} 2025-10-21 15:23:36,987 - INFO - Created VN ctest-vn1-14194372 2025-10-21 15:23:37,042 - DEBUG - VN ctest-vn1-14194372 UUID is 6b04c9d4-9052-41b5-8940-434146259602 2025-10-21 15:23:37,307 - DEBUG - Response for create_port : {'port': {'name': '4f27222d-168d-42ef-83b7-073ef6b89232', 'id': '4f27222d-168d-42ef-83b7-073ef6b89232', 'tenant_id': 'bba054aa90e541da9a3c8206f927ca63', 'network_id': '6b04c9d4-9052-41b5-8940-434146259602', 'mac_address': '02:4f:27:22:2d:16', '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': '132.32.9.69', 'subnet_id': '91c00225-c7ab-4ced-9af2-44dd54c48358'}], 'security_groups': ['5857eebb-39e9-4b74-84b6-8a6b47a8e190'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bba054aa90e541da9a3c8206f927ca63'}} 2025-10-21 15:23:37,461 - DEBUG - Response for create_port : {'port': {'name': '259b5dbe-27e1-49c9-a56a-f38b6687fa3a', 'id': '259b5dbe-27e1-49c9-a56a-f38b6687fa3a', 'tenant_id': 'bba054aa90e541da9a3c8206f927ca63', 'network_id': '6b04c9d4-9052-41b5-8940-434146259602', 'mac_address': '02:25:9b:5d:be:27', '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': '88.112.65.5', 'subnet_id': 'd103c5b0-3e34-4f09-9502-bea6a9bdcb59'}], 'security_groups': ['5857eebb-39e9-4b74-84b6-8a6b47a8e190'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bba054aa90e541da9a3c8206f927ca63'}} 2025-10-21 15:23:37,510 - DEBUG - Services list from nova: [, , ] 2025-10-21 15:23:37,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4396-1) 2025-10-21 15:23:38,152 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4396-1) 2025-10-21 15:23:38,153 - INFO - Waiting for VM ctest-vn1-vm1-87177595 to be up.. 2025-10-21 15:23:38,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 15:23:43,372 - DEBUG - VM is in ACTIVE state now 2025-10-21 15:23:43,372 - INFO - VM name : ctest-vn1-vm1-87177595 2025-10-21 15:23:43,443 - DEBUG - VM ctest-vn1-vm1-87177595 ID is 3586feff-1aac-40de-b34a-f57b5c74803e 2025-10-21 15:23:43,461 - DEBUG - VM ctest-vn1-vm1-87177595 launched on Node cn-jenkins-deploy-platform-ansible-os-4396-1 2025-10-21 15:23:43,529 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/3586feff-1aac-40de-b34a-f57b5c74803e 2025-10-21 15:23:43,539 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/4f27222d-168d-42ef-83b7-073ef6b89232 2025-10-21 15:23:46,809 - 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 1020ms') 2025-10-21 15:23:46,809 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-87177595 failed! 2025-10-21 15:23:46,862 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35791812:ctest-vn1-14194372 is 132.32.9.65 and allocation pool is NOT set 2025-10-21 15:23:46,862 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35791812:ctest-vn1-14194372 is 88.112.65.1 and allocation pool is NOT set 2025-10-21 15:23:48,922 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.469/2.534/1.064 ms') 2025-10-21 15:23:48,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-87177595 passed 2025-10-21 15:23:49,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:23:49,074 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87177595, IP 132.32.9.69, Port 22 2025-10-21 15:23:49,233 - DEBUG - VM ctest-vn1-vm1-87177595 is ready for SSH connections 2025-10-21 15:23:49,233 - INFO - Waiting for VM ctest-vn1-vm2-78883358 to be up.. 2025-10-21 15:23:49,311 - DEBUG - VM is in ACTIVE state now 2025-10-21 15:23:49,311 - INFO - VM name : ctest-vn1-vm2-78883358 2025-10-21 15:23:49,383 - DEBUG - VM ctest-vn1-vm2-78883358 ID is 96e9a970-5597-4537-a608-a58805601a11 2025-10-21 15:23:49,383 - DEBUG - VM ctest-vn1-vm2-78883358 launched on Node cn-jenkins-deploy-platform-ansible-os-4396-1 2025-10-21 15:23:49,455 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/96e9a970-5597-4537-a608-a58805601a11 2025-10-21 15:23:49,463 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/259b5dbe-27e1-49c9-a56a-f38b6687fa3a 2025-10-21 15:23:50,709 - 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=2.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/1.584/2.778/1.194 ms') 2025-10-21 15:23:50,709 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-78883358 passed 2025-10-21 15:23:50,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:23:50,862 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-78883358, IP 88.112.65.5, Port 22 2025-10-21 15:23:51,013 - DEBUG - VM ctest-vn1-vm2-78883358 is ready for SSH connections 2025-10-21 15:23:51,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:23:51,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:23:51,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:23:51,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.32.9.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-21 15:23:51,013 - DEBUG - ping -s 56 -c 3 -W 1 132.32.9.69 2025-10-21 15:23:54,987 - DEBUG - PING 132.32.9.69 (132.32.9.69): 56 data bytes 64 bytes from 132.32.9.69: seq=0 ttl=63 time=3.209 ms 64 bytes from 132.32.9.69: seq=1 ttl=63 time=0.809 ms 64 bytes from 132.32.9.69: seq=2 ttl=63 time=0.813 ms --- 132.32.9.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.610/3.209 ms 2025-10-21 15:23:54,987 - INFO - Ping to IP 132.32.9.69 from VM ctest-vn1-vm2-78883358 passed 2025-10-21 15:23:54,987 - INFO - Detaching port 259b5dbe-27e1-49c9-a56a-f38b6687fa3a from VM ctest-vn1-vm2-78883358 2025-10-21 15:23:55,033 - INFO - Deleting VM ctest-vn1-vm2-78883358 2025-10-21 15:23:55,091 - INFO - Detaching port 4f27222d-168d-42ef-83b7-073ef6b89232 from VM ctest-vn1-vm1-87177595 2025-10-21 15:23:55,121 - INFO - Deleting VM ctest-vn1-vm1-87177595 2025-10-21 15:23:55,329 - DEBUG - Response for delete_port : () 2025-10-21 15:23:55,460 - DEBUG - Response for delete_port : () 2025-10-21 15:23:55,460 - INFO - Deleting VN ctest-vn1-14194372 2025-10-21 15:23:55,566 - DEBUG - Response for deleting network () 2025-10-21 15:23:55,819 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 15:23:55,819 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-21 15:23:55,819 - INFO - -------------------------------------------------------------------------------- 2025-10-21 15:23:56,479 - INFO - Deleted project: ctest-TestPorts-35791812, ID : bba054aa-90e5-41da-9a3c-8206f927ca63