2025-10-27 06:29:42,798 - INFO - Domain Default found not creating 2025-10-27 06:29:43,013 - INFO - Project ctest-TestPorts-19639938 not found, creating it 2025-10-27 06:29:43,534 - INFO - Created Project:ctest-TestPorts-19639938, ID : 366a089e-455f-436b-bd2d-609ba3d0697c 2025-10-27 06:29:45,461 - INFO - ================================================================================ 2025-10-27 06:29:45,461 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 06:29:45,461 - 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-27 06:29:45,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-10-27 06:29:45,742 - INFO - Initial checks done. Running the testcase now 2025-10-27 06:29:45,742 - INFO - 2025-10-27 06:29:46,425 - DEBUG - Response for create_network : {'network': {'id': 'd03656bb-f580-4da6-9ee7-06023e64c407', 'name': 'ctest-vn-01107387', 'tenant_id': '366a089e455f436bbd2d609ba3d0697c', 'project_id': '366a089e455f436bbd2d609ba3d0697c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19639938', 'ctest-vn-01107387'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 06:29:46,664 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec85d159-3b25-4805-8e13-50344e0cec5a', 'name': '', 'tenant_id': '366a089e455f436bbd2d609ba3d0697c', 'network_id': 'd03656bb-f580-4da6-9ee7-06023e64c407', 'ip_version': 4, 'cidr': '181.164.59.128/26', 'allocation_pools': [{'start': '181.164.59.130', 'end': '181.164.59.190'}], 'gateway_ip': '181.164.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.164.59.130', 'tags': [], 'project_id': '366a089e455f436bbd2d609ba3d0697c'}} 2025-10-27 06:29:46,691 - INFO - Created VN ctest-vn-01107387 2025-10-27 06:29:46,745 - DEBUG - VN ctest-vn-01107387 UUID is d03656bb-f580-4da6-9ee7-06023e64c407 2025-10-27 06:29:46,885 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-19639938', 'ctest-vmi-42955384']} 2025-10-27 06:29:47,201 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42955384', 'id': '719e17e0-74ef-42da-9d19-a18d8d8fa071', 'tenant_id': '366a089e455f436bbd2d609ba3d0697c', 'network_id': 'd03656bb-f580-4da6-9ee7-06023e64c407', 'mac_address': '02:71:9e:17:e0:74', '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': '181.164.59.131', 'subnet_id': 'ec85d159-3b25-4805-8e13-50344e0cec5a'}], 'security_groups': ['02eb4f19-ce9b-4bfa-9141-7ce4fad7b3ec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '366a089e455f436bbd2d609ba3d0697c'}} 2025-10-27 06:29:47,201 - DEBUG - Created port 719e17e0-74ef-42da-9d19-a18d8d8fa071 2025-10-27 06:29:47,317 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/719e17e0-74ef-42da-9d19-a18d8d8fa071 2025-10-27 06:29:47,658 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/719e17e0-74ef-42da-9d19-a18d8d8fa071 2025-10-27 06:29:47,703 - INFO - VMI 719e17e0-74ef-42da-9d19-a18d8d8fa071 verification in API Server passed 2025-10-27 06:29:47,821 - DEBUG - Response for delete_port : () 2025-10-27 06:29:47,821 - INFO - Deleted port 719e17e0-74ef-42da-9d19-a18d8d8fa071 2025-10-27 06:29:47,822 - INFO - Deleting VN ctest-vn-01107387 2025-10-27 06:29:47,980 - DEBUG - Response for deleting network () 2025-10-27 06:29:48,260 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 06:29:48,260 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-27 06:29:48,260 - INFO - -------------------------------------------------------------------------------- 2025-10-27 06:29:48,264 - INFO - ================================================================================ 2025-10-27 06:29:48,264 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 06:29:48,264 - 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-27 06:29:48,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-10-27 06:29:48,559 - INFO - Initial checks done. Running the testcase now 2025-10-27 06:29:48,559 - INFO - 2025-10-27 06:29:48,804 - DEBUG - Response for create_network : {'network': {'id': '85c6440e-c508-4b67-8cdd-a80f1252eeab', 'name': 'ctest-vn1-04093444', 'tenant_id': '366a089e455f436bbd2d609ba3d0697c', 'project_id': '366a089e455f436bbd2d609ba3d0697c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19639938', 'ctest-vn1-04093444'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 06:29:48,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '381d0120-d512-4106-9bad-a1b179f626eb', 'name': '', 'tenant_id': '366a089e455f436bbd2d609ba3d0697c', 'network_id': '85c6440e-c508-4b67-8cdd-a80f1252eeab', 'ip_version': 4, 'cidr': '13.202.69.128/26', 'allocation_pools': [{'start': '13.202.69.130', 'end': '13.202.69.190'}], 'gateway_ip': '13.202.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.202.69.130', 'tags': [], 'project_id': '366a089e455f436bbd2d609ba3d0697c'}} 2025-10-27 06:29:49,181 - DEBUG - Response for create_subnet : {'subnet': {'id': '81c7f00a-f863-4581-b29e-a552672c8e08', 'name': '', 'tenant_id': '366a089e455f436bbd2d609ba3d0697c', 'network_id': '85c6440e-c508-4b67-8cdd-a80f1252eeab', 'ip_version': 4, 'cidr': '14.255.73.64/26', 'allocation_pools': [{'start': '14.255.73.66', 'end': '14.255.73.126'}], 'gateway_ip': '14.255.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.255.73.66', 'tags': [], 'project_id': '366a089e455f436bbd2d609ba3d0697c'}} 2025-10-27 06:29:49,211 - INFO - Created VN ctest-vn1-04093444 2025-10-27 06:29:49,270 - DEBUG - VN ctest-vn1-04093444 UUID is 85c6440e-c508-4b67-8cdd-a80f1252eeab 2025-10-27 06:29:49,680 - DEBUG - Response for create_port : {'port': {'name': 'df230183-8f61-4a88-ba18-4688d753f770', 'id': 'df230183-8f61-4a88-ba18-4688d753f770', 'tenant_id': '366a089e455f436bbd2d609ba3d0697c', 'network_id': '85c6440e-c508-4b67-8cdd-a80f1252eeab', 'mac_address': '02:df:23:01:83:8f', '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.202.69.133', 'subnet_id': '381d0120-d512-4106-9bad-a1b179f626eb'}], 'security_groups': ['02eb4f19-ce9b-4bfa-9141-7ce4fad7b3ec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '366a089e455f436bbd2d609ba3d0697c'}} 2025-10-27 06:29:49,920 - DEBUG - Response for create_port : {'port': {'name': '8aca6301-bbc0-4809-b352-7b02ed16f97a', 'id': '8aca6301-bbc0-4809-b352-7b02ed16f97a', 'tenant_id': '366a089e455f436bbd2d609ba3d0697c', 'network_id': '85c6440e-c508-4b67-8cdd-a80f1252eeab', 'mac_address': '02:8a:ca:63:01:bb', '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': '14.255.73.69', 'subnet_id': '81c7f00a-f863-4581-b29e-a552672c8e08'}], 'security_groups': ['02eb4f19-ce9b-4bfa-9141-7ce4fad7b3ec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '366a089e455f436bbd2d609ba3d0697c'}} 2025-10-27 06:29:50,000 - DEBUG - Services list from nova: [, , ] 2025-10-27 06:29:50,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4494-1) 2025-10-27 06:29:51,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4494-1) 2025-10-27 06:29:51,082 - INFO - Waiting for VM ctest-vn1-vm1-00671162 to be up.. 2025-10-27 06:29:51,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 06:29:56,252 - DEBUG - VM is in ACTIVE state now 2025-10-27 06:29:56,252 - INFO - VM name : ctest-vn1-vm1-00671162 2025-10-27 06:29:56,365 - DEBUG - VM ctest-vn1-vm1-00671162 ID is c4facf60-6bac-444f-bc2d-7e7d016935c1 2025-10-27 06:29:56,393 - DEBUG - VM ctest-vn1-vm1-00671162 launched on Node cn-jenkins-deploy-platform-ansible-os-4494-1 2025-10-27 06:29:56,508 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c4facf60-6bac-444f-bc2d-7e7d016935c1 2025-10-27 06:29:56,520 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/df230183-8f61-4a88-ba18-4688d753f770 2025-10-27 06:29:59,824 - 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 1032ms') 2025-10-27 06:29:59,824 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00671162 failed! 2025-10-27 06:29:59,885 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19639938:ctest-vn1-04093444 is 13.202.69.129 and allocation pool is NOT set 2025-10-27 06:29:59,886 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19639938:ctest-vn1-04093444 is 14.255.73.65 and allocation pool is NOT set 2025-10-27 06:30:03,958 - 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 1004ms') 2025-10-27 06:30:03,958 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00671162 failed! 2025-10-27 06:30:04,029 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19639938:ctest-vn1-04093444 is 13.202.69.129 and allocation pool is NOT set 2025-10-27 06:30:04,029 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19639938:ctest-vn1-04093444 is 14.255.73.65 and allocation pool is NOT set 2025-10-27 06:30:06,099 - 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=5.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.50 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 = 1.498/3.283/5.068/1.785 ms') 2025-10-27 06:30:06,099 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00671162 passed 2025-10-27 06:30:06,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:30:06,258 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00671162, IP 13.202.69.133, Port 22 2025-10-27 06:30:06,328 - 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-27 06:30:06,454 - DEBUG - VM ctest-vn1-vm1-00671162 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 06:30:11,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:30:11,456 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00671162, IP 13.202.69.133, Port 22 2025-10-27 06:30:11,628 - DEBUG - VM ctest-vn1-vm1-00671162 is ready for SSH connections 2025-10-27 06:30:11,628 - INFO - Waiting for VM ctest-vn1-vm2-38577043 to be up.. 2025-10-27 06:30:11,742 - DEBUG - VM is in ACTIVE state now 2025-10-27 06:30:11,743 - INFO - VM name : ctest-vn1-vm2-38577043 2025-10-27 06:30:11,850 - DEBUG - VM ctest-vn1-vm2-38577043 ID is ffa1c459-3eb6-4cce-82c7-ef701f3e9977 2025-10-27 06:30:11,850 - DEBUG - VM ctest-vn1-vm2-38577043 launched on Node cn-jenkins-deploy-platform-ansible-os-4494-1 2025-10-27 06:30:11,980 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ffa1c459-3eb6-4cce-82c7-ef701f3e9977 2025-10-27 06:30:11,994 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8aca6301-bbc0-4809-b352-7b02ed16f97a 2025-10-27 06:30:13,255 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.751 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.751/1.989/3.228/1.238 ms') 2025-10-27 06:30:13,255 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-38577043 passed 2025-10-27 06:30:13,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:30:13,421 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38577043, IP 14.255.73.69, Port 22 2025-10-27 06:30:13,591 - DEBUG - VM ctest-vn1-vm2-38577043 is ready for SSH connections 2025-10-27 06:30:13,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:30:13,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:30:13,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 06:30:13,592 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.202.69.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 06:30:13,592 - DEBUG - ping -s 56 -c 3 -W 1 13.202.69.133 2025-10-27 06:30:16,359 - DEBUG - PING 13.202.69.133 (13.202.69.133): 56 data bytes 64 bytes from 13.202.69.133: seq=0 ttl=63 time=5.094 ms 64 bytes from 13.202.69.133: seq=1 ttl=63 time=1.181 ms 64 bytes from 13.202.69.133: seq=2 ttl=63 time=1.609 ms --- 13.202.69.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.181/2.628/5.094 ms 2025-10-27 06:30:16,359 - INFO - Ping to IP 13.202.69.133 from VM ctest-vn1-vm2-38577043 passed 2025-10-27 06:30:16,360 - INFO - Detaching port 8aca6301-bbc0-4809-b352-7b02ed16f97a from VM ctest-vn1-vm2-38577043 2025-10-27 06:30:16,437 - INFO - Deleting VM ctest-vn1-vm2-38577043 2025-10-27 06:30:16,528 - INFO - Detaching port df230183-8f61-4a88-ba18-4688d753f770 from VM ctest-vn1-vm1-00671162 2025-10-27 06:30:16,583 - INFO - Deleting VM ctest-vn1-vm1-00671162 2025-10-27 06:30:16,974 - DEBUG - Response for delete_port : () 2025-10-27 06:30:17,304 - DEBUG - Response for delete_port : () 2025-10-27 06:30:17,306 - INFO - Deleting VN ctest-vn1-04093444 2025-10-27 06:30:17,544 - DEBUG - Response for deleting network () 2025-10-27 06:30:17,833 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 06:30:17,834 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2025-10-27 06:30:17,834 - INFO - -------------------------------------------------------------------------------- 2025-10-27 06:30:18,627 - INFO - Deleted project: ctest-TestPorts-19639938, ID : 366a089e-455f-436b-bd2d-609ba3d0697c