2025-08-12 13:11:28,514 - INFO - Domain Default found not creating
2025-08-12 13:11:28,630 - INFO - Project ctest-TestPorts-70866249 not found, creating it
2025-08-12 13:11:29,148 - INFO - Created Project:ctest-TestPorts-70866249, ID : 6a09ebbb-d05b-49ad-b364-fec876305f1f
2025-08-12 13:11:30,473 - INFO - ================================================================================
2025-08-12 13:11:30,473 - INFO - STARTING TEST : test_ports_bindings
2025-08-12 13:11:30,473 - 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-08-12 13:11:30,738 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-08-12 13:11:30,738 - INFO - Initial checks done. Running the testcase now
2025-08-12 13:11:30,738 - INFO -
2025-08-12 13:11:31,258 - DEBUG - Response for create_network : {'network': {'id': '8f7aa044-b0fe-4bfe-bddb-66b2a8e06188', 'name': 'ctest-vn-61248118', 'tenant_id': '6a09ebbbd05b49adb364fec876305f1f', 'project_id': '6a09ebbbd05b49adb364fec876305f1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70866249', 'ctest-vn-61248118'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 13:11:31,457 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e212c9f1-59b8-40fd-b59a-b68e17f7c173', 'name': '', 'tenant_id': '6a09ebbbd05b49adb364fec876305f1f', 'network_id': '8f7aa044-b0fe-4bfe-bddb-66b2a8e06188', 'ip_version': 4, 'cidr': '209.223.26.128/26', 'allocation_pools': [{'start': '209.223.26.130', 'end': '209.223.26.190'}], 'gateway_ip': '209.223.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.223.26.130', 'tags': [], 'project_id': '6a09ebbbd05b49adb364fec876305f1f'}}
2025-08-12 13:11:31,473 - INFO - Created VN ctest-vn-61248118
2025-08-12 13:11:31,524 - DEBUG - VN ctest-vn-61248118 UUID is 8f7aa044-b0fe-4bfe-bddb-66b2a8e06188
2025-08-12 13:11:31,629 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-70866249', 'ctest-vmi-05621238']}
2025-08-12 13:11:31,902 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05621238', 'id': '347627f7-6169-462e-9b50-4de43fc497bd', 'tenant_id': '6a09ebbbd05b49adb364fec876305f1f', 'network_id': '8f7aa044-b0fe-4bfe-bddb-66b2a8e06188', 'mac_address': '02:34:76:27:f7:61', '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': '209.223.26.131', 'subnet_id': 'e212c9f1-59b8-40fd-b59a-b68e17f7c173'}], 'security_groups': ['07d89433-87cc-45d6-a1cb-8496d206709a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6a09ebbbd05b49adb364fec876305f1f'}}
2025-08-12 13:11:31,902 - DEBUG - Created port 347627f7-6169-462e-9b50-4de43fc497bd
2025-08-12 13:11:32,016 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/347627f7-6169-462e-9b50-4de43fc497bd
2025-08-12 13:11:32,327 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/347627f7-6169-462e-9b50-4de43fc497bd
2025-08-12 13:11:32,366 - INFO - VMI 347627f7-6169-462e-9b50-4de43fc497bd verification in API Server passed
2025-08-12 13:11:32,632 - DEBUG - Response for delete_port : ()
2025-08-12 13:11:32,632 - INFO - Deleted port 347627f7-6169-462e-9b50-4de43fc497bd
2025-08-12 13:11:32,632 - INFO - Deleting VN ctest-vn-61248118
2025-08-12 13:11:32,731 - DEBUG - Response for deleting network ()
2025-08-12 13:11:32,982 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 13:11:32,982 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-12 13:11:32,982 - INFO - --------------------------------------------------------------------------------
2025-08-12 13:11:32,985 - INFO - ================================================================================
2025-08-12 13:11:32,985 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-12 13:11:32,985 - 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-08-12 13:11:33,269 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-08-12 13:11:33,269 - INFO - Initial checks done. Running the testcase now
2025-08-12 13:11:33,269 - INFO -
2025-08-12 13:11:33,418 - DEBUG - Response for create_network : {'network': {'id': '21ebbf3a-2656-41b9-a77e-790324ca1fbf', 'name': 'ctest-vn1-95206336', 'tenant_id': '6a09ebbbd05b49adb364fec876305f1f', 'project_id': '6a09ebbbd05b49adb364fec876305f1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70866249', 'ctest-vn1-95206336'], 'port_security_enabled': True, 'description': ''}}
2025-08-12 13:11:33,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '08ad3d02-d007-4af4-af90-fb4420528664', 'name': '', 'tenant_id': '6a09ebbbd05b49adb364fec876305f1f', 'network_id': '21ebbf3a-2656-41b9-a77e-790324ca1fbf', 'ip_version': 4, 'cidr': '125.76.206.192/26', 'allocation_pools': [{'start': '125.76.206.194', 'end': '125.76.206.254'}], 'gateway_ip': '125.76.206.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.76.206.194', 'tags': [], 'project_id': '6a09ebbbd05b49adb364fec876305f1f'}}
2025-08-12 13:11:33,754 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b77be0b2-a39b-4e89-9e9d-de2cecb0beec', 'name': '', 'tenant_id': '6a09ebbbd05b49adb364fec876305f1f', 'network_id': '21ebbf3a-2656-41b9-a77e-790324ca1fbf', 'ip_version': 4, 'cidr': '164.130.20.192/26', 'allocation_pools': [{'start': '164.130.20.194', 'end': '164.130.20.254'}], 'gateway_ip': '164.130.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.130.20.194', 'tags': [], 'project_id': '6a09ebbbd05b49adb364fec876305f1f'}}
2025-08-12 13:11:33,772 - INFO - Created VN ctest-vn1-95206336
2025-08-12 13:11:33,824 - DEBUG - VN ctest-vn1-95206336 UUID is 21ebbf3a-2656-41b9-a77e-790324ca1fbf
2025-08-12 13:11:34,087 - DEBUG - Response for create_port : {'port': {'name': 'b4634e0a-84fc-467f-aafd-6923a98d836f', 'id': 'b4634e0a-84fc-467f-aafd-6923a98d836f', 'tenant_id': '6a09ebbbd05b49adb364fec876305f1f', 'network_id': '21ebbf3a-2656-41b9-a77e-790324ca1fbf', 'mac_address': '02:b4:63:4e:0a:84', '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': '125.76.206.197', 'subnet_id': '08ad3d02-d007-4af4-af90-fb4420528664'}], 'security_groups': ['07d89433-87cc-45d6-a1cb-8496d206709a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6a09ebbbd05b49adb364fec876305f1f'}}
2025-08-12 13:11:34,246 - DEBUG - Response for create_port : {'port': {'name': 'c4f59907-2103-40a3-878f-664a6fd9c05e', 'id': 'c4f59907-2103-40a3-878f-664a6fd9c05e', 'tenant_id': '6a09ebbbd05b49adb364fec876305f1f', 'network_id': '21ebbf3a-2656-41b9-a77e-790324ca1fbf', 'mac_address': '02:c4:f5:99:07:21', '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': '164.130.20.197', 'subnet_id': 'b77be0b2-a39b-4e89-9e9d-de2cecb0beec'}], 'security_groups': ['07d89433-87cc-45d6-a1cb-8496d206709a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6a09ebbbd05b49adb364fec876305f1f'}}
2025-08-12 13:11:34,302 - DEBUG - Services list from nova: [, , ]
2025-08-12 13:11:34,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3830-1)
2025-08-12 13:11:34,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3830-1)
2025-08-12 13:11:34,983 - INFO - Waiting for VM ctest-vn1-vm1-68047514 to be up..
2025-08-12 13:11:35,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-12 13:11:40,084 - DEBUG - VM is in ACTIVE state now
2025-08-12 13:11:40,084 - INFO - VM name : ctest-vn1-vm1-68047514
2025-08-12 13:11:40,147 - DEBUG - VM ctest-vn1-vm1-68047514 ID is ac73730d-d292-41e9-aea2-a43088613e97
2025-08-12 13:11:40,163 - DEBUG - VM ctest-vn1-vm1-68047514 launched on Node cn-jenkins-deploy-platform-ansible-os-3830-1
2025-08-12 13:11:40,224 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ac73730d-d292-41e9-aea2-a43088613e97
2025-08-12 13:11:40,232 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b4634e0a-84fc-467f-aafd-6923a98d836f
2025-08-12 13:11:43,493 - 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 1028ms')
2025-08-12 13:11:43,493 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68047514 failed!
2025-08-12 13:11:43,552 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70866249:ctest-vn1-95206336 is 125.76.206.193 and allocation pool is NOT set
2025-08-12 13:11:43,553 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70866249:ctest-vn1-95206336 is 164.130.20.193 and allocation pool is NOT set
2025-08-12 13:11:45,618 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.98 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.982/3.554/5.126/1.572 ms')
2025-08-12 13:11:45,618 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68047514 passed
2025-08-12 13:11:45,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 13:11:45,768 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68047514, IP 125.76.206.197, Port 22
2025-08-12 13:11:45,923 - DEBUG - VM ctest-vn1-vm1-68047514 is ready for SSH connections
2025-08-12 13:11:45,923 - INFO - Waiting for VM ctest-vn1-vm2-43666738 to be up..
2025-08-12 13:11:46,005 - DEBUG - VM is in ACTIVE state now
2025-08-12 13:11:46,005 - INFO - VM name : ctest-vn1-vm2-43666738
2025-08-12 13:11:46,086 - DEBUG - VM ctest-vn1-vm2-43666738 ID is 3b57f34e-0a41-4a9e-aeb7-da79b2112480
2025-08-12 13:11:46,087 - DEBUG - VM ctest-vn1-vm2-43666738 launched on Node cn-jenkins-deploy-platform-ansible-os-3830-1
2025-08-12 13:11:46,158 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3b57f34e-0a41-4a9e-aeb7-da79b2112480
2025-08-12 13:11:46,166 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c4f59907-2103-40a3-878f-664a6fd9c05e
2025-08-12 13:11:47,400 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 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.356/1.531/2.707/1.175 ms')
2025-08-12 13:11:47,400 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-43666738 passed
2025-08-12 13:11:47,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 13:11:47,548 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-43666738, IP 164.130.20.197, Port 22
2025-08-12 13:11:47,703 - DEBUG - VM ctest-vn1-vm2-43666738 is ready for SSH connections
2025-08-12 13:11:47,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 13:11:47,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 13:11:47,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-12 13:11:47,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.76.206.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-12 13:11:47,704 - DEBUG - ping -s 56 -c 3 -W 1 125.76.206.197
2025-08-12 13:11:50,596 - DEBUG - PING 125.76.206.197 (125.76.206.197): 56 data bytes
64 bytes from 125.76.206.197: seq=0 ttl=63 time=4.548 ms
64 bytes from 125.76.206.197: seq=1 ttl=63 time=0.766 ms
64 bytes from 125.76.206.197: seq=2 ttl=63 time=0.711 ms
--- 125.76.206.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.711/2.008/4.548 ms
2025-08-12 13:11:50,596 - INFO - Ping to IP 125.76.206.197 from VM ctest-vn1-vm2-43666738 passed
2025-08-12 13:11:50,596 - INFO - Detaching port c4f59907-2103-40a3-878f-664a6fd9c05e from VM ctest-vn1-vm2-43666738
2025-08-12 13:11:50,639 - INFO - Deleting VM ctest-vn1-vm2-43666738
2025-08-12 13:11:50,693 - INFO - Detaching port b4634e0a-84fc-467f-aafd-6923a98d836f from VM ctest-vn1-vm1-68047514
2025-08-12 13:11:50,723 - INFO - Deleting VM ctest-vn1-vm1-68047514
2025-08-12 13:11:50,909 - DEBUG - Response for delete_port : ()
2025-08-12 13:11:51,068 - DEBUG - Response for delete_port : ()
2025-08-12 13:11:51,068 - INFO - Deleting VN ctest-vn1-95206336
2025-08-12 13:11:51,195 - DEBUG - Response for deleting network ()
2025-08-12 13:11:51,453 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 13:11:51,453 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-12 13:11:51,453 - INFO - --------------------------------------------------------------------------------
2025-08-12 13:11:52,149 - INFO - Deleted project: ctest-TestPorts-70866249, ID : 6a09ebbb-d05b-49ad-b364-fec876305f1f