2026-01-02 19:09:37,777 - INFO - Domain Default found not creating 2026-01-02 19:09:37,943 - INFO - Project ctest-TestPorts-73830275 not found, creating it 2026-01-02 19:09:38,435 - INFO - Created Project:ctest-TestPorts-73830275, ID : 381ebf01-5f8f-46f7-a5cf-52c37b7fdb65 2026-01-02 19:09:39,897 - INFO - ================================================================================ 2026-01-02 19:09:39,897 - INFO - STARTING TEST : test_ports_bindings 2026-01-02 19:09:39,897 - 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 2026-01-02 19:09:40,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-01-02 19:09:40,153 - INFO - Initial checks done. Running the testcase now 2026-01-02 19:09:40,153 - INFO - 2026-01-02 19:09:40,684 - DEBUG - Response for create_network : {'network': {'id': 'cdfa298b-ac68-4205-89df-a9cb1d4cb5b0', 'name': 'ctest-vn-57840311', 'tenant_id': '381ebf015f8f46f7a5cf52c37b7fdb65', 'project_id': '381ebf015f8f46f7a5cf52c37b7fdb65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73830275', 'ctest-vn-57840311'], 'port_security_enabled': True, 'description': ''}} 2026-01-02 19:09:40,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '25c3db51-f7da-4220-a271-e597dd73960a', 'name': '', 'tenant_id': '381ebf015f8f46f7a5cf52c37b7fdb65', 'network_id': 'cdfa298b-ac68-4205-89df-a9cb1d4cb5b0', 'ip_version': 4, 'cidr': '15.167.112.0/26', 'allocation_pools': [{'start': '15.167.112.2', 'end': '15.167.112.62'}], 'gateway_ip': '15.167.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.167.112.2', 'tags': [], 'project_id': '381ebf015f8f46f7a5cf52c37b7fdb65'}} 2026-01-02 19:09:40,857 - INFO - Created VN ctest-vn-57840311 2026-01-02 19:09:40,907 - DEBUG - VN ctest-vn-57840311 UUID is cdfa298b-ac68-4205-89df-a9cb1d4cb5b0 2026-01-02 19:09:41,012 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-73830275', 'ctest-vmi-05768954']} 2026-01-02 19:09:41,277 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05768954', 'id': '22984fa3-1144-46be-a75f-08ae11daa56f', 'tenant_id': '381ebf015f8f46f7a5cf52c37b7fdb65', 'network_id': 'cdfa298b-ac68-4205-89df-a9cb1d4cb5b0', 'mac_address': '02:22:98:4f:a3:11', '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': '15.167.112.3', 'subnet_id': '25c3db51-f7da-4220-a271-e597dd73960a'}], 'security_groups': ['6160f1be-3fa7-4e45-8a58-57963605aafe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '381ebf015f8f46f7a5cf52c37b7fdb65'}} 2026-01-02 19:09:41,277 - DEBUG - Created port 22984fa3-1144-46be-a75f-08ae11daa56f 2026-01-02 19:09:41,379 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/22984fa3-1144-46be-a75f-08ae11daa56f 2026-01-02 19:09:41,671 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/22984fa3-1144-46be-a75f-08ae11daa56f 2026-01-02 19:09:41,707 - INFO - VMI 22984fa3-1144-46be-a75f-08ae11daa56f verification in API Server passed 2026-01-02 19:09:41,798 - DEBUG - Response for delete_port : () 2026-01-02 19:09:41,798 - INFO - Deleted port 22984fa3-1144-46be-a75f-08ae11daa56f 2026-01-02 19:09:41,798 - INFO - Deleting VN ctest-vn-57840311 2026-01-02 19:09:41,910 - DEBUG - Response for deleting network () 2026-01-02 19:09:42,167 - DEBUG - No XMPP flaps were noticed during the test 2026-01-02 19:09:42,168 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2026-01-02 19:09:42,168 - INFO - -------------------------------------------------------------------------------- 2026-01-02 19:09:42,170 - INFO - ================================================================================ 2026-01-02 19:09:42,170 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-02 19:09:42,170 - 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 2026-01-02 19:09:42,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-01-02 19:09:42,464 - INFO - Initial checks done. Running the testcase now 2026-01-02 19:09:42,464 - INFO - 2026-01-02 19:09:42,634 - DEBUG - Response for create_network : {'network': {'id': 'b93d4732-b69f-4b08-98a0-eda30231c00a', 'name': 'ctest-vn1-58940662', 'tenant_id': '381ebf015f8f46f7a5cf52c37b7fdb65', 'project_id': '381ebf015f8f46f7a5cf52c37b7fdb65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73830275', 'ctest-vn1-58940662'], 'port_security_enabled': True, 'description': ''}} 2026-01-02 19:09:42,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '8819a4de-20ca-4664-9218-d9ebe6afe608', 'name': '', 'tenant_id': '381ebf015f8f46f7a5cf52c37b7fdb65', 'network_id': 'b93d4732-b69f-4b08-98a0-eda30231c00a', 'ip_version': 4, 'cidr': '67.84.104.128/26', 'allocation_pools': [{'start': '67.84.104.130', 'end': '67.84.104.190'}], 'gateway_ip': '67.84.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.84.104.130', 'tags': [], 'project_id': '381ebf015f8f46f7a5cf52c37b7fdb65'}} 2026-01-02 19:09:43,048 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7c3ea27-598a-4833-bca0-c1bc2d86125a', 'name': '', 'tenant_id': '381ebf015f8f46f7a5cf52c37b7fdb65', 'network_id': 'b93d4732-b69f-4b08-98a0-eda30231c00a', 'ip_version': 4, 'cidr': '3.89.172.128/26', 'allocation_pools': [{'start': '3.89.172.130', 'end': '3.89.172.190'}], 'gateway_ip': '3.89.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.89.172.130', 'tags': [], 'project_id': '381ebf015f8f46f7a5cf52c37b7fdb65'}} 2026-01-02 19:09:43,066 - INFO - Created VN ctest-vn1-58940662 2026-01-02 19:09:43,116 - DEBUG - VN ctest-vn1-58940662 UUID is b93d4732-b69f-4b08-98a0-eda30231c00a 2026-01-02 19:09:43,434 - DEBUG - Response for create_port : {'port': {'name': '74c197c8-14fc-429a-a688-964dda36ba78', 'id': '74c197c8-14fc-429a-a688-964dda36ba78', 'tenant_id': '381ebf015f8f46f7a5cf52c37b7fdb65', 'network_id': 'b93d4732-b69f-4b08-98a0-eda30231c00a', 'mac_address': '02:74:c1:97:c8:14', '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': '67.84.104.133', 'subnet_id': '8819a4de-20ca-4664-9218-d9ebe6afe608'}], 'security_groups': ['6160f1be-3fa7-4e45-8a58-57963605aafe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '381ebf015f8f46f7a5cf52c37b7fdb65'}} 2026-01-02 19:09:43,603 - DEBUG - Response for create_port : {'port': {'name': 'd722468a-c02f-4750-8701-f69eb895e2fe', 'id': 'd722468a-c02f-4750-8701-f69eb895e2fe', 'tenant_id': '381ebf015f8f46f7a5cf52c37b7fdb65', 'network_id': 'b93d4732-b69f-4b08-98a0-eda30231c00a', 'mac_address': '02:d7:22:46:8a:c0', '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': '3.89.172.133', 'subnet_id': 'e7c3ea27-598a-4833-bca0-c1bc2d86125a'}], 'security_groups': ['6160f1be-3fa7-4e45-8a58-57963605aafe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '381ebf015f8f46f7a5cf52c37b7fdb65'}} 2026-01-02 19:09:43,661 - DEBUG - Services list from nova: [, , ] 2026-01-02 19:09:44,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4953-1) 2026-01-02 19:09:44,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4953-1) 2026-01-02 19:09:44,400 - INFO - Waiting for VM ctest-vn1-vm1-03178066 to be up.. 2026-01-02 19:09:44,567 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-02 19:09:49,635 - DEBUG - VM is in ACTIVE state now 2026-01-02 19:09:49,635 - INFO - VM name : ctest-vn1-vm1-03178066 2026-01-02 19:09:49,706 - DEBUG - VM ctest-vn1-vm1-03178066 ID is 150a85e0-8528-493f-9617-09a4165021ac 2026-01-02 19:09:49,723 - DEBUG - VM ctest-vn1-vm1-03178066 launched on Node cn-jenkins-deploy-platform-ansible-os-4953-1 2026-01-02 19:09:49,793 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/150a85e0-8528-493f-9617-09a4165021ac 2026-01-02 19:09:49,801 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/74c197c8-14fc-429a-a688-964dda36ba78 2026-01-02 19:09:53,064 - 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 1027ms') 2026-01-02 19:09:53,064 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-03178066 failed! 2026-01-02 19:09:53,119 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73830275:ctest-vn1-58940662 is 67.84.104.129 and allocation pool is NOT set 2026-01-02 19:09:53,121 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73830275:ctest-vn1-58940662 is 3.89.172.129 and allocation pool is NOT set 2026-01-02 19:09:55,190 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.66 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 = 3.220/3.441/3.663/0.221 ms') 2026-01-02 19:09:55,191 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-03178066 passed 2026-01-02 19:09:55,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:09:55,339 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03178066, IP 67.84.104.133, Port 22 2026-01-02 19:09:55,510 - DEBUG - VM ctest-vn1-vm1-03178066 is ready for SSH connections 2026-01-02 19:09:55,510 - INFO - Waiting for VM ctest-vn1-vm2-42130146 to be up.. 2026-01-02 19:09:55,590 - DEBUG - VM is in ACTIVE state now 2026-01-02 19:09:55,590 - INFO - VM name : ctest-vn1-vm2-42130146 2026-01-02 19:09:55,665 - DEBUG - VM ctest-vn1-vm2-42130146 ID is 4e572066-efd8-4a13-b4b2-46600320650d 2026-01-02 19:09:55,665 - DEBUG - VM ctest-vn1-vm2-42130146 launched on Node cn-jenkins-deploy-platform-ansible-os-4953-1 2026-01-02 19:09:55,734 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4e572066-efd8-4a13-b4b2-46600320650d 2026-01-02 19:09:55,741 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d722468a-c02f-4750-8701-f69eb895e2fe 2026-01-02 19:09:56,969 - 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=3.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.723 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.723/2.164/3.605/1.441 ms') 2026-01-02 19:09:56,969 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-42130146 passed 2026-01-02 19:09:57,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:09:57,115 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42130146, IP 3.89.172.133, Port 22 2026-01-02 19:09:57,171 - 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': ''} 2026-01-02 19:09:57,242 - DEBUG - VM ctest-vn1-vm2-42130146 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-02 19:10:02,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:10:02,242 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42130146, IP 3.89.172.133, Port 22 2026-01-02 19:10:02,410 - DEBUG - VM ctest-vn1-vm2-42130146 is ready for SSH connections 2026-01-02 19:10:02,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:10:02,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:10:02,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-02 19:10:02,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.84.104.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-02 19:10:02,411 - DEBUG - ping -s 56 -c 3 -W 1 67.84.104.133 2026-01-02 19:10:06,085 - DEBUG - PING 67.84.104.133 (67.84.104.133): 56 data bytes 64 bytes from 67.84.104.133: seq=0 ttl=63 time=3.259 ms 64 bytes from 67.84.104.133: seq=1 ttl=63 time=1.139 ms 64 bytes from 67.84.104.133: seq=2 ttl=63 time=0.876 ms --- 67.84.104.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.758/3.259 ms 2026-01-02 19:10:06,085 - INFO - Ping to IP 67.84.104.133 from VM ctest-vn1-vm2-42130146 passed 2026-01-02 19:10:06,086 - INFO - Detaching port d722468a-c02f-4750-8701-f69eb895e2fe from VM ctest-vn1-vm2-42130146 2026-01-02 19:10:06,134 - INFO - Deleting VM ctest-vn1-vm2-42130146 2026-01-02 19:10:06,202 - INFO - Detaching port 74c197c8-14fc-429a-a688-964dda36ba78 from VM ctest-vn1-vm1-03178066 2026-01-02 19:10:06,238 - INFO - Deleting VM ctest-vn1-vm1-03178066 2026-01-02 19:10:06,450 - DEBUG - Response for delete_port : () 2026-01-02 19:10:06,613 - DEBUG - Response for delete_port : () 2026-01-02 19:10:06,613 - INFO - Deleting VN ctest-vn1-58940662 2026-01-02 19:10:06,726 - DEBUG - Response for deleting network () 2026-01-02 19:10:06,979 - DEBUG - No XMPP flaps were noticed during the test 2026-01-02 19:10:06,979 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2026-01-02 19:10:06,979 - INFO - -------------------------------------------------------------------------------- 2026-01-02 19:10:07,653 - INFO - Deleted project: ctest-TestPorts-73830275, ID : 381ebf01-5f8f-46f7-a5cf-52c37b7fdb65