2025-10-30 18:43:29,742 - INFO - Domain Default found not creating 2025-10-30 18:43:30,107 - INFO - Project ctest-TestPorts-39524017 not found, creating it 2025-10-30 18:43:30,732 - INFO - Created Project:ctest-TestPorts-39524017, ID : 2ccef9ca-854e-4f3d-a24f-3d53fa66765d 2025-10-30 18:43:32,849 - INFO - ================================================================================ 2025-10-30 18:43:32,850 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 18:43:32,850 - 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-30 18:43:33,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.241': '0'}} with 2025-10-30 18:43:33,169 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:43:33,169 - INFO - 2025-10-30 18:43:34,050 - DEBUG - Response for create_network : {'network': {'id': '61b8d5b3-3a30-44fe-b489-b64c63be7898', 'name': 'ctest-vn-45840031', 'tenant_id': '2ccef9ca854e4f3da24f3d53fa66765d', 'project_id': '2ccef9ca854e4f3da24f3d53fa66765d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39524017', 'ctest-vn-45840031'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:43:34,309 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d87db45-94a7-4464-895a-ad56b1ef1699', 'name': '', 'tenant_id': '2ccef9ca854e4f3da24f3d53fa66765d', 'network_id': '61b8d5b3-3a30-44fe-b489-b64c63be7898', 'ip_version': 4, 'cidr': '49.236.242.0/26', 'allocation_pools': [{'start': '49.236.242.2', 'end': '49.236.242.62'}], 'gateway_ip': '49.236.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.236.242.2', 'tags': [], 'project_id': '2ccef9ca854e4f3da24f3d53fa66765d'}} 2025-10-30 18:43:34,337 - INFO - Created VN ctest-vn-45840031 2025-10-30 18:43:34,399 - DEBUG - VN ctest-vn-45840031 UUID is 61b8d5b3-3a30-44fe-b489-b64c63be7898 2025-10-30 18:43:34,570 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39524017', 'ctest-vmi-65747079']} 2025-10-30 18:43:34,937 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65747079', 'id': 'b2f0d35e-dc8a-4b8e-af21-5b144d1d5cbc', 'tenant_id': '2ccef9ca854e4f3da24f3d53fa66765d', 'network_id': '61b8d5b3-3a30-44fe-b489-b64c63be7898', 'mac_address': '02:b2:f0:d3:5e:dc', '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': '49.236.242.3', 'subnet_id': '3d87db45-94a7-4464-895a-ad56b1ef1699'}], 'security_groups': ['966776ac-95a0-4234-a298-7b0286192e7b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ccef9ca854e4f3da24f3d53fa66765d'}} 2025-10-30 18:43:34,937 - DEBUG - Created port b2f0d35e-dc8a-4b8e-af21-5b144d1d5cbc 2025-10-30 18:43:35,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b2f0d35e-dc8a-4b8e-af21-5b144d1d5cbc 2025-10-30 18:43:35,374 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b2f0d35e-dc8a-4b8e-af21-5b144d1d5cbc 2025-10-30 18:43:35,432 - INFO - VMI b2f0d35e-dc8a-4b8e-af21-5b144d1d5cbc verification in API Server passed 2025-10-30 18:43:35,596 - DEBUG - Response for delete_port : () 2025-10-30 18:43:35,596 - INFO - Deleted port b2f0d35e-dc8a-4b8e-af21-5b144d1d5cbc 2025-10-30 18:43:35,596 - INFO - Deleting VN ctest-vn-45840031 2025-10-30 18:43:35,742 - DEBUG - Response for deleting network () 2025-10-30 18:43:36,053 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 18:43:36,053 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-10-30 18:43:36,053 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:43:36,061 - INFO - ================================================================================ 2025-10-30 18:43:36,061 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 18:43:36,062 - 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-30 18:43:36,383 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.241': '0'}} with 2025-10-30 18:43:36,384 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:43:36,384 - INFO - 2025-10-30 18:43:36,716 - DEBUG - Response for create_network : {'network': {'id': 'a3f54ccf-8d69-4bf3-899c-47b66c2617f5', 'name': 'ctest-vn1-42852178', 'tenant_id': '2ccef9ca854e4f3da24f3d53fa66765d', 'project_id': '2ccef9ca854e4f3da24f3d53fa66765d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39524017', 'ctest-vn1-42852178'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:43:36,947 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7f8bd40-fdd9-4f39-bea9-9ea8676da3df', 'name': '', 'tenant_id': '2ccef9ca854e4f3da24f3d53fa66765d', 'network_id': 'a3f54ccf-8d69-4bf3-899c-47b66c2617f5', 'ip_version': 4, 'cidr': '72.129.254.0/26', 'allocation_pools': [{'start': '72.129.254.2', 'end': '72.129.254.62'}], 'gateway_ip': '72.129.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.129.254.2', 'tags': [], 'project_id': '2ccef9ca854e4f3da24f3d53fa66765d'}} 2025-10-30 18:43:37,151 - DEBUG - Response for create_subnet : {'subnet': {'id': '522b19e4-61ba-4bb8-8028-28830dce3e2e', 'name': '', 'tenant_id': '2ccef9ca854e4f3da24f3d53fa66765d', 'network_id': 'a3f54ccf-8d69-4bf3-899c-47b66c2617f5', 'ip_version': 4, 'cidr': '207.251.139.0/26', 'allocation_pools': [{'start': '207.251.139.2', 'end': '207.251.139.62'}], 'gateway_ip': '207.251.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.251.139.2', 'tags': [], 'project_id': '2ccef9ca854e4f3da24f3d53fa66765d'}} 2025-10-30 18:43:37,173 - INFO - Created VN ctest-vn1-42852178 2025-10-30 18:43:37,226 - DEBUG - VN ctest-vn1-42852178 UUID is a3f54ccf-8d69-4bf3-899c-47b66c2617f5 2025-10-30 18:43:37,651 - DEBUG - Response for create_port : {'port': {'name': 'f42e97d2-af4d-4143-ac2c-8ee026ae4371', 'id': 'f42e97d2-af4d-4143-ac2c-8ee026ae4371', 'tenant_id': '2ccef9ca854e4f3da24f3d53fa66765d', 'network_id': 'a3f54ccf-8d69-4bf3-899c-47b66c2617f5', 'mac_address': '02:f4:2e:97:d2:af', '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': '72.129.254.5', 'subnet_id': 'b7f8bd40-fdd9-4f39-bea9-9ea8676da3df'}], 'security_groups': ['966776ac-95a0-4234-a298-7b0286192e7b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ccef9ca854e4f3da24f3d53fa66765d'}} 2025-10-30 18:43:37,852 - DEBUG - Response for create_port : {'port': {'name': '0ce4fb27-6659-4295-a322-291025d667a0', 'id': '0ce4fb27-6659-4295-a322-291025d667a0', 'tenant_id': '2ccef9ca854e4f3da24f3d53fa66765d', 'network_id': 'a3f54ccf-8d69-4bf3-899c-47b66c2617f5', 'mac_address': '02:0c:e4:fb:27:66', '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': '207.251.139.5', 'subnet_id': '522b19e4-61ba-4bb8-8028-28830dce3e2e'}], 'security_groups': ['966776ac-95a0-4234-a298-7b0286192e7b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2ccef9ca854e4f3da24f3d53fa66765d'}} 2025-10-30 18:43:37,921 - DEBUG - Services list from nova: [, , ] 2025-10-30 18:43:38,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4552-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4552-1) 2025-10-30 18:43:39,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4552-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4552-1) 2025-10-30 18:43:39,168 - INFO - Waiting for VM ctest-vn1-vm1-02956988 to be up.. 2025-10-30 18:43:39,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 18:43:44,365 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:43:44,365 - INFO - VM name : ctest-vn1-vm1-02956988 2025-10-30 18:43:44,485 - DEBUG - VM ctest-vn1-vm1-02956988 ID is 473b8e5c-75a0-432d-9348-7df81a2faddb 2025-10-30 18:43:44,527 - DEBUG - VM ctest-vn1-vm1-02956988 launched on Node cn-jenkins-deploy-platform-ansible-os-4552-1 2025-10-30 18:43:44,713 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/473b8e5c-75a0-432d-9348-7df81a2faddb 2025-10-30 18:43:44,734 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f42e97d2-af4d-4143-ac2c-8ee026ae4371 2025-10-30 18:43:48,056 - 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 1003ms') 2025-10-30 18:43:48,056 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02956988 failed! 2025-10-30 18:43:48,106 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39524017:ctest-vn1-42852178 is 72.129.254.1 and allocation pool is NOT set 2025-10-30 18:43:48,107 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39524017:ctest-vn1-42852178 is 207.251.139.1 and allocation pool is NOT set 2025-10-30 18:43:52,177 - 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=2 ttl=63 time=7.76 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 7.759/7.759/7.759/0.000 ms') 2025-10-30 18:43:52,177 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02956988 passed 2025-10-30 18:43:52,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:43:52,360 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02956988, IP 72.129.254.5, Port 22 2025-10-30 18:43:52,440 - 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-10-30 18:43:52,625 - DEBUG - VM ctest-vn1-vm1-02956988 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 18:43:57,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:43:57,627 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02956988, IP 72.129.254.5, Port 22 2025-10-30 18:43:57,826 - DEBUG - VM ctest-vn1-vm1-02956988 is ready for SSH connections 2025-10-30 18:43:57,826 - INFO - Waiting for VM ctest-vn1-vm2-41376910 to be up.. 2025-10-30 18:43:57,968 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:43:57,968 - INFO - VM name : ctest-vn1-vm2-41376910 2025-10-30 18:43:58,086 - DEBUG - VM ctest-vn1-vm2-41376910 ID is 44bdcbb9-a795-434a-a8ef-b84589b65d4e 2025-10-30 18:43:58,087 - DEBUG - VM ctest-vn1-vm2-41376910 launched on Node cn-jenkins-deploy-platform-ansible-os-4552-1 2025-10-30 18:43:58,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/44bdcbb9-a795-434a-a8ef-b84589b65d4e 2025-10-30 18:43:58,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0ce4fb27-6659-4295-a322-291025d667a0 2025-10-30 18:43:59,641 - 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=9.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.687 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.687/4.927/9.168/4.240 ms') 2025-10-30 18:43:59,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41376910 passed 2025-10-30 18:43:59,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:43:59,824 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41376910, IP 207.251.139.5, Port 22 2025-10-30 18:44:00,029 - DEBUG - VM ctest-vn1-vm2-41376910 is ready for SSH connections 2025-10-30 18:44:00,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:44:00,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:44:00,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:44:00,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.129.254.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 18:44:00,030 - DEBUG - ping -s 56 -c 3 -W 1 72.129.254.5 2025-10-30 18:44:03,170 - DEBUG - PING 72.129.254.5 (72.129.254.5): 56 data bytes 64 bytes from 72.129.254.5: seq=0 ttl=63 time=5.157 ms 64 bytes from 72.129.254.5: seq=1 ttl=63 time=2.209 ms 64 bytes from 72.129.254.5: seq=2 ttl=63 time=2.555 ms --- 72.129.254.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.209/3.307/5.157 ms 2025-10-30 18:44:03,171 - INFO - Ping to IP 72.129.254.5 from VM ctest-vn1-vm2-41376910 passed 2025-10-30 18:44:03,171 - INFO - Detaching port 0ce4fb27-6659-4295-a322-291025d667a0 from VM ctest-vn1-vm2-41376910 2025-10-30 18:44:03,309 - INFO - Deleting VM ctest-vn1-vm2-41376910 2025-10-30 18:44:03,514 - INFO - Detaching port f42e97d2-af4d-4143-ac2c-8ee026ae4371 from VM ctest-vn1-vm1-02956988 2025-10-30 18:44:03,605 - INFO - Deleting VM ctest-vn1-vm1-02956988 2025-10-30 18:44:03,913 - DEBUG - Response for delete_port : () 2025-10-30 18:44:04,053 - DEBUG - Response for delete_port : () 2025-10-30 18:44:04,053 - INFO - Deleting VN ctest-vn1-42852178 2025-10-30 18:44:04,175 - DEBUG - Response for deleting network () 2025-10-30 18:44:04,467 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 18:44:04,467 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28] 2025-10-30 18:44:04,467 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:44:05,263 - INFO - Deleted project: ctest-TestPorts-39524017, ID : 2ccef9ca-854e-4f3d-a24f-3d53fa66765d