2025-10-22 14:06:29,934 - INFO - Domain Default found not creating
2025-10-22 14:06:30,319 - INFO - Project ctest-TestPorts-64773999 not found, creating it
2025-10-22 14:06:30,906 - INFO - Created Project:ctest-TestPorts-64773999, ID : d72b320c-0ea2-47b5-9674-f5dd49586f8f
2025-10-22 14:06:32,681 - INFO - ================================================================================
2025-10-22 14:06:32,681 - INFO - STARTING TEST : test_ports_bindings
2025-10-22 14:06:32,681 - 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-22 14:06:32,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2025-10-22 14:06:32,950 - INFO - Initial checks done. Running the testcase now
2025-10-22 14:06:32,950 - INFO -
2025-10-22 14:06:33,628 - DEBUG - Response for create_network : {'network': {'id': '59fa675c-9b54-4e90-b7dc-b6cbc6a7ffc1', 'name': 'ctest-vn-89136609', 'tenant_id': 'd72b320c0ea247b59674f5dd49586f8f', 'project_id': 'd72b320c0ea247b59674f5dd49586f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64773999', 'ctest-vn-89136609'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 14:06:33,876 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2bbf8e8-52d0-4074-ae1c-a9cac7618efe', 'name': '', 'tenant_id': 'd72b320c0ea247b59674f5dd49586f8f', 'network_id': '59fa675c-9b54-4e90-b7dc-b6cbc6a7ffc1', 'ip_version': 4, 'cidr': '23.84.175.128/26', 'allocation_pools': [{'start': '23.84.175.130', 'end': '23.84.175.190'}], 'gateway_ip': '23.84.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.84.175.130', 'tags': [], 'project_id': 'd72b320c0ea247b59674f5dd49586f8f'}}
2025-10-22 14:06:33,896 - INFO - Created VN ctest-vn-89136609
2025-10-22 14:06:33,952 - DEBUG - VN ctest-vn-89136609 UUID is 59fa675c-9b54-4e90-b7dc-b6cbc6a7ffc1
2025-10-22 14:06:34,094 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-64773999', 'ctest-vmi-68825251']}
2025-10-22 14:06:34,388 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68825251', 'id': '16f79cf5-fc97-41a2-ad15-a973de52709d', 'tenant_id': 'd72b320c0ea247b59674f5dd49586f8f', 'network_id': '59fa675c-9b54-4e90-b7dc-b6cbc6a7ffc1', 'mac_address': '02:16:f7:9c:f5: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': '23.84.175.131', 'subnet_id': 'f2bbf8e8-52d0-4074-ae1c-a9cac7618efe'}], 'security_groups': ['43b8168b-99bc-4c54-a318-39df3852580a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd72b320c0ea247b59674f5dd49586f8f'}}
2025-10-22 14:06:34,389 - DEBUG - Created port 16f79cf5-fc97-41a2-ad15-a973de52709d
2025-10-22 14:06:34,496 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/16f79cf5-fc97-41a2-ad15-a973de52709d
2025-10-22 14:06:34,824 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/16f79cf5-fc97-41a2-ad15-a973de52709d
2025-10-22 14:06:34,866 - INFO - VMI 16f79cf5-fc97-41a2-ad15-a973de52709d verification in API Server passed
2025-10-22 14:06:35,001 - DEBUG - Response for delete_port : ()
2025-10-22 14:06:35,001 - INFO - Deleted port 16f79cf5-fc97-41a2-ad15-a973de52709d
2025-10-22 14:06:35,001 - INFO - Deleting VN ctest-vn-89136609
2025-10-22 14:06:35,127 - DEBUG - Response for deleting network ()
2025-10-22 14:06:35,439 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:06:35,440 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-22 14:06:35,440 - INFO - --------------------------------------------------------------------------------
2025-10-22 14:06:35,447 - INFO - ================================================================================
2025-10-22 14:06:35,447 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-22 14:06:35,448 - 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-22 14:06:35,757 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2025-10-22 14:06:35,757 - INFO - Initial checks done. Running the testcase now
2025-10-22 14:06:35,757 - INFO -
2025-10-22 14:06:36,065 - DEBUG - Response for create_network : {'network': {'id': 'f51cb077-c36d-49f9-9ae6-29f87d89a346', 'name': 'ctest-vn1-33838001', 'tenant_id': 'd72b320c0ea247b59674f5dd49586f8f', 'project_id': 'd72b320c0ea247b59674f5dd49586f8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64773999', 'ctest-vn1-33838001'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 14:06:36,261 - DEBUG - Response for create_subnet : {'subnet': {'id': '06ad5a58-0208-4dae-891d-10058f296b46', 'name': '', 'tenant_id': 'd72b320c0ea247b59674f5dd49586f8f', 'network_id': 'f51cb077-c36d-49f9-9ae6-29f87d89a346', 'ip_version': 4, 'cidr': '30.127.110.0/26', 'allocation_pools': [{'start': '30.127.110.2', 'end': '30.127.110.62'}], 'gateway_ip': '30.127.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.127.110.2', 'tags': [], 'project_id': 'd72b320c0ea247b59674f5dd49586f8f'}}
2025-10-22 14:06:36,451 - DEBUG - Response for create_subnet : {'subnet': {'id': '264034e9-7595-49de-b6f8-316032886818', 'name': '', 'tenant_id': 'd72b320c0ea247b59674f5dd49586f8f', 'network_id': 'f51cb077-c36d-49f9-9ae6-29f87d89a346', 'ip_version': 4, 'cidr': '123.224.25.0/26', 'allocation_pools': [{'start': '123.224.25.2', 'end': '123.224.25.62'}], 'gateway_ip': '123.224.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.224.25.2', 'tags': [], 'project_id': 'd72b320c0ea247b59674f5dd49586f8f'}}
2025-10-22 14:06:36,480 - INFO - Created VN ctest-vn1-33838001
2025-10-22 14:06:36,536 - DEBUG - VN ctest-vn1-33838001 UUID is f51cb077-c36d-49f9-9ae6-29f87d89a346
2025-10-22 14:06:36,925 - DEBUG - Response for create_port : {'port': {'name': 'cbcdeb82-01d3-45a7-86be-ef887e94e294', 'id': 'cbcdeb82-01d3-45a7-86be-ef887e94e294', 'tenant_id': 'd72b320c0ea247b59674f5dd49586f8f', 'network_id': 'f51cb077-c36d-49f9-9ae6-29f87d89a346', 'mac_address': '02:cb:cd:eb:82:01', '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': '30.127.110.5', 'subnet_id': '06ad5a58-0208-4dae-891d-10058f296b46'}], 'security_groups': ['43b8168b-99bc-4c54-a318-39df3852580a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd72b320c0ea247b59674f5dd49586f8f'}}
2025-10-22 14:06:37,125 - DEBUG - Response for create_port : {'port': {'name': '4b1b285d-7534-409c-ae4d-9fff73a49957', 'id': '4b1b285d-7534-409c-ae4d-9fff73a49957', 'tenant_id': 'd72b320c0ea247b59674f5dd49586f8f', 'network_id': 'f51cb077-c36d-49f9-9ae6-29f87d89a346', 'mac_address': '02:4b:1b:28:5d:75', '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': '123.224.25.5', 'subnet_id': '264034e9-7595-49de-b6f8-316032886818'}], 'security_groups': ['43b8168b-99bc-4c54-a318-39df3852580a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd72b320c0ea247b59674f5dd49586f8f'}}
2025-10-22 14:06:37,200 - DEBUG - Services list from nova: [, , ]
2025-10-22 14:06:37,628 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4429-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4429-1)
2025-10-22 14:06:38,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4429-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4429-1)
2025-10-22 14:06:38,203 - INFO - Waiting for VM ctest-vn1-vm1-28183824 to be up..
2025-10-22 14:06:38,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-22 14:06:43,442 - DEBUG - VM is in ACTIVE state now
2025-10-22 14:06:43,442 - INFO - VM name : ctest-vn1-vm1-28183824
2025-10-22 14:06:43,566 - DEBUG - VM ctest-vn1-vm1-28183824 ID is 6f769db6-910b-4b27-bbeb-8d3a46ae1da2
2025-10-22 14:06:43,595 - DEBUG - VM ctest-vn1-vm1-28183824 launched on Node cn-jenkins-deploy-platform-ansible-os-4429-1
2025-10-22 14:06:43,696 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/6f769db6-910b-4b27-bbeb-8d3a46ae1da2
2025-10-22 14:06:43,708 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/cbcdeb82-01d3-45a7-86be-ef887e94e294
2025-10-22 14:06:47,000 - 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 1025ms')
2025-10-22 14:06:47,000 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28183824 failed!
2025-10-22 14:06:47,073 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64773999:ctest-vn1-33838001 is 30.127.110.1 and allocation pool is NOT set
2025-10-22 14:06:47,073 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64773999:ctest-vn1-33838001 is 123.224.25.1 and allocation pool is NOT set
2025-10-22 14:06:51,151 - 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 1013ms')
2025-10-22 14:06:51,151 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28183824 failed!
2025-10-22 14:06:51,208 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64773999:ctest-vn1-33838001 is 30.127.110.1 and allocation pool is NOT set
2025-10-22 14:06:51,208 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64773999:ctest-vn1-33838001 is 123.224.25.1 and allocation pool is NOT set
2025-10-22 14:06:53,284 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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 = 1.331/3.517/5.703/2.186 ms')
2025-10-22 14:06:53,284 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28183824 passed
2025-10-22 14:06:53,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:06:53,454 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28183824, IP 30.127.110.5, Port 22
2025-10-22 14:06:53,635 - DEBUG - VM ctest-vn1-vm1-28183824 is ready for SSH connections
2025-10-22 14:06:53,635 - INFO - Waiting for VM ctest-vn1-vm2-47673626 to be up..
2025-10-22 14:06:53,733 - DEBUG - VM is in ACTIVE state now
2025-10-22 14:06:53,733 - INFO - VM name : ctest-vn1-vm2-47673626
2025-10-22 14:06:53,872 - DEBUG - VM ctest-vn1-vm2-47673626 ID is f7a4340b-d50a-4645-866e-72e8a885f670
2025-10-22 14:06:53,872 - DEBUG - VM ctest-vn1-vm2-47673626 launched on Node cn-jenkins-deploy-platform-ansible-os-4429-1
2025-10-22 14:06:54,007 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f7a4340b-d50a-4645-866e-72e8a885f670
2025-10-22 14:06:54,019 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/4b1b285d-7534-409c-ae4d-9fff73a49957
2025-10-22 14:06:55,288 - 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=8.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.701 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.701/4.740/8.780/4.039 ms')
2025-10-22 14:06:55,288 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-47673626 passed
2025-10-22 14:06:55,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:06:55,456 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-47673626, IP 123.224.25.5, Port 22
2025-10-22 14:06:55,656 - DEBUG - VM ctest-vn1-vm2-47673626 is ready for SSH connections
2025-10-22 14:06:55,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:06:55,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:06:55,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:06:55,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.127.110.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-22 14:06:55,657 - DEBUG - ping -s 56 -c 3 -W 1 30.127.110.5
2025-10-22 14:06:58,565 - DEBUG - PING 30.127.110.5 (30.127.110.5): 56 data bytes
64 bytes from 30.127.110.5: seq=0 ttl=63 time=6.453 ms
64 bytes from 30.127.110.5: seq=1 ttl=63 time=1.074 ms
64 bytes from 30.127.110.5: seq=2 ttl=63 time=1.248 ms
--- 30.127.110.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.074/2.925/6.453 ms
2025-10-22 14:06:58,566 - INFO - Ping to IP 30.127.110.5 from VM ctest-vn1-vm2-47673626 passed
2025-10-22 14:06:58,566 - INFO - Detaching port 4b1b285d-7534-409c-ae4d-9fff73a49957 from VM ctest-vn1-vm2-47673626
2025-10-22 14:06:58,635 - INFO - Deleting VM ctest-vn1-vm2-47673626
2025-10-22 14:06:58,733 - INFO - Detaching port cbcdeb82-01d3-45a7-86be-ef887e94e294 from VM ctest-vn1-vm1-28183824
2025-10-22 14:06:58,775 - INFO - Deleting VM ctest-vn1-vm1-28183824
2025-10-22 14:06:59,089 - DEBUG - Response for delete_port : ()
2025-10-22 14:06:59,277 - DEBUG - Response for delete_port : ()
2025-10-22 14:06:59,277 - INFO - Deleting VN ctest-vn1-33838001
2025-10-22 14:06:59,492 - DEBUG - Response for deleting network ()
2025-10-22 14:06:59,766 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:06:59,766 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-22 14:06:59,767 - INFO - --------------------------------------------------------------------------------
2025-10-22 14:07:00,545 - INFO - Deleted project: ctest-TestPorts-64773999, ID : d72b320c-0ea2-47b5-9674-f5dd49586f8f