2025-11-24 20:29:53,129 - INFO - Domain Default found not creating
2025-11-24 20:29:53,331 - INFO - Project ctest-TestPorts-27689023 not found, creating it
2025-11-24 20:29:53,808 - INFO - Created Project:ctest-TestPorts-27689023, ID : fe3e3b34-086b-4142-855a-249fae0ef18e
2025-11-24 20:29:55,399 - INFO - ================================================================================
2025-11-24 20:29:55,399 - INFO - STARTING TEST : test_ports_bindings
2025-11-24 20:29:55,399 - 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-24 20:29:55,659 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-11-24 20:29:55,659 - INFO - Initial checks done. Running the testcase now
2025-11-24 20:29:55,659 - INFO -
2025-11-24 20:29:56,231 - DEBUG - Response for create_network : {'network': {'id': '81b296a2-ae45-404a-ba8a-b9a818da8612', 'name': 'ctest-vn-94607517', 'tenant_id': 'fe3e3b34086b4142855a249fae0ef18e', 'project_id': 'fe3e3b34086b4142855a249fae0ef18e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27689023', 'ctest-vn-94607517'], 'port_security_enabled': True, 'description': ''}}
2025-11-24 20:29:56,412 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0987c66-bc44-4524-9c37-1507528fb065', 'name': '', 'tenant_id': 'fe3e3b34086b4142855a249fae0ef18e', 'network_id': '81b296a2-ae45-404a-ba8a-b9a818da8612', 'ip_version': 4, 'cidr': '88.44.16.192/26', 'allocation_pools': [{'start': '88.44.16.194', 'end': '88.44.16.254'}], 'gateway_ip': '88.44.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.44.16.194', 'tags': [], 'project_id': 'fe3e3b34086b4142855a249fae0ef18e'}}
2025-11-24 20:29:56,428 - INFO - Created VN ctest-vn-94607517
2025-11-24 20:29:56,478 - DEBUG - VN ctest-vn-94607517 UUID is 81b296a2-ae45-404a-ba8a-b9a818da8612
2025-11-24 20:29:56,581 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27689023', 'ctest-vmi-28792513']}
2025-11-24 20:29:56,859 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-28792513', 'id': '0acf588c-a7de-4b35-85a8-ab7f0116055c', 'tenant_id': 'fe3e3b34086b4142855a249fae0ef18e', 'network_id': '81b296a2-ae45-404a-ba8a-b9a818da8612', 'mac_address': '02:0a:cf:58:8c:a7', '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': '88.44.16.195', 'subnet_id': 'f0987c66-bc44-4524-9c37-1507528fb065'}], 'security_groups': ['7c92786d-4ce7-498e-9cea-b54670f99188'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fe3e3b34086b4142855a249fae0ef18e'}}
2025-11-24 20:29:56,860 - DEBUG - Created port 0acf588c-a7de-4b35-85a8-ab7f0116055c
2025-11-24 20:29:56,966 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0acf588c-a7de-4b35-85a8-ab7f0116055c
2025-11-24 20:29:57,267 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0acf588c-a7de-4b35-85a8-ab7f0116055c
2025-11-24 20:29:57,303 - INFO - VMI 0acf588c-a7de-4b35-85a8-ab7f0116055c verification in API Server passed
2025-11-24 20:29:57,394 - DEBUG - Response for delete_port : ()
2025-11-24 20:29:57,395 - INFO - Deleted port 0acf588c-a7de-4b35-85a8-ab7f0116055c
2025-11-24 20:29:57,395 - INFO - Deleting VN ctest-vn-94607517
2025-11-24 20:29:57,480 - DEBUG - Response for deleting network ()
2025-11-24 20:29:57,739 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 20:29:57,739 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-24 20:29:57,739 - INFO - --------------------------------------------------------------------------------
2025-11-24 20:29:57,742 - INFO - ================================================================================
2025-11-24 20:29:57,742 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-24 20:29:57,742 - 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-24 20:29:58,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-11-24 20:29:58,026 - INFO - Initial checks done. Running the testcase now
2025-11-24 20:29:58,026 - INFO -
2025-11-24 20:29:58,200 - DEBUG - Response for create_network : {'network': {'id': '58f1e956-55d9-421b-9c2f-789518043f06', 'name': 'ctest-vn1-08101260', 'tenant_id': 'fe3e3b34086b4142855a249fae0ef18e', 'project_id': 'fe3e3b34086b4142855a249fae0ef18e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27689023', 'ctest-vn1-08101260'], 'port_security_enabled': True, 'description': ''}}
2025-11-24 20:29:58,386 - DEBUG - Response for create_subnet : {'subnet': {'id': '034f111a-26ab-4dc6-985e-df4df0cd4180', 'name': '', 'tenant_id': 'fe3e3b34086b4142855a249fae0ef18e', 'network_id': '58f1e956-55d9-421b-9c2f-789518043f06', 'ip_version': 4, 'cidr': '164.165.173.192/26', 'allocation_pools': [{'start': '164.165.173.194', 'end': '164.165.173.254'}], 'gateway_ip': '164.165.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.165.173.194', 'tags': [], 'project_id': 'fe3e3b34086b4142855a249fae0ef18e'}}
2025-11-24 20:29:58,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '14d06766-bbe9-46e2-90c5-d4212cda036b', 'name': '', 'tenant_id': 'fe3e3b34086b4142855a249fae0ef18e', 'network_id': '58f1e956-55d9-421b-9c2f-789518043f06', 'ip_version': 4, 'cidr': '198.222.154.192/26', 'allocation_pools': [{'start': '198.222.154.194', 'end': '198.222.154.254'}], 'gateway_ip': '198.222.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.222.154.194', 'tags': [], 'project_id': 'fe3e3b34086b4142855a249fae0ef18e'}}
2025-11-24 20:29:58,603 - INFO - Created VN ctest-vn1-08101260
2025-11-24 20:29:58,662 - DEBUG - VN ctest-vn1-08101260 UUID is 58f1e956-55d9-421b-9c2f-789518043f06
2025-11-24 20:29:58,982 - DEBUG - Response for create_port : {'port': {'name': '7fa9834d-27bf-4237-8a48-23fa4691776f', 'id': '7fa9834d-27bf-4237-8a48-23fa4691776f', 'tenant_id': 'fe3e3b34086b4142855a249fae0ef18e', 'network_id': '58f1e956-55d9-421b-9c2f-789518043f06', 'mac_address': '02:7f:a9:83:4d: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': '164.165.173.197', 'subnet_id': '034f111a-26ab-4dc6-985e-df4df0cd4180'}], 'security_groups': ['7c92786d-4ce7-498e-9cea-b54670f99188'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fe3e3b34086b4142855a249fae0ef18e'}}
2025-11-24 20:29:59,173 - DEBUG - Response for create_port : {'port': {'name': '76e7b87f-023a-4498-9ead-6e2cc66ab71d', 'id': '76e7b87f-023a-4498-9ead-6e2cc66ab71d', 'tenant_id': 'fe3e3b34086b4142855a249fae0ef18e', 'network_id': '58f1e956-55d9-421b-9c2f-789518043f06', 'mac_address': '02:76:e7:b8:7f:02', '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': '198.222.154.197', 'subnet_id': '14d06766-bbe9-46e2-90c5-d4212cda036b'}], 'security_groups': ['7c92786d-4ce7-498e-9cea-b54670f99188'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fe3e3b34086b4142855a249fae0ef18e'}}
2025-11-24 20:29:59,229 - DEBUG - Services list from nova: [, , ]
2025-11-24 20:29:59,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4815-1)
2025-11-24 20:29:59,970 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4815-1)
2025-11-24 20:29:59,970 - INFO - Waiting for VM ctest-vn1-vm1-63270139 to be up..
2025-11-24 20:30:00,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-24 20:30:05,090 - DEBUG - VM is in ACTIVE state now
2025-11-24 20:30:05,091 - INFO - VM name : ctest-vn1-vm1-63270139
2025-11-24 20:30:05,173 - DEBUG - VM ctest-vn1-vm1-63270139 ID is 15a1d39c-97c3-46c6-a516-31050249d617
2025-11-24 20:30:05,192 - DEBUG - VM ctest-vn1-vm1-63270139 launched on Node cn-jenkins-deploy-platform-ansible-os-4815-1
2025-11-24 20:30:05,279 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/15a1d39c-97c3-46c6-a516-31050249d617
2025-11-24 20:30:05,288 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7fa9834d-27bf-4237-8a48-23fa4691776f
2025-11-24 20:30:08,556 - 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 1022ms')
2025-11-24 20:30:08,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63270139 failed!
2025-11-24 20:30:08,610 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27689023:ctest-vn1-08101260 is 164.165.173.193 and allocation pool is NOT set
2025-11-24 20:30:08,610 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27689023:ctest-vn1-08101260 is 198.222.154.193 and allocation pool is NOT set
2025-11-24 20:30:12,680 - 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=9.70 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 = 9.695/9.695/9.695/0.000 ms')
2025-11-24 20:30:12,680 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63270139 passed
2025-11-24 20:30:12,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:12,830 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63270139, IP 164.165.173.197, Port 22
2025-11-24 20:30:13,004 - DEBUG - VM ctest-vn1-vm1-63270139 is ready for SSH connections
2025-11-24 20:30:13,004 - INFO - Waiting for VM ctest-vn1-vm2-68431226 to be up..
2025-11-24 20:30:13,096 - DEBUG - VM is in ACTIVE state now
2025-11-24 20:30:13,097 - INFO - VM name : ctest-vn1-vm2-68431226
2025-11-24 20:30:13,173 - DEBUG - VM ctest-vn1-vm2-68431226 ID is 302af3de-60ae-4435-b383-bc7bf7393f29
2025-11-24 20:30:13,173 - DEBUG - VM ctest-vn1-vm2-68431226 launched on Node cn-jenkins-deploy-platform-ansible-os-4815-1
2025-11-24 20:30:13,251 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/302af3de-60ae-4435-b383-bc7bf7393f29
2025-11-24 20:30:13,260 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/76e7b87f-023a-4498-9ead-6e2cc66ab71d
2025-11-24 20:30:14,492 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.757 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.757/2.139/3.522/1.382 ms')
2025-11-24 20:30:14,492 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-68431226 passed
2025-11-24 20:30:14,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:14,646 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68431226, IP 198.222.154.197, Port 22
2025-11-24 20:30:14,812 - DEBUG - VM ctest-vn1-vm2-68431226 is ready for SSH connections
2025-11-24 20:30:14,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:14,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:14,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-24 20:30:14,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.165.173.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-24 20:30:14,812 - DEBUG - ping -s 56 -c 3 -W 1 164.165.173.197
2025-11-24 20:30:17,829 - DEBUG - PING 164.165.173.197 (164.165.173.197): 56 data bytes
64 bytes from 164.165.173.197: seq=0 ttl=63 time=3.722 ms
64 bytes from 164.165.173.197: seq=1 ttl=63 time=2.855 ms
64 bytes from 164.165.173.197: seq=2 ttl=63 time=1.015 ms
--- 164.165.173.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.015/2.530/3.722 ms
2025-11-24 20:30:17,829 - INFO - Ping to IP 164.165.173.197 from VM ctest-vn1-vm2-68431226 passed
2025-11-24 20:30:17,829 - INFO - Detaching port 76e7b87f-023a-4498-9ead-6e2cc66ab71d from VM ctest-vn1-vm2-68431226
2025-11-24 20:30:17,878 - INFO - Deleting VM ctest-vn1-vm2-68431226
2025-11-24 20:30:17,946 - INFO - Detaching port 7fa9834d-27bf-4237-8a48-23fa4691776f from VM ctest-vn1-vm1-63270139
2025-11-24 20:30:17,978 - INFO - Deleting VM ctest-vn1-vm1-63270139
2025-11-24 20:30:18,209 - DEBUG - Response for delete_port : ()
2025-11-24 20:30:18,368 - DEBUG - Response for delete_port : ()
2025-11-24 20:30:18,368 - INFO - Deleting VN ctest-vn1-08101260
2025-11-24 20:30:18,512 - DEBUG - Response for deleting network ()
2025-11-24 20:30:18,776 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 20:30:18,776 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-24 20:30:18,776 - INFO - --------------------------------------------------------------------------------
2025-11-24 20:30:19,522 - INFO - Deleted project: ctest-TestPorts-27689023, ID : fe3e3b34-086b-4142-855a-249fae0ef18e