2025-11-13 02:05:59,610 - INFO - Domain Default found not creating
2025-11-13 02:05:59,762 - INFO - Project ctest-TestPorts-53871193 not found, creating it
2025-11-13 02:06:00,199 - INFO - Created Project:ctest-TestPorts-53871193, ID : 20aedef8-d65d-41b5-a3b4-fb430082da53
2025-11-13 02:06:01,619 - INFO - ================================================================================
2025-11-13 02:06:01,619 - INFO - STARTING TEST : test_ports_bindings
2025-11-13 02:06:01,619 - 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-11-13 02:06:01,881 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with
2025-11-13 02:06:01,881 - INFO - Initial checks done. Running the testcase now
2025-11-13 02:06:01,881 - INFO -
2025-11-13 02:06:02,414 - DEBUG - Response for create_network : {'network': {'id': '660c3f78-d9d6-40f0-898b-c778404f3659', 'name': 'ctest-vn-56474742', 'tenant_id': '20aedef8d65d41b5a3b4fb430082da53', 'project_id': '20aedef8d65d41b5a3b4fb430082da53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53871193', 'ctest-vn-56474742'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 02:06:02,584 - DEBUG - Response for create_subnet : {'subnet': {'id': '40afa590-b9aa-492e-b8f0-6530b8a8274c', 'name': '', 'tenant_id': '20aedef8d65d41b5a3b4fb430082da53', 'network_id': '660c3f78-d9d6-40f0-898b-c778404f3659', 'ip_version': 4, 'cidr': '13.184.196.64/26', 'allocation_pools': [{'start': '13.184.196.66', 'end': '13.184.196.126'}], 'gateway_ip': '13.184.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.184.196.66', 'tags': [], 'project_id': '20aedef8d65d41b5a3b4fb430082da53'}}
2025-11-13 02:06:02,603 - INFO - Created VN ctest-vn-56474742
2025-11-13 02:06:02,656 - DEBUG - VN ctest-vn-56474742 UUID is 660c3f78-d9d6-40f0-898b-c778404f3659
2025-11-13 02:06:02,758 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-53871193', 'ctest-vmi-61142876']}
2025-11-13 02:06:03,034 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61142876', 'id': 'c0a5219d-6d4c-46d9-9bf7-4e4caa5c9e29', 'tenant_id': '20aedef8d65d41b5a3b4fb430082da53', 'network_id': '660c3f78-d9d6-40f0-898b-c778404f3659', 'mac_address': '02:c0:a5:21:9d:6d', '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': '13.184.196.67', 'subnet_id': '40afa590-b9aa-492e-b8f0-6530b8a8274c'}], 'security_groups': ['fdb10b15-648a-4830-a33b-07ddd88eb83f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '20aedef8d65d41b5a3b4fb430082da53'}}
2025-11-13 02:06:03,034 - DEBUG - Created port c0a5219d-6d4c-46d9-9bf7-4e4caa5c9e29
2025-11-13 02:06:03,144 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c0a5219d-6d4c-46d9-9bf7-4e4caa5c9e29
2025-11-13 02:06:03,441 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c0a5219d-6d4c-46d9-9bf7-4e4caa5c9e29
2025-11-13 02:06:03,473 - INFO - VMI c0a5219d-6d4c-46d9-9bf7-4e4caa5c9e29 verification in API Server passed
2025-11-13 02:06:03,555 - DEBUG - Response for delete_port : ()
2025-11-13 02:06:03,555 - INFO - Deleted port c0a5219d-6d4c-46d9-9bf7-4e4caa5c9e29
2025-11-13 02:06:03,555 - INFO - Deleting VN ctest-vn-56474742
2025-11-13 02:06:03,654 - DEBUG - Response for deleting network ()
2025-11-13 02:06:03,913 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 02:06:03,913 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-13 02:06:03,913 - INFO - --------------------------------------------------------------------------------
2025-11-13 02:06:03,915 - INFO - ================================================================================
2025-11-13 02:06:03,915 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-13 02:06:03,916 - 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-11-13 02:06:04,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with
2025-11-13 02:06:04,206 - INFO - Initial checks done. Running the testcase now
2025-11-13 02:06:04,206 - INFO -
2025-11-13 02:06:04,369 - DEBUG - Response for create_network : {'network': {'id': 'c44c9b72-eea7-4125-9f8a-1afa8aa39747', 'name': 'ctest-vn1-78656311', 'tenant_id': '20aedef8d65d41b5a3b4fb430082da53', 'project_id': '20aedef8d65d41b5a3b4fb430082da53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53871193', 'ctest-vn1-78656311'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 02:06:04,572 - DEBUG - Response for create_subnet : {'subnet': {'id': '3549b29f-bd53-416e-9b86-55738f7966c6', 'name': '', 'tenant_id': '20aedef8d65d41b5a3b4fb430082da53', 'network_id': 'c44c9b72-eea7-4125-9f8a-1afa8aa39747', 'ip_version': 4, 'cidr': '36.111.196.64/26', 'allocation_pools': [{'start': '36.111.196.66', 'end': '36.111.196.126'}], 'gateway_ip': '36.111.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.111.196.66', 'tags': [], 'project_id': '20aedef8d65d41b5a3b4fb430082da53'}}
2025-11-13 02:06:04,748 - DEBUG - Response for create_subnet : {'subnet': {'id': '672e226a-3bb7-4741-bfb7-ab9826ec9d75', 'name': '', 'tenant_id': '20aedef8d65d41b5a3b4fb430082da53', 'network_id': 'c44c9b72-eea7-4125-9f8a-1afa8aa39747', 'ip_version': 4, 'cidr': '87.19.165.128/26', 'allocation_pools': [{'start': '87.19.165.130', 'end': '87.19.165.190'}], 'gateway_ip': '87.19.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.19.165.130', 'tags': [], 'project_id': '20aedef8d65d41b5a3b4fb430082da53'}}
2025-11-13 02:06:04,766 - INFO - Created VN ctest-vn1-78656311
2025-11-13 02:06:04,820 - DEBUG - VN ctest-vn1-78656311 UUID is c44c9b72-eea7-4125-9f8a-1afa8aa39747
2025-11-13 02:06:05,096 - DEBUG - Response for create_port : {'port': {'name': '9b66f8b0-da4e-4d46-bfc0-9b97ddd1853e', 'id': '9b66f8b0-da4e-4d46-bfc0-9b97ddd1853e', 'tenant_id': '20aedef8d65d41b5a3b4fb430082da53', 'network_id': 'c44c9b72-eea7-4125-9f8a-1afa8aa39747', 'mac_address': '02:9b:66:f8:b0:da', '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': '36.111.196.69', 'subnet_id': '3549b29f-bd53-416e-9b86-55738f7966c6'}], 'security_groups': ['fdb10b15-648a-4830-a33b-07ddd88eb83f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '20aedef8d65d41b5a3b4fb430082da53'}}
2025-11-13 02:06:05,256 - DEBUG - Response for create_port : {'port': {'name': 'b9f44675-b370-4363-a869-a5508d00d851', 'id': 'b9f44675-b370-4363-a869-a5508d00d851', 'tenant_id': '20aedef8d65d41b5a3b4fb430082da53', 'network_id': 'c44c9b72-eea7-4125-9f8a-1afa8aa39747', 'mac_address': '02:b9:f4:46:75:b3', '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': '87.19.165.133', 'subnet_id': '672e226a-3bb7-4741-bfb7-ab9826ec9d75'}], 'security_groups': ['fdb10b15-648a-4830-a33b-07ddd88eb83f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '20aedef8d65d41b5a3b4fb430082da53'}}
2025-11-13 02:06:05,314 - DEBUG - Services list from nova: [, , ]
2025-11-13 02:06:05,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4715-1)
2025-11-13 02:06:06,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4715-1)
2025-11-13 02:06:06,010 - INFO - Waiting for VM ctest-vn1-vm1-53182630 to be up..
2025-11-13 02:06:06,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-13 02:06:11,117 - DEBUG - VM is in ACTIVE state now
2025-11-13 02:06:11,117 - INFO - VM name : ctest-vn1-vm1-53182630
2025-11-13 02:06:11,188 - DEBUG - VM ctest-vn1-vm1-53182630 ID is 83f65a3d-8646-4319-995c-f5fa88968b22
2025-11-13 02:06:11,209 - DEBUG - VM ctest-vn1-vm1-53182630 launched on Node cn-jenkins-deploy-platform-ansible-os-4715-1
2025-11-13 02:06:11,284 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/83f65a3d-8646-4319-995c-f5fa88968b22
2025-11-13 02:06:11,292 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/9b66f8b0-da4e-4d46-bfc0-9b97ddd1853e
2025-11-13 02:06:14,557 - 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 1030ms')
2025-11-13 02:06:14,557 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53182630 failed!
2025-11-13 02:06:14,612 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53871193:ctest-vn1-78656311 is 36.111.196.65 and allocation pool is NOT set
2025-11-13 02:06:14,612 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53871193:ctest-vn1-78656311 is 87.19.165.129 and allocation pool is NOT set
2025-11-13 02:06:16,681 - 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=11.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.71 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 = 2.712/7.266/11.821/4.554 ms')
2025-11-13 02:06:16,681 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53182630 passed
2025-11-13 02:06:16,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:16,828 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53182630, IP 36.111.196.69, Port 22
2025-11-13 02:06:16,884 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-13 02:06:16,976 - DEBUG - VM ctest-vn1-vm1-53182630 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-13 02:06:21,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:21,977 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53182630, IP 36.111.196.69, Port 22
2025-11-13 02:06:22,135 - DEBUG - VM ctest-vn1-vm1-53182630 is ready for SSH connections
2025-11-13 02:06:22,135 - INFO - Waiting for VM ctest-vn1-vm2-27184572 to be up..
2025-11-13 02:06:22,205 - DEBUG - VM is in ACTIVE state now
2025-11-13 02:06:22,205 - INFO - VM name : ctest-vn1-vm2-27184572
2025-11-13 02:06:22,276 - DEBUG - VM ctest-vn1-vm2-27184572 ID is 5238b6a0-747f-4a0b-a8d8-31e589bfe6c7
2025-11-13 02:06:22,277 - DEBUG - VM ctest-vn1-vm2-27184572 launched on Node cn-jenkins-deploy-platform-ansible-os-4715-1
2025-11-13 02:06:22,346 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5238b6a0-747f-4a0b-a8d8-31e589bfe6c7
2025-11-13 02:06:22,354 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/b9f44675-b370-4363-a869-a5508d00d851
2025-11-13 02:06:23,592 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.927/3.424/1.497 ms')
2025-11-13 02:06:23,593 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-27184572 passed
2025-11-13 02:06:23,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:23,744 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-27184572, IP 87.19.165.133, Port 22
2025-11-13 02:06:23,910 - DEBUG - VM ctest-vn1-vm2-27184572 is ready for SSH connections
2025-11-13 02:06:23,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:23,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:23,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:23,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.111.196.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-11-13 02:06:23,910 - DEBUG - ping -s 56 -c 3 -W 1 36.111.196.69
2025-11-13 02:06:26,665 - DEBUG - PING 36.111.196.69 (36.111.196.69): 56 data bytes
64 bytes from 36.111.196.69: seq=0 ttl=63 time=4.142 ms
64 bytes from 36.111.196.69: seq=1 ttl=63 time=0.846 ms
64 bytes from 36.111.196.69: seq=2 ttl=63 time=1.558 ms
--- 36.111.196.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.846/2.182/4.142 ms
2025-11-13 02:06:26,665 - INFO - Ping to IP 36.111.196.69 from VM ctest-vn1-vm2-27184572 passed
2025-11-13 02:06:26,665 - INFO - Detaching port b9f44675-b370-4363-a869-a5508d00d851 from VM ctest-vn1-vm2-27184572
2025-11-13 02:06:26,712 - INFO - Deleting VM ctest-vn1-vm2-27184572
2025-11-13 02:06:26,801 - INFO - Detaching port 9b66f8b0-da4e-4d46-bfc0-9b97ddd1853e from VM ctest-vn1-vm1-53182630
2025-11-13 02:06:26,841 - INFO - Deleting VM ctest-vn1-vm1-53182630
2025-11-13 02:06:27,066 - DEBUG - Response for delete_port : ()
2025-11-13 02:06:27,202 - DEBUG - Response for delete_port : ()
2025-11-13 02:06:27,202 - INFO - Deleting VN ctest-vn1-78656311
2025-11-13 02:06:27,321 - DEBUG - Response for deleting network ()
2025-11-13 02:06:27,580 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 02:06:27,580 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-13 02:06:27,580 - INFO - --------------------------------------------------------------------------------
2025-11-13 02:06:28,267 - INFO - Deleted project: ctest-TestPorts-53871193, ID : 20aedef8-d65d-41b5-a3b4-fb430082da53