2025-12-01 13:20:01,911 - INFO - Domain Default found not creating 2025-12-01 13:20:02,098 - INFO - Project ctest-TestPorts-16057826 not found, creating it 2025-12-01 13:20:02,600 - INFO - Created Project:ctest-TestPorts-16057826, ID : 9ab40c7b-3db1-4123-8333-86bac1d49a9b 2025-12-01 13:20:04,330 - INFO - ================================================================================ 2025-12-01 13:20:04,330 - INFO - STARTING TEST : test_ports_bindings 2025-12-01 13:20:04,331 - 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-12-01 13:20:04,595 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-12-01 13:20:04,595 - INFO - Initial checks done. Running the testcase now 2025-12-01 13:20:04,596 - INFO - 2025-12-01 13:20:05,200 - DEBUG - Response for create_network : {'network': {'id': '542fce6f-30a4-46d6-9081-117c0aaa43c4', 'name': 'ctest-vn-23431486', 'tenant_id': '9ab40c7b3db14123833386bac1d49a9b', 'project_id': '9ab40c7b3db14123833386bac1d49a9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16057826', 'ctest-vn-23431486'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 13:20:05,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '5475d289-2f81-4d0a-a660-62220df280d4', 'name': '', 'tenant_id': '9ab40c7b3db14123833386bac1d49a9b', 'network_id': '542fce6f-30a4-46d6-9081-117c0aaa43c4', 'ip_version': 4, 'cidr': '131.183.123.64/26', 'allocation_pools': [{'start': '131.183.123.66', 'end': '131.183.123.126'}], 'gateway_ip': '131.183.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.183.123.66', 'tags': [], 'project_id': '9ab40c7b3db14123833386bac1d49a9b'}} 2025-12-01 13:20:05,430 - INFO - Created VN ctest-vn-23431486 2025-12-01 13:20:05,482 - DEBUG - VN ctest-vn-23431486 UUID is 542fce6f-30a4-46d6-9081-117c0aaa43c4 2025-12-01 13:20:05,594 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-16057826', 'ctest-vmi-82078656']} 2025-12-01 13:20:05,866 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-82078656', 'id': 'f2b3209d-bf87-446d-b3fc-eb3fd3b5bd76', 'tenant_id': '9ab40c7b3db14123833386bac1d49a9b', 'network_id': '542fce6f-30a4-46d6-9081-117c0aaa43c4', 'mac_address': '02:f2:b3:20:9d:bf', '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': '131.183.123.67', 'subnet_id': '5475d289-2f81-4d0a-a660-62220df280d4'}], 'security_groups': ['0e714da9-d77b-46b7-8980-93d84855dd64'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9ab40c7b3db14123833386bac1d49a9b'}} 2025-12-01 13:20:05,866 - DEBUG - Created port f2b3209d-bf87-446d-b3fc-eb3fd3b5bd76 2025-12-01 13:20:05,978 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f2b3209d-bf87-446d-b3fc-eb3fd3b5bd76 2025-12-01 13:20:06,283 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f2b3209d-bf87-446d-b3fc-eb3fd3b5bd76 2025-12-01 13:20:06,325 - INFO - VMI f2b3209d-bf87-446d-b3fc-eb3fd3b5bd76 verification in API Server passed 2025-12-01 13:20:06,441 - DEBUG - Response for delete_port : () 2025-12-01 13:20:06,441 - INFO - Deleted port f2b3209d-bf87-446d-b3fc-eb3fd3b5bd76 2025-12-01 13:20:06,441 - INFO - Deleting VN ctest-vn-23431486 2025-12-01 13:20:06,537 - DEBUG - Response for deleting network () 2025-12-01 13:20:06,796 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 13:20:06,796 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-01 13:20:06,796 - INFO - -------------------------------------------------------------------------------- 2025-12-01 13:20:06,798 - INFO - ================================================================================ 2025-12-01 13:20:06,798 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-01 13:20:06,799 - 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-12-01 13:20:07,087 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-12-01 13:20:07,087 - INFO - Initial checks done. Running the testcase now 2025-12-01 13:20:07,087 - INFO - 2025-12-01 13:20:07,262 - DEBUG - Response for create_network : {'network': {'id': '174adf07-0665-43aa-a633-77eb40dc4e01', 'name': 'ctest-vn1-29216332', 'tenant_id': '9ab40c7b3db14123833386bac1d49a9b', 'project_id': '9ab40c7b3db14123833386bac1d49a9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-16057826', 'ctest-vn1-29216332'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 13:20:07,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '381f5c6c-6d8f-4254-9eb0-c1bedb7a1c6b', 'name': '', 'tenant_id': '9ab40c7b3db14123833386bac1d49a9b', 'network_id': '174adf07-0665-43aa-a633-77eb40dc4e01', 'ip_version': 4, 'cidr': '152.178.166.0/26', 'allocation_pools': [{'start': '152.178.166.2', 'end': '152.178.166.62'}], 'gateway_ip': '152.178.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.178.166.2', 'tags': [], 'project_id': '9ab40c7b3db14123833386bac1d49a9b'}} 2025-12-01 13:20:07,686 - DEBUG - Response for create_subnet : {'subnet': {'id': '684937ca-19f5-43d1-8405-8c058b36a18e', 'name': '', 'tenant_id': '9ab40c7b3db14123833386bac1d49a9b', 'network_id': '174adf07-0665-43aa-a633-77eb40dc4e01', 'ip_version': 4, 'cidr': '33.231.62.0/26', 'allocation_pools': [{'start': '33.231.62.2', 'end': '33.231.62.62'}], 'gateway_ip': '33.231.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.231.62.2', 'tags': [], 'project_id': '9ab40c7b3db14123833386bac1d49a9b'}} 2025-12-01 13:20:07,709 - INFO - Created VN ctest-vn1-29216332 2025-12-01 13:20:07,762 - DEBUG - VN ctest-vn1-29216332 UUID is 174adf07-0665-43aa-a633-77eb40dc4e01 2025-12-01 13:20:08,075 - DEBUG - Response for create_port : {'port': {'name': '478e5f08-95aa-403c-b932-6630efbd5328', 'id': '478e5f08-95aa-403c-b932-6630efbd5328', 'tenant_id': '9ab40c7b3db14123833386bac1d49a9b', 'network_id': '174adf07-0665-43aa-a633-77eb40dc4e01', 'mac_address': '02:47:8e:5f:08:95', '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': '152.178.166.5', 'subnet_id': '381f5c6c-6d8f-4254-9eb0-c1bedb7a1c6b'}], 'security_groups': ['0e714da9-d77b-46b7-8980-93d84855dd64'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9ab40c7b3db14123833386bac1d49a9b'}} 2025-12-01 13:20:08,230 - DEBUG - Response for create_port : {'port': {'name': '5c68b3a1-e247-40bd-aa8c-058ed29bfb51', 'id': '5c68b3a1-e247-40bd-aa8c-058ed29bfb51', 'tenant_id': '9ab40c7b3db14123833386bac1d49a9b', 'network_id': '174adf07-0665-43aa-a633-77eb40dc4e01', 'mac_address': '02:5c:68:b3:a1:e2', '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': '33.231.62.5', 'subnet_id': '684937ca-19f5-43d1-8405-8c058b36a18e'}], 'security_groups': ['0e714da9-d77b-46b7-8980-93d84855dd64'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9ab40c7b3db14123833386bac1d49a9b'}} 2025-12-01 13:20:08,291 - DEBUG - Services list from nova: [, , ] 2025-12-01 13:20:08,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4830-1) 2025-12-01 13:20:09,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4830-1) 2025-12-01 13:20:09,036 - INFO - Waiting for VM ctest-vn1-vm1-04519499 to be up.. 2025-12-01 13:20:09,080 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 13:20:14,157 - DEBUG - VM is in ACTIVE state now 2025-12-01 13:20:14,157 - INFO - VM name : ctest-vn1-vm1-04519499 2025-12-01 13:20:14,236 - DEBUG - VM ctest-vn1-vm1-04519499 ID is 734d184e-7e74-4383-b221-33c826450172 2025-12-01 13:20:14,256 - DEBUG - VM ctest-vn1-vm1-04519499 launched on Node cn-jenkins-deploy-platform-ansible-os-4830-1 2025-12-01 13:20:14,332 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/734d184e-7e74-4383-b221-33c826450172 2025-12-01 13:20:14,341 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/478e5f08-95aa-403c-b932-6630efbd5328 2025-12-01 13:20:17,591 - 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 1019ms') 2025-12-01 13:20:17,591 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04519499 failed! 2025-12-01 13:20:17,650 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16057826:ctest-vn1-29216332 is 152.178.166.1 and allocation pool is NOT set 2025-12-01 13:20:17,650 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-16057826:ctest-vn1-29216332 is 33.231.62.1 and allocation pool is NOT set 2025-12-01 13:20:19,719 - 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.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.56 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 = 3.556/7.373/11.190/3.817 ms') 2025-12-01 13:20:19,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04519499 passed 2025-12-01 13:20:19,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 13:20:19,870 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04519499, IP 152.178.166.5, Port 22 2025-12-01 13:20:19,925 - 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-12-01 13:20:20,006 - DEBUG - VM ctest-vn1-vm1-04519499 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-01 13:20:25,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 13:20:25,008 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04519499, IP 152.178.166.5, Port 22 2025-12-01 13:20:25,165 - DEBUG - VM ctest-vn1-vm1-04519499 is ready for SSH connections 2025-12-01 13:20:25,166 - INFO - Waiting for VM ctest-vn1-vm2-93962423 to be up.. 2025-12-01 13:20:25,241 - DEBUG - VM is in ACTIVE state now 2025-12-01 13:20:25,241 - INFO - VM name : ctest-vn1-vm2-93962423 2025-12-01 13:20:25,313 - DEBUG - VM ctest-vn1-vm2-93962423 ID is b5732aed-f457-4e42-9093-263ff6d60b1b 2025-12-01 13:20:25,313 - DEBUG - VM ctest-vn1-vm2-93962423 launched on Node cn-jenkins-deploy-platform-ansible-os-4830-1 2025-12-01 13:20:25,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b5732aed-f457-4e42-9093-263ff6d60b1b 2025-12-01 13:20:25,392 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5c68b3a1-e247-40bd-aa8c-058ed29bfb51 2025-12-01 13:20:26,624 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.758/3.040/1.281 ms') 2025-12-01 13:20:26,624 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93962423 passed 2025-12-01 13:20:26,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 13:20:26,774 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93962423, IP 33.231.62.5, Port 22 2025-12-01 13:20:26,929 - DEBUG - VM ctest-vn1-vm2-93962423 is ready for SSH connections 2025-12-01 13:20:26,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 13:20:26,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 13:20:26,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 13:20:26,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.178.166.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-01 13:20:26,930 - DEBUG - ping -s 56 -c 3 -W 1 152.178.166.5 2025-12-01 13:20:29,608 - DEBUG - PING 152.178.166.5 (152.178.166.5): 56 data bytes 64 bytes from 152.178.166.5: seq=0 ttl=63 time=3.603 ms 64 bytes from 152.178.166.5: seq=1 ttl=63 time=0.933 ms 64 bytes from 152.178.166.5: seq=2 ttl=63 time=1.023 ms --- 152.178.166.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/1.853/3.603 ms 2025-12-01 13:20:29,608 - INFO - Ping to IP 152.178.166.5 from VM ctest-vn1-vm2-93962423 passed 2025-12-01 13:20:29,608 - INFO - Detaching port 5c68b3a1-e247-40bd-aa8c-058ed29bfb51 from VM ctest-vn1-vm2-93962423 2025-12-01 13:20:29,664 - INFO - Deleting VM ctest-vn1-vm2-93962423 2025-12-01 13:20:29,740 - INFO - Detaching port 478e5f08-95aa-403c-b932-6630efbd5328 from VM ctest-vn1-vm1-04519499 2025-12-01 13:20:29,781 - INFO - Deleting VM ctest-vn1-vm1-04519499 2025-12-01 13:20:30,053 - DEBUG - Response for delete_port : () 2025-12-01 13:20:30,225 - DEBUG - Response for delete_port : () 2025-12-01 13:20:30,225 - INFO - Deleting VN ctest-vn1-29216332 2025-12-01 13:20:30,362 - DEBUG - Response for deleting network () 2025-12-01 13:20:30,615 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 13:20:30,615 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-01 13:20:30,615 - INFO - -------------------------------------------------------------------------------- 2025-12-01 13:20:31,313 - INFO - Deleted project: ctest-TestPorts-16057826, ID : 9ab40c7b-3db1-4123-8333-86bac1d49a9b