2025-10-08 22:34:48,775 - INFO - Domain Default found not creating
2025-10-08 22:34:48,899 - INFO - Project ctest-TestPorts-51746039 not found, creating it
2025-10-08 22:34:49,312 - INFO - Created Project:ctest-TestPorts-51746039, ID : 66b37ba8-a800-48ba-8796-563d49188f66
2025-10-08 22:34:50,661 - INFO - ================================================================================
2025-10-08 22:34:50,661 - INFO - STARTING TEST : test_ports_bindings
2025-10-08 22:34:50,661 - 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-08 22:34:50,914 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2025-10-08 22:34:50,914 - INFO - Initial checks done. Running the testcase now
2025-10-08 22:34:50,914 - INFO -
2025-10-08 22:34:51,474 - DEBUG - Response for create_network : {'network': {'id': '033c41c5-88b9-4a1f-9224-01d323b65bf8', 'name': 'ctest-vn-95561772', 'tenant_id': '66b37ba8a80048ba8796563d49188f66', 'project_id': '66b37ba8a80048ba8796563d49188f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51746039', 'ctest-vn-95561772'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 22:34:51,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b9eb084-18b8-45bd-89a5-058da322677c', 'name': '', 'tenant_id': '66b37ba8a80048ba8796563d49188f66', 'network_id': '033c41c5-88b9-4a1f-9224-01d323b65bf8', 'ip_version': 4, 'cidr': '210.29.124.192/26', 'allocation_pools': [{'start': '210.29.124.194', 'end': '210.29.124.254'}], 'gateway_ip': '210.29.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.29.124.194', 'tags': [], 'project_id': '66b37ba8a80048ba8796563d49188f66'}}
2025-10-08 22:34:51,706 - INFO - Created VN ctest-vn-95561772
2025-10-08 22:34:51,757 - DEBUG - VN ctest-vn-95561772 UUID is 033c41c5-88b9-4a1f-9224-01d323b65bf8
2025-10-08 22:34:51,853 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-51746039', 'ctest-vmi-92012758']}
2025-10-08 22:34:52,119 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-92012758', 'id': 'dfcdcd57-c737-4716-827a-0ad3607ed194', 'tenant_id': '66b37ba8a80048ba8796563d49188f66', 'network_id': '033c41c5-88b9-4a1f-9224-01d323b65bf8', 'mac_address': '02:df:cd:cd:57: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': '210.29.124.195', 'subnet_id': '2b9eb084-18b8-45bd-89a5-058da322677c'}], 'security_groups': ['110a2774-f0a3-4021-acc0-a17146c5bd43'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '66b37ba8a80048ba8796563d49188f66'}}
2025-10-08 22:34:52,119 - DEBUG - Created port dfcdcd57-c737-4716-827a-0ad3607ed194
2025-10-08 22:34:52,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dfcdcd57-c737-4716-827a-0ad3607ed194
2025-10-08 22:34:52,514 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dfcdcd57-c737-4716-827a-0ad3607ed194
2025-10-08 22:34:52,543 - INFO - VMI dfcdcd57-c737-4716-827a-0ad3607ed194 verification in API Server passed
2025-10-08 22:34:52,628 - DEBUG - Response for delete_port : ()
2025-10-08 22:34:52,628 - INFO - Deleted port dfcdcd57-c737-4716-827a-0ad3607ed194
2025-10-08 22:34:52,628 - INFO - Deleting VN ctest-vn-95561772
2025-10-08 22:34:52,716 - DEBUG - Response for deleting network ()
2025-10-08 22:34:52,973 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 22:34:52,973 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-08 22:34:52,973 - INFO - --------------------------------------------------------------------------------
2025-10-08 22:34:52,975 - INFO - ================================================================================
2025-10-08 22:34:52,976 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-08 22:34:52,976 - 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-08 22:34:53,261 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with
2025-10-08 22:34:53,261 - INFO - Initial checks done. Running the testcase now
2025-10-08 22:34:53,262 - INFO -
2025-10-08 22:34:53,435 - DEBUG - Response for create_network : {'network': {'id': 'ff45ca38-3ecf-4c98-964c-51f0f1cddbba', 'name': 'ctest-vn1-73937521', 'tenant_id': '66b37ba8a80048ba8796563d49188f66', 'project_id': '66b37ba8a80048ba8796563d49188f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51746039', 'ctest-vn1-73937521'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 22:34:53,621 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa66c1fa-4c92-4d54-81b5-bf8e4e9c12e0', 'name': '', 'tenant_id': '66b37ba8a80048ba8796563d49188f66', 'network_id': 'ff45ca38-3ecf-4c98-964c-51f0f1cddbba', 'ip_version': 4, 'cidr': '174.1.13.64/26', 'allocation_pools': [{'start': '174.1.13.66', 'end': '174.1.13.126'}], 'gateway_ip': '174.1.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.1.13.66', 'tags': [], 'project_id': '66b37ba8a80048ba8796563d49188f66'}}
2025-10-08 22:34:53,833 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b64e9a8a-f3fe-4d2e-8167-29d14c0097ed', 'name': '', 'tenant_id': '66b37ba8a80048ba8796563d49188f66', 'network_id': 'ff45ca38-3ecf-4c98-964c-51f0f1cddbba', 'ip_version': 4, 'cidr': '159.61.26.128/26', 'allocation_pools': [{'start': '159.61.26.130', 'end': '159.61.26.190'}], 'gateway_ip': '159.61.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.61.26.130', 'tags': [], 'project_id': '66b37ba8a80048ba8796563d49188f66'}}
2025-10-08 22:34:53,848 - INFO - Created VN ctest-vn1-73937521
2025-10-08 22:34:53,897 - DEBUG - VN ctest-vn1-73937521 UUID is ff45ca38-3ecf-4c98-964c-51f0f1cddbba
2025-10-08 22:34:54,174 - DEBUG - Response for create_port : {'port': {'name': '6b0b1798-f33a-4569-85a1-8b08dfbee62a', 'id': '6b0b1798-f33a-4569-85a1-8b08dfbee62a', 'tenant_id': '66b37ba8a80048ba8796563d49188f66', 'network_id': 'ff45ca38-3ecf-4c98-964c-51f0f1cddbba', 'mac_address': '02:6b:0b:17:98: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': '174.1.13.69', 'subnet_id': 'fa66c1fa-4c92-4d54-81b5-bf8e4e9c12e0'}], 'security_groups': ['110a2774-f0a3-4021-acc0-a17146c5bd43'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '66b37ba8a80048ba8796563d49188f66'}}
2025-10-08 22:34:54,345 - DEBUG - Response for create_port : {'port': {'name': 'e9d3b426-d261-4f95-a472-917c997690eb', 'id': 'e9d3b426-d261-4f95-a472-917c997690eb', 'tenant_id': '66b37ba8a80048ba8796563d49188f66', 'network_id': 'ff45ca38-3ecf-4c98-964c-51f0f1cddbba', 'mac_address': '02:e9:d3:b4:26:d2', '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': '159.61.26.133', 'subnet_id': 'b64e9a8a-f3fe-4d2e-8167-29d14c0097ed'}], 'security_groups': ['110a2774-f0a3-4021-acc0-a17146c5bd43'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '66b37ba8a80048ba8796563d49188f66'}}
2025-10-08 22:34:54,398 - DEBUG - Services list from nova: [, , ]
2025-10-08 22:34:54,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4248-1)
2025-10-08 22:34:55,015 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4248-1)
2025-10-08 22:34:55,015 - INFO - Waiting for VM ctest-vn1-vm1-34991809 to be up..
2025-10-08 22:34:55,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 22:35:00,129 - DEBUG - VM is in ACTIVE state now
2025-10-08 22:35:00,129 - INFO - VM name : ctest-vn1-vm1-34991809
2025-10-08 22:35:00,196 - DEBUG - VM ctest-vn1-vm1-34991809 ID is 159a31b2-9edf-4eca-a2da-a8193a39e8ca
2025-10-08 22:35:00,214 - DEBUG - VM ctest-vn1-vm1-34991809 launched on Node cn-jenkins-deploy-platform-ansible-os-4248-1
2025-10-08 22:35:00,282 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/159a31b2-9edf-4eca-a2da-a8193a39e8ca
2025-10-08 22:35:00,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6b0b1798-f33a-4569-85a1-8b08dfbee62a
2025-10-08 22:35:03,532 - 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 1012ms')
2025-10-08 22:35:03,532 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34991809 failed!
2025-10-08 22:35:03,589 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51746039:ctest-vn1-73937521 is 174.1.13.65 and allocation pool is NOT set
2025-10-08 22:35:03,589 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51746039:ctest-vn1-73937521 is 159.61.26.129 and allocation pool is NOT set
2025-10-08 22:35:05,649 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.55 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 = 1.548/3.399/5.251/1.851 ms')
2025-10-08 22:35:05,649 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34991809 passed
2025-10-08 22:35:05,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 22:35:05,797 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34991809, IP 174.1.13.69, Port 22
2025-10-08 22:35:05,963 - DEBUG - VM ctest-vn1-vm1-34991809 is ready for SSH connections
2025-10-08 22:35:05,964 - INFO - Waiting for VM ctest-vn1-vm2-29811625 to be up..
2025-10-08 22:35:06,042 - DEBUG - VM is in ACTIVE state now
2025-10-08 22:35:06,042 - INFO - VM name : ctest-vn1-vm2-29811625
2025-10-08 22:35:06,114 - DEBUG - VM ctest-vn1-vm2-29811625 ID is d33994be-538f-4c7e-a949-0a9bca04f180
2025-10-08 22:35:06,114 - DEBUG - VM ctest-vn1-vm2-29811625 launched on Node cn-jenkins-deploy-platform-ansible-os-4248-1
2025-10-08 22:35:06,181 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d33994be-538f-4c7e-a949-0a9bca04f180
2025-10-08 22:35:06,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e9d3b426-d261-4f95-a472-917c997690eb
2025-10-08 22:35:07,421 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 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.446/1.557/2.669/1.111 ms')
2025-10-08 22:35:07,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29811625 passed
2025-10-08 22:35:07,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 22:35:07,577 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29811625, IP 159.61.26.133, Port 22
2025-10-08 22:35:07,736 - DEBUG - VM ctest-vn1-vm2-29811625 is ready for SSH connections
2025-10-08 22:35:07,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 22:35:07,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 22:35:07,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 22:35:07,736 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.1.13.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-10-08 22:35:07,736 - DEBUG - ping -s 56 -c 3 -W 1 174.1.13.69
2025-10-08 22:35:10,389 - DEBUG - PING 174.1.13.69 (174.1.13.69): 56 data bytes
64 bytes from 174.1.13.69: seq=0 ttl=63 time=5.027 ms
64 bytes from 174.1.13.69: seq=1 ttl=63 time=0.813 ms
64 bytes from 174.1.13.69: seq=2 ttl=63 time=0.961 ms
--- 174.1.13.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.813/2.267/5.027 ms
2025-10-08 22:35:10,390 - INFO - Ping to IP 174.1.13.69 from VM ctest-vn1-vm2-29811625 passed
2025-10-08 22:35:10,390 - INFO - Detaching port e9d3b426-d261-4f95-a472-917c997690eb from VM ctest-vn1-vm2-29811625
2025-10-08 22:35:10,439 - INFO - Deleting VM ctest-vn1-vm2-29811625
2025-10-08 22:35:10,522 - INFO - Detaching port 6b0b1798-f33a-4569-85a1-8b08dfbee62a from VM ctest-vn1-vm1-34991809
2025-10-08 22:35:10,559 - INFO - Deleting VM ctest-vn1-vm1-34991809
2025-10-08 22:35:10,782 - DEBUG - Response for delete_port : ()
2025-10-08 22:35:10,935 - DEBUG - Response for delete_port : ()
2025-10-08 22:35:10,935 - INFO - Deleting VN ctest-vn1-73937521
2025-10-08 22:35:11,064 - DEBUG - Response for deleting network ()
2025-10-08 22:35:11,317 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 22:35:11,318 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-08 22:35:11,318 - INFO - --------------------------------------------------------------------------------
2025-10-08 22:35:11,955 - INFO - Deleted project: ctest-TestPorts-51746039, ID : 66b37ba8-a800-48ba-8796-563d49188f66