2025-09-18 23:49:42,028 - INFO - Domain Default found not creating 2025-09-18 23:49:42,201 - INFO - Project ctest-TestPorts-39096009 not found, creating it 2025-09-18 23:49:42,770 - INFO - Created Project:ctest-TestPorts-39096009, ID : acc760d2-81a1-4d6a-b067-1fabeb09e875 2025-09-18 23:49:44,280 - INFO - ================================================================================ 2025-09-18 23:49:44,280 - INFO - STARTING TEST : test_ports_bindings 2025-09-18 23:49:44,280 - 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-09-18 23:49:44,542 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-18 23:49:44,542 - INFO - Initial checks done. Running the testcase now 2025-09-18 23:49:44,542 - INFO - 2025-09-18 23:49:45,102 - DEBUG - Response for create_network : {'network': {'id': '6b756f84-1820-4197-be1f-55094b930e7a', 'name': 'ctest-vn-80852088', 'tenant_id': 'acc760d281a14d6ab0671fabeb09e875', 'project_id': 'acc760d281a14d6ab0671fabeb09e875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39096009', 'ctest-vn-80852088'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 23:49:45,326 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efa0104e-2f4f-4f81-a67e-c6f1d7ae7151', 'name': '', 'tenant_id': 'acc760d281a14d6ab0671fabeb09e875', 'network_id': '6b756f84-1820-4197-be1f-55094b930e7a', 'ip_version': 4, 'cidr': '193.3.68.64/26', 'allocation_pools': [{'start': '193.3.68.66', 'end': '193.3.68.126'}], 'gateway_ip': '193.3.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.3.68.66', 'tags': [], 'project_id': 'acc760d281a14d6ab0671fabeb09e875'}} 2025-09-18 23:49:45,346 - INFO - Created VN ctest-vn-80852088 2025-09-18 23:49:45,401 - DEBUG - VN ctest-vn-80852088 UUID is 6b756f84-1820-4197-be1f-55094b930e7a 2025-09-18 23:49:45,516 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39096009', 'ctest-vmi-63698173']} 2025-09-18 23:49:45,804 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63698173', 'id': 'f12661e0-cf54-4023-bde0-d60d8d9225c6', 'tenant_id': 'acc760d281a14d6ab0671fabeb09e875', 'network_id': '6b756f84-1820-4197-be1f-55094b930e7a', 'mac_address': '02:f1:26:61:e0:cf', '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': '193.3.68.67', 'subnet_id': 'efa0104e-2f4f-4f81-a67e-c6f1d7ae7151'}], 'security_groups': ['18aeaf5e-df79-48de-8c93-42befe004c0a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'acc760d281a14d6ab0671fabeb09e875'}} 2025-09-18 23:49:45,804 - DEBUG - Created port f12661e0-cf54-4023-bde0-d60d8d9225c6 2025-09-18 23:49:45,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f12661e0-cf54-4023-bde0-d60d8d9225c6 2025-09-18 23:49:46,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f12661e0-cf54-4023-bde0-d60d8d9225c6 2025-09-18 23:49:46,238 - INFO - VMI f12661e0-cf54-4023-bde0-d60d8d9225c6 verification in API Server passed 2025-09-18 23:49:46,344 - DEBUG - Response for delete_port : () 2025-09-18 23:49:46,344 - INFO - Deleted port f12661e0-cf54-4023-bde0-d60d8d9225c6 2025-09-18 23:49:46,345 - INFO - Deleting VN ctest-vn-80852088 2025-09-18 23:49:46,470 - DEBUG - Response for deleting network () 2025-09-18 23:49:46,730 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 23:49:46,730 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-18 23:49:46,730 - INFO - -------------------------------------------------------------------------------- 2025-09-18 23:49:46,733 - INFO - ================================================================================ 2025-09-18 23:49:46,733 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-18 23:49:46,733 - 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-09-18 23:49:47,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-18 23:49:47,022 - INFO - Initial checks done. Running the testcase now 2025-09-18 23:49:47,023 - INFO - 2025-09-18 23:49:47,224 - DEBUG - Response for create_network : {'network': {'id': '061bc99a-2bfd-42f4-b6b4-7a598465e177', 'name': 'ctest-vn1-80442551', 'tenant_id': 'acc760d281a14d6ab0671fabeb09e875', 'project_id': 'acc760d281a14d6ab0671fabeb09e875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39096009', 'ctest-vn1-80442551'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 23:49:47,414 - DEBUG - Response for create_subnet : {'subnet': {'id': '58aa9821-3c76-459a-86a5-8eb789ddf71c', 'name': '', 'tenant_id': 'acc760d281a14d6ab0671fabeb09e875', 'network_id': '061bc99a-2bfd-42f4-b6b4-7a598465e177', 'ip_version': 4, 'cidr': '206.103.106.192/26', 'allocation_pools': [{'start': '206.103.106.194', 'end': '206.103.106.254'}], 'gateway_ip': '206.103.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.103.106.194', 'tags': [], 'project_id': 'acc760d281a14d6ab0671fabeb09e875'}} 2025-09-18 23:49:47,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e488e23-69ab-4d47-a104-f1df2714b5df', 'name': '', 'tenant_id': 'acc760d281a14d6ab0671fabeb09e875', 'network_id': '061bc99a-2bfd-42f4-b6b4-7a598465e177', 'ip_version': 4, 'cidr': '178.112.187.0/26', 'allocation_pools': [{'start': '178.112.187.2', 'end': '178.112.187.62'}], 'gateway_ip': '178.112.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.112.187.2', 'tags': [], 'project_id': 'acc760d281a14d6ab0671fabeb09e875'}} 2025-09-18 23:49:47,643 - INFO - Created VN ctest-vn1-80442551 2025-09-18 23:49:47,693 - DEBUG - VN ctest-vn1-80442551 UUID is 061bc99a-2bfd-42f4-b6b4-7a598465e177 2025-09-18 23:49:48,034 - DEBUG - Response for create_port : {'port': {'name': '33fddf17-b296-4a53-9ad3-ebb619e6b075', 'id': '33fddf17-b296-4a53-9ad3-ebb619e6b075', 'tenant_id': 'acc760d281a14d6ab0671fabeb09e875', 'network_id': '061bc99a-2bfd-42f4-b6b4-7a598465e177', 'mac_address': '02:33:fd:df:17:b2', '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': '206.103.106.197', 'subnet_id': '58aa9821-3c76-459a-86a5-8eb789ddf71c'}], 'security_groups': ['18aeaf5e-df79-48de-8c93-42befe004c0a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'acc760d281a14d6ab0671fabeb09e875'}} 2025-09-18 23:49:48,257 - DEBUG - Response for create_port : {'port': {'name': '42eef288-a1c2-4f37-9074-e927f050905a', 'id': '42eef288-a1c2-4f37-9074-e927f050905a', 'tenant_id': 'acc760d281a14d6ab0671fabeb09e875', 'network_id': '061bc99a-2bfd-42f4-b6b4-7a598465e177', 'mac_address': '02:42:ee:f2:88:a1', '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': '178.112.187.5', 'subnet_id': '9e488e23-69ab-4d47-a104-f1df2714b5df'}], 'security_groups': ['18aeaf5e-df79-48de-8c93-42befe004c0a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'acc760d281a14d6ab0671fabeb09e875'}} 2025-09-18 23:49:48,321 - DEBUG - Services list from nova: [, , ] 2025-09-18 23:49:48,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4143-1) 2025-09-18 23:49:49,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4143-1) 2025-09-18 23:49:49,144 - INFO - Waiting for VM ctest-vn1-vm1-29128143 to be up.. 2025-09-18 23:49:49,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:49:54,283 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:49:59,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:50:04,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:50:09,538 - DEBUG - VM is in ACTIVE state now 2025-09-18 23:50:09,538 - INFO - VM name : ctest-vn1-vm1-29128143 2025-09-18 23:50:09,606 - DEBUG - VM ctest-vn1-vm1-29128143 ID is 507cbe18-3245-4591-b0bb-4dffec4fb2ee 2025-09-18 23:50:09,624 - DEBUG - VM ctest-vn1-vm1-29128143 launched on Node cn-jenkins-deploy-platform-ansible-os-4143-1 2025-09-18 23:50:09,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/507cbe18-3245-4591-b0bb-4dffec4fb2ee 2025-09-18 23:50:09,700 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/33fddf17-b296-4a53-9ad3-ebb619e6b075 2025-09-18 23:50:12,948 - 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 1015ms') 2025-09-18 23:50:12,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29128143 failed! 2025-09-18 23:50:13,005 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39096009:ctest-vn1-80442551 is 206.103.106.193 and allocation pool is NOT set 2025-09-18 23:50:13,005 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39096009:ctest-vn1-80442551 is 178.112.187.1 and allocation pool is NOT set 2025-09-18 23:50:17,079 - 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 1007ms') 2025-09-18 23:50:17,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29128143 failed! 2025-09-18 23:50:17,133 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39096009:ctest-vn1-80442551 is 206.103.106.193 and allocation pool is NOT set 2025-09-18 23:50:17,133 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39096009:ctest-vn1-80442551 is 178.112.187.1 and allocation pool is NOT set 2025-09-18 23:50:19,195 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/1.797/3.143/1.346 ms') 2025-09-18 23:50:19,196 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29128143 passed 2025-09-18 23:50:19,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:50:19,353 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29128143, IP 206.103.106.197, Port 22 2025-09-18 23:50:19,508 - DEBUG - VM ctest-vn1-vm1-29128143 is ready for SSH connections 2025-09-18 23:50:19,508 - INFO - Waiting for VM ctest-vn1-vm2-00221835 to be up.. 2025-09-18 23:50:19,578 - DEBUG - VM is in ACTIVE state now 2025-09-18 23:50:19,578 - INFO - VM name : ctest-vn1-vm2-00221835 2025-09-18 23:50:19,649 - DEBUG - VM ctest-vn1-vm2-00221835 ID is b4df5005-c9cc-403b-969b-b7212a697746 2025-09-18 23:50:19,649 - DEBUG - VM ctest-vn1-vm2-00221835 launched on Node cn-jenkins-deploy-platform-ansible-os-4143-1 2025-09-18 23:50:19,726 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b4df5005-c9cc-403b-969b-b7212a697746 2025-09-18 23:50:19,734 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/42eef288-a1c2-4f37-9074-e927f050905a 2025-09-18 23:50:20,977 - 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=4.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/2.632/4.770/2.137 ms') 2025-09-18 23:50:20,977 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-00221835 passed 2025-09-18 23:50:21,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:50:21,129 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-00221835, IP 178.112.187.5, Port 22 2025-09-18 23:50:21,284 - DEBUG - VM ctest-vn1-vm2-00221835 is ready for SSH connections 2025-09-18 23:50:21,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:50:21,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:50:21,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:50:21,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.103.106.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-18 23:50:21,284 - DEBUG - ping -s 56 -c 3 -W 1 206.103.106.197 2025-09-18 23:50:23,910 - DEBUG - PING 206.103.106.197 (206.103.106.197): 56 data bytes 64 bytes from 206.103.106.197: seq=0 ttl=63 time=4.145 ms 64 bytes from 206.103.106.197: seq=1 ttl=63 time=1.181 ms 64 bytes from 206.103.106.197: seq=2 ttl=63 time=1.329 ms --- 206.103.106.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.181/2.218/4.145 ms 2025-09-18 23:50:23,910 - INFO - Ping to IP 206.103.106.197 from VM ctest-vn1-vm2-00221835 passed 2025-09-18 23:50:23,910 - INFO - Detaching port 42eef288-a1c2-4f37-9074-e927f050905a from VM ctest-vn1-vm2-00221835 2025-09-18 23:50:23,965 - INFO - Deleting VM ctest-vn1-vm2-00221835 2025-09-18 23:50:24,054 - INFO - Detaching port 33fddf17-b296-4a53-9ad3-ebb619e6b075 from VM ctest-vn1-vm1-29128143 2025-09-18 23:50:24,092 - INFO - Deleting VM ctest-vn1-vm1-29128143 2025-09-18 23:50:24,367 - DEBUG - Response for delete_port : () 2025-09-18 23:50:24,533 - DEBUG - Response for delete_port : () 2025-09-18 23:50:24,533 - INFO - Deleting VN ctest-vn1-80442551 2025-09-18 23:50:24,662 - DEBUG - Response for deleting network () 2025-09-18 23:50:24,935 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 23:50:24,935 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:38]
2025-09-18 23:50:24,935 - INFO - -------------------------------------------------------------------------------- 2025-09-18 23:50:25,646 - INFO - Deleted project: ctest-TestPorts-39096009, ID : acc760d2-81a1-4d6a-b067-1fabeb09e875