2025-09-27 12:50:10,446 - INFO - Domain Default found not creating 2025-09-27 12:50:10,626 - INFO - Project ctest-TestPorts-20711962 not found, creating it 2025-09-27 12:50:11,108 - INFO - Created Project:ctest-TestPorts-20711962, ID : c84aad27-ee96-4d83-bd08-16ddec438731 2025-09-27 12:50:12,671 - INFO - ================================================================================ 2025-09-27 12:50:12,671 - INFO - STARTING TEST : test_ports_bindings 2025-09-27 12:50:12,671 - 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-09-27 12:50:12,935 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-27 12:50:12,935 - INFO - Initial checks done. Running the testcase now 2025-09-27 12:50:12,935 - INFO - 2025-09-27 12:50:13,588 - DEBUG - Response for create_network : {'network': {'id': '47ade015-69ae-4ca3-a185-8575e8146ee7', 'name': 'ctest-vn-39543639', 'tenant_id': 'c84aad27ee964d83bd0816ddec438731', 'project_id': 'c84aad27ee964d83bd0816ddec438731', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20711962', 'ctest-vn-39543639'], 'port_security_enabled': True, 'description': ''}} 2025-09-27 12:50:13,753 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7943645-a955-4cae-97b9-68ffa1c77708', 'name': '', 'tenant_id': 'c84aad27ee964d83bd0816ddec438731', 'network_id': '47ade015-69ae-4ca3-a185-8575e8146ee7', 'ip_version': 4, 'cidr': '22.237.101.64/26', 'allocation_pools': [{'start': '22.237.101.66', 'end': '22.237.101.126'}], 'gateway_ip': '22.237.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.237.101.66', 'tags': [], 'project_id': 'c84aad27ee964d83bd0816ddec438731'}} 2025-09-27 12:50:13,774 - INFO - Created VN ctest-vn-39543639 2025-09-27 12:50:13,830 - DEBUG - VN ctest-vn-39543639 UUID is 47ade015-69ae-4ca3-a185-8575e8146ee7 2025-09-27 12:50:13,945 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-20711962', 'ctest-vmi-61486926']} 2025-09-27 12:50:14,212 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61486926', 'id': '4896a858-bcb3-49cd-add3-9418e8f92b20', 'tenant_id': 'c84aad27ee964d83bd0816ddec438731', 'network_id': '47ade015-69ae-4ca3-a185-8575e8146ee7', 'mac_address': '02:48:96:a8:58:bc', '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': '22.237.101.67', 'subnet_id': 'c7943645-a955-4cae-97b9-68ffa1c77708'}], 'security_groups': ['c61bec2a-3ccd-4e07-82ff-b89518b021fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c84aad27ee964d83bd0816ddec438731'}} 2025-09-27 12:50:14,212 - DEBUG - Created port 4896a858-bcb3-49cd-add3-9418e8f92b20 2025-09-27 12:50:14,326 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4896a858-bcb3-49cd-add3-9418e8f92b20 2025-09-27 12:50:14,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4896a858-bcb3-49cd-add3-9418e8f92b20 2025-09-27 12:50:14,668 - INFO - VMI 4896a858-bcb3-49cd-add3-9418e8f92b20 verification in API Server passed 2025-09-27 12:50:14,781 - DEBUG - Response for delete_port : () 2025-09-27 12:50:14,781 - INFO - Deleted port 4896a858-bcb3-49cd-add3-9418e8f92b20 2025-09-27 12:50:14,781 - INFO - Deleting VN ctest-vn-39543639 2025-09-27 12:50:14,899 - DEBUG - Response for deleting network () 2025-09-27 12:50:15,164 - DEBUG - No XMPP flaps were noticed during the test
2025-09-27 12:50:15,165 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-27 12:50:15,165 - INFO - -------------------------------------------------------------------------------- 2025-09-27 12:50:15,167 - INFO - ================================================================================ 2025-09-27 12:50:15,168 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-27 12:50:15,168 - 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-09-27 12:50:15,460 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-27 12:50:15,460 - INFO - Initial checks done. Running the testcase now 2025-09-27 12:50:15,460 - INFO - 2025-09-27 12:50:15,675 - DEBUG - Response for create_network : {'network': {'id': '8105f8e2-1f15-4a1c-a862-502164233135', 'name': 'ctest-vn1-31367274', 'tenant_id': 'c84aad27ee964d83bd0816ddec438731', 'project_id': 'c84aad27ee964d83bd0816ddec438731', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20711962', 'ctest-vn1-31367274'], 'port_security_enabled': True, 'description': ''}} 2025-09-27 12:50:15,874 - DEBUG - Response for create_subnet : {'subnet': {'id': '1abaac4f-0aa2-4ac6-b0f9-ed6370e70a81', 'name': '', 'tenant_id': 'c84aad27ee964d83bd0816ddec438731', 'network_id': '8105f8e2-1f15-4a1c-a862-502164233135', 'ip_version': 4, 'cidr': '157.238.36.192/26', 'allocation_pools': [{'start': '157.238.36.194', 'end': '157.238.36.254'}], 'gateway_ip': '157.238.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.238.36.194', 'tags': [], 'project_id': 'c84aad27ee964d83bd0816ddec438731'}} 2025-09-27 12:50:16,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '53e0ad34-bd5d-4fa8-ab31-44e72878ca42', 'name': '', 'tenant_id': 'c84aad27ee964d83bd0816ddec438731', 'network_id': '8105f8e2-1f15-4a1c-a862-502164233135', 'ip_version': 4, 'cidr': '178.121.126.64/26', 'allocation_pools': [{'start': '178.121.126.66', 'end': '178.121.126.126'}], 'gateway_ip': '178.121.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.121.126.66', 'tags': [], 'project_id': 'c84aad27ee964d83bd0816ddec438731'}} 2025-09-27 12:50:16,116 - INFO - Created VN ctest-vn1-31367274 2025-09-27 12:50:16,170 - DEBUG - VN ctest-vn1-31367274 UUID is 8105f8e2-1f15-4a1c-a862-502164233135 2025-09-27 12:50:16,496 - DEBUG - Response for create_port : {'port': {'name': '58b60c44-a4e5-4584-91ff-56bd4342232d', 'id': '58b60c44-a4e5-4584-91ff-56bd4342232d', 'tenant_id': 'c84aad27ee964d83bd0816ddec438731', 'network_id': '8105f8e2-1f15-4a1c-a862-502164233135', 'mac_address': '02:58:b6:0c:44:a4', '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': '157.238.36.197', 'subnet_id': '1abaac4f-0aa2-4ac6-b0f9-ed6370e70a81'}], 'security_groups': ['c61bec2a-3ccd-4e07-82ff-b89518b021fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c84aad27ee964d83bd0816ddec438731'}} 2025-09-27 12:50:16,687 - DEBUG - Response for create_port : {'port': {'name': '93bd0d80-6ae0-4d34-8db4-7566b0b1886a', 'id': '93bd0d80-6ae0-4d34-8db4-7566b0b1886a', 'tenant_id': 'c84aad27ee964d83bd0816ddec438731', 'network_id': '8105f8e2-1f15-4a1c-a862-502164233135', 'mac_address': '02:93:bd:0d:80:6a', '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': '178.121.126.69', 'subnet_id': '53e0ad34-bd5d-4fa8-ab31-44e72878ca42'}], 'security_groups': ['c61bec2a-3ccd-4e07-82ff-b89518b021fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c84aad27ee964d83bd0816ddec438731'}} 2025-09-27 12:50:16,750 - DEBUG - Services list from nova: [, , ] 2025-09-27 12:50:17,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4199-1) 2025-09-27 12:50:17,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4199-1) 2025-09-27 12:50:17,679 - INFO - Waiting for VM ctest-vn1-vm1-88899580 to be up.. 2025-09-27 12:50:17,727 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-27 12:50:22,829 - DEBUG - VM is in ACTIVE state now 2025-09-27 12:50:22,829 - INFO - VM name : ctest-vn1-vm1-88899580 2025-09-27 12:50:22,915 - DEBUG - VM ctest-vn1-vm1-88899580 ID is 0b97be0a-58b7-4851-90d6-b1719ab07583 2025-09-27 12:50:22,938 - DEBUG - VM ctest-vn1-vm1-88899580 launched on Node cn-jenkins-deploy-platform-ansible-os-4199-1 2025-09-27 12:50:23,024 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0b97be0a-58b7-4851-90d6-b1719ab07583 2025-09-27 12:50:23,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/58b60c44-a4e5-4584-91ff-56bd4342232d 2025-09-27 12:50:26,292 - 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 1004ms') 2025-09-27 12:50:26,293 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-88899580 failed! 2025-09-27 12:50:26,350 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20711962:ctest-vn1-31367274 is 157.238.36.193 and allocation pool is NOT set 2025-09-27 12:50:26,350 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20711962:ctest-vn1-31367274 is 178.121.126.65 and allocation pool is NOT set 2025-09-27 12:50:30,424 - 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=2 ttl=63 time=6.45 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 6.449/6.449/6.449/0.000 ms') 2025-09-27 12:50:30,424 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-88899580 passed 2025-09-27 12:50:30,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:50:30,575 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88899580, IP 157.238.36.197, Port 22 2025-09-27 12:50:30,745 - DEBUG - VM ctest-vn1-vm1-88899580 is ready for SSH connections 2025-09-27 12:50:30,745 - INFO - Waiting for VM ctest-vn1-vm2-77396101 to be up.. 2025-09-27 12:50:30,838 - DEBUG - VM is in ACTIVE state now 2025-09-27 12:50:30,838 - INFO - VM name : ctest-vn1-vm2-77396101 2025-09-27 12:50:30,931 - DEBUG - VM ctest-vn1-vm2-77396101 ID is 34e4b4d7-9c4d-41c3-b233-1ce65a3cc056 2025-09-27 12:50:30,931 - DEBUG - VM ctest-vn1-vm2-77396101 launched on Node cn-jenkins-deploy-platform-ansible-os-4199-1 2025-09-27 12:50:31,017 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/34e4b4d7-9c4d-41c3-b233-1ce65a3cc056 2025-09-27 12:50:31,027 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/93bd0d80-6ae0-4d34-8db4-7566b0b1886a 2025-09-27 12:50:32,279 - 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=4.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/2.271/4.129/1.858 ms') 2025-09-27 12:50:32,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-77396101 passed 2025-09-27 12:50:32,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:50:32,434 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77396101, IP 178.121.126.69, Port 22 2025-09-27 12:50:32,590 - DEBUG - VM ctest-vn1-vm2-77396101 is ready for SSH connections 2025-09-27 12:50:32,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:50:32,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:50:32,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:50:32,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.238.36.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-27 12:50:32,591 - DEBUG - ping -s 56 -c 3 -W 1 157.238.36.197 2025-09-27 12:50:36,333 - DEBUG - PING 157.238.36.197 (157.238.36.197): 56 data bytes 64 bytes from 157.238.36.197: seq=0 ttl=63 time=4.008 ms 64 bytes from 157.238.36.197: seq=1 ttl=63 time=1.059 ms 64 bytes from 157.238.36.197: seq=2 ttl=63 time=1.452 ms --- 157.238.36.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.059/2.173/4.008 ms 2025-09-27 12:50:36,333 - INFO - Ping to IP 157.238.36.197 from VM ctest-vn1-vm2-77396101 passed 2025-09-27 12:50:36,333 - INFO - Detaching port 93bd0d80-6ae0-4d34-8db4-7566b0b1886a from VM ctest-vn1-vm2-77396101 2025-09-27 12:50:36,408 - INFO - Deleting VM ctest-vn1-vm2-77396101 2025-09-27 12:50:36,485 - INFO - Detaching port 58b60c44-a4e5-4584-91ff-56bd4342232d from VM ctest-vn1-vm1-88899580 2025-09-27 12:50:36,521 - INFO - Deleting VM ctest-vn1-vm1-88899580 2025-09-27 12:50:36,783 - DEBUG - Response for delete_port : () 2025-09-27 12:50:36,996 - DEBUG - Response for delete_port : () 2025-09-27 12:50:36,996 - INFO - Deleting VN ctest-vn1-31367274 2025-09-27 12:50:37,170 - DEBUG - Response for deleting network () 2025-09-27 12:50:37,431 - DEBUG - No XMPP flaps were noticed during the test
2025-09-27 12:50:37,431 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-09-27 12:50:37,431 - INFO - -------------------------------------------------------------------------------- 2025-09-27 12:50:38,146 - INFO - Deleted project: ctest-TestPorts-20711962, ID : c84aad27-ee96-4d83-bd08-16ddec438731