2025-12-11 02:20:07,484 - INFO - Domain Default found not creating 2025-12-11 02:20:07,664 - INFO - Project ctest-TestPorts-99107744 not found, creating it 2025-12-11 02:20:08,124 - INFO - Created Project:ctest-TestPorts-99107744, ID : 5696da2f-f390-4fbd-8b1e-b579dcc0508b 2025-12-11 02:20:09,535 - INFO - ================================================================================ 2025-12-11 02:20:09,535 - INFO - STARTING TEST : test_ports_bindings 2025-12-11 02:20:09,535 - 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-11 02:20:09,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2025-12-11 02:20:09,788 - INFO - Initial checks done. Running the testcase now 2025-12-11 02:20:09,788 - INFO - 2025-12-11 02:20:10,331 - DEBUG - Response for create_network : {'network': {'id': '613e0cab-45e1-4ccb-943f-e8350988d32d', 'name': 'ctest-vn-22353832', 'tenant_id': '5696da2ff3904fbd8b1eb579dcc0508b', 'project_id': '5696da2ff3904fbd8b1eb579dcc0508b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99107744', 'ctest-vn-22353832'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 02:20:10,512 - DEBUG - Response for create_subnet : {'subnet': {'id': '19fcb822-4658-4f23-887d-2997271572d7', 'name': '', 'tenant_id': '5696da2ff3904fbd8b1eb579dcc0508b', 'network_id': '613e0cab-45e1-4ccb-943f-e8350988d32d', 'ip_version': 4, 'cidr': '123.19.104.192/26', 'allocation_pools': [{'start': '123.19.104.194', 'end': '123.19.104.254'}], 'gateway_ip': '123.19.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.19.104.194', 'tags': [], 'project_id': '5696da2ff3904fbd8b1eb579dcc0508b'}} 2025-12-11 02:20:10,528 - INFO - Created VN ctest-vn-22353832 2025-12-11 02:20:10,579 - DEBUG - VN ctest-vn-22353832 UUID is 613e0cab-45e1-4ccb-943f-e8350988d32d 2025-12-11 02:20:10,679 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99107744', 'ctest-vmi-78852017']} 2025-12-11 02:20:10,963 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-78852017', 'id': '4a933bdf-95d7-45cc-aa3e-54a4e5279322', 'tenant_id': '5696da2ff3904fbd8b1eb579dcc0508b', 'network_id': '613e0cab-45e1-4ccb-943f-e8350988d32d', 'mac_address': '02:4a:93:3b:df:95', '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': '123.19.104.195', 'subnet_id': '19fcb822-4658-4f23-887d-2997271572d7'}], 'security_groups': ['b6cd2b64-818c-489c-bec1-f4a38e6d20e3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5696da2ff3904fbd8b1eb579dcc0508b'}} 2025-12-11 02:20:10,963 - DEBUG - Created port 4a933bdf-95d7-45cc-aa3e-54a4e5279322 2025-12-11 02:20:11,075 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4a933bdf-95d7-45cc-aa3e-54a4e5279322 2025-12-11 02:20:11,575 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4a933bdf-95d7-45cc-aa3e-54a4e5279322 2025-12-11 02:20:11,626 - INFO - VMI 4a933bdf-95d7-45cc-aa3e-54a4e5279322 verification in API Server passed 2025-12-11 02:20:11,720 - DEBUG - Response for delete_port : () 2025-12-11 02:20:11,720 - INFO - Deleted port 4a933bdf-95d7-45cc-aa3e-54a4e5279322 2025-12-11 02:20:11,720 - INFO - Deleting VN ctest-vn-22353832 2025-12-11 02:20:11,813 - DEBUG - Response for deleting network () 2025-12-11 02:20:12,072 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 02:20:12,072 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-11 02:20:12,072 - INFO - -------------------------------------------------------------------------------- 2025-12-11 02:20:12,074 - INFO - ================================================================================ 2025-12-11 02:20:12,074 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-11 02:20:12,074 - 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-11 02:20:12,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2025-12-11 02:20:12,362 - INFO - Initial checks done. Running the testcase now 2025-12-11 02:20:12,362 - INFO - 2025-12-11 02:20:12,557 - DEBUG - Response for create_network : {'network': {'id': '8a80fd92-9541-4b3a-8b6c-cd018507c784', 'name': 'ctest-vn1-65225858', 'tenant_id': '5696da2ff3904fbd8b1eb579dcc0508b', 'project_id': '5696da2ff3904fbd8b1eb579dcc0508b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99107744', 'ctest-vn1-65225858'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 02:20:12,719 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b3b23b9-168f-432d-b53e-f2b486e8af5d', 'name': '', 'tenant_id': '5696da2ff3904fbd8b1eb579dcc0508b', 'network_id': '8a80fd92-9541-4b3a-8b6c-cd018507c784', 'ip_version': 4, 'cidr': '2.234.22.64/26', 'allocation_pools': [{'start': '2.234.22.66', 'end': '2.234.22.126'}], 'gateway_ip': '2.234.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.234.22.66', 'tags': [], 'project_id': '5696da2ff3904fbd8b1eb579dcc0508b'}} 2025-12-11 02:20:12,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '33faf92c-154b-421a-a9f3-94aa386648a4', 'name': '', 'tenant_id': '5696da2ff3904fbd8b1eb579dcc0508b', 'network_id': '8a80fd92-9541-4b3a-8b6c-cd018507c784', 'ip_version': 4, 'cidr': '162.183.91.0/26', 'allocation_pools': [{'start': '162.183.91.2', 'end': '162.183.91.62'}], 'gateway_ip': '162.183.91.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.183.91.2', 'tags': [], 'project_id': '5696da2ff3904fbd8b1eb579dcc0508b'}} 2025-12-11 02:20:12,900 - INFO - Created VN ctest-vn1-65225858 2025-12-11 02:20:12,951 - DEBUG - VN ctest-vn1-65225858 UUID is 8a80fd92-9541-4b3a-8b6c-cd018507c784 2025-12-11 02:20:13,238 - DEBUG - Response for create_port : {'port': {'name': '572ab673-50b8-46f2-93fd-8f2feda81879', 'id': '572ab673-50b8-46f2-93fd-8f2feda81879', 'tenant_id': '5696da2ff3904fbd8b1eb579dcc0508b', 'network_id': '8a80fd92-9541-4b3a-8b6c-cd018507c784', 'mac_address': '02:57:2a:b6:73:50', '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': '2.234.22.69', 'subnet_id': '4b3b23b9-168f-432d-b53e-f2b486e8af5d'}], 'security_groups': ['b6cd2b64-818c-489c-bec1-f4a38e6d20e3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5696da2ff3904fbd8b1eb579dcc0508b'}} 2025-12-11 02:20:13,398 - DEBUG - Response for create_port : {'port': {'name': '3f9363af-c403-4f68-9175-f89774bcbdbc', 'id': '3f9363af-c403-4f68-9175-f89774bcbdbc', 'tenant_id': '5696da2ff3904fbd8b1eb579dcc0508b', 'network_id': '8a80fd92-9541-4b3a-8b6c-cd018507c784', 'mac_address': '02:3f:93:63:af:c4', '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': '162.183.91.5', 'subnet_id': '33faf92c-154b-421a-a9f3-94aa386648a4'}], 'security_groups': ['b6cd2b64-818c-489c-bec1-f4a38e6d20e3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5696da2ff3904fbd8b1eb579dcc0508b'}} 2025-12-11 02:20:13,463 - DEBUG - Services list from nova: [, , ] 2025-12-11 02:20:13,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4879-1) 2025-12-11 02:20:14,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4879-1) 2025-12-11 02:20:14,149 - INFO - Waiting for VM ctest-vn1-vm1-06225013 to be up.. 2025-12-11 02:20:14,188 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 02:20:19,253 - DEBUG - VM is in ACTIVE state now 2025-12-11 02:20:19,253 - INFO - VM name : ctest-vn1-vm1-06225013 2025-12-11 02:20:19,323 - DEBUG - VM ctest-vn1-vm1-06225013 ID is ec900484-421d-4b20-9154-48e2f7128772 2025-12-11 02:20:19,343 - DEBUG - VM ctest-vn1-vm1-06225013 launched on Node cn-jenkins-deploy-platform-ansible-os-4879-1 2025-12-11 02:20:19,410 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ec900484-421d-4b20-9154-48e2f7128772 2025-12-11 02:20:19,420 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/572ab673-50b8-46f2-93fd-8f2feda81879 2025-12-11 02:20:22,672 - 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-11 02:20:22,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06225013 failed! 2025-12-11 02:20:22,727 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99107744:ctest-vn1-65225858 is 2.234.22.65 and allocation pool is NOT set 2025-12-11 02:20:22,727 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99107744:ctest-vn1-65225858 is 162.183.91.1 and allocation pool is NOT set 2025-12-11 02:20:24,787 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.347 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 = 0.347/1.751/3.156/1.404 ms') 2025-12-11 02:20:24,788 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06225013 passed 2025-12-11 02:20:24,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:20:24,939 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06225013, IP 2.234.22.69, Port 22 2025-12-11 02:20:25,005 - 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-11 02:20:25,087 - DEBUG - VM ctest-vn1-vm1-06225013 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-11 02:20:30,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:20:30,089 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06225013, IP 2.234.22.69, Port 22 2025-12-11 02:20:30,246 - DEBUG - VM ctest-vn1-vm1-06225013 is ready for SSH connections 2025-12-11 02:20:30,246 - INFO - Waiting for VM ctest-vn1-vm2-17017677 to be up.. 2025-12-11 02:20:30,312 - DEBUG - VM is in ACTIVE state now 2025-12-11 02:20:30,312 - INFO - VM name : ctest-vn1-vm2-17017677 2025-12-11 02:20:30,384 - DEBUG - VM ctest-vn1-vm2-17017677 ID is cd75a564-c92e-49fd-8285-a0acb5fd6490 2025-12-11 02:20:30,385 - DEBUG - VM ctest-vn1-vm2-17017677 launched on Node cn-jenkins-deploy-platform-ansible-os-4879-1 2025-12-11 02:20:30,461 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/cd75a564-c92e-49fd-8285-a0acb5fd6490 2025-12-11 02:20:30,470 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3f9363af-c403-4f68-9175-f89774bcbdbc 2025-12-11 02:20:31,713 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 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.491/2.147/3.803/1.656 ms') 2025-12-11 02:20:31,713 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17017677 passed 2025-12-11 02:20:31,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:20:31,863 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17017677, IP 162.183.91.5, Port 22 2025-12-11 02:20:32,034 - DEBUG - VM ctest-vn1-vm2-17017677 is ready for SSH connections 2025-12-11 02:20:32,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:20:32,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:20:32,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:20:32,034 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.234.22.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-12-11 02:20:32,034 - DEBUG - ping -s 56 -c 3 -W 1 2.234.22.69 2025-12-11 02:20:34,662 - DEBUG - PING 2.234.22.69 (2.234.22.69): 56 data bytes 64 bytes from 2.234.22.69: seq=0 ttl=63 time=3.768 ms 64 bytes from 2.234.22.69: seq=1 ttl=63 time=0.875 ms 64 bytes from 2.234.22.69: seq=2 ttl=63 time=0.822 ms --- 2.234.22.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/1.821/3.768 ms 2025-12-11 02:20:34,662 - INFO - Ping to IP 2.234.22.69 from VM ctest-vn1-vm2-17017677 passed 2025-12-11 02:20:34,662 - INFO - Detaching port 3f9363af-c403-4f68-9175-f89774bcbdbc from VM ctest-vn1-vm2-17017677 2025-12-11 02:20:34,714 - INFO - Deleting VM ctest-vn1-vm2-17017677 2025-12-11 02:20:34,786 - INFO - Detaching port 572ab673-50b8-46f2-93fd-8f2feda81879 from VM ctest-vn1-vm1-06225013 2025-12-11 02:20:34,835 - INFO - Deleting VM ctest-vn1-vm1-06225013 2025-12-11 02:20:35,044 - DEBUG - Response for delete_port : () 2025-12-11 02:20:35,188 - DEBUG - Response for delete_port : () 2025-12-11 02:20:35,188 - INFO - Deleting VN ctest-vn1-65225858 2025-12-11 02:20:35,313 - DEBUG - Response for deleting network () 2025-12-11 02:20:35,568 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 02:20:35,568 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-12-11 02:20:35,568 - INFO - -------------------------------------------------------------------------------- 2025-12-11 02:20:36,222 - INFO - Deleted project: ctest-TestPorts-99107744, ID : 5696da2f-f390-4fbd-8b1e-b579dcc0508b