2025-10-06 12:07:48,279 - INFO - Domain Default found not creating
2025-10-06 12:07:48,419 - INFO - Project ctest-TestPorts-27610535 not found, creating it
2025-10-06 12:07:48,849 - INFO - Created Project:ctest-TestPorts-27610535, ID : 0672c4ea-8460-4093-aa0d-1a3839f23cd8
2025-10-06 12:07:50,179 - INFO - ================================================================================
2025-10-06 12:07:50,179 - INFO - STARTING TEST : test_ports_bindings
2025-10-06 12:07:50,179 - 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-06 12:07:50,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-10-06 12:07:50,432 - INFO - Initial checks done. Running the testcase now
2025-10-06 12:07:50,432 - INFO -
2025-10-06 12:07:50,947 - DEBUG - Response for create_network : {'network': {'id': '3008946c-437b-4921-a0b0-4c6cdaab4b6b', 'name': 'ctest-vn-43775121', 'tenant_id': '0672c4ea84604093aa0d1a3839f23cd8', 'project_id': '0672c4ea84604093aa0d1a3839f23cd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27610535', 'ctest-vn-43775121'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 12:07:51,133 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac591fef-4dc4-4d49-a0ac-dca246978536', 'name': '', 'tenant_id': '0672c4ea84604093aa0d1a3839f23cd8', 'network_id': '3008946c-437b-4921-a0b0-4c6cdaab4b6b', 'ip_version': 4, 'cidr': '6.14.75.0/26', 'allocation_pools': [{'start': '6.14.75.2', 'end': '6.14.75.62'}], 'gateway_ip': '6.14.75.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.14.75.2', 'tags': [], 'project_id': '0672c4ea84604093aa0d1a3839f23cd8'}}
2025-10-06 12:07:51,148 - INFO - Created VN ctest-vn-43775121
2025-10-06 12:07:51,198 - DEBUG - VN ctest-vn-43775121 UUID is 3008946c-437b-4921-a0b0-4c6cdaab4b6b
2025-10-06 12:07:51,297 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27610535', 'ctest-vmi-73577703']}
2025-10-06 12:07:51,550 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73577703', 'id': '0906e1cc-fe0c-4b90-aae9-de3dead7f6ed', 'tenant_id': '0672c4ea84604093aa0d1a3839f23cd8', 'network_id': '3008946c-437b-4921-a0b0-4c6cdaab4b6b', 'mac_address': '02:09:06:e1:cc:fe', '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': '6.14.75.3', 'subnet_id': 'ac591fef-4dc4-4d49-a0ac-dca246978536'}], 'security_groups': ['724ce196-f015-44d8-9b61-062cc4bf4cd7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0672c4ea84604093aa0d1a3839f23cd8'}}
2025-10-06 12:07:51,550 - DEBUG - Created port 0906e1cc-fe0c-4b90-aae9-de3dead7f6ed
2025-10-06 12:07:51,654 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0906e1cc-fe0c-4b90-aae9-de3dead7f6ed
2025-10-06 12:07:51,943 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0906e1cc-fe0c-4b90-aae9-de3dead7f6ed
2025-10-06 12:07:51,970 - INFO - VMI 0906e1cc-fe0c-4b90-aae9-de3dead7f6ed verification in API Server passed
2025-10-06 12:07:52,046 - DEBUG - Response for delete_port : ()
2025-10-06 12:07:52,046 - INFO - Deleted port 0906e1cc-fe0c-4b90-aae9-de3dead7f6ed
2025-10-06 12:07:52,046 - INFO - Deleting VN ctest-vn-43775121
2025-10-06 12:07:52,135 - DEBUG - Response for deleting network ()
2025-10-06 12:07:52,386 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 12:07:52,386 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-06 12:07:52,386 - INFO - --------------------------------------------------------------------------------
2025-10-06 12:07:52,388 - INFO - ================================================================================
2025-10-06 12:07:52,388 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-06 12:07:52,388 - 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-06 12:07:52,674 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-10-06 12:07:52,674 - INFO - Initial checks done. Running the testcase now
2025-10-06 12:07:52,674 - INFO -
2025-10-06 12:07:52,828 - DEBUG - Response for create_network : {'network': {'id': '669399b8-c0ab-4c4f-8b0b-d89b3d890622', 'name': 'ctest-vn1-63270819', 'tenant_id': '0672c4ea84604093aa0d1a3839f23cd8', 'project_id': '0672c4ea84604093aa0d1a3839f23cd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27610535', 'ctest-vn1-63270819'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 12:07:53,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '81c857fe-e009-48c8-8ca9-c6a38017dba0', 'name': '', 'tenant_id': '0672c4ea84604093aa0d1a3839f23cd8', 'network_id': '669399b8-c0ab-4c4f-8b0b-d89b3d890622', 'ip_version': 4, 'cidr': '206.159.72.192/26', 'allocation_pools': [{'start': '206.159.72.194', 'end': '206.159.72.254'}], 'gateway_ip': '206.159.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.159.72.194', 'tags': [], 'project_id': '0672c4ea84604093aa0d1a3839f23cd8'}}
2025-10-06 12:07:53,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e2bd2b8-a97f-48db-98fa-02c7383d1a0c', 'name': '', 'tenant_id': '0672c4ea84604093aa0d1a3839f23cd8', 'network_id': '669399b8-c0ab-4c4f-8b0b-d89b3d890622', 'ip_version': 4, 'cidr': '38.35.93.64/26', 'allocation_pools': [{'start': '38.35.93.66', 'end': '38.35.93.126'}], 'gateway_ip': '38.35.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.35.93.66', 'tags': [], 'project_id': '0672c4ea84604093aa0d1a3839f23cd8'}}
2025-10-06 12:07:53,206 - INFO - Created VN ctest-vn1-63270819
2025-10-06 12:07:53,258 - DEBUG - VN ctest-vn1-63270819 UUID is 669399b8-c0ab-4c4f-8b0b-d89b3d890622
2025-10-06 12:07:53,533 - DEBUG - Response for create_port : {'port': {'name': '4c7e9b44-86f9-48ac-8247-1ad5de50e4c6', 'id': '4c7e9b44-86f9-48ac-8247-1ad5de50e4c6', 'tenant_id': '0672c4ea84604093aa0d1a3839f23cd8', 'network_id': '669399b8-c0ab-4c4f-8b0b-d89b3d890622', 'mac_address': '02:4c:7e:9b:44:86', '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': '206.159.72.197', 'subnet_id': '81c857fe-e009-48c8-8ca9-c6a38017dba0'}], 'security_groups': ['724ce196-f015-44d8-9b61-062cc4bf4cd7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0672c4ea84604093aa0d1a3839f23cd8'}}
2025-10-06 12:07:53,689 - DEBUG - Response for create_port : {'port': {'name': 'd815943a-49ed-46b7-8351-fedaa8828928', 'id': 'd815943a-49ed-46b7-8351-fedaa8828928', 'tenant_id': '0672c4ea84604093aa0d1a3839f23cd8', 'network_id': '669399b8-c0ab-4c4f-8b0b-d89b3d890622', 'mac_address': '02:d8:15:94:3a:49', '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': '38.35.93.69', 'subnet_id': '0e2bd2b8-a97f-48db-98fa-02c7383d1a0c'}], 'security_groups': ['724ce196-f015-44d8-9b61-062cc4bf4cd7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0672c4ea84604093aa0d1a3839f23cd8'}}
2025-10-06 12:07:53,738 - DEBUG - Services list from nova: [, , ]
2025-10-06 12:07:54,028 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4222-1)
2025-10-06 12:07:54,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4222-1)
2025-10-06 12:07:54,365 - INFO - Waiting for VM ctest-vn1-vm1-11928155 to be up..
2025-10-06 12:07:54,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 12:07:59,468 - DEBUG - VM is in ACTIVE state now
2025-10-06 12:07:59,468 - INFO - VM name : ctest-vn1-vm1-11928155
2025-10-06 12:07:59,539 - DEBUG - VM ctest-vn1-vm1-11928155 ID is 2aabc21d-8c2a-4135-814c-eb05b6e60683
2025-10-06 12:07:59,562 - DEBUG - VM ctest-vn1-vm1-11928155 launched on Node cn-jenkins-deploy-platform-ansible-os-4222-1
2025-10-06 12:07:59,625 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2aabc21d-8c2a-4135-814c-eb05b6e60683
2025-10-06 12:07:59,633 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/4c7e9b44-86f9-48ac-8247-1ad5de50e4c6
2025-10-06 12:08:02,893 - 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-10-06 12:08:02,893 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11928155 failed!
2025-10-06 12:08:02,946 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27610535:ctest-vn1-63270819 is 206.159.72.193 and allocation pool is NOT set
2025-10-06 12:08:02,946 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27610535:ctest-vn1-63270819 is 38.35.93.65 and allocation pool is NOT set
2025-10-06 12:08:05,006 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.636 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.636/2.919/5.202/2.283 ms')
2025-10-06 12:08:05,006 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11928155 passed
2025-10-06 12:08:05,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 12:08:05,154 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11928155, IP 206.159.72.197, Port 22
2025-10-06 12:08:05,313 - DEBUG - VM ctest-vn1-vm1-11928155 is ready for SSH connections
2025-10-06 12:08:05,314 - INFO - Waiting for VM ctest-vn1-vm2-90651679 to be up..
2025-10-06 12:08:05,378 - DEBUG - VM is in ACTIVE state now
2025-10-06 12:08:05,378 - INFO - VM name : ctest-vn1-vm2-90651679
2025-10-06 12:08:05,439 - DEBUG - VM ctest-vn1-vm2-90651679 ID is 931e4ed3-8af2-47fa-a659-c7d7f6d17d6d
2025-10-06 12:08:05,439 - DEBUG - VM ctest-vn1-vm2-90651679 launched on Node cn-jenkins-deploy-platform-ansible-os-4222-1
2025-10-06 12:08:05,497 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/931e4ed3-8af2-47fa-a659-c7d7f6d17d6d
2025-10-06 12:08:05,503 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d815943a-49ed-46b7-8351-fedaa8828928
2025-10-06 12:08:06,753 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 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.395/1.503/2.612/1.108 ms')
2025-10-06 12:08:06,753 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-90651679 passed
2025-10-06 12:08:06,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 12:08:06,906 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90651679, IP 38.35.93.69, Port 22
2025-10-06 12:08:07,061 - DEBUG - VM ctest-vn1-vm2-90651679 is ready for SSH connections
2025-10-06 12:08:07,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 12:08:07,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 12:08:07,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 12:08:07,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.159.72.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-10-06 12:08:07,061 - DEBUG - ping -s 56 -c 3 -W 1 206.159.72.197
2025-10-06 12:08:09,717 - DEBUG - PING 206.159.72.197 (206.159.72.197): 56 data bytes
64 bytes from 206.159.72.197: seq=0 ttl=63 time=3.367 ms
64 bytes from 206.159.72.197: seq=1 ttl=63 time=0.908 ms
64 bytes from 206.159.72.197: seq=2 ttl=63 time=0.730 ms
--- 206.159.72.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.730/1.668/3.367 ms
2025-10-06 12:08:09,717 - INFO - Ping to IP 206.159.72.197 from VM ctest-vn1-vm2-90651679 passed
2025-10-06 12:08:09,717 - INFO - Detaching port d815943a-49ed-46b7-8351-fedaa8828928 from VM ctest-vn1-vm2-90651679
2025-10-06 12:08:09,761 - INFO - Deleting VM ctest-vn1-vm2-90651679
2025-10-06 12:08:09,816 - INFO - Detaching port 4c7e9b44-86f9-48ac-8247-1ad5de50e4c6 from VM ctest-vn1-vm1-11928155
2025-10-06 12:08:09,843 - INFO - Deleting VM ctest-vn1-vm1-11928155
2025-10-06 12:08:10,030 - DEBUG - Response for delete_port : ()
2025-10-06 12:08:10,157 - DEBUG - Response for delete_port : ()
2025-10-06 12:08:10,157 - INFO - Deleting VN ctest-vn1-63270819
2025-10-06 12:08:10,268 - DEBUG - Response for deleting network ()
2025-10-06 12:08:10,522 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 12:08:10,522 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-06 12:08:10,522 - INFO - --------------------------------------------------------------------------------
2025-10-06 12:08:11,182 - INFO - Deleted project: ctest-TestPorts-27610535, ID : 0672c4ea-8460-4093-aa0d-1a3839f23cd8