2026-04-20 18:08:44,546 - INFO - Domain Default found not creating 2026-04-20 18:08:44,883 - INFO - Project ctest-TestPorts-47023693 not found, creating it 2026-04-20 18:08:45,450 - INFO - Created Project:ctest-TestPorts-47023693, ID : 0f82c0aa-c44d-4d6d-892a-190d8fadbb88 2026-04-20 18:08:47,105 - INFO - ================================================================================ 2026-04-20 18:08:47,106 - INFO - STARTING TEST : test_ports_bindings 2026-04-20 18:08:47,106 - 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-04-20 18:08:47,379 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-04-20 18:08:47,379 - INFO - Initial checks done. Running the testcase now 2026-04-20 18:08:47,379 - INFO - 2026-04-20 18:08:48,317 - DEBUG - Response for create_network : {'network': {'id': '0959e25c-8005-494d-9e54-432863f0fe3c', 'name': 'ctest-vn-02046102', 'tenant_id': '0f82c0aac44d4d6d892a190d8fadbb88', 'project_id': '0f82c0aac44d4d6d892a190d8fadbb88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47023693', 'ctest-vn-02046102'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 18:08:48,681 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f676e4e0-9119-455e-98a8-a573c45aec3f', 'name': '', 'tenant_id': '0f82c0aac44d4d6d892a190d8fadbb88', 'network_id': '0959e25c-8005-494d-9e54-432863f0fe3c', 'ip_version': 4, 'cidr': '141.77.120.64/26', 'allocation_pools': [{'start': '141.77.120.66', 'end': '141.77.120.126'}], 'gateway_ip': '141.77.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.77.120.66', 'tags': [], 'project_id': '0f82c0aac44d4d6d892a190d8fadbb88'}} 2026-04-20 18:08:48,709 - INFO - Created VN ctest-vn-02046102 2026-04-20 18:08:48,765 - DEBUG - VN ctest-vn-02046102 UUID is 0959e25c-8005-494d-9e54-432863f0fe3c 2026-04-20 18:08:48,897 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47023693', 'ctest-vmi-39172491']} 2026-04-20 18:08:49,196 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39172491', 'id': '4c988ff2-71a4-4f84-834e-29f443150ac4', 'tenant_id': '0f82c0aac44d4d6d892a190d8fadbb88', 'network_id': '0959e25c-8005-494d-9e54-432863f0fe3c', 'mac_address': '02:4c:98:8f:f2:71', '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': '141.77.120.67', 'subnet_id': 'f676e4e0-9119-455e-98a8-a573c45aec3f'}], 'security_groups': ['937460fe-0849-4cdc-872d-b8229f6a91f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0f82c0aac44d4d6d892a190d8fadbb88'}} 2026-04-20 18:08:49,196 - DEBUG - Created port 4c988ff2-71a4-4f84-834e-29f443150ac4 2026-04-20 18:08:49,305 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4c988ff2-71a4-4f84-834e-29f443150ac4 2026-04-20 18:08:49,604 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4c988ff2-71a4-4f84-834e-29f443150ac4 2026-04-20 18:08:49,641 - INFO - VMI 4c988ff2-71a4-4f84-834e-29f443150ac4 verification in API Server passed 2026-04-20 18:08:49,750 - DEBUG - Response for delete_port : () 2026-04-20 18:08:49,750 - INFO - Deleted port 4c988ff2-71a4-4f84-834e-29f443150ac4 2026-04-20 18:08:49,751 - INFO - Deleting VN ctest-vn-02046102 2026-04-20 18:08:49,883 - DEBUG - Response for deleting network () 2026-04-20 18:08:50,155 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 18:08:50,155 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-20 18:08:50,155 - INFO - -------------------------------------------------------------------------------- 2026-04-20 18:08:50,158 - INFO - ================================================================================ 2026-04-20 18:08:50,158 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-20 18:08:50,158 - 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-04-20 18:08:50,446 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-04-20 18:08:50,446 - INFO - Initial checks done. Running the testcase now 2026-04-20 18:08:50,446 - INFO - 2026-04-20 18:08:50,675 - DEBUG - Response for create_network : {'network': {'id': '51176ed7-1327-42b3-8914-da28d5533cd4', 'name': 'ctest-vn1-60832571', 'tenant_id': '0f82c0aac44d4d6d892a190d8fadbb88', 'project_id': '0f82c0aac44d4d6d892a190d8fadbb88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47023693', 'ctest-vn1-60832571'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 18:08:50,854 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8c412a8-9e77-40d1-bbfd-2c2562a1e7f6', 'name': '', 'tenant_id': '0f82c0aac44d4d6d892a190d8fadbb88', 'network_id': '51176ed7-1327-42b3-8914-da28d5533cd4', 'ip_version': 4, 'cidr': '48.196.234.0/26', 'allocation_pools': [{'start': '48.196.234.2', 'end': '48.196.234.62'}], 'gateway_ip': '48.196.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.196.234.2', 'tags': [], 'project_id': '0f82c0aac44d4d6d892a190d8fadbb88'}} 2026-04-20 18:08:51,062 - DEBUG - Response for create_subnet : {'subnet': {'id': '898c661d-4729-4a99-bac9-c801890dc67a', 'name': '', 'tenant_id': '0f82c0aac44d4d6d892a190d8fadbb88', 'network_id': '51176ed7-1327-42b3-8914-da28d5533cd4', 'ip_version': 4, 'cidr': '88.251.58.0/26', 'allocation_pools': [{'start': '88.251.58.2', 'end': '88.251.58.62'}], 'gateway_ip': '88.251.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.251.58.2', 'tags': [], 'project_id': '0f82c0aac44d4d6d892a190d8fadbb88'}} 2026-04-20 18:08:51,087 - INFO - Created VN ctest-vn1-60832571 2026-04-20 18:08:51,141 - DEBUG - VN ctest-vn1-60832571 UUID is 51176ed7-1327-42b3-8914-da28d5533cd4 2026-04-20 18:08:51,486 - DEBUG - Response for create_port : {'port': {'name': '2b222aba-5287-402e-b4b7-db23f849bb52', 'id': '2b222aba-5287-402e-b4b7-db23f849bb52', 'tenant_id': '0f82c0aac44d4d6d892a190d8fadbb88', 'network_id': '51176ed7-1327-42b3-8914-da28d5533cd4', 'mac_address': '02:2b:22:2a:ba:52', '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': '48.196.234.5', 'subnet_id': 'd8c412a8-9e77-40d1-bbfd-2c2562a1e7f6'}], 'security_groups': ['937460fe-0849-4cdc-872d-b8229f6a91f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0f82c0aac44d4d6d892a190d8fadbb88'}} 2026-04-20 18:08:51,710 - DEBUG - Response for create_port : {'port': {'name': 'b1cadb02-e739-42b4-9246-4ec7cc838cb1', 'id': 'b1cadb02-e739-42b4-9246-4ec7cc838cb1', 'tenant_id': '0f82c0aac44d4d6d892a190d8fadbb88', 'network_id': '51176ed7-1327-42b3-8914-da28d5533cd4', 'mac_address': '02:b1:ca:db:02:e7', '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.251.58.5', 'subnet_id': '898c661d-4729-4a99-bac9-c801890dc67a'}], 'security_groups': ['937460fe-0849-4cdc-872d-b8229f6a91f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0f82c0aac44d4d6d892a190d8fadbb88'}} 2026-04-20 18:08:51,776 - DEBUG - Services list from nova: [, , ] 2026-04-20 18:08:52,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5656-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5656-1) 2026-04-20 18:08:52,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5656-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5656-1) 2026-04-20 18:08:52,621 - INFO - Waiting for VM ctest-vn1-vm1-67952050 to be up.. 2026-04-20 18:08:52,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 18:08:57,763 - DEBUG - VM is in ACTIVE state now 2026-04-20 18:08:57,764 - INFO - VM name : ctest-vn1-vm1-67952050 2026-04-20 18:08:57,846 - DEBUG - VM ctest-vn1-vm1-67952050 ID is 87339687-9ab0-4e82-8614-4d4326419bd7 2026-04-20 18:08:57,868 - DEBUG - VM ctest-vn1-vm1-67952050 launched on Node cn-jenkins-deploy-platform-ansible-os-5656-1 2026-04-20 18:08:57,950 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/87339687-9ab0-4e82-8614-4d4326419bd7 2026-04-20 18:08:57,960 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2b222aba-5287-402e-b4b7-db23f849bb52 2026-04-20 18:09:01,203 - 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 1001ms') 2026-04-20 18:09:01,203 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67952050 failed! 2026-04-20 18:09:01,261 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47023693:ctest-vn1-60832571 is 48.196.234.1 and allocation pool is NOT set 2026-04-20 18:09:01,261 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47023693:ctest-vn1-60832571 is 88.251.58.1 and allocation pool is NOT set 2026-04-20 18:09:05,339 - 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=4.42 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 4.418/4.418/4.418/0.000 ms') 2026-04-20 18:09:05,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67952050 passed 2026-04-20 18:09:05,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:09:05,489 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67952050, IP 48.196.234.5, Port 22 2026-04-20 18:09:05,645 - DEBUG - VM ctest-vn1-vm1-67952050 is ready for SSH connections 2026-04-20 18:09:05,645 - INFO - Waiting for VM ctest-vn1-vm2-67926201 to be up.. 2026-04-20 18:09:05,744 - DEBUG - VM is in ACTIVE state now 2026-04-20 18:09:05,744 - INFO - VM name : ctest-vn1-vm2-67926201 2026-04-20 18:09:05,836 - DEBUG - VM ctest-vn1-vm2-67926201 ID is 2b7a58c2-990a-42da-b031-1426d556fdfc 2026-04-20 18:09:05,836 - DEBUG - VM ctest-vn1-vm2-67926201 launched on Node cn-jenkins-deploy-platform-ansible-os-5656-1 2026-04-20 18:09:05,939 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2b7a58c2-990a-42da-b031-1426d556fdfc 2026-04-20 18:09:05,949 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b1cadb02-e739-42b4-9246-4ec7cc838cb1 2026-04-20 18:09:07,203 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.545 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.545/1.908/3.272/1.363 ms') 2026-04-20 18:09:07,204 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-67926201 passed 2026-04-20 18:09:07,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:09:07,361 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67926201, IP 88.251.58.5, Port 22 2026-04-20 18:09:07,516 - DEBUG - VM ctest-vn1-vm2-67926201 is ready for SSH connections 2026-04-20 18:09:07,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:09:07,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:09:07,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 18:09:07,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.196.234.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-20 18:09:07,517 - DEBUG - ping -s 56 -c 3 -W 1 48.196.234.5 2026-04-20 18:09:10,238 - DEBUG - PING 48.196.234.5 (48.196.234.5): 56 data bytes 64 bytes from 48.196.234.5: seq=0 ttl=63 time=5.184 ms 64 bytes from 48.196.234.5: seq=1 ttl=63 time=1.180 ms 64 bytes from 48.196.234.5: seq=2 ttl=63 time=0.988 ms --- 48.196.234.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.988/2.450/5.184 ms 2026-04-20 18:09:10,238 - INFO - Ping to IP 48.196.234.5 from VM ctest-vn1-vm2-67926201 passed 2026-04-20 18:09:10,239 - INFO - Detaching port b1cadb02-e739-42b4-9246-4ec7cc838cb1 from VM ctest-vn1-vm2-67926201 2026-04-20 18:09:10,302 - INFO - Deleting VM ctest-vn1-vm2-67926201 2026-04-20 18:09:10,387 - INFO - Detaching port 2b222aba-5287-402e-b4b7-db23f849bb52 from VM ctest-vn1-vm1-67952050 2026-04-20 18:09:10,426 - INFO - Deleting VM ctest-vn1-vm1-67952050 2026-04-20 18:09:10,731 - DEBUG - Response for delete_port : () 2026-04-20 18:09:10,931 - DEBUG - Response for delete_port : () 2026-04-20 18:09:10,931 - INFO - Deleting VN ctest-vn1-60832571 2026-04-20 18:09:11,098 - DEBUG - Response for deleting network () 2026-04-20 18:09:11,368 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 18:09:11,369 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2026-04-20 18:09:11,369 - INFO - -------------------------------------------------------------------------------- 2026-04-20 18:09:12,141 - INFO - Deleted project: ctest-TestPorts-47023693, ID : 0f82c0aa-c44d-4d6d-892a-190d8fadbb88