2025-11-05 17:08:51,416 - INFO - Domain Default found not creating
2025-11-05 17:08:51,556 - INFO - Project ctest-TestPorts-31600546 not found, creating it
2025-11-05 17:08:51,996 - INFO - Created Project:ctest-TestPorts-31600546, ID : 50c2c581-eca8-4560-b67e-818d49bcbd4b
2025-11-05 17:08:53,435 - INFO - ================================================================================
2025-11-05 17:08:53,436 - INFO - STARTING TEST : test_ports_bindings
2025-11-05 17:08:53,436 - 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-05 17:08:53,693 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with
2025-11-05 17:08:53,693 - INFO - Initial checks done. Running the testcase now
2025-11-05 17:08:53,693 - INFO -
2025-11-05 17:08:54,230 - DEBUG - Response for create_network : {'network': {'id': '28343485-9d72-41fb-8c5e-79edc16e3a8f', 'name': 'ctest-vn-10736671', 'tenant_id': '50c2c581eca84560b67e818d49bcbd4b', 'project_id': '50c2c581eca84560b67e818d49bcbd4b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31600546', 'ctest-vn-10736671'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 17:08:54,450 - DEBUG - Response for create_subnet : {'subnet': {'id': '68105846-bb10-4897-8a79-458ca683b1c1', 'name': '', 'tenant_id': '50c2c581eca84560b67e818d49bcbd4b', 'network_id': '28343485-9d72-41fb-8c5e-79edc16e3a8f', 'ip_version': 4, 'cidr': '8.112.18.64/26', 'allocation_pools': [{'start': '8.112.18.66', 'end': '8.112.18.126'}], 'gateway_ip': '8.112.18.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.112.18.66', 'tags': [], 'project_id': '50c2c581eca84560b67e818d49bcbd4b'}}
2025-11-05 17:08:54,469 - INFO - Created VN ctest-vn-10736671
2025-11-05 17:08:54,520 - DEBUG - VN ctest-vn-10736671 UUID is 28343485-9d72-41fb-8c5e-79edc16e3a8f
2025-11-05 17:08:54,625 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-31600546', 'ctest-vmi-63967221']}
2025-11-05 17:08:54,920 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63967221', 'id': '4591e35a-a1dc-4b3a-b1ca-1fa933508e0b', 'tenant_id': '50c2c581eca84560b67e818d49bcbd4b', 'network_id': '28343485-9d72-41fb-8c5e-79edc16e3a8f', 'mac_address': '02:45:91:e3:5a:a1', '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': '8.112.18.67', 'subnet_id': '68105846-bb10-4897-8a79-458ca683b1c1'}], 'security_groups': ['a81359be-0e23-49f1-a1d2-ab4958c08ec6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50c2c581eca84560b67e818d49bcbd4b'}}
2025-11-05 17:08:54,920 - DEBUG - Created port 4591e35a-a1dc-4b3a-b1ca-1fa933508e0b
2025-11-05 17:08:55,024 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4591e35a-a1dc-4b3a-b1ca-1fa933508e0b
2025-11-05 17:08:55,316 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4591e35a-a1dc-4b3a-b1ca-1fa933508e0b
2025-11-05 17:08:55,350 - INFO - VMI 4591e35a-a1dc-4b3a-b1ca-1fa933508e0b verification in API Server passed
2025-11-05 17:08:55,443 - DEBUG - Response for delete_port : ()
2025-11-05 17:08:55,443 - INFO - Deleted port 4591e35a-a1dc-4b3a-b1ca-1fa933508e0b
2025-11-05 17:08:55,443 - INFO - Deleting VN ctest-vn-10736671
2025-11-05 17:08:55,543 - DEBUG - Response for deleting network ()
2025-11-05 17:08:55,798 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 17:08:55,798 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-05 17:08:55,799 - INFO - --------------------------------------------------------------------------------
2025-11-05 17:08:55,801 - INFO - ================================================================================
2025-11-05 17:08:55,801 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-05 17:08:55,802 - 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-05 17:08:56,085 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with
2025-11-05 17:08:56,085 - INFO - Initial checks done. Running the testcase now
2025-11-05 17:08:56,085 - INFO -
2025-11-05 17:08:56,270 - DEBUG - Response for create_network : {'network': {'id': 'a5be376e-4ce2-49aa-964e-3e023b06418c', 'name': 'ctest-vn1-47798949', 'tenant_id': '50c2c581eca84560b67e818d49bcbd4b', 'project_id': '50c2c581eca84560b67e818d49bcbd4b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31600546', 'ctest-vn1-47798949'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 17:08:56,478 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b971567e-a25a-4474-9da0-5e6e1506da5e', 'name': '', 'tenant_id': '50c2c581eca84560b67e818d49bcbd4b', 'network_id': 'a5be376e-4ce2-49aa-964e-3e023b06418c', 'ip_version': 4, 'cidr': '147.121.83.192/26', 'allocation_pools': [{'start': '147.121.83.194', 'end': '147.121.83.254'}], 'gateway_ip': '147.121.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.121.83.194', 'tags': [], 'project_id': '50c2c581eca84560b67e818d49bcbd4b'}}
2025-11-05 17:08:56,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ca01658-173b-4138-9682-2ffc660278ab', 'name': '', 'tenant_id': '50c2c581eca84560b67e818d49bcbd4b', 'network_id': 'a5be376e-4ce2-49aa-964e-3e023b06418c', 'ip_version': 4, 'cidr': '66.23.88.128/26', 'allocation_pools': [{'start': '66.23.88.130', 'end': '66.23.88.190'}], 'gateway_ip': '66.23.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.23.88.130', 'tags': [], 'project_id': '50c2c581eca84560b67e818d49bcbd4b'}}
2025-11-05 17:08:56,637 - INFO - Created VN ctest-vn1-47798949
2025-11-05 17:08:56,688 - DEBUG - VN ctest-vn1-47798949 UUID is a5be376e-4ce2-49aa-964e-3e023b06418c
2025-11-05 17:08:56,967 - DEBUG - Response for create_port : {'port': {'name': '9b5a6136-2efc-4ed9-8092-fa9ea0641d41', 'id': '9b5a6136-2efc-4ed9-8092-fa9ea0641d41', 'tenant_id': '50c2c581eca84560b67e818d49bcbd4b', 'network_id': 'a5be376e-4ce2-49aa-964e-3e023b06418c', 'mac_address': '02:9b:5a:61:36:2e', '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': '147.121.83.197', 'subnet_id': 'b971567e-a25a-4474-9da0-5e6e1506da5e'}], 'security_groups': ['a81359be-0e23-49f1-a1d2-ab4958c08ec6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50c2c581eca84560b67e818d49bcbd4b'}}
2025-11-05 17:08:57,127 - DEBUG - Response for create_port : {'port': {'name': 'd319572d-c500-41bf-8628-b5dfad8306b3', 'id': 'd319572d-c500-41bf-8628-b5dfad8306b3', 'tenant_id': '50c2c581eca84560b67e818d49bcbd4b', 'network_id': 'a5be376e-4ce2-49aa-964e-3e023b06418c', 'mac_address': '02:d3:19:57:2d:c5', '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': '66.23.88.133', 'subnet_id': '9ca01658-173b-4138-9682-2ffc660278ab'}], 'security_groups': ['a81359be-0e23-49f1-a1d2-ab4958c08ec6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50c2c581eca84560b67e818d49bcbd4b'}}
2025-11-05 17:08:57,183 - DEBUG - Services list from nova: [, , ]
2025-11-05 17:08:57,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4651-1)
2025-11-05 17:08:57,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4651-1)
2025-11-05 17:08:57,941 - INFO - Waiting for VM ctest-vn1-vm1-85220365 to be up..
2025-11-05 17:08:57,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 17:09:03,057 - DEBUG - VM is in ACTIVE state now
2025-11-05 17:09:03,057 - INFO - VM name : ctest-vn1-vm1-85220365
2025-11-05 17:09:03,129 - DEBUG - VM ctest-vn1-vm1-85220365 ID is 3f2b0021-12d6-4ab8-8883-31c93e1c32c9
2025-11-05 17:09:03,147 - DEBUG - VM ctest-vn1-vm1-85220365 launched on Node cn-jenkins-deploy-platform-ansible-os-4651-1
2025-11-05 17:09:03,222 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3f2b0021-12d6-4ab8-8883-31c93e1c32c9
2025-11-05 17:09:03,232 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9b5a6136-2efc-4ed9-8092-fa9ea0641d41
2025-11-05 17:09:06,528 - 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 1021ms')
2025-11-05 17:09:06,528 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85220365 failed!
2025-11-05 17:09:06,580 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31600546:ctest-vn1-47798949 is 147.121.83.193 and allocation pool is NOT set
2025-11-05 17:09:06,581 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31600546:ctest-vn1-47798949 is 66.23.88.129 and allocation pool is NOT set
2025-11-05 17:09:08,641 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.732 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.732/5.436/10.140/4.704 ms')
2025-11-05 17:09:08,642 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85220365 passed
2025-11-05 17:09:08,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 17:09:08,800 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85220365, IP 147.121.83.197, Port 22
2025-11-05 17:09:08,959 - DEBUG - VM ctest-vn1-vm1-85220365 is ready for SSH connections
2025-11-05 17:09:08,959 - INFO - Waiting for VM ctest-vn1-vm2-64248513 to be up..
2025-11-05 17:09:09,030 - DEBUG - VM is in ACTIVE state now
2025-11-05 17:09:09,030 - INFO - VM name : ctest-vn1-vm2-64248513
2025-11-05 17:09:09,100 - DEBUG - VM ctest-vn1-vm2-64248513 ID is a7780306-86b1-426e-8a10-2d81d3a707c8
2025-11-05 17:09:09,100 - DEBUG - VM ctest-vn1-vm2-64248513 launched on Node cn-jenkins-deploy-platform-ansible-os-4651-1
2025-11-05 17:09:09,177 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a7780306-86b1-426e-8a10-2d81d3a707c8
2025-11-05 17:09:09,187 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d319572d-c500-41bf-8628-b5dfad8306b3
2025-11-05 17:09:10,422 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.977 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.977/2.114/3.251/1.137 ms')
2025-11-05 17:09:10,422 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-64248513 passed
2025-11-05 17:09:10,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 17:09:10,576 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-64248513, IP 66.23.88.133, Port 22
2025-11-05 17:09:10,732 - DEBUG - VM ctest-vn1-vm2-64248513 is ready for SSH connections
2025-11-05 17:09:10,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 17:09:10,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 17:09:10,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 17:09:10,732 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.121.83.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-11-05 17:09:10,732 - DEBUG - ping -s 56 -c 3 -W 1 147.121.83.197
2025-11-05 17:09:13,421 - DEBUG - PING 147.121.83.197 (147.121.83.197): 56 data bytes
64 bytes from 147.121.83.197: seq=0 ttl=63 time=3.306 ms
64 bytes from 147.121.83.197: seq=1 ttl=63 time=0.812 ms
64 bytes from 147.121.83.197: seq=2 ttl=63 time=0.693 ms
--- 147.121.83.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.693/1.603/3.306 ms
2025-11-05 17:09:13,421 - INFO - Ping to IP 147.121.83.197 from VM ctest-vn1-vm2-64248513 passed
2025-11-05 17:09:13,421 - INFO - Detaching port d319572d-c500-41bf-8628-b5dfad8306b3 from VM ctest-vn1-vm2-64248513
2025-11-05 17:09:13,470 - INFO - Deleting VM ctest-vn1-vm2-64248513
2025-11-05 17:09:13,540 - INFO - Detaching port 9b5a6136-2efc-4ed9-8092-fa9ea0641d41 from VM ctest-vn1-vm1-85220365
2025-11-05 17:09:13,572 - INFO - Deleting VM ctest-vn1-vm1-85220365
2025-11-05 17:09:13,791 - DEBUG - Response for delete_port : ()
2025-11-05 17:09:13,945 - DEBUG - Response for delete_port : ()
2025-11-05 17:09:13,946 - INFO - Deleting VN ctest-vn1-47798949
2025-11-05 17:09:14,090 - DEBUG - Response for deleting network ()
2025-11-05 17:09:14,359 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 17:09:14,359 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-05 17:09:14,359 - INFO - --------------------------------------------------------------------------------
2025-11-05 17:09:15,042 - INFO - Deleted project: ctest-TestPorts-31600546, ID : 50c2c581-eca8-4560-b67e-818d49bcbd4b