2026-07-10 16:03:03,030 - INFO - Domain Default found not creating
2026-07-10 16:03:03,189 - INFO - Project ctest-TestPorts-18107057 not found, creating it
2026-07-10 16:03:03,650 - INFO - Created Project:ctest-TestPorts-18107057, ID : 97698093-a85a-4f09-acc1-c7ec9d33c4a4
2026-07-10 16:03:05,163 - INFO - ================================================================================
2026-07-10 16:03:05,163 - INFO - STARTING TEST : test_ports_bindings
2026-07-10 16:03:05,163 - 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-07-10 16:03:05,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-07-10 16:03:05,420 - INFO - Initial checks done. Running the testcase now
2026-07-10 16:03:05,420 - INFO -
2026-07-10 16:03:06,003 - DEBUG - Response for create_network : {'network': {'id': 'ca365e3f-11e3-4d98-afb5-1b1f988499d5', 'name': 'ctest-vn-48891877', 'tenant_id': '97698093a85a4f09acc1c7ec9d33c4a4', 'project_id': '97698093a85a4f09acc1c7ec9d33c4a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18107057', 'ctest-vn-48891877'], 'port_security_enabled': True, 'description': ''}}
2026-07-10 16:03:06,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '32045c65-b7d2-47c6-8606-bf5f823f4837', 'name': '', 'tenant_id': '97698093a85a4f09acc1c7ec9d33c4a4', 'network_id': 'ca365e3f-11e3-4d98-afb5-1b1f988499d5', 'ip_version': 4, 'cidr': '45.53.124.192/26', 'allocation_pools': [{'start': '45.53.124.194', 'end': '45.53.124.254'}], 'gateway_ip': '45.53.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.53.124.194', 'tags': [], 'project_id': '97698093a85a4f09acc1c7ec9d33c4a4'}}
2026-07-10 16:03:06,238 - INFO - Created VN ctest-vn-48891877
2026-07-10 16:03:06,290 - DEBUG - VN ctest-vn-48891877 UUID is ca365e3f-11e3-4d98-afb5-1b1f988499d5
2026-07-10 16:03:06,394 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18107057', 'ctest-vmi-85506462']}
2026-07-10 16:03:06,702 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85506462', 'id': 'fcdc9d64-c7ce-4bc0-baca-5f07b2868e9f', 'tenant_id': '97698093a85a4f09acc1c7ec9d33c4a4', 'network_id': 'ca365e3f-11e3-4d98-afb5-1b1f988499d5', 'mac_address': '02:fc:dc:9d:64:c7', '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': '45.53.124.195', 'subnet_id': '32045c65-b7d2-47c6-8606-bf5f823f4837'}], 'security_groups': ['26b066c1-4dd8-4feb-81cf-98c042670e82'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '97698093a85a4f09acc1c7ec9d33c4a4'}}
2026-07-10 16:03:06,702 - DEBUG - Created port fcdc9d64-c7ce-4bc0-baca-5f07b2868e9f
2026-07-10 16:03:06,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fcdc9d64-c7ce-4bc0-baca-5f07b2868e9f
2026-07-10 16:03:07,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fcdc9d64-c7ce-4bc0-baca-5f07b2868e9f
2026-07-10 16:03:07,153 - INFO - VMI fcdc9d64-c7ce-4bc0-baca-5f07b2868e9f verification in API Server passed
2026-07-10 16:03:07,241 - DEBUG - Response for delete_port : ()
2026-07-10 16:03:07,241 - INFO - Deleted port fcdc9d64-c7ce-4bc0-baca-5f07b2868e9f
2026-07-10 16:03:07,242 - INFO - Deleting VN ctest-vn-48891877
2026-07-10 16:03:07,353 - DEBUG - Response for deleting network ()
2026-07-10 16:03:07,607 - DEBUG - No XMPP flaps were noticed during the test
2026-07-10 16:03:07,607 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-07-10 16:03:07,607 - INFO - --------------------------------------------------------------------------------
2026-07-10 16:03:07,610 - INFO - ================================================================================
2026-07-10 16:03:07,610 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-07-10 16:03:07,610 - 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-07-10 16:03:07,895 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-07-10 16:03:07,895 - INFO - Initial checks done. Running the testcase now
2026-07-10 16:03:07,895 - INFO -
2026-07-10 16:03:08,057 - DEBUG - Response for create_network : {'network': {'id': 'a0078136-3f04-4ed8-9743-fab0f6935b0e', 'name': 'ctest-vn1-33114953', 'tenant_id': '97698093a85a4f09acc1c7ec9d33c4a4', 'project_id': '97698093a85a4f09acc1c7ec9d33c4a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18107057', 'ctest-vn1-33114953'], 'port_security_enabled': True, 'description': ''}}
2026-07-10 16:03:08,212 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b3e86c0-3b87-45dc-823e-e4226f0e8328', 'name': '', 'tenant_id': '97698093a85a4f09acc1c7ec9d33c4a4', 'network_id': 'a0078136-3f04-4ed8-9743-fab0f6935b0e', 'ip_version': 4, 'cidr': '218.165.131.0/26', 'allocation_pools': [{'start': '218.165.131.2', 'end': '218.165.131.62'}], 'gateway_ip': '218.165.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.165.131.2', 'tags': [], 'project_id': '97698093a85a4f09acc1c7ec9d33c4a4'}}
2026-07-10 16:03:08,409 - DEBUG - Response for create_subnet : {'subnet': {'id': '94d252bc-28cf-49c4-9614-35ef2cdfdb0f', 'name': '', 'tenant_id': '97698093a85a4f09acc1c7ec9d33c4a4', 'network_id': 'a0078136-3f04-4ed8-9743-fab0f6935b0e', 'ip_version': 4, 'cidr': '23.43.215.64/26', 'allocation_pools': [{'start': '23.43.215.66', 'end': '23.43.215.126'}], 'gateway_ip': '23.43.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.43.215.66', 'tags': [], 'project_id': '97698093a85a4f09acc1c7ec9d33c4a4'}}
2026-07-10 16:03:08,429 - INFO - Created VN ctest-vn1-33114953
2026-07-10 16:03:08,478 - DEBUG - VN ctest-vn1-33114953 UUID is a0078136-3f04-4ed8-9743-fab0f6935b0e
2026-07-10 16:03:08,780 - DEBUG - Response for create_port : {'port': {'name': 'b0f57f8c-f35e-4b3a-a7f3-103f35d3c69e', 'id': 'b0f57f8c-f35e-4b3a-a7f3-103f35d3c69e', 'tenant_id': '97698093a85a4f09acc1c7ec9d33c4a4', 'network_id': 'a0078136-3f04-4ed8-9743-fab0f6935b0e', 'mac_address': '02:b0:f5:7f:8c:f3', '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': '218.165.131.5', 'subnet_id': '2b3e86c0-3b87-45dc-823e-e4226f0e8328'}], 'security_groups': ['26b066c1-4dd8-4feb-81cf-98c042670e82'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '97698093a85a4f09acc1c7ec9d33c4a4'}}
2026-07-10 16:03:08,947 - DEBUG - Response for create_port : {'port': {'name': 'ebf17a8f-be00-4262-add0-493f1cd7e3a2', 'id': 'ebf17a8f-be00-4262-add0-493f1cd7e3a2', 'tenant_id': '97698093a85a4f09acc1c7ec9d33c4a4', 'network_id': 'a0078136-3f04-4ed8-9743-fab0f6935b0e', 'mac_address': '02:eb:f1:7a:8f:be', '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.43.215.69', 'subnet_id': '94d252bc-28cf-49c4-9614-35ef2cdfdb0f'}], 'security_groups': ['26b066c1-4dd8-4feb-81cf-98c042670e82'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '97698093a85a4f09acc1c7ec9d33c4a4'}}
2026-07-10 16:03:08,999 - DEBUG - Services list from nova: [, , ]
2026-07-10 16:03:09,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6089-1)
2026-07-10 16:03:09,686 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6089-1)
2026-07-10 16:03:09,686 - INFO - Waiting for VM ctest-vn1-vm1-83872880 to be up..
2026-07-10 16:03:09,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-10 16:03:14,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-10 16:03:19,836 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-07-10 16:03:24,914 - DEBUG - VM is in ACTIVE state now
2026-07-10 16:03:24,914 - INFO - VM name : ctest-vn1-vm1-83872880
2026-07-10 16:03:24,991 - DEBUG - VM ctest-vn1-vm1-83872880 ID is 3100c9e4-f130-45e1-971b-d08d9e9cc3fd
2026-07-10 16:03:25,012 - DEBUG - VM ctest-vn1-vm1-83872880 launched on Node cn-jenkins-deploy-platform-ansible-os-6089-1
2026-07-10 16:03:25,077 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3100c9e4-f130-45e1-971b-d08d9e9cc3fd
2026-07-10 16:03:25,087 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b0f57f8c-f35e-4b3a-a7f3-103f35d3c69e
2026-07-10 16:03:28,343 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2026-07-10 16:03:28,343 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-83872880 failed!
2026-07-10 16:03:28,398 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18107057:ctest-vn1-33114953 is 218.165.131.1 and allocation pool is NOT set
2026-07-10 16:03:28,399 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18107057:ctest-vn1-33114953 is 23.43.215.65 and allocation pool is NOT set
2026-07-10 16:03:30,455 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/2.100/3.751/1.650 ms')
2026-07-10 16:03:30,455 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-83872880 passed
2026-07-10 16:03:30,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-10 16:03:30,607 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83872880, IP 218.165.131.5, Port 22
2026-07-10 16:03:30,766 - DEBUG - VM ctest-vn1-vm1-83872880 is ready for SSH connections
2026-07-10 16:03:30,766 - INFO - Waiting for VM ctest-vn1-vm2-15358763 to be up..
2026-07-10 16:03:30,833 - DEBUG - VM is in ACTIVE state now
2026-07-10 16:03:30,833 - INFO - VM name : ctest-vn1-vm2-15358763
2026-07-10 16:03:30,899 - DEBUG - VM ctest-vn1-vm2-15358763 ID is c0a612e4-4dfb-48c9-a037-0a8b6af78f28
2026-07-10 16:03:30,899 - DEBUG - VM ctest-vn1-vm2-15358763 launched on Node cn-jenkins-deploy-platform-ansible-os-6089-1
2026-07-10 16:03:30,973 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c0a612e4-4dfb-48c9-a037-0a8b6af78f28
2026-07-10 16:03:30,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ebf17a8f-be00-4262-add0-493f1cd7e3a2
2026-07-10 16:03:32,212 - 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=3.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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 = 0.485/2.085/3.686/1.600 ms')
2026-07-10 16:03:32,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-15358763 passed
2026-07-10 16:03:32,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-10 16:03:32,370 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15358763, IP 23.43.215.69, Port 22
2026-07-10 16:03:32,530 - DEBUG - VM ctest-vn1-vm2-15358763 is ready for SSH connections
2026-07-10 16:03:32,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-10 16:03:32,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-10 16:03:32,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-07-10 16:03:32,531 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.165.131.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-07-10 16:03:32,531 - DEBUG - ping -s 56 -c 3 -W 1 218.165.131.5
2026-07-10 16:03:36,119 - DEBUG - PING 218.165.131.5 (218.165.131.5): 56 data bytes
64 bytes from 218.165.131.5: seq=0 ttl=63 time=3.661 ms
64 bytes from 218.165.131.5: seq=1 ttl=63 time=0.870 ms
64 bytes from 218.165.131.5: seq=2 ttl=63 time=0.888 ms
--- 218.165.131.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.870/1.806/3.661 ms
2026-07-10 16:03:36,120 - INFO - Ping to IP 218.165.131.5 from VM ctest-vn1-vm2-15358763 passed
2026-07-10 16:03:36,120 - INFO - Detaching port ebf17a8f-be00-4262-add0-493f1cd7e3a2 from VM ctest-vn1-vm2-15358763
2026-07-10 16:03:36,174 - INFO - Deleting VM ctest-vn1-vm2-15358763
2026-07-10 16:03:36,250 - INFO - Detaching port b0f57f8c-f35e-4b3a-a7f3-103f35d3c69e from VM ctest-vn1-vm1-83872880
2026-07-10 16:03:36,288 - INFO - Deleting VM ctest-vn1-vm1-83872880
2026-07-10 16:03:36,510 - DEBUG - Response for delete_port : ()
2026-07-10 16:03:36,654 - DEBUG - Response for delete_port : ()
2026-07-10 16:03:36,654 - INFO - Deleting VN ctest-vn1-33114953
2026-07-10 16:03:36,779 - DEBUG - Response for deleting network ()
2026-07-10 16:03:37,035 - DEBUG - No XMPP flaps were noticed during the test
2026-07-10 16:03:37,035 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2026-07-10 16:03:37,035 - INFO - --------------------------------------------------------------------------------
2026-07-10 16:03:37,747 - INFO - Deleted project: ctest-TestPorts-18107057, ID : 97698093-a85a-4f09-acc1-c7ec9d33c4a4